vxe-pc-ui 3.15.13 → 3.15.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/button/style.css +42 -72
- package/es/button/style.min.css +1 -1
- package/es/calendar/style.css +2 -2
- package/es/calendar/style.min.css +1 -1
- package/es/cascader/style.css +38 -40
- package/es/cascader/style.min.css +1 -1
- package/es/checkbox/src/button.js +3 -1
- package/es/checkbox/src/group.js +6 -1
- package/es/checkbox/style.css +22 -28
- package/es/checkbox/style.min.css +1 -1
- package/es/checkbox-button/style.css +155 -9
- package/es/checkbox-button/style.min.css +1 -1
- package/es/context-menu/style.css +14 -13
- package/es/context-menu/style.min.css +1 -1
- package/es/date-picker/src/date-picker.js +1 -1
- package/es/form/style.css +49 -95
- package/es/form/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +165 -47
- package/es/icon-picker/style.css +49 -23
- package/es/icon-picker/style.min.css +1 -1
- package/es/language/ar-EG.js +3 -0
- package/es/language/de-DE.js +3 -0
- package/es/language/en-US.js +3 -0
- package/es/language/es-ES.js +3 -0
- package/es/language/fr-FR.js +3 -0
- package/es/language/hu-HU.js +3 -0
- package/es/language/hy-AM.js +3 -0
- package/es/language/id-ID.js +3 -0
- package/es/language/it-IT.js +3 -0
- package/es/language/ja-JP.js +3 -0
- package/es/language/ko-KR.js +3 -0
- package/es/language/ms-MY.js +3 -0
- package/es/language/nb-NO.js +3 -0
- package/es/language/pt-BR.js +3 -0
- package/es/language/ru-RU.js +3 -0
- package/es/language/th-TH.js +3 -0
- package/es/language/ug-CN.js +3 -0
- package/es/language/uk-UA.js +3 -0
- package/es/language/uz-UZ.js +3 -0
- package/es/language/vi-VN.js +3 -0
- package/es/language/zh-CHT.js +3 -0
- package/es/language/zh-CN.js +3 -0
- package/es/list/src/list.js +15 -1
- package/es/list/style.css +26 -28
- package/es/list/style.min.css +1 -1
- package/es/menu/style.css +22 -30
- package/es/menu/style.min.css +1 -1
- package/es/radio/src/button.js +3 -1
- package/es/radio/src/group.js +6 -1
- package/es/radio/style.css +22 -30
- package/es/radio/style.min.css +1 -1
- package/es/radio-button/style.css +155 -9
- package/es/radio-button/style.min.css +1 -1
- package/es/select/style.css +42 -59
- package/es/select/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tree/src/tree.js +246 -4
- package/es/tree/src/util.js +15 -0
- package/es/tree/style.css +26 -25
- package/es/tree/style.min.css +1 -1
- package/es/tree-select/style.css +27 -31
- package/es/tree-select/style.min.css +1 -1
- package/es/ui/index.js +5 -2
- package/es/ui/src/log.js +1 -1
- package/es/upload/style.css +30 -41
- package/es/upload/style.min.css +1 -1
- package/es/vxe-button/style.css +42 -72
- package/es/vxe-button/style.min.css +1 -1
- package/es/vxe-calendar/style.css +2 -2
- package/es/vxe-calendar/style.min.css +1 -1
- package/es/vxe-cascader/style.css +38 -40
- package/es/vxe-cascader/style.min.css +1 -1
- package/es/vxe-checkbox/style.css +22 -28
- package/es/vxe-checkbox/style.min.css +1 -1
- package/es/vxe-checkbox-button/style.css +155 -9
- package/es/vxe-checkbox-button/style.min.css +1 -1
- package/es/vxe-context-menu/style.css +14 -13
- package/es/vxe-context-menu/style.min.css +1 -1
- package/es/vxe-form/style.css +49 -95
- package/es/vxe-form/style.min.css +1 -1
- package/es/vxe-icon-picker/style.css +49 -23
- package/es/vxe-icon-picker/style.min.css +1 -1
- package/es/vxe-list/style.css +26 -28
- package/es/vxe-list/style.min.css +1 -1
- package/es/vxe-menu/style.css +22 -30
- package/es/vxe-menu/style.min.css +1 -1
- package/es/vxe-radio/style.css +22 -30
- package/es/vxe-radio/style.min.css +1 -1
- package/es/vxe-radio-button/style.css +155 -9
- package/es/vxe-radio-button/style.min.css +1 -1
- package/es/vxe-select/style.css +42 -59
- package/es/vxe-select/style.min.css +1 -1
- package/es/vxe-tree/style.css +26 -25
- package/es/vxe-tree/style.min.css +1 -1
- package/es/vxe-tree-select/style.css +27 -31
- package/es/vxe-tree-select/style.min.css +1 -1
- package/es/vxe-upload/style.css +30 -41
- package/es/vxe-upload/style.min.css +1 -1
- package/lib/button/style/style.css +42 -72
- package/lib/button/style/style.min.css +1 -1
- package/lib/calendar/style/style.css +2 -2
- package/lib/calendar/style/style.min.css +1 -1
- package/lib/cascader/style/style.css +38 -40
- package/lib/cascader/style/style.min.css +1 -1
- package/lib/checkbox/src/button.js +3 -1
- package/lib/checkbox/src/button.min.js +1 -1
- package/lib/checkbox/src/group.js +13 -5
- package/lib/checkbox/src/group.min.js +1 -1
- package/lib/checkbox/style/style.css +22 -28
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/checkbox-button/style/style.css +155 -9
- package/lib/checkbox-button/style/style.min.css +1 -1
- package/lib/context-menu/style/style.css +14 -13
- package/lib/context-menu/style/style.min.css +1 -1
- package/lib/date-picker/src/date-picker.js +1 -1
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/form/style/style.css +49 -95
- package/lib/form/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/icon-picker/src/icon-picker.js +154 -28
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/icon-picker/style/style.css +49 -23
- package/lib/icon-picker/style/style.min.css +1 -1
- package/lib/index.umd.js +507 -44
- package/lib/index.umd.min.js +1 -1
- package/lib/language/ar-EG.js +3 -0
- package/lib/language/ar-EG.min.js +1 -1
- package/lib/language/ar-EG.umd.js +3 -0
- package/lib/language/de-DE.js +3 -0
- package/lib/language/de-DE.min.js +1 -1
- package/lib/language/de-DE.umd.js +3 -0
- package/lib/language/en-US.js +3 -0
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +3 -0
- package/lib/language/es-ES.js +3 -0
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/es-ES.umd.js +3 -0
- package/lib/language/fr-FR.js +3 -0
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/fr-FR.umd.js +3 -0
- package/lib/language/hu-HU.js +3 -0
- package/lib/language/hu-HU.min.js +1 -1
- package/lib/language/hu-HU.umd.js +3 -0
- package/lib/language/hy-AM.js +3 -0
- package/lib/language/hy-AM.min.js +1 -1
- package/lib/language/hy-AM.umd.js +3 -0
- package/lib/language/id-ID.js +3 -0
- package/lib/language/id-ID.min.js +1 -1
- package/lib/language/id-ID.umd.js +3 -0
- package/lib/language/it-IT.js +3 -0
- package/lib/language/it-IT.min.js +1 -1
- package/lib/language/it-IT.umd.js +3 -0
- package/lib/language/ja-JP.js +3 -0
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ja-JP.umd.js +3 -0
- package/lib/language/ko-KR.js +3 -0
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ko-KR.umd.js +3 -0
- package/lib/language/ms-MY.js +3 -0
- package/lib/language/ms-MY.min.js +1 -1
- package/lib/language/ms-MY.umd.js +3 -0
- package/lib/language/nb-NO.js +3 -0
- package/lib/language/nb-NO.min.js +1 -1
- package/lib/language/nb-NO.umd.js +3 -0
- package/lib/language/pt-BR.js +3 -0
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/pt-BR.umd.js +3 -0
- package/lib/language/ru-RU.js +3 -0
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/ru-RU.umd.js +3 -0
- package/lib/language/th-TH.js +3 -0
- package/lib/language/th-TH.min.js +1 -1
- package/lib/language/th-TH.umd.js +3 -0
- package/lib/language/ug-CN.js +3 -0
- package/lib/language/ug-CN.min.js +1 -1
- package/lib/language/ug-CN.umd.js +3 -0
- package/lib/language/uk-UA.js +3 -0
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uk-UA.umd.js +3 -0
- package/lib/language/uz-UZ.js +3 -0
- package/lib/language/uz-UZ.min.js +1 -1
- package/lib/language/uz-UZ.umd.js +3 -0
- package/lib/language/vi-VN.js +3 -0
- package/lib/language/vi-VN.min.js +1 -1
- package/lib/language/vi-VN.umd.js +3 -0
- package/lib/language/zh-CHT.js +3 -0
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CHT.umd.js +3 -0
- package/lib/language/zh-CN.js +3 -0
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +3 -0
- package/lib/list/src/list.js +18 -1
- package/lib/list/src/list.min.js +1 -1
- package/lib/list/style/style.css +26 -28
- package/lib/list/style/style.min.css +1 -1
- package/lib/menu/style/style.css +22 -30
- package/lib/menu/style/style.min.css +1 -1
- package/lib/radio/src/button.js +3 -1
- package/lib/radio/src/button.min.js +1 -1
- package/lib/radio/src/group.js +9 -2
- package/lib/radio/src/group.min.js +1 -1
- package/lib/radio/style/style.css +22 -30
- package/lib/radio/style/style.min.css +1 -1
- package/lib/radio-button/style/style.css +155 -9
- package/lib/radio-button/style/style.min.css +1 -1
- package/lib/select/style/style.css +42 -59
- package/lib/select/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tree/src/tree.js +287 -6
- package/lib/tree/src/tree.min.js +1 -1
- package/lib/tree/src/util.js +16 -0
- package/lib/tree/src/util.min.js +1 -1
- package/lib/tree/style/style.css +26 -25
- package/lib/tree/style/style.min.css +1 -1
- package/lib/tree-select/style/style.css +27 -31
- package/lib/tree-select/style/style.min.css +1 -1
- package/lib/ui/index.js +5 -2
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/upload/style/style.css +30 -41
- package/lib/upload/style/style.min.css +1 -1
- package/lib/vxe-button/style/style.css +42 -72
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-calendar/style/style.css +2 -2
- package/lib/vxe-calendar/style/style.min.css +1 -1
- package/lib/vxe-cascader/style/style.css +38 -40
- package/lib/vxe-cascader/style/style.min.css +1 -1
- package/lib/vxe-checkbox/style/style.css +22 -28
- package/lib/vxe-checkbox/style/style.min.css +1 -1
- package/lib/vxe-checkbox-button/style/style.css +155 -9
- package/lib/vxe-checkbox-button/style/style.min.css +1 -1
- package/lib/vxe-context-menu/style/style.css +14 -13
- package/lib/vxe-context-menu/style/style.min.css +1 -1
- package/lib/vxe-form/style/style.css +49 -95
- package/lib/vxe-form/style/style.min.css +1 -1
- package/lib/vxe-icon-picker/style/style.css +49 -23
- package/lib/vxe-icon-picker/style/style.min.css +1 -1
- package/lib/vxe-list/style/style.css +26 -28
- package/lib/vxe-list/style/style.min.css +1 -1
- package/lib/vxe-menu/style/style.css +22 -30
- package/lib/vxe-menu/style/style.min.css +1 -1
- package/lib/vxe-radio/style/style.css +22 -30
- package/lib/vxe-radio/style/style.min.css +1 -1
- package/lib/vxe-radio-button/style/style.css +155 -9
- package/lib/vxe-radio-button/style/style.min.css +1 -1
- package/lib/vxe-select/style/style.css +42 -59
- package/lib/vxe-select/style/style.min.css +1 -1
- package/lib/vxe-tree/style/style.css +26 -25
- package/lib/vxe-tree/style/style.min.css +1 -1
- package/lib/vxe-tree-select/style/style.css +27 -31
- package/lib/vxe-tree-select/style/style.min.css +1 -1
- package/lib/vxe-upload/style/style.css +30 -41
- package/lib/vxe-upload/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/checkbox/src/button.ts +3 -1
- package/packages/checkbox/src/group.ts +6 -1
- package/packages/date-picker/src/date-picker.ts +1 -1
- package/packages/icon-picker/src/icon-picker.ts +180 -45
- package/packages/language/ar-EG.ts +3 -0
- package/packages/language/de-DE.ts +3 -0
- package/packages/language/en-US.ts +3 -0
- package/packages/language/es-ES.ts +3 -0
- package/packages/language/fr-FR.ts +3 -0
- package/packages/language/hu-HU.ts +3 -0
- package/packages/language/hy-AM.ts +3 -0
- package/packages/language/id-ID.ts +3 -0
- package/packages/language/it-IT.ts +3 -0
- package/packages/language/ja-JP.ts +3 -0
- package/packages/language/ko-KR.ts +3 -0
- package/packages/language/ms-MY.ts +3 -0
- package/packages/language/nb-NO.ts +3 -0
- package/packages/language/pt-BR.ts +3 -0
- package/packages/language/ru-RU.ts +3 -0
- package/packages/language/th-TH.ts +3 -0
- package/packages/language/ug-CN.ts +3 -0
- package/packages/language/uk-UA.ts +3 -0
- package/packages/language/uz-UZ.ts +3 -0
- package/packages/language/vi-VN.ts +3 -0
- package/packages/language/zh-CHT.ts +3 -0
- package/packages/language/zh-CN.ts +3 -0
- package/packages/list/src/list.ts +15 -1
- package/packages/radio/src/button.ts +3 -1
- package/packages/radio/src/group.ts +6 -1
- package/packages/tree/src/tree.ts +251 -4
- package/packages/tree/src/util.ts +17 -1
- package/packages/ui/index.ts +4 -1
- package/styles/components/button.scss +56 -137
- package/styles/components/cascader.scss +33 -34
- package/styles/components/checkbox-button.scss +66 -14
- package/styles/components/checkbox.scss +22 -24
- package/styles/components/context-menu.scss +15 -13
- package/styles/components/form.scss +49 -120
- package/styles/components/icon-picker.scss +56 -27
- package/styles/components/link.scss +1 -1
- package/styles/components/list.scss +24 -26
- package/styles/components/menu.scss +23 -26
- package/styles/components/radio-button.scss +66 -14
- package/styles/components/radio.scss +22 -23
- package/styles/components/select.scss +36 -62
- package/styles/components/tree-select.scss +26 -27
- package/styles/components/tree.scss +16 -14
- package/styles/components/upload.scss +28 -30
- package/styles/helpers/baseMixin.scss +2 -2
- package/styles/helpers/themeStatus.scss +58 -0
- package/styles/theme/base.scss +11 -3
- package/types/all.d.ts +205 -0
- package/types/components/checkbox-group.d.ts +3 -1
- package/types/components/checkbox.d.ts +1 -1
- package/types/components/icon-picker.d.ts +28 -4
- package/types/components/list.d.ts +2 -2
- package/types/components/radio-group.d.ts +3 -1
- package/types/components/tree.d.ts +36 -0
- /package/es/icon/{iconfont.1782658257467.ttf → iconfont.1782810544397.ttf} +0 -0
- /package/es/icon/{iconfont.1782658257467.woff → iconfont.1782810544397.woff} +0 -0
- /package/es/icon/{iconfont.1782658257467.woff2 → iconfont.1782810544397.woff2} +0 -0
- /package/es/{iconfont.1782658257467.ttf → iconfont.1782810544397.ttf} +0 -0
- /package/es/{iconfont.1782658257467.woff → iconfont.1782810544397.woff} +0 -0
- /package/es/{iconfont.1782658257467.woff2 → iconfont.1782810544397.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1782658257467.ttf → iconfont.1782810544397.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1782658257467.woff → iconfont.1782810544397.woff} +0 -0
- /package/lib/icon/style/{iconfont.1782658257467.woff2 → iconfont.1782810544397.woff2} +0 -0
- /package/lib/{iconfont.1782658257467.ttf → iconfont.1782810544397.ttf} +0 -0
- /package/lib/{iconfont.1782658257467.woff → iconfont.1782810544397.woff} +0 -0
- /package/lib/{iconfont.1782658257467.woff2 → iconfont.1782810544397.woff2} +0 -0
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
// 局部变量
|
|
3
|
+
.vxe-upload,
|
|
4
|
+
.vxe-upload--more-popup {
|
|
5
|
+
--vxe-ui-upload-current-font-size: var(--vxe-ui-font-size-default);
|
|
6
|
+
--vxe-ui-upload-current-image-wh: var(--vxe-ui-upload-image-wh-default);
|
|
7
|
+
&.size--medium {
|
|
8
|
+
--vxe-ui-upload-current-font-size: var(--vxe-ui-font-size-medium);
|
|
9
|
+
--vxe-ui-upload-current-image-wh: var(--vxe-ui-upload-image-wh-medium);
|
|
10
|
+
}
|
|
11
|
+
&.size--small {
|
|
12
|
+
--vxe-ui-upload-current-font-size: var(--vxe-ui-font-size-small);
|
|
13
|
+
--vxe-ui-upload-current-image-wh: var(--vxe-ui-upload-image-wh-small);
|
|
14
|
+
}
|
|
15
|
+
&.size--mini {
|
|
16
|
+
--vxe-ui-upload-current-font-size: var(--vxe-ui-font-size-mini);
|
|
17
|
+
--vxe-ui-upload-current-image-wh: var(--vxe-ui-upload-image-wh-mini);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
1
21
|
.vxe-upload {
|
|
2
22
|
position: relative;
|
|
3
23
|
color: var(--vxe-ui-font-color);
|
|
@@ -21,6 +41,7 @@
|
|
|
21
41
|
|
|
22
42
|
.vxe-upload,
|
|
23
43
|
.vxe-upload--more-popup {
|
|
44
|
+
font-size: var(--vxe-ui-upload-current-font-size);
|
|
24
45
|
&.is--active {
|
|
25
46
|
.vxe-upload--image-action-box {
|
|
26
47
|
border-color: var(--vxe-ui-font-primary-color);
|
|
@@ -446,6 +467,7 @@
|
|
|
446
467
|
|
|
447
468
|
.vxe-upload--more-popup {
|
|
448
469
|
position: relative;
|
|
470
|
+
font-size: var(--vxe-ui-upload-current-font-size);
|
|
449
471
|
.vxe-upload--file-list {
|
|
450
472
|
max-height: none;
|
|
451
473
|
}
|
|
@@ -457,42 +479,18 @@
|
|
|
457
479
|
}
|
|
458
480
|
}
|
|
459
481
|
}
|
|
482
|
+
|
|
460
483
|
.vxe-upload,
|
|
461
484
|
.vxe-upload--more-popup {
|
|
462
|
-
font-size: var(--vxe-ui-font-size-default);
|
|
463
485
|
.vxe-upload--image-item-box,
|
|
464
486
|
.vxe-upload--image-action-box {
|
|
465
|
-
width: var(--vxe-ui-upload-image-wh
|
|
466
|
-
height: var(--vxe-ui-upload-image-wh
|
|
467
|
-
}
|
|
468
|
-
&.size--medium {
|
|
469
|
-
font-size: var(--vxe-ui-font-size-medium);
|
|
470
|
-
.vxe-upload--image-item-box,
|
|
471
|
-
.vxe-upload--image-action-box {
|
|
472
|
-
width: var(--vxe-ui-upload-image-wh-medium);
|
|
473
|
-
height: var(--vxe-ui-upload-image-wh-medium);
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
&.size--small {
|
|
477
|
-
font-size: var(--vxe-ui-font-size-small);
|
|
478
|
-
.vxe-upload--image-item-box,
|
|
479
|
-
.vxe-upload--image-action-box {
|
|
480
|
-
width: var(--vxe-ui-upload-image-wh-small);
|
|
481
|
-
height: var(--vxe-ui-upload-image-wh-small);
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
&.size--mini {
|
|
485
|
-
font-size: var(--vxe-ui-font-size-mini);
|
|
486
|
-
.vxe-upload--image-item-box,
|
|
487
|
-
.vxe-upload--image-action-box {
|
|
488
|
-
width: var(--vxe-ui-upload-image-wh-mini);
|
|
489
|
-
height: var(--vxe-ui-upload-image-wh-mini);
|
|
490
|
-
}
|
|
487
|
+
width: var(--vxe-ui-upload-current-image-wh);
|
|
488
|
+
height: var(--vxe-ui-upload-current-image-wh);
|
|
491
489
|
}
|
|
492
490
|
}
|
|
493
491
|
.vxe-upload--image-more-list {
|
|
494
492
|
.vxe-upload--image-item-box {
|
|
495
|
-
width: var(--vxe-ui-upload-image-wh
|
|
496
|
-
height: var(--vxe-ui-upload-image-wh
|
|
493
|
+
width: var(--vxe-ui-upload-current-image-wh);
|
|
494
|
+
height: var(--vxe-ui-upload-current-image-wh);
|
|
497
495
|
}
|
|
498
|
-
}
|
|
496
|
+
}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
.vxe-checkbox--label {
|
|
46
|
-
padding-left: 0.
|
|
46
|
+
padding-left: 0.4em;
|
|
47
47
|
vertical-align: middle;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
.vxe-radio--label {
|
|
89
|
-
padding-left: 0.
|
|
89
|
+
padding-left: 0.4em;
|
|
90
90
|
vertical-align: middle;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
$btnThemeList: (
|
|
2
|
+
(
|
|
3
|
+
name: "primary",
|
|
4
|
+
textColor: var(--vxe-ui-font-primary-color),
|
|
5
|
+
btnColor: #fff,
|
|
6
|
+
btnLightenColor: var(--vxe-ui-font-primary-lighten-color),
|
|
7
|
+
btnDarkenColor: var(--vxe-ui-font-primary-darken-color),
|
|
8
|
+
btnDisabledColor: var(--vxe-ui-font-primary-disabled-color)
|
|
9
|
+
),
|
|
10
|
+
(
|
|
11
|
+
name: "success",
|
|
12
|
+
textColor: var(--vxe-ui-status-success-color),
|
|
13
|
+
btnColor: #fff,
|
|
14
|
+
btnLightenColor: var(--vxe-ui-status-success-lighten-color),
|
|
15
|
+
btnDarkenColor: var(--vxe-ui-status-success-darken-color),
|
|
16
|
+
btnDisabledColor: var(--vxe-ui-status-success-disabled-color)
|
|
17
|
+
),
|
|
18
|
+
(
|
|
19
|
+
name: "info",
|
|
20
|
+
textColor: var(--vxe-ui-status-info-color),
|
|
21
|
+
btnColor: #fff,
|
|
22
|
+
btnLightenColor: var(--vxe-ui-status-info-lighten-color),
|
|
23
|
+
btnDarkenColor: var(--vxe-ui-status-info-darken-color),
|
|
24
|
+
btnDisabledColor: var(--vxe-ui-status-info-disabled-color)
|
|
25
|
+
),
|
|
26
|
+
(
|
|
27
|
+
name: "warning",
|
|
28
|
+
textColor: var(--vxe-ui-status-warning-color),
|
|
29
|
+
btnColor: #fff,
|
|
30
|
+
btnLightenColor: var(--vxe-ui-status-warning-lighten-color),
|
|
31
|
+
btnDarkenColor: var(--vxe-ui-status-warning-darken-color),
|
|
32
|
+
btnDisabledColor: var(--vxe-ui-status-warning-disabled-color)
|
|
33
|
+
),
|
|
34
|
+
(
|
|
35
|
+
name: "danger",
|
|
36
|
+
textColor: var(--vxe-ui-status-danger-color),
|
|
37
|
+
btnColor: #fff,
|
|
38
|
+
btnLightenColor: var(--vxe-ui-status-danger-lighten-color),
|
|
39
|
+
btnDarkenColor: var(--vxe-ui-status-danger-darken-color),
|
|
40
|
+
btnDisabledColor: var(--vxe-ui-status-danger-disabled-color)
|
|
41
|
+
),
|
|
42
|
+
(
|
|
43
|
+
name: "error",
|
|
44
|
+
textColor: var(--vxe-ui-status-error-color),
|
|
45
|
+
btnColor: #fff,
|
|
46
|
+
btnLightenColor: var(--vxe-ui-status-error-lighten-color),
|
|
47
|
+
btnDarkenColor: var(--vxe-ui-status-error-darken-color),
|
|
48
|
+
btnDisabledColor: var(--vxe-ui-status-error-disabled-color)
|
|
49
|
+
),
|
|
50
|
+
(
|
|
51
|
+
name: "perfect",
|
|
52
|
+
textColor: var(--vxe-ui-table-header-background-color),
|
|
53
|
+
btnColor: var(--vxe-ui-font-color),
|
|
54
|
+
btnLightenColor: var(--vxe-ui-table-header-background-color),
|
|
55
|
+
btnDarkenColor: var(--vxe-ui-table-header-background-color),
|
|
56
|
+
btnDisabledColor: var(--vxe-ui-table-header-background-color)
|
|
57
|
+
)
|
|
58
|
+
)
|
package/styles/theme/base.scss
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
--vxe-ui-font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
|
|
4
4
|
|
|
5
5
|
/*font size*/
|
|
6
|
-
--vxe-ui-font-size-large:
|
|
6
|
+
--vxe-ui-font-size-large: 16px;
|
|
7
7
|
--vxe-ui-font-size-default: 14px;
|
|
8
8
|
--vxe-ui-font-size-medium: 14px;
|
|
9
|
-
--vxe-ui-font-size-small:
|
|
9
|
+
--vxe-ui-font-size-small: 12px;
|
|
10
10
|
--vxe-ui-font-size-mini: 12px;
|
|
11
11
|
|
|
12
12
|
/*font color*/
|
|
@@ -23,12 +23,16 @@
|
|
|
23
23
|
/*layout*/
|
|
24
24
|
--vxe-ui-layout-padding-qtr: 2px;
|
|
25
25
|
--vxe-ui-layout-padding-half: 4px;
|
|
26
|
-
--vxe-ui-layout-padding-default: 8px;
|
|
27
26
|
--vxe-ui-layout-padding-double: 16px;
|
|
28
27
|
--vxe-ui-layout-padding-threefold: 24px;
|
|
29
28
|
--vxe-ui-layout-aside-default-width: 300px;
|
|
30
29
|
--vxe-ui-layout-aside-collapse-width: 60px;
|
|
31
30
|
|
|
31
|
+
--vxe-ui-layout-padding-default: 8px;
|
|
32
|
+
--vxe-ui-layout-padding-medium: 7px;
|
|
33
|
+
--vxe-ui-layout-padding-small: 6px;
|
|
34
|
+
--vxe-ui-layout-padding-mini: 5px;
|
|
35
|
+
|
|
32
36
|
/*menu*/
|
|
33
37
|
--vxe-ui-menu-item-height-default: 44px;
|
|
34
38
|
--vxe-ui-menu-item-height-medium: 40px;
|
|
@@ -178,6 +182,7 @@
|
|
|
178
182
|
/*tree*/
|
|
179
183
|
--vxe-ui-tree-node-height: 2em;
|
|
180
184
|
--vxe-ui-tree-node-indent: 20px;
|
|
185
|
+
--vxe-ui-tree-node-padding: 0;
|
|
181
186
|
--vxe-ui-tree-node-root-indent: 0px;
|
|
182
187
|
--vxe-ui-tree-node-line-color:#909399;
|
|
183
188
|
--vxe-ui-tree-node-line-style: dotted;
|
|
@@ -231,4 +236,7 @@
|
|
|
231
236
|
|
|
232
237
|
/*list*/
|
|
233
238
|
--vxe-ui-list-row-height: 2em;
|
|
239
|
+
|
|
240
|
+
/*icon-picker*/
|
|
241
|
+
--vxe-ui-icon-picker-panel-icon-font-size: 1.4em;
|
|
234
242
|
}
|
package/types/all.d.ts
CHANGED
|
@@ -121,60 +121,217 @@ declare global {
|
|
|
121
121
|
export function install (app: VueConstructor, options?: VxeGlobalConfig): void
|
|
122
122
|
|
|
123
123
|
interface AllComponents {
|
|
124
|
+
/**
|
|
125
|
+
* Alert 警告提示
|
|
126
|
+
*/
|
|
124
127
|
VxeAlert: typeof VxeAlert
|
|
128
|
+
/**
|
|
129
|
+
* Anchor 锚点
|
|
130
|
+
*/
|
|
125
131
|
VxeAnchor: typeof VxeAnchor
|
|
132
|
+
/**
|
|
133
|
+
* AnchorLink 锚点 - 链接
|
|
134
|
+
*/
|
|
126
135
|
VxeAnchorLink: typeof VxeAnchorLink
|
|
136
|
+
/**
|
|
137
|
+
* Avatar 头像
|
|
138
|
+
*/
|
|
127
139
|
VxeAvatar: typeof VxeAvatar
|
|
140
|
+
/**
|
|
141
|
+
* Backtop 回到顶部
|
|
142
|
+
*/
|
|
128
143
|
VxeBacktop: typeof VxeBacktop
|
|
144
|
+
/**
|
|
145
|
+
* Badge 微标
|
|
146
|
+
*/
|
|
129
147
|
VxeBadge: typeof VxeBadge
|
|
148
|
+
/**
|
|
149
|
+
* Breadcrumb 面包屑
|
|
150
|
+
*/
|
|
130
151
|
VxeBreadcrumb: typeof VxeBreadcrumb
|
|
152
|
+
/**
|
|
153
|
+
* BreadcrumbItem 面包屑 - 项
|
|
154
|
+
*/
|
|
131
155
|
VxeBreadcrumbItem: typeof VxeBreadcrumbItem
|
|
156
|
+
/**
|
|
157
|
+
* Button 按钮
|
|
158
|
+
*/
|
|
132
159
|
VxeButton: typeof VxeButton
|
|
160
|
+
/**
|
|
161
|
+
* Button 按钮组
|
|
162
|
+
*/
|
|
133
163
|
VxeButtonGroup: typeof VxeButtonGroup
|
|
164
|
+
/**
|
|
165
|
+
* Calendar 日历
|
|
166
|
+
*/
|
|
134
167
|
VxeCalendar: typeof VxeCalendar
|
|
168
|
+
/**
|
|
169
|
+
* Card 卡片
|
|
170
|
+
*/
|
|
135
171
|
VxeCard: typeof VxeCard
|
|
172
|
+
/**
|
|
173
|
+
* Carousel 轮播图
|
|
174
|
+
*/
|
|
136
175
|
VxeCarousel: typeof VxeCarousel
|
|
176
|
+
/**
|
|
177
|
+
* Carousel 轮播图 - 项
|
|
178
|
+
*/
|
|
137
179
|
VxeCarouselItem: typeof VxeCarouselItem
|
|
180
|
+
/**
|
|
181
|
+
* Cascader 级联选择
|
|
182
|
+
*/
|
|
138
183
|
VxeCascader: typeof VxeCascader
|
|
184
|
+
/**
|
|
185
|
+
* Checkbox 复选框
|
|
186
|
+
*/
|
|
139
187
|
VxeCheckbox: typeof VxeCheckbox
|
|
188
|
+
/**
|
|
189
|
+
* CheckboxButton 复选框按钮
|
|
190
|
+
*/
|
|
140
191
|
VxeCheckboxButton: typeof VxeCheckboxButton
|
|
192
|
+
/**
|
|
193
|
+
* CheckboxGroup 复选框组
|
|
194
|
+
*/
|
|
141
195
|
VxeCheckboxGroup: typeof VxeCheckboxGroup
|
|
196
|
+
/**
|
|
197
|
+
* Col 列
|
|
198
|
+
*/
|
|
142
199
|
VxeCol: typeof VxeCol
|
|
200
|
+
/**
|
|
201
|
+
* Collapse 折叠面板
|
|
202
|
+
*/
|
|
143
203
|
VxeCollapse: typeof VxeCollapse
|
|
204
|
+
/**
|
|
205
|
+
* CollapsePane 折叠面板 - 面板
|
|
206
|
+
*/
|
|
144
207
|
VxeCollapsePane: typeof VxeCollapsePane
|
|
208
|
+
/**
|
|
209
|
+
* ColorPicker 颜色选择
|
|
210
|
+
*/
|
|
145
211
|
VxeColorPicker: typeof VxeColorPicker
|
|
212
|
+
/**
|
|
213
|
+
* ContextMenu 右键菜单
|
|
214
|
+
*/
|
|
146
215
|
VxeContextMenu: typeof VxeContextMenu
|
|
216
|
+
/**
|
|
217
|
+
* Countdown 倒计时
|
|
218
|
+
*/
|
|
147
219
|
VxeCountdown: typeof VxeCountdown
|
|
220
|
+
/**
|
|
221
|
+
* DatePanel 日期面板
|
|
222
|
+
*/
|
|
148
223
|
VxeDatePanel: typeof VxeDatePanel
|
|
224
|
+
/**
|
|
225
|
+
* DatePicker 日期选择
|
|
226
|
+
*/
|
|
149
227
|
VxeDatePicker: typeof VxeDatePicker
|
|
228
|
+
/**
|
|
229
|
+
* DateRangePicker 日期范围选择
|
|
230
|
+
*/
|
|
150
231
|
VxeDateRangePicker: typeof VxeDateRangePicker
|
|
232
|
+
/**
|
|
233
|
+
* Drawer 抽屉
|
|
234
|
+
*/
|
|
151
235
|
VxeDrawer: typeof VxeDrawer
|
|
236
|
+
/**
|
|
237
|
+
* Empty 空状态
|
|
238
|
+
*/
|
|
152
239
|
VxeEmpty: typeof VxeEmpty
|
|
240
|
+
/**
|
|
241
|
+
* Form 表单
|
|
242
|
+
*/
|
|
153
243
|
VxeForm: typeof VxeForm
|
|
244
|
+
/**
|
|
245
|
+
* 已废弃,请使用 FormGroup
|
|
246
|
+
* @deprecated
|
|
247
|
+
*/
|
|
154
248
|
VxeFormGather: typeof VxeFormGather
|
|
249
|
+
/**
|
|
250
|
+
* FormGroup 表单 - 组
|
|
251
|
+
*/
|
|
155
252
|
VxeFormGroup: typeof VxeFormGroup
|
|
253
|
+
/**
|
|
254
|
+
* FormGroup 表单 - 项
|
|
255
|
+
*/
|
|
156
256
|
VxeFormItem: typeof VxeFormItem
|
|
257
|
+
/**
|
|
258
|
+
* Icon 图标
|
|
259
|
+
*/
|
|
157
260
|
VxeIcon: typeof VxeIcon
|
|
261
|
+
/**
|
|
262
|
+
* IconPicker 图标选择
|
|
263
|
+
*/
|
|
158
264
|
VxeIconPicker: typeof VxeIconPicker
|
|
265
|
+
/**
|
|
266
|
+
* Image 图片
|
|
267
|
+
*/
|
|
159
268
|
VxeImage: typeof VxeImage
|
|
269
|
+
/**
|
|
270
|
+
* ImageGroup 图片组
|
|
271
|
+
*/
|
|
160
272
|
VxeImageGroup: typeof VxeImageGroup
|
|
273
|
+
/**
|
|
274
|
+
* ImagePreview 图片预览
|
|
275
|
+
*/
|
|
161
276
|
VxeImagePreview: typeof VxeImagePreview
|
|
277
|
+
/**
|
|
278
|
+
* Input 单行输入框
|
|
279
|
+
*/
|
|
162
280
|
VxeInput: typeof VxeInput
|
|
281
|
+
/**
|
|
282
|
+
* LayoutAside 页面布局 - 侧边栏
|
|
283
|
+
*/
|
|
163
284
|
VxeLayoutAside: typeof VxeLayoutAside
|
|
285
|
+
/**
|
|
286
|
+
* LayoutBody 页面布局 - 主体
|
|
287
|
+
*/
|
|
164
288
|
VxeLayoutBody: typeof VxeLayoutBody
|
|
289
|
+
/**
|
|
290
|
+
* LayoutContainer 页面布局 - 容器
|
|
291
|
+
*/
|
|
165
292
|
VxeLayoutContainer: typeof VxeLayoutContainer
|
|
293
|
+
/**
|
|
294
|
+
* LayoutFooter 页面布局 - 底部
|
|
295
|
+
*/
|
|
166
296
|
VxeLayoutFooter: typeof VxeLayoutFooter
|
|
297
|
+
/**
|
|
298
|
+
* LayoutHeader 页面布局 - 头部
|
|
299
|
+
*/
|
|
167
300
|
VxeLayoutHeader: typeof VxeLayoutHeader
|
|
301
|
+
/**
|
|
302
|
+
* Link 链接
|
|
303
|
+
*/
|
|
168
304
|
VxeLink: typeof VxeLink
|
|
305
|
+
/**
|
|
306
|
+
* List 列表
|
|
307
|
+
*/
|
|
169
308
|
VxeList: typeof VxeList
|
|
309
|
+
/**
|
|
310
|
+
* Loading 加载中
|
|
311
|
+
*/
|
|
170
312
|
VxeLoading: typeof VxeLoading
|
|
171
313
|
VxeMention: typeof VxeMention
|
|
314
|
+
/**
|
|
315
|
+
* Menu 菜单
|
|
316
|
+
*/
|
|
172
317
|
VxeMenu: typeof VxeMenu
|
|
318
|
+
/**
|
|
319
|
+
* Modal 弹窗
|
|
320
|
+
*/
|
|
173
321
|
VxeModal: typeof VxeModal
|
|
322
|
+
/**
|
|
323
|
+
* NoticeBar 通知栏
|
|
324
|
+
*/
|
|
174
325
|
VxeNoticeBar: typeof VxeNoticeBar
|
|
326
|
+
/**
|
|
327
|
+
* NumberInput 数值输入
|
|
328
|
+
*/
|
|
175
329
|
VxeNumberInput: typeof VxeNumberInput
|
|
176
330
|
VxeOptgroup: typeof VxeOptgroup
|
|
177
331
|
VxeOption: typeof VxeOption
|
|
332
|
+
/**
|
|
333
|
+
* Pager 分页
|
|
334
|
+
*/
|
|
178
335
|
VxePager: typeof VxePager
|
|
179
336
|
VxePasswordInput: typeof VxePasswordInput
|
|
180
337
|
VxePrintPageBreak: typeof VxePrintPageBreak
|
|
@@ -208,28 +365,76 @@ interface AllComponents {
|
|
|
208
365
|
VxeTip: typeof VxeTip
|
|
209
366
|
VxeTooltip: typeof VxeTooltip
|
|
210
367
|
VxeTour: typeof VxeTour
|
|
368
|
+
/**
|
|
369
|
+
* Tree 树
|
|
370
|
+
*/
|
|
211
371
|
VxeTree: typeof VxeTree
|
|
372
|
+
/**
|
|
373
|
+
* TreeSelect 下拉树选择
|
|
374
|
+
*/
|
|
212
375
|
VxeTreeSelect: typeof VxeTreeSelect
|
|
213
376
|
VxeTransfer: typeof VxeTransfer
|
|
377
|
+
/**
|
|
378
|
+
* Upload 上传
|
|
379
|
+
*/
|
|
214
380
|
VxeUpload: typeof VxeUpload
|
|
381
|
+
/**
|
|
382
|
+
* Watermark 水印
|
|
383
|
+
*/
|
|
215
384
|
VxeWatermark: typeof VxeWatermark
|
|
216
385
|
|
|
217
386
|
// Vxe Table
|
|
387
|
+
/**
|
|
388
|
+
* Column 基础表格 - 列
|
|
389
|
+
*/
|
|
218
390
|
VxeColumn: typeof VxeColumn
|
|
391
|
+
/**
|
|
392
|
+
* Colgroup 基础表格 - 分组列
|
|
393
|
+
*/
|
|
219
394
|
VxeColgroup: typeof VxeColgroup
|
|
395
|
+
/**
|
|
396
|
+
* Table 基础表格
|
|
397
|
+
*/
|
|
220
398
|
VxeTable: typeof VxeTable
|
|
399
|
+
/**
|
|
400
|
+
* Grid 高级表格
|
|
401
|
+
*/
|
|
221
402
|
VxeGrid: typeof VxeGrid
|
|
403
|
+
/**
|
|
404
|
+
* Toolbar 基础表格 - 工具栏
|
|
405
|
+
*/
|
|
222
406
|
VxeToolbar: typeof VxeToolbar
|
|
223
407
|
|
|
224
408
|
// Vxe Design
|
|
409
|
+
/**
|
|
410
|
+
* FlowDesign 流程设计器
|
|
411
|
+
*/
|
|
225
412
|
VxeFlowDesign: typeof VxeFlowDesign
|
|
413
|
+
/**
|
|
414
|
+
* FlowView 流程设计器 - 视图
|
|
415
|
+
*/
|
|
226
416
|
VxeFlowView: typeof VxeFlowView
|
|
417
|
+
/**
|
|
418
|
+
* FormDesign 表单设计器
|
|
419
|
+
*/
|
|
227
420
|
VxeFormDesign: typeof VxeFormDesign
|
|
421
|
+
/**
|
|
422
|
+
* FormView 表单设计器 - 视图
|
|
423
|
+
*/
|
|
228
424
|
VxeFormView: typeof VxeFormView
|
|
425
|
+
/**
|
|
426
|
+
* ListDesign 列表设计器
|
|
427
|
+
*/
|
|
229
428
|
VxeListDesign: typeof VxeListDesign
|
|
429
|
+
/**
|
|
430
|
+
* ListView 列表设计器 - 视图
|
|
431
|
+
*/
|
|
230
432
|
VxeListView: typeof VxeListView
|
|
231
433
|
|
|
232
434
|
// VxeGantt
|
|
435
|
+
/**
|
|
436
|
+
* Gantt 甘特图
|
|
437
|
+
*/
|
|
233
438
|
VxeGantt: typeof VxeGantt
|
|
234
439
|
}
|
|
235
440
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf } from '@vxe-ui/core'
|
|
1
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeComponentStatusType } from '@vxe-ui/core'
|
|
2
2
|
import { VxeCheckboxPropTypes } from './checkbox'
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
@@ -30,6 +30,7 @@ export namespace VxeCheckboxGroupPropTypes {
|
|
|
30
30
|
label?: string
|
|
31
31
|
disabled?: string
|
|
32
32
|
}
|
|
33
|
+
export type Status = VxeComponentStatusType
|
|
33
34
|
export type Max = string | number
|
|
34
35
|
export type Disabled = boolean
|
|
35
36
|
export type Readonly = boolean
|
|
@@ -50,6 +51,7 @@ export interface VxeCheckboxGroupProps {
|
|
|
50
51
|
*/
|
|
51
52
|
value?: VxeCheckboxGroupPropTypes.ModelValue
|
|
52
53
|
max?: VxeCheckboxGroupPropTypes.Max
|
|
54
|
+
status?: VxeCheckboxGroupPropTypes.Status
|
|
53
55
|
/**
|
|
54
56
|
* 是否禁用
|
|
55
57
|
*/
|
|
@@ -17,7 +17,7 @@ export interface VxeCheckboxPrivateRef extends CheckboxPrivateRef { }
|
|
|
17
17
|
|
|
18
18
|
export namespace VxeCheckboxPropTypes {
|
|
19
19
|
export type Size = VxeComponentSizeType
|
|
20
|
-
export type ModelValue = string | number | boolean
|
|
20
|
+
export type ModelValue = string | number | boolean | null
|
|
21
21
|
export type Label = string | number
|
|
22
22
|
export type Indeterminate = boolean
|
|
23
23
|
export type Title = string | number
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, ValueOf, VxeComponentStyleType, VxeComponentSizeType } from '@vxe-ui/core'
|
|
2
|
+
import { VxeIconPropTypes } from './icon'
|
|
2
3
|
|
|
3
4
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
4
5
|
|
|
@@ -27,13 +28,23 @@ export namespace VxeIconPickerPropTypes {
|
|
|
27
28
|
export type PopupClassName = string | ((params: {$iconPicker: VxeIconPickerConstructor }) => string)
|
|
28
29
|
export type Readonly = boolean
|
|
29
30
|
export type Disabled = boolean
|
|
30
|
-
export type
|
|
31
|
+
export type Option = {
|
|
31
32
|
title?: string | number
|
|
32
33
|
icon: string
|
|
33
34
|
iconRender?: VxeIconPickerDefines.OptionIconRender
|
|
34
|
-
}
|
|
35
|
+
}
|
|
36
|
+
export type Icons = VxeIconPropTypes.Name[] | Option[]
|
|
35
37
|
export type Clearable = boolean
|
|
36
38
|
export type ShowIconTitle = boolean
|
|
39
|
+
export type Filterable = boolean
|
|
40
|
+
export interface FilterConfig {
|
|
41
|
+
filterMethod?:(params: {
|
|
42
|
+
$iconPicker: VxeIconPickerConstructor
|
|
43
|
+
option: VxeIconPickerDefines.IconItemObj
|
|
44
|
+
searchValue: string
|
|
45
|
+
value: ModelValue | undefined
|
|
46
|
+
}) => boolean
|
|
47
|
+
}
|
|
37
48
|
export type Placement = 'top' | 'bottom' | '' | null
|
|
38
49
|
export interface PopupConfig {
|
|
39
50
|
/**
|
|
@@ -49,8 +60,16 @@ export namespace VxeIconPickerPropTypes {
|
|
|
49
60
|
*/
|
|
50
61
|
trigger?: 'default' | 'icon' | 'manual' | '' | null
|
|
51
62
|
transfer?: boolean
|
|
63
|
+
/**
|
|
64
|
+
* 分块显示多少个图标
|
|
65
|
+
*/
|
|
66
|
+
chunkSize?: number
|
|
67
|
+
/**
|
|
68
|
+
* 图标展示方式,支持分块和列表
|
|
69
|
+
*/
|
|
52
70
|
width?: number | string
|
|
53
71
|
height?: number | string
|
|
72
|
+
maxHeight?: number | string
|
|
54
73
|
zIndex?: number | string
|
|
55
74
|
className?: string | ((params: { $iconPicker: VxeIconPickerConstructor }) => string)
|
|
56
75
|
}
|
|
@@ -75,6 +94,8 @@ export interface VxeIconPickerProps {
|
|
|
75
94
|
icons?: VxeIconPickerPropTypes.Icons
|
|
76
95
|
clearable?: VxeIconPickerPropTypes.Clearable
|
|
77
96
|
showIconTitle?: VxeIconPickerPropTypes.ShowIconTitle
|
|
97
|
+
filterable?: VxeIconPickerPropTypes.Filterable
|
|
98
|
+
filterConfig?: VxeIconPickerPropTypes.FilterConfig
|
|
78
99
|
placement?: VxeIconPickerPropTypes.Placement
|
|
79
100
|
popupConfig?: VxeIconPickerPropTypes.PopupConfig
|
|
80
101
|
transfer?: VxeIconPickerPropTypes.Transfer
|
|
@@ -93,10 +114,13 @@ export interface IconPickerReactData {
|
|
|
93
114
|
visiblePanel: boolean
|
|
94
115
|
isAniVisible: boolean
|
|
95
116
|
isActivated: boolean
|
|
117
|
+
searchValue: string
|
|
118
|
+
iconGroups: VxeIconPickerDefines.IconItemObj[][]
|
|
96
119
|
}
|
|
97
120
|
|
|
98
121
|
export interface IconPickerInternalData {
|
|
99
122
|
hpTimeout?: undefined | number
|
|
123
|
+
fullList: VxeIconPickerDefines.IconItemObj[]
|
|
100
124
|
}
|
|
101
125
|
|
|
102
126
|
export interface IconPickerMethods {
|
|
@@ -161,8 +185,8 @@ export namespace VxeIconPickerDefines {
|
|
|
161
185
|
}
|
|
162
186
|
|
|
163
187
|
export interface IconItemObj {
|
|
164
|
-
title
|
|
165
|
-
icon
|
|
188
|
+
title: string
|
|
189
|
+
icon: string
|
|
166
190
|
iconRender?: OptionIconRender
|
|
167
191
|
}
|
|
168
192
|
}
|
|
@@ -397,11 +397,11 @@ export interface ListMethods<D = any> {
|
|
|
397
397
|
*/
|
|
398
398
|
clearRadioRow(): Promise<void>
|
|
399
399
|
/**
|
|
400
|
-
* 只对 show-checkbox
|
|
400
|
+
* 只对 show-checkbox 有效,设置复选框选中的行
|
|
401
401
|
*/
|
|
402
402
|
setCheckboxRow(rows: D | D[], checked: boolean): Promise<void>
|
|
403
403
|
/**
|
|
404
|
-
* 只对 show-checkbox
|
|
404
|
+
* 只对 show-checkbox 有效,根据主键设置复选框
|
|
405
405
|
*/
|
|
406
406
|
setCheckboxRowByKey(rowKeys: string | number | null | undefined | (string | number | null | undefined)[], checked: boolean): Promise<void>
|
|
407
407
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf } from '@vxe-ui/core'
|
|
1
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeComponentStatusType } from '@vxe-ui/core'
|
|
2
2
|
import { VxeRadioPropTypes } from './radio'
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-empty-interface,no-use-before-define,@typescript-eslint/ban-types */
|
|
@@ -32,6 +32,7 @@ export namespace VxeRadioGroupPropTypes {
|
|
|
32
32
|
disabled?: string
|
|
33
33
|
}
|
|
34
34
|
export type ModelValue = any
|
|
35
|
+
export type Status = VxeComponentStatusType
|
|
35
36
|
export type Strict = boolean
|
|
36
37
|
export type Disabled = boolean
|
|
37
38
|
export type Readonly = boolean
|
|
@@ -48,6 +49,7 @@ export interface VxeRadioGroupProps {
|
|
|
48
49
|
type?: VxeRadioGroupPropTypes.Type
|
|
49
50
|
options?: VxeRadioGroupPropTypes.Options
|
|
50
51
|
optionProps?: VxeRadioGroupPropTypes.OptionProps
|
|
52
|
+
status?: VxeRadioGroupPropTypes.Status
|
|
51
53
|
/**
|
|
52
54
|
* 严格模式,不允许取消
|
|
53
55
|
*/
|