From 0325f0754fa50a9fdf1128f3b9dc1fa28af4ac38 Mon Sep 17 00:00:00 2001 From: gimmyhehe <975402925@qq.com> Date: Wed, 18 Dec 2024 15:21:44 +0800 Subject: [PATCH 1/5] fix(form): [form] fix validate icon shrink when text very long (#2663) --- packages/theme/package.json | 2 +- packages/theme/src/form-item/index.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/theme/package.json b/packages/theme/package.json index 6d9799c04a..270dca5b2d 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -1,7 +1,7 @@ { "name": "@opentiny/vue-theme", "type": "module", - "version": "3.20.0", + "version": "3.20.1", "description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.", "author": "OpenTiny Team", "license": "MIT", diff --git a/packages/theme/src/form-item/index.less b/packages/theme/src/form-item/index.less index 2ef3502260..95f5472684 100644 --- a/packages/theme/src/form-item/index.less +++ b/packages/theme/src/form-item/index.less @@ -206,6 +206,7 @@ .validate-icon { fill: var(--tv-FormItem-icon-color-error); margin-right: 4px; + flex-shrink: 0; } .@{form-item-prefix-cls}__validate-message { vertical-align: middle; From c4366f70a0b46af3188259a4282a352466e5c5bc Mon Sep 17 00:00:00 2001 From: Kagol Date: Thu, 19 Dec 2024 18:32:15 +0800 Subject: [PATCH 2/5] chore: update fluent-editor version --- packages/vue/src/fluent-editor/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue/src/fluent-editor/package.json b/packages/vue/src/fluent-editor/package.json index 7805701f11..07493b1020 100644 --- a/packages/vue/src/fluent-editor/package.json +++ b/packages/vue/src/fluent-editor/package.json @@ -11,7 +11,7 @@ "//postversion": "pnpm build" }, "dependencies": { - "@opentiny/fluent-editor": "~3.23.0", + "@opentiny/fluent-editor": "^3.24.0", "@opentiny/vue-common": "workspace:~", "@opentiny/vue-icon": "workspace:~", "@opentiny/vue-image-viewer": "workspace:~", From fb7690e96d06c5d9d908f48985acf6e868944113 Mon Sep 17 00:00:00 2001 From: Kagol Date: Thu, 19 Dec 2024 18:46:50 +0800 Subject: [PATCH 3/5] chore: update vue-fluent-editor version --- packages/vue/src/fluent-editor/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vue/src/fluent-editor/package.json b/packages/vue/src/fluent-editor/package.json index 07493b1020..0f4118aa06 100644 --- a/packages/vue/src/fluent-editor/package.json +++ b/packages/vue/src/fluent-editor/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/vue-fluent-editor", - "version": "3.20.1", + "version": "3.20.2", "description": "", "license": "MIT", "sideEffects": false, From 8290118b8ad74774d459c6cae31ac80cc6fff987 Mon Sep 17 00:00:00 2001 From: ajaxzheng <894103554@qq.com> Date: Thu, 26 Dec 2024 16:34:03 +0800 Subject: [PATCH 4/5] feat: add saas-common runtime (#2700) * feat: add saas-common runtime * feat: add saas-common runtime --- internals/cli/src/commands/build/build-runtime.ts | 14 +++++++++++--- packages/vue-runtime/package.json | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/internals/cli/src/commands/build/build-runtime.ts b/internals/cli/src/commands/build/build-runtime.ts index c78155ead4..c700cdf629 100644 --- a/internals/cli/src/commands/build/build-runtime.ts +++ b/internals/cli/src/commands/build/build-runtime.ts @@ -47,7 +47,7 @@ async function batchBuildAll({ vueVersion, tasks, message, emptyOutDir, npmScope if (tasks.length === 0) return logGreen(`====== 开始构建 ${message} ======`) - const { mode } = tasks[0] + const { mode, libPath } = tasks[0] const modeList = ['pc', 'mobile', 'mobile-first'] @@ -57,7 +57,8 @@ async function batchBuildAll({ vueVersion, tasks, message, emptyOutDir, npmScope dtsInclude: [] as string[], dts: false, npmScope, - isRuntime: true + isRuntime: true, + design: libPath === 'tiny-vue-saas-common' ? 'saas' : null } as BaseConfig) as UserConfig baseConfig.define = Object.assign(baseConfig.define || {}, { @@ -119,6 +120,9 @@ async function batchBuildAll({ vueVersion, tasks, message, emptyOutDir, npmScope external: (source, importer, isResolved) => { if (isResolved || !importer) return false + if (libPath === 'tiny-vue-saas-common') { + return ['@vue/composition-api', 'vue'].includes(source) + } return Object.keys(getExternal()).includes(source) }, output: { @@ -161,6 +165,10 @@ function getEntryTasks() { path: 'vue-common/src/index.ts', libPath: 'tiny-vue-common' }, + { + path: 'vue-saas-common/src/index.ts', + libPath: 'tiny-vue-saas-common' + }, { path: 'vue-runtime/all.ts', libPath: 'tiny-vue-all' @@ -232,7 +240,7 @@ export async function buildRuntime({ const processor = await createProcessor( { '--output': path.join(outDir, 'tailwind.css'), - '--content': path.join(outDir, 'tiny-vue.mjs') + '--content': path.join(outDir, 'tiny-vue-all.mjs') }, path.resolve(rootDir, 'theme-saas/tailwind.config.js') ) diff --git a/packages/vue-runtime/package.json b/packages/vue-runtime/package.json index 81694cf0d8..b54d29f8c1 100644 --- a/packages/vue-runtime/package.json +++ b/packages/vue-runtime/package.json @@ -1,7 +1,7 @@ { "name": "@opentiny/vue-runtime", "type": "module", - "version": "3.20.0", + "version": "3.20.3", "description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.", "author": "OpenTiny Team", "license": "MIT", From d96ca3ff86fa9b0b605da9fcead7f23f87b0f7f3 Mon Sep 17 00:00:00 2001 From: ajaxzheng <894103554@qq.com> Date: Fri, 27 Dec 2024 17:36:48 +0800 Subject: [PATCH 5/5] fix(runtime): fix the problem of simple-runtime relying on echarts, and add base-select component (#2705) * fix(runtime): fix the problem of simple-runtime relying on echarts, and add base-select component * fix(runtime): fix the problem of simple-runtime relying on echarts, and add base-select component * feat: update runtime version --- .../cli/src/commands/build/build-entry-app.ts | 51 +++++++++---------- packages/vue-runtime/package.json | 2 +- 2 files changed, 26 insertions(+), 27 deletions(-) diff --git a/internals/cli/src/commands/build/build-entry-app.ts b/internals/cli/src/commands/build/build-entry-app.ts index ffe3f0faad..f154d8b111 100644 --- a/internals/cli/src/commands/build/build-entry-app.ts +++ b/internals/cli/src/commands/build/build-entry-app.ts @@ -62,34 +62,33 @@ const notSimpleComponents = [ 'Amount', 'Area', 'AsyncFlowchart', - 'AutonaviMap', - 'BaiduMap', - 'BaseSelect', + 'HuichartsAmap', + 'HuichartsBmap', 'BulletinBoard', 'CascaderMobile', - 'Chart', - 'ChartBar', - 'ChartBoxplot', - 'ChartCandle', - 'ChartCore', - 'ChartFunnel', - 'ChartGauge', - 'ChartGraph', - 'ChartHeatmap', - 'ChartHistogram', - 'ChartLine', - 'ChartLiquidfill', - 'ChartMap', - 'ChartPie', - 'ChartProcess', - 'ChartRadar', - 'ChartRing', - 'ChartSankey', - 'ChartScatter', - 'ChartSunburst', - 'ChartTree', - 'ChartWaterfall', - 'ChartWordcloud', + 'Huicharts', + 'HuichartsBar', + 'HuichartsBoxplot', + 'HuichartsCandle', + 'HuichartsCore', + 'HuichartsFunnel', + 'HuichartsGauge', + 'HuichartsGraph', + 'HuichartsHeatmap', + 'HuichartsHistogram', + 'HuichartsLine', + 'HuichartsLiquidfill', + 'HuichartsMap', + 'HuichartsPie', + 'HuichartsProcess', + 'HuichartsRadar', + 'HuichartsRing', + 'HuichartsSankey', + 'HuichartsScatter', + 'HuichartsSunburst', + 'HuichartsTree', + 'HuichartsWaterfall', + 'HuichartsWordcloud', 'Company', 'Country', 'Crop', diff --git a/packages/vue-runtime/package.json b/packages/vue-runtime/package.json index b54d29f8c1..45064cf26f 100644 --- a/packages/vue-runtime/package.json +++ b/packages/vue-runtime/package.json @@ -1,7 +1,7 @@ { "name": "@opentiny/vue-runtime", "type": "module", - "version": "3.20.3", + "version": "3.20.4", "description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.", "author": "OpenTiny Team", "license": "MIT",