From 14f9f41f9fa6a1b4962d0fcd3083798d842e8ff9 Mon Sep 17 00:00:00 2001 From: chilingling Date: Tue, 15 Oct 2024 02:12:55 -0700 Subject: [PATCH 1/9] bump version --- designer-demo/package.json | 2 +- mockServer/package.json | 4 ++-- packages/blockToWebComponentTemplate/package.json | 2 +- packages/build/vite-config/package.json | 2 +- packages/build/vite-plugin-meta-comments/package.json | 2 +- packages/builtinComponent/package.json | 2 +- packages/canvas/package.json | 2 +- packages/common/package.json | 2 +- packages/configurator/package.json | 2 +- packages/design-core/package.json | 2 +- packages/engine-cli/package.json | 2 +- packages/http/package.json | 2 +- packages/i18n/package.json | 2 +- packages/layout/package.json | 2 +- packages/plugins/block/package.json | 2 +- packages/plugins/bridge/package.json | 2 +- packages/plugins/datasource/package.json | 2 +- packages/plugins/help/package.json | 2 +- packages/plugins/i18n/package.json | 2 +- packages/plugins/materials/package.json | 2 +- packages/plugins/page/package.json | 2 +- packages/plugins/robot/package.json | 2 +- packages/plugins/schema/package.json | 2 +- packages/plugins/script/package.json | 2 +- packages/plugins/state/package.json | 2 +- packages/plugins/tree/package.json | 2 +- packages/plugins/tutorial/package.json | 2 +- packages/register/package.json | 2 +- packages/settings/design/package.json | 2 +- packages/settings/events/package.json | 2 +- packages/settings/panel/package.json | 2 +- packages/settings/props/package.json | 2 +- packages/settings/styles/package.json | 2 +- packages/svgs/package.json | 2 +- packages/theme/base/package.json | 2 +- packages/theme/dark/package.json | 2 +- packages/theme/light/package.json | 2 +- packages/toolbars/breadcrumb/package.json | 2 +- packages/toolbars/clean/package.json | 2 +- packages/toolbars/collaboration/package.json | 2 +- packages/toolbars/fullscreen/package.json | 2 +- packages/toolbars/generate-code/package.json | 2 +- packages/toolbars/lang/package.json | 2 +- packages/toolbars/layout/package.json | 2 +- packages/toolbars/lock/package.json | 2 +- packages/toolbars/logo/package.json | 2 +- packages/toolbars/logout/package.json | 2 +- packages/toolbars/media/package.json | 2 +- packages/toolbars/preview/package.json | 2 +- packages/toolbars/redoundo/package.json | 2 +- packages/toolbars/refresh/package.json | 2 +- packages/toolbars/save/package.json | 2 +- packages/toolbars/setting/package.json | 2 +- packages/utils/package.json | 2 +- packages/vue-generator/package.json | 2 +- packages/webcomponent/package.json | 2 +- 56 files changed, 57 insertions(+), 57 deletions(-) diff --git a/designer-demo/package.json b/designer-demo/package.json index b02fb54f9..efcab58c6 100644 --- a/designer-demo/package.json +++ b/designer-demo/package.json @@ -1,7 +1,7 @@ { "name": "designer-demo", "private": true, - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "type": "module", "scripts": { "dev": "cross-env VITE_THEME=light vite", diff --git a/mockServer/package.json b/mockServer/package.json index e3f5dd4e0..9a028bbbe 100644 --- a/mockServer/package.json +++ b/mockServer/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-mock", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, @@ -32,7 +32,7 @@ }, "dependencies": { "@babel/runtime": "^7.9.2", - "@opentiny/tiny-engine-dsl-vue": "^2.0.0-alpha.3", + "@opentiny/tiny-engine-dsl-vue": "^2.0.0-alpha.4", "@seald-io/nedb": "^4.0.2", "fs-extra": "^11.1.1", "glob": "^10.3.4", diff --git a/packages/blockToWebComponentTemplate/package.json b/packages/blockToWebComponentTemplate/package.json index 34bf98cc6..ad7c61060 100644 --- a/packages/blockToWebComponentTemplate/package.json +++ b/packages/blockToWebComponentTemplate/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-block-build", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "description": "translate block to webcomponent template", "main": "./dist/web-components.es.js", "type": "module", diff --git a/packages/build/vite-config/package.json b/packages/build/vite-config/package.json index 032d802d5..dcad89c47 100644 --- a/packages/build/vite-config/package.json +++ b/packages/build/vite-config/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-vite-config", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "description": "", "type": "module", "main": "./index.js", diff --git a/packages/build/vite-plugin-meta-comments/package.json b/packages/build/vite-plugin-meta-comments/package.json index c0f55cbab..3b02af981 100644 --- a/packages/build/vite-plugin-meta-comments/package.json +++ b/packages/build/vite-plugin-meta-comments/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-vite-plugin-meta-comments", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "description": "", "type": "module", "main": "dist/index.cjs", diff --git a/packages/builtinComponent/package.json b/packages/builtinComponent/package.json index 359545cb3..ba64b5e6b 100644 --- a/packages/builtinComponent/package.json +++ b/packages/builtinComponent/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-builtin-component", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "description": "", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/canvas/package.json b/packages/canvas/package.json index 07aaf69dc..c5c50b847 100644 --- a/packages/canvas/package.json +++ b/packages/canvas/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-canvas", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/common/package.json b/packages/common/package.json index 872390b26..b67633046 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-common", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/configurator/package.json b/packages/configurator/package.json index 552540821..f5a725a92 100644 --- a/packages/configurator/package.json +++ b/packages/configurator/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-configurator", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "description": "", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/design-core/package.json b/packages/design-core/package.json index 2e188cc79..596cab3c7 100644 --- a/packages/design-core/package.json +++ b/packages/design-core/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "type": "module", "description": "TinyEngine enables developers to customize low-code platforms, build low-bit platforms online in real time, and support secondary development or integration of low-bit platform capabilities.", "homepage": "https://opentiny.design/tiny-engine", diff --git a/packages/engine-cli/package.json b/packages/engine-cli/package.json index 487eb5fae..cacd76ff7 100644 --- a/packages/engine-cli/package.json +++ b/packages/engine-cli/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-cli", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "description": "", "main": "dist/index.js", "scripts": { diff --git a/packages/http/package.json b/packages/http/package.json index 197dcc4ad..da7b2a590 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-http", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 2716f7eff..770c1535c 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-i18n-host", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/layout/package.json b/packages/layout/package.json index bdec3bc91..d18cff99b 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-layout", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "scripts": { "build": "vite build" }, diff --git a/packages/plugins/block/package.json b/packages/plugins/block/package.json index aac5a3690..02e5f93b8 100644 --- a/packages/plugins/block/package.json +++ b/packages/plugins/block/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-block", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/bridge/package.json b/packages/plugins/bridge/package.json index 65192cd03..7da33e4ec 100644 --- a/packages/plugins/bridge/package.json +++ b/packages/plugins/bridge/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-bridge", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/datasource/package.json b/packages/plugins/datasource/package.json index 32d2de0ca..942e19e47 100644 --- a/packages/plugins/datasource/package.json +++ b/packages/plugins/datasource/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-datasource", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/help/package.json b/packages/plugins/help/package.json index 4967af26a..6b912ff82 100644 --- a/packages/plugins/help/package.json +++ b/packages/plugins/help/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-help", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/i18n/package.json b/packages/plugins/i18n/package.json index ac0e952c4..c6d09f87e 100644 --- a/packages/plugins/i18n/package.json +++ b/packages/plugins/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-i18n", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/materials/package.json b/packages/plugins/materials/package.json index 6fb6590da..4087f7d57 100644 --- a/packages/plugins/materials/package.json +++ b/packages/plugins/materials/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-materials", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/page/package.json b/packages/plugins/page/package.json index accce9a61..daf28ffa5 100644 --- a/packages/plugins/page/package.json +++ b/packages/plugins/page/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-page", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/robot/package.json b/packages/plugins/robot/package.json index 0e0713cb8..725a3aa25 100644 --- a/packages/plugins/robot/package.json +++ b/packages/plugins/robot/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-robot", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/schema/package.json b/packages/plugins/schema/package.json index 02b852cae..d87ddd387 100644 --- a/packages/plugins/schema/package.json +++ b/packages/plugins/schema/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-schema", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/script/package.json b/packages/plugins/script/package.json index 066d41d00..1eaa88e6a 100644 --- a/packages/plugins/script/package.json +++ b/packages/plugins/script/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-script", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/state/package.json b/packages/plugins/state/package.json index 9b15b0e4a..df92dbf12 100644 --- a/packages/plugins/state/package.json +++ b/packages/plugins/state/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-state", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/tree/package.json b/packages/plugins/tree/package.json index 54b3578d1..1f196ed5a 100644 --- a/packages/plugins/tree/package.json +++ b/packages/plugins/tree/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-tree", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/tutorial/package.json b/packages/plugins/tutorial/package.json index 0e6ee9152..010e22c88 100644 --- a/packages/plugins/tutorial/package.json +++ b/packages/plugins/tutorial/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-tutorial", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/register/package.json b/packages/register/package.json index f075e5963..4a754967a 100644 --- a/packages/register/package.json +++ b/packages/register/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-meta-register", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "description": "", "type": "module", "main": "dist/index.js", diff --git a/packages/settings/design/package.json b/packages/settings/design/package.json index 7c3c97cee..1900ef62b 100644 --- a/packages/settings/design/package.json +++ b/packages/settings/design/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-setting-design", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/settings/events/package.json b/packages/settings/events/package.json index c8de2f6cb..aeed1eb88 100644 --- a/packages/settings/events/package.json +++ b/packages/settings/events/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-setting-events", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/settings/panel/package.json b/packages/settings/panel/package.json index 4992e3da3..3c2825716 100644 --- a/packages/settings/panel/package.json +++ b/packages/settings/panel/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-settings-panel", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/settings/props/package.json b/packages/settings/props/package.json index 1e6d19159..3d841731b 100644 --- a/packages/settings/props/package.json +++ b/packages/settings/props/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-setting-props", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/settings/styles/package.json b/packages/settings/styles/package.json index 8381762ea..75d068eb6 100644 --- a/packages/settings/styles/package.json +++ b/packages/settings/styles/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-setting-styles", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/svgs/package.json b/packages/svgs/package.json index 78a6c53e4..e276c1ffd 100644 --- a/packages/svgs/package.json +++ b/packages/svgs/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-svgs", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/theme/base/package.json b/packages/theme/base/package.json index 178d2fe4b..e487b460b 100644 --- a/packages/theme/base/package.json +++ b/packages/theme/base/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-theme-base", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/theme/dark/package.json b/packages/theme/dark/package.json index 8af1ff737..08558848f 100644 --- a/packages/theme/dark/package.json +++ b/packages/theme/dark/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-theme-dark", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/theme/light/package.json b/packages/theme/light/package.json index f98aaf66b..a3328f49c 100644 --- a/packages/theme/light/package.json +++ b/packages/theme/light/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-theme-light", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/breadcrumb/package.json b/packages/toolbars/breadcrumb/package.json index a2e6a5a4c..6bac5bb73 100644 --- a/packages/toolbars/breadcrumb/package.json +++ b/packages/toolbars/breadcrumb/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-breadcrumb", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/clean/package.json b/packages/toolbars/clean/package.json index 47237f2a2..c63611129 100644 --- a/packages/toolbars/clean/package.json +++ b/packages/toolbars/clean/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-clean", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/collaboration/package.json b/packages/toolbars/collaboration/package.json index 374e4f33d..6f95b4451 100644 --- a/packages/toolbars/collaboration/package.json +++ b/packages/toolbars/collaboration/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-collaboration", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/fullscreen/package.json b/packages/toolbars/fullscreen/package.json index 3c5ab6169..86709c353 100644 --- a/packages/toolbars/fullscreen/package.json +++ b/packages/toolbars/fullscreen/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-fullscreen", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/generate-code/package.json b/packages/toolbars/generate-code/package.json index 0eb45b883..f95cb070e 100644 --- a/packages/toolbars/generate-code/package.json +++ b/packages/toolbars/generate-code/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-generate-code", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/lang/package.json b/packages/toolbars/lang/package.json index 086babbb6..7cbd2102a 100644 --- a/packages/toolbars/lang/package.json +++ b/packages/toolbars/lang/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-lang", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/layout/package.json b/packages/toolbars/layout/package.json index a4964d4c2..38b8fe0d3 100644 --- a/packages/toolbars/layout/package.json +++ b/packages/toolbars/layout/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-layout", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/lock/package.json b/packages/toolbars/lock/package.json index f073828c0..176ac8620 100644 --- a/packages/toolbars/lock/package.json +++ b/packages/toolbars/lock/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-lock", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/logo/package.json b/packages/toolbars/logo/package.json index f893dc7d6..ae5743792 100644 --- a/packages/toolbars/logo/package.json +++ b/packages/toolbars/logo/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-logo", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/logout/package.json b/packages/toolbars/logout/package.json index 34c50c5f4..90a357a45 100644 --- a/packages/toolbars/logout/package.json +++ b/packages/toolbars/logout/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-logout", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/media/package.json b/packages/toolbars/media/package.json index f325c637b..d05d825e0 100644 --- a/packages/toolbars/media/package.json +++ b/packages/toolbars/media/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-media", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/preview/package.json b/packages/toolbars/preview/package.json index a803129c3..bb2c35a52 100644 --- a/packages/toolbars/preview/package.json +++ b/packages/toolbars/preview/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-preview", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/redoundo/package.json b/packages/toolbars/redoundo/package.json index 715b9b89b..bf235d768 100644 --- a/packages/toolbars/redoundo/package.json +++ b/packages/toolbars/redoundo/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-redoundo", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/refresh/package.json b/packages/toolbars/refresh/package.json index bf114ca19..f6393a556 100644 --- a/packages/toolbars/refresh/package.json +++ b/packages/toolbars/refresh/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-refresh", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/save/package.json b/packages/toolbars/save/package.json index dfb88167c..ece6a197a 100644 --- a/packages/toolbars/save/package.json +++ b/packages/toolbars/save/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-save", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/setting/package.json b/packages/toolbars/setting/package.json index 4c48ebb65..eab0bb286 100644 --- a/packages/toolbars/setting/package.json +++ b/packages/toolbars/setting/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-setting", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 8b940d317..0b0f77ba5 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-utils", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/vue-generator/package.json b/packages/vue-generator/package.json index 29d79e050..94889e2c0 100644 --- a/packages/vue-generator/package.json +++ b/packages/vue-generator/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-dsl-vue", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, diff --git a/packages/webcomponent/package.json b/packages/webcomponent/package.json index ee60b0126..2d1b0cd80 100644 --- a/packages/webcomponent/package.json +++ b/packages/webcomponent/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-webcomponent-core", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "publishConfig": { "access": "public" }, From 87c6dd1b741aa89e84bfcd8b7db2f6f6a6710d9b Mon Sep 17 00:00:00 2001 From: chilingling <26962197+chilingling@users.noreply.github.com> Date: Tue, 15 Oct 2024 04:21:44 -0700 Subject: [PATCH 2/9] feat: remove generate code from mock server (#823) * feat: remove generate code from mock server * fix: replace a standard http code 410 * fix: rm useless constructor code suggested by review --- mockServer/package.json | 1 - mockServer/src/services/schema2code.js | 99 +------------------------- 2 files changed, 2 insertions(+), 98 deletions(-) diff --git a/mockServer/package.json b/mockServer/package.json index 9a028bbbe..163aadfcd 100644 --- a/mockServer/package.json +++ b/mockServer/package.json @@ -32,7 +32,6 @@ }, "dependencies": { "@babel/runtime": "^7.9.2", - "@opentiny/tiny-engine-dsl-vue": "^2.0.0-alpha.4", "@seald-io/nedb": "^4.0.2", "fs-extra": "^11.1.1", "glob": "^10.3.4", diff --git a/mockServer/src/services/schema2code.js b/mockServer/src/services/schema2code.js index f4171e53f..7b83844a8 100644 --- a/mockServer/src/services/schema2code.js +++ b/mockServer/src/services/schema2code.js @@ -10,104 +10,9 @@ * */ -import { pageService } from '../routes/main-routes' -import appInfo from '../assets/json/appinfo.json' - export default class Schema2CodeServcice { - constructor() { - this.blockHistories = appInfo.blockHistories - this.components = appInfo.materialHistory.components - } - + constructor() {} schema2code(pageInfo, type = 'page') { - const { schema, name } = pageInfo - return this.translateSchema({ - schema, - name, - type - }) - } - - /** - * 通过dsl 将页面/区块schema数据生成对应代码 - * @param { I_TranslateSchemaParam } params - * @return {Promise} dsl函数返回数据 - */ - translateSchema(params) { - const { schema, name, type, blockHistories = this.blockHistories, components = this.components } = params - // 页面/区块 预览只需将页面、区块路径和区块构建产物路径统一设置为 ./components 即可 - const defaultMain = './components' - let componentsMap = this.getComponentSchema(components) - componentsMap = componentsMap.concat(this.getBlockSchema(blockHistories)) - componentsMap.forEach((component) => { - if (component.main !== undefined) { - component.main = defaultMain - } - }) - - componentsMap.push({ - componentName: name, - main: defaultMain - }) - - const { generateCode } = require('@opentiny/tiny-engine-dsl-vue') - let code - try { - code = generateCode({ - pageInfo: { schema, name }, - blocksData: [], - componentsMap - }) - } catch (e) { - this.getResponseData(null, e) - } - - return this.getResponseData(code) - } - - getResponseData(data, error) { - const res = { - data - } - - if (error) { - const err_code = error.code || '' - res.error = { - code: err_code, - message: error.message || '' - } - } - return res - } - - getComponentSchema(components) { - return components.map((component) => { - const { - component: componentName, - npm: { package: packageName, exportName, version, destructuring } = {} - } = component - return { - componentName, - package: packageName, - exportName, - destructuring, - version - } - }) - } - - // 将区块组装成schema数据 - getBlockSchema(blockHistories) { - return blockHistories.map((blockHistory) => { - const { path, version } = blockHistory - // 每个区块历史记录必有content - const { fileName: componentName } = blockHistory.content - return { - componentName, - main: path || '', - destructuring: false, - version: version || 'N/A' - } - }) + return { data: null, code: 410, message: 'deprecated api, please use `@opentiny/tiny-engine-dsl-vue` directly.' } } } From 2dfda14a39e0828fe33265733caa2208041af5f8 Mon Sep 17 00:00:00 2001 From: yy <40423888+yy-wow@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:32:46 +0800 Subject: [PATCH 3/9] fix: preview error (#862) --- packages/design-core/src/preview/src/Toolbar.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/design-core/src/preview/src/Toolbar.vue b/packages/design-core/src/preview/src/Toolbar.vue index b172e97b8..24cc1f015 100644 --- a/packages/design-core/src/preview/src/Toolbar.vue +++ b/packages/design-core/src/preview/src/Toolbar.vue @@ -8,13 +8,13 @@
调试模式 - +
+ diff --git a/packages/common/component/SvgButton.vue b/packages/common/component/SvgButton.vue index e46650d35..7008a42ba 100644 --- a/packages/common/component/SvgButton.vue +++ b/packages/common/component/SvgButton.vue @@ -64,5 +64,8 @@ export default { & + .svg-button { margin-left: 8px; } + .svg-icon { + outline: none; + } } diff --git a/packages/design-core/assets/AI.svg b/packages/design-core/assets/AI.svg index eb2edff21..6eb1fa116 100644 --- a/packages/design-core/assets/AI.svg +++ b/packages/design-core/assets/AI.svg @@ -1,17 +1,36 @@ - - - Created with Pixso. - - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/packages/design-core/assets/achart.svg b/packages/design-core/assets/achart.svg index 3f0b0594c..fa75adbe5 100644 --- a/packages/design-core/assets/achart.svg +++ b/packages/design-core/assets/achart.svg @@ -1,5 +1,4 @@ - diff --git a/packages/plugins/block/src/BlockConfig.vue b/packages/plugins/block/src/BlockConfig.vue index 406561d52..232e612c0 100644 --- a/packages/plugins/block/src/BlockConfig.vue +++ b/packages/plugins/block/src/BlockConfig.vue @@ -273,7 +273,6 @@ export default { diff --git a/packages/plugins/bridge/src/BridgeManage.vue b/packages/plugins/bridge/src/BridgeManage.vue index c7199b869..7d4990295 100644 --- a/packages/plugins/bridge/src/BridgeManage.vue +++ b/packages/plugins/bridge/src/BridgeManage.vue @@ -14,7 +14,7 @@ :class="['list-item', index === state.activeIndex ? 'active' : '']" @click.stop="openEdit(item, index)" > - +
{{ item.name }}
@@ -140,10 +140,12 @@ export default { flex: 1; border-top: 1px solid var(--ti-lowcode-tabs-border-color); overflow: auto; + padding: 12px 0; } .list-item { - height: 28px; + height: 24px; + line-height: 24px; display: grid; grid-template-columns: 16px 1fr auto; column-gap: 8px; @@ -157,8 +159,13 @@ export default { &:hover, &.active { background: var(--ti-lowcode-bridge-list-bg); + .setting-icon { + display: block; + } } - svg { + + .setting-icon { + display: none; color: var(--ti-lowcode-toolbar-more-hover-color); } } diff --git a/packages/plugins/datasource/src/DataSourceField.vue b/packages/plugins/datasource/src/DataSourceField.vue index 48918916a..167458df4 100644 --- a/packages/plugins/datasource/src/DataSourceField.vue +++ b/packages/plugins/datasource/src/DataSourceField.vue @@ -141,13 +141,13 @@ export default { diff --git a/packages/plugins/datasource/src/DataSourceRecordList.vue b/packages/plugins/datasource/src/DataSourceRecordList.vue index cf2cbde6a..d15066de9 100644 --- a/packages/plugins/datasource/src/DataSourceRecordList.vue +++ b/packages/plugins/datasource/src/DataSourceRecordList.vue @@ -373,12 +373,8 @@ export default { slots: { default: ({ row }) => (
- - + handleCopy(row)}> + handleDelete(row)}>
) } @@ -591,8 +587,7 @@ export default { .actions { display: flex; justify-content: left; - align-items: center; - margin: 16px 0 30px 0; + margin: 16px 0; .box-all-delete { margin: 1px 5px 0 5px; .all-delete { @@ -647,86 +642,17 @@ export default { width: 642px; :deep(.option-container) { display: flex; - justify-content: center; - .option-button { - padding: 0; - } - .option-button + .option-button { - margin-left: 6px; + align-items: center; + .svg-icon { + margin-right: 10px; } } } .record-list-data { - margin-top: -20px; - :deep(.tiny-grid) { - background-color: var(--ti-lowcode-datasource-toolbar-bg); - .tiny-grid__header-wrapper { - background-color: var(--ti-lowcode-datasource-toolbar-view-hover-bg); - .tiny-grid-header__column { - color: var(--ti-lowcode-datasource-toolbar-breadcrumb-color); - height: 39px; - } - - .tiny-grid__repair { - border-color: var(--ti-lowcode-datasource-tabs-border-color); - } - - .tiny-grid-resizable.is__line:before { - background-color: var(--ti-lowcode-datasource-tabs-border-color); - } - .tiny-grid-checkbox__icon { - svg { - color: var(--ti-lowcode-datasource-common-primary-color); - } - } - } - .tiny-grid__body-wrapper { - &::-webkit-scrollbar { - height: 10px; - } - .tiny-grid-body__column { - height: 44px; - .copy-data { - svg { - margin-left: 5px; - } - } - } - - .tiny-grid-body__row, - .tiny-grid-body__row:not(.row__hover):nth-child(2n) { - background-image: linear-gradient( - -180deg, - var(--ti-lowcode-datasource-tabs-border-color), - var(--ti-lowcode-datasource-tabs-border-color) - ); - background-repeat: no-repeat; - background-size: 100% 1px; - background-position: 100% 100%; - &.row__current { - background-color: var(--ti-lowcode-datasource-toolbar-view-hover-bg); - } - } - - .tiny-grid-body__row { - &.row__selected { - .tiny-grid-checkbox__icon { - svg { - color: var(--ti-lowcode-datasource-common-primary-color); - width: 100%; - height: 100%; - } - } - } - } - } - - .tiny-grid__empty-text { - color: var(--ti-lowcode-datasource-toolbar-breadcrumb-color); - } + :deep(.tiny-grid.tiny-grid-editable .tiny-grid-body__column.col__ellipsis) { + padding-left: 8px; } - :deep(.data-source-list-pager) { padding-right: 8px; .tiny-pager__pages { diff --git a/packages/plugins/datasource/src/DataSourceRemoteForm.vue b/packages/plugins/datasource/src/DataSourceRemoteForm.vue index 08b52f490..9bee5dcdd 100644 --- a/packages/plugins/datasource/src/DataSourceRemoteForm.vue +++ b/packages/plugins/datasource/src/DataSourceRemoteForm.vue @@ -83,8 +83,6 @@ export default { diff --git a/packages/plugins/materials/src/meta/block/src/BlockGroupTransfer.vue b/packages/plugins/materials/src/meta/block/src/BlockGroupTransfer.vue index 43e98d1c1..580b39415 100644 --- a/packages/plugins/materials/src/meta/block/src/BlockGroupTransfer.vue +++ b/packages/plugins/materials/src/meta/block/src/BlockGroupTransfer.vue @@ -1,6 +1,7 @@