1
0
mirror of synced 2025-12-07 14:49:25 +08:00

Compare commits

...

5 Commits

Author SHA1 Message Date
roymondchen
14550ddc0f chore: release v1.2.0-beta.23 2022-12-07 16:32:00 +08:00
roymondchen
7445d24531 feat(form): 完善select remote功能 2022-12-07 16:28:21 +08:00
roymondchen
e813129eb8 fix(editor): modelValue自动更新不成功 2022-12-07 16:26:26 +08:00
roymondchen
8ab6cdb03c chore: release v1.2.0-beta.22 2022-12-06 21:02:59 +08:00
roymondchen
bd5aa8e0b9 build(element-plus-adapter): 使用vite打包 2022-12-06 20:58:56 +08:00
26 changed files with 263 additions and 156 deletions

View File

@@ -1,3 +1,21 @@
# [1.2.0-beta.23](https://github.com/Tencent/tmagic-editor/compare/v1.2.0-beta.22...v1.2.0-beta.23) (2022-12-07)
### Bug Fixes
* **editor:** modelValue自动更新不成功 ([e813129](https://github.com/Tencent/tmagic-editor/commit/e813129eb8ea6e11e683c081847dd17fb1104dfd))
### Features
* **form:** 完善select remote功能 ([7445d24](https://github.com/Tencent/tmagic-editor/commit/7445d2453194258256c70d4936aa43d04dfecdb2))
# [1.2.0-beta.22](https://github.com/Tencent/tmagic-editor/compare/v1.2.0-beta.21...v1.2.0-beta.22) (2022-12-06)
# [1.2.0-beta.21](https://github.com/Tencent/tmagic-editor/compare/v1.2.0-beta.20...v1.2.0-beta.21) (2022-12-06)

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "tmagic",
"private": true,
"packageManager": "pnpm@7.1.9",

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/cli",
"main": "lib/index.js",
"types": "lib/index.d.ts",

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/core",
"type": "module",
"sideEffects": [
@@ -36,7 +36,7 @@
"vue"
],
"dependencies": {
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.23",
"events": "^3.3.0",
"lodash-es": "^4.17.21"
},

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/design",
"type": "module",
"sideEffects": [

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/editor",
"type": "module",
"sideEffects": [
@@ -46,12 +46,12 @@
"dependencies": {
"@babel/core": "^7.18.0",
"@element-plus/icons-vue": "^2.0.9",
"@tmagic/core": "1.2.0-beta.21",
"@tmagic/design": "1.2.0-beta.21",
"@tmagic/form": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/stage": "1.2.0-beta.21",
"@tmagic/utils": "1.2.0-beta.21",
"@tmagic/core": "1.2.0-beta.23",
"@tmagic/design": "1.2.0-beta.23",
"@tmagic/form": "1.2.0-beta.23",
"@tmagic/schema": "1.2.0-beta.23",
"@tmagic/stage": "1.2.0-beta.23",
"@tmagic/utils": "1.2.0-beta.23",
"buffer": "^6.0.3",
"color": "^3.1.3",
"events": "^3.3.0",
@@ -63,8 +63,8 @@
"vue": "^3.2.37"
},
"peerDependencies": {
"@tmagic/design": "1.2.0-beta.21",
"@tmagic/form": "1.2.0-beta.21",
"@tmagic/design": "1.2.0-beta.23",
"@tmagic/form": "1.2.0-beta.23",
"monaco-editor": "^0.34.0",
"vue": "^3.2.37"
},

View File

@@ -223,7 +223,7 @@ export default defineComponent({
emits: ['props-panel-mounted', 'update:modelValue'],
setup(props, { emit }) {
editorService.on('root-change', (value) => {
editorService.on('root-change', (value, preValue) => {
const nodeId = editorService.get<MNode | null>('node')?.id || props.defaultSelected;
let node;
if (nodeId) {
@@ -240,7 +240,7 @@ export default defineComponent({
editorService.set('page', null);
}
if (toRaw(value) !== toRaw(editorService.get('root'))) {
if (toRaw(value) !== toRaw(preValue)) {
emit('update:modelValue', value);
}
});

View File

@@ -95,6 +95,7 @@ class Editor extends BaseService {
* @param value MNode
*/
public set<T = MNode>(name: keyof StoreState, value: T) {
const preValue = this.state[name];
this.state[name] = value as any;
// set nodes时将node设置为nodes第一个元素
if (name === 'nodes') {
@@ -102,7 +103,7 @@ class Editor extends BaseService {
}
if (name === 'root') {
this.state.pageLength = (value as unknown as MApp)?.items?.length || 0;
this.emit('root-change', value);
this.emit('root-change', value, preValue);
}
}

View File

@@ -1,23 +1,24 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/element-plus-adapter",
"type": "module",
"sideEffects": [
"dist/*"
],
"main": "dist/index.js",
"module": "dist/index.js",
"main": "dist/tmagic-element-plus-adapter.umd.cjs",
"module": "dist/tmagic-element-plus-adapter.js",
"types": "types/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
"import": "./dist/tmagic-element-plus-adapter.js",
"require": "./dist/tmagic-element-plus-adapter.umd.cjs"
},
"./*": "./*"
},
"license": "Apache-2.0",
"scripts": {
"build": "tsc -b tsconfig.build.json",
"build": "npm run build:type && vite build",
"build:type": "npm run clear:type && tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
"clear:type": "rimraf ./types"
},
"engines": {

View File

@@ -6,9 +6,6 @@
"declarationDir": "types",
"forceConsistentCasingInFileNames": true,
"paths": {},
"module": "CommonJS",
"rootDir": "./src",
"outDir": "./dist",
},
"include": [
"src"

View File

@@ -0,0 +1,42 @@
/*
* Tencent is pleased to support the open source community by making TMagicEditor available.
*
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { defineConfig } from 'vite';
import pkg from './package.json';
export default defineConfig({
build: {
cssCodeSplit: false,
sourcemap: true,
minify: false,
target: 'esnext',
lib: {
entry: 'src/index.ts',
name: 'TMagicElementPlusAdapter',
fileName: 'tmagic-element-plus-adapter',
},
rollupOptions: {
// 确保外部化处理那些你不想打包进库的依赖
external(id: string) {
return Object.keys(pkg.dependencies).some((k) => new RegExp(`^${k}`).test(id));
},
},
},
});

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/form",
"type": "module",
"sideEffects": [
@@ -36,8 +36,8 @@
},
"dependencies": {
"@element-plus/icons-vue": "^2.0.9",
"@tmagic/design": "1.2.0-beta.21",
"@tmagic/utils": "1.2.0-beta.21",
"@tmagic/design": "1.2.0-beta.23",
"@tmagic/utils": "1.2.0-beta.23",
"lodash-es": "^4.17.21",
"sortablejs": "^1.14.0",
"vue": "^3.2.37"

View File

@@ -99,11 +99,16 @@ const getOptions = async () => {
const { config } = props;
const { option } = config;
let { body } = option;
const { root = '', totalKey = 'total' } = option;
let { body = {}, url } = option;
if (typeof url === 'function') {
url = await url(mForm, { model: props.model, formValue: mForm?.values });
}
let postOptions: Record<string, any> = {
method: option.method || 'POST',
url: option.url,
url,
cache: option.cache,
timeout: option.timeout,
mode: option.mode,
@@ -111,22 +116,21 @@ const getOptions = async () => {
json: option.json || false,
};
if (body) {
if (typeof body === 'function') {
body = body(mForm, {
model: props.model,
formValue: mForm?.values,
formValues: mForm?.values,
config: props.config,
}) as Record<string, any>;
}
body.query = query.value;
body.pgSize = pgSize.value;
body.pgIndex = pgIndex.value;
postOptions.data = body;
if (typeof body === 'function') {
body = body(mForm, {
model: props.model,
formValue: mForm?.values,
formValues: mForm?.values,
config: props.config,
}) as Record<string, any>;
}
body.query = query.value;
body.pgSize = pgSize.value;
body.pgIndex = pgIndex.value;
postOptions.data = body;
const requestFuc = getConfig('request') as Function;
if (typeof option.beforeRequest === 'function') {
@@ -151,10 +155,14 @@ const getOptions = async () => {
});
}
const optionsData = res[option.root];
const optionsData = root.split('.').reduce((accumulator, currentValue: any) => accumulator[currentValue], res);
if (res.total > 0) {
total.value = res.total;
const resTotal = globalThis.parseInt(
totalKey.split('.').reduce((accumulator, currentValue: any) => accumulator[currentValue], res),
10,
);
if (resTotal > 0) {
total.value = resTotal;
}
remoteData.value = remoteData.value.concat(optionsData);
@@ -214,6 +222,8 @@ const getInitOption = async () => {
const { config } = props;
const { option } = config;
const { root = '', initRoot = '' } = option;
let { initBody = {} } = option;
let options: SelectOption[] | SelectGroupOption[] = [];
@@ -226,24 +236,53 @@ const getInitOption = async () => {
url = await url(mForm, { model: props.model, formValue: mForm?.values });
}
const postOptions: Record<string, any> = {
if (typeof initBody === 'function') {
initBody = initBody(mForm, {
model: props.model,
formValue: mForm?.values,
formValues: mForm?.values,
config: props.config,
}) as Record<string, any>;
}
let postOptions: Record<string, any> = {
method: option.method || 'POST',
url,
data: {
id: props.model[props.name],
...initBody,
},
mode: option.mode,
headers: option.headers || {},
json: option.json || false,
};
if (typeof option.beforeInitRequest === 'function') {
postOptions = option.beforeInitRequest(mForm, postOptions, {
model: props.model,
formValue: mForm?.values,
});
}
if (option.method?.toLocaleLowerCase() === 'jsonp') {
postOptions.jsonpCallback = option.jsonpCallback || 'callback';
}
const requestFuc = getConfig('request') as Function;
const res = await requestFuc(postOptions);
let res = await requestFuc(postOptions);
let initData = res[option.root];
if (typeof option.afterRequest === 'function') {
res = option.afterRequest(mForm, res, {
model: props.model,
formValue: mForm?.values,
formValues: mForm?.values,
config: props.config,
});
}
let initData = (initRoot || root)
.split('.')
.reduce((accumulator, currentValue: any) => accumulator[currentValue], res);
if (initData) {
if (!Array.isArray(initData)) {
initData = [initData];

View File

@@ -433,7 +433,7 @@ export interface SelectConfig extends FormItem, Input {
options: SelectConfigOption[] | SelectConfigGroupOption[] | SelectOptionFunction;
remote: true;
option: {
url: string;
url: string | ((mForm: FormState | undefined, data: { model: any; formValue: any }) => string);
initUrl?: string | ((mForm: FormState | undefined, data: { model: any; formValue: any }) => string);
method?: 'jsonp' | string;
cache?: boolean;
@@ -444,13 +444,22 @@ export interface SelectConfig extends FormItem, Input {
};
json?: false | boolean;
body?: Record<string, any> | RemoteSelectOptionBodyFunction;
initBody?: Record<string, any> | RemoteSelectOptionBodyFunction;
jsonpCallback?: 'callback' | string;
afterRequest?: RemoteSelectOptionRequestFunction;
afterInitRequest?: RemoteSelectOptionRequestFunction;
beforeRequest?: (mForm: FormState | undefined, postOptions: Record<string, any>, data: any) => Record<string, any>;
root: string;
beforeInitRequest?: (
mForm: FormState | undefined,
postOptions: Record<string, any>,
data: any,
) => Record<string, any>;
root?: string;
totalKey?: string;
initRoot?: string;
item?: RemoteSelectOptionItemFunction;
value: string | SelectOptionValueFunction;
text: string | SelectOptionTextFunction;
value?: string | SelectOptionValueFunction;
text?: string | SelectOptionTextFunction;
};
}

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/schema",
"type": "module",
"sideEffects": false,

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/stage",
"type": "module",
"sideEffects": [
@@ -30,9 +30,9 @@
},
"dependencies": {
"@scena/guides": "^0.17.0",
"@tmagic/core": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/utils": "1.2.0-beta.21",
"@tmagic/core": "1.2.0-beta.23",
"@tmagic/schema": "1.2.0-beta.23",
"@tmagic/utils": "1.2.0-beta.23",
"events": "^3.3.0",
"keycon": "^1.1.2",
"lodash-es": "^4.17.21",

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/table",
"type": "module",
"sideEffects": [
@@ -33,14 +33,14 @@
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"dependencies": {
"@tmagic/design": "1.2.0-beta.21",
"@tmagic/form": "1.2.0-beta.21",
"@tmagic/utils": "1.2.0-beta.21",
"@tmagic/design": "1.2.0-beta.23",
"@tmagic/form": "1.2.0-beta.23",
"@tmagic/utils": "1.2.0-beta.23",
"lodash-es": "^4.17.21",
"vue": "^3.2.37"
},
"peerDependencies": {
"@tmagic/form": "1.2.0-beta.21",
"@tmagic/form": "1.2.0-beta.23",
"vue": "^3.2.37"
},
"devDependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "@tmagic/ui-react",
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"type": "module",
"main": "src/index.ts",
"engines": {
@@ -14,8 +14,8 @@
"react:build": "tsc && vite build"
},
"dependencies": {
"@tmagic/core": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/core": "1.2.0-beta.23",
"@tmagic/schema": "1.2.0-beta.23",
"qrcode": "^1.5.0",
"react": "^17.0.0",
"react-dom": "^17.0.0"

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/ui-vue2",
"type": "module",
"main": "src/index.ts",
@@ -11,9 +11,9 @@
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"dependencies": {
"@tmagic/core": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/utils": "1.2.0-beta.21",
"@tmagic/core": "1.2.0-beta.23",
"@tmagic/schema": "1.2.0-beta.23",
"@tmagic/utils": "1.2.0-beta.23",
"qrcode": "^1.5.0",
"vue": "^2.7.4"
},

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/ui",
"type": "module",
"main": "src/index.ts",
@@ -12,9 +12,9 @@
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"dependencies": {
"@tmagic/core": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/utils": "1.2.0-beta.21",
"@tmagic/core": "1.2.0-beta.23",
"@tmagic/schema": "1.2.0-beta.23",
"@tmagic/utils": "1.2.0-beta.23",
"delegate": "^3.2.0",
"qrcode": "^1.5.0",
"tiny-emitter": "^2.1.0",

View File

@@ -1,5 +1,5 @@
{
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"name": "@tmagic/utils",
"type": "module",
"main": "dist/tmagic-utils.umd.cjs",
@@ -25,7 +25,7 @@
"url": "https://github.com/Tencent/tmagic-editor.git"
},
"dependencies": {
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.23",
"dayjs": "^1.11.4"
},
"devDependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "tmagic-playground",
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"type": "module",
"private": true,
"scripts": {
@@ -13,13 +13,13 @@
},
"dependencies": {
"@element-plus/icons-vue": "^2.0.9",
"@tmagic/design": "1.2.0-beta.21",
"@tmagic/editor": "1.2.0-beta.21",
"@tmagic/element-plus-adapter": "1.2.0-beta.21",
"@tmagic/form": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/stage": "1.2.0-beta.21",
"@tmagic/utils": "1.2.0-beta.21",
"@tmagic/design": "1.2.0-beta.23",
"@tmagic/editor": "1.2.0-beta.23",
"@tmagic/element-plus-adapter": "1.2.0-beta.23",
"@tmagic/form": "1.2.0-beta.23",
"@tmagic/schema": "1.2.0-beta.23",
"@tmagic/stage": "1.2.0-beta.23",
"@tmagic/utils": "1.2.0-beta.23",
"element-plus": "^2.2.19",
"monaco-editor": "^0.34.0",
"serialize-javascript": "^6.0.0",

98
pnpm-lock.yaml generated
View File

@@ -107,7 +107,7 @@ importers:
packages/core:
specifiers:
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.23
'@types/events': ^3.0.0
'@types/lodash-es': ^4.17.4
'@types/node': ^15.12.4
@@ -157,12 +157,12 @@ importers:
specifiers:
'@babel/core': ^7.18.0
'@element-plus/icons-vue': ^2.0.9
'@tmagic/core': 1.2.0-beta.21
'@tmagic/design': 1.2.0-beta.21
'@tmagic/form': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/stage': 1.2.0-beta.21
'@tmagic/utils': 1.2.0-beta.21
'@tmagic/core': 1.2.0-beta.23
'@tmagic/design': 1.2.0-beta.23
'@tmagic/form': 1.2.0-beta.23
'@tmagic/schema': 1.2.0-beta.23
'@tmagic/stage': 1.2.0-beta.23
'@tmagic/utils': 1.2.0-beta.23
'@types/events': ^3.0.0
'@types/lodash-es': ^4.17.4
'@types/node': ^15.12.4
@@ -239,8 +239,8 @@ importers:
specifiers:
'@babel/core': ^7.18.0
'@element-plus/icons-vue': ^2.0.9
'@tmagic/design': 1.2.0-beta.21
'@tmagic/utils': 1.2.0-beta.21
'@tmagic/design': 1.2.0-beta.23
'@tmagic/utils': 1.2.0-beta.23
'@types/lodash-es': ^4.17.4
'@types/node': ^15.12.4
'@types/sortablejs': ^1.10.7
@@ -293,9 +293,9 @@ importers:
packages/stage:
specifiers:
'@scena/guides': ^0.17.0
'@tmagic/core': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/utils': 1.2.0-beta.21
'@tmagic/core': 1.2.0-beta.23
'@tmagic/schema': 1.2.0-beta.23
'@tmagic/utils': 1.2.0-beta.23
'@types/events': ^3.0.0
'@types/lodash-es': ^4.17.4
'@types/node': ^15.12.4
@@ -329,9 +329,9 @@ importers:
packages/table:
specifiers:
'@tmagic/design': 1.2.0-beta.21
'@tmagic/form': 1.2.0-beta.21
'@tmagic/utils': 1.2.0-beta.21
'@tmagic/design': 1.2.0-beta.23
'@tmagic/form': 1.2.0-beta.23
'@tmagic/utils': 1.2.0-beta.23
'@types/color': ^3.0.1
'@types/lodash-es': ^4.17.4
'@types/node': ^15.12.4
@@ -369,9 +369,9 @@ importers:
packages/ui:
specifiers:
'@testing-library/vue': ^6.4.2
'@tmagic/core': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/utils': 1.2.0-beta.21
'@tmagic/core': 1.2.0-beta.23
'@tmagic/schema': 1.2.0-beta.23
'@tmagic/utils': 1.2.0-beta.23
'@types/qrcode': ^1.4.2
'@vue/compiler-sfc': ^3.2.37
'@vue/test-utils': ^2.0.0
@@ -395,8 +395,8 @@ importers:
packages/ui-react:
specifiers:
'@tmagic/core': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/core': 1.2.0-beta.23
'@tmagic/schema': 1.2.0-beta.23
'@types/react': ^17.0.37
'@types/react-dom': ^17.0.11
qrcode: ^1.5.0
@@ -416,9 +416,9 @@ importers:
packages/ui-vue2:
specifiers:
'@tmagic/core': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/utils': 1.2.0-beta.21
'@tmagic/core': 1.2.0-beta.23
'@tmagic/schema': 1.2.0-beta.23
'@tmagic/utils': 1.2.0-beta.23
qrcode: ^1.5.0
vite: ^3.1.3
vue: ^2.7.4
@@ -435,7 +435,7 @@ importers:
packages/utils:
specifiers:
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.23
'@types/node': ^15.12.4
dayjs: ^1.11.4
rimraf: ^3.0.2
@@ -453,13 +453,13 @@ importers:
playground:
specifiers:
'@element-plus/icons-vue': ^2.0.9
'@tmagic/design': 1.2.0-beta.21
'@tmagic/editor': 1.2.0-beta.21
'@tmagic/element-plus-adapter': 1.2.0-beta.21
'@tmagic/form': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/stage': 1.2.0-beta.21
'@tmagic/utils': 1.2.0-beta.21
'@tmagic/design': 1.2.0-beta.23
'@tmagic/editor': 1.2.0-beta.23
'@tmagic/element-plus-adapter': 1.2.0-beta.23
'@tmagic/form': 1.2.0-beta.23
'@tmagic/schema': 1.2.0-beta.23
'@tmagic/stage': 1.2.0-beta.23
'@tmagic/utils': 1.2.0-beta.23
'@types/node': ^15.12.4
'@types/serialize-javascript': ^5.0.1
'@vitejs/plugin-legacy': ^2.2.0
@@ -505,12 +505,12 @@ importers:
runtime/react:
specifiers:
'@tmagic/cli': 1.2.0-beta.21
'@tmagic/core': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/stage': 1.2.0-beta.21
'@tmagic/ui-react': 1.2.0-beta.21
'@tmagic/utils': 1.2.0-beta.21
'@tmagic/cli': 1.2.0-beta.23
'@tmagic/core': 1.2.0-beta.23
'@tmagic/schema': 1.2.0-beta.23
'@tmagic/stage': 1.2.0-beta.23
'@tmagic/ui-react': 1.2.0-beta.23
'@tmagic/utils': 1.2.0-beta.23
'@types/react': ^17.0.37
'@types/react-dom': ^17.0.11
'@vitejs/plugin-legacy': ^2.2.0
@@ -544,12 +544,12 @@ importers:
runtime/vue2:
specifiers:
'@tmagic/cli': 1.2.0-beta.21
'@tmagic/core': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/stage': 1.2.0-beta.21
'@tmagic/ui-vue2': 1.2.0-beta.21
'@tmagic/utils': 1.2.0-beta.21
'@tmagic/cli': 1.2.0-beta.23
'@tmagic/core': 1.2.0-beta.23
'@tmagic/schema': 1.2.0-beta.23
'@tmagic/stage': 1.2.0-beta.23
'@tmagic/ui-vue2': 1.2.0-beta.23
'@tmagic/utils': 1.2.0-beta.23
'@types/events': ^3.0.0
'@vitejs/plugin-legacy': ^2.2.0
'@vitejs/plugin-vue2': ^1.1.2
@@ -585,12 +585,12 @@ importers:
runtime/vue3:
specifiers:
'@tmagic/cli': 1.2.0-beta.21
'@tmagic/core': 1.2.0-beta.21
'@tmagic/schema': 1.2.0-beta.21
'@tmagic/stage': 1.2.0-beta.21
'@tmagic/ui': 1.2.0-beta.21
'@tmagic/utils': 1.2.0-beta.21
'@tmagic/cli': 1.2.0-beta.23
'@tmagic/core': 1.2.0-beta.23
'@tmagic/schema': 1.2.0-beta.23
'@tmagic/stage': 1.2.0-beta.23
'@tmagic/ui': 1.2.0-beta.23
'@tmagic/utils': 1.2.0-beta.23
'@types/node': ^15.12.4
'@vitejs/plugin-legacy': ^2.2.0
'@vitejs/plugin-vue': ^3.1.0

View File

@@ -1,6 +1,6 @@
{
"name": "runtime-react",
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"type": "module",
"private": true,
"scripts": {
@@ -21,12 +21,12 @@
"build:event:admin": "vite build --config build.vite.config.ts --mode event:admin"
},
"dependencies": {
"@tmagic/cli": "1.2.0-beta.21",
"@tmagic/core": "1.2.0-beta.21",
"@tmagic/ui-react": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/stage": "1.2.0-beta.21",
"@tmagic/utils": "1.2.0-beta.21",
"@tmagic/cli": "1.2.0-beta.23",
"@tmagic/core": "1.2.0-beta.23",
"@tmagic/ui-react": "1.2.0-beta.23",
"@tmagic/schema": "1.2.0-beta.23",
"@tmagic/stage": "1.2.0-beta.23",
"@tmagic/utils": "1.2.0-beta.23",
"axios": "^0.25.0",
"terser": "^5.14.2",
"react": "^17.0.2",

View File

@@ -1,6 +1,6 @@
{
"name": "runtime-vue2",
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"type": "module",
"private": true,
"scripts": {
@@ -21,12 +21,12 @@
"build:event:admin": "vite build --config build.vite.config.ts --mode event:admin"
},
"dependencies": {
"@tmagic/cli": "1.2.0-beta.21",
"@tmagic/core": "1.2.0-beta.21",
"@tmagic/ui-vue2": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/stage": "1.2.0-beta.21",
"@tmagic/utils": "1.2.0-beta.21",
"@tmagic/cli": "1.2.0-beta.23",
"@tmagic/core": "1.2.0-beta.23",
"@tmagic/ui-vue2": "1.2.0-beta.23",
"@tmagic/schema": "1.2.0-beta.23",
"@tmagic/stage": "1.2.0-beta.23",
"@tmagic/utils": "1.2.0-beta.23",
"axios": "^0.25.0",
"terser": "^5.14.2",
"vue": "^2.7.4"

View File

@@ -1,6 +1,6 @@
{
"name": "runtime-vue3",
"version": "1.2.0-beta.21",
"version": "1.2.0-beta.23",
"type": "module",
"private": true,
"scripts": {
@@ -21,12 +21,12 @@
"build:event:admin": "vite build --config build.vite.config.ts --mode event:admin"
},
"dependencies": {
"@tmagic/cli": "1.2.0-beta.21",
"@tmagic/core": "1.2.0-beta.21",
"@tmagic/ui": "1.2.0-beta.21",
"@tmagic/schema": "1.2.0-beta.21",
"@tmagic/stage": "1.2.0-beta.21",
"@tmagic/utils": "1.2.0-beta.21",
"@tmagic/cli": "1.2.0-beta.23",
"@tmagic/core": "1.2.0-beta.23",
"@tmagic/ui": "1.2.0-beta.23",
"@tmagic/schema": "1.2.0-beta.23",
"@tmagic/stage": "1.2.0-beta.23",
"@tmagic/utils": "1.2.0-beta.23",
"@vitejs/plugin-legacy": "^2.2.0",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"axios": "^0.25.0",