From 423059deacc3a958be8e099cbdc2b810f8691c86 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Thu, 9 Jun 2022 21:02:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(playground):=20playground=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=97=8B=E8=BD=AC=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- playground/package.json | 1 + playground/src/pages/Editor.vue | 1 + pnpm-lock.yaml | 32 +++++++++++++++++--------------- 3 files changed, 19 insertions(+), 15 deletions(-) diff --git a/playground/package.json b/playground/package.json index 4739cfb3..755a0f43 100644 --- a/playground/package.json +++ b/playground/package.json @@ -24,6 +24,7 @@ }, "devDependencies": { "@types/node": "^15.12.4", + "@types/serialize-javascript": "^5.0.1", "@vitejs/plugin-legacy": "^1.8.2", "@vitejs/plugin-vue": "^1.2.3", "@vitejs/plugin-vue-jsx": "^1.1.6", diff --git a/playground/src/pages/Editor.vue b/playground/src/pages/Editor.vue index 3d230a8b..2cbfc18c 100644 --- a/playground/src/pages/Editor.vue +++ b/playground/src/pages/Editor.vue @@ -205,6 +205,7 @@ export default defineComponent({ options.draggable = !isPage; options.resizable = !isPage; + options.rotatable = !isPage; return options; }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a7582111..b89632d5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -70,7 +70,7 @@ importers: packages/core: specifiers: - '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/schema': ^1.0.0-rc.6 '@types/events': ^3.0.0 '@types/node': ^15.12.4 events: ^3.3.0 @@ -91,11 +91,11 @@ importers: specifiers: '@babel/core': ^7.18.0 '@element-plus/icons': 0.0.11 - '@tmagic/core': 1.0.0-rc.7 - '@tmagic/form': 1.0.0-rc.7 - '@tmagic/schema': 1.0.0-rc.7 - '@tmagic/stage': 1.0.0-rc.7 - '@tmagic/utils': 1.0.0-rc.7 + '@tmagic/core': ^1.0.0-rc.6 + '@tmagic/form': ^1.0.0-rc.6 + '@tmagic/schema': ^1.0.0-rc.6 + '@tmagic/stage': ^1.0.0-rc.6 + '@tmagic/utils': ^1.0.0-rc.6 '@types/events': ^3.0.0 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -156,7 +156,7 @@ importers: specifiers: '@babel/core': ^7.18.0 '@element-plus/icons': 0.0.11 - '@tmagic/utils': 1.0.0-rc.7 + '@tmagic/utils': ^1.0.0-rc.6 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 '@types/sortablejs': ^1.10.7 @@ -212,9 +212,9 @@ importers: packages/stage: specifiers: '@scena/guides': ^0.17.0 - '@tmagic/core': 1.0.0-rc.7 - '@tmagic/schema': 1.0.0-rc.7 - '@tmagic/utils': 1.0.0-rc.7 + '@tmagic/core': ^1.0.0-rc.6 + '@tmagic/schema': ^1.0.0-rc.6 + '@tmagic/utils': ^1.0.0-rc.6 '@types/events': ^3.0.0 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -246,7 +246,7 @@ importers: packages/table: specifiers: - '@tmagic/form': 1.0.0-rc.7 + '@tmagic/form': ^1.0.0-rc.6 '@types/color': ^3.0.1 '@types/lodash-es': ^4.17.4 '@types/node': ^15.12.4 @@ -282,7 +282,7 @@ importers: packages/ui: specifiers: '@testing-library/vue': ^6.4.2 - '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/schema': ^1.0.0-rc.6 '@types/qrcode': ^1.4.2 '@vue/compiler-sfc': ^3.2.0 '@vue/test-utils': ^2.0.0 @@ -304,7 +304,7 @@ importers: packages/ui-react: specifiers: - '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/schema': ^1.0.0-rc.6 '@types/react': ^17.0.37 '@types/react-dom': ^17.0.11 qrcode: ^1.5.0 @@ -323,7 +323,7 @@ importers: packages/ui-vue2: specifiers: - '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/schema': ^1.0.0-rc.6 '@vue/composition-api': 1.0.5 qrcode: ^1.5.0 vite: ^2.3.7 @@ -342,7 +342,7 @@ importers: packages/utils: specifiers: - '@tmagic/schema': 1.0.0-rc.7 + '@tmagic/schema': ^1.0.0-rc.6 '@types/node': ^15.12.4 moment: ^2.29.2 typescript: ^4.3.4 @@ -366,6 +366,7 @@ importers: '@tmagic/stage': ^1.0.0-rc.6 '@tmagic/utils': ^1.0.0-rc.6 '@types/node': ^15.12.4 + '@types/serialize-javascript': ^5.0.1 '@vitejs/plugin-legacy': ^1.8.2 '@vitejs/plugin-vue': ^1.2.3 '@vitejs/plugin-vue-jsx': ^1.1.6 @@ -393,6 +394,7 @@ importers: vue-router: 4.0.15_vue@3.2.37 devDependencies: '@types/node': 15.14.9 + '@types/serialize-javascript': 5.0.2 '@vitejs/plugin-legacy': 1.8.2_vite@2.9.10 '@vitejs/plugin-vue': 1.10.2_vite@2.9.10 '@vitejs/plugin-vue-jsx': 1.3.10