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
|
@@ -46,9 +46,9 @@ declare const calendarProps: {
|
|
|
46
46
|
fontSizeMedium: string;
|
|
47
47
|
fontSizeLarge: string;
|
|
48
48
|
opacityDisabled: string;
|
|
49
|
-
colorOpacitySecondary:
|
|
50
|
-
colorOpacitySecondaryHover:
|
|
51
|
-
colorOpacitySecondaryPressed:
|
|
49
|
+
colorOpacitySecondary: string;
|
|
50
|
+
colorOpacitySecondaryHover: string;
|
|
51
|
+
colorOpacitySecondaryPressed: string;
|
|
52
52
|
colorSecondary: string;
|
|
53
53
|
colorSecondaryHover: string;
|
|
54
54
|
colorSecondaryPressed: string;
|
|
@@ -273,9 +273,9 @@ declare const calendarProps: {
|
|
|
273
273
|
fontSizeMedium: string;
|
|
274
274
|
fontSizeLarge: string;
|
|
275
275
|
opacityDisabled: string;
|
|
276
|
-
colorOpacitySecondary:
|
|
277
|
-
colorOpacitySecondaryHover:
|
|
278
|
-
colorOpacitySecondaryPressed:
|
|
276
|
+
colorOpacitySecondary: string;
|
|
277
|
+
colorOpacitySecondaryHover: string;
|
|
278
|
+
colorOpacitySecondaryPressed: string;
|
|
279
279
|
colorSecondary: string;
|
|
280
280
|
colorSecondaryHover: string;
|
|
281
281
|
colorSecondaryPressed: string;
|
|
@@ -500,9 +500,9 @@ declare const calendarProps: {
|
|
|
500
500
|
fontSizeMedium: string;
|
|
501
501
|
fontSizeLarge: string;
|
|
502
502
|
opacityDisabled: string;
|
|
503
|
-
colorOpacitySecondary:
|
|
504
|
-
colorOpacitySecondaryHover:
|
|
505
|
-
colorOpacitySecondaryPressed:
|
|
503
|
+
colorOpacitySecondary: string;
|
|
504
|
+
colorOpacitySecondaryHover: string;
|
|
505
|
+
colorOpacitySecondaryPressed: string;
|
|
506
506
|
colorSecondary: string;
|
|
507
507
|
colorSecondaryHover: string;
|
|
508
508
|
colorSecondaryPressed: string;
|
|
@@ -738,9 +738,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
738
738
|
fontSizeMedium: string;
|
|
739
739
|
fontSizeLarge: string;
|
|
740
740
|
opacityDisabled: string;
|
|
741
|
-
colorOpacitySecondary:
|
|
742
|
-
colorOpacitySecondaryHover:
|
|
743
|
-
colorOpacitySecondaryPressed:
|
|
741
|
+
colorOpacitySecondary: string;
|
|
742
|
+
colorOpacitySecondaryHover: string;
|
|
743
|
+
colorOpacitySecondaryPressed: string;
|
|
744
744
|
colorSecondary: string;
|
|
745
745
|
colorSecondaryHover: string;
|
|
746
746
|
colorSecondaryPressed: string;
|
|
@@ -965,9 +965,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
965
965
|
fontSizeMedium: string;
|
|
966
966
|
fontSizeLarge: string;
|
|
967
967
|
opacityDisabled: string;
|
|
968
|
-
colorOpacitySecondary:
|
|
969
|
-
colorOpacitySecondaryHover:
|
|
970
|
-
colorOpacitySecondaryPressed:
|
|
968
|
+
colorOpacitySecondary: string;
|
|
969
|
+
colorOpacitySecondaryHover: string;
|
|
970
|
+
colorOpacitySecondaryPressed: string;
|
|
971
971
|
colorSecondary: string;
|
|
972
972
|
colorSecondaryHover: string;
|
|
973
973
|
colorSecondaryPressed: string;
|
|
@@ -1192,9 +1192,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1192
1192
|
fontSizeMedium: string;
|
|
1193
1193
|
fontSizeLarge: string;
|
|
1194
1194
|
opacityDisabled: string;
|
|
1195
|
-
colorOpacitySecondary:
|
|
1196
|
-
colorOpacitySecondaryHover:
|
|
1197
|
-
colorOpacitySecondaryPressed:
|
|
1195
|
+
colorOpacitySecondary: string;
|
|
1196
|
+
colorOpacitySecondaryHover: string;
|
|
1197
|
+
colorOpacitySecondaryPressed: string;
|
|
1198
1198
|
colorSecondary: string;
|
|
1199
1199
|
colorSecondaryHover: string;
|
|
1200
1200
|
colorSecondaryPressed: string;
|
|
@@ -1389,6 +1389,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1389
1389
|
yearFormat: string;
|
|
1390
1390
|
monthFormat: string;
|
|
1391
1391
|
dayFormat: string;
|
|
1392
|
+
yearTypeFormat: string;
|
|
1393
|
+
monthTypeFormat: string;
|
|
1394
|
+
dateFormat: string;
|
|
1395
|
+
dateTimeFormat: string;
|
|
1396
|
+
quarterFormat: string;
|
|
1392
1397
|
clear: string;
|
|
1393
1398
|
now: string;
|
|
1394
1399
|
confirm: string;
|
|
@@ -1397,6 +1402,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1397
1402
|
datePlaceholder: string;
|
|
1398
1403
|
datetimePlaceholder: string;
|
|
1399
1404
|
monthPlaceholder: string;
|
|
1405
|
+
yearPlaceholder: string;
|
|
1406
|
+
quarterPlaceholder: string;
|
|
1400
1407
|
startDatePlaceholder: string;
|
|
1401
1408
|
endDatePlaceholder: string;
|
|
1402
1409
|
startDatetimePlaceholder: string;
|
|
@@ -1555,9 +1562,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1555
1562
|
fontSizeMedium: string;
|
|
1556
1563
|
fontSizeLarge: string;
|
|
1557
1564
|
opacityDisabled: string;
|
|
1558
|
-
colorOpacitySecondary:
|
|
1559
|
-
colorOpacitySecondaryHover:
|
|
1560
|
-
colorOpacitySecondaryPressed:
|
|
1565
|
+
colorOpacitySecondary: string;
|
|
1566
|
+
colorOpacitySecondaryHover: string;
|
|
1567
|
+
colorOpacitySecondaryPressed: string;
|
|
1561
1568
|
colorSecondary: string;
|
|
1562
1569
|
colorSecondaryHover: string;
|
|
1563
1570
|
colorSecondaryPressed: string;
|
|
@@ -1824,9 +1831,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1824
1831
|
fontSizeMedium: string;
|
|
1825
1832
|
fontSizeLarge: string;
|
|
1826
1833
|
opacityDisabled: string;
|
|
1827
|
-
colorOpacitySecondary:
|
|
1828
|
-
colorOpacitySecondaryHover:
|
|
1829
|
-
colorOpacitySecondaryPressed:
|
|
1834
|
+
colorOpacitySecondary: string;
|
|
1835
|
+
colorOpacitySecondaryHover: string;
|
|
1836
|
+
colorOpacitySecondaryPressed: string;
|
|
1830
1837
|
colorSecondary: string;
|
|
1831
1838
|
colorSecondaryHover: string;
|
|
1832
1839
|
colorSecondaryPressed: string;
|
|
@@ -2051,9 +2058,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2051
2058
|
fontSizeMedium: string;
|
|
2052
2059
|
fontSizeLarge: string;
|
|
2053
2060
|
opacityDisabled: string;
|
|
2054
|
-
colorOpacitySecondary:
|
|
2055
|
-
colorOpacitySecondaryHover:
|
|
2056
|
-
colorOpacitySecondaryPressed:
|
|
2061
|
+
colorOpacitySecondary: string;
|
|
2062
|
+
colorOpacitySecondaryHover: string;
|
|
2063
|
+
colorOpacitySecondaryPressed: string;
|
|
2057
2064
|
colorSecondary: string;
|
|
2058
2065
|
colorSecondaryHover: string;
|
|
2059
2066
|
colorSecondaryPressed: string;
|
|
@@ -2278,9 +2285,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2278
2285
|
fontSizeMedium: string;
|
|
2279
2286
|
fontSizeLarge: string;
|
|
2280
2287
|
opacityDisabled: string;
|
|
2281
|
-
colorOpacitySecondary:
|
|
2282
|
-
colorOpacitySecondaryHover:
|
|
2283
|
-
colorOpacitySecondaryPressed:
|
|
2288
|
+
colorOpacitySecondary: string;
|
|
2289
|
+
colorOpacitySecondaryHover: string;
|
|
2290
|
+
colorOpacitySecondaryPressed: string;
|
|
2284
2291
|
colorSecondary: string;
|
|
2285
2292
|
colorSecondaryHover: string;
|
|
2286
2293
|
colorSecondaryPressed: string;
|
|
@@ -58,9 +58,9 @@ declare const calendarLight: import("../../_mixins").Theme<"Calendar", {
|
|
|
58
58
|
fontSizeMedium: string;
|
|
59
59
|
fontSizeLarge: string;
|
|
60
60
|
opacityDisabled: string;
|
|
61
|
-
colorOpacitySecondary:
|
|
62
|
-
colorOpacitySecondaryHover:
|
|
63
|
-
colorOpacitySecondaryPressed:
|
|
61
|
+
colorOpacitySecondary: string;
|
|
62
|
+
colorOpacitySecondaryHover: string;
|
|
63
|
+
colorOpacitySecondaryPressed: string;
|
|
64
64
|
colorSecondary: string;
|
|
65
65
|
colorSecondaryHover: string;
|
|
66
66
|
colorSecondaryPressed: string;
|
|
@@ -254,6 +254,19 @@ declare const cascaderProps: {
|
|
|
254
254
|
sizeLarge: string;
|
|
255
255
|
labelPadding: string;
|
|
256
256
|
}, any>;
|
|
257
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
258
|
+
fontSizeSmall: string;
|
|
259
|
+
fontSizeMedium: string;
|
|
260
|
+
fontSizeLarge: string;
|
|
261
|
+
fontSizeHuge: string;
|
|
262
|
+
textColor: string;
|
|
263
|
+
iconColor: string;
|
|
264
|
+
extraTextColor: string;
|
|
265
|
+
iconSizeSmall: string;
|
|
266
|
+
iconSizeMedium: string;
|
|
267
|
+
iconSizeLarge: string;
|
|
268
|
+
iconSizeHuge: string;
|
|
269
|
+
}, any>;
|
|
257
270
|
}>>;
|
|
258
271
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
259
272
|
menuBorderRadius: string;
|
|
@@ -424,6 +437,19 @@ declare const cascaderProps: {
|
|
|
424
437
|
sizeLarge: string;
|
|
425
438
|
labelPadding: string;
|
|
426
439
|
}, any>;
|
|
440
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
441
|
+
fontSizeSmall: string;
|
|
442
|
+
fontSizeMedium: string;
|
|
443
|
+
fontSizeLarge: string;
|
|
444
|
+
fontSizeHuge: string;
|
|
445
|
+
textColor: string;
|
|
446
|
+
iconColor: string;
|
|
447
|
+
extraTextColor: string;
|
|
448
|
+
iconSizeSmall: string;
|
|
449
|
+
iconSizeMedium: string;
|
|
450
|
+
iconSizeLarge: string;
|
|
451
|
+
iconSizeHuge: string;
|
|
452
|
+
}, any>;
|
|
427
453
|
}>>>;
|
|
428
454
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
429
455
|
menuBorderRadius: string;
|
|
@@ -594,6 +620,19 @@ declare const cascaderProps: {
|
|
|
594
620
|
sizeLarge: string;
|
|
595
621
|
labelPadding: string;
|
|
596
622
|
}, any>;
|
|
623
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
624
|
+
fontSizeSmall: string;
|
|
625
|
+
fontSizeMedium: string;
|
|
626
|
+
fontSizeLarge: string;
|
|
627
|
+
fontSizeHuge: string;
|
|
628
|
+
textColor: string;
|
|
629
|
+
iconColor: string;
|
|
630
|
+
extraTextColor: string;
|
|
631
|
+
iconSizeSmall: string;
|
|
632
|
+
iconSizeMedium: string;
|
|
633
|
+
iconSizeLarge: string;
|
|
634
|
+
iconSizeHuge: string;
|
|
635
|
+
}, any>;
|
|
597
636
|
}>>>;
|
|
598
637
|
};
|
|
599
638
|
export declare type CascaderProps = ExtractPublicPropTypes<typeof cascaderProps>;
|
|
@@ -847,6 +886,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
847
886
|
sizeLarge: string;
|
|
848
887
|
labelPadding: string;
|
|
849
888
|
}, any>;
|
|
889
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
890
|
+
fontSizeSmall: string;
|
|
891
|
+
fontSizeMedium: string;
|
|
892
|
+
fontSizeLarge: string;
|
|
893
|
+
fontSizeHuge: string;
|
|
894
|
+
textColor: string;
|
|
895
|
+
iconColor: string;
|
|
896
|
+
extraTextColor: string;
|
|
897
|
+
iconSizeSmall: string;
|
|
898
|
+
iconSizeMedium: string;
|
|
899
|
+
iconSizeLarge: string;
|
|
900
|
+
iconSizeHuge: string;
|
|
901
|
+
}, any>;
|
|
850
902
|
}>>;
|
|
851
903
|
readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
852
904
|
menuBorderRadius: string;
|
|
@@ -1017,6 +1069,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1017
1069
|
sizeLarge: string;
|
|
1018
1070
|
labelPadding: string;
|
|
1019
1071
|
}, any>;
|
|
1072
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1073
|
+
fontSizeSmall: string;
|
|
1074
|
+
fontSizeMedium: string;
|
|
1075
|
+
fontSizeLarge: string;
|
|
1076
|
+
fontSizeHuge: string;
|
|
1077
|
+
textColor: string;
|
|
1078
|
+
iconColor: string;
|
|
1079
|
+
extraTextColor: string;
|
|
1080
|
+
iconSizeSmall: string;
|
|
1081
|
+
iconSizeMedium: string;
|
|
1082
|
+
iconSizeLarge: string;
|
|
1083
|
+
iconSizeHuge: string;
|
|
1084
|
+
}, any>;
|
|
1020
1085
|
}>>>;
|
|
1021
1086
|
readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
1022
1087
|
menuBorderRadius: string;
|
|
@@ -1187,6 +1252,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1187
1252
|
sizeLarge: string;
|
|
1188
1253
|
labelPadding: string;
|
|
1189
1254
|
}, any>;
|
|
1255
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1256
|
+
fontSizeSmall: string;
|
|
1257
|
+
fontSizeMedium: string;
|
|
1258
|
+
fontSizeLarge: string;
|
|
1259
|
+
fontSizeHuge: string;
|
|
1260
|
+
textColor: string;
|
|
1261
|
+
iconColor: string;
|
|
1262
|
+
extraTextColor: string;
|
|
1263
|
+
iconSizeSmall: string;
|
|
1264
|
+
iconSizeMedium: string;
|
|
1265
|
+
iconSizeLarge: string;
|
|
1266
|
+
iconSizeHuge: string;
|
|
1267
|
+
}, any>;
|
|
1190
1268
|
}>>>;
|
|
1191
1269
|
}, {
|
|
1192
1270
|
selectMenuFollowerRef: import("vue").Ref<{
|
|
@@ -1520,6 +1598,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1520
1598
|
sizeLarge: string;
|
|
1521
1599
|
labelPadding: string;
|
|
1522
1600
|
}, any>;
|
|
1601
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1602
|
+
fontSizeSmall: string;
|
|
1603
|
+
fontSizeMedium: string;
|
|
1604
|
+
fontSizeLarge: string;
|
|
1605
|
+
fontSizeHuge: string;
|
|
1606
|
+
textColor: string;
|
|
1607
|
+
iconColor: string;
|
|
1608
|
+
extraTextColor: string;
|
|
1609
|
+
iconSizeSmall: string;
|
|
1610
|
+
iconSizeMedium: string;
|
|
1611
|
+
iconSizeLarge: string;
|
|
1612
|
+
iconSizeHuge: string;
|
|
1613
|
+
}, any>;
|
|
1523
1614
|
};
|
|
1524
1615
|
peerOverrides: {
|
|
1525
1616
|
InternalSelectMenu?: {
|
|
@@ -1571,6 +1662,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1571
1662
|
[x: string]: any;
|
|
1572
1663
|
} | undefined;
|
|
1573
1664
|
} | undefined;
|
|
1665
|
+
Empty?: {
|
|
1666
|
+
peers?: {
|
|
1667
|
+
[x: string]: any;
|
|
1668
|
+
} | undefined;
|
|
1669
|
+
} | undefined;
|
|
1574
1670
|
};
|
|
1575
1671
|
}>;
|
|
1576
1672
|
cssVars: import("vue").ComputedRef<{
|
|
@@ -1827,6 +1923,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1827
1923
|
sizeLarge: string;
|
|
1828
1924
|
labelPadding: string;
|
|
1829
1925
|
}, any>;
|
|
1926
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1927
|
+
fontSizeSmall: string;
|
|
1928
|
+
fontSizeMedium: string;
|
|
1929
|
+
fontSizeLarge: string;
|
|
1930
|
+
fontSizeHuge: string;
|
|
1931
|
+
textColor: string;
|
|
1932
|
+
iconColor: string;
|
|
1933
|
+
extraTextColor: string;
|
|
1934
|
+
iconSizeSmall: string;
|
|
1935
|
+
iconSizeMedium: string;
|
|
1936
|
+
iconSizeLarge: string;
|
|
1937
|
+
iconSizeHuge: string;
|
|
1938
|
+
}, any>;
|
|
1830
1939
|
}> | undefined;
|
|
1831
1940
|
themeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
1832
1941
|
menuBorderRadius: string;
|
|
@@ -1997,6 +2106,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1997
2106
|
sizeLarge: string;
|
|
1998
2107
|
labelPadding: string;
|
|
1999
2108
|
}, any>;
|
|
2109
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2110
|
+
fontSizeSmall: string;
|
|
2111
|
+
fontSizeMedium: string;
|
|
2112
|
+
fontSizeLarge: string;
|
|
2113
|
+
fontSizeHuge: string;
|
|
2114
|
+
textColor: string;
|
|
2115
|
+
iconColor: string;
|
|
2116
|
+
extraTextColor: string;
|
|
2117
|
+
iconSizeSmall: string;
|
|
2118
|
+
iconSizeMedium: string;
|
|
2119
|
+
iconSizeLarge: string;
|
|
2120
|
+
iconSizeHuge: string;
|
|
2121
|
+
}, any>;
|
|
2000
2122
|
}>> | undefined;
|
|
2001
2123
|
builtinThemeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Cascader", {
|
|
2002
2124
|
menuBorderRadius: string;
|
|
@@ -2167,6 +2289,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2167
2289
|
sizeLarge: string;
|
|
2168
2290
|
labelPadding: string;
|
|
2169
2291
|
}, any>;
|
|
2292
|
+
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2293
|
+
fontSizeSmall: string;
|
|
2294
|
+
fontSizeMedium: string;
|
|
2295
|
+
fontSizeLarge: string;
|
|
2296
|
+
fontSizeHuge: string;
|
|
2297
|
+
textColor: string;
|
|
2298
|
+
iconColor: string;
|
|
2299
|
+
extraTextColor: string;
|
|
2300
|
+
iconSizeSmall: string;
|
|
2301
|
+
iconSizeMedium: string;
|
|
2302
|
+
iconSizeLarge: string;
|
|
2303
|
+
iconSizeHuge: string;
|
|
2304
|
+
}, any>;
|
|
2170
2305
|
}>> | undefined;
|
|
2171
2306
|
bordered?: boolean | undefined;
|
|
2172
2307
|
maxTagCount?: number | "responsive" | undefined;
|
|
@@ -722,7 +722,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
722
722
|
};
|
|
723
723
|
},
|
|
724
724
|
render() {
|
|
725
|
-
const { mergedClsPrefix } = this;
|
|
725
|
+
const { mergedClsPrefix, $slots } = this;
|
|
726
726
|
return ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-cascader` },
|
|
727
727
|
(0, vue_1.h)(vueuc_1.VBinder, null, {
|
|
728
728
|
default: () => [
|
|
@@ -730,9 +730,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
730
730
|
default: () => ((0, vue_1.h)(_internal_1.NInternalSelection, { ref: "triggerInstRef", clsPrefix: mergedClsPrefix, maxTagCount: this.maxTagCount, bordered: this.mergedBordered, size: this.mergedSize, theme: this.mergedTheme.peers.InternalSelection, themeOverrides: this.mergedTheme.peerOverrides.InternalSelection, active: this.mergedShow, pattern: this.pattern, placeholder: this.localizedPlaceholder, selectedOption: this.selectedOption, selectedOptions: this.selectedOptions, multiple: this.multiple, filterable: this.filterable, clearable: this.clearable, disabled: this.mergedDisabled, focused: this.focused, onFocus: this.handleTriggerFocus, onBlur: this.handleTriggerBlur, onClick: this.handleTriggerClick, onClear: this.handleClear, onDeleteOption: this.handleDeleteOption, onPatternInput: this.handlePatternInput, onKeydown: this.handleKeyDown, onKeyup: this.handleKeyUp }))
|
|
731
731
|
}),
|
|
732
732
|
(0, vue_1.h)(vueuc_1.VFollower, { key: "cascaderMenu", ref: "cascaderMenuFollowerRef", show: this.mergedShow && !this.showSelectMenu, containerClass: this.namespace, placement: "bottom-start", width: !this.options.length ? 'target' : undefined, teleportDisabled: this.adjustedTo === _utils_1.useAdjustedTo.tdkey, to: this.adjustedTo }, {
|
|
733
|
-
default: () => ((0, vue_1.h)(CascaderMenu_1.default, { ref: "cascaderMenuInstRef", value: this.mergedValue, show: this.mergedShow && !this.showSelectMenu, menuModel: this.menuModel, style: this.cssVars, onFocus: this.handleMenuFocus, onBlur: this.handleMenuBlur, onKeyup: this.handleMenuKeyUp, onMousedown: this.handleMenuMousedown, onTabout: this.handleMenuTabout },
|
|
734
|
-
action: this.$slots.action
|
|
735
|
-
}))
|
|
733
|
+
default: () => ((0, vue_1.h)(CascaderMenu_1.default, { ref: "cascaderMenuInstRef", value: this.mergedValue, show: this.mergedShow && !this.showSelectMenu, menuModel: this.menuModel, style: this.cssVars, onFocus: this.handleMenuFocus, onBlur: this.handleMenuBlur, onKeyup: this.handleMenuKeyUp, onMousedown: this.handleMenuMousedown, onTabout: this.handleMenuTabout }, $slots))
|
|
736
734
|
}),
|
|
737
735
|
(0, vue_1.h)(vueuc_1.VFollower, { key: "selectMenu", ref: "selectMenuFollowerRef", show: this.mergedShow && this.showSelectMenu, containerClass: this.namespace, width: "target", placement: "bottom-start", to: this.adjustedTo, teleportDisabled: this.adjustedTo === _utils_1.useAdjustedTo.tdkey }, {
|
|
738
736
|
default: () => ((0, vue_1.h)(CascaderSelectMenu_1.default, { ref: "selectMenuInstRef", value: this.mergedValue, show: this.mergedShow && this.showSelectMenu, pattern: this.pattern, multiple: this.multiple, tmNodes: this.treeMate.treeNodes, filter: this.filter, labelField: this.labelField, separator: this.separator, style: this.cssVars }))
|