naive-ui 2.21.2 → 2.22.0
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/_internal/close/src/styles/index.cssr.js +6 -5
- package/es/_internal/scrollbar/src/ScrollBar.d.ts +15 -0
- package/es/_internal/scrollbar/src/ScrollBar.js +13 -7
- package/es/_internal/selection/src/Selection.js +11 -9
- package/es/_internal/selection/src/styles/index.cssr.js +6 -2
- package/es/alert/src/Alert.d.ts +20 -20
- package/es/alert/src/Alert.js +22 -22
- package/es/alert/src/styles/index.cssr.js +45 -45
- package/es/anchor/src/AnchorAdapter.js +12 -12
- package/es/anchor/src/styles/index.cssr.js +41 -41
- package/es/avatar/src/Avatar.d.ts +5 -3
- package/es/avatar/src/Avatar.js +7 -5
- package/es/avatar/src/styles/index.cssr.js +3 -5
- package/es/button/src/Button.d.ts +60 -60
- package/es/button/src/Button.js +107 -106
- package/es/button/src/styles/button.cssr.js +83 -80
- package/es/button/styles/dark.js +3 -3
- package/es/button/styles/light.d.ts +3 -3
- package/es/button/styles/light.js +1 -1
- package/es/calendar/src/Calendar.d.ts +37 -30
- package/es/calendar/styles/light.d.ts +3 -3
- package/es/cascader/src/Cascader.d.ts +135 -0
- package/es/cascader/src/Cascader.js +2 -4
- package/es/cascader/src/CascaderMenu.d.ts +345 -0
- package/es/cascader/src/CascaderMenu.js +6 -5
- package/es/cascader/src/CascaderOption.d.ts +18 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +18 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +18 -0
- package/es/cascader/styles/dark.js +3 -1
- package/es/cascader/styles/light.d.ts +13 -0
- package/es/cascader/styles/light.js +3 -1
- package/es/color-picker/src/ColorInputUnit.d.ts +3 -3
- package/es/color-picker/src/ColorPicker.d.ts +27 -27
- package/es/color-picker/styles/light.d.ts +3 -3
- package/es/config-provider/src/ConfigProvider.d.ts +21 -0
- package/es/data-table/src/DataTable.d.ts +30 -30
- package/es/data-table/src/DataTable.js +7 -14
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +3 -3
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +3 -3
- package/es/data-table/src/MainTable.js +2 -3
- package/es/data-table/src/TableParts/Body.d.ts +18 -7
- package/es/data-table/src/TableParts/Body.js +80 -28
- package/es/data-table/src/TableParts/Cell.d.ts +6 -6
- package/es/data-table/src/TableParts/Header.d.ts +3 -3
- package/es/data-table/src/TableParts/Header.js +1 -1
- package/es/data-table/src/interface.d.ts +4 -1
- package/es/data-table/src/styles/index.cssr.js +9 -12
- package/es/data-table/src/use-check.js +6 -2
- package/es/data-table/src/use-scroll.d.ts +2 -0
- package/es/data-table/src/use-scroll.js +34 -4
- package/es/data-table/src/use-table-data.js +4 -1
- package/es/data-table/styles/_common.js +1 -1
- package/es/data-table/styles/light.d.ts +3 -3
- package/es/date-picker/src/DatePicker.d.ts +94 -69
- package/es/date-picker/src/DatePicker.js +47 -20
- package/es/date-picker/src/config.d.ts +1 -9
- package/es/date-picker/src/config.js +0 -8
- package/es/date-picker/src/interface.d.ts +2 -1
- package/es/date-picker/src/panel/date.d.ts +23 -10
- package/es/date-picker/src/panel/date.js +2 -2
- package/es/date-picker/src/panel/daterange.d.ts +21 -9
- package/es/date-picker/src/panel/daterange.js +2 -2
- package/es/date-picker/src/panel/datetime.d.ts +23 -16
- package/es/date-picker/src/panel/datetime.js +2 -2
- package/es/date-picker/src/panel/datetimerange.d.ts +21 -9
- package/es/date-picker/src/panel/datetimerange.js +2 -2
- package/es/date-picker/src/panel/month.d.ts +27 -20
- package/es/date-picker/src/panel/month.js +23 -12
- package/es/date-picker/src/panel/use-calendar.d.ts +25 -43
- package/es/date-picker/src/panel/use-calendar.js +35 -18
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +21 -40
- package/es/date-picker/src/panel/use-dual-calendar.js +23 -8
- package/es/date-picker/src/panel/use-panel-common.d.ts +21 -36
- package/es/date-picker/src/panel/use-panel-common.js +2 -2
- package/es/date-picker/src/utils.d.ts +19 -3
- package/es/date-picker/src/utils.js +40 -5
- package/es/date-picker/styles/_common.d.ts +2 -0
- package/es/date-picker/styles/_common.js +3 -1
- package/es/date-picker/styles/light.d.ts +10 -6
- package/es/dialog/src/Dialog.d.ts +21 -21
- package/es/dialog/src/styles/index.cssr.js +1 -0
- package/es/dialog/styles/light.d.ts +3 -3
- package/es/dynamic-input/src/DynamicInput.d.ts +30 -30
- package/es/dynamic-input/src/InputPreset.d.ts +3 -3
- package/es/dynamic-input/src/PairPreset.d.ts +3 -3
- package/es/dynamic-input/styles/light.d.ts +3 -3
- package/es/dynamic-tags/src/DynamicTags.d.ts +30 -30
- package/es/dynamic-tags/styles/light.d.ts +3 -3
- package/es/element/index.d.ts +1 -0
- package/es/element/index.js +1 -0
- package/es/form/src/interface.d.ts +5 -4
- package/es/image/src/Image.d.ts +25 -16
- package/es/image/src/Image.js +35 -11
- package/es/image/src/ImageGroup.js +2 -2
- package/es/image/src/styles/index.cssr.js +4 -3
- package/es/input/src/Input.js +2 -0
- package/es/input/src/styles/input.cssr.js +2 -1
- package/es/input-number/src/InputNumber.d.ts +30 -30
- package/es/input-number/src/InputNumber.js +10 -5
- package/es/input-number/src/utils.d.ts +1 -0
- package/es/input-number/src/utils.js +4 -0
- package/es/input-number/styles/light.d.ts +3 -3
- package/es/locales/common/deDE.js +8 -0
- package/es/locales/common/enUS.d.ts +7 -0
- package/es/locales/common/enUS.js +8 -1
- package/es/locales/common/frFR.d.ts +3 -0
- package/es/locales/common/frFR.js +101 -0
- package/es/locales/common/idID.d.ts +2 -93
- package/es/locales/common/idID.js +8 -0
- package/es/locales/common/jaJP.js +8 -0
- package/es/locales/common/nbNO.js +8 -0
- package/es/locales/common/ruRU.js +8 -0
- package/es/locales/common/ukUA.js +8 -0
- package/es/locales/common/zhCN.js +7 -0
- package/es/locales/common/zhTW.d.ts +3 -0
- package/es/locales/common/zhTW.js +100 -0
- package/es/locales/date/frFR.d.ts +3 -0
- package/es/locales/date/frFR.js +6 -0
- package/es/locales/date/idID.d.ts +1 -6
- package/es/locales/date/zhTW.d.ts +3 -0
- package/es/locales/date/zhTW.js +6 -0
- package/es/locales/index.d.ts +4 -0
- package/es/locales/index.js +4 -0
- package/es/modal/src/BodyWrapper.d.ts +6 -6
- package/es/modal/src/Modal.d.ts +36 -36
- package/es/modal/styles/light.d.ts +3 -3
- package/es/page-header/src/PageHeader.js +3 -3
- package/es/page-header/src/styles/index.cssr.js +2 -4
- package/es/popconfirm/src/Popconfirm.d.ts +30 -30
- package/es/popconfirm/styles/light.d.ts +3 -3
- package/es/popover/src/Popover.js +4 -1
- package/es/popover/src/PopoverBody.js +3 -3
- package/es/popselect/src/Popselect.d.ts +2 -11
- package/es/popselect/src/Popselect.js +2 -2
- package/es/popselect/src/PopselectPanel.d.ts +3 -11
- package/es/popselect/src/PopselectPanel.js +17 -11
- package/es/radio/src/Radio.js +3 -3
- package/es/radio/src/RadioButton.js +4 -5
- package/es/radio/src/styles/radio-group.cssr.js +8 -4
- package/es/radio/src/styles/radio.cssr.js +8 -4
- package/es/radio/src/use-radio.d.ts +0 -3
- package/es/radio/src/use-radio.js +1 -26
- package/es/switch/src/Switch.d.ts +16 -1
- package/es/switch/src/Switch.js +17 -4
- package/es/switch/src/styles/index.cssr.js +1 -1
- package/es/tabs/src/styles/index.cssr.js +1 -0
- package/es/tag/src/styles/index.cssr.js +1 -1
- package/es/theme-editor/src/ThemeEditor.js +9 -2
- package/es/time-picker/src/Panel.d.ts +3 -3
- package/es/time-picker/src/TimePicker.d.ts +30 -30
- package/es/time-picker/styles/light.d.ts +3 -3
- package/es/transfer/src/Transfer.d.ts +30 -30
- package/es/transfer/src/TransferFilter.d.ts +3 -3
- package/es/transfer/src/TransferList.d.ts +3 -3
- package/es/transfer/src/TransferListItem.d.ts +3 -3
- package/es/transfer/styles/light.d.ts +3 -3
- package/es/tree/src/Tree.d.ts +8 -4
- package/es/tree/src/Tree.js +32 -6
- package/es/tree-select/src/TreeSelect.d.ts +38 -1
- package/es/tree-select/src/TreeSelect.js +25 -10
- package/es/tree-select/src/styles/index.cssr.js +11 -2
- package/es/tree-select/styles/light.d.ts +6 -0
- package/es/tree-select/styles/light.js +5 -2
- package/es/upload/src/Upload.d.ts +41 -30
- package/es/upload/src/Upload.js +33 -23
- package/es/upload/src/UploadFile.d.ts +4 -4
- package/es/upload/src/UploadFileList.js +4 -2
- package/es/upload/src/UploadProgress.d.ts +3 -3
- package/es/upload/src/interface.d.ts +1 -0
- package/es/upload/src/styles/index.cssr.js +2 -3
- package/es/upload/styles/light.d.ts +3 -3
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/close/src/styles/index.cssr.js +6 -5
- package/lib/_internal/scrollbar/src/ScrollBar.d.ts +15 -0
- package/lib/_internal/scrollbar/src/ScrollBar.js +13 -7
- package/lib/_internal/selection/src/Selection.js +11 -9
- package/lib/_internal/selection/src/styles/index.cssr.js +6 -2
- package/lib/alert/src/Alert.d.ts +20 -20
- package/lib/alert/src/Alert.js +22 -22
- package/lib/alert/src/styles/index.cssr.js +45 -45
- package/lib/anchor/src/AnchorAdapter.js +12 -12
- package/lib/anchor/src/styles/index.cssr.js +41 -41
- package/lib/avatar/src/Avatar.d.ts +5 -3
- package/lib/avatar/src/Avatar.js +7 -5
- package/lib/avatar/src/styles/index.cssr.js +3 -5
- package/lib/button/src/Button.d.ts +60 -60
- package/lib/button/src/Button.js +107 -106
- package/lib/button/src/styles/button.cssr.js +83 -80
- package/lib/button/styles/dark.js +3 -3
- package/lib/button/styles/light.d.ts +3 -3
- package/lib/button/styles/light.js +1 -1
- package/lib/calendar/src/Calendar.d.ts +37 -30
- package/lib/calendar/styles/light.d.ts +3 -3
- package/lib/cascader/src/Cascader.d.ts +135 -0
- package/lib/cascader/src/Cascader.js +2 -4
- package/lib/cascader/src/CascaderMenu.d.ts +345 -0
- package/lib/cascader/src/CascaderMenu.js +6 -5
- package/lib/cascader/src/CascaderOption.d.ts +18 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +18 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +18 -0
- package/lib/cascader/styles/dark.js +3 -1
- package/lib/cascader/styles/light.d.ts +13 -0
- package/lib/cascader/styles/light.js +3 -1
- package/lib/color-picker/src/ColorInputUnit.d.ts +3 -3
- package/lib/color-picker/src/ColorPicker.d.ts +27 -27
- package/lib/color-picker/styles/light.d.ts +3 -3
- package/lib/config-provider/src/ConfigProvider.d.ts +21 -0
- package/lib/data-table/src/DataTable.d.ts +30 -30
- package/lib/data-table/src/DataTable.js +6 -13
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +3 -3
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +3 -3
- package/lib/data-table/src/MainTable.js +1 -2
- package/lib/data-table/src/TableParts/Body.d.ts +18 -7
- package/lib/data-table/src/TableParts/Body.js +78 -26
- package/lib/data-table/src/TableParts/Cell.d.ts +6 -6
- package/lib/data-table/src/TableParts/Header.d.ts +3 -3
- package/lib/data-table/src/TableParts/Header.js +1 -1
- package/lib/data-table/src/interface.d.ts +4 -1
- package/lib/data-table/src/styles/index.cssr.js +9 -12
- package/lib/data-table/src/use-check.js +6 -2
- package/lib/data-table/src/use-scroll.d.ts +2 -0
- package/lib/data-table/src/use-scroll.js +34 -4
- package/lib/data-table/src/use-table-data.js +4 -1
- package/lib/data-table/styles/_common.js +1 -1
- package/lib/data-table/styles/light.d.ts +3 -3
- package/lib/date-picker/src/DatePicker.d.ts +94 -69
- package/lib/date-picker/src/DatePicker.js +46 -19
- package/lib/date-picker/src/config.d.ts +1 -9
- package/lib/date-picker/src/config.js +1 -9
- package/lib/date-picker/src/interface.d.ts +2 -1
- package/lib/date-picker/src/panel/date.d.ts +23 -10
- package/lib/date-picker/src/panel/date.js +1 -1
- package/lib/date-picker/src/panel/daterange.d.ts +21 -9
- package/lib/date-picker/src/panel/daterange.js +1 -1
- package/lib/date-picker/src/panel/datetime.d.ts +23 -16
- package/lib/date-picker/src/panel/datetime.js +1 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +21 -9
- package/lib/date-picker/src/panel/datetimerange.js +2 -2
- package/lib/date-picker/src/panel/month.d.ts +27 -20
- package/lib/date-picker/src/panel/month.js +23 -12
- package/lib/date-picker/src/panel/use-calendar.d.ts +25 -43
- package/lib/date-picker/src/panel/use-calendar.js +34 -16
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +21 -40
- package/lib/date-picker/src/panel/use-dual-calendar.js +22 -6
- package/lib/date-picker/src/panel/use-panel-common.d.ts +21 -36
- package/lib/date-picker/src/panel/use-panel-common.js +3 -2
- package/lib/date-picker/src/utils.d.ts +19 -3
- package/lib/date-picker/src/utils.js +41 -4
- package/lib/date-picker/styles/_common.d.ts +2 -0
- package/lib/date-picker/styles/_common.js +3 -1
- package/lib/date-picker/styles/light.d.ts +10 -6
- package/lib/dialog/src/Dialog.d.ts +21 -21
- package/lib/dialog/src/styles/index.cssr.js +1 -0
- package/lib/dialog/styles/light.d.ts +3 -3
- package/lib/dynamic-input/src/DynamicInput.d.ts +30 -30
- package/lib/dynamic-input/src/InputPreset.d.ts +3 -3
- package/lib/dynamic-input/src/PairPreset.d.ts +3 -3
- package/lib/dynamic-input/styles/light.d.ts +3 -3
- package/lib/dynamic-tags/src/DynamicTags.d.ts +30 -30
- package/lib/dynamic-tags/styles/light.d.ts +3 -3
- package/lib/element/index.d.ts +1 -0
- package/lib/element/index.js +3 -1
- package/lib/form/src/interface.d.ts +5 -4
- package/lib/image/src/Image.d.ts +25 -16
- package/lib/image/src/Image.js +34 -10
- package/lib/image/src/ImageGroup.js +2 -2
- package/lib/image/src/styles/index.cssr.js +3 -2
- package/lib/input/src/Input.js +2 -0
- package/lib/input/src/styles/input.cssr.js +2 -1
- package/lib/input-number/src/InputNumber.d.ts +30 -30
- package/lib/input-number/src/InputNumber.js +9 -4
- package/lib/input-number/src/utils.d.ts +1 -0
- package/lib/input-number/src/utils.js +6 -1
- package/lib/input-number/styles/light.d.ts +3 -3
- package/lib/locales/common/deDE.js +8 -0
- package/lib/locales/common/enUS.d.ts +7 -0
- package/lib/locales/common/enUS.js +8 -1
- package/lib/locales/common/frFR.d.ts +3 -0
- package/lib/locales/common/frFR.js +103 -0
- package/lib/locales/common/idID.d.ts +2 -93
- package/lib/locales/common/idID.js +8 -0
- package/lib/locales/common/jaJP.js +8 -0
- package/lib/locales/common/nbNO.js +8 -0
- package/lib/locales/common/ruRU.js +8 -0
- package/lib/locales/common/ukUA.js +8 -0
- package/lib/locales/common/zhCN.js +7 -0
- package/lib/locales/common/zhTW.d.ts +3 -0
- package/lib/locales/common/zhTW.js +102 -0
- package/lib/locales/date/frFR.d.ts +3 -0
- package/lib/locales/date/frFR.js +11 -0
- package/lib/locales/date/idID.d.ts +1 -6
- package/lib/locales/date/zhTW.d.ts +3 -0
- package/lib/locales/date/zhTW.js +11 -0
- package/lib/locales/index.d.ts +4 -0
- package/lib/locales/index.js +9 -1
- package/lib/modal/src/BodyWrapper.d.ts +6 -6
- package/lib/modal/src/Modal.d.ts +36 -36
- package/lib/modal/styles/light.d.ts +3 -3
- package/lib/page-header/src/PageHeader.js +3 -3
- package/lib/page-header/src/styles/index.cssr.js +2 -4
- package/lib/popconfirm/src/Popconfirm.d.ts +30 -30
- package/lib/popconfirm/styles/light.d.ts +3 -3
- package/lib/popover/src/Popover.js +4 -1
- package/lib/popover/src/PopoverBody.js +3 -3
- package/lib/popselect/src/Popselect.d.ts +2 -11
- package/lib/popselect/src/Popselect.js +2 -2
- package/lib/popselect/src/PopselectPanel.d.ts +3 -11
- package/lib/popselect/src/PopselectPanel.js +16 -10
- package/lib/radio/src/Radio.js +3 -3
- package/lib/radio/src/RadioButton.js +4 -5
- package/lib/radio/src/styles/radio-group.cssr.js +8 -4
- package/lib/radio/src/styles/radio.cssr.js +8 -4
- package/lib/radio/src/use-radio.d.ts +0 -3
- package/lib/radio/src/use-radio.js +1 -26
- package/lib/switch/src/Switch.d.ts +16 -1
- package/lib/switch/src/Switch.js +17 -4
- package/lib/switch/src/styles/index.cssr.js +1 -1
- package/lib/tabs/src/styles/index.cssr.js +1 -0
- package/lib/tag/src/styles/index.cssr.js +1 -1
- package/lib/theme-editor/src/ThemeEditor.js +9 -2
- package/lib/time-picker/src/Panel.d.ts +3 -3
- package/lib/time-picker/src/TimePicker.d.ts +30 -30
- package/lib/time-picker/styles/light.d.ts +3 -3
- package/lib/transfer/src/Transfer.d.ts +30 -30
- package/lib/transfer/src/TransferFilter.d.ts +3 -3
- package/lib/transfer/src/TransferList.d.ts +3 -3
- package/lib/transfer/src/TransferListItem.d.ts +3 -3
- package/lib/transfer/styles/light.d.ts +3 -3
- package/lib/tree/src/Tree.d.ts +8 -4
- package/lib/tree/src/Tree.js +32 -6
- package/lib/tree-select/src/TreeSelect.d.ts +38 -1
- package/lib/tree-select/src/TreeSelect.js +24 -9
- package/lib/tree-select/src/styles/index.cssr.js +11 -2
- package/lib/tree-select/styles/light.d.ts +6 -0
- package/lib/tree-select/styles/light.js +5 -2
- package/lib/upload/src/Upload.d.ts +41 -30
- package/lib/upload/src/Upload.js +33 -23
- package/lib/upload/src/UploadFile.d.ts +4 -4
- package/lib/upload/src/UploadFileList.js +4 -2
- package/lib/upload/src/UploadProgress.d.ts +3 -3
- package/lib/upload/src/interface.d.ts +1 -0
- package/lib/upload/src/styles/index.cssr.js +2 -3
- package/lib/upload/styles/light.d.ts +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +5 -4
- package/web-types.json +99 -7
|
@@ -43,6 +43,351 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
maskInstRef: import("vue").Ref<{
|
|
44
44
|
showOnce: (message: string, duration?: number | undefined) => void;
|
|
45
45
|
} | null>;
|
|
46
|
+
mergedTheme: import("vue").Ref<{
|
|
47
|
+
common: {
|
|
48
|
+
baseColor: string;
|
|
49
|
+
primaryColor: string;
|
|
50
|
+
primaryColorHover: string;
|
|
51
|
+
primaryColorPressed: string;
|
|
52
|
+
primaryColorSuppl: string;
|
|
53
|
+
infoColor: string;
|
|
54
|
+
infoColorHover: string;
|
|
55
|
+
infoColorPressed: string;
|
|
56
|
+
infoColorSuppl: string;
|
|
57
|
+
successColor: string;
|
|
58
|
+
successColorHover: string;
|
|
59
|
+
successColorPressed: string;
|
|
60
|
+
successColorSuppl: string;
|
|
61
|
+
warningColor: string;
|
|
62
|
+
warningColorHover: string;
|
|
63
|
+
warningColorPressed: string;
|
|
64
|
+
warningColorSuppl: string;
|
|
65
|
+
errorColor: string;
|
|
66
|
+
errorColorHover: string;
|
|
67
|
+
errorColorPressed: string;
|
|
68
|
+
errorColorSuppl: string;
|
|
69
|
+
textColorBase: string;
|
|
70
|
+
textColor1: string;
|
|
71
|
+
textColor2: string;
|
|
72
|
+
textColor3: string;
|
|
73
|
+
textColorDisabled: string;
|
|
74
|
+
placeholderColor: string;
|
|
75
|
+
placeholderColorDisabled: string;
|
|
76
|
+
iconColor: string;
|
|
77
|
+
iconColorHover: string;
|
|
78
|
+
iconColorPressed: string;
|
|
79
|
+
iconColorDisabled: string;
|
|
80
|
+
opacity1: string;
|
|
81
|
+
opacity2: string;
|
|
82
|
+
opacity3: string;
|
|
83
|
+
opacity4: string;
|
|
84
|
+
opacity5: string;
|
|
85
|
+
dividerColor: string;
|
|
86
|
+
borderColor: string;
|
|
87
|
+
closeColor: string;
|
|
88
|
+
closeColorHover: string;
|
|
89
|
+
closeColorPressed: string;
|
|
90
|
+
closeColorDisabled: string;
|
|
91
|
+
clearColor: string;
|
|
92
|
+
clearColorHover: string;
|
|
93
|
+
clearColorPressed: string;
|
|
94
|
+
scrollbarColor: string;
|
|
95
|
+
scrollbarColorHover: string;
|
|
96
|
+
scrollbarWidth: string;
|
|
97
|
+
scrollbarHeight: string;
|
|
98
|
+
scrollbarBorderRadius: string;
|
|
99
|
+
progressRailColor: string;
|
|
100
|
+
railColor: string;
|
|
101
|
+
popoverColor: string;
|
|
102
|
+
tableColor: string;
|
|
103
|
+
cardColor: string;
|
|
104
|
+
modalColor: string;
|
|
105
|
+
bodyColor: string;
|
|
106
|
+
tagColor: string;
|
|
107
|
+
avatarColor: string;
|
|
108
|
+
invertedColor: string;
|
|
109
|
+
inputColor: string;
|
|
110
|
+
codeColor: string;
|
|
111
|
+
tabColor: string;
|
|
112
|
+
actionColor: string;
|
|
113
|
+
tableHeaderColor: string;
|
|
114
|
+
hoverColor: string;
|
|
115
|
+
tableColorHover: string;
|
|
116
|
+
tableColorStriped: string;
|
|
117
|
+
pressedColor: string;
|
|
118
|
+
opacityDisabled: string;
|
|
119
|
+
inputColorDisabled: string;
|
|
120
|
+
buttonColor2: string;
|
|
121
|
+
buttonColor2Hover: string;
|
|
122
|
+
buttonColor2Pressed: string;
|
|
123
|
+
boxShadow1: string;
|
|
124
|
+
boxShadow2: string;
|
|
125
|
+
boxShadow3: string;
|
|
126
|
+
fontFamily: string;
|
|
127
|
+
fontFamilyMono: string;
|
|
128
|
+
fontWeight: string;
|
|
129
|
+
fontWeightStrong: string;
|
|
130
|
+
cubicBezierEaseInOut: string;
|
|
131
|
+
cubicBezierEaseOut: string;
|
|
132
|
+
cubicBezierEaseIn: string;
|
|
133
|
+
borderRadius: string;
|
|
134
|
+
borderRadiusSmall: string;
|
|
135
|
+
fontSize: string;
|
|
136
|
+
fontSizeTiny: string;
|
|
137
|
+
fontSizeSmall: string;
|
|
138
|
+
fontSizeMedium: string;
|
|
139
|
+
fontSizeLarge: string;
|
|
140
|
+
fontSizeHuge: string;
|
|
141
|
+
lineHeight: string;
|
|
142
|
+
heightTiny: string;
|
|
143
|
+
heightSmall: string;
|
|
144
|
+
heightMedium: string;
|
|
145
|
+
heightLarge: string;
|
|
146
|
+
heightHuge: string;
|
|
147
|
+
transformDebounceScale: string;
|
|
148
|
+
name: "common";
|
|
149
|
+
};
|
|
150
|
+
self: {
|
|
151
|
+
menuBorderRadius: string;
|
|
152
|
+
menuColor: string;
|
|
153
|
+
menuBoxShadow: string;
|
|
154
|
+
menuDividerColor: string;
|
|
155
|
+
menuHeight: string;
|
|
156
|
+
optionArrowColor: string;
|
|
157
|
+
optionHeight: string;
|
|
158
|
+
optionFontSize: string;
|
|
159
|
+
optionColorHover: string;
|
|
160
|
+
optionTextColor: string;
|
|
161
|
+
optionTextColorActive: string;
|
|
162
|
+
optionTextColorDisabled: string;
|
|
163
|
+
optionCheckMarkColor: string;
|
|
164
|
+
loadingColor: string;
|
|
165
|
+
columnWidth: string;
|
|
166
|
+
};
|
|
167
|
+
peers: {
|
|
168
|
+
InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
|
|
169
|
+
optionFontSizeSmall: string;
|
|
170
|
+
optionFontSizeMedium: string;
|
|
171
|
+
optionFontSizeLarge: string;
|
|
172
|
+
optionFontSizeHuge: string;
|
|
173
|
+
optionHeightSmall: string;
|
|
174
|
+
optionHeightMedium: string;
|
|
175
|
+
optionHeightLarge: string;
|
|
176
|
+
optionHeightHuge: string;
|
|
177
|
+
borderRadius: string;
|
|
178
|
+
color: string;
|
|
179
|
+
groupHeaderTextColor: string;
|
|
180
|
+
actionDividerColor: string;
|
|
181
|
+
optionTextColor: string;
|
|
182
|
+
optionTextColorPressed: string;
|
|
183
|
+
optionTextColorDisabled: string;
|
|
184
|
+
optionTextColorActive: string;
|
|
185
|
+
optionOpacityDisabled: string;
|
|
186
|
+
optionCheckColor: string;
|
|
187
|
+
optionColorPending: string;
|
|
188
|
+
optionColorActive: string;
|
|
189
|
+
actionTextColor: string;
|
|
190
|
+
loadingColor: string;
|
|
191
|
+
height: string;
|
|
192
|
+
paddingSmall: string;
|
|
193
|
+
paddingMedium: string;
|
|
194
|
+
paddingLarge: string;
|
|
195
|
+
paddingHuge: string;
|
|
196
|
+
optionPaddingSmall: string;
|
|
197
|
+
optionPaddingMedium: string;
|
|
198
|
+
optionPaddingLarge: string;
|
|
199
|
+
optionPaddingHuge: string;
|
|
200
|
+
loadingSize: string;
|
|
201
|
+
}, {
|
|
202
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
203
|
+
color: string;
|
|
204
|
+
colorHover: string;
|
|
205
|
+
}, any>;
|
|
206
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
207
|
+
fontSizeSmall: string;
|
|
208
|
+
fontSizeMedium: string;
|
|
209
|
+
fontSizeLarge: string;
|
|
210
|
+
fontSizeHuge: string;
|
|
211
|
+
textColor: string;
|
|
212
|
+
iconColor: string;
|
|
213
|
+
extraTextColor: string;
|
|
214
|
+
iconSizeSmall: string;
|
|
215
|
+
iconSizeMedium: string;
|
|
216
|
+
iconSizeLarge: string;
|
|
217
|
+
iconSizeHuge: string;
|
|
218
|
+
}, any>;
|
|
219
|
+
}>;
|
|
220
|
+
InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
|
|
221
|
+
fontSizeTiny: string;
|
|
222
|
+
fontSizeSmall: string;
|
|
223
|
+
fontSizeMedium: string;
|
|
224
|
+
fontSizeLarge: string;
|
|
225
|
+
heightTiny: string;
|
|
226
|
+
heightSmall: string;
|
|
227
|
+
heightMedium: string;
|
|
228
|
+
heightLarge: string;
|
|
229
|
+
borderRadius: string;
|
|
230
|
+
textColor: string;
|
|
231
|
+
textColorDisabled: string;
|
|
232
|
+
placeholderColor: string;
|
|
233
|
+
placeholderColorDisabled: string;
|
|
234
|
+
color: string;
|
|
235
|
+
colorDisabled: string;
|
|
236
|
+
colorActive: string;
|
|
237
|
+
border: string;
|
|
238
|
+
borderHover: string;
|
|
239
|
+
borderActive: string;
|
|
240
|
+
borderFocus: string;
|
|
241
|
+
boxShadowHover: null;
|
|
242
|
+
boxShadowActive: string;
|
|
243
|
+
boxShadowFocus: string;
|
|
244
|
+
caretColor: string;
|
|
245
|
+
arrowColor: string;
|
|
246
|
+
arrowColorDisabled: string;
|
|
247
|
+
loadingColor: string;
|
|
248
|
+
borderWarning: string;
|
|
249
|
+
borderHoverWarning: string;
|
|
250
|
+
borderActiveWarning: string;
|
|
251
|
+
borderFocusWarning: string;
|
|
252
|
+
boxShadowHoverWarning: null;
|
|
253
|
+
boxShadowActiveWarning: string;
|
|
254
|
+
boxShadowFocusWarning: string;
|
|
255
|
+
colorActiveWarning: string;
|
|
256
|
+
caretColorWarning: string;
|
|
257
|
+
borderError: string;
|
|
258
|
+
borderHoverError: string;
|
|
259
|
+
borderActiveError: string;
|
|
260
|
+
borderFocusError: string;
|
|
261
|
+
boxShadowHoverError: null;
|
|
262
|
+
boxShadowActiveError: string;
|
|
263
|
+
boxShadowFocusError: string;
|
|
264
|
+
colorActiveError: string;
|
|
265
|
+
caretColorError: string;
|
|
266
|
+
clearColor: string;
|
|
267
|
+
clearColorHover: string;
|
|
268
|
+
clearColorPressed: string;
|
|
269
|
+
paddingSingle: string;
|
|
270
|
+
clearSize: string;
|
|
271
|
+
arrowSize: string;
|
|
272
|
+
}, {
|
|
273
|
+
Popover: import("../../_mixins").Theme<"Popover", {
|
|
274
|
+
fontSize: string;
|
|
275
|
+
borderRadius: string;
|
|
276
|
+
color: string;
|
|
277
|
+
dividerColor: string;
|
|
278
|
+
textColor: string;
|
|
279
|
+
boxShadow: string;
|
|
280
|
+
space: string;
|
|
281
|
+
spaceArrow: string;
|
|
282
|
+
arrowOffset: string;
|
|
283
|
+
arrowOffsetVertical: string;
|
|
284
|
+
arrowHeight: string;
|
|
285
|
+
padding: string;
|
|
286
|
+
}, any>;
|
|
287
|
+
}>;
|
|
288
|
+
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
289
|
+
color: string;
|
|
290
|
+
colorHover: string;
|
|
291
|
+
}, any>;
|
|
292
|
+
Checkbox: import("../../_mixins").Theme<"Checkbox", {
|
|
293
|
+
fontSizeSmall: string;
|
|
294
|
+
fontSizeMedium: string;
|
|
295
|
+
fontSizeLarge: string;
|
|
296
|
+
borderRadius: string;
|
|
297
|
+
color: string;
|
|
298
|
+
colorChecked: string;
|
|
299
|
+
colorDisabled: string;
|
|
300
|
+
colorDisabledChecked: string;
|
|
301
|
+
colorTableHeader: string;
|
|
302
|
+
colorTableHeaderModal: string;
|
|
303
|
+
colorTableHeaderPopover: string;
|
|
304
|
+
checkMarkColor: string;
|
|
305
|
+
checkMarkColorDisabled: string;
|
|
306
|
+
checkMarkColorDisabledChecked: string;
|
|
307
|
+
border: string;
|
|
308
|
+
borderDisabled: string;
|
|
309
|
+
borderDisabledChecked: string;
|
|
310
|
+
borderChecked: string;
|
|
311
|
+
borderFocus: string;
|
|
312
|
+
boxShadowFocus: string;
|
|
313
|
+
textColor: string;
|
|
314
|
+
textColorDisabled: string;
|
|
315
|
+
sizeSmall: string;
|
|
316
|
+
sizeMedium: string;
|
|
317
|
+
sizeLarge: string;
|
|
318
|
+
labelPadding: string;
|
|
319
|
+
}, any>;
|
|
320
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
321
|
+
fontSizeSmall: string;
|
|
322
|
+
fontSizeMedium: string;
|
|
323
|
+
fontSizeLarge: string;
|
|
324
|
+
fontSizeHuge: string;
|
|
325
|
+
textColor: string;
|
|
326
|
+
iconColor: string;
|
|
327
|
+
extraTextColor: string;
|
|
328
|
+
iconSizeSmall: string;
|
|
329
|
+
iconSizeMedium: string;
|
|
330
|
+
iconSizeLarge: string;
|
|
331
|
+
iconSizeHuge: string;
|
|
332
|
+
}, any>;
|
|
333
|
+
};
|
|
334
|
+
peerOverrides: {
|
|
335
|
+
InternalSelectMenu?: {
|
|
336
|
+
peers?: {
|
|
337
|
+
Scrollbar?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Scrollbar", {
|
|
338
|
+
color: string;
|
|
339
|
+
colorHover: string;
|
|
340
|
+
}, any>> | undefined;
|
|
341
|
+
Empty?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
342
|
+
fontSizeSmall: string;
|
|
343
|
+
fontSizeMedium: string;
|
|
344
|
+
fontSizeLarge: string;
|
|
345
|
+
fontSizeHuge: string;
|
|
346
|
+
textColor: string;
|
|
347
|
+
iconColor: string;
|
|
348
|
+
extraTextColor: string;
|
|
349
|
+
iconSizeSmall: string;
|
|
350
|
+
iconSizeMedium: string;
|
|
351
|
+
iconSizeLarge: string;
|
|
352
|
+
iconSizeHuge: string;
|
|
353
|
+
}, any>> | undefined;
|
|
354
|
+
} | undefined;
|
|
355
|
+
} | undefined;
|
|
356
|
+
InternalSelection?: {
|
|
357
|
+
peers?: {
|
|
358
|
+
Popover?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Popover", {
|
|
359
|
+
fontSize: string;
|
|
360
|
+
borderRadius: string;
|
|
361
|
+
color: string;
|
|
362
|
+
dividerColor: string;
|
|
363
|
+
textColor: string;
|
|
364
|
+
boxShadow: string;
|
|
365
|
+
space: string;
|
|
366
|
+
spaceArrow: string;
|
|
367
|
+
arrowOffset: string;
|
|
368
|
+
arrowOffsetVertical: string;
|
|
369
|
+
arrowHeight: string;
|
|
370
|
+
padding: string;
|
|
371
|
+
}, any>> | undefined;
|
|
372
|
+
} | undefined;
|
|
373
|
+
} | undefined;
|
|
374
|
+
Scrollbar?: {
|
|
375
|
+
peers?: {
|
|
376
|
+
[x: string]: any;
|
|
377
|
+
} | undefined;
|
|
378
|
+
} | undefined;
|
|
379
|
+
Checkbox?: {
|
|
380
|
+
peers?: {
|
|
381
|
+
[x: string]: any;
|
|
382
|
+
} | undefined;
|
|
383
|
+
} | undefined;
|
|
384
|
+
Empty?: {
|
|
385
|
+
peers?: {
|
|
386
|
+
[x: string]: any;
|
|
387
|
+
} | undefined;
|
|
388
|
+
} | undefined;
|
|
389
|
+
};
|
|
390
|
+
}>;
|
|
46
391
|
handleFocusin: (e: FocusEvent) => void;
|
|
47
392
|
handleFocusout: (e: FocusEvent) => void;
|
|
48
393
|
handleClickOutside: (e: MouseEvent) => void;
|
|
@@ -46,7 +46,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
setup(props) {
|
|
49
|
-
const { localeRef, isMountedRef, mergedClsPrefixRef, syncCascaderMenuPosition, handleCascaderMenuClickOutside
|
|
49
|
+
const { localeRef, isMountedRef, mergedClsPrefixRef, syncCascaderMenuPosition, handleCascaderMenuClickOutside, mergedThemeRef
|
|
50
50
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
51
51
|
} = (0, vue_1.inject)(interface_1.cascaderInjectionKey);
|
|
52
52
|
const submenuInstRefs = [];
|
|
@@ -97,13 +97,12 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
97
97
|
};
|
|
98
98
|
return Object.assign({ isMounted: isMountedRef, mergedClsPrefix: mergedClsPrefixRef, selfElRef,
|
|
99
99
|
submenuInstRefs,
|
|
100
|
-
maskInstRef,
|
|
101
|
-
handleFocusin,
|
|
100
|
+
maskInstRef, mergedTheme: mergedThemeRef, handleFocusin,
|
|
102
101
|
handleFocusout,
|
|
103
102
|
handleClickOutside }, exposedRef);
|
|
104
103
|
},
|
|
105
104
|
render() {
|
|
106
|
-
const { submenuInstRefs, mergedClsPrefix, $slots } = this;
|
|
105
|
+
const { submenuInstRefs, mergedClsPrefix, $slots, mergedTheme } = this;
|
|
107
106
|
return ((0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted }, {
|
|
108
107
|
default: () => {
|
|
109
108
|
if (!this.show)
|
|
@@ -117,7 +116,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
117
116
|
submenuInstRefs[index] = instance;
|
|
118
117
|
}
|
|
119
118
|
}), key: index, tmNodes: submenuOptions, depth: index + 1 }))),
|
|
120
|
-
(0, vue_1.h)(_internal_1.NBaseMenuMask, { clsPrefix: mergedClsPrefix, ref: "maskInstRef" }))) : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-cascader-menu__empty` }, (0, vue_1.renderSlot)($slots, 'empty', undefined, () => [
|
|
119
|
+
(0, vue_1.h)(_internal_1.NBaseMenuMask, { clsPrefix: mergedClsPrefix, ref: "maskInstRef" }))) : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-cascader-menu__empty` }, (0, vue_1.renderSlot)($slots, 'empty', undefined, () => [
|
|
120
|
+
(0, vue_1.h)(empty_1.NEmpty, { theme: mergedTheme.peers.Empty, themeOverrides: mergedTheme.peerOverrides.Empty })
|
|
121
|
+
]))),
|
|
121
122
|
$slots.action && ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-cascader-menu-action`, "data-action": true }, {
|
|
122
123
|
default: $slots.action
|
|
123
124
|
})),
|
|
@@ -293,6 +293,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
293
293
|
sizeLarge: string;
|
|
294
294
|
labelPadding: string;
|
|
295
295
|
}, any>;
|
|
296
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
297
|
+
fontSizeSmall: string;
|
|
298
|
+
fontSizeMedium: string;
|
|
299
|
+
fontSizeLarge: string;
|
|
300
|
+
fontSizeHuge: string;
|
|
301
|
+
textColor: string;
|
|
302
|
+
iconColor: string;
|
|
303
|
+
extraTextColor: string;
|
|
304
|
+
iconSizeSmall: string;
|
|
305
|
+
iconSizeMedium: string;
|
|
306
|
+
iconSizeLarge: string;
|
|
307
|
+
iconSizeHuge: string;
|
|
308
|
+
}, any>;
|
|
296
309
|
};
|
|
297
310
|
peerOverrides: {
|
|
298
311
|
InternalSelectMenu?: {
|
|
@@ -344,6 +357,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
344
357
|
[x: string]: any;
|
|
345
358
|
} | undefined;
|
|
346
359
|
} | undefined;
|
|
360
|
+
Empty?: {
|
|
361
|
+
peers?: {
|
|
362
|
+
[x: string]: any;
|
|
363
|
+
} | undefined;
|
|
364
|
+
} | undefined;
|
|
347
365
|
};
|
|
348
366
|
}>;
|
|
349
367
|
handleClick: (e: MouseEvent) => void;
|
|
@@ -305,6 +305,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
305
305
|
sizeLarge: string;
|
|
306
306
|
labelPadding: string;
|
|
307
307
|
}, any>;
|
|
308
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
309
|
+
fontSizeSmall: string;
|
|
310
|
+
fontSizeMedium: string;
|
|
311
|
+
fontSizeLarge: string;
|
|
312
|
+
fontSizeHuge: string;
|
|
313
|
+
textColor: string;
|
|
314
|
+
iconColor: string;
|
|
315
|
+
extraTextColor: string;
|
|
316
|
+
iconSizeSmall: string;
|
|
317
|
+
iconSizeMedium: string;
|
|
318
|
+
iconSizeLarge: string;
|
|
319
|
+
iconSizeHuge: string;
|
|
320
|
+
}, any>;
|
|
308
321
|
};
|
|
309
322
|
peerOverrides: {
|
|
310
323
|
InternalSelectMenu?: {
|
|
@@ -356,6 +369,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
356
369
|
[x: string]: any;
|
|
357
370
|
} | undefined;
|
|
358
371
|
} | undefined;
|
|
372
|
+
Empty?: {
|
|
373
|
+
peers?: {
|
|
374
|
+
[x: string]: any;
|
|
375
|
+
} | undefined;
|
|
376
|
+
} | undefined;
|
|
359
377
|
};
|
|
360
378
|
}>;
|
|
361
379
|
mergedClsPrefix: import("vue").Ref<string>;
|
|
@@ -286,6 +286,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
286
286
|
sizeLarge: string;
|
|
287
287
|
labelPadding: string;
|
|
288
288
|
}, any>;
|
|
289
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
290
|
+
fontSizeSmall: string;
|
|
291
|
+
fontSizeMedium: string;
|
|
292
|
+
fontSizeLarge: string;
|
|
293
|
+
fontSizeHuge: string;
|
|
294
|
+
textColor: string;
|
|
295
|
+
iconColor: string;
|
|
296
|
+
extraTextColor: string;
|
|
297
|
+
iconSizeSmall: string;
|
|
298
|
+
iconSizeMedium: string;
|
|
299
|
+
iconSizeLarge: string;
|
|
300
|
+
iconSizeHuge: string;
|
|
301
|
+
}, any>;
|
|
289
302
|
};
|
|
290
303
|
peerOverrides: {
|
|
291
304
|
InternalSelectMenu?: {
|
|
@@ -337,6 +350,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
337
350
|
[x: string]: any;
|
|
338
351
|
} | undefined;
|
|
339
352
|
} | undefined;
|
|
353
|
+
Empty?: {
|
|
354
|
+
peers?: {
|
|
355
|
+
[x: string]: any;
|
|
356
|
+
} | undefined;
|
|
357
|
+
} | undefined;
|
|
340
358
|
};
|
|
341
359
|
}>;
|
|
342
360
|
scrollbarInstRef: import("vue").Ref<{
|
|
@@ -6,6 +6,7 @@ const styles_3 = require("../../_internal/scrollbar/styles");
|
|
|
6
6
|
const styles_4 = require("../../checkbox/styles");
|
|
7
7
|
const common_1 = require("../../_styles/common");
|
|
8
8
|
const light_1 = require("./light");
|
|
9
|
+
const styles_5 = require("../../empty/styles");
|
|
9
10
|
const cascaderDark = {
|
|
10
11
|
name: 'Cascader',
|
|
11
12
|
common: common_1.commonDark,
|
|
@@ -13,7 +14,8 @@ const cascaderDark = {
|
|
|
13
14
|
InternalSelectMenu: styles_2.internalSelectMenuDark,
|
|
14
15
|
InternalSelection: styles_1.internalSelectionDark,
|
|
15
16
|
Scrollbar: styles_3.scrollbarDark,
|
|
16
|
-
Checkbox: styles_4.checkboxDark
|
|
17
|
+
Checkbox: styles_4.checkboxDark,
|
|
18
|
+
Empty: styles_5.emptyLight
|
|
17
19
|
},
|
|
18
20
|
self: light_1.self
|
|
19
21
|
};
|
|
@@ -186,6 +186,19 @@ declare const cascaderLight: import("../../_mixins").Theme<"Cascader", {
|
|
|
186
186
|
sizeLarge: string;
|
|
187
187
|
labelPadding: string;
|
|
188
188
|
}, any>;
|
|
189
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
190
|
+
fontSizeSmall: string;
|
|
191
|
+
fontSizeMedium: string;
|
|
192
|
+
fontSizeLarge: string;
|
|
193
|
+
fontSizeHuge: string;
|
|
194
|
+
textColor: string;
|
|
195
|
+
iconColor: string;
|
|
196
|
+
extraTextColor: string;
|
|
197
|
+
iconSizeSmall: string;
|
|
198
|
+
iconSizeMedium: string;
|
|
199
|
+
iconSizeLarge: string;
|
|
200
|
+
iconSizeHuge: string;
|
|
201
|
+
}, any>;
|
|
189
202
|
}>;
|
|
190
203
|
export default cascaderLight;
|
|
191
204
|
export declare type CascaderTheme = typeof cascaderLight;
|
|
@@ -7,6 +7,7 @@ const styles_3 = require("../../_internal/scrollbar/styles");
|
|
|
7
7
|
const styles_4 = require("../../checkbox/styles");
|
|
8
8
|
const common_1 = require("../../_styles/common");
|
|
9
9
|
const _mixins_1 = require("../../_mixins");
|
|
10
|
+
const styles_5 = require("../../empty/styles");
|
|
10
11
|
const self = (vars) => {
|
|
11
12
|
const { borderRadius, boxShadow2, popoverColor, textColor2, textColor3, primaryColor, textColorDisabled, dividerColor, hoverColor, fontSizeMedium, heightMedium } = vars;
|
|
12
13
|
return {
|
|
@@ -35,7 +36,8 @@ const cascaderLight = (0, _mixins_1.createTheme)({
|
|
|
35
36
|
InternalSelectMenu: styles_2.internalSelectMenuLight,
|
|
36
37
|
InternalSelection: styles_1.internalSelectionLight,
|
|
37
38
|
Scrollbar: styles_3.scrollbarLight,
|
|
38
|
-
Checkbox: styles_4.checkboxLight
|
|
39
|
+
Checkbox: styles_4.checkboxLight,
|
|
40
|
+
Empty: styles_5.emptyLight
|
|
39
41
|
},
|
|
40
42
|
self: exports.self
|
|
41
43
|
});
|
|
@@ -208,9 +208,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
208
208
|
fontSizeMedium: string;
|
|
209
209
|
fontSizeLarge: string;
|
|
210
210
|
opacityDisabled: string;
|
|
211
|
-
colorOpacitySecondary:
|
|
212
|
-
colorOpacitySecondaryHover:
|
|
213
|
-
colorOpacitySecondaryPressed:
|
|
211
|
+
colorOpacitySecondary: string;
|
|
212
|
+
colorOpacitySecondaryHover: string;
|
|
213
|
+
colorOpacitySecondaryPressed: string;
|
|
214
214
|
colorSecondary: string;
|
|
215
215
|
colorSecondaryHover: string;
|
|
216
216
|
colorSecondaryPressed: string;
|
|
@@ -130,9 +130,9 @@ export declare const colorPickerPanelProps: {
|
|
|
130
130
|
fontSizeMedium: string;
|
|
131
131
|
fontSizeLarge: string;
|
|
132
132
|
opacityDisabled: string;
|
|
133
|
-
colorOpacitySecondary:
|
|
134
|
-
colorOpacitySecondaryHover:
|
|
135
|
-
colorOpacitySecondaryPressed:
|
|
133
|
+
colorOpacitySecondary: string;
|
|
134
|
+
colorOpacitySecondaryHover: string;
|
|
135
|
+
colorOpacitySecondaryPressed: string;
|
|
136
136
|
colorSecondary: string;
|
|
137
137
|
colorSecondaryHover: string;
|
|
138
138
|
colorSecondaryPressed: string;
|
|
@@ -410,9 +410,9 @@ export declare const colorPickerPanelProps: {
|
|
|
410
410
|
fontSizeMedium: string;
|
|
411
411
|
fontSizeLarge: string;
|
|
412
412
|
opacityDisabled: string;
|
|
413
|
-
colorOpacitySecondary:
|
|
414
|
-
colorOpacitySecondaryHover:
|
|
415
|
-
colorOpacitySecondaryPressed:
|
|
413
|
+
colorOpacitySecondary: string;
|
|
414
|
+
colorOpacitySecondaryHover: string;
|
|
415
|
+
colorOpacitySecondaryPressed: string;
|
|
416
416
|
colorSecondary: string;
|
|
417
417
|
colorSecondaryHover: string;
|
|
418
418
|
colorSecondaryPressed: string;
|
|
@@ -690,9 +690,9 @@ export declare const colorPickerPanelProps: {
|
|
|
690
690
|
fontSizeMedium: string;
|
|
691
691
|
fontSizeLarge: string;
|
|
692
692
|
opacityDisabled: string;
|
|
693
|
-
colorOpacitySecondary:
|
|
694
|
-
colorOpacitySecondaryHover:
|
|
695
|
-
colorOpacitySecondaryPressed:
|
|
693
|
+
colorOpacitySecondary: string;
|
|
694
|
+
colorOpacitySecondaryHover: string;
|
|
695
|
+
colorOpacitySecondaryPressed: string;
|
|
696
696
|
colorSecondary: string;
|
|
697
697
|
colorSecondaryHover: string;
|
|
698
698
|
colorSecondaryPressed: string;
|
|
@@ -1009,9 +1009,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1009
1009
|
fontSizeMedium: string;
|
|
1010
1010
|
fontSizeLarge: string;
|
|
1011
1011
|
opacityDisabled: string;
|
|
1012
|
-
colorOpacitySecondary:
|
|
1013
|
-
colorOpacitySecondaryHover:
|
|
1014
|
-
colorOpacitySecondaryPressed:
|
|
1012
|
+
colorOpacitySecondary: string;
|
|
1013
|
+
colorOpacitySecondaryHover: string;
|
|
1014
|
+
colorOpacitySecondaryPressed: string;
|
|
1015
1015
|
colorSecondary: string;
|
|
1016
1016
|
colorSecondaryHover: string;
|
|
1017
1017
|
colorSecondaryPressed: string;
|
|
@@ -1289,9 +1289,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1289
1289
|
fontSizeMedium: string;
|
|
1290
1290
|
fontSizeLarge: string;
|
|
1291
1291
|
opacityDisabled: string;
|
|
1292
|
-
colorOpacitySecondary:
|
|
1293
|
-
colorOpacitySecondaryHover:
|
|
1294
|
-
colorOpacitySecondaryPressed:
|
|
1292
|
+
colorOpacitySecondary: string;
|
|
1293
|
+
colorOpacitySecondaryHover: string;
|
|
1294
|
+
colorOpacitySecondaryPressed: string;
|
|
1295
1295
|
colorSecondary: string;
|
|
1296
1296
|
colorSecondaryHover: string;
|
|
1297
1297
|
colorSecondaryPressed: string;
|
|
@@ -1569,9 +1569,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1569
1569
|
fontSizeMedium: string;
|
|
1570
1570
|
fontSizeLarge: string;
|
|
1571
1571
|
opacityDisabled: string;
|
|
1572
|
-
colorOpacitySecondary:
|
|
1573
|
-
colorOpacitySecondaryHover:
|
|
1574
|
-
colorOpacitySecondaryPressed:
|
|
1572
|
+
colorOpacitySecondary: string;
|
|
1573
|
+
colorOpacitySecondaryHover: string;
|
|
1574
|
+
colorOpacitySecondaryPressed: string;
|
|
1575
1575
|
colorSecondary: string;
|
|
1576
1576
|
colorSecondaryHover: string;
|
|
1577
1577
|
colorSecondaryPressed: string;
|
|
@@ -1906,9 +1906,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1906
1906
|
fontSizeMedium: string;
|
|
1907
1907
|
fontSizeLarge: string;
|
|
1908
1908
|
opacityDisabled: string;
|
|
1909
|
-
colorOpacitySecondary:
|
|
1910
|
-
colorOpacitySecondaryHover:
|
|
1911
|
-
colorOpacitySecondaryPressed:
|
|
1909
|
+
colorOpacitySecondary: string;
|
|
1910
|
+
colorOpacitySecondaryHover: string;
|
|
1911
|
+
colorOpacitySecondaryPressed: string;
|
|
1912
1912
|
colorSecondary: string;
|
|
1913
1913
|
colorSecondaryHover: string;
|
|
1914
1914
|
colorSecondaryPressed: string;
|
|
@@ -2186,9 +2186,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2186
2186
|
fontSizeMedium: string;
|
|
2187
2187
|
fontSizeLarge: string;
|
|
2188
2188
|
opacityDisabled: string;
|
|
2189
|
-
colorOpacitySecondary:
|
|
2190
|
-
colorOpacitySecondaryHover:
|
|
2191
|
-
colorOpacitySecondaryPressed:
|
|
2189
|
+
colorOpacitySecondary: string;
|
|
2190
|
+
colorOpacitySecondaryHover: string;
|
|
2191
|
+
colorOpacitySecondaryPressed: string;
|
|
2192
2192
|
colorSecondary: string;
|
|
2193
2193
|
colorSecondaryHover: string;
|
|
2194
2194
|
colorSecondaryPressed: string;
|
|
@@ -2466,9 +2466,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2466
2466
|
fontSizeMedium: string;
|
|
2467
2467
|
fontSizeLarge: string;
|
|
2468
2468
|
opacityDisabled: string;
|
|
2469
|
-
colorOpacitySecondary:
|
|
2470
|
-
colorOpacitySecondaryHover:
|
|
2471
|
-
colorOpacitySecondaryPressed:
|
|
2469
|
+
colorOpacitySecondary: string;
|
|
2470
|
+
colorOpacitySecondaryHover: string;
|
|
2471
|
+
colorOpacitySecondaryPressed: string;
|
|
2472
2472
|
colorSecondary: string;
|
|
2473
2473
|
colorSecondaryHover: string;
|
|
2474
2474
|
colorSecondaryPressed: string;
|