From 4ac7fe1c069736126263b49c2890d76f0a8a7721 Mon Sep 17 00:00:00 2001
From: ajaxzheng <894103554@qq.com>
Date: Mon, 28 Oct 2024 16:15:19 +0800
Subject: [PATCH 01/65] fix(build): fix build error
---
packages/design/aurora/index.ts | 4 +-
packages/modules.json | 932 ++++++++++++++++++++++++--------
packages/theme/src/index.less | 1 +
packages/vue-icon-saas/index.ts | 28 +
4 files changed, 751 insertions(+), 214 deletions(-)
diff --git a/packages/design/aurora/index.ts b/packages/design/aurora/index.ts
index 1038fe240..abcb6d8ad 100644
--- a/packages/design/aurora/index.ts
+++ b/packages/design/aurora/index.ts
@@ -27,7 +27,6 @@ import Pager from './src/pager'
import Wizard from './src/wizard'
import DialogBox from './src/dialog-box'
import Popeditor from './src/popeditor'
-import DialogSelect from './src/dialog-select'
import { version } from './package.json'
export default {
@@ -62,7 +61,6 @@ export default {
Pager,
Wizard,
DialogBox,
- Popeditor,
- DialogSelect
+ Popeditor
}
}
diff --git a/packages/modules.json b/packages/modules.json
index 3d9e2f428..2670f6f83 100644
--- a/packages/modules.json
+++ b/packages/modules.json
@@ -3,7 +3,9 @@
"path": "vue/src/action-menu/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"ActionMenuPc": {
"path": "vue/src/action-menu/src/pc.vue",
@@ -14,7 +16,10 @@
"path": "vue/src/action-sheet/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile"]
+ "mode": [
+ "mobile-first",
+ "mobile"
+ ]
},
"ActionSheetMobile": {
"path": "vue/src/action-sheet/src/mobile.vue",
@@ -30,7 +35,11 @@
"path": "vue/src/alert/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"AlertMobile": {
"path": "vue/src/alert/src/mobile.vue",
@@ -51,7 +60,10 @@
"path": "vue/src/amount/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"AmountMobileFirst": {
"path": "vue/src/amount/src/mobile-first.vue",
@@ -67,7 +79,10 @@
"path": "vue/src/anchor/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"AnchorMobileFirst": {
"path": "vue/src/anchor/src/mobile-first.vue",
@@ -83,7 +98,9 @@
"path": "vue/src/area/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"AreaPc": {
"path": "vue/src/area/src/pc.vue",
@@ -94,7 +111,9 @@
"path": "vue/src/async-flowchart/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"AsyncFlowchartMobileFirst": {
"path": "vue/src/async-flowchart/src/mobile-first.vue",
@@ -105,7 +124,9 @@
"path": "vue/src/autocomplete/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"AutocompletePc": {
"path": "vue/src/autocomplete/src/pc.vue",
@@ -116,13 +137,19 @@
"path": "vue/src/avatar/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"Badge": {
"path": "vue/src/badge/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"BadgeMobile": {
"path": "vue/src/badge/src/mobile.vue",
@@ -143,7 +170,10 @@
"path": "vue/src/base-select/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"BaseSelectMobileFirst": {
"path": "vue/src/base-select/src/mobile-first.vue",
@@ -159,13 +189,17 @@
"path": "vue/src/breadcrumb/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"BreadcrumbItem": {
"path": "vue/src/breadcrumb-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"BreadcrumbItemPc": {
"path": "vue/src/breadcrumb-item/src/pc.vue",
@@ -181,7 +215,9 @@
"path": "vue/src/bulletin-board/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"BulletinBoardPc": {
"path": "vue/src/bulletin-board/src/pc.vue",
@@ -192,13 +228,19 @@
"path": "vue/src/button/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"ButtonGroup": {
"path": "vue/src/button-group/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"ButtonGroupPc": {
"path": "vue/src/button-group/src/pc.vue",
@@ -224,13 +266,17 @@
"path": "vue/src/calendar/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"CalendarBar": {
"path": "vue/src/calendar-bar/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"CalendarBarMobileFirst": {
"path": "vue/src/calendar-bar/src/mobile-first.vue",
@@ -246,7 +292,10 @@
"path": "vue/src/calendar-view/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CalendarViewMobileFirst": {
"path": "vue/src/calendar-view/src/mobile-first.vue",
@@ -262,13 +311,19 @@
"path": "vue/src/card/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CardGroup": {
"path": "vue/src/card-group/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CardGroupMobileFirst": {
"path": "vue/src/card-group/src/mobile-first.vue",
@@ -294,7 +349,9 @@
"path": "vue/src/card-template/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"CardTemplatePc": {
"path": "vue/src/card-template/src/pc.vue",
@@ -305,13 +362,19 @@
"path": "vue/src/carousel/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CarouselItem": {
"path": "vue/src/carousel-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CarouselItemMobileFirst": {
"path": "vue/src/carousel-item/src/mobile-first.vue",
@@ -337,13 +400,19 @@
"path": "vue/src/cascader/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CascaderMenu": {
"path": "vue/src/cascader-menu/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CascaderMenuMobileFirst": {
"path": "vue/src/cascader-menu/src/mobile-first.vue",
@@ -359,7 +428,9 @@
"path": "vue/src/cascader-mobile/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"CascaderMobileFirst": {
"path": "vue/src/cascader/src/mobile-first.vue",
@@ -370,7 +441,10 @@
"path": "vue/src/cascader-node/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CascaderNodeMobileFirst": {
"path": "vue/src/cascader-node/src/mobile-first.vue",
@@ -386,7 +460,10 @@
"path": "vue/src/cascader-panel/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CascaderPanelMobileFirst": {
"path": "vue/src/cascader-panel/src/mobile-first.vue",
@@ -407,7 +484,9 @@
"path": "vue/src/cascader-select/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"CascaderSelectMobileFirst": {
"path": "vue/src/cascader-select/src/mobile-first.vue",
@@ -418,25 +497,35 @@
"path": "vue/src/cascader-view/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"Cell": {
"path": "vue/src/cell/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"Checkbox": {
"path": "vue/src/checkbox/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"CheckboxButton": {
"path": "vue/src/checkbox-button/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"CheckboxButtonPc": {
"path": "vue/src/checkbox-button/src/pc.vue",
@@ -447,7 +536,11 @@
"path": "vue/src/checkbox-group/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"CheckboxGroupMobile": {
"path": "vue/src/checkbox-group/src/mobile.vue",
@@ -483,7 +576,9 @@
"path": "vue/src/col/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"ColPc": {
"path": "vue/src/col/src/pc.vue",
@@ -494,13 +589,19 @@
"path": "vue/src/collapse/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CollapseItem": {
"path": "vue/src/collapse-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CollapseItemMobileFirst": {
"path": "vue/src/collapse-item/src/mobile-first.vue",
@@ -526,13 +627,18 @@
"path": "vue/src/collapse-transition/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"ColorPicker": {
"path": "vue/src/color-picker/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile", "pc"]
+ "mode": [
+ "mobile",
+ "pc"
+ ]
},
"ColorPickerMobile": {
"path": "vue/src/color-picker/src/mobile.vue",
@@ -548,7 +654,9 @@
"path": "vue/src/color-select-panel/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"ColorSelectPanelPc": {
"path": "vue/src/color-select-panel/src/pc.vue",
@@ -559,13 +667,17 @@
"path": "vue/src/column-list-group/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"ColumnListItem": {
"path": "vue/src/column-list-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"Common": {
"path": "vue-common/src/index.ts",
@@ -576,7 +688,9 @@
"path": "vue/src/company/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"CompanyPc": {
"path": "vue/src/company/src/pc.vue",
@@ -592,7 +706,10 @@
"path": "vue/src/container/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile", "pc"]
+ "mode": [
+ "mobile",
+ "pc"
+ ]
},
"ContainerMobile": {
"path": "vue/src/container/src/mobile.vue",
@@ -608,7 +725,9 @@
"path": "vue/src/country/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"CountryPc": {
"path": "vue/src/country/src/pc.vue",
@@ -619,13 +738,18 @@
"path": "vue/src/crop/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"Currency": {
"path": "vue/src/currency/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"CurrencyMobileFirst": {
"path": "vue/src/currency/src/mobile-first.vue",
@@ -641,7 +765,10 @@
"path": "vue/src/date-panel/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"DatePanelMobileFirst": {
"path": "vue/src/date-panel/src/mobile-first.vue",
@@ -657,7 +784,10 @@
"path": "vue/src/date-picker/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile", "pc"]
+ "mode": [
+ "mobile",
+ "pc"
+ ]
},
"DatePickerMobile": {
"path": "vue/src/date-picker/src/mobile.vue",
@@ -678,7 +808,10 @@
"path": "vue/src/date-range/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"DateRangeMobileFirst": {
"path": "vue/src/date-range/src/mobile-first.vue",
@@ -694,7 +827,10 @@
"path": "vue/src/date-table/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"DateTableMobileFirst": {
"path": "vue/src/date-table/src/mobile-first.vue",
@@ -710,7 +846,9 @@
"path": "vue/src/dept/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"DeptPc": {
"path": "vue/src/dept/src/pc.vue",
@@ -727,16 +865,15 @@
"type": "module",
"exclude": false
},
- "DesignSmb": {
- "path": "design/smb/index.ts",
- "type": "module",
- "exclude": false
- },
"DialogBox": {
"path": "vue/src/dialog-box/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"DialogBoxMobile": {
"path": "vue/src/dialog-box/src/mobile.vue",
@@ -757,7 +894,9 @@
"path": "vue/src/dialog-select/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"DialogSelectPc": {
"path": "vue/src/dialog-select/src/pc.vue",
@@ -773,7 +912,9 @@
"path": "vue/src/divider/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"DividerPc": {
"path": "vue/src/divider/src/pc.vue",
@@ -784,7 +925,10 @@
"path": "vue/src/drawer/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"DrawerMobileFirst": {
"path": "vue/src/drawer/src/mobile-first.vue",
@@ -800,7 +944,9 @@
"path": "vue/src/drop-roles/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"DropRolesPc": {
"path": "vue/src/drop-roles/src/pc.vue",
@@ -811,7 +957,9 @@
"path": "vue/src/drop-times/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"DropTimesPc": {
"path": "vue/src/drop-times/src/pc.vue",
@@ -822,13 +970,20 @@
"path": "vue/src/dropdown/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"DropdownItem": {
"path": "vue/src/dropdown-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"DropdownItemMobile": {
"path": "vue/src/dropdown-item/src/mobile.vue",
@@ -849,7 +1004,11 @@
"path": "vue/src/dropdown-menu/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"DropdownMenuMobile": {
"path": "vue/src/dropdown-menu/src/mobile.vue",
@@ -880,13 +1039,17 @@
"path": "vue/src/dynamic-scroller/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"DynamicScrollerItem": {
"path": "vue/src/dynamic-scroller-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"DynamicScrollerItemPc": {
"path": "vue/src/dynamic-scroller-item/src/pc.vue",
@@ -902,7 +1065,9 @@
"path": "vue/src/espace/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"EspacePc": {
"path": "vue/src/espace/src/pc.vue",
@@ -913,7 +1078,10 @@
"path": "vue/src/exception/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile"]
+ "mode": [
+ "mobile-first",
+ "mobile"
+ ]
},
"ExceptionMobile": {
"path": "vue/src/exception/src/mobile.vue",
@@ -929,7 +1097,9 @@
"path": "vue/src/fall-menu/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"FallMenuPc": {
"path": "vue/src/fall-menu/src/pc.vue",
@@ -940,7 +1110,11 @@
"path": "vue/src/file-upload/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"FileUploadMobile": {
"path": "vue/src/file-upload/src/mobile.vue",
@@ -961,13 +1135,17 @@
"path": "vue/src/filter/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"FilterBar": {
"path": "vue/src/filter-bar/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"FilterBarMobileFirst": {
"path": "vue/src/filter-bar/src/mobile-first.vue",
@@ -978,7 +1156,9 @@
"path": "vue/src/filter-box/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"FilterMobileFirst": {
"path": "vue/src/filter/src/mobile-first.vue",
@@ -989,13 +1169,17 @@
"path": "vue/src/filter-panel/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"FloatButton": {
"path": "vue/src/float-button/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"FloatButtonPc": {
"path": "vue/src/float-button/src/pc.vue",
@@ -1006,7 +1190,9 @@
"path": "vue/src/floatbar/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"FloatbarPc": {
"path": "vue/src/floatbar/src/pc.vue",
@@ -1017,7 +1203,9 @@
"path": "vue/src/floating-button/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"FloatingButtonMobileFirst": {
"path": "vue/src/floating-button/src/mobile-first.vue",
@@ -1028,7 +1216,10 @@
"path": "vue/src/flowchart/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"FlowchartMobileFirst": {
"path": "vue/src/flowchart/src/mobile-first.vue",
@@ -1044,7 +1235,10 @@
"path": "vue/src/fluent-editor/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"FluentEditorMobileFirst": {
"path": "vue/src/fluent-editor/src/mobile-first.vue",
@@ -1060,13 +1254,20 @@
"path": "vue/src/form/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"FormItem": {
"path": "vue/src/form-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"FormItemLabelWrap": {
"path": "vue/src/form-item/src/label-wrap.ts",
@@ -1102,7 +1303,9 @@
"path": "vue/src/fullscreen/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"Grid": {
"path": "vue/src/grid/index.ts",
@@ -1128,7 +1331,9 @@
"path": "vue/src/guide/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"GuidePc": {
"path": "vue/src/guide/src/pc.vue",
@@ -1144,7 +1349,9 @@
"path": "vue/src/hrapprover/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"HrapproverPc": {
"path": "vue/src/hrapprover/src/pc.vue",
@@ -1281,13 +1488,13 @@
"type": "module",
"exclude": false
},
- "IconSaas": {
- "path": "vue-icon-saas/index.ts",
+ "IconMulticolor": {
+ "path": "vue-icon-multicolor/index.ts",
"type": "module",
"exclude": false
},
- "IconMulticolor": {
- "path": "vue-icon-multicolor/index.ts",
+ "IconSaas": {
+ "path": "vue-icon-saas/index.ts",
"type": "module",
"exclude": false
},
@@ -1295,7 +1502,10 @@
"path": "vue/src/image/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"ImageMobileFirst": {
"path": "vue/src/image/src/mobile-first.vue",
@@ -1311,7 +1521,11 @@
"path": "vue/src/image-viewer/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"ImageViewerMobile": {
"path": "vue/src/image-viewer/src/mobile.vue",
@@ -1332,7 +1546,9 @@
"path": "vue/src/index-bar/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"IndexBarAnchor": {
"path": "vue/src/index-bar-anchor/index.ts",
@@ -1348,7 +1564,11 @@
"path": "vue/src/input/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"InputMobile": {
"path": "vue/src/input/src/mobile.vue",
@@ -1374,7 +1594,9 @@
"path": "vue/src/ip-address/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"IpAddressPc": {
"path": "vue/src/ip-address/src/pc.vue",
@@ -1385,7 +1607,9 @@
"path": "vue/src/label/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"LabelMobile": {
"path": "vue/src/label/src/mobile.vue",
@@ -1396,7 +1620,9 @@
"path": "vue/src/layout/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"LayoutPc": {
"path": "vue/src/layout/src/pc.vue",
@@ -1407,13 +1633,17 @@
"path": "vue/src/link/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"LinkMenu": {
"path": "vue/src/link-menu/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"LinkMenuPc": {
"path": "vue/src/link-menu/src/pc.vue",
@@ -1429,13 +1659,17 @@
"path": "vue/src/list/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"LoadList": {
"path": "vue/src/load-list/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"LoadListMobileFirst": {
"path": "vue/src/load-list/src/mobile-first.vue",
@@ -1446,7 +1680,11 @@
"path": "vue/src/loading/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"LoadingMobile": {
"path": "vue/src/loading/src/mobile.vue",
@@ -1472,19 +1710,25 @@
"path": "vue/src/locales/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"LogonUser": {
"path": "vue/src/logon-user/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"Logout": {
"path": "vue/src/logout/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"LogoutPc": {
"path": "vue/src/logout/src/pc.vue",
@@ -1495,13 +1739,17 @@
"path": "vue/src/mask/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"Menu": {
"path": "vue/src/menu/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"Message": {
"path": "vue/src/message/index.ts",
@@ -1512,7 +1760,9 @@
"path": "vue/src/milestone/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"MilestonePc": {
"path": "vue/src/milestone/src/pc.vue",
@@ -1523,7 +1773,9 @@
"path": "vue/src/mind-map/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"MindMapPc": {
"path": "vue/src/mind-map/src/pc.vue",
@@ -1534,13 +1786,19 @@
"path": "vue/src/mini-picker/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"Modal": {
"path": "vue/src/modal/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"ModalMobile": {
"path": "vue/src/modal/src/mobile.vue",
@@ -1561,25 +1819,33 @@
"path": "vue/src/month-range/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"MonthTable": {
"path": "vue/src/month-table/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"MultiSelect": {
"path": "vue/src/multi-select/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"MultiSelectItem": {
"path": "vue/src/multi-select-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"MultiSelectItemMobile": {
"path": "vue/src/multi-select-item/src/mobile.vue",
@@ -1595,13 +1861,17 @@
"path": "vue/src/nav-bar/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"NavMenu": {
"path": "vue/src/nav-menu/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"NavMenuPc": {
"path": "vue/src/nav-menu/src/pc.vue",
@@ -1612,13 +1882,19 @@
"path": "vue/src/notify/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"Numeric": {
"path": "vue/src/numeric/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"NumericMobile": {
"path": "vue/src/numeric/src/mobile.vue",
@@ -1639,13 +1915,19 @@
"path": "vue/src/option/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"OptionGroup": {
"path": "vue/src/option-group/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"OptionGroupMobileFirst": {
"path": "vue/src/option-group/src/mobile-first.vue",
@@ -1671,13 +1953,19 @@
"path": "vue/src/pager/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"PagerItem": {
"path": "vue/src/pager-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"PagerItemMobileFirst": {
"path": "vue/src/pager-item/src/mobile-first.vue",
@@ -1703,7 +1991,9 @@
"path": "vue/src/panel/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"PanelPc": {
"path": "vue/src/panel/src/pc.vue",
@@ -1714,13 +2004,18 @@
"path": "vue/src/picker/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"PickerColumn": {
"path": "vue/src/picker-column/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"PickerMobileFirst": {
"path": "vue/src/picker/src/mobile-first.vue",
@@ -1736,7 +2031,9 @@
"path": "vue/src/pop-upload/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"PopUploadPc": {
"path": "vue/src/pop-upload/src/pc.vue",
@@ -1747,7 +2044,10 @@
"path": "vue/src/popconfirm/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"PopconfirmMobileFirst": {
"path": "vue/src/popconfirm/src/mobile-first.vue",
@@ -1763,7 +2063,9 @@
"path": "vue/src/popeditor/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"PopeditorPc": {
"path": "vue/src/popeditor/src/pc.vue",
@@ -1774,7 +2076,11 @@
"path": "vue/src/popover/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"PopoverMobile": {
"path": "vue/src/popover/src/mobile.vue",
@@ -1795,13 +2101,19 @@
"path": "vue/src/popup/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"Progress": {
"path": "vue/src/progress/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"ProgressMobile": {
"path": "vue/src/progress/src/mobile.vue",
@@ -1822,7 +2134,10 @@
"path": "vue/src/pull-refresh/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile"]
+ "mode": [
+ "mobile-first",
+ "mobile"
+ ]
},
"PullRefreshMobile": {
"path": "vue/src/pull-refresh/src/mobile.vue",
@@ -1838,31 +2153,44 @@
"path": "vue/src/qr-code/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"QuarterPanel": {
"path": "vue/src/quarter-panel/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"QueryBuilder": {
"path": "vue/src/query-builder/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"Radio": {
"path": "vue/src/radio/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"RadioButton": {
"path": "vue/src/radio-button/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"RadioButtonMobileFirst": {
"path": "vue/src/radio-button/src/mobile-first.vue",
@@ -1878,7 +2206,10 @@
"path": "vue/src/radio-group/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"RadioGroupMobileFirst": {
"path": "vue/src/radio-group/src/mobile-first.vue",
@@ -1909,7 +2240,10 @@
"path": "vue/src/rate/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"RateMobileFirst": {
"path": "vue/src/rate/src/mobile-first.vue",
@@ -1925,7 +2259,9 @@
"path": "vue/src/record/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"RecordMobileFirst": {
"path": "vue/src/record/src/mobile-first.vue",
@@ -1936,7 +2272,9 @@
"path": "vue/src/recycle-scroller/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"RecycleScrollerPc": {
"path": "vue/src/recycle-scroller/src/pc.vue",
@@ -1947,19 +2285,25 @@
"path": "vue/src/rich-text/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"RichTextEditor": {
"path": "vue/src/rich-text-editor/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"River": {
"path": "vue/src/river/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"RiverPc": {
"path": "vue/src/river/src/pc.vue",
@@ -1970,7 +2314,9 @@
"path": "vue/src/roles/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"RolesPc": {
"path": "vue/src/roles/src/pc.vue",
@@ -1981,7 +2327,9 @@
"path": "vue/src/row/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"RowPc": {
"path": "vue/src/row/src/pc.vue",
@@ -1997,7 +2345,9 @@
"path": "vue/src/scroll-text/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"ScrollTextPc": {
"path": "vue/src/scroll-text/src/pc.vue",
@@ -2008,13 +2358,19 @@
"path": "vue/src/scrollbar/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"Search": {
"path": "vue/src/search/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"SearchMobile": {
"path": "vue/src/search/src/mobile.vue",
@@ -2035,13 +2391,19 @@
"path": "vue/src/select/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"SelectDropdown": {
"path": "vue/src/select-dropdown/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"SelectDropdownMobileFirst": {
"path": "vue/src/select-dropdown/src/mobile-first.vue",
@@ -2057,7 +2419,9 @@
"path": "vue/src/select-mobile/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"SelectMobileFirst": {
"path": "vue/src/select/src/mobile-first.vue",
@@ -2073,13 +2437,18 @@
"path": "vue/src/select-view/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"SelectedBox": {
"path": "vue/src/selected-box/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"SelectedBoxMobileFirst": {
"path": "vue/src/selected-box/src/mobile-first.vue",
@@ -2095,7 +2464,9 @@
"path": "vue/src/signature/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"SignatureMobileFirst": {
"path": "vue/src/signature/src/mobile-first.vue",
@@ -2106,13 +2477,17 @@
"path": "vue/src/skeleton/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"SkeletonItem": {
"path": "vue/src/skeleton-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"SkeletonItemPc": {
"path": "vue/src/skeleton-item/src/pc.vue",
@@ -2128,19 +2503,27 @@
"path": "vue/src/slider/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"SliderButton": {
"path": "vue/src/slider-button/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"SliderButtonGroup": {
"path": "vue/src/slider-button-group/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"SliderButtonGroupMobileFirst": {
"path": "vue/src/slider-button-group/src/mobile-first.vue",
@@ -2171,7 +2554,9 @@
"path": "vue/src/split/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"SplitPc": {
"path": "vue/src/split/src/pc.vue",
@@ -2182,13 +2567,17 @@
"path": "vue/src/standard-list-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"Statistic": {
"path": "vue/src/statistic/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"StatisticPc": {
"path": "vue/src/statistic/src/pc.vue",
@@ -2199,7 +2588,10 @@
"path": "vue/src/steps/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"StepsMobileFirst": {
"path": "vue/src/steps/src/mobile-first.vue",
@@ -2215,7 +2607,10 @@
"path": "vue/src/sticky/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"StickyMobileFirst": {
"path": "vue/src/sticky/src/mobile-first.vue",
@@ -2231,7 +2626,11 @@
"path": "vue/src/switch/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"SwitchMobile": {
"path": "vue/src/switch/src/mobile.vue",
@@ -2252,7 +2651,10 @@
"path": "vue/src/tab-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"TabItemMobileFirst": {
"path": "vue/src/tab-item/src/mobile-first.vue",
@@ -2268,13 +2670,19 @@
"path": "vue/src/tabbar/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile"]
+ "mode": [
+ "mobile-first",
+ "mobile"
+ ]
},
"TabbarItem": {
"path": "vue/src/tabbar-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile"]
+ "mode": [
+ "mobile-first",
+ "mobile"
+ ]
},
"TabbarItemMobile": {
"path": "vue/src/tabbar-item/src/mobile.vue",
@@ -2300,7 +2708,10 @@
"path": "vue/src/table/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile", "pc"]
+ "mode": [
+ "mobile",
+ "pc"
+ ]
},
"TableMobile": {
"path": "vue/src/table/src/mobile.vue",
@@ -2316,7 +2727,11 @@
"path": "vue/src/tabs/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"TabsMobile": {
"path": "vue/src/tabs/src/mobile.vue",
@@ -2337,13 +2752,20 @@
"path": "vue/src/tag/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"TagGroup": {
"path": "vue/src/tag-group/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"TagGroupMobileFirst": {
"path": "vue/src/tag-group/src/mobile-first.vue",
@@ -2374,7 +2796,9 @@
"path": "vue/src/text-popup/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"TextPopupPc": {
"path": "vue/src/text-popup/src/pc.vue",
@@ -2385,13 +2809,20 @@
"path": "vue/src/time/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"TimeLine": {
"path": "vue/src/time-line/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"TimeLineMobile": {
"path": "vue/src/time-line/src/mobile.vue",
@@ -2407,7 +2838,11 @@
"path": "vue/src/time-line-new/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"TimeLineNewMobile": {
"path": "vue/src/time-line-new/src/mobile.vue",
@@ -2438,7 +2873,10 @@
"path": "vue/src/time-panel/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"TimePanelMobileFirst": {
"path": "vue/src/time-panel/src/mobile-first.vue",
@@ -2459,31 +2897,42 @@
"path": "vue/src/time-picker/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"TimePickerMobile": {
"path": "vue/src/time-picker-mobile/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"TimeRange": {
"path": "vue/src/time-range/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"TimeSelect": {
"path": "vue/src/time-select/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"TimeSpinner": {
"path": "vue/src/time-spinner/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"TimeSpinnerMobileFirst": {
"path": "vue/src/time-spinner/src/mobile-first.vue",
@@ -2499,7 +2948,9 @@
"path": "vue/src/timeline-item/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"TimelineItemPc": {
"path": "vue/src/timeline-item/src/pc.vue",
@@ -2510,7 +2961,9 @@
"path": "vue/src/toast/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"ToastMobile": {
"path": "vue/src/toast/src/mobile.vue",
@@ -2521,7 +2974,9 @@
"path": "vue/src/toggle-menu/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"ToggleMenuPc": {
"path": "vue/src/toggle-menu/src/pc.vue",
@@ -2532,7 +2987,10 @@
"path": "vue/src/tooltip/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"TooltipMobileFirst": {
"path": "vue/src/tooltip/src/mobile-first.vue",
@@ -2548,7 +3006,9 @@
"path": "vue/src/top-box/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"TopBoxPc": {
"path": "vue/src/top-box/src/pc.vue",
@@ -2559,13 +3019,17 @@
"path": "vue/src/transfer/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"TransferPanel": {
"path": "vue/src/transfer-panel/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"TransferPc": {
"path": "vue/src/transfer/src/pc.vue",
@@ -2576,13 +3040,17 @@
"path": "vue/src/tree/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"TreeMenu": {
"path": "vue/src/tree-menu/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"TreeMenuPc": {
"path": "vue/src/tree-menu/src/pc.vue",
@@ -2598,19 +3066,27 @@
"path": "vue/src/tree-select/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"Upload": {
"path": "vue/src/upload/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"UploadDragger": {
"path": "vue/src/upload-dragger/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"UploadDraggerMobileFirst": {
"path": "vue/src/upload-dragger/src/mobile-first.vue",
@@ -2626,7 +3102,11 @@
"path": "vue/src/upload-list/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"UploadListMobile": {
"path": "vue/src/upload-list/src/mobile.vue",
@@ -2657,13 +3137,17 @@
"path": "vue/src/user/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"UserAccount": {
"path": "vue/src/user-account/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"UserAccountPc": {
"path": "vue/src/user-account/src/pc.vue",
@@ -2674,7 +3158,9 @@
"path": "vue/src/user-contact/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"UserContactPc": {
"path": "vue/src/user-contact/src/pc.vue",
@@ -2685,13 +3171,19 @@
"path": "vue/src/user-head/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "mobile", "pc"]
+ "mode": [
+ "mobile-first",
+ "mobile",
+ "pc"
+ ]
},
"UserHeadGroup": {
"path": "vue/src/user-head-group/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first"]
+ "mode": [
+ "mobile-first"
+ ]
},
"UserHeadGroupMobileFirst": {
"path": "vue/src/user-head-group/src/mobile-first.vue",
@@ -2717,7 +3209,9 @@
"path": "vue/src/user-link/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"UserLinkPc": {
"path": "vue/src/user-link/src/pc.vue",
@@ -2733,7 +3227,9 @@
"path": "vue/src/virtual-scroll-box/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"VirtualScrollBoxPc": {
"path": "vue/src/virtual-scroll-box/src/pc.vue",
@@ -2744,7 +3240,9 @@
"path": "vue/src/virtual-tree/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"VirtualTreePc": {
"path": "vue/src/virtual-tree/src/pc.vue",
@@ -2755,19 +3253,25 @@
"path": "vue/src/watermark/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"Wheel": {
"path": "vue/src/wheel/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile"]
+ "mode": [
+ "mobile"
+ ]
},
"Wizard": {
"path": "vue/src/wizard/index.ts",
"type": "component",
"exclude": false,
- "mode": ["pc"]
+ "mode": [
+ "pc"
+ ]
},
"WizardPc": {
"path": "vue/src/wizard/src/pc.vue",
@@ -2778,7 +3282,10 @@
"path": "vue/src/year-range/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"YearRangeMobileFirst": {
"path": "vue/src/year-range/src/mobile-first.vue",
@@ -2794,7 +3301,10 @@
"path": "vue/src/year-table/index.ts",
"type": "component",
"exclude": false,
- "mode": ["mobile-first", "pc"]
+ "mode": [
+ "mobile-first",
+ "pc"
+ ]
},
"YearTableMobileFirst": {
"path": "vue/src/year-table/src/mobile-first.vue",
diff --git a/packages/theme/src/index.less b/packages/theme/src/index.less
index fad9264dd..1c9462d23 100644
--- a/packages/theme/src/index.less
+++ b/packages/theme/src/index.less
@@ -6,6 +6,7 @@
@import './autocomplete/index.less';
@import './badge/index.less';
@import './base/index.less';
+@import './base-select/index.less';
@import './breadcrumb/index.less';
@import './breadcrumb-item/index.less';
@import './bulletin-board/index.less';
diff --git a/packages/vue-icon-saas/index.ts b/packages/vue-icon-saas/index.ts
index c904be4b9..ed4536af2 100644
--- a/packages/vue-icon-saas/index.ts
+++ b/packages/vue-icon-saas/index.ts
@@ -127,6 +127,7 @@ import IconExport from './src/export'
import IconExpressSearch from './src/express-search'
import IconEyeclose from './src/eyeclose'
import IconEyeopen from './src/eyeopen'
+import IconFeedback from './src/feedback'
import IconEditorAlignCenter from './src/editor-align-center'
import IconEditorAlignLeft from './src/editor-align-left'
import IconEditorAlignRight from './src/editor-align-right'
@@ -180,6 +181,7 @@ import IconFrownO from './src/frown-o'
import IconFrown from './src/frown'
import IconFullscreen from './src/fullscreen'
import IconFullscreenLeft from './src/fullscreen-left'
+import IconFullscreenRight from './src/fullscreen-right'
import IconGoBack from './src/go-back'
import IconGrade from './src/grade'
import IconGroupTransfer from './src/group-transfer'
@@ -219,6 +221,7 @@ import IconLineThrought from './src/line-throught'
import IconLink from './src/link'
import IconLoading from './src/loading'
import IconLoadingShadow from './src/loading-shadow'
+import IconLocalePanel from './src/locale-panel'
import IconLock from './src/lock'
import IconMailContent from './src/mail-content'
import IconMail from './src/mail'
@@ -339,6 +342,7 @@ import IconSetting from './src/setting'
import IconShare from './src/share'
import IconShareArrow from './src/share-arrow'
import IconShoppingCard from './src/shopping-card'
+import IconShutdown from './src/shutdown'
import IconSmileO from './src/smile-o'
import IconSmile from './src/smile'
import IconSoldOut from './src/sold-out'
@@ -377,6 +381,7 @@ import IconUnlock from './src/unlock'
import IconUnsent from './src/unsent'
import IconUpO from './src/up-o'
import IconUp from './src/up'
+import IconUpdate from './src/update'
import IconUpload from './src/upload'
import IconUser from './src/user'
import IconVersiontree from './src/versiontree'
@@ -431,6 +436,7 @@ import IconAddPicture from './src/add-picture'
// sync aui icons
import IconAdministratorO from './src/administrator-o'
+import IconAgency from './src/agency'
import IconAudit from './src/audit'
import IconBatchFill from './src/batch-fill'
import IconCardMode from './src/card-mode'
@@ -509,6 +515,7 @@ import IconShipped from './src/shipped'
import IconSubstituteMaterial from './src/substitute-material'
import IconSurchargeSettled from './src/surcharge-settled'
import IconSurchargeToBeSettled from './src/surcharge-to-be-settled'
+import IconSynchronize from './src/synchronize'
import IconToBeUploaded from './src/to-be-uploaded'
import IconTotalNolume from './src/total-nolume'
import IconTotalNumber from './src/total-number'
@@ -593,6 +600,8 @@ export {
IconSurchargeSettled as iconSurchargeSettled,
IconSurchargeToBeSettled,
IconSurchargeToBeSettled as iconSurchargeToBeSettled,
+ IconSynchronize,
+ IconSynchronize as iconSynchronize,
IconToBeUploaded,
IconToBeUploaded as iconToBeUploaded,
IconTotalNolume,
@@ -919,6 +928,8 @@ export {
IconEyeclose as iconEyeclose,
IconEyeopen,
IconEyeopen as iconEyeopen,
+ IconFeedback,
+ IconFeedback as iconFeedback,
IconEditorAlignCenter,
IconEditorAlignCenter as iconEditorAlignCenter,
IconEditorAlignLeft,
@@ -1025,6 +1036,8 @@ export {
IconFullscreen as iconFullscreen,
IconFullscreenLeft,
IconFullscreenLeft as iconFullscreenLeft,
+ IconFullscreenRight,
+ IconFullscreenRight as iconFullscreenRight,
IconMinscreenLeft,
IconMinscreenLeft as iconMinscreenLeft,
IconGoBack,
@@ -1105,6 +1118,8 @@ export {
IconLoading as iconLoading,
IconLoadingShadow,
IconLoadingShadow as iconLoadingShadow,
+ IconLocalePanel,
+ IconLocalePanel as iconLocalePanel,
IconLock,
IconLock as iconLock,
IconLeftWardArrow,
@@ -1345,6 +1360,8 @@ export {
IconShareArrow as iconShareArrow,
IconShoppingCard,
IconShoppingCard as iconShoppingCard,
+ IconShutdown,
+ IconShutdown as iconShutdown,
IconSmileO,
IconSmileO as iconSmileO,
IconSmile,
@@ -1421,6 +1438,8 @@ export {
IconUpO as iconUpO,
IconUp,
IconUp as iconUp,
+ IconUpdate,
+ IconUpdate as iconUpdate,
IconUpWard,
IconUpWard as iconUpWard,
IconUpload,
@@ -1457,6 +1476,8 @@ export {
// sync aui icons
IconAdministratorO,
IconAdministratorO as iconAdministratorO,
+ IconAgency,
+ IconAgency as iconAgency,
IconAudit,
IconAudit as iconAudit,
IconBatchFill,
@@ -1580,6 +1601,7 @@ export default {
IconSubstituteMaterial,
IconSurchargeSettled,
IconSurchargeToBeSettled,
+ IconSynchronize,
IconToBeUploaded,
IconTotalNolume,
IconTotalNumber,
@@ -1741,6 +1763,7 @@ export default {
IconExpressSearch,
IconEyeclose,
IconEyeopen,
+ IconFeedback,
IconEditorAlignCenter,
IconEditorAlignLeft,
IconEditorAlignRight,
@@ -1794,6 +1817,7 @@ export default {
IconFrown,
IconFullscreen,
IconFullscreenLeft,
+ IconFullscreenRight,
IconMinscreenLeft,
IconGoBack,
IconGrade,
@@ -1834,6 +1858,7 @@ export default {
IconLink,
IconLoading,
IconLoadingShadow,
+ IconLocalePanel,
IconLock,
IconLeftWardArrow,
IconMailContent,
@@ -1953,6 +1978,7 @@ export default {
IconShare,
IconShareArrow,
IconShoppingCard,
+ IconShutdown,
IconSmileO,
IconSmile,
IconSoldOut,
@@ -1991,6 +2017,7 @@ export default {
IconUnsent,
IconUpO,
IconUp,
+ IconUpdate,
IconUpWard,
IconUpload,
IconUser,
@@ -2009,6 +2036,7 @@ export default {
IconAddPicture,
// sync aui icons
IconAdministratorO,
+ IconAgency,
IconAudit,
IconBatchFill,
IconCardMode,
From 042c3b6b262fe2fdf4721198ff5fe912f88867ba Mon Sep 17 00:00:00 2001
From: chenxi-20 <2465950588@qq.com>
Date: Mon, 28 Oct 2024 01:58:37 -0700
Subject: [PATCH 02/65] =?UTF-8?q?fix(docs):=20=E5=A2=9E=E5=8A=A0=E4=B8=8A?=
=?UTF-8?q?=E4=BC=A0=E6=96=87=E4=BB=B6=E7=B1=BB=E5=9E=8B=E8=AF=B4=E6=98=8E?=
=?UTF-8?q?=20(#2439)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
examples/sites/demos/pc/app/file-upload/webdoc/file-upload.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/sites/demos/pc/app/file-upload/webdoc/file-upload.js b/examples/sites/demos/pc/app/file-upload/webdoc/file-upload.js
index 1f61fb712..b520ba5c4 100644
--- a/examples/sites/demos/pc/app/file-upload/webdoc/file-upload.js
+++ b/examples/sites/demos/pc/app/file-upload/webdoc/file-upload.js
@@ -59,8 +59,8 @@ export default {
'en-US': 'Restrict file types'
},
desc: {
- 'zh-CN': '通过 accept
设置限制上传文件的格式。',
- 'en-US': 'Limit the format of uploaded files by setting accept
.'
+ 'zh-CN': '通过 accept
设置限制上传文件的格式只能为图片类型。',
+ 'en-US': 'Set a limit on the format of uploaded files to only be image type through accept
.'
},
codeFiles: ['accept-file-image.vue']
},
From 38839af405215e9c30fa1531d84852241e5c3926 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=94=B3=E5=90=9B=E5=81=A5?= <40288193@qq.com>
Date: Mon, 28 Oct 2024 16:59:08 +0800
Subject: [PATCH 03/65] fix(tag): update tag's size when only icon, update one
place of button's icon size (#2440)
---
.../demos/pc/app/tag/size-composition-api.vue | 8 +++++
examples/sites/demos/pc/app/tag/size.vue | 9 +++++-
examples/sites/demos/pc/app/tag/webdoc/tag.js | 6 ++--
packages/theme/src/button/vars.less | 2 +-
packages/theme/src/tag/index.less | 29 +++++++++++++------
packages/theme/src/tag/vars.less | 23 ++++++++++++---
6 files changed, 60 insertions(+), 17 deletions(-)
diff --git a/examples/sites/demos/pc/app/tag/size-composition-api.vue b/examples/sites/demos/pc/app/tag/size-composition-api.vue
index 7335699fb..bfecbcd50 100644
--- a/examples/sites/demos/pc/app/tag/size-composition-api.vue
+++ b/examples/sites/demos/pc/app/tag/size-composition-api.vue
@@ -4,11 +4,19 @@
默认标签
小型标签
超小标签
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/card/custom-class.vue b/examples/sites/demos/pc/app/card/custom-class.vue
index 525c35457..b8e582296 100644
--- a/examples/sites/demos/pc/app/card/custom-class.vue
+++ b/examples/sites/demos/pc/app/card/custom-class.vue
@@ -57,6 +57,6 @@ export default {
padding: 16px;
}
.my-card {
- background-color: rgba(0, 0, 0, 0.3);
+ background-color: rgba(0, 0, 0, 0.1);
}
From fd535ac8f850108c8252bfcd28a14aee5cd41d7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=94=B3=E5=90=9B=E5=81=A5?= <40288193@qq.com>
Date: Tue, 29 Oct 2024 10:12:40 +0800
Subject: [PATCH 13/65] fix(tree): remove red color from demos (#2455)
---
examples/sites/demos/.eslintrc.js | 3 ++-
.../demos/pc/app/tree/edit-control-composition-api.vue | 7 ++++---
examples/sites/demos/pc/app/tree/edit-control.vue | 7 ++++---
.../sites/demos/pc/app/tree/other-composition-api.vue | 9 +++++----
examples/sites/demos/pc/app/tree/other.vue | 9 +++++----
.../sites/demos/pc/app/tree/slot-composition-api.vue | 10 +++++-----
examples/sites/demos/pc/app/tree/slot.vue | 10 +++++-----
7 files changed, 30 insertions(+), 25 deletions(-)
diff --git a/examples/sites/demos/.eslintrc.js b/examples/sites/demos/.eslintrc.js
index df5ce1a64..8d6c32ab0 100644
--- a/examples/sites/demos/.eslintrc.js
+++ b/examples/sites/demos/.eslintrc.js
@@ -3,6 +3,7 @@
/** @type {import('eslint').Linter.Config} */
module.exports = {
rules: {
- 'no-console': 'off'
+ 'no-console': 'off',
+ 'vue/no-unused-vars': 'off'
}
}
diff --git a/examples/sites/demos/pc/app/tree/edit-control-composition-api.vue b/examples/sites/demos/pc/app/tree/edit-control-composition-api.vue
index b3c95248f..7dc473427 100644
--- a/examples/sites/demos/pc/app/tree/edit-control-composition-api.vue
+++ b/examples/sites/demos/pc/app/tree/edit-control-composition-api.vue
@@ -4,7 +4,7 @@
取消编辑
保存编辑
-
数据1 禁止添加; 数据2 禁止编辑; 数据3 禁止删除;
+ 提示:数据1 禁止添加; 数据2 禁止编辑; 数据3 禁止删除;
diff --git a/examples/sites/demos/pc/app/tree/edit-control.vue b/examples/sites/demos/pc/app/tree/edit-control.vue
index caf1ccbfe..104a90e81 100644
--- a/examples/sites/demos/pc/app/tree/edit-control.vue
+++ b/examples/sites/demos/pc/app/tree/edit-control.vue
@@ -4,7 +4,7 @@
取消编辑
保存编辑
- 数据1 禁止添加; 数据2 禁止编辑; 数据3 禁止删除;
+ 提示:数据1 禁止添加; 数据2 禁止编辑; 数据3 禁止删除;
diff --git a/examples/sites/demos/pc/app/tree/other-composition-api.vue b/examples/sites/demos/pc/app/tree/other-composition-api.vue
index d02af0cb0..ce8ce1957 100644
--- a/examples/sites/demos/pc/app/tree/other-composition-api.vue
+++ b/examples/sites/demos/pc/app/tree/other-composition-api.vue
@@ -1,10 +1,10 @@
-
手风琴模式,父子严格显示自动勾选
+
提示:手风琴模式,父子严格显示自动勾选
-
非手风琴模式,自定义自动勾选的内容
+
提示:非手风琴模式,自定义自动勾选的内容
自定义开关的内容
@@ -43,7 +43,8 @@ const data = ref([
diff --git a/examples/sites/demos/pc/app/tree/other.vue b/examples/sites/demos/pc/app/tree/other.vue
index 43d305732..ff3174893 100644
--- a/examples/sites/demos/pc/app/tree/other.vue
+++ b/examples/sites/demos/pc/app/tree/other.vue
@@ -1,10 +1,10 @@
-
手风琴模式,父子严格显示自动勾选
+
提示:手风琴模式,父子严格显示自动勾选
-
非手风琴模式,自定义自动勾选的内容
+
提示:非手风琴模式,自定义自动勾选的内容
自定义开关的内容
@@ -51,7 +51,8 @@ export default {
diff --git a/examples/sites/demos/pc/app/tree/slot-composition-api.vue b/examples/sites/demos/pc/app/tree/slot-composition-api.vue
index c9ed26647..05bd499a4 100644
--- a/examples/sites/demos/pc/app/tree/slot-composition-api.vue
+++ b/examples/sites/demos/pc/app/tree/slot-composition-api.vue
@@ -5,7 +5,7 @@
清除数据
-
5个插槽示例
+
提示:5个插槽示例
@@ -33,7 +33,7 @@
-
render-content + empty-text 示例
+
提示:render-content + empty-text 示例
@@ -94,8 +94,8 @@ function renderContent(h, { node, data }) {
.slot-demo > div {
margin-bottom: 8px;
}
-.tip {
- font-weight: bold;
- margin-bottom: 8px;
+.tips {
+ color: #888;
+ margin: 12px 20px;
}
diff --git a/examples/sites/demos/pc/app/tree/slot.vue b/examples/sites/demos/pc/app/tree/slot.vue
index 0faa8f1d5..a119573a8 100644
--- a/examples/sites/demos/pc/app/tree/slot.vue
+++ b/examples/sites/demos/pc/app/tree/slot.vue
@@ -5,7 +5,7 @@
清除数据
-
5个插槽示例
+
提示:5个插槽示例
@@ -33,7 +33,7 @@
-
render-content + empty-text 示例
+
提示:render-content + empty-text 示例
@@ -105,8 +105,8 @@ export default {
.slot-demo > div {
margin-bottom: 8px;
}
-.tip {
- font-weight: bold;
- margin-bottom: 8px;
+.tips {
+ color: #888;
+ margin: 12px 20px;
}
From 82f1cccd9b4640edb4c8e9455c263177d55adcdf Mon Sep 17 00:00:00 2001
From: chenxi-20 <2465950588@qq.com>
Date: Mon, 28 Oct 2024 19:47:12 -0700
Subject: [PATCH 14/65] =?UTF-8?q?fix(steps):=20[steps]=20=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D=E6=9D=A1=E5=BD=A2=E6=AD=A5=E9=AA=A4=E6=9D=A1=E5=B0=8F?=
=?UTF-8?q?=E7=81=B0=E7=82=B9=20(#2459)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/theme/src/steps/index.less | 1 -
1 file changed, 1 deletion(-)
diff --git a/packages/theme/src/steps/index.less b/packages/theme/src/steps/index.less
index 4e0a8204c..3fda658ca 100644
--- a/packages/theme/src/steps/index.less
+++ b/packages/theme/src/steps/index.less
@@ -127,7 +127,6 @@
margin: 0 1px;
height: 32px;
display: flex;
- border-radius: 2px;
overflow: hidden;
cursor: pointer;
color: var(--tv-Steps-text-color);
From cb08336162c656ec6e6ada31c9fbdf3b9d52fa1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=B8=9C=E9=A3=8E=E4=BD=BF=E5=91=BD=E5=BF=85=E8=BE=BE?=
<1664677472@qq.com>
Date: Mon, 28 Oct 2024 19:48:04 -0700
Subject: [PATCH 15/65] feat(time-picker): [time-picker] Optimize and modify
component style issues (#2452)
* feat(date-picker): [date-picker]Optimize case display and fix style issues
* feat(date-picker): [date-picker]Optimize case display and fix style issues
* feat(date-picker): [date-picker] Fix style issues
* feat(date-picker): [date-picker] Modify console for a large number of alarms
* feat(button): [button] Optimize demo style for feature display
* feat(date-picker): [date-picker] Optimize demo style
* feat(time-picker): [time-picker] Optimize and modify component style issues
* feat(time-picker): [time-picker] Optimize and modify component style issues
* feat(time-picker): [time-picker] Optimize style
* feat(time-picker): [time-picker] Optimize style
---
.../basic-usage-composition-api.vue | 2 +-
.../demos/pc/app/date-picker/basic-usage.vue | 2 +-
.../app/date-picker/clear-composition-api.vue | 2 +-
.../sites/demos/pc/app/date-picker/clear.vue | 2 +-
.../custom-suffix-icon-composition-api.vue | 2 +-
.../pc/app/date-picker/custom-suffix-icon.vue | 2 +-
.../custom-weeks-composition-api.vue | 2 +-
.../demos/pc/app/date-picker/custom-weeks.vue | 2 +-
.../default-value-composition-api.vue | 7 +-----
.../pc/app/date-picker/default-value.vue | 7 +-----
.../date-picker/disabled-composition-api.vue | 7 +-----
.../demos/pc/app/date-picker/disabled.vue | 7 +-----
.../date-picker/events-composition-api.vue | 13 ++++++-----
.../sites/demos/pc/app/date-picker/events.vue | 13 ++++++-----
.../filter-mode-composition-api.vue | 2 +-
.../demos/pc/app/date-picker/filter-mode.vue | 2 +-
.../date-picker/format-composition-api.vue | 2 +-
.../sites/demos/pc/app/date-picker/format.vue | 2 +-
.../label-inside-composition-api.vue | 9 +-------
.../demos/pc/app/date-picker/label-inside.vue | 9 +-------
.../multiple-dates-composition-api.vue | 2 +-
.../pc/app/date-picker/multiple-dates.vue | 2 +-
.../app/date-picker/now-composition-api.vue | 2 +-
.../sites/demos/pc/app/date-picker/now.vue | 2 +-
.../app/date-picker/size-composition-api.vue | 7 +-----
.../sites/demos/pc/app/date-picker/size.vue | 7 +-----
.../app/date-picker/step-composition-api.vue | 2 +-
.../sites/demos/pc/app/date-picker/step.vue | 2 +-
.../date-picker/timezone-composition-api.vue | 2 +-
.../demos/pc/app/date-picker/timezone.vue | 2 +-
.../unlink-panels-composition-api.vue | 2 +-
.../pc/app/date-picker/unlink-panels.vue | 2 +-
.../validate-event-composition-api.vue | 2 +-
.../pc/app/date-picker/validate-event.vue | 2 +-
.../basic-usage-composition-api.vue | 2 +-
.../pc/app/time-picker/basic-usage.spec.ts | 8 +++----
.../demos/pc/app/time-picker/basic-usage.vue | 2 +-
.../time-picker/is-range-composition-api.vue | 2 +-
.../demos/pc/app/time-picker/is-range.vue | 2 +-
.../pc/app/time-picker/webdoc/time-picker.js | 4 ++--
packages/theme/src/picker/index.less | 22 ++++++++-----------
packages/theme/src/time-panel/index.less | 5 +----
packages/theme/src/time-panel/vars.less | 2 +-
packages/theme/src/time-spinner/index.less | 10 ++++++++-
packages/vue/src/picker/package.json | 2 +-
packages/vue/src/picker/src/pc.vue | 4 ++--
packages/vue/src/time/package.json | 2 +-
packages/vue/src/time/src/pc.vue | 5 -----
48 files changed, 80 insertions(+), 126 deletions(-)
diff --git a/examples/sites/demos/pc/app/date-picker/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/date-picker/basic-usage-composition-api.vue
index 0f2594eb9..22ddebaee 100644
--- a/examples/sites/demos/pc/app/date-picker/basic-usage-composition-api.vue
+++ b/examples/sites/demos/pc/app/date-picker/basic-usage-composition-api.vue
@@ -23,7 +23,7 @@ const yearValue = ref('')
diff --git a/examples/sites/demos/pc/app/date-picker/clear.vue b/examples/sites/demos/pc/app/date-picker/clear.vue
index a67f791a4..3c5e6a8cb 100644
--- a/examples/sites/demos/pc/app/date-picker/clear.vue
+++ b/examples/sites/demos/pc/app/date-picker/clear.vue
@@ -41,6 +41,6 @@ export default {
diff --git a/examples/sites/demos/pc/app/date-picker/custom-suffix-icon-composition-api.vue b/examples/sites/demos/pc/app/date-picker/custom-suffix-icon-composition-api.vue
index 511a629dd..bb83c6dae 100644
--- a/examples/sites/demos/pc/app/date-picker/custom-suffix-icon-composition-api.vue
+++ b/examples/sites/demos/pc/app/date-picker/custom-suffix-icon-composition-api.vue
@@ -15,7 +15,7 @@ const IconMinus = iconMinus()
diff --git a/examples/sites/demos/pc/app/date-picker/custom-weeks.vue b/examples/sites/demos/pc/app/date-picker/custom-weeks.vue
index f4748b39e..c15c2573f 100644
--- a/examples/sites/demos/pc/app/date-picker/custom-weeks.vue
+++ b/examples/sites/demos/pc/app/date-picker/custom-weeks.vue
@@ -57,6 +57,6 @@ export default {
diff --git a/examples/sites/demos/pc/app/date-picker/default-value-composition-api.vue b/examples/sites/demos/pc/app/date-picker/default-value-composition-api.vue
index 3a165ad22..d1a76a7c3 100644
--- a/examples/sites/demos/pc/app/date-picker/default-value-composition-api.vue
+++ b/examples/sites/demos/pc/app/date-picker/default-value-composition-api.vue
@@ -31,12 +31,7 @@ const defaultTimeRange = ref(['09:00:00', '18:00:00'])
diff --git a/examples/sites/demos/pc/app/date-picker/step.vue b/examples/sites/demos/pc/app/date-picker/step.vue
index 89c931bb1..5711111cb 100644
--- a/examples/sites/demos/pc/app/date-picker/step.vue
+++ b/examples/sites/demos/pc/app/date-picker/step.vue
@@ -36,6 +36,6 @@ export default {
diff --git a/examples/sites/demos/pc/app/date-picker/timezone-composition-api.vue b/examples/sites/demos/pc/app/date-picker/timezone-composition-api.vue
index db8ec4022..91853e619 100644
--- a/examples/sites/demos/pc/app/date-picker/timezone-composition-api.vue
+++ b/examples/sites/demos/pc/app/date-picker/timezone-composition-api.vue
@@ -45,6 +45,6 @@ function selectChange(tz) {
diff --git a/examples/sites/demos/pc/app/date-picker/timezone.vue b/examples/sites/demos/pc/app/date-picker/timezone.vue
index 08c63bba5..22122c993 100644
--- a/examples/sites/demos/pc/app/date-picker/timezone.vue
+++ b/examples/sites/demos/pc/app/date-picker/timezone.vue
@@ -55,6 +55,6 @@ export default {
diff --git a/examples/sites/demos/pc/app/date-picker/unlink-panels-composition-api.vue b/examples/sites/demos/pc/app/date-picker/unlink-panels-composition-api.vue
index 5c74fffe1..2c2c41198 100644
--- a/examples/sites/demos/pc/app/date-picker/unlink-panels-composition-api.vue
+++ b/examples/sites/demos/pc/app/date-picker/unlink-panels-composition-api.vue
@@ -24,6 +24,6 @@ const value = ref([])
diff --git a/examples/sites/demos/pc/app/date-picker/unlink-panels.vue b/examples/sites/demos/pc/app/date-picker/unlink-panels.vue
index 8aa7ab504..41337b636 100644
--- a/examples/sites/demos/pc/app/date-picker/unlink-panels.vue
+++ b/examples/sites/demos/pc/app/date-picker/unlink-panels.vue
@@ -32,6 +32,6 @@ export default {
diff --git a/examples/sites/demos/pc/app/date-picker/validate-event-composition-api.vue b/examples/sites/demos/pc/app/date-picker/validate-event-composition-api.vue
index 71a65a8de..6b957c22f 100644
--- a/examples/sites/demos/pc/app/date-picker/validate-event-composition-api.vue
+++ b/examples/sites/demos/pc/app/date-picker/validate-event-composition-api.vue
@@ -76,7 +76,7 @@ function resetForm() {
diff --git a/examples/sites/demos/pc/app/time-picker/is-range.vue b/examples/sites/demos/pc/app/time-picker/is-range.vue
index 55fb4243f..4f0b474e9 100644
--- a/examples/sites/demos/pc/app/time-picker/is-range.vue
+++ b/examples/sites/demos/pc/app/time-picker/is-range.vue
@@ -24,6 +24,6 @@ export default {
diff --git a/examples/sites/demos/pc/app/time-picker/webdoc/time-picker.js b/examples/sites/demos/pc/app/time-picker/webdoc/time-picker.js
index 8093293f6..a8616d485 100644
--- a/examples/sites/demos/pc/app/time-picker/webdoc/time-picker.js
+++ b/examples/sites/demos/pc/app/time-picker/webdoc/time-picker.js
@@ -22,7 +22,7 @@ export default {
'en-US': 'Select time range'
},
desc: {
- 'zh-CN': 'picker-options
设置固定时间范围
',
+ 'zh-CN': '通过picker-options
设置固定时间范围
',
'en-US': 'picker-options
Setting a fixed time range.
'
},
codeFiles: ['picker-options.vue']
@@ -35,7 +35,7 @@ export default {
},
desc: {
'zh-CN':
- "is-range
设置是否为范围选择,默认为 false,range-separator
,设置范围选择分隔符(为可选值)默认为 '-'。
",
+ "通过is-range
设置是否为范围选择,默认为 false,通过range-separator
设置范围选择分隔符(为可选值)默认为 '-'。
",
'en-US':
" is-range
whether the setting is range selection. Default is false, range-separator
, and the range selection delimiter (optional) defaults to'-'.
"
},
diff --git a/packages/theme/src/picker/index.less b/packages/theme/src/picker/index.less
index 888a7dede..071963234 100644
--- a/packages/theme/src/picker/index.less
+++ b/packages/theme/src/picker/index.less
@@ -114,21 +114,17 @@
width: 12%;
}
- .@{range-prefix-cls}__close-box {
- height: 16px;
- z-index: 5;
- position: relative;
- }
-
.@{range-prefix-cls}__close-icon {
- width: 20px;
- height: 18px;
+ width: 16px;
+ height: 16px;
position: absolute;
- right: -20px;
+ top: 16px;
+ right: 12px;
+ transform: translateY(-50%);
background-color: #ffffff;
- margin-top: -1px;
-
- &,
+ fill: var(--tv-Picker-icon-color);
+ z-index: 5;
+
&:hover {
fill: var(--tv-Picker-icon-color-hover);
}
@@ -177,7 +173,7 @@
}
.@{range-prefix-cls}-separator {
- line-height: 28px;
+ line-height: 20px;
font-size: var(--tv-Picker-font-size);
}
diff --git a/packages/theme/src/time-panel/index.less b/packages/theme/src/time-panel/index.less
index 45663d660..61a26e12a 100644
--- a/packages/theme/src/time-panel/index.less
+++ b/packages/theme/src/time-panel/index.less
@@ -36,13 +36,10 @@
display: block;
}
- &__header-input {
- margin: var(--tv-TimePanel-header-margin);
- }
-
&__header-title {
display: flex;
justify-content: space-around;
+ margin: var(--tv-TimePanel-header-margin);
color: var(--tv-TimePanel-header-text-color);
align-items: center;
}
diff --git a/packages/theme/src/time-panel/vars.less b/packages/theme/src/time-panel/vars.less
index e74010011..fcb84b88c 100644
--- a/packages/theme/src/time-panel/vars.less
+++ b/packages/theme/src/time-panel/vars.less
@@ -29,7 +29,7 @@
--tv-TimePanel-border-color-divider: var(--tv-color-border-divider, #f0f0f0);
// 头部外间距
- --tv-TimePanel-header-margin: var(--tv-space-xl, 16px) 2px 24px 2px;
+ --tv-TimePanel-header-margin: var(--tv-space-xl, 16px) 2px 0 2px;
// 头部文本色
--tv-TimePanel-header-text-color: var(--tv-color-text-weaken, #808080);
// 内容区底部内间距
diff --git a/packages/theme/src/time-spinner/index.less b/packages/theme/src/time-spinner/index.less
index 21085ceb0..d21a9901f 100644
--- a/packages/theme/src/time-spinner/index.less
+++ b/packages/theme/src/time-spinner/index.less
@@ -54,6 +54,9 @@
}
.@{time-spinner-prefix-cls}__list {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
transform: translateY(-6px);
margin: var(--tv-TimeSpinner-list-margin);
}
@@ -64,7 +67,12 @@
}
}
}
-
+ &__wrapper.is-arrow {
+ height: 220px;
+ }
+ &__wrapper.is-arrow .@{time-spinner-prefix-cls}__list{
+ height: 200px;
+ }
&__arrow {
height: 30px;
line-height: 30px;
diff --git a/packages/vue/src/picker/package.json b/packages/vue/src/picker/package.json
index 8bbfb0e4e..dafa464fd 100644
--- a/packages/vue/src/picker/package.json
+++ b/packages/vue/src/picker/package.json
@@ -1,6 +1,6 @@
{
"name": "@opentiny/vue-picker",
- "version": "3.19.0",
+ "version": "3.19.1",
"description": "",
"main": "lib/index.js",
"module": "index.ts",
diff --git a/packages/vue/src/picker/src/pc.vue b/packages/vue/src/picker/src/pc.vue
index f5407f9ef..02a3a3ec2 100644
--- a/packages/vue/src/picker/src/pc.vue
+++ b/packages/vue/src/picker/src/pc.vue
@@ -120,11 +120,11 @@
/>
-
+
diff --git a/packages/vue/src/time/package.json b/packages/vue/src/time/package.json
index b1c352d8a..4abe6246a 100644
--- a/packages/vue/src/time/package.json
+++ b/packages/vue/src/time/package.json
@@ -1,6 +1,6 @@
{
"name": "@opentiny/vue-time",
- "version": "3.19.0",
+ "version": "3.19.1",
"description": "",
"main": "lib/index.js",
"module": "index.ts",
diff --git a/packages/vue/src/time/src/pc.vue b/packages/vue/src/time/src/pc.vue
index 6a29bd7de..6b6a1a4fc 100644
--- a/packages/vue/src/time/src/pc.vue
+++ b/packages/vue/src/time/src/pc.vue
@@ -13,9 +13,6 @@
diff --git a/examples/sites/demos/pc/app/grid/large-data/scroll-to.vue b/examples/sites/demos/pc/app/grid/large-data/scroll-to.vue
index fbc5995b3..60460afa1 100644
--- a/examples/sites/demos/pc/app/grid/large-data/scroll-to.vue
+++ b/examples/sites/demos/pc/app/grid/large-data/scroll-to.vue
@@ -6,7 +6,7 @@
滚动到500列
-
+
diff --git a/examples/sites/demos/pc/app/grid/loading/grid-custom-loading-composition-api.vue b/examples/sites/demos/pc/app/grid/loading/grid-custom-loading-composition-api.vue
index 785e5e5fc..ec6d3bc78 100644
--- a/examples/sites/demos/pc/app/grid/loading/grid-custom-loading-composition-api.vue
+++ b/examples/sites/demos/pc/app/grid/loading/grid-custom-loading-composition-api.vue
@@ -57,14 +57,14 @@ init()
const loadingComponent = () => (
- 正在加载中。。。
+ 正在加载中...
)
-
-
-
+
+
\ No newline at end of file
diff --git a/examples/sites/src/assets/images/leftMenu/directives-custom-instruction.svg b/examples/sites/src/assets/images/leftMenu/directives-custom-instruction.svg
index dd9206401..140c1b7fe 100644
--- a/examples/sites/src/assets/images/leftMenu/directives-custom-instruction.svg
+++ b/examples/sites/src/assets/images/leftMenu/directives-custom-instruction.svg
@@ -1,13 +1,16 @@
-
-
-
+
+
\ No newline at end of file
From d59111bc43d940e71f7a922d9a21e802cdb0a1e7 Mon Sep 17 00:00:00 2001
From: chenxi-20 <2465950588@qq.com>
Date: Mon, 28 Oct 2024 20:48:15 -0700
Subject: [PATCH 21/65] fix(milestone): [milestone] repair component sample
document (#2463)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* fix(milestones): [milestone] 修复组件示例文档
* fix(milestones): [milestone] 修复测试用例
---
.../milestone/custom-bottom-top-composition-api.vue | 7 +++++--
.../sites/demos/pc/app/milestone/custom-bottom-top.vue | 7 +++++--
.../pc/app/milestone/custom-flag-composition-api.vue | 2 +-
examples/sites/demos/pc/app/milestone/custom-flag.vue | 2 +-
.../milestone/data-field-mapping-composition-api.vue | 2 +-
.../demos/pc/app/milestone/data-field-mapping.vue | 2 +-
.../pc/app/milestone/flag-before-composition-api.vue | 10 +++++-----
.../sites/demos/pc/app/milestone/flag-before.spec.ts | 4 ++--
examples/sites/demos/pc/app/milestone/flag-before.vue | 10 +++++-----
.../app/milestone/milestone-events-composition-api.vue | 2 +-
.../sites/demos/pc/app/milestone/milestone-events.vue | 2 +-
.../pc/app/milestone/show-number-composition-api.vue | 2 +-
.../sites/demos/pc/app/milestone/show-number.spec.ts | 4 ++--
examples/sites/demos/pc/app/milestone/show-number.vue | 2 +-
.../pc/app/milestone/solid-style-composition-api.vue | 2 +-
.../sites/demos/pc/app/milestone/solid-style.spec.ts | 6 +++---
examples/sites/demos/pc/app/milestone/solid-style.vue | 2 +-
17 files changed, 37 insertions(+), 31 deletions(-)
diff --git a/examples/sites/demos/pc/app/milestone/custom-bottom-top-composition-api.vue b/examples/sites/demos/pc/app/milestone/custom-bottom-top-composition-api.vue
index 211ca6552..773ac7509 100644
--- a/examples/sites/demos/pc/app/milestone/custom-bottom-top-composition-api.vue
+++ b/examples/sites/demos/pc/app/milestone/custom-bottom-top-composition-api.vue
@@ -2,7 +2,7 @@
- {{ data.slotScope.status }}
+ {{ data.slotScope.status }}
{{ data.slotScope.name }} {{ data.slotScope.time }}
@@ -19,7 +19,7 @@ const timeActive1 = ref(1)
const normalActive = ref(2)
const advancedActive = ref(2)
const statusMap = ref({
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
@@ -55,4 +55,7 @@ const milestoneData = ref([
.demo-milestone ::v-deep .tiny-milestone__description-status {
margin-top: 4px;
}
+.status {
+ display: inline-block;
+}
diff --git a/examples/sites/demos/pc/app/milestone/custom-bottom-top.vue b/examples/sites/demos/pc/app/milestone/custom-bottom-top.vue
index ac753f490..e04040dc4 100644
--- a/examples/sites/demos/pc/app/milestone/custom-bottom-top.vue
+++ b/examples/sites/demos/pc/app/milestone/custom-bottom-top.vue
@@ -2,7 +2,7 @@
- {{ data.slotScope.status }}
+ {{ data.slotScope.status }}
{{ data.slotScope.name }} {{ data.slotScope.time }}
@@ -24,7 +24,7 @@ export default {
normalActive: 2,
advancedActive: 2,
statusMap: {
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
@@ -63,4 +63,7 @@ export default {
.demo-milestone ::v-deep .tiny-milestone__description-status {
margin-top: 4px;
}
+.status {
+ display: inline-block;
+}
diff --git a/examples/sites/demos/pc/app/milestone/custom-flag-composition-api.vue b/examples/sites/demos/pc/app/milestone/custom-flag-composition-api.vue
index c68ac0ebb..909754504 100644
--- a/examples/sites/demos/pc/app/milestone/custom-flag-composition-api.vue
+++ b/examples/sites/demos/pc/app/milestone/custom-flag-composition-api.vue
@@ -16,7 +16,7 @@ const timeActive1 = ref(1)
const normalActive = ref(2)
const advancedActive = ref(2)
const statusMap = ref({
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
diff --git a/examples/sites/demos/pc/app/milestone/custom-flag.vue b/examples/sites/demos/pc/app/milestone/custom-flag.vue
index 5a6f7cb6a..f757c2f44 100644
--- a/examples/sites/demos/pc/app/milestone/custom-flag.vue
+++ b/examples/sites/demos/pc/app/milestone/custom-flag.vue
@@ -21,7 +21,7 @@ export default {
normalActive: 2,
advancedActive: 2,
statusMap: {
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
diff --git a/examples/sites/demos/pc/app/milestone/data-field-mapping-composition-api.vue b/examples/sites/demos/pc/app/milestone/data-field-mapping-composition-api.vue
index 28e9ca33d..731b44202 100644
--- a/examples/sites/demos/pc/app/milestone/data-field-mapping-composition-api.vue
+++ b/examples/sites/demos/pc/app/milestone/data-field-mapping-composition-api.vue
@@ -20,7 +20,7 @@ import { ref } from 'vue'
import { TinyMilestone } from '@opentiny/vue'
const statusMap = ref({
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
diff --git a/examples/sites/demos/pc/app/milestone/data-field-mapping.vue b/examples/sites/demos/pc/app/milestone/data-field-mapping.vue
index 1d991aad9..57c4ee8da 100644
--- a/examples/sites/demos/pc/app/milestone/data-field-mapping.vue
+++ b/examples/sites/demos/pc/app/milestone/data-field-mapping.vue
@@ -25,7 +25,7 @@ export default {
data() {
return {
statusMap: {
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
diff --git a/examples/sites/demos/pc/app/milestone/flag-before-composition-api.vue b/examples/sites/demos/pc/app/milestone/flag-before-composition-api.vue
index ff45075a4..2bf7d7c42 100644
--- a/examples/sites/demos/pc/app/milestone/flag-before-composition-api.vue
+++ b/examples/sites/demos/pc/app/milestone/flag-before-composition-api.vue
@@ -13,11 +13,11 @@ import { TinyMilestone, TinyButton } from '@opentiny/vue'
const isBefore = ref(false)
const statusMap = ref({
- completed: 'var(--ti-common-color-line-active)',
- doing: '#7ED321',
- back: '#f5222d',
- end: '#faad14',
- cancel: '#d9d9d9'
+ completed: 'var(--tv-color-bg-disabled-control-active)', // 组件库基础变量
+ doing: '#9edb58',
+ back: '#c2c2c2',
+ end: '#edf7df',
+ cancel: '#f23030'
})
const milestoneData = ref([
{
diff --git a/examples/sites/demos/pc/app/milestone/flag-before.spec.ts b/examples/sites/demos/pc/app/milestone/flag-before.spec.ts
index 3b4820c48..7f70cba38 100644
--- a/examples/sites/demos/pc/app/milestone/flag-before.spec.ts
+++ b/examples/sites/demos/pc/app/milestone/flag-before.spec.ts
@@ -12,8 +12,8 @@ test('旗子数据来源', async ({ page }) => {
const flagAfterContents = [/引导用户按照流程完成任务/, /test7欢迎使用vui/, /test8/, /test6/]
const flagBeforeContents = [/test1已完成/, /引导用户按照流程完成任务/, /test7欢迎使用vui/, /test8/]
const button = page.getByRole('button').filter({ hasText: '设置flag-before值为true' })
- const flagAfterLineColors = ['rgb(245, 34, 45)', 'rgb(245, 34, 45)', 'rgb(126, 211, 33)', 'rgba(0, 0, 0, 0)']
- const flagBeforeLineColors = ['rgba(0, 0, 0, 0)', 'rgb(245, 34, 45)', 'rgb(245, 34, 45)', 'rgb(126, 211, 33)']
+ const flagAfterLineColors = ['rgb(194, 194, 194)', 'rgb(194, 194, 194)', 'rgb(158, 219, 88)', 'rgb(179, 214, 255)']
+ const flagBeforeLineColors = ['rgb(179, 214, 255)', 'rgb(194, 194, 194)', 'rgb(194, 194, 194)', 'rgb(158, 219, 88)']
for (let i = 0; i < flagCount; i++) {
const { x, y, width, height } = await flags.nth(i).boundingBox()
diff --git a/examples/sites/demos/pc/app/milestone/flag-before.vue b/examples/sites/demos/pc/app/milestone/flag-before.vue
index 8e4196f39..0daf910f0 100644
--- a/examples/sites/demos/pc/app/milestone/flag-before.vue
+++ b/examples/sites/demos/pc/app/milestone/flag-before.vue
@@ -19,11 +19,11 @@ export default {
return {
isBefore: false,
statusMap: {
- completed: 'var(--ti-common-color-line-active)',
- doing: '#7ED321',
- back: '#f5222d',
- end: '#faad14',
- cancel: '#d9d9d9'
+ completed: 'var(--tv-color-bg-disabled-control-active)', // 组件库基础变量
+ doing: '#9edb58',
+ back: '#c2c2c2',
+ end: '#edf7df',
+ cancel: '#f23030'
},
milestoneData: [
{
diff --git a/examples/sites/demos/pc/app/milestone/milestone-events-composition-api.vue b/examples/sites/demos/pc/app/milestone/milestone-events-composition-api.vue
index 27190dbad..3dcbe10ee 100644
--- a/examples/sites/demos/pc/app/milestone/milestone-events-composition-api.vue
+++ b/examples/sites/demos/pc/app/milestone/milestone-events-composition-api.vue
@@ -17,7 +17,7 @@ const timeActive1 = ref(1)
const normalActive = ref(2)
const advancedActive = ref(2)
const statusMap = ref({
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
diff --git a/examples/sites/demos/pc/app/milestone/milestone-events.vue b/examples/sites/demos/pc/app/milestone/milestone-events.vue
index 1f78f7be5..3f85b389c 100644
--- a/examples/sites/demos/pc/app/milestone/milestone-events.vue
+++ b/examples/sites/demos/pc/app/milestone/milestone-events.vue
@@ -22,7 +22,7 @@ export default {
normalActive: 2,
advancedActive: 2,
statusMap: {
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
diff --git a/examples/sites/demos/pc/app/milestone/show-number-composition-api.vue b/examples/sites/demos/pc/app/milestone/show-number-composition-api.vue
index d10b0ee95..cfe14a3e0 100644
--- a/examples/sites/demos/pc/app/milestone/show-number-composition-api.vue
+++ b/examples/sites/demos/pc/app/milestone/show-number-composition-api.vue
@@ -18,7 +18,7 @@ import { TinyMilestone, TinyButton } from '@opentiny/vue'
const showNum = ref(true)
const statusMap = ref({
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
diff --git a/examples/sites/demos/pc/app/milestone/show-number.spec.ts b/examples/sites/demos/pc/app/milestone/show-number.spec.ts
index dbde80d03..8bbc23efa 100644
--- a/examples/sites/demos/pc/app/milestone/show-number.spec.ts
+++ b/examples/sites/demos/pc/app/milestone/show-number.spec.ts
@@ -23,12 +23,12 @@ test('序号显示', async ({ page }) => {
const iconStyles = [
{
'background-color': 'rgb(255, 255, 255)',
- 'color': 'rgb(0, 0, 0)',
+ 'color': 'rgb(179, 214, 255)',
'box-shadow': 'none'
},
{
'background-color': 'rgb(255, 255, 255)',
- 'color': 'rgb(0, 0, 0)',
+ 'color': 'rgb(179, 214, 255)',
'box-shadow': 'none'
},
{
diff --git a/examples/sites/demos/pc/app/milestone/show-number.vue b/examples/sites/demos/pc/app/milestone/show-number.vue
index 913a06bac..9655c319b 100644
--- a/examples/sites/demos/pc/app/milestone/show-number.vue
+++ b/examples/sites/demos/pc/app/milestone/show-number.vue
@@ -24,7 +24,7 @@ export default {
return {
showNum: true,
statusMap: {
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
diff --git a/examples/sites/demos/pc/app/milestone/solid-style-composition-api.vue b/examples/sites/demos/pc/app/milestone/solid-style-composition-api.vue
index 0a7033ff1..858373659 100644
--- a/examples/sites/demos/pc/app/milestone/solid-style-composition-api.vue
+++ b/examples/sites/demos/pc/app/milestone/solid-style-composition-api.vue
@@ -11,7 +11,7 @@ import { TinyMilestone, TinyButton } from '@opentiny/vue'
const isSolid = ref(false)
const statusMap = ref({
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
diff --git a/examples/sites/demos/pc/app/milestone/solid-style.spec.ts b/examples/sites/demos/pc/app/milestone/solid-style.spec.ts
index 251f26664..1e90ed6de 100644
--- a/examples/sites/demos/pc/app/milestone/solid-style.spec.ts
+++ b/examples/sites/demos/pc/app/milestone/solid-style.spec.ts
@@ -23,12 +23,12 @@ test('实心显示', async ({ page }) => {
const iconStyles = [
{
'background-color': 'rgb(255, 255, 255)',
- 'color': 'rgb(0, 0, 0)',
+ 'color': 'rgb(179, 214, 255)',
'box-shadow': 'none'
},
{
'background-color': 'rgb(255, 255, 255)',
- 'color': 'rgb(0, 0, 0)',
+ 'color': 'rgb(179, 214, 255)',
'box-shadow': 'none'
},
{
@@ -98,6 +98,6 @@ test('实心显示', async ({ page }) => {
await button.click()
for (let i = 0; i < 2; i++) {
- await expect(nodeIcons.nth(i)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
+ await expect(nodeIcons.nth(i)).toHaveCSS('background-color', 'rgb(179, 214, 255)')
}
})
diff --git a/examples/sites/demos/pc/app/milestone/solid-style.vue b/examples/sites/demos/pc/app/milestone/solid-style.vue
index 670442cd1..ce8649f9e 100644
--- a/examples/sites/demos/pc/app/milestone/solid-style.vue
+++ b/examples/sites/demos/pc/app/milestone/solid-style.vue
@@ -17,7 +17,7 @@ export default {
return {
isSolid: false,
statusMap: {
- completed: 'var(--ti-common-color-line-active)',
+ completed: 'var(--tv-color-bg-disabled-control-active)',
doing: '#7ED321',
back: '#f5222d',
end: '#faad14',
From d66c17ab936eca9188da610d4d17f95a716b2611 Mon Sep 17 00:00:00 2001
From: James <72028410+James-9696@users.noreply.github.com>
Date: Mon, 28 Oct 2024 20:48:34 -0700
Subject: [PATCH 22/65] fix(drawer): [drawer] modify demo and icon (#2465)
---
.../use-through-method-composition-api.vue | 19 +++++++++---
.../pc/app/drawer/use-through-method.vue | 29 +++++++++++++------
2 files changed, 35 insertions(+), 13 deletions(-)
diff --git a/examples/sites/demos/pc/app/drawer/use-through-method-composition-api.vue b/examples/sites/demos/pc/app/drawer/use-through-method-composition-api.vue
index 06c33ac98..27419d1b1 100644
--- a/examples/sites/demos/pc/app/drawer/use-through-method-composition-api.vue
+++ b/examples/sites/demos/pc/app/drawer/use-through-method-composition-api.vue
@@ -6,7 +6,7 @@
diff --git a/examples/sites/demos/pc/app/input/native.vue b/examples/sites/demos/pc/app/input/native.vue
index dd172e4da..60074c6a8 100644
--- a/examples/sites/demos/pc/app/input/native.vue
+++ b/examples/sites/demos/pc/app/input/native.vue
@@ -21,7 +21,6 @@
autocomplete="on"
-
@@ -48,11 +47,16 @@ export default {
diff --git a/examples/sites/demos/pc/app/input/type-composition-api.vue b/examples/sites/demos/pc/app/input/type-composition-api.vue
index 6cc0d1421..fd0d4641a 100644
--- a/examples/sites/demos/pc/app/input/type-composition-api.vue
+++ b/examples/sites/demos/pc/app/input/type-composition-api.vue
@@ -2,20 +2,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -25,19 +12,7 @@ import { TinyInput } from '@opentiny/vue'
const text = ref('')
const password = ref('')
-const textarea = ref('')
-const email = ref('')
const number = ref('')
-const tel = ref('')
-const url = ref('')
-const color = ref('#000000')
-const date = ref('')
-const month = ref('')
-const week = ref('')
-const datetime = ref('')
-const time = ref('')
-const file = ref('')
-const range = ref('')
diff --git a/examples/sites/demos/pc/app/input/type.spec.ts b/examples/sites/demos/pc/app/input/type.spec.ts
index b6bf8d89f..7de0f9232 100644
--- a/examples/sites/demos/pc/app/input/type.spec.ts
+++ b/examples/sites/demos/pc/app/input/type.spec.ts
@@ -4,21 +4,7 @@ test('[Input]type', async ({ page }) => {
page.on('pageerror', (exception) => expect(exception).toBeNull())
await page.goto('input#type')
const input = page.locator('.demo-input > .tiny-input > .tiny-input-display-only > input')
- const textArea = page.locator('.demo-input > .tiny-textarea > .tiny-textarea-display-only > textarea')
await expect(input.nth(0)).toHaveAttribute('type', 'text')
await expect(input.nth(1)).toHaveAttribute('type', 'password')
- await expect(input.nth(2)).toHaveAttribute('type', 'email')
- await expect(input.nth(3)).toHaveAttribute('type', 'number')
- await expect(input.nth(4)).toHaveAttribute('type', 'tel')
- await expect(input.nth(5)).toHaveAttribute('type', 'url')
- await expect(input.nth(6)).toHaveAttribute('type', 'hidden')
- await expect(input.nth(7)).toHaveAttribute('type', 'color')
- await expect(input.nth(8)).toHaveAttribute('type', 'date')
- await expect(input.nth(9)).toHaveAttribute('type', 'month')
- await expect(input.nth(10)).toHaveAttribute('type', 'week')
- await expect(input.nth(11)).toHaveAttribute('type', 'datetime-local')
- await expect(input.nth(12)).toHaveAttribute('type', 'time')
- await expect(input.nth(13)).toHaveAttribute('type', 'file')
- await expect(input.nth(14)).toHaveAttribute('type', 'range')
- await expect(textArea).toBeVisible()
+ await expect(input.nth(2)).toHaveAttribute('type', 'number')
})
diff --git a/examples/sites/demos/pc/app/input/type.vue b/examples/sites/demos/pc/app/input/type.vue
index 9d98d198d..637f2ab28 100644
--- a/examples/sites/demos/pc/app/input/type.vue
+++ b/examples/sites/demos/pc/app/input/type.vue
@@ -2,20 +2,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -30,19 +17,7 @@ export default {
return {
text: '',
password: '',
- textarea: '',
- email: '',
- number: '',
- tel: '',
- url: '',
- color: '#000000',
- date: '',
- month: '',
- week: '',
- datetime: '',
- time: '',
- file: '',
- range: ''
+ number: ''
}
}
}
@@ -53,9 +28,4 @@ export default {
width: 250px;
margin: 5px;
}
-
-.demo-input .tiny-textarea {
- width: 250px;
- margin: 5px;
-}
diff --git a/examples/sites/demos/pc/app/input/webdoc/input.js b/examples/sites/demos/pc/app/input/webdoc/input.js
index f8151868a..42efcaf3f 100644
--- a/examples/sites/demos/pc/app/input/webdoc/input.js
+++ b/examples/sites/demos/pc/app/input/webdoc/input.js
@@ -227,7 +227,8 @@ export default {
'en-US': 'Memory History Input'
},
desc: {
- 'zh-CN': '
参考以下例子,输入完成后,输入会被记住。
',
+ 'zh-CN':
+ '
通过组件实例方法 addMemory
添加历史输入数据,输入完成后,输入会被记住。通过 memory-space
属性配置最多可以被记录的条数。
',
'en-US': '
Refer to the following example. After the input is complete, the input will be remembered
'
},
codeFiles: ['method-addMemory.vue']
@@ -253,9 +254,15 @@ export default {
'en-US': 'Native Attribute'
},
desc: {
- 'zh-CN': '
可设置 name
disabled
readonly
等原生属性。
\n',
+ 'zh-CN': `
+
可设置 name
disabled
readonly
等原生属性。
+
+
温馨提示:
+
原生属性是透传给 input
原生标签的,功能和使用原生标签等同。
+
+ `,
'en-US':
- '
You can set native attributes such as name
disabled
readonly
.
\n'
+ '
You can set native attributes such as name
disabled
readonly
.
'
},
codeFiles: ['native.vue']
},
From 7f93ca9a635f714723a8e130304ac1721ab359d5 Mon Sep 17 00:00:00 2001
From: You-Hw-Y <1664677472@qq.com>
Date: Sun, 3 Nov 2024 23:01:15 -0800
Subject: [PATCH 38/65] feat(locales): [locales] Optimize the style and demo
---
.../pc/app/amount/size-composition-api.vue | 6 +++
examples/sites/demos/pc/app/amount/size.vue | 6 +++
.../area/custom-service-composition-api.vue | 4 +-
.../demos/pc/app/area/custom-service.spec.ts | 2 +-
.../demos/pc/app/area/custom-service.vue | 4 +-
.../company/basic-usage-composition-api.vue | 5 ++-
.../demos/pc/app/company/basic-usage.vue | 5 ++-
.../custom-service-composition-api.vue | 30 ++++++++-----
.../demos/pc/app/company/custom-service.vue | 30 ++++++++-----
.../custom-show-num-composition-api.vue | 10 ++++-
.../demos/pc/app/company/custom-show-num.vue | 10 ++++-
.../country/basic-usage-composition-api.vue | 5 ++-
.../demos/pc/app/country/basic-usage.vue | 5 ++-
.../custom-service-composition-api.vue | 10 ++++-
.../demos/pc/app/country/custom-service.vue | 10 ++++-
.../pc/app/country/fields-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/country/fields.vue | 10 ++++-
.../currency/basic-usage-composition-api.vue | 5 ++-
.../demos/pc/app/currency/basic-usage.vue | 5 ++-
.../custom-service-composition-api.vue | 10 ++++-
.../demos/pc/app/currency/custom-service.vue | 10 ++++-
.../disable-currency-composition-api.vue | 8 +++-
.../pc/app/currency/disable-currency.vue | 8 +++-
.../app/currency/fields-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/currency/fields.vue | 10 ++++-
.../app/currency/filter-composition-api.vue | 13 +++++-
.../sites/demos/pc/app/currency/filter.vue | 13 +++++-
.../currency/set-default-composition-api.vue | 10 ++++-
...default-custom-service-composition-api.vue | 24 ++++++----
.../currency/set-default-custom-service.vue | 24 ++++++----
.../demos/pc/app/currency/set-default.vue | 10 ++++-
.../pc/app/currency/size-composition-api.vue | 11 ++++-
examples/sites/demos/pc/app/currency/size.vue | 11 ++++-
.../app/dept/auto-select-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/dept/auto-select.vue | 10 ++++-
.../app/dept/basic-usage-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/dept/basic-usage.vue | 10 ++++-
.../dept/before-confirm-composition-api.vue | 10 ++---
.../demos/pc/app/dept/before-confirm.vue | 10 ++---
.../dept/custom-service-composition-api.vue | 20 ++++++---
.../demos/pc/app/dept/custom-service.vue | 20 ++++++---
.../app/dept/dept-cancel-composition-api.vue | 10 ++---
.../sites/demos/pc/app/dept/dept-cancel.vue | 10 ++---
.../app/dept/dept-close-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/dept/dept-close.vue | 10 ++++-
.../app/dept/dept-confirm-composition-api.vue | 10 ++---
.../sites/demos/pc/app/dept/dept-confirm.vue | 10 ++---
.../app/dept/dept-events-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/dept/dept-events.vue | 10 ++++-
.../dept/dept-selected-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/dept/dept-selected.vue | 10 ++++-
.../dept/dynamic-disable-composition-api.vue | 10 ++++-
.../demos/pc/app/dept/dynamic-disable.vue | 10 ++++-
.../pc/app/dept/size-composition-api.vue | 16 ++++++-
examples/sites/demos/pc/app/dept/size.vue | 16 ++++++-
.../dept/slot-hrapprover-composition-api.vue | 18 +++++---
.../demos/pc/app/dept/slot-hrapprover.vue | 18 +++++---
.../pc/app/dept/title-composition-api.vue | 10 ++++-
examples/sites/demos/pc/app/dept/title.vue | 10 ++++-
.../basic-usage-composition-api.vue | 5 ++-
.../demos/pc/app/drop-roles/basic-usage.vue | 5 ++-
.../change-role-event-composition-api.vue | 10 ++++-
.../pc/app/drop-roles/change-role-event.vue | 10 ++++-
.../custom-service-composition-api.vue | 24 ++++++----
.../pc/app/drop-roles/custom-service.vue | 24 ++++++----
.../app/drop-roles/size-composition-api.vue | 15 ++++---
.../sites/demos/pc/app/drop-roles/size.vue | 15 ++++---
.../basic-usage-composition-api.vue | 14 +++++-
.../demos/pc/app/hrapprover/basic-usage.vue | 14 +++++-
.../category-type-composition-api.vue | 20 ++++++---
.../demos/pc/app/hrapprover/category-type.vue | 20 ++++++---
.../custom-service-composition-api.vue | 22 +++++++---
.../pc/app/hrapprover/custom-service.vue | 22 +++++++---
.../hrapprover/disabled-composition-api.vue | 8 +++-
.../demos/pc/app/hrapprover/disabled.vue | 8 +++-
.../custom-service-composition-api.vue | 6 +--
.../pc/app/locales/custom-service.spec.ts | 2 +-
.../demos/pc/app/locales/custom-service.vue | 6 +--
.../app/user/allow-copy-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/user/allow-copy.vue | 10 ++++-
.../app/user/basic-usage-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/user/basic-usage.vue | 10 ++++-
.../pc/app/user/batch-composition-api.vue | 44 +++++++++++--------
examples/sites/demos/pc/app/user/batch.vue | 8 +++-
.../app/user/cache-users-composition-api.vue | 5 ++-
.../sites/demos/pc/app/user/cache-users.vue | 5 ++-
...-show-overflow-tooltip-composition-api.vue | 24 ++++++----
.../user/collapse-show-overflow-tooltip.vue | 24 ++++++----
.../user/collapse-tags -composition-api.vue | 26 +++++++----
.../demos/pc/app/user/collapse-tags .vue | 26 +++++++----
.../custom-placeholder-composition-api.vue | 10 ++++-
.../demos/pc/app/user/custom-placeholder.vue | 10 ++++-
.../user/custom-service-composition-api.vue | 5 ++-
.../demos/pc/app/user/custom-service.vue | 5 ++-
.../app/user/custom-sort-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/user/custom-sort.vue | 5 ++-
.../app/user/delay-load-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/user/delay-load.vue | 10 ++++-
.../app/user/display-only-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/user/display-only.vue | 10 ++++-
.../user/dynamic-disable-composition-api.vue | 10 ++++-
.../demos/pc/app/user/dynamic-disable.vue | 10 ++++-
.../app/user/event-change-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/user/event-change.vue | 10 ++++-
.../app/user/event-error-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/user/event-error.vue | 10 ++++-
.../hidden-tips-disable-composition-api.vue | 8 +++-
.../demos/pc/app/user/hidden-tips-disable.vue | 8 +++-
.../user/hide-selected-composition-spi.vue | 10 ++++-
.../sites/demos/pc/app/user/hide-selected.vue | 10 ++++-
...after-input-the-length-composition-api.vue | 10 ++++-
.../app/user/load-after-input-the-length.vue | 10 ++++-
.../user/multiple-users-composition-api.vue | 10 ++++-
...ple-users-hover-expand-composition-api.vue | 10 ++++-
.../app/user/multiple-users-hover-expand.vue | 10 ++++-
.../multiple-users-tag-composition-api.vue | 10 ++++-
.../demos/pc/app/user/multiple-users-tag.vue | 10 ++++-
.../demos/pc/app/user/multiple-users.vue | 10 ++++-
.../app/user/nodata-text-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/user/nodata-text.vue | 10 ++++-
.../app/user/tag-copy-all-composition-api.vue | 8 +++-
.../sites/demos/pc/app/user/tag-copy-all.vue | 8 +++-
.../pc/app/user/tag-copy-composition-api.vue | 8 +++-
examples/sites/demos/pc/app/user/tag-copy.vue | 8 +++-
.../app/user/text-field-composition-api.vue | 10 ++++-
.../sites/demos/pc/app/user/text-field.vue | 10 ++++-
.../app/user/user-options-composition-api.vue | 24 ++++++----
.../sites/demos/pc/app/user/user-options.vue | 24 ++++++----
.../user/user-select-size-composition-api.vue | 5 ++-
.../demos/pc/app/user/user-select-size.vue | 5 ++-
.../app/user/value-field-composition-api.vue | 5 ++-
.../sites/demos/pc/app/user/value-field.vue | 5 ++-
.../app/user/value-split-composition-api.vue | 5 ++-
.../sites/demos/pc/app/user/value-split.vue | 5 ++-
packages/theme/src/area/index.less | 9 ++--
packages/theme/src/area/vars.less | 17 +++++++
packages/theme/src/locales/index.less | 36 ++++++++++++---
packages/theme/src/locales/vars.less | 33 ++++++++++++++
packages/vue/src/locales/package.json | 2 +-
packages/vue/src/locales/src/pc.vue | 11 ++---
140 files changed, 1283 insertions(+), 340 deletions(-)
create mode 100644 packages/theme/src/area/vars.less
create mode 100644 packages/theme/src/locales/vars.less
diff --git a/examples/sites/demos/pc/app/amount/size-composition-api.vue b/examples/sites/demos/pc/app/amount/size-composition-api.vue
index c14d9538c..7341e553d 100644
--- a/examples/sites/demos/pc/app/amount/size-composition-api.vue
+++ b/examples/sites/demos/pc/app/amount/size-composition-api.vue
@@ -1,5 +1,11 @@
+
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/company/custom-service.vue b/examples/sites/demos/pc/app/company/custom-service.vue
index d8fff6e21..f1ba8eafb 100644
--- a/examples/sites/demos/pc/app/company/custom-service.vue
+++ b/examples/sites/demos/pc/app/company/custom-service.vue
@@ -1,15 +1,17 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/company/custom-show-num-composition-api.vue b/examples/sites/demos/pc/app/company/custom-show-num-composition-api.vue
index 80beadaf8..4040ab7f6 100644
--- a/examples/sites/demos/pc/app/company/custom-show-num-composition-api.vue
+++ b/examples/sites/demos/pc/app/company/custom-show-num-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/company/custom-show-num.vue b/examples/sites/demos/pc/app/company/custom-show-num.vue
index d52056a7f..6c7d991fc 100644
--- a/examples/sites/demos/pc/app/company/custom-show-num.vue
+++ b/examples/sites/demos/pc/app/company/custom-show-num.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/country/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/country/basic-usage-composition-api.vue
index 12723c81f..1dbcf389c 100644
--- a/examples/sites/demos/pc/app/country/basic-usage-composition-api.vue
+++ b/examples/sites/demos/pc/app/country/basic-usage-composition-api.vue
@@ -1,5 +1,5 @@
-
+
@@ -17,6 +17,9 @@ function change(value) {
diff --git a/examples/sites/demos/pc/app/country/custom-service.vue b/examples/sites/demos/pc/app/country/custom-service.vue
index df26f051a..cd95f9604 100644
--- a/examples/sites/demos/pc/app/country/custom-service.vue
+++ b/examples/sites/demos/pc/app/country/custom-service.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/country/fields-composition-api.vue b/examples/sites/demos/pc/app/country/fields-composition-api.vue
index 5c375816d..0e44950bf 100644
--- a/examples/sites/demos/pc/app/country/fields-composition-api.vue
+++ b/examples/sites/demos/pc/app/country/fields-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/country/fields.vue b/examples/sites/demos/pc/app/country/fields.vue
index 1ba408c9b..1014ab58a 100644
--- a/examples/sites/demos/pc/app/country/fields.vue
+++ b/examples/sites/demos/pc/app/country/fields.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/currency/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/currency/basic-usage-composition-api.vue
index 6dda7eac2..3ef96825e 100644
--- a/examples/sites/demos/pc/app/currency/basic-usage-composition-api.vue
+++ b/examples/sites/demos/pc/app/currency/basic-usage-composition-api.vue
@@ -1,5 +1,5 @@
-
+
@@ -17,6 +17,9 @@ function change(value) {
diff --git a/examples/sites/demos/pc/app/currency/custom-service.vue b/examples/sites/demos/pc/app/currency/custom-service.vue
index 69728f519..fc57ed465 100644
--- a/examples/sites/demos/pc/app/currency/custom-service.vue
+++ b/examples/sites/demos/pc/app/currency/custom-service.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/currency/disable-currency-composition-api.vue b/examples/sites/demos/pc/app/currency/disable-currency-composition-api.vue
index 9a3627723..93367fad1 100644
--- a/examples/sites/demos/pc/app/currency/disable-currency-composition-api.vue
+++ b/examples/sites/demos/pc/app/currency/disable-currency-composition-api.vue
@@ -1,5 +1,5 @@
-
+
启用/禁用
@@ -21,3 +21,9 @@ function Switchover() {
disabled.value = !disabled.value
}
+
+
diff --git a/examples/sites/demos/pc/app/currency/disable-currency.vue b/examples/sites/demos/pc/app/currency/disable-currency.vue
index 16ed0c54a..aefa0d5b2 100644
--- a/examples/sites/demos/pc/app/currency/disable-currency.vue
+++ b/examples/sites/demos/pc/app/currency/disable-currency.vue
@@ -1,5 +1,5 @@
-
+
启用/禁用
@@ -30,3 +30,9 @@ export default {
}
}
+
+
diff --git a/examples/sites/demos/pc/app/currency/fields-composition-api.vue b/examples/sites/demos/pc/app/currency/fields-composition-api.vue
index 5aa622e78..72d3e13b7 100644
--- a/examples/sites/demos/pc/app/currency/fields-composition-api.vue
+++ b/examples/sites/demos/pc/app/currency/fields-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/currency/fields.vue b/examples/sites/demos/pc/app/currency/fields.vue
index e3cfd6013..7c73a9f28 100644
--- a/examples/sites/demos/pc/app/currency/fields.vue
+++ b/examples/sites/demos/pc/app/currency/fields.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/currency/filter-composition-api.vue b/examples/sites/demos/pc/app/currency/filter-composition-api.vue
index 46b9e1c31..e827de75f 100644
--- a/examples/sites/demos/pc/app/currency/filter-composition-api.vue
+++ b/examples/sites/demos/pc/app/currency/filter-composition-api.vue
@@ -1,5 +1,5 @@
-
+
{
TinyModal.message({ message: `当前值为 ${value}`, status: 'info' })
}
+
+
diff --git a/examples/sites/demos/pc/app/currency/filter.vue b/examples/sites/demos/pc/app/currency/filter.vue
index b999aefe6..1e0863e33 100644
--- a/examples/sites/demos/pc/app/currency/filter.vue
+++ b/examples/sites/demos/pc/app/currency/filter.vue
@@ -1,5 +1,5 @@
-
+
+
+
diff --git a/examples/sites/demos/pc/app/currency/set-default-composition-api.vue b/examples/sites/demos/pc/app/currency/set-default-composition-api.vue
index 2b59e4f01..b5f4b7d66 100644
--- a/examples/sites/demos/pc/app/currency/set-default-composition-api.vue
+++ b/examples/sites/demos/pc/app/currency/set-default-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/currency/set-default-custom-service-composition-api.vue b/examples/sites/demos/pc/app/currency/set-default-custom-service-composition-api.vue
index 9669cbfeb..97f5382ec 100644
--- a/examples/sites/demos/pc/app/currency/set-default-custom-service-composition-api.vue
+++ b/examples/sites/demos/pc/app/currency/set-default-custom-service-composition-api.vue
@@ -1,12 +1,14 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/currency/set-default-custom-service.vue b/examples/sites/demos/pc/app/currency/set-default-custom-service.vue
index d32b65a93..28974cae4 100644
--- a/examples/sites/demos/pc/app/currency/set-default-custom-service.vue
+++ b/examples/sites/demos/pc/app/currency/set-default-custom-service.vue
@@ -1,12 +1,14 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/currency/set-default.vue b/examples/sites/demos/pc/app/currency/set-default.vue
index 12acde8c2..e7d1ed351 100644
--- a/examples/sites/demos/pc/app/currency/set-default.vue
+++ b/examples/sites/demos/pc/app/currency/set-default.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/currency/size-composition-api.vue b/examples/sites/demos/pc/app/currency/size-composition-api.vue
index 92b18ed02..1784fd4f7 100644
--- a/examples/sites/demos/pc/app/currency/size-composition-api.vue
+++ b/examples/sites/demos/pc/app/currency/size-composition-api.vue
@@ -1,6 +1,12 @@
-
+
+
+
+
+
+
+
当前选中值:{{ value }}
@@ -17,6 +23,9 @@ function change(value) {
diff --git a/examples/sites/demos/pc/app/dept/auto-select.vue b/examples/sites/demos/pc/app/dept/auto-select.vue
index 820323b1a..4f5d921d4 100644
--- a/examples/sites/demos/pc/app/dept/auto-select.vue
+++ b/examples/sites/demos/pc/app/dept/auto-select.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/dept/basic-usage-composition-api.vue
index d5817da78..cf1f85b9a 100644
--- a/examples/sites/demos/pc/app/dept/basic-usage-composition-api.vue
+++ b/examples/sites/demos/pc/app/dept/basic-usage-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/basic-usage.vue b/examples/sites/demos/pc/app/dept/basic-usage.vue
index c335056b6..ff898e59f 100644
--- a/examples/sites/demos/pc/app/dept/basic-usage.vue
+++ b/examples/sites/demos/pc/app/dept/basic-usage.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/before-confirm-composition-api.vue b/examples/sites/demos/pc/app/dept/before-confirm-composition-api.vue
index 57d549619..03aafa542 100644
--- a/examples/sites/demos/pc/app/dept/before-confirm-composition-api.vue
+++ b/examples/sites/demos/pc/app/dept/before-confirm-composition-api.vue
@@ -1,9 +1,7 @@
-
+
@@ -23,8 +21,8 @@ function beforeConfirm() {
diff --git a/examples/sites/demos/pc/app/dept/custom-service.vue b/examples/sites/demos/pc/app/dept/custom-service.vue
index a5a349e1f..b83076c76 100644
--- a/examples/sites/demos/pc/app/dept/custom-service.vue
+++ b/examples/sites/demos/pc/app/dept/custom-service.vue
@@ -1,10 +1,12 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/dept-cancel-composition-api.vue b/examples/sites/demos/pc/app/dept/dept-cancel-composition-api.vue
index 6bcfd8341..5489c5d20 100644
--- a/examples/sites/demos/pc/app/dept/dept-cancel-composition-api.vue
+++ b/examples/sites/demos/pc/app/dept/dept-cancel-composition-api.vue
@@ -1,9 +1,7 @@
-
+
@@ -19,8 +17,8 @@ function cancel() {
diff --git a/examples/sites/demos/pc/app/dept/dept-close.vue b/examples/sites/demos/pc/app/dept/dept-close.vue
index 64d37754c..9a4e66940 100644
--- a/examples/sites/demos/pc/app/dept/dept-close.vue
+++ b/examples/sites/demos/pc/app/dept/dept-close.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/dept-confirm-composition-api.vue b/examples/sites/demos/pc/app/dept/dept-confirm-composition-api.vue
index b5bbaa9f9..5d942c00a 100644
--- a/examples/sites/demos/pc/app/dept/dept-confirm-composition-api.vue
+++ b/examples/sites/demos/pc/app/dept/dept-confirm-composition-api.vue
@@ -1,9 +1,7 @@
-
+
@@ -19,8 +17,8 @@ function confirm() {
diff --git a/examples/sites/demos/pc/app/dept/dept-events.vue b/examples/sites/demos/pc/app/dept/dept-events.vue
index 46ef04512..798659587 100644
--- a/examples/sites/demos/pc/app/dept/dept-events.vue
+++ b/examples/sites/demos/pc/app/dept/dept-events.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/dept-selected-composition-api.vue b/examples/sites/demos/pc/app/dept/dept-selected-composition-api.vue
index 656bbf7fb..e5d5916ff 100644
--- a/examples/sites/demos/pc/app/dept/dept-selected-composition-api.vue
+++ b/examples/sites/demos/pc/app/dept/dept-selected-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/dept-selected.vue b/examples/sites/demos/pc/app/dept/dept-selected.vue
index 824465fa0..164aa3552 100644
--- a/examples/sites/demos/pc/app/dept/dept-selected.vue
+++ b/examples/sites/demos/pc/app/dept/dept-selected.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/dynamic-disable-composition-api.vue b/examples/sites/demos/pc/app/dept/dynamic-disable-composition-api.vue
index f7902dd25..1349d0fdd 100644
--- a/examples/sites/demos/pc/app/dept/dynamic-disable-composition-api.vue
+++ b/examples/sites/demos/pc/app/dept/dynamic-disable-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/dynamic-disable.vue b/examples/sites/demos/pc/app/dept/dynamic-disable.vue
index 906037a8b..2174e2412 100644
--- a/examples/sites/demos/pc/app/dept/dynamic-disable.vue
+++ b/examples/sites/demos/pc/app/dept/dynamic-disable.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/size-composition-api.vue b/examples/sites/demos/pc/app/dept/size-composition-api.vue
index 1b10012fe..0aa18e125 100644
--- a/examples/sites/demos/pc/app/dept/size-composition-api.vue
+++ b/examples/sites/demos/pc/app/dept/size-composition-api.vue
@@ -1,5 +1,13 @@
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/size.vue b/examples/sites/demos/pc/app/dept/size.vue
index a5657fdaa..d35d20670 100644
--- a/examples/sites/demos/pc/app/dept/size.vue
+++ b/examples/sites/demos/pc/app/dept/size.vue
@@ -1,5 +1,13 @@
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/slot-hrapprover-composition-api.vue b/examples/sites/demos/pc/app/dept/slot-hrapprover-composition-api.vue
index 166b3195a..26785bbb6 100644
--- a/examples/sites/demos/pc/app/dept/slot-hrapprover-composition-api.vue
+++ b/examples/sites/demos/pc/app/dept/slot-hrapprover-composition-api.vue
@@ -1,9 +1,11 @@
-
-
- {{ data.slotScope.hrapprover }}
-
-
+
+
+
+ {{ data.slotScope.hrapprover }}
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/slot-hrapprover.vue b/examples/sites/demos/pc/app/dept/slot-hrapprover.vue
index ee6a8eb64..d5619933f 100644
--- a/examples/sites/demos/pc/app/dept/slot-hrapprover.vue
+++ b/examples/sites/demos/pc/app/dept/slot-hrapprover.vue
@@ -1,9 +1,11 @@
-
-
- {{ data.slotScope.hrapprover }}
-
-
+
+
+
+ {{ data.slotScope.hrapprover }}
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/title-composition-api.vue b/examples/sites/demos/pc/app/dept/title-composition-api.vue
index a7be07a6b..ba18252ec 100644
--- a/examples/sites/demos/pc/app/dept/title-composition-api.vue
+++ b/examples/sites/demos/pc/app/dept/title-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/dept/title.vue b/examples/sites/demos/pc/app/dept/title.vue
index a226e91d2..cb5c43002 100644
--- a/examples/sites/demos/pc/app/dept/title.vue
+++ b/examples/sites/demos/pc/app/dept/title.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/drop-roles/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/drop-roles/basic-usage-composition-api.vue
index a2549db25..ff86ad3b4 100644
--- a/examples/sites/demos/pc/app/drop-roles/basic-usage-composition-api.vue
+++ b/examples/sites/demos/pc/app/drop-roles/basic-usage-composition-api.vue
@@ -1,5 +1,5 @@
-
+
@@ -26,6 +26,9 @@ function change(role) {
diff --git a/examples/sites/demos/pc/app/drop-roles/change-role-event.vue b/examples/sites/demos/pc/app/drop-roles/change-role-event.vue
index 444df1a4f..864ee69ac 100644
--- a/examples/sites/demos/pc/app/drop-roles/change-role-event.vue
+++ b/examples/sites/demos/pc/app/drop-roles/change-role-event.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/drop-roles/custom-service-composition-api.vue b/examples/sites/demos/pc/app/drop-roles/custom-service-composition-api.vue
index d75ef4750..752755697 100644
--- a/examples/sites/demos/pc/app/drop-roles/custom-service-composition-api.vue
+++ b/examples/sites/demos/pc/app/drop-roles/custom-service-composition-api.vue
@@ -1,12 +1,14 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/drop-roles/custom-service.vue b/examples/sites/demos/pc/app/drop-roles/custom-service.vue
index 659a7401d..f99405dfb 100644
--- a/examples/sites/demos/pc/app/drop-roles/custom-service.vue
+++ b/examples/sites/demos/pc/app/drop-roles/custom-service.vue
@@ -1,12 +1,14 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/drop-roles/size-composition-api.vue b/examples/sites/demos/pc/app/drop-roles/size-composition-api.vue
index da3366d2a..4d2de13d4 100644
--- a/examples/sites/demos/pc/app/drop-roles/size-composition-api.vue
+++ b/examples/sites/demos/pc/app/drop-roles/size-composition-api.vue
@@ -1,6 +1,13 @@
-
+
+
+
+
+
+
+
+
当前选中值:{{ value }}
@@ -26,9 +33,7 @@ function change(role) {
diff --git a/examples/sites/demos/pc/app/drop-roles/size.vue b/examples/sites/demos/pc/app/drop-roles/size.vue
index e508fcc74..2cf758fa5 100644
--- a/examples/sites/demos/pc/app/drop-roles/size.vue
+++ b/examples/sites/demos/pc/app/drop-roles/size.vue
@@ -1,6 +1,13 @@
-
+
+
+
+
+
+
+
+
当前选中值:{{ value }}
@@ -34,9 +41,7 @@ export default {
diff --git a/examples/sites/demos/pc/app/hrapprover/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/hrapprover/basic-usage-composition-api.vue
index 1ddf9ae38..58532d8fd 100644
--- a/examples/sites/demos/pc/app/hrapprover/basic-usage-composition-api.vue
+++ b/examples/sites/demos/pc/app/hrapprover/basic-usage-composition-api.vue
@@ -1,5 +1,11 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/hrapprover/basic-usage.vue b/examples/sites/demos/pc/app/hrapprover/basic-usage.vue
index b2f175ba2..742f7b29d 100644
--- a/examples/sites/demos/pc/app/hrapprover/basic-usage.vue
+++ b/examples/sites/demos/pc/app/hrapprover/basic-usage.vue
@@ -1,5 +1,11 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/hrapprover/category-type-composition-api.vue b/examples/sites/demos/pc/app/hrapprover/category-type-composition-api.vue
index eee307097..a5b8f8dc4 100644
--- a/examples/sites/demos/pc/app/hrapprover/category-type-composition-api.vue
+++ b/examples/sites/demos/pc/app/hrapprover/category-type-composition-api.vue
@@ -1,10 +1,12 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/hrapprover/category-type.vue b/examples/sites/demos/pc/app/hrapprover/category-type.vue
index 519d8f551..cb77bc73a 100644
--- a/examples/sites/demos/pc/app/hrapprover/category-type.vue
+++ b/examples/sites/demos/pc/app/hrapprover/category-type.vue
@@ -1,10 +1,12 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/hrapprover/custom-service-composition-api.vue b/examples/sites/demos/pc/app/hrapprover/custom-service-composition-api.vue
index 95b1038b6..c02960bcb 100644
--- a/examples/sites/demos/pc/app/hrapprover/custom-service-composition-api.vue
+++ b/examples/sites/demos/pc/app/hrapprover/custom-service-composition-api.vue
@@ -1,11 +1,13 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/hrapprover/custom-service.vue b/examples/sites/demos/pc/app/hrapprover/custom-service.vue
index 7fee9fc01..00ff863e7 100644
--- a/examples/sites/demos/pc/app/hrapprover/custom-service.vue
+++ b/examples/sites/demos/pc/app/hrapprover/custom-service.vue
@@ -1,11 +1,13 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/hrapprover/disabled-composition-api.vue b/examples/sites/demos/pc/app/hrapprover/disabled-composition-api.vue
index c8d417a78..5af30bd1f 100644
--- a/examples/sites/demos/pc/app/hrapprover/disabled-composition-api.vue
+++ b/examples/sites/demos/pc/app/hrapprover/disabled-composition-api.vue
@@ -1,5 +1,5 @@
-
+
启用/禁用
+
+
diff --git a/examples/sites/demos/pc/app/hrapprover/disabled.vue b/examples/sites/demos/pc/app/hrapprover/disabled.vue
index 571ab7b71..eb716e0ec 100644
--- a/examples/sites/demos/pc/app/hrapprover/disabled.vue
+++ b/examples/sites/demos/pc/app/hrapprover/disabled.vue
@@ -1,5 +1,5 @@
-
+
启用/禁用
+
+
diff --git a/examples/sites/demos/pc/app/locales/custom-service-composition-api.vue b/examples/sites/demos/pc/app/locales/custom-service-composition-api.vue
index 63aadc125..ac58c4c83 100644
--- a/examples/sites/demos/pc/app/locales/custom-service-composition-api.vue
+++ b/examples/sites/demos/pc/app/locales/custom-service-composition-api.vue
@@ -11,15 +11,15 @@ import { TinyLocales } from '@opentiny/vue'
function getLocale() {
// resolve 出来的必须是国际化的 key
- return Promise.resolve(['zhCN', 'enUS', 'zhTW'])
+ return Promise.resolve(['zh_CN', 'en_US', 'zh_TW'])
}
function getCurrentLocale() {
- return Promise.resolve(['zhCN'])
+ return Promise.resolve(['zh_CN'])
}
function getChangeLocaleUrl(targetLocale) {
- if (targetLocale === 'enUS') {
+ if (targetLocale === 'en_US') {
return Promise.resolve(`${window.location.origin}/#/webenglish/en-US/component/locales/custom-service`)
} else {
return Promise.resolve(`${window.location.origin}/#/zh-CN/component/custom-service`)
diff --git a/examples/sites/demos/pc/app/locales/custom-service.spec.ts b/examples/sites/demos/pc/app/locales/custom-service.spec.ts
index 538540681..15c760d3d 100644
--- a/examples/sites/demos/pc/app/locales/custom-service.spec.ts
+++ b/examples/sites/demos/pc/app/locales/custom-service.spec.ts
@@ -8,7 +8,7 @@ test('locales-custom-service', async ({ page }) => {
const reference = demo.locator('.reference-wrapper')
const popper = page.locator('.tiny-locales__popper')
- await expect(reference).toHaveText('zhCN')
+ await expect(reference).toHaveText('zh_CN')
await expect(popper).toBeHidden()
await reference.hover()
await page.waitForTimeout(200)
diff --git a/examples/sites/demos/pc/app/locales/custom-service.vue b/examples/sites/demos/pc/app/locales/custom-service.vue
index 7a90b309a..7e0853d3b 100644
--- a/examples/sites/demos/pc/app/locales/custom-service.vue
+++ b/examples/sites/demos/pc/app/locales/custom-service.vue
@@ -16,13 +16,13 @@ export default {
methods: {
getLocale() {
// resolve 出来的必须是国际化的 key
- return Promise.resolve(['zhCN', 'enUS', 'zhTW'])
+ return Promise.resolve(['zh_CN', 'en_US', 'zh_TW'])
},
getCurrentLocale() {
- return Promise.resolve(['zhCN'])
+ return Promise.resolve(['zh_CN'])
},
getChangeLocaleUrl(targetLocale) {
- if (targetLocale === 'enUS') {
+ if (targetLocale === 'en_US') {
return Promise.resolve(`${window.location.origin}/#/webenglish/en-US/component/locales/custom-service`)
} else {
return Promise.resolve(`${window.location.origin}/#/zh-CN/component/custom-service`)
diff --git a/examples/sites/demos/pc/app/user/allow-copy-composition-api.vue b/examples/sites/demos/pc/app/user/allow-copy-composition-api.vue
index 0fb43a9ad..fd2e75c41 100644
--- a/examples/sites/demos/pc/app/user/allow-copy-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/allow-copy-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/allow-copy.vue b/examples/sites/demos/pc/app/user/allow-copy.vue
index d98e6fdb6..48c13925d 100644
--- a/examples/sites/demos/pc/app/user/allow-copy.vue
+++ b/examples/sites/demos/pc/app/user/allow-copy.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/user/basic-usage-composition-api.vue
index 5f0daa308..b28d5d540 100644
--- a/examples/sites/demos/pc/app/user/basic-usage-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/basic-usage-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/basic-usage.vue b/examples/sites/demos/pc/app/user/basic-usage.vue
index 336a058a5..a1889135d 100644
--- a/examples/sites/demos/pc/app/user/basic-usage.vue
+++ b/examples/sites/demos/pc/app/user/basic-usage.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/batch-composition-api.vue b/examples/sites/demos/pc/app/user/batch-composition-api.vue
index d5bf50ef2..e0f49b7a8 100644
--- a/examples/sites/demos/pc/app/user/batch-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/batch-composition-api.vue
@@ -1,22 +1,24 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/batch.vue b/examples/sites/demos/pc/app/user/batch.vue
index fb5571c07..76ee2d437 100644
--- a/examples/sites/demos/pc/app/user/batch.vue
+++ b/examples/sites/demos/pc/app/user/batch.vue
@@ -1,5 +1,5 @@
-
+
@@ -42,3 +42,9 @@ export default {
}
}
+
+
diff --git a/examples/sites/demos/pc/app/user/cache-users-composition-api.vue b/examples/sites/demos/pc/app/user/cache-users-composition-api.vue
index 58914a6bf..068924272 100644
--- a/examples/sites/demos/pc/app/user/cache-users-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/cache-users-composition-api.vue
@@ -1,5 +1,5 @@
-
+
无缓存
有缓存
@@ -22,6 +22,9 @@ const user2 = ref('test1,test10')
diff --git a/examples/sites/demos/pc/app/user/collapse-show-overflow-tooltip.vue b/examples/sites/demos/pc/app/user/collapse-show-overflow-tooltip.vue
index b26189c8d..71f3f617d 100644
--- a/examples/sites/demos/pc/app/user/collapse-show-overflow-tooltip.vue
+++ b/examples/sites/demos/pc/app/user/collapse-show-overflow-tooltip.vue
@@ -1,12 +1,14 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/collapse-tags -composition-api.vue b/examples/sites/demos/pc/app/user/collapse-tags -composition-api.vue
index 2e4e7b99d..6698085f2 100644
--- a/examples/sites/demos/pc/app/user/collapse-tags -composition-api.vue
+++ b/examples/sites/demos/pc/app/user/collapse-tags -composition-api.vue
@@ -1,13 +1,15 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/collapse-tags .vue b/examples/sites/demos/pc/app/user/collapse-tags .vue
index cc0229adb..429656f02 100644
--- a/examples/sites/demos/pc/app/user/collapse-tags .vue
+++ b/examples/sites/demos/pc/app/user/collapse-tags .vue
@@ -1,13 +1,15 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/custom-placeholder-composition-api.vue b/examples/sites/demos/pc/app/user/custom-placeholder-composition-api.vue
index 15d265f6f..9a986cc57 100644
--- a/examples/sites/demos/pc/app/user/custom-placeholder-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/custom-placeholder-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/custom-placeholder.vue b/examples/sites/demos/pc/app/user/custom-placeholder.vue
index f4d486816..353da0fd5 100644
--- a/examples/sites/demos/pc/app/user/custom-placeholder.vue
+++ b/examples/sites/demos/pc/app/user/custom-placeholder.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/custom-service-composition-api.vue b/examples/sites/demos/pc/app/user/custom-service-composition-api.vue
index e9ace8d12..2f3b2974f 100644
--- a/examples/sites/demos/pc/app/user/custom-service-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/custom-service-composition-api.vue
@@ -1,5 +1,5 @@
-
+
{{ user }}
@@ -152,6 +152,9 @@ function fetchW3Accounts(userId) {
diff --git a/examples/sites/demos/pc/app/user/custom-sort.vue b/examples/sites/demos/pc/app/user/custom-sort.vue
index 4d04bc136..ddcf638d6 100644
--- a/examples/sites/demos/pc/app/user/custom-sort.vue
+++ b/examples/sites/demos/pc/app/user/custom-sort.vue
@@ -1,5 +1,5 @@
-
+
{{ user }}
@@ -183,6 +183,9 @@ export default {
diff --git a/examples/sites/demos/pc/app/user/delay-load.vue b/examples/sites/demos/pc/app/user/delay-load.vue
index 1d5ea345a..3a02d236f 100644
--- a/examples/sites/demos/pc/app/user/delay-load.vue
+++ b/examples/sites/demos/pc/app/user/delay-load.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/display-only-composition-api.vue b/examples/sites/demos/pc/app/user/display-only-composition-api.vue
index 8883e3312..b01afcb05 100644
--- a/examples/sites/demos/pc/app/user/display-only-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/display-only-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/display-only.vue b/examples/sites/demos/pc/app/user/display-only.vue
index d9e98d403..5d2ed3d24 100644
--- a/examples/sites/demos/pc/app/user/display-only.vue
+++ b/examples/sites/demos/pc/app/user/display-only.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/dynamic-disable-composition-api.vue b/examples/sites/demos/pc/app/user/dynamic-disable-composition-api.vue
index 5b3082ad7..9c980fffb 100644
--- a/examples/sites/demos/pc/app/user/dynamic-disable-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/dynamic-disable-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/dynamic-disable.vue b/examples/sites/demos/pc/app/user/dynamic-disable.vue
index 79f8a8962..b536c60f2 100644
--- a/examples/sites/demos/pc/app/user/dynamic-disable.vue
+++ b/examples/sites/demos/pc/app/user/dynamic-disable.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/event-change-composition-api.vue b/examples/sites/demos/pc/app/user/event-change-composition-api.vue
index 89f817cfb..32ce256cd 100644
--- a/examples/sites/demos/pc/app/user/event-change-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/event-change-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/event-change.vue b/examples/sites/demos/pc/app/user/event-change.vue
index 7bd601cc8..a2eccdadc 100644
--- a/examples/sites/demos/pc/app/user/event-change.vue
+++ b/examples/sites/demos/pc/app/user/event-change.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/event-error-composition-api.vue b/examples/sites/demos/pc/app/user/event-error-composition-api.vue
index b18e0666a..c6587a99a 100644
--- a/examples/sites/demos/pc/app/user/event-error-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/event-error-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/event-error.vue b/examples/sites/demos/pc/app/user/event-error.vue
index 1fd9fb9db..2e9a5c68a 100644
--- a/examples/sites/demos/pc/app/user/event-error.vue
+++ b/examples/sites/demos/pc/app/user/event-error.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/hidden-tips-disable-composition-api.vue b/examples/sites/demos/pc/app/user/hidden-tips-disable-composition-api.vue
index 7db1f0165..853ef79b3 100644
--- a/examples/sites/demos/pc/app/user/hidden-tips-disable-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/hidden-tips-disable-composition-api.vue
@@ -1,5 +1,5 @@
-
+
{{ user }}
@@ -12,3 +12,9 @@ import { TinyUser } from '@opentiny/vue'
const user = ref('702973890055088,421000103624002,421000103624003')
+
+
diff --git a/examples/sites/demos/pc/app/user/hidden-tips-disable.vue b/examples/sites/demos/pc/app/user/hidden-tips-disable.vue
index 30ea8612f..1aa8d9b5d 100644
--- a/examples/sites/demos/pc/app/user/hidden-tips-disable.vue
+++ b/examples/sites/demos/pc/app/user/hidden-tips-disable.vue
@@ -1,5 +1,5 @@
-
+
{{ user }}
@@ -20,3 +20,9 @@ export default {
}
}
+
+
diff --git a/examples/sites/demos/pc/app/user/hide-selected-composition-spi.vue b/examples/sites/demos/pc/app/user/hide-selected-composition-spi.vue
index 22234993d..7276a91e2 100644
--- a/examples/sites/demos/pc/app/user/hide-selected-composition-spi.vue
+++ b/examples/sites/demos/pc/app/user/hide-selected-composition-spi.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/hide-selected.vue b/examples/sites/demos/pc/app/user/hide-selected.vue
index 1c2316ef0..1ae5e23a8 100644
--- a/examples/sites/demos/pc/app/user/hide-selected.vue
+++ b/examples/sites/demos/pc/app/user/hide-selected.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/load-after-input-the-length-composition-api.vue b/examples/sites/demos/pc/app/user/load-after-input-the-length-composition-api.vue
index 048eb5b22..d943e6ecb 100644
--- a/examples/sites/demos/pc/app/user/load-after-input-the-length-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/load-after-input-the-length-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/load-after-input-the-length.vue b/examples/sites/demos/pc/app/user/load-after-input-the-length.vue
index e1082fa25..a90ee31a9 100644
--- a/examples/sites/demos/pc/app/user/load-after-input-the-length.vue
+++ b/examples/sites/demos/pc/app/user/load-after-input-the-length.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/multiple-users-composition-api.vue b/examples/sites/demos/pc/app/user/multiple-users-composition-api.vue
index 23cf50e59..4feb0bf69 100644
--- a/examples/sites/demos/pc/app/user/multiple-users-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/multiple-users-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/multiple-users-hover-expand-composition-api.vue b/examples/sites/demos/pc/app/user/multiple-users-hover-expand-composition-api.vue
index 4bd20d0f7..d3a2ce6e5 100644
--- a/examples/sites/demos/pc/app/user/multiple-users-hover-expand-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/multiple-users-hover-expand-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/multiple-users-hover-expand.vue b/examples/sites/demos/pc/app/user/multiple-users-hover-expand.vue
index 4bd20d0f7..d3a2ce6e5 100644
--- a/examples/sites/demos/pc/app/user/multiple-users-hover-expand.vue
+++ b/examples/sites/demos/pc/app/user/multiple-users-hover-expand.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/multiple-users-tag-composition-api.vue b/examples/sites/demos/pc/app/user/multiple-users-tag-composition-api.vue
index 6afe3e1b6..330d2364f 100644
--- a/examples/sites/demos/pc/app/user/multiple-users-tag-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/multiple-users-tag-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/multiple-users-tag.vue b/examples/sites/demos/pc/app/user/multiple-users-tag.vue
index 5ee19ebdd..f82194807 100644
--- a/examples/sites/demos/pc/app/user/multiple-users-tag.vue
+++ b/examples/sites/demos/pc/app/user/multiple-users-tag.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/multiple-users.vue b/examples/sites/demos/pc/app/user/multiple-users.vue
index f09ebde07..1b7b8ac5e 100644
--- a/examples/sites/demos/pc/app/user/multiple-users.vue
+++ b/examples/sites/demos/pc/app/user/multiple-users.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/nodata-text-composition-api.vue b/examples/sites/demos/pc/app/user/nodata-text-composition-api.vue
index d5e307c34..7774df4d8 100644
--- a/examples/sites/demos/pc/app/user/nodata-text-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/nodata-text-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/nodata-text.vue b/examples/sites/demos/pc/app/user/nodata-text.vue
index 19c901b40..03bf8d920 100644
--- a/examples/sites/demos/pc/app/user/nodata-text.vue
+++ b/examples/sites/demos/pc/app/user/nodata-text.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/tag-copy-all-composition-api.vue b/examples/sites/demos/pc/app/user/tag-copy-all-composition-api.vue
index a40302d00..efeca56df 100644
--- a/examples/sites/demos/pc/app/user/tag-copy-all-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/tag-copy-all-composition-api.vue
@@ -1,5 +1,5 @@
-
+
@@ -10,3 +10,9 @@ import { TinyUser } from '@opentiny/vue'
const user = ref('test1,test2,test3')
+
+
diff --git a/examples/sites/demos/pc/app/user/tag-copy-all.vue b/examples/sites/demos/pc/app/user/tag-copy-all.vue
index 0c7b4fde6..43389b36a 100644
--- a/examples/sites/demos/pc/app/user/tag-copy-all.vue
+++ b/examples/sites/demos/pc/app/user/tag-copy-all.vue
@@ -1,5 +1,5 @@
-
+
@@ -18,3 +18,9 @@ export default {
}
}
+
+
diff --git a/examples/sites/demos/pc/app/user/tag-copy-composition-api.vue b/examples/sites/demos/pc/app/user/tag-copy-composition-api.vue
index e2ffb500c..f63f28a91 100644
--- a/examples/sites/demos/pc/app/user/tag-copy-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/tag-copy-composition-api.vue
@@ -1,5 +1,5 @@
-
+
@@ -10,3 +10,9 @@ import { TinyUser } from '@opentiny/vue'
const user = ref('test1,test2,test3')
+
+
diff --git a/examples/sites/demos/pc/app/user/tag-copy.vue b/examples/sites/demos/pc/app/user/tag-copy.vue
index 2f20fc8b8..316229f9e 100644
--- a/examples/sites/demos/pc/app/user/tag-copy.vue
+++ b/examples/sites/demos/pc/app/user/tag-copy.vue
@@ -1,5 +1,5 @@
-
+
@@ -18,3 +18,9 @@ export default {
}
}
+
+
diff --git a/examples/sites/demos/pc/app/user/text-field-composition-api.vue b/examples/sites/demos/pc/app/user/text-field-composition-api.vue
index 4b553e6b5..fa87f2b99 100644
--- a/examples/sites/demos/pc/app/user/text-field-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/text-field-composition-api.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/text-field.vue b/examples/sites/demos/pc/app/user/text-field.vue
index 49484ca30..9d316a2ba 100644
--- a/examples/sites/demos/pc/app/user/text-field.vue
+++ b/examples/sites/demos/pc/app/user/text-field.vue
@@ -1,5 +1,7 @@
-
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/user-options-composition-api.vue b/examples/sites/demos/pc/app/user/user-options-composition-api.vue
index ae136a08d..9dda9819c 100644
--- a/examples/sites/demos/pc/app/user/user-options-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/user-options-composition-api.vue
@@ -1,12 +1,14 @@
-
-
-
- {{ slotScope.slotScope.employeeNumber }}-{{ slotScope.slotScope.email }}
-
-
-
+
+
+
+
+ {{ slotScope.slotScope.employeeNumber }}-{{ slotScope.slotScope.email }}
+
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/user-options.vue b/examples/sites/demos/pc/app/user/user-options.vue
index b41a91226..ffdefa116 100644
--- a/examples/sites/demos/pc/app/user/user-options.vue
+++ b/examples/sites/demos/pc/app/user/user-options.vue
@@ -1,12 +1,14 @@
-
-
-
- {{ slotScope.slotScope.employeeNumber }}-{{ slotScope.slotScope.email }}
-
-
-
+
+
+
+
+ {{ slotScope.slotScope.employeeNumber }}-{{ slotScope.slotScope.email }}
+
+
+
+
+
+
diff --git a/examples/sites/demos/pc/app/user/user-select-size-composition-api.vue b/examples/sites/demos/pc/app/user/user-select-size-composition-api.vue
index f1e456112..6f21ad44a 100644
--- a/examples/sites/demos/pc/app/user/user-select-size-composition-api.vue
+++ b/examples/sites/demos/pc/app/user/user-select-size-composition-api.vue
@@ -1,5 +1,5 @@
-
+
尺寸:medium
尺寸:small
@@ -17,6 +17,9 @@ const user = ref('421000103624183')
diff --git a/examples/sites/demos/pc/app/drawer/dragable.vue b/examples/sites/demos/pc/app/drawer/dragable.vue
index 76b5c4807..5b1a3a55d 100644
--- a/examples/sites/demos/pc/app/drawer/dragable.vue
+++ b/examples/sites/demos/pc/app/drawer/dragable.vue
@@ -10,8 +10,9 @@
:visible="visible"
@update:visible="visible = $event"
@drag="drag"
+ height="600px"
>
-
+
横向拖拽左边框可改变抽屉主体宽度。
竖向拖拽上边框可改变抽屉主体高度。
@@ -44,9 +45,3 @@ export default {
}
}
-
-
diff --git a/examples/sites/demos/pc/app/drawer/placement-composition-api.vue b/examples/sites/demos/pc/app/drawer/placement-composition-api.vue
index a3bed2d36..17b9b5fc1 100644
--- a/examples/sites/demos/pc/app/drawer/placement-composition-api.vue
+++ b/examples/sites/demos/pc/app/drawer/placement-composition-api.vue
@@ -10,6 +10,7 @@
title="标题"
:placement="placement"
v-model:visible="visible"
+ height="600px"
>
left或者right内容区域
diff --git a/examples/sites/demos/pc/app/drawer/placement.vue b/examples/sites/demos/pc/app/drawer/placement.vue
index 8792828a2..fc472ab62 100644
--- a/examples/sites/demos/pc/app/drawer/placement.vue
+++ b/examples/sites/demos/pc/app/drawer/placement.vue
@@ -9,6 +9,7 @@
title="标题"
:placement="placement"
v-model:visible="visible"
+ height="600px"
>
left或者right内容区域
diff --git a/packages/vue/src/drawer/src/index.ts b/packages/vue/src/drawer/src/index.ts
index 7f675438f..f1c5843cf 100644
--- a/packages/vue/src/drawer/src/index.ts
+++ b/packages/vue/src/drawer/src/index.ts
@@ -10,7 +10,7 @@ export const $constants = {
return (scrollLockClasses[mode] || '') as string
},
DEFAULT_WIDTH: '500px',
- DEFAULT_HEIGHT: '500px'
+ DEFAULT_HEIGHT: '100vh'
}
export const drawerProps = {
diff --git a/packages/vue/src/drawer/src/pc.vue b/packages/vue/src/drawer/src/pc.vue
index f930d2b8a..7b29a5f53 100644
--- a/packages/vue/src/drawer/src/pc.vue
+++ b/packages/vue/src/drawer/src/pc.vue
@@ -31,7 +31,7 @@
]"
:style="{
width: ['left', 'right'].includes(placement) ? state.computedWidth : null,
- height: ['top', 'bottom'].includes(placement) || dragable ? state.computedHeight : null,
+ height: ['top', 'bottom', 'left', 'right'].includes(placement) || dragable ? state.computedHeight : null,
zIndex
}"
v-show="state.visible"
From f1cae9f0247331453ad8e1bea77691fce70a1dcd Mon Sep 17 00:00:00 2001
From: ajaxzheng <894103554@qq.com>
Date: Mon, 4 Nov 2024 15:36:17 +0800
Subject: [PATCH 46/65] fix: [virtual-scroll-box] fixed the wrong class and
horizontal scroll bar always showing
---
.../app/virtual-tree/basic-usage-composition-api.vue | 2 +-
.../sites/demos/pc/app/virtual-tree/basic-usage.vue | 2 +-
packages/vue/src/virtual-scroll-box/src/pc.vue | 8 ++++----
packages/vue/src/virtual-tree/src/pc.vue | 12 ++++++------
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/examples/sites/demos/pc/app/virtual-tree/basic-usage-composition-api.vue b/examples/sites/demos/pc/app/virtual-tree/basic-usage-composition-api.vue
index 02104dd80..7d6acc7f2 100644
--- a/examples/sites/demos/pc/app/virtual-tree/basic-usage-composition-api.vue
+++ b/examples/sites/demos/pc/app/virtual-tree/basic-usage-composition-api.vue
@@ -6,7 +6,7 @@
width="600"
height="400"
row-height="36"
- scrollbar-size="6"
+ scrollbar-size="8"
:tree-op="treeOp"
>
diff --git a/examples/sites/demos/pc/app/virtual-tree/basic-usage.vue b/examples/sites/demos/pc/app/virtual-tree/basic-usage.vue
index 26906e6d8..2ee77e935 100644
--- a/examples/sites/demos/pc/app/virtual-tree/basic-usage.vue
+++ b/examples/sites/demos/pc/app/virtual-tree/basic-usage.vue
@@ -6,7 +6,7 @@
width="600"
height="400"
row-height="36"
- scrollbar-size="6"
+ scrollbar-size="8"
:tree-op="treeOp"
>
diff --git a/packages/vue/src/virtual-scroll-box/src/pc.vue b/packages/vue/src/virtual-scroll-box/src/pc.vue
index 03cf293fb..a51818bd1 100644
--- a/packages/vue/src/virtual-scroll-box/src/pc.vue
+++ b/packages/vue/src/virtual-scroll-box/src/pc.vue
@@ -1,8 +1,8 @@
-