naive-ui 2.20.0 → 2.21.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/select-menu/src/SelectMenu.d.ts +4 -1
- package/es/_internal/selection/src/Selection.d.ts +4 -1
- package/es/_internal/suffix/src/Suffix.d.ts +5 -2
- package/es/_internal/suffix/src/Suffix.js +4 -1
- package/es/_styles/common/dark.js +1 -1
- package/es/_styles/common/light.d.ts +3 -0
- package/es/_styles/common/light.js +5 -2
- package/es/_styles/global/index.cssr.js +9 -4
- package/es/_styles/transitions/icon-switch.cssr.js +6 -2
- package/es/_utils/naive/extract-public-props.d.ts +1 -1
- package/es/alert/src/Alert.d.ts +3 -0
- package/es/alert/src/Alert.js +3 -3
- package/es/auto-complete/src/AutoComplete.d.ts +8 -1
- package/es/auto-complete/src/AutoComplete.js +2 -2
- package/es/avatar/src/Avatar.d.ts +8 -1
- package/es/avatar/src/Avatar.js +41 -9
- package/es/avatar/src/styles/index.cssr.js +2 -2
- package/es/button/src/Button.d.ts +149 -52
- package/es/button/src/Button.js +131 -58
- package/es/button/src/interface.d.ts +1 -1
- package/es/button/src/styles/button.cssr.js +1 -0
- package/es/button/styles/dark.js +3 -0
- package/es/button/styles/light.d.ts +14 -5
- package/es/button/styles/light.js +10 -3
- package/es/calendar/src/Calendar.d.ts +143 -50
- package/es/calendar/styles/light.d.ts +14 -5
- package/es/card/src/Card.d.ts +3 -0
- package/es/cascader/src/Cascader.d.ts +3 -0
- package/es/cascader/src/Cascader.js +2 -2
- package/es/cascader/src/CascaderOption.d.ts +3 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +3 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -0
- package/es/checkbox/src/Checkbox.d.ts +8 -5
- package/es/checkbox/src/Checkbox.js +8 -9
- package/es/collapse/src/Collapse.d.ts +3 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +17 -5
- package/es/color-picker/src/ColorPicker.d.ts +126 -45
- package/es/color-picker/styles/light.d.ts +14 -5
- package/es/data-table/src/DataTable.d.ts +183 -51
- package/es/data-table/src/DataTable.js +11 -6
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +20 -5
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +20 -5
- package/es/data-table/src/TableParts/Body.d.ts +25 -6
- package/es/data-table/src/TableParts/Body.js +60 -22
- package/es/data-table/src/TableParts/BodyCheckbox.js +1 -1
- package/es/data-table/src/TableParts/Cell.d.ts +40 -10
- package/es/data-table/src/TableParts/Header.d.ts +20 -5
- 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 +8 -9
- package/es/data-table/styles/light.d.ts +20 -5
- package/es/data-table/styles/light.js +3 -3
- package/es/date-picker/src/DatePicker.d.ts +328 -127
- package/es/date-picker/src/DatePicker.js +7 -17
- package/es/date-picker/src/config.d.ts +9 -0
- package/es/date-picker/src/config.js +8 -0
- package/es/date-picker/src/panel/date.d.ts +51 -19
- package/es/date-picker/src/panel/daterange.d.ts +49 -17
- package/es/date-picker/src/panel/datetime.d.ts +51 -19
- package/es/date-picker/src/panel/datetimerange.d.ts +49 -17
- package/es/date-picker/src/panel/month.d.ts +86 -60
- package/es/date-picker/src/panel/month.js +9 -6
- package/es/date-picker/src/panel/use-calendar.d.ts +59 -27
- package/es/date-picker/src/panel/use-calendar.js +7 -2
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +47 -15
- package/es/date-picker/src/panel/use-panel-common.d.ts +47 -15
- 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 +32 -10
- package/es/dialog/src/Dialog.d.ts +104 -38
- package/es/dialog/src/DialogEnvironment.d.ts +2 -2
- package/es/dialog/src/DialogProvider.d.ts +2 -2
- package/es/dialog/styles/light.d.ts +14 -5
- package/es/drawer/src/Drawer.d.ts +3 -0
- package/es/drawer/src/DrawerBodyWrapper.d.ts +3 -0
- package/es/drawer/src/DrawerContent.d.ts +3 -0
- package/es/dropdown/index.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +5 -2
- package/es/dropdown/src/DropdownGroup.d.ts +2 -3
- package/es/dropdown/src/DropdownMenu.d.ts +3 -4
- package/es/dropdown/src/DropdownMenu.js +5 -4
- package/es/dropdown/src/DropdownOption.d.ts +3 -4
- package/es/dropdown/src/DropdownOption.js +2 -2
- package/es/dropdown/src/DropdownRenderOption.d.ts +2 -3
- package/es/dropdown/src/interface.d.ts +9 -30
- package/es/dropdown/src/utils.d.ts +1 -0
- package/es/dropdown/src/utils.js +10 -0
- package/es/dynamic-input/src/DynamicInput.d.ts +143 -50
- package/es/dynamic-input/src/InputPreset.d.ts +17 -5
- package/es/dynamic-input/src/PairPreset.d.ts +17 -5
- package/es/dynamic-input/styles/light.d.ts +14 -5
- package/es/dynamic-tags/src/DynamicTags.d.ts +144 -50
- package/es/dynamic-tags/styles/light.d.ts +14 -5
- package/es/ellipsis/src/Ellipsis.d.ts +3 -0
- package/es/form/src/FormItemGridItem.d.ts +2 -2
- package/es/global-style/src/GlobalStyle.js +2 -0
- package/es/grid/src/Grid.js +1 -0
- package/es/grid/src/GridItem.d.ts +2 -2
- package/es/image/src/ImagePreview.js +3 -2
- package/es/image/src/icons.d.ts +1 -0
- package/es/image/src/icons.js +2 -0
- package/es/input/src/Input.d.ts +4 -0
- package/es/input/src/Input.js +9 -3
- package/es/input/src/interface.d.ts +1 -0
- package/es/input-number/src/InputNumber.d.ts +144 -50
- package/es/input-number/styles/light.d.ts +14 -5
- package/es/layout/src/Layout.d.ts +6 -0
- package/es/layout/src/LayoutContent.d.ts +3 -0
- package/es/layout/src/LayoutSider.d.ts +3 -0
- package/es/locales/common/deDE.d.ts +3 -0
- package/es/locales/common/deDE.js +93 -0
- package/es/locales/common/nbNO.d.ts +3 -0
- package/es/locales/common/nbNO.js +93 -0
- package/es/locales/date/deDE.d.ts +3 -0
- package/es/locales/date/deDE.js +6 -0
- package/es/locales/date/nbNO.d.ts +3 -0
- package/es/locales/date/nbNO.js +6 -0
- package/es/locales/index.d.ts +6 -0
- package/es/locales/index.js +5 -0
- package/es/locales/utils/index.d.ts +8 -0
- package/es/locales/utils/index.js +4 -0
- package/es/log/src/Log.d.ts +3 -0
- package/es/mention/src/Mention.d.ts +4 -0
- package/es/menu/index.d.ts +1 -1
- package/es/menu/src/Menu.d.ts +32 -8
- package/es/menu/src/Menu.js +32 -10
- package/es/menu/src/MenuDivider.d.ts +2 -0
- package/es/menu/src/MenuDivider.js +11 -0
- package/es/menu/src/MenuOption.d.ts +11 -2
- package/es/menu/src/MenuOptionContent.d.ts +7 -2
- package/es/menu/src/Submenu.d.ts +21 -17
- package/es/menu/src/interface.d.ts +23 -4
- package/es/menu/src/styles/index.cssr.js +6 -1
- package/es/menu/src/utils.d.ts +4 -2
- package/es/menu/src/utils.js +16 -2
- package/es/menu/styles/light.d.ts +2 -0
- package/es/menu/styles/light.js +3 -2
- package/es/modal/src/BodyWrapper.d.ts +33 -12
- package/es/modal/src/BodyWrapper.js +6 -0
- package/es/modal/src/Modal.d.ts +185 -65
- package/es/modal/src/Modal.js +5 -1
- package/es/modal/src/interface.d.ts +1 -0
- package/es/modal/src/presetProps.d.ts +1 -1
- package/es/modal/styles/light.d.ts +14 -5
- package/es/notification/src/NotificationContainer.d.ts +3 -0
- package/es/pagination/index.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +20 -12
- package/es/pagination/src/Pagination.js +16 -6
- package/es/pagination/src/interface.d.ts +2 -0
- package/es/popconfirm/src/Popconfirm.d.ts +145 -52
- package/es/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/es/popconfirm/styles/light.d.ts +14 -5
- package/es/popselect/src/Popselect.d.ts +3 -0
- package/es/popselect/src/PopselectPanel.d.ts +3 -0
- package/es/radio/src/Radio.d.ts +3 -0
- package/es/radio/src/RadioButton.d.ts +3 -0
- package/es/radio/src/use-radio.d.ts +2 -0
- package/es/radio/src/use-radio.js +6 -3
- package/es/select/src/Select.d.ts +9 -2
- package/es/select/src/Select.js +20 -14
- package/es/slider/src/Slider.d.ts +70 -91
- package/es/slider/src/Slider.js +326 -583
- package/es/slider/src/interface.d.ts +1 -1
- package/es/slider/src/styles/index.cssr.js +86 -16
- package/es/slider/src/utils.d.ts +10 -1
- package/es/slider/src/utils.js +9 -0
- package/es/slider/styles/_common.d.ts +1 -0
- package/es/slider/styles/_common.js +1 -0
- package/es/slider/styles/light.d.ts +1 -0
- package/es/space/src/Space.js +2 -0
- package/es/steps/src/Step.js +1 -1
- package/es/table/src/Table.d.ts +35 -0
- package/es/table/src/Table.js +8 -4
- package/es/table/src/styles/index.cssr.js +1 -1
- package/es/table/styles/light.d.ts +3 -0
- package/es/table/styles/light.js +2 -2
- package/es/tabs/index.d.ts +2 -0
- package/es/tabs/index.js +1 -0
- package/es/tabs/src/Tab.d.ts +35 -18
- package/es/tabs/src/Tab.js +14 -17
- package/es/tabs/src/TabPane.d.ts +1 -0
- package/es/tabs/src/TabPane.js +2 -1
- package/es/tabs/src/Tabs.d.ts +4 -0
- package/es/tabs/src/Tabs.js +65 -21
- package/es/tabs/src/interface.d.ts +3 -2
- package/es/tag/src/Tag.d.ts +8 -3
- package/es/tag/src/Tag.js +10 -2
- package/es/tag/src/styles/index.cssr.js +10 -5
- package/es/tag/src/styles/rtl.cssr.js +7 -1
- package/es/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/es/time-picker/src/Panel.d.ts +17 -5
- package/es/time-picker/src/TimePicker.d.ts +144 -50
- package/es/time-picker/src/TimePicker.js +3 -0
- package/es/time-picker/styles/light.d.ts +14 -5
- package/es/tooltip/src/Tooltip.d.ts +3 -0
- package/es/transfer/src/Transfer.d.ts +145 -52
- package/es/transfer/src/TransferFilter.d.ts +17 -5
- package/es/transfer/src/TransferList.d.ts +17 -5
- package/es/transfer/src/TransferListItem.d.ts +17 -5
- package/es/transfer/styles/light.d.ts +14 -5
- package/es/tree/src/Tree.d.ts +13 -9
- package/es/tree/src/Tree.js +59 -23
- package/es/tree/src/TreeNode.js +4 -4
- package/es/tree/src/TreeNodeCheckbox.d.ts +3 -0
- package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/es/tree/src/interface.d.ts +1 -1
- package/es/tree/src/utils.d.ts +1 -1
- package/es/tree/src/utils.js +4 -4
- package/es/tree-select/src/TreeSelect.d.ts +5 -2
- package/es/upload/src/Upload.d.ts +146 -52
- package/es/upload/src/Upload.js +6 -10
- package/es/upload/src/UploadFile.d.ts +18 -6
- package/es/upload/src/UploadFile.js +1 -1
- package/es/upload/src/UploadProgress.d.ts +17 -5
- package/es/upload/src/UploadTrigger.js +2 -2
- package/es/upload/src/interface.d.ts +2 -1
- package/es/upload/styles/light.d.ts +14 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +4 -1
- package/lib/_internal/selection/src/Selection.d.ts +4 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +5 -2
- package/lib/_internal/suffix/src/Suffix.js +4 -1
- package/lib/_styles/common/dark.js +1 -1
- package/lib/_styles/common/light.d.ts +3 -0
- package/lib/_styles/common/light.js +5 -2
- package/lib/_styles/global/index.cssr.js +10 -5
- package/lib/_styles/transitions/icon-switch.cssr.js +7 -2
- package/lib/_utils/naive/extract-public-props.d.ts +1 -1
- package/lib/alert/src/Alert.d.ts +3 -0
- package/lib/alert/src/Alert.js +3 -3
- package/lib/auto-complete/src/AutoComplete.d.ts +8 -1
- package/lib/auto-complete/src/AutoComplete.js +2 -2
- package/lib/avatar/src/Avatar.d.ts +8 -1
- package/lib/avatar/src/Avatar.js +40 -8
- package/lib/avatar/src/styles/index.cssr.js +2 -2
- package/lib/button/src/Button.d.ts +149 -52
- package/lib/button/src/Button.js +129 -56
- package/lib/button/src/interface.d.ts +1 -1
- package/lib/button/src/styles/button.cssr.js +1 -0
- package/lib/button/styles/dark.js +3 -0
- package/lib/button/styles/light.d.ts +14 -5
- package/lib/button/styles/light.js +10 -3
- package/lib/calendar/src/Calendar.d.ts +143 -50
- package/lib/calendar/styles/light.d.ts +14 -5
- package/lib/card/src/Card.d.ts +3 -0
- package/lib/cascader/src/Cascader.d.ts +3 -0
- package/lib/cascader/src/Cascader.js +2 -2
- package/lib/cascader/src/CascaderOption.d.ts +3 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -0
- package/lib/checkbox/src/Checkbox.d.ts +8 -5
- package/lib/checkbox/src/Checkbox.js +8 -9
- package/lib/collapse/src/Collapse.d.ts +3 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +17 -5
- package/lib/color-picker/src/ColorPicker.d.ts +126 -45
- package/lib/color-picker/styles/light.d.ts +14 -5
- package/lib/data-table/src/DataTable.d.ts +183 -51
- package/lib/data-table/src/DataTable.js +11 -6
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +20 -5
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +20 -5
- package/lib/data-table/src/TableParts/Body.d.ts +25 -6
- package/lib/data-table/src/TableParts/Body.js +60 -22
- package/lib/data-table/src/TableParts/BodyCheckbox.js +1 -1
- package/lib/data-table/src/TableParts/Cell.d.ts +40 -10
- package/lib/data-table/src/TableParts/Header.d.ts +20 -5
- 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 +8 -9
- package/lib/data-table/styles/light.d.ts +20 -5
- package/lib/data-table/styles/light.js +3 -3
- package/lib/date-picker/src/DatePicker.d.ts +328 -127
- package/lib/date-picker/src/DatePicker.js +7 -17
- package/lib/date-picker/src/config.d.ts +9 -0
- package/lib/date-picker/src/config.js +9 -1
- package/lib/date-picker/src/panel/date.d.ts +51 -19
- package/lib/date-picker/src/panel/daterange.d.ts +49 -17
- package/lib/date-picker/src/panel/datetime.d.ts +51 -19
- package/lib/date-picker/src/panel/datetimerange.d.ts +49 -17
- package/lib/date-picker/src/panel/month.d.ts +86 -60
- package/lib/date-picker/src/panel/month.js +9 -6
- package/lib/date-picker/src/panel/use-calendar.d.ts +59 -27
- package/lib/date-picker/src/panel/use-calendar.js +6 -1
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +47 -15
- package/lib/date-picker/src/panel/use-panel-common.d.ts +47 -15
- 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 +32 -10
- package/lib/dialog/src/Dialog.d.ts +104 -38
- package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
- package/lib/dialog/src/DialogProvider.d.ts +2 -2
- package/lib/dialog/styles/light.d.ts +14 -5
- package/lib/drawer/src/Drawer.d.ts +3 -0
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +3 -0
- package/lib/drawer/src/DrawerContent.d.ts +3 -0
- package/lib/dropdown/index.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +5 -2
- package/lib/dropdown/src/DropdownGroup.d.ts +2 -3
- package/lib/dropdown/src/DropdownMenu.d.ts +3 -4
- package/lib/dropdown/src/DropdownMenu.js +5 -4
- package/lib/dropdown/src/DropdownOption.d.ts +3 -4
- package/lib/dropdown/src/DropdownOption.js +1 -1
- package/lib/dropdown/src/DropdownRenderOption.d.ts +2 -3
- package/lib/dropdown/src/interface.d.ts +9 -30
- package/lib/dropdown/src/utils.d.ts +1 -0
- package/lib/dropdown/src/utils.js +12 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +143 -50
- package/lib/dynamic-input/src/InputPreset.d.ts +17 -5
- package/lib/dynamic-input/src/PairPreset.d.ts +17 -5
- package/lib/dynamic-input/styles/light.d.ts +14 -5
- package/lib/dynamic-tags/src/DynamicTags.d.ts +144 -50
- package/lib/dynamic-tags/styles/light.d.ts +14 -5
- package/lib/ellipsis/src/Ellipsis.d.ts +3 -0
- package/lib/form/src/FormItemGridItem.d.ts +2 -2
- package/lib/global-style/src/GlobalStyle.js +2 -0
- package/lib/grid/src/Grid.js +1 -0
- package/lib/grid/src/GridItem.d.ts +2 -2
- package/lib/image/src/ImagePreview.js +2 -1
- package/lib/image/src/icons.d.ts +1 -0
- package/lib/image/src/icons.js +3 -1
- package/lib/input/src/Input.d.ts +4 -0
- package/lib/input/src/Input.js +9 -3
- package/lib/input/src/interface.d.ts +1 -0
- package/lib/input-number/src/InputNumber.d.ts +144 -50
- package/lib/input-number/styles/light.d.ts +14 -5
- package/lib/layout/src/Layout.d.ts +6 -0
- package/lib/layout/src/LayoutContent.d.ts +3 -0
- package/lib/layout/src/LayoutSider.d.ts +3 -0
- package/lib/locales/common/deDE.d.ts +3 -0
- package/lib/locales/common/deDE.js +95 -0
- package/lib/locales/common/nbNO.d.ts +3 -0
- package/lib/locales/common/nbNO.js +95 -0
- package/lib/locales/date/deDE.d.ts +3 -0
- package/lib/locales/date/deDE.js +11 -0
- package/lib/locales/date/nbNO.d.ts +3 -0
- package/lib/locales/date/nbNO.js +11 -0
- package/lib/locales/index.d.ts +6 -0
- package/lib/locales/index.js +11 -1
- package/lib/locales/utils/index.d.ts +8 -0
- package/lib/locales/utils/index.js +8 -0
- package/lib/log/src/Log.d.ts +3 -0
- package/lib/mention/src/Mention.d.ts +4 -0
- package/lib/menu/index.d.ts +1 -1
- package/lib/menu/src/Menu.d.ts +32 -8
- package/lib/menu/src/Menu.js +31 -9
- package/lib/menu/src/MenuDivider.d.ts +2 -0
- package/lib/menu/src/MenuDivider.js +13 -0
- package/lib/menu/src/MenuOption.d.ts +11 -2
- package/lib/menu/src/MenuOptionContent.d.ts +7 -2
- package/lib/menu/src/Submenu.d.ts +21 -17
- package/lib/menu/src/interface.d.ts +23 -4
- package/lib/menu/src/styles/index.cssr.js +6 -1
- package/lib/menu/src/utils.d.ts +4 -2
- package/lib/menu/src/utils.js +22 -3
- package/lib/menu/styles/light.d.ts +2 -0
- package/lib/menu/styles/light.js +3 -2
- package/lib/modal/src/BodyWrapper.d.ts +33 -12
- package/lib/modal/src/BodyWrapper.js +6 -0
- package/lib/modal/src/Modal.d.ts +185 -65
- package/lib/modal/src/Modal.js +5 -1
- package/lib/modal/src/interface.d.ts +1 -0
- package/lib/modal/src/presetProps.d.ts +1 -1
- package/lib/modal/styles/light.d.ts +14 -5
- package/lib/notification/src/NotificationContainer.d.ts +3 -0
- package/lib/pagination/index.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +20 -12
- package/lib/pagination/src/Pagination.js +16 -6
- package/lib/pagination/src/interface.d.ts +2 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +145 -52
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +2 -2
- package/lib/popconfirm/styles/light.d.ts +14 -5
- package/lib/popselect/src/Popselect.d.ts +3 -0
- package/lib/popselect/src/PopselectPanel.d.ts +3 -0
- package/lib/radio/src/Radio.d.ts +3 -0
- package/lib/radio/src/RadioButton.d.ts +3 -0
- package/lib/radio/src/use-radio.d.ts +2 -0
- package/lib/radio/src/use-radio.js +6 -3
- package/lib/select/src/Select.d.ts +9 -2
- package/lib/select/src/Select.js +20 -14
- package/lib/slider/src/Slider.d.ts +70 -91
- package/lib/slider/src/Slider.js +324 -581
- package/lib/slider/src/interface.d.ts +1 -1
- package/lib/slider/src/styles/index.cssr.js +86 -16
- package/lib/slider/src/utils.d.ts +10 -1
- package/lib/slider/src/utils.js +11 -1
- package/lib/slider/styles/_common.d.ts +1 -0
- package/lib/slider/styles/_common.js +1 -0
- package/lib/slider/styles/light.d.ts +1 -0
- package/lib/space/src/Space.js +2 -0
- package/lib/steps/src/Step.js +1 -1
- package/lib/table/src/Table.d.ts +35 -0
- package/lib/table/src/Table.js +8 -4
- package/lib/table/src/styles/index.cssr.js +1 -1
- package/lib/table/styles/light.d.ts +3 -0
- package/lib/table/styles/light.js +2 -2
- package/lib/tabs/index.d.ts +2 -0
- package/lib/tabs/index.js +3 -1
- package/lib/tabs/src/Tab.d.ts +35 -18
- package/lib/tabs/src/Tab.js +13 -16
- package/lib/tabs/src/TabPane.d.ts +1 -0
- package/lib/tabs/src/TabPane.js +2 -1
- package/lib/tabs/src/Tabs.d.ts +4 -0
- package/lib/tabs/src/Tabs.js +64 -20
- package/lib/tabs/src/interface.d.ts +3 -2
- package/lib/tag/src/Tag.d.ts +8 -3
- package/lib/tag/src/Tag.js +10 -1
- package/lib/tag/src/styles/index.cssr.js +10 -5
- package/lib/tag/src/styles/rtl.cssr.js +7 -1
- package/lib/theme-editor/src/ThemeEditor.d.ts +3 -0
- package/lib/time-picker/src/Panel.d.ts +17 -5
- package/lib/time-picker/src/TimePicker.d.ts +144 -50
- package/lib/time-picker/src/TimePicker.js +3 -0
- package/lib/time-picker/styles/light.d.ts +14 -5
- package/lib/tooltip/src/Tooltip.d.ts +3 -0
- package/lib/transfer/src/Transfer.d.ts +145 -52
- package/lib/transfer/src/TransferFilter.d.ts +17 -5
- package/lib/transfer/src/TransferList.d.ts +17 -5
- package/lib/transfer/src/TransferListItem.d.ts +17 -5
- package/lib/transfer/styles/light.d.ts +14 -5
- package/lib/tree/src/Tree.d.ts +13 -9
- package/lib/tree/src/Tree.js +58 -22
- package/lib/tree/src/TreeNode.js +4 -4
- package/lib/tree/src/TreeNodeCheckbox.d.ts +3 -0
- package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
- package/lib/tree/src/interface.d.ts +1 -1
- package/lib/tree/src/utils.d.ts +1 -1
- package/lib/tree/src/utils.js +4 -4
- package/lib/tree-select/src/TreeSelect.d.ts +5 -2
- package/lib/upload/src/Upload.d.ts +146 -52
- package/lib/upload/src/Upload.js +6 -10
- package/lib/upload/src/UploadFile.d.ts +18 -6
- package/lib/upload/src/UploadFile.js +1 -1
- package/lib/upload/src/UploadProgress.d.ts +17 -5
- package/lib/upload/src/UploadTrigger.js +2 -2
- package/lib/upload/src/interface.d.ts +2 -1
- package/lib/upload/styles/light.d.ts +14 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +5 -5
- package/web-types.json +182 -9
|
@@ -25,23 +25,10 @@ const date_1 = __importDefault(require("./panel/date"));
|
|
|
25
25
|
const daterange_1 = __importDefault(require("./panel/daterange"));
|
|
26
26
|
const month_1 = __importDefault(require("./panel/month"));
|
|
27
27
|
const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
28
|
-
const DATE_FORMAT = {
|
|
29
|
-
date: 'yyyy-MM-dd',
|
|
30
|
-
datetime: 'yyyy-MM-dd HH:mm:ss',
|
|
31
|
-
daterange: 'yyyy-MM-dd',
|
|
32
|
-
datetimerange: 'yyyy-MM-dd HH:mm:ss',
|
|
33
|
-
month: 'yyyy-MM'
|
|
34
|
-
};
|
|
35
28
|
const datePickerProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { to: _utils_1.useAdjustedTo.propTo, bordered: {
|
|
36
29
|
type: Boolean,
|
|
37
30
|
default: undefined
|
|
38
|
-
}, clearable: {
|
|
39
|
-
type: Boolean,
|
|
40
|
-
default: false
|
|
41
|
-
}, updateValueOnClose: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: false
|
|
44
|
-
}, defaultValue: {
|
|
31
|
+
}, clearable: Boolean, updateValueOnClose: Boolean, defaultValue: {
|
|
45
32
|
type: [Number, Array],
|
|
46
33
|
default: null
|
|
47
34
|
}, disabled: {
|
|
@@ -152,7 +139,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
152
139
|
}
|
|
153
140
|
});
|
|
154
141
|
const mergedFormatRef = (0, vue_1.computed)(() => {
|
|
155
|
-
return props.format || DATE_FORMAT[props.type];
|
|
142
|
+
return props.format || config_1.DATE_FORMAT[props.type];
|
|
156
143
|
});
|
|
157
144
|
const mergedActionsRef = (0, vue_1.computed)(() => {
|
|
158
145
|
const { actions, type } = props;
|
|
@@ -174,6 +161,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
174
161
|
case 'month': {
|
|
175
162
|
return ['clear', 'now', 'confirm'];
|
|
176
163
|
}
|
|
164
|
+
case 'year': {
|
|
165
|
+
return ['clear', 'now'];
|
|
166
|
+
}
|
|
177
167
|
default: {
|
|
178
168
|
(0, _utils_1.warn)('data-picker', "The type is wrong, n-date-picker's type only supports `date`, `datetime`, `daterange` and `datetimerange`.");
|
|
179
169
|
break;
|
|
@@ -402,7 +392,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
402
392
|
if (mergedDisabledRef.value || mergedShowRef.value)
|
|
403
393
|
return;
|
|
404
394
|
doUpdateShow(true);
|
|
405
|
-
if (props.type === 'month') {
|
|
395
|
+
if (props.type === 'month' || props.type === 'year') {
|
|
406
396
|
void (0, vue_1.nextTick)(scrollYearMonth);
|
|
407
397
|
}
|
|
408
398
|
}
|
|
@@ -604,7 +594,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
604
594
|
(0, vue_1.h)(vueuc_1.VFollower, { show: this.mergedShow, containerClass: this.namespace, to: this.adjustedTo, teleportDisabled: this.adjustedTo === _utils_1.useAdjustedTo.tdkey, placement: "bottom-start" }, {
|
|
605
595
|
default: () => ((0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition", appear: this.isMounted }, {
|
|
606
596
|
default: () => this.mergedShow
|
|
607
|
-
? (0, vue_1.withDirectives)(this.type === 'datetime' ? ((0, vue_1.h)(datetime_1.default, Object.assign({}, commonPanelProps))) : this.type === 'daterange' ? ((0, vue_1.h)(daterange_1.default, Object.assign({}, commonPanelProps))) : this.type === 'datetimerange' ? ((0, vue_1.h)(datetimerange_1.default, Object.assign({}, commonPanelProps))) : this.type === 'month' ? ((0, vue_1.h)(month_1.default, Object.assign({}, commonPanelProps))) : ((0, vue_1.h)(date_1.default, Object.assign({}, commonPanelProps))), [[vdirs_1.clickoutside, this.handleClickOutside]])
|
|
597
|
+
? (0, vue_1.withDirectives)(this.type === 'datetime' ? ((0, vue_1.h)(datetime_1.default, Object.assign({}, commonPanelProps))) : this.type === 'daterange' ? ((0, vue_1.h)(daterange_1.default, Object.assign({}, commonPanelProps))) : this.type === 'datetimerange' ? ((0, vue_1.h)(datetimerange_1.default, Object.assign({}, commonPanelProps))) : this.type === 'month' ? ((0, vue_1.h)(month_1.default, Object.assign({}, commonPanelProps, { type: "month", key: "month" }))) : this.type === 'year' ? ((0, vue_1.h)(month_1.default, Object.assign({}, commonPanelProps, { type: "year", key: "year" }))) : ((0, vue_1.h)(date_1.default, Object.assign({}, commonPanelProps))), [[vdirs_1.clickoutside, this.handleClickOutside]])
|
|
608
598
|
: null
|
|
609
599
|
}))
|
|
610
600
|
})
|
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
export declare const START_YEAR = 1901;
|
|
2
2
|
export declare const MONTH_ITEM_HEIGHT = 40;
|
|
3
|
+
export declare const DATE_FORMAT: {
|
|
4
|
+
date: string;
|
|
5
|
+
datetime: string;
|
|
6
|
+
daterange: string;
|
|
7
|
+
datetimerange: string;
|
|
8
|
+
month: string;
|
|
9
|
+
year: string;
|
|
10
|
+
};
|
|
11
|
+
export declare type DatePickerType = keyof typeof DATE_FORMAT;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MONTH_ITEM_HEIGHT = exports.START_YEAR = void 0;
|
|
3
|
+
exports.DATE_FORMAT = exports.MONTH_ITEM_HEIGHT = exports.START_YEAR = void 0;
|
|
4
4
|
exports.START_YEAR = 1901;
|
|
5
5
|
// TODO: we need to remove it to make height customizable
|
|
6
6
|
exports.MONTH_ITEM_HEIGHT = 40;
|
|
7
|
+
exports.DATE_FORMAT = {
|
|
8
|
+
date: 'yyyy-MM-dd',
|
|
9
|
+
datetime: 'yyyy-MM-dd HH:mm:ss',
|
|
10
|
+
daterange: 'yyyy-MM-dd',
|
|
11
|
+
datetimerange: 'yyyy-MM-dd HH:mm:ss',
|
|
12
|
+
month: 'yyyy-MM',
|
|
13
|
+
year: 'yyyy'
|
|
14
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
readonly actions: {
|
|
3
|
-
readonly type:
|
|
3
|
+
readonly type: import("vue").PropType<string[]>;
|
|
4
4
|
readonly default: () => string[];
|
|
5
5
|
};
|
|
6
6
|
readonly active: BooleanConstructor;
|
|
@@ -130,6 +130,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
130
|
pressedColor: string;
|
|
131
131
|
opacityDisabled: string;
|
|
132
132
|
inputColorDisabled: string;
|
|
133
|
+
buttonColor2: string;
|
|
134
|
+
buttonColor2Hover: string;
|
|
135
|
+
buttonColor2Pressed: string;
|
|
133
136
|
boxShadow1: string;
|
|
134
137
|
boxShadow2: string;
|
|
135
138
|
boxShadow3: string;
|
|
@@ -203,11 +206,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
203
206
|
calendarLeftPaddingDaterange: string;
|
|
204
207
|
calendarLeftPaddingDatetimerange: string;
|
|
205
208
|
calendarLeftPaddingMonth: string;
|
|
209
|
+
calendarLeftPaddingYear: string;
|
|
206
210
|
calendarRightPaddingDate: string;
|
|
207
211
|
calendarRightPaddingDatetime: string;
|
|
208
212
|
calendarRightPaddingDaterange: string;
|
|
209
213
|
calendarRightPaddingDatetimerange: string;
|
|
210
214
|
calendarRightPaddingMonth: string;
|
|
215
|
+
calendarRightPaddingYear: string;
|
|
211
216
|
};
|
|
212
217
|
peers: {
|
|
213
218
|
Input: import("../../../_mixins").Theme<"Input", {
|
|
@@ -284,20 +289,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
284
289
|
fontSizeMedium: string;
|
|
285
290
|
fontSizeLarge: string;
|
|
286
291
|
opacityDisabled: string;
|
|
292
|
+
colorOpacitySecondary: number;
|
|
293
|
+
colorOpacitySecondaryHover: number;
|
|
294
|
+
colorOpacitySecondaryPressed: number;
|
|
295
|
+
colorSecondary: string;
|
|
296
|
+
colorSecondaryHover: string;
|
|
297
|
+
colorSecondaryPressed: string;
|
|
298
|
+
colorTertiary: string;
|
|
299
|
+
colorTertiaryHover: string;
|
|
300
|
+
colorTertiaryPressed: string;
|
|
301
|
+
colorQuaternary: string;
|
|
302
|
+
colorQuaternaryHover: string;
|
|
303
|
+
colorQuaternaryPressed: string;
|
|
287
304
|
color: string;
|
|
288
305
|
colorHover: string;
|
|
289
306
|
colorPressed: string;
|
|
290
307
|
colorFocus: string;
|
|
291
308
|
colorDisabled: string;
|
|
292
309
|
textColor: string;
|
|
310
|
+
textColorTertiary: string;
|
|
293
311
|
textColorHover: string;
|
|
294
312
|
textColorPressed: string;
|
|
295
313
|
textColorFocus: string;
|
|
296
314
|
textColorDisabled: string;
|
|
297
315
|
textColorText: string;
|
|
298
|
-
textColorTextDepth1: string;
|
|
299
|
-
textColorTextDepth2: string;
|
|
300
|
-
textColorTextDepth3: string;
|
|
301
316
|
textColorTextHover: string;
|
|
302
317
|
textColorTextPressed: string;
|
|
303
318
|
textColorTextFocus: string;
|
|
@@ -444,9 +459,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
444
459
|
borderDisabledError: string;
|
|
445
460
|
rippleColorError: string;
|
|
446
461
|
waveOpacity: string;
|
|
447
|
-
fontWeightText: string;
|
|
448
462
|
fontWeight: string;
|
|
449
|
-
|
|
463
|
+
fontWeightStrong: string;
|
|
450
464
|
paddingTiny: string;
|
|
451
465
|
paddingSmall: string;
|
|
452
466
|
paddingMedium: string;
|
|
@@ -500,20 +514,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
500
514
|
fontSizeMedium: string;
|
|
501
515
|
fontSizeLarge: string;
|
|
502
516
|
opacityDisabled: string;
|
|
517
|
+
colorOpacitySecondary: number;
|
|
518
|
+
colorOpacitySecondaryHover: number;
|
|
519
|
+
colorOpacitySecondaryPressed: number;
|
|
520
|
+
colorSecondary: string;
|
|
521
|
+
colorSecondaryHover: string;
|
|
522
|
+
colorSecondaryPressed: string;
|
|
523
|
+
colorTertiary: string;
|
|
524
|
+
colorTertiaryHover: string;
|
|
525
|
+
colorTertiaryPressed: string;
|
|
526
|
+
colorQuaternary: string;
|
|
527
|
+
colorQuaternaryHover: string;
|
|
528
|
+
colorQuaternaryPressed: string;
|
|
503
529
|
color: string;
|
|
504
530
|
colorHover: string;
|
|
505
531
|
colorPressed: string;
|
|
506
532
|
colorFocus: string;
|
|
507
533
|
colorDisabled: string;
|
|
508
534
|
textColor: string;
|
|
535
|
+
textColorTertiary: string;
|
|
509
536
|
textColorHover: string;
|
|
510
537
|
textColorPressed: string;
|
|
511
538
|
textColorFocus: string;
|
|
512
539
|
textColorDisabled: string;
|
|
513
540
|
textColorText: string;
|
|
514
|
-
textColorTextDepth1: string;
|
|
515
|
-
textColorTextDepth2: string;
|
|
516
|
-
textColorTextDepth3: string;
|
|
517
541
|
textColorTextHover: string;
|
|
518
542
|
textColorTextPressed: string;
|
|
519
543
|
textColorTextFocus: string;
|
|
@@ -660,9 +684,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
660
684
|
borderDisabledError: string;
|
|
661
685
|
rippleColorError: string;
|
|
662
686
|
waveOpacity: string;
|
|
663
|
-
fontWeightText: string;
|
|
664
687
|
fontWeight: string;
|
|
665
|
-
|
|
688
|
+
fontWeightStrong: string;
|
|
666
689
|
paddingTiny: string;
|
|
667
690
|
paddingSmall: string;
|
|
668
691
|
paddingMedium: string;
|
|
@@ -778,20 +801,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
778
801
|
fontSizeMedium: string;
|
|
779
802
|
fontSizeLarge: string;
|
|
780
803
|
opacityDisabled: string;
|
|
804
|
+
colorOpacitySecondary: number;
|
|
805
|
+
colorOpacitySecondaryHover: number;
|
|
806
|
+
colorOpacitySecondaryPressed: number;
|
|
807
|
+
colorSecondary: string;
|
|
808
|
+
colorSecondaryHover: string;
|
|
809
|
+
colorSecondaryPressed: string;
|
|
810
|
+
colorTertiary: string;
|
|
811
|
+
colorTertiaryHover: string;
|
|
812
|
+
colorTertiaryPressed: string;
|
|
813
|
+
colorQuaternary: string;
|
|
814
|
+
colorQuaternaryHover: string;
|
|
815
|
+
colorQuaternaryPressed: string;
|
|
781
816
|
color: string;
|
|
782
817
|
colorHover: string;
|
|
783
818
|
colorPressed: string;
|
|
784
819
|
colorFocus: string;
|
|
785
820
|
colorDisabled: string;
|
|
786
821
|
textColor: string;
|
|
822
|
+
textColorTertiary: string;
|
|
787
823
|
textColorHover: string;
|
|
788
824
|
textColorPressed: string;
|
|
789
825
|
textColorFocus: string;
|
|
790
826
|
textColorDisabled: string;
|
|
791
827
|
textColorText: string;
|
|
792
|
-
textColorTextDepth1: string;
|
|
793
|
-
textColorTextDepth2: string;
|
|
794
|
-
textColorTextDepth3: string;
|
|
795
828
|
textColorTextHover: string;
|
|
796
829
|
textColorTextPressed: string;
|
|
797
830
|
textColorTextFocus: string;
|
|
@@ -938,9 +971,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
938
971
|
borderDisabledError: string;
|
|
939
972
|
rippleColorError: string;
|
|
940
973
|
waveOpacity: string;
|
|
941
|
-
fontWeightText: string;
|
|
942
974
|
fontWeight: string;
|
|
943
|
-
|
|
975
|
+
fontWeightStrong: string;
|
|
944
976
|
paddingTiny: string;
|
|
945
977
|
paddingSmall: string;
|
|
946
978
|
paddingMedium: string;
|
|
@@ -1104,9 +1136,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1104
1136
|
} & {
|
|
1105
1137
|
value: import("../interface").Value | null;
|
|
1106
1138
|
active: boolean;
|
|
1107
|
-
onUpdateValue: import("../interface").OnPanelUpdateValue;
|
|
1108
|
-
actions: unknown[];
|
|
1109
1139
|
dateFormat: string;
|
|
1140
|
+
onUpdateValue: import("../interface").OnPanelUpdateValue;
|
|
1141
|
+
actions: string[];
|
|
1110
1142
|
timeFormat: string;
|
|
1111
1143
|
} & {
|
|
1112
1144
|
onTabOut?: Function | undefined;
|
|
@@ -1116,8 +1148,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1116
1148
|
}>, {
|
|
1117
1149
|
value: import("../interface").Value | null;
|
|
1118
1150
|
active: boolean;
|
|
1119
|
-
actions: unknown[];
|
|
1120
1151
|
dateFormat: string;
|
|
1152
|
+
actions: string[];
|
|
1121
1153
|
timeFormat: string;
|
|
1122
1154
|
}>;
|
|
1123
1155
|
/**
|
|
@@ -128,6 +128,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
128
|
pressedColor: string;
|
|
129
129
|
opacityDisabled: string;
|
|
130
130
|
inputColorDisabled: string;
|
|
131
|
+
buttonColor2: string;
|
|
132
|
+
buttonColor2Hover: string;
|
|
133
|
+
buttonColor2Pressed: string;
|
|
131
134
|
boxShadow1: string;
|
|
132
135
|
boxShadow2: string;
|
|
133
136
|
boxShadow3: string;
|
|
@@ -201,11 +204,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
201
204
|
calendarLeftPaddingDaterange: string;
|
|
202
205
|
calendarLeftPaddingDatetimerange: string;
|
|
203
206
|
calendarLeftPaddingMonth: string;
|
|
207
|
+
calendarLeftPaddingYear: string;
|
|
204
208
|
calendarRightPaddingDate: string;
|
|
205
209
|
calendarRightPaddingDatetime: string;
|
|
206
210
|
calendarRightPaddingDaterange: string;
|
|
207
211
|
calendarRightPaddingDatetimerange: string;
|
|
208
212
|
calendarRightPaddingMonth: string;
|
|
213
|
+
calendarRightPaddingYear: string;
|
|
209
214
|
};
|
|
210
215
|
peers: {
|
|
211
216
|
Input: import("../../../_mixins").Theme<"Input", {
|
|
@@ -282,20 +287,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
282
287
|
fontSizeMedium: string;
|
|
283
288
|
fontSizeLarge: string;
|
|
284
289
|
opacityDisabled: string;
|
|
290
|
+
colorOpacitySecondary: number;
|
|
291
|
+
colorOpacitySecondaryHover: number;
|
|
292
|
+
colorOpacitySecondaryPressed: number;
|
|
293
|
+
colorSecondary: string;
|
|
294
|
+
colorSecondaryHover: string;
|
|
295
|
+
colorSecondaryPressed: string;
|
|
296
|
+
colorTertiary: string;
|
|
297
|
+
colorTertiaryHover: string;
|
|
298
|
+
colorTertiaryPressed: string;
|
|
299
|
+
colorQuaternary: string;
|
|
300
|
+
colorQuaternaryHover: string;
|
|
301
|
+
colorQuaternaryPressed: string;
|
|
285
302
|
color: string;
|
|
286
303
|
colorHover: string;
|
|
287
304
|
colorPressed: string;
|
|
288
305
|
colorFocus: string;
|
|
289
306
|
colorDisabled: string;
|
|
290
307
|
textColor: string;
|
|
308
|
+
textColorTertiary: string;
|
|
291
309
|
textColorHover: string;
|
|
292
310
|
textColorPressed: string;
|
|
293
311
|
textColorFocus: string;
|
|
294
312
|
textColorDisabled: string;
|
|
295
313
|
textColorText: string;
|
|
296
|
-
textColorTextDepth1: string;
|
|
297
|
-
textColorTextDepth2: string;
|
|
298
|
-
textColorTextDepth3: string;
|
|
299
314
|
textColorTextHover: string;
|
|
300
315
|
textColorTextPressed: string;
|
|
301
316
|
textColorTextFocus: string;
|
|
@@ -442,9 +457,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
442
457
|
borderDisabledError: string;
|
|
443
458
|
rippleColorError: string;
|
|
444
459
|
waveOpacity: string;
|
|
445
|
-
fontWeightText: string;
|
|
446
460
|
fontWeight: string;
|
|
447
|
-
|
|
461
|
+
fontWeightStrong: string;
|
|
448
462
|
paddingTiny: string;
|
|
449
463
|
paddingSmall: string;
|
|
450
464
|
paddingMedium: string;
|
|
@@ -498,20 +512,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
498
512
|
fontSizeMedium: string;
|
|
499
513
|
fontSizeLarge: string;
|
|
500
514
|
opacityDisabled: string;
|
|
515
|
+
colorOpacitySecondary: number;
|
|
516
|
+
colorOpacitySecondaryHover: number;
|
|
517
|
+
colorOpacitySecondaryPressed: number;
|
|
518
|
+
colorSecondary: string;
|
|
519
|
+
colorSecondaryHover: string;
|
|
520
|
+
colorSecondaryPressed: string;
|
|
521
|
+
colorTertiary: string;
|
|
522
|
+
colorTertiaryHover: string;
|
|
523
|
+
colorTertiaryPressed: string;
|
|
524
|
+
colorQuaternary: string;
|
|
525
|
+
colorQuaternaryHover: string;
|
|
526
|
+
colorQuaternaryPressed: string;
|
|
501
527
|
color: string;
|
|
502
528
|
colorHover: string;
|
|
503
529
|
colorPressed: string;
|
|
504
530
|
colorFocus: string;
|
|
505
531
|
colorDisabled: string;
|
|
506
532
|
textColor: string;
|
|
533
|
+
textColorTertiary: string;
|
|
507
534
|
textColorHover: string;
|
|
508
535
|
textColorPressed: string;
|
|
509
536
|
textColorFocus: string;
|
|
510
537
|
textColorDisabled: string;
|
|
511
538
|
textColorText: string;
|
|
512
|
-
textColorTextDepth1: string;
|
|
513
|
-
textColorTextDepth2: string;
|
|
514
|
-
textColorTextDepth3: string;
|
|
515
539
|
textColorTextHover: string;
|
|
516
540
|
textColorTextPressed: string;
|
|
517
541
|
textColorTextFocus: string;
|
|
@@ -658,9 +682,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
658
682
|
borderDisabledError: string;
|
|
659
683
|
rippleColorError: string;
|
|
660
684
|
waveOpacity: string;
|
|
661
|
-
fontWeightText: string;
|
|
662
685
|
fontWeight: string;
|
|
663
|
-
|
|
686
|
+
fontWeightStrong: string;
|
|
664
687
|
paddingTiny: string;
|
|
665
688
|
paddingSmall: string;
|
|
666
689
|
paddingMedium: string;
|
|
@@ -776,20 +799,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
776
799
|
fontSizeMedium: string;
|
|
777
800
|
fontSizeLarge: string;
|
|
778
801
|
opacityDisabled: string;
|
|
802
|
+
colorOpacitySecondary: number;
|
|
803
|
+
colorOpacitySecondaryHover: number;
|
|
804
|
+
colorOpacitySecondaryPressed: number;
|
|
805
|
+
colorSecondary: string;
|
|
806
|
+
colorSecondaryHover: string;
|
|
807
|
+
colorSecondaryPressed: string;
|
|
808
|
+
colorTertiary: string;
|
|
809
|
+
colorTertiaryHover: string;
|
|
810
|
+
colorTertiaryPressed: string;
|
|
811
|
+
colorQuaternary: string;
|
|
812
|
+
colorQuaternaryHover: string;
|
|
813
|
+
colorQuaternaryPressed: string;
|
|
779
814
|
color: string;
|
|
780
815
|
colorHover: string;
|
|
781
816
|
colorPressed: string;
|
|
782
817
|
colorFocus: string;
|
|
783
818
|
colorDisabled: string;
|
|
784
819
|
textColor: string;
|
|
820
|
+
textColorTertiary: string;
|
|
785
821
|
textColorHover: string;
|
|
786
822
|
textColorPressed: string;
|
|
787
823
|
textColorFocus: string;
|
|
788
824
|
textColorDisabled: string;
|
|
789
825
|
textColorText: string;
|
|
790
|
-
textColorTextDepth1: string;
|
|
791
|
-
textColorTextDepth2: string;
|
|
792
|
-
textColorTextDepth3: string;
|
|
793
826
|
textColorTextHover: string;
|
|
794
827
|
textColorTextPressed: string;
|
|
795
828
|
textColorTextFocus: string;
|
|
@@ -936,9 +969,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
936
969
|
borderDisabledError: string;
|
|
937
970
|
rippleColorError: string;
|
|
938
971
|
waveOpacity: string;
|
|
939
|
-
fontWeightText: string;
|
|
940
972
|
fontWeight: string;
|
|
941
|
-
|
|
973
|
+
fontWeightStrong: string;
|
|
942
974
|
paddingTiny: string;
|
|
943
975
|
paddingSmall: string;
|
|
944
976
|
paddingMedium: string;
|
|
@@ -1104,9 +1136,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1104
1136
|
} & {
|
|
1105
1137
|
value: import("../interface").Value | null;
|
|
1106
1138
|
active: boolean;
|
|
1139
|
+
dateFormat: string;
|
|
1107
1140
|
onUpdateValue: import("../interface").OnPanelUpdateValue;
|
|
1108
1141
|
actions: unknown[];
|
|
1109
|
-
dateFormat: string;
|
|
1110
1142
|
timeFormat: string;
|
|
1111
1143
|
} & {
|
|
1112
1144
|
onTabOut?: Function | undefined;
|
|
@@ -1116,8 +1148,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1116
1148
|
}>, {
|
|
1117
1149
|
value: import("../interface").Value | null;
|
|
1118
1150
|
active: boolean;
|
|
1119
|
-
actions: unknown[];
|
|
1120
1151
|
dateFormat: string;
|
|
1152
|
+
actions: unknown[];
|
|
1121
1153
|
timeFormat: string;
|
|
1122
1154
|
}>;
|
|
1123
1155
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
readonly actions: {
|
|
3
|
-
readonly type:
|
|
3
|
+
readonly type: import("vue").PropType<string[]>;
|
|
4
4
|
readonly default: () => string[];
|
|
5
5
|
};
|
|
6
6
|
readonly active: BooleanConstructor;
|
|
@@ -130,6 +130,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
130
|
pressedColor: string;
|
|
131
131
|
opacityDisabled: string;
|
|
132
132
|
inputColorDisabled: string;
|
|
133
|
+
buttonColor2: string;
|
|
134
|
+
buttonColor2Hover: string;
|
|
135
|
+
buttonColor2Pressed: string;
|
|
133
136
|
boxShadow1: string;
|
|
134
137
|
boxShadow2: string;
|
|
135
138
|
boxShadow3: string;
|
|
@@ -209,11 +212,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
209
212
|
calendarLeftPaddingDaterange: string;
|
|
210
213
|
calendarLeftPaddingDatetimerange: string;
|
|
211
214
|
calendarLeftPaddingMonth: string;
|
|
215
|
+
calendarLeftPaddingYear: string;
|
|
212
216
|
calendarRightPaddingDate: string;
|
|
213
217
|
calendarRightPaddingDatetime: string;
|
|
214
218
|
calendarRightPaddingDaterange: string;
|
|
215
219
|
calendarRightPaddingDatetimerange: string;
|
|
216
220
|
calendarRightPaddingMonth: string;
|
|
221
|
+
calendarRightPaddingYear: string;
|
|
217
222
|
};
|
|
218
223
|
peers: {
|
|
219
224
|
Input: import("../../../_mixins").Theme<"Input", {
|
|
@@ -290,20 +295,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
290
295
|
fontSizeMedium: string;
|
|
291
296
|
fontSizeLarge: string;
|
|
292
297
|
opacityDisabled: string;
|
|
298
|
+
colorOpacitySecondary: number;
|
|
299
|
+
colorOpacitySecondaryHover: number;
|
|
300
|
+
colorOpacitySecondaryPressed: number;
|
|
301
|
+
colorSecondary: string;
|
|
302
|
+
colorSecondaryHover: string;
|
|
303
|
+
colorSecondaryPressed: string;
|
|
304
|
+
colorTertiary: string;
|
|
305
|
+
colorTertiaryHover: string;
|
|
306
|
+
colorTertiaryPressed: string;
|
|
307
|
+
colorQuaternary: string;
|
|
308
|
+
colorQuaternaryHover: string;
|
|
309
|
+
colorQuaternaryPressed: string;
|
|
293
310
|
color: string;
|
|
294
311
|
colorHover: string;
|
|
295
312
|
colorPressed: string;
|
|
296
313
|
colorFocus: string;
|
|
297
314
|
colorDisabled: string;
|
|
298
315
|
textColor: string;
|
|
316
|
+
textColorTertiary: string;
|
|
299
317
|
textColorHover: string;
|
|
300
318
|
textColorPressed: string;
|
|
301
319
|
textColorFocus: string;
|
|
302
320
|
textColorDisabled: string;
|
|
303
321
|
textColorText: string;
|
|
304
|
-
textColorTextDepth1: string;
|
|
305
|
-
textColorTextDepth2: string;
|
|
306
|
-
textColorTextDepth3: string;
|
|
307
322
|
textColorTextHover: string;
|
|
308
323
|
textColorTextPressed: string;
|
|
309
324
|
textColorTextFocus: string;
|
|
@@ -450,9 +465,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
450
465
|
borderDisabledError: string;
|
|
451
466
|
rippleColorError: string;
|
|
452
467
|
waveOpacity: string;
|
|
453
|
-
fontWeightText: string;
|
|
454
468
|
fontWeight: string;
|
|
455
|
-
|
|
469
|
+
fontWeightStrong: string;
|
|
456
470
|
paddingTiny: string;
|
|
457
471
|
paddingSmall: string;
|
|
458
472
|
paddingMedium: string;
|
|
@@ -506,20 +520,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
506
520
|
fontSizeMedium: string;
|
|
507
521
|
fontSizeLarge: string;
|
|
508
522
|
opacityDisabled: string;
|
|
523
|
+
colorOpacitySecondary: number;
|
|
524
|
+
colorOpacitySecondaryHover: number;
|
|
525
|
+
colorOpacitySecondaryPressed: number;
|
|
526
|
+
colorSecondary: string;
|
|
527
|
+
colorSecondaryHover: string;
|
|
528
|
+
colorSecondaryPressed: string;
|
|
529
|
+
colorTertiary: string;
|
|
530
|
+
colorTertiaryHover: string;
|
|
531
|
+
colorTertiaryPressed: string;
|
|
532
|
+
colorQuaternary: string;
|
|
533
|
+
colorQuaternaryHover: string;
|
|
534
|
+
colorQuaternaryPressed: string;
|
|
509
535
|
color: string;
|
|
510
536
|
colorHover: string;
|
|
511
537
|
colorPressed: string;
|
|
512
538
|
colorFocus: string;
|
|
513
539
|
colorDisabled: string;
|
|
514
540
|
textColor: string;
|
|
541
|
+
textColorTertiary: string;
|
|
515
542
|
textColorHover: string;
|
|
516
543
|
textColorPressed: string;
|
|
517
544
|
textColorFocus: string;
|
|
518
545
|
textColorDisabled: string;
|
|
519
546
|
textColorText: string;
|
|
520
|
-
textColorTextDepth1: string;
|
|
521
|
-
textColorTextDepth2: string;
|
|
522
|
-
textColorTextDepth3: string;
|
|
523
547
|
textColorTextHover: string;
|
|
524
548
|
textColorTextPressed: string;
|
|
525
549
|
textColorTextFocus: string;
|
|
@@ -666,9 +690,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
666
690
|
borderDisabledError: string;
|
|
667
691
|
rippleColorError: string;
|
|
668
692
|
waveOpacity: string;
|
|
669
|
-
fontWeightText: string;
|
|
670
693
|
fontWeight: string;
|
|
671
|
-
|
|
694
|
+
fontWeightStrong: string;
|
|
672
695
|
paddingTiny: string;
|
|
673
696
|
paddingSmall: string;
|
|
674
697
|
paddingMedium: string;
|
|
@@ -784,20 +807,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
784
807
|
fontSizeMedium: string;
|
|
785
808
|
fontSizeLarge: string;
|
|
786
809
|
opacityDisabled: string;
|
|
810
|
+
colorOpacitySecondary: number;
|
|
811
|
+
colorOpacitySecondaryHover: number;
|
|
812
|
+
colorOpacitySecondaryPressed: number;
|
|
813
|
+
colorSecondary: string;
|
|
814
|
+
colorSecondaryHover: string;
|
|
815
|
+
colorSecondaryPressed: string;
|
|
816
|
+
colorTertiary: string;
|
|
817
|
+
colorTertiaryHover: string;
|
|
818
|
+
colorTertiaryPressed: string;
|
|
819
|
+
colorQuaternary: string;
|
|
820
|
+
colorQuaternaryHover: string;
|
|
821
|
+
colorQuaternaryPressed: string;
|
|
787
822
|
color: string;
|
|
788
823
|
colorHover: string;
|
|
789
824
|
colorPressed: string;
|
|
790
825
|
colorFocus: string;
|
|
791
826
|
colorDisabled: string;
|
|
792
827
|
textColor: string;
|
|
828
|
+
textColorTertiary: string;
|
|
793
829
|
textColorHover: string;
|
|
794
830
|
textColorPressed: string;
|
|
795
831
|
textColorFocus: string;
|
|
796
832
|
textColorDisabled: string;
|
|
797
833
|
textColorText: string;
|
|
798
|
-
textColorTextDepth1: string;
|
|
799
|
-
textColorTextDepth2: string;
|
|
800
|
-
textColorTextDepth3: string;
|
|
801
834
|
textColorTextHover: string;
|
|
802
835
|
textColorTextPressed: string;
|
|
803
836
|
textColorTextFocus: string;
|
|
@@ -944,9 +977,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
944
977
|
borderDisabledError: string;
|
|
945
978
|
rippleColorError: string;
|
|
946
979
|
waveOpacity: string;
|
|
947
|
-
fontWeightText: string;
|
|
948
980
|
fontWeight: string;
|
|
949
|
-
|
|
981
|
+
fontWeightStrong: string;
|
|
950
982
|
paddingTiny: string;
|
|
951
983
|
paddingSmall: string;
|
|
952
984
|
paddingMedium: string;
|
|
@@ -1110,9 +1142,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1110
1142
|
} & {
|
|
1111
1143
|
value: import("../interface").Value | null;
|
|
1112
1144
|
active: boolean;
|
|
1113
|
-
onUpdateValue: import("../interface").OnPanelUpdateValue;
|
|
1114
|
-
actions: unknown[];
|
|
1115
1145
|
dateFormat: string;
|
|
1146
|
+
onUpdateValue: import("../interface").OnPanelUpdateValue;
|
|
1147
|
+
actions: string[];
|
|
1116
1148
|
timeFormat: string;
|
|
1117
1149
|
} & {
|
|
1118
1150
|
onTabOut?: Function | undefined;
|
|
@@ -1122,8 +1154,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1122
1154
|
}>, {
|
|
1123
1155
|
value: import("../interface").Value | null;
|
|
1124
1156
|
active: boolean;
|
|
1125
|
-
actions: unknown[];
|
|
1126
1157
|
dateFormat: string;
|
|
1158
|
+
actions: string[];
|
|
1127
1159
|
timeFormat: string;
|
|
1128
1160
|
}>;
|
|
1129
1161
|
/**
|