naive-ui 2.24.6 → 2.25.2
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/clear/src/Clear.js +3 -2
- package/es/_internal/close/src/Close.js +1 -1
- package/es/_internal/icon/src/Icon.js +1 -1
- package/es/_internal/icons/ArrowUp.d.ts +2 -0
- package/es/_internal/icons/ArrowUp.js +9 -0
- package/es/_internal/icons/index.d.ts +1 -0
- package/es/_internal/icons/index.js +1 -0
- package/es/_internal/loading/src/Loading.js +1 -1
- package/es/_internal/menu-mask/src/MenuMask.js +1 -1
- package/es/_internal/scrollbar/src/ScrollBar.js +1 -1
- package/es/_internal/select-menu/src/SelectMenu.d.ts +11 -6
- package/es/_internal/select-menu/src/SelectMenu.js +49 -24
- package/es/_internal/selection/src/Selection.d.ts +42 -29
- package/es/_internal/selection/src/Selection.js +100 -93
- package/es/_internal/selection/src/interface.d.ts +2 -2
- package/es/_internal/selection/src/styles/index.cssr.js +16 -31
- package/es/_internal/selection/styles/dark.js +3 -3
- package/es/_internal/selection/styles/light.d.ts +6 -6
- package/es/_internal/selection/styles/light.js +3 -3
- package/es/_internal/slot-machine/src/SlotMachine.js +1 -1
- package/es/_internal/wave/src/Wave.js +1 -1
- package/es/_mixins/index.d.ts +1 -1
- package/es/_mixins/index.js +1 -1
- package/es/_mixins/use-config.js +1 -1
- package/es/_mixins/use-css-vars-class.d.ts +11 -2
- package/es/_mixins/use-css-vars-class.js +49 -18
- package/es/_mixins/use-form-item.d.ts +4 -0
- package/es/_mixins/use-form-item.js +7 -0
- package/es/_mixins/use-hljs.js +1 -1
- package/es/_mixins/use-locale.js +1 -1
- package/es/_mixins/use-style.js +1 -1
- package/es/_mixins/use-theme.d.ts +1 -1
- package/es/_mixins/use-theme.js +2 -2
- package/es/_utils/css/color-to-class.d.ts +1 -0
- package/es/_utils/css/color-to-class.js +3 -0
- package/es/_utils/css/format-length.d.ts +2 -2
- package/es/_utils/css/format-length.js +1 -2
- package/es/_utils/css/index.d.ts +2 -1
- package/es/_utils/css/index.js +2 -1
- package/es/_utils/cssr/index.d.ts +1 -2
- package/es/_utils/cssr/index.js +1 -14
- package/es/_utils/index.d.ts +2 -2
- package/es/_utils/index.js +2 -2
- package/es/_utils/vue/index.d.ts +1 -1
- package/es/_utils/vue/index.js +1 -1
- package/es/_utils/vue/resolve-slot.d.ts +8 -2
- package/es/_utils/vue/resolve-slot.js +17 -1
- package/es/affix/src/Affix.js +1 -1
- package/es/alert/src/Alert.js +1 -1
- package/es/anchor/src/AnchorAdapter.js +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +16 -1
- package/es/auto-complete/src/AutoComplete.js +9 -5
- package/es/avatar/src/Avatar.js +2 -2
- package/es/avatar/src/AvatarGroup.d.ts +0 -1
- package/es/avatar/src/AvatarGroup.js +2 -3
- package/es/avatar/src/context.d.ts +2 -0
- package/es/avatar/src/context.js +2 -0
- package/es/back-top/src/BackTop.js +1 -1
- package/es/badge/src/Badge.js +1 -1
- package/es/breadcrumb/src/Breadcrumb.js +1 -1
- package/es/button/src/Button.d.ts +4 -2
- package/es/button/src/Button.js +270 -245
- package/es/button/src/ButtonGroup.js +1 -1
- package/es/button/src/styles/button.cssr.js +1 -0
- package/es/button/styles/index.d.ts +1 -1
- package/es/button/styles/index.js +1 -1
- package/es/button/styles/rtl.d.ts +2 -5
- package/es/button/styles/rtl.js +1 -1
- package/es/calendar/src/Calendar.js +1 -1
- package/es/card/src/Card.d.ts +8 -2
- package/es/card/src/Card.js +44 -40
- package/es/card/styles/index.d.ts +1 -1
- package/es/card/styles/index.js +1 -1
- package/es/card/styles/rtl.d.ts +2 -5
- package/es/card/styles/rtl.js +1 -1
- package/es/carousel/src/Carousel.js +4 -1
- package/es/carousel/src/CarouselArrow.js +6 -9
- package/es/carousel/src/styles/index.cssr.js +59 -48
- package/es/carousel/styles/light.js +2 -2
- package/es/cascader/src/Cascader.d.ts +36 -34
- package/es/cascader/src/Cascader.js +6 -6
- package/es/cascader/src/CascaderMenu.d.ts +3 -3
- package/es/cascader/src/CascaderOption.d.ts +3 -3
- package/es/cascader/src/CascaderSelectMenu.d.ts +3 -3
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -3
- package/es/cascader/styles/light.d.ts +3 -3
- package/es/checkbox/src/Checkbox.js +1 -1
- package/es/checkbox/src/styles/index.cssr.js +12 -12
- package/es/code/src/Code.js +1 -1
- package/es/collapse/src/Collapse.js +1 -1
- package/es/collapse-transition/src/CollapseTransition.js +1 -1
- package/es/color-picker/src/ColorInputUnit.js +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +24 -17
- package/es/color-picker/src/ColorPicker.js +7 -4
- package/es/color-picker/src/ColorPickerTrigger.js +1 -1
- package/es/color-picker/src/context.d.ts +9 -0
- package/es/color-picker/src/context.js +2 -0
- package/es/color-picker/src/styles/index.cssr.js +1 -0
- package/es/components.d.ts +2 -1
- package/es/components.js +2 -1
- package/es/composables/use-theme-vars.js +1 -1
- package/es/config-provider/src/ConfigProvider.d.ts +15 -3
- package/es/config-provider/src/ConfigProvider.js +29 -3
- package/es/config-provider/src/context.d.ts +2 -0
- package/es/config-provider/src/context.js +2 -0
- package/es/config-provider/src/interface.d.ts +2 -1
- package/es/config-provider/src/internal-interface.d.ts +4 -0
- package/es/data-table/src/DataTable.d.ts +33 -33
- package/es/data-table/src/DataTable.js +1 -1
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
- package/es/data-table/src/TableParts/Body.d.ts +6 -6
- package/es/data-table/src/TableParts/Cell.d.ts +12 -12
- package/es/data-table/src/TableParts/Header.d.ts +6 -6
- package/es/data-table/src/interface.d.ts +2 -2
- package/es/data-table/src/use-check.d.ts +2 -2
- package/es/data-table/src/use-group-header.d.ts +1 -1
- package/es/data-table/src/use-scroll.d.ts +1 -1
- package/es/data-table/src/use-scroll.js +3 -3
- package/es/data-table/src/use-sorter.d.ts +1 -1
- package/es/data-table/src/use-table-data.d.ts +1 -1
- package/es/data-table/src/utils.d.ts +2 -1
- package/es/data-table/src/utils.js +13 -3
- package/es/data-table/styles/light.d.ts +3 -3
- package/es/date-picker/src/DatePicker.d.ts +2 -1
- package/es/date-picker/src/DatePicker.js +6 -6
- package/es/descriptions/src/Descriptions.d.ts +1 -1
- package/es/descriptions/src/Descriptions.js +1 -1
- package/es/dialog/index.d.ts +3 -3
- package/es/dialog/index.js +2 -2
- package/es/dialog/src/Dialog.d.ts +27 -60
- package/es/dialog/src/Dialog.js +4 -31
- package/es/dialog/src/DialogEnvironment.d.ts +8 -9
- package/es/dialog/src/DialogEnvironment.js +3 -2
- package/es/dialog/src/DialogProvider.d.ts +3 -5
- package/es/dialog/src/DialogProvider.js +5 -6
- package/es/dialog/src/context.d.ts +3 -0
- package/es/dialog/src/context.js +3 -0
- package/es/dialog/src/dialogProps.d.ts +32 -0
- package/es/dialog/src/dialogProps.js +29 -0
- package/es/dialog/src/use-dialog.js +1 -1
- package/es/divider/src/Divider.js +1 -1
- package/es/drawer/index.d.ts +1 -0
- package/es/drawer/src/Drawer.js +1 -1
- package/es/dropdown/src/Dropdown.d.ts +17 -5
- package/es/dropdown/src/Dropdown.js +6 -5
- package/es/dropdown/src/DropdownGroup.js +1 -0
- package/es/dropdown/src/DropdownGroupHeader.js +1 -2
- package/es/dropdown/src/DropdownMenu.d.ts +0 -1
- package/es/dropdown/src/DropdownMenu.js +4 -4
- package/es/dropdown/src/DropdownOption.d.ts +3 -0
- package/es/dropdown/src/DropdownOption.js +4 -4
- package/es/dropdown/src/context.d.ts +6 -0
- package/es/dropdown/src/context.js +4 -0
- package/es/dropdown/src/interface.d.ts +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +10 -1
- package/es/dynamic-input/src/DynamicInput.js +61 -18
- package/es/dynamic-tags/src/DynamicTags.d.ts +7 -16
- package/es/dynamic-tags/src/DynamicTags.js +14 -16
- package/es/element/src/Element.js +1 -1
- package/es/ellipsis/src/Ellipsis.js +1 -1
- package/es/empty/src/Empty.js +2 -2
- package/es/form/src/Form.d.ts +1 -1
- package/es/form/src/Form.js +2 -2
- package/es/form/src/FormItem.d.ts +1 -1
- package/es/form/src/FormItem.js +3 -2
- package/es/form/src/FormItemCol.d.ts +1 -1
- package/es/form/src/FormItemGridItem.d.ts +1 -1
- package/es/form/src/context.d.ts +3 -0
- package/es/form/src/context.js +3 -0
- package/es/form/src/interface.d.ts +4 -3
- package/es/form/src/interface.js +1 -3
- package/es/form/src/styles/form-item.cssr.js +6 -5
- package/es/form/src/utils.js +1 -1
- package/es/global-style/src/GlobalStyle.js +1 -1
- package/es/gradient-text/src/GradientText.js +1 -1
- package/es/grid/src/Grid.d.ts +0 -1
- package/es/grid/src/Grid.js +2 -3
- package/es/grid/src/GridItem.js +1 -1
- package/es/grid/src/config.d.ts +3 -0
- package/es/grid/src/config.js +3 -0
- package/es/icon/index.d.ts +1 -1
- package/es/icon/index.js +1 -1
- package/es/icon/src/Icon.d.ts +1 -2
- package/es/icon/src/Icon.js +2 -2
- package/es/icon-wrapper/index.d.ts +1 -0
- package/es/icon-wrapper/index.js +1 -0
- package/es/icon-wrapper/src/IconWrapper.d.ts +50 -0
- package/es/icon-wrapper/src/IconWrapper.js +50 -0
- package/es/icon-wrapper/src/styles/index.cssr.d.ts +2 -0
- package/es/icon-wrapper/src/styles/index.cssr.js +16 -0
- package/es/icon-wrapper/styles/dark.d.ts +3 -0
- package/es/icon-wrapper/styles/dark.js +8 -0
- package/es/icon-wrapper/styles/index.d.ts +3 -0
- package/es/icon-wrapper/styles/index.js +2 -0
- package/es/icon-wrapper/styles/light.d.ts +10 -0
- package/es/icon-wrapper/styles/light.js +14 -0
- package/es/image/src/Image.d.ts +1 -1
- package/es/image/src/ImagePreview.js +1 -1
- package/es/input/src/Input.d.ts +6 -1
- package/es/input/src/Input.js +21 -17
- package/es/input/src/InputGroup.js +1 -1
- package/es/input/src/InputGroupLabel.js +1 -1
- package/es/input/src/WordCount.js +9 -8
- package/es/input/src/styles/input.cssr.js +5 -5
- package/es/input-number/src/InputNumber.d.ts +2 -1
- package/es/input-number/src/InputNumber.js +23 -21
- package/es/layout/src/Layout.js +1 -1
- package/es/layout/src/LayoutFooter.js +1 -1
- package/es/layout/src/LayoutHeader.js +1 -1
- package/es/layout/src/LayoutSider.js +1 -1
- package/es/legacy-grid/src/Col.js +0 -3
- package/es/legacy-grid/src/Row.js +1 -1
- package/es/list/src/List.js +1 -1
- package/es/loading-bar/src/LoadingBar.js +2 -2
- package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -8
- package/es/loading-bar/src/LoadingBarProvider.js +1 -3
- package/es/loading-bar/src/context.d.ts +7 -0
- package/es/loading-bar/src/context.js +3 -0
- package/es/loading-bar/src/use-loading-bar.js +1 -1
- package/es/locales/common/deDE.js +13 -15
- package/es/locales/common/enGB.d.ts +109 -0
- package/es/locales/common/enGB.js +109 -0
- package/es/locales/common/eo.d.ts +109 -0
- package/es/locales/common/eo.js +109 -0
- package/es/locales/common/jaJP.js +12 -14
- package/es/locales/common/plPL.d.ts +3 -0
- package/es/locales/common/plPL.js +109 -0
- package/es/locales/date/enGB.d.ts +3 -0
- package/es/locales/date/enGB.js +6 -0
- package/es/locales/date/eo.d.ts +3 -0
- package/es/locales/date/eo.js +6 -0
- package/es/locales/date/plPL.d.ts +3 -0
- package/es/locales/date/plPL.js +6 -0
- package/es/locales/index.d.ts +6 -0
- package/es/locales/index.js +6 -0
- package/es/log/index.d.ts +1 -1
- package/es/log/src/Log.d.ts +17 -12
- package/es/log/src/Log.js +10 -17
- package/es/log/src/LogLine.js +1 -1
- package/es/log/src/context.d.ts +2 -0
- package/es/log/src/context.js +2 -0
- package/es/log/src/styles/index.cssr.js +2 -3
- package/es/mention/src/Mention.d.ts +16 -1
- package/es/mention/src/Mention.js +7 -3
- package/es/menu/src/Menu.d.ts +3 -5
- package/es/menu/src/Menu.js +3 -3
- package/es/menu/src/MenuDivider.js +1 -1
- package/es/menu/src/MenuOption.d.ts +1 -2
- package/es/menu/src/MenuOption.js +1 -1
- package/es/menu/src/MenuOptionContent.js +1 -1
- package/es/menu/src/MenuOptionGroup.d.ts +1 -4
- package/es/menu/src/MenuOptionGroup.js +4 -5
- package/es/menu/src/Submenu.d.ts +1 -4
- package/es/menu/src/Submenu.js +3 -4
- package/es/menu/src/context.d.ts +4 -0
- package/es/menu/src/context.js +4 -0
- package/es/menu/src/use-menu-child.js +1 -3
- package/es/menu/src/useCheckDeprecated.d.ts +1 -1
- package/es/menu/src/utils.d.ts +1 -1
- package/es/menu/src/utils.js +5 -3
- package/es/message/src/Message.d.ts +2 -158
- package/es/message/src/Message.js +2 -2
- package/es/message/src/MessageProvider.d.ts +4 -9
- package/es/message/src/MessageProvider.js +2 -3
- package/es/message/src/context.d.ts +7 -0
- package/es/message/src/context.js +3 -0
- package/es/message/src/types.d.ts +1 -1
- package/es/message/src/use-message.js +1 -1
- package/es/modal/src/BodyWrapper.d.ts +5 -3
- package/es/modal/src/BodyWrapper.js +2 -2
- package/es/modal/src/Modal.d.ts +7 -4
- package/es/modal/src/Modal.js +2 -2
- package/es/modal/src/presetProps.d.ts +2 -1
- package/es/modal/src/presetProps.js +1 -1
- package/es/notification/index.d.ts +1 -1
- package/es/notification/src/Notification.d.ts +1 -2
- package/es/notification/src/Notification.js +3 -5
- package/es/notification/src/NotificationContainer.d.ts +1 -2
- package/es/notification/src/NotificationContainer.js +2 -2
- package/es/notification/src/NotificationEnvironment.d.ts +3 -4
- package/es/notification/src/NotificationEnvironment.js +3 -3
- package/es/notification/src/NotificationProvider.d.ts +10 -6
- package/es/notification/src/NotificationProvider.js +6 -6
- package/es/notification/src/context.d.ts +2 -0
- package/es/notification/src/context.js +2 -0
- package/es/page-header/src/PageHeader.js +1 -1
- package/es/pagination/src/Pagination.d.ts +33 -33
- package/es/pagination/src/Pagination.js +1 -1
- package/es/pagination/styles/light.d.ts +3 -3
- package/es/popconfirm/src/Popconfirm.d.ts +21 -8
- package/es/popconfirm/src/Popconfirm.js +1 -1
- package/es/popover/index.d.ts +1 -0
- package/es/popover/src/Popover.d.ts +21 -4
- package/es/popover/src/Popover.js +9 -2
- package/es/popover/src/PopoverBody.d.ts +4 -0
- package/es/popover/src/PopoverBody.js +13 -11
- package/es/popover/src/styles/index.cssr.js +2 -2
- package/es/popselect/src/Popselect.d.ts +31 -8
- package/es/popselect/src/Popselect.js +8 -6
- package/es/popselect/src/PopselectPanel.d.ts +2 -5
- package/es/popselect/src/PopselectPanel.js +4 -2
- package/es/progress/src/Circle.d.ts +19 -3
- package/es/progress/src/Circle.js +41 -22
- package/es/progress/src/Progress.d.ts +15 -6
- package/es/progress/src/Progress.js +44 -30
- package/es/progress/src/styles/index.cssr.js +1 -1
- package/es/radio/src/Radio.js +1 -1
- package/es/radio/src/RadioGroup.js +1 -1
- package/es/rate/src/Rate.js +1 -1
- package/es/result/src/Result.js +1 -1
- package/es/select/index.d.ts +2 -0
- package/es/select/src/Select.d.ts +71 -54
- package/es/select/src/Select.js +82 -47
- package/es/select/src/interface.d.ts +2 -0
- package/es/select/styles/light.d.ts +3 -3
- package/es/skeleton/src/Skeleton.js +1 -1
- package/es/slider/src/Slider.js +1 -1
- package/es/space/src/Space.js +1 -1
- package/es/spin/src/Spin.js +1 -1
- package/es/statistic/src/Statistic.js +1 -1
- package/es/steps/src/Steps.js +1 -1
- package/es/switch/src/Switch.js +1 -1
- package/es/table/src/Table.js +1 -1
- package/es/tabs/src/Tabs.d.ts +7 -4
- package/es/tabs/src/Tabs.js +12 -4
- package/es/tag/src/Tag.d.ts +3 -1
- package/es/tag/src/Tag.js +61 -41
- package/es/tag/src/styles/index.cssr.js +5 -17
- package/es/tag/styles/index.d.ts +1 -1
- package/es/tag/styles/index.js +1 -1
- package/es/tag/styles/rtl.d.ts +2 -5
- package/es/tag/styles/rtl.js +1 -1
- package/es/themes/dark.js +3 -0
- package/es/themes/light.js +3 -0
- package/es/themes/utils.d.ts +2 -1
- package/es/themes/utils.js +16 -4
- package/es/thing/src/Thing.js +1 -1
- package/es/time-picker/src/TimePicker.d.ts +7 -5
- package/es/time-picker/src/TimePicker.js +5 -5
- package/es/timeline/src/Timeline.js +1 -1
- package/es/tooltip/src/Tooltip.d.ts +20 -7
- package/es/tooltip/src/Tooltip.js +1 -1
- package/es/transfer/src/Transfer.d.ts +1 -1
- package/es/transfer/src/Transfer.js +1 -1
- package/es/tree/src/Tree.d.ts +6 -2
- package/es/tree/src/Tree.js +15 -8
- package/es/tree/src/TreeNode.d.ts +2 -0
- package/es/tree/src/TreeNode.js +37 -10
- package/es/tree/src/TreeNodeContent.d.ts +3 -1
- package/es/tree/src/TreeNodeContent.js +4 -3
- package/es/tree/src/interface.d.ts +5 -1
- package/es/tree/src/utils.js +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +46 -44
- package/es/tree-select/src/TreeSelect.js +8 -5
- package/es/tree-select/styles/light.d.ts +3 -3
- package/es/typography/src/a.js +1 -1
- package/es/typography/src/blockquote.js +1 -1
- package/es/typography/src/create-header.js +1 -1
- package/es/typography/src/hr.js +1 -1
- package/es/typography/src/ol.js +1 -1
- package/es/typography/src/p.js +1 -1
- package/es/typography/src/text.js +1 -1
- package/es/typography/src/ul.js +1 -1
- package/es/upload/src/Upload.js +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/clear/src/Clear.js +3 -2
- package/lib/_internal/close/src/Close.js +1 -1
- package/lib/_internal/icon/src/Icon.js +1 -1
- package/lib/_internal/icons/ArrowUp.d.ts +2 -0
- package/lib/_internal/icons/ArrowUp.js +11 -0
- package/lib/_internal/icons/index.d.ts +1 -0
- package/lib/_internal/icons/index.js +3 -1
- package/lib/_internal/loading/src/Loading.js +1 -1
- package/lib/_internal/menu-mask/src/MenuMask.js +1 -1
- package/lib/_internal/scrollbar/src/ScrollBar.js +1 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +11 -6
- package/lib/_internal/select-menu/src/SelectMenu.js +47 -22
- package/lib/_internal/selection/src/Selection.d.ts +42 -29
- package/lib/_internal/selection/src/Selection.js +99 -92
- package/lib/_internal/selection/src/interface.d.ts +2 -2
- package/lib/_internal/selection/src/styles/index.cssr.js +15 -30
- package/lib/_internal/selection/styles/dark.js +3 -3
- package/lib/_internal/selection/styles/light.d.ts +6 -6
- package/lib/_internal/selection/styles/light.js +3 -3
- package/lib/_internal/slot-machine/src/SlotMachine.js +1 -1
- package/lib/_internal/wave/src/Wave.js +1 -1
- package/lib/_mixins/index.d.ts +1 -1
- package/lib/_mixins/index.js +3 -2
- package/lib/_mixins/use-config.js +2 -2
- package/lib/_mixins/use-css-vars-class.d.ts +11 -2
- package/lib/_mixins/use-css-vars-class.js +50 -22
- package/lib/_mixins/use-form-item.d.ts +4 -0
- package/lib/_mixins/use-form-item.js +7 -0
- package/lib/_mixins/use-hljs.js +2 -2
- package/lib/_mixins/use-locale.js +2 -2
- package/lib/_mixins/use-style.js +1 -1
- package/lib/_mixins/use-theme.d.ts +1 -1
- package/lib/_mixins/use-theme.js +3 -3
- package/lib/_utils/css/color-to-class.d.ts +1 -0
- package/lib/_utils/css/color-to-class.js +7 -0
- package/lib/_utils/css/format-length.d.ts +2 -2
- package/lib/_utils/css/format-length.js +2 -1
- package/lib/_utils/css/index.d.ts +2 -1
- package/lib/_utils/css/index.js +4 -5
- package/lib/_utils/cssr/index.d.ts +1 -2
- package/lib/_utils/cssr/index.js +1 -15
- package/lib/_utils/index.d.ts +2 -2
- package/lib/_utils/index.js +6 -1
- package/lib/_utils/vue/index.d.ts +1 -1
- package/lib/_utils/vue/index.js +4 -1
- package/lib/_utils/vue/resolve-slot.d.ts +8 -2
- package/lib/_utils/vue/resolve-slot.js +21 -2
- package/lib/affix/src/Affix.js +1 -1
- package/lib/alert/src/Alert.js +1 -1
- package/lib/anchor/src/AnchorAdapter.js +1 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +16 -1
- package/lib/auto-complete/src/AutoComplete.js +9 -5
- package/lib/avatar/src/Avatar.js +3 -3
- package/lib/avatar/src/AvatarGroup.d.ts +0 -1
- package/lib/avatar/src/AvatarGroup.js +3 -5
- package/lib/avatar/src/context.d.ts +2 -0
- package/lib/avatar/src/context.js +5 -0
- package/lib/back-top/src/BackTop.js +1 -1
- package/lib/badge/src/Badge.js +1 -1
- package/lib/breadcrumb/src/Breadcrumb.js +1 -1
- package/lib/button/src/Button.d.ts +4 -2
- package/lib/button/src/Button.js +268 -243
- package/lib/button/src/ButtonGroup.js +1 -1
- package/lib/button/src/styles/button.cssr.js +1 -0
- package/lib/button/styles/index.d.ts +1 -1
- package/lib/button/styles/index.js +1 -1
- package/lib/button/styles/rtl.d.ts +2 -5
- package/lib/button/styles/rtl.js +2 -1
- package/lib/calendar/src/Calendar.js +1 -1
- package/lib/card/src/Card.d.ts +8 -2
- package/lib/card/src/Card.js +43 -39
- package/lib/card/styles/index.d.ts +1 -1
- package/lib/card/styles/index.js +1 -1
- package/lib/card/styles/rtl.d.ts +2 -5
- package/lib/card/styles/rtl.js +2 -1
- package/lib/carousel/src/Carousel.js +4 -1
- package/lib/carousel/src/CarouselArrow.js +5 -8
- package/lib/carousel/src/styles/index.cssr.js +59 -48
- package/lib/carousel/styles/light.js +2 -2
- package/lib/cascader/src/Cascader.d.ts +36 -34
- package/lib/cascader/src/Cascader.js +6 -6
- package/lib/cascader/src/CascaderMenu.d.ts +3 -3
- package/lib/cascader/src/CascaderOption.d.ts +3 -3
- package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -3
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -3
- package/lib/cascader/styles/light.d.ts +3 -3
- package/lib/checkbox/src/Checkbox.js +1 -1
- package/lib/checkbox/src/styles/index.cssr.js +12 -12
- package/lib/code/src/Code.js +1 -1
- package/lib/collapse/src/Collapse.js +1 -1
- package/lib/collapse-transition/src/CollapseTransition.js +1 -1
- package/lib/color-picker/src/ColorInputUnit.js +2 -2
- package/lib/color-picker/src/ColorPicker.d.ts +24 -17
- package/lib/color-picker/src/ColorPicker.js +8 -5
- package/lib/color-picker/src/ColorPickerTrigger.js +2 -2
- package/lib/color-picker/src/context.d.ts +9 -0
- package/lib/color-picker/src/context.js +5 -0
- package/lib/color-picker/src/styles/index.cssr.js +1 -0
- package/lib/components.d.ts +2 -1
- package/lib/components.js +2 -1
- package/lib/composables/use-theme-vars.js +2 -2
- package/lib/config-provider/src/ConfigProvider.d.ts +15 -3
- package/lib/config-provider/src/ConfigProvider.js +31 -5
- package/lib/config-provider/src/context.d.ts +2 -0
- package/lib/config-provider/src/context.js +5 -0
- package/lib/config-provider/src/interface.d.ts +2 -1
- package/lib/config-provider/src/internal-interface.d.ts +4 -0
- package/lib/data-table/src/DataTable.d.ts +33 -33
- package/lib/data-table/src/DataTable.js +1 -1
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
- package/lib/data-table/src/TableParts/Body.d.ts +6 -6
- package/lib/data-table/src/TableParts/Cell.d.ts +12 -12
- package/lib/data-table/src/TableParts/Header.d.ts +6 -6
- package/lib/data-table/src/interface.d.ts +2 -2
- package/lib/data-table/src/use-check.d.ts +2 -2
- package/lib/data-table/src/use-group-header.d.ts +1 -1
- package/lib/data-table/src/use-scroll.d.ts +1 -1
- package/lib/data-table/src/use-scroll.js +2 -2
- package/lib/data-table/src/use-sorter.d.ts +1 -1
- package/lib/data-table/src/use-table-data.d.ts +1 -1
- package/lib/data-table/src/utils.d.ts +2 -1
- package/lib/data-table/src/utils.js +15 -4
- package/lib/data-table/styles/light.d.ts +3 -3
- package/lib/date-picker/src/DatePicker.d.ts +2 -1
- package/lib/date-picker/src/DatePicker.js +6 -6
- package/lib/descriptions/src/Descriptions.d.ts +1 -1
- package/lib/descriptions/src/Descriptions.js +1 -1
- package/lib/dialog/index.d.ts +3 -3
- package/lib/dialog/index.js +2 -5
- package/lib/dialog/src/Dialog.d.ts +27 -60
- package/lib/dialog/src/Dialog.js +5 -32
- package/lib/dialog/src/DialogEnvironment.d.ts +8 -9
- package/lib/dialog/src/DialogEnvironment.js +6 -24
- package/lib/dialog/src/DialogProvider.d.ts +3 -5
- package/lib/dialog/src/DialogProvider.js +8 -12
- package/lib/dialog/src/context.d.ts +3 -0
- package/lib/dialog/src/context.js +6 -0
- package/lib/dialog/src/dialogProps.d.ts +32 -0
- package/lib/dialog/src/dialogProps.js +32 -0
- package/lib/dialog/src/use-dialog.js +2 -2
- package/lib/divider/src/Divider.js +1 -1
- package/lib/drawer/index.d.ts +1 -0
- package/lib/drawer/src/Drawer.js +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +17 -5
- package/lib/dropdown/src/Dropdown.js +6 -6
- package/lib/dropdown/src/DropdownGroup.js +1 -0
- package/lib/dropdown/src/DropdownGroupHeader.js +3 -4
- package/lib/dropdown/src/DropdownMenu.d.ts +0 -1
- package/lib/dropdown/src/DropdownMenu.js +6 -7
- package/lib/dropdown/src/DropdownOption.d.ts +3 -0
- package/lib/dropdown/src/DropdownOption.js +9 -25
- package/lib/dropdown/src/context.d.ts +6 -0
- package/lib/dropdown/src/context.js +7 -0
- package/lib/dropdown/src/interface.d.ts +1 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +10 -1
- package/lib/dynamic-input/src/DynamicInput.js +59 -16
- package/lib/dynamic-tags/src/DynamicTags.d.ts +7 -16
- package/lib/dynamic-tags/src/DynamicTags.js +12 -14
- package/lib/element/src/Element.js +1 -1
- package/lib/ellipsis/src/Ellipsis.js +1 -1
- package/lib/empty/src/Empty.js +3 -3
- package/lib/form/src/Form.d.ts +1 -1
- package/lib/form/src/Form.js +4 -4
- package/lib/form/src/FormItem.d.ts +1 -1
- package/lib/form/src/FormItem.js +5 -4
- package/lib/form/src/FormItemCol.d.ts +1 -1
- package/lib/form/src/FormItemGridItem.d.ts +1 -1
- package/lib/form/src/context.d.ts +3 -0
- package/lib/form/src/context.js +6 -0
- package/lib/form/src/interface.d.ts +4 -3
- package/lib/form/src/interface.js +0 -4
- package/lib/form/src/styles/form-item.cssr.js +3 -2
- package/lib/form/src/utils.js +4 -4
- package/lib/global-style/src/GlobalStyle.js +2 -2
- package/lib/gradient-text/src/GradientText.js +1 -1
- package/lib/grid/src/Grid.d.ts +0 -1
- package/lib/grid/src/Grid.js +4 -6
- package/lib/grid/src/GridItem.js +2 -2
- package/lib/grid/src/config.d.ts +3 -0
- package/lib/grid/src/config.js +6 -0
- package/lib/icon/index.d.ts +1 -1
- package/lib/icon/index.js +1 -4
- package/lib/icon/src/Icon.d.ts +1 -2
- package/lib/icon/src/Icon.js +3 -2
- package/lib/icon-wrapper/index.d.ts +1 -0
- package/lib/icon-wrapper/index.js +5 -0
- package/lib/icon-wrapper/src/IconWrapper.d.ts +50 -0
- package/lib/icon-wrapper/src/IconWrapper.js +56 -0
- package/lib/icon-wrapper/src/styles/index.cssr.d.ts +2 -0
- package/lib/icon-wrapper/src/styles/index.cssr.js +23 -0
- package/lib/icon-wrapper/styles/dark.d.ts +3 -0
- package/lib/icon-wrapper/styles/dark.js +10 -0
- package/lib/icon-wrapper/styles/index.d.ts +3 -0
- package/lib/icon-wrapper/styles/index.js +10 -0
- package/lib/icon-wrapper/styles/light.d.ts +10 -0
- package/lib/icon-wrapper/styles/light.js +18 -0
- package/lib/image/src/Image.d.ts +1 -1
- package/lib/image/src/ImagePreview.js +1 -1
- package/lib/input/src/Input.d.ts +6 -1
- package/lib/input/src/Input.js +20 -16
- package/lib/input/src/InputGroup.js +1 -1
- package/lib/input/src/InputGroupLabel.js +1 -1
- package/lib/input/src/WordCount.js +9 -8
- package/lib/input/src/styles/input.cssr.js +4 -4
- package/lib/input-number/src/InputNumber.d.ts +2 -1
- package/lib/input-number/src/InputNumber.js +23 -21
- package/lib/layout/src/Layout.js +1 -1
- package/lib/layout/src/LayoutFooter.js +1 -1
- package/lib/layout/src/LayoutHeader.js +1 -1
- package/lib/layout/src/LayoutSider.js +1 -1
- package/lib/legacy-grid/src/Col.js +0 -6
- package/lib/legacy-grid/src/Row.js +1 -1
- package/lib/list/src/List.js +1 -1
- package/lib/loading-bar/src/LoadingBar.js +3 -3
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -8
- package/lib/loading-bar/src/LoadingBarProvider.js +3 -6
- package/lib/loading-bar/src/context.d.ts +7 -0
- package/lib/loading-bar/src/context.js +6 -0
- package/lib/loading-bar/src/use-loading-bar.js +2 -2
- package/lib/locales/common/deDE.js +13 -15
- package/lib/locales/common/enGB.d.ts +109 -0
- package/lib/locales/common/enGB.js +111 -0
- package/lib/locales/common/eo.d.ts +109 -0
- package/lib/locales/common/eo.js +111 -0
- package/lib/locales/common/jaJP.js +12 -14
- package/lib/locales/common/plPL.d.ts +3 -0
- package/lib/locales/common/plPL.js +111 -0
- package/lib/locales/date/enGB.d.ts +3 -0
- package/lib/locales/date/enGB.js +11 -0
- package/lib/locales/date/eo.d.ts +3 -0
- package/lib/locales/date/eo.js +11 -0
- package/lib/locales/date/plPL.d.ts +3 -0
- package/lib/locales/date/plPL.js +11 -0
- package/lib/locales/index.d.ts +6 -0
- package/lib/locales/index.js +13 -1
- package/lib/log/index.d.ts +1 -1
- package/lib/log/src/Log.d.ts +17 -12
- package/lib/log/src/Log.js +10 -18
- package/lib/log/src/LogLine.js +2 -2
- package/lib/log/src/context.d.ts +2 -0
- package/lib/log/src/context.js +5 -0
- package/lib/log/src/styles/index.cssr.js +2 -3
- package/lib/mention/src/Mention.d.ts +16 -1
- package/lib/mention/src/Mention.js +7 -3
- package/lib/menu/src/Menu.d.ts +3 -5
- package/lib/menu/src/Menu.js +3 -4
- package/lib/menu/src/MenuDivider.js +2 -2
- package/lib/menu/src/MenuOption.d.ts +1 -2
- package/lib/menu/src/MenuOption.js +2 -2
- package/lib/menu/src/MenuOptionContent.js +2 -2
- package/lib/menu/src/MenuOptionGroup.d.ts +1 -4
- package/lib/menu/src/MenuOptionGroup.js +7 -8
- package/lib/menu/src/Submenu.d.ts +1 -4
- package/lib/menu/src/Submenu.js +6 -7
- package/lib/menu/src/context.d.ts +4 -0
- package/lib/menu/src/context.js +7 -0
- package/lib/menu/src/use-menu-child.js +4 -6
- package/lib/menu/src/useCheckDeprecated.d.ts +1 -1
- package/lib/menu/src/utils.d.ts +1 -1
- package/lib/menu/src/utils.js +8 -25
- package/lib/message/src/Message.d.ts +2 -158
- package/lib/message/src/Message.js +3 -3
- package/lib/message/src/MessageProvider.d.ts +4 -9
- package/lib/message/src/MessageProvider.js +3 -5
- package/lib/message/src/context.d.ts +7 -0
- package/lib/message/src/context.js +6 -0
- package/lib/message/src/types.d.ts +1 -1
- package/lib/message/src/use-message.js +2 -2
- package/lib/modal/src/BodyWrapper.d.ts +5 -3
- package/lib/modal/src/BodyWrapper.js +3 -3
- package/lib/modal/src/Modal.d.ts +7 -4
- package/lib/modal/src/Modal.js +3 -3
- package/lib/modal/src/presetProps.d.ts +2 -1
- package/lib/modal/src/presetProps.js +2 -2
- package/lib/notification/index.d.ts +1 -1
- package/lib/notification/src/Notification.d.ts +1 -2
- package/lib/notification/src/Notification.js +5 -7
- package/lib/notification/src/NotificationContainer.d.ts +1 -2
- package/lib/notification/src/NotificationContainer.js +4 -3
- package/lib/notification/src/NotificationEnvironment.d.ts +3 -4
- package/lib/notification/src/NotificationEnvironment.js +4 -23
- package/lib/notification/src/NotificationProvider.d.ts +10 -6
- package/lib/notification/src/NotificationProvider.js +9 -9
- package/lib/notification/src/context.d.ts +2 -0
- package/lib/notification/src/context.js +5 -0
- package/lib/page-header/src/PageHeader.js +1 -1
- package/lib/pagination/src/Pagination.d.ts +33 -33
- package/lib/pagination/src/Pagination.js +1 -1
- package/lib/pagination/styles/light.d.ts +3 -3
- package/lib/popconfirm/src/Popconfirm.d.ts +21 -8
- package/lib/popconfirm/src/Popconfirm.js +1 -1
- package/lib/popover/index.d.ts +1 -0
- package/lib/popover/src/Popover.d.ts +21 -4
- package/lib/popover/src/Popover.js +9 -2
- package/lib/popover/src/PopoverBody.d.ts +4 -0
- package/lib/popover/src/PopoverBody.js +11 -9
- package/lib/popover/src/styles/index.cssr.js +2 -2
- package/lib/popselect/src/Popselect.d.ts +31 -8
- package/lib/popselect/src/Popselect.js +8 -6
- package/lib/popselect/src/PopselectPanel.d.ts +2 -5
- package/lib/popselect/src/PopselectPanel.js +4 -2
- package/lib/progress/src/Circle.d.ts +19 -3
- package/lib/progress/src/Circle.js +40 -21
- package/lib/progress/src/Progress.d.ts +15 -6
- package/lib/progress/src/Progress.js +43 -29
- package/lib/progress/src/styles/index.cssr.js +1 -1
- package/lib/radio/src/Radio.js +1 -1
- package/lib/radio/src/RadioGroup.js +1 -1
- package/lib/rate/src/Rate.js +1 -1
- package/lib/result/src/Result.js +1 -1
- package/lib/select/index.d.ts +2 -0
- package/lib/select/src/Select.d.ts +71 -54
- package/lib/select/src/Select.js +82 -47
- package/lib/select/src/interface.d.ts +2 -0
- package/lib/select/styles/light.d.ts +3 -3
- package/lib/skeleton/src/Skeleton.js +1 -1
- package/lib/slider/src/Slider.js +1 -1
- package/lib/space/src/Space.js +1 -1
- package/lib/spin/src/Spin.js +1 -1
- package/lib/statistic/src/Statistic.js +1 -1
- package/lib/steps/src/Steps.js +1 -1
- package/lib/switch/src/Switch.js +1 -1
- package/lib/table/src/Table.js +1 -1
- package/lib/tabs/src/Tabs.d.ts +7 -4
- package/lib/tabs/src/Tabs.js +12 -4
- package/lib/tag/src/Tag.d.ts +3 -1
- package/lib/tag/src/Tag.js +59 -39
- package/lib/tag/src/styles/index.cssr.js +5 -17
- package/lib/tag/styles/index.d.ts +1 -1
- package/lib/tag/styles/index.js +1 -1
- package/lib/tag/styles/rtl.d.ts +2 -5
- package/lib/tag/styles/rtl.js +2 -1
- package/lib/themes/dark.js +87 -84
- package/lib/themes/light.js +87 -84
- package/lib/themes/utils.d.ts +2 -1
- package/lib/themes/utils.js +16 -4
- package/lib/thing/src/Thing.js +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +7 -5
- package/lib/time-picker/src/TimePicker.js +5 -5
- package/lib/timeline/src/Timeline.js +1 -1
- package/lib/tooltip/src/Tooltip.d.ts +20 -7
- package/lib/tooltip/src/Tooltip.js +1 -1
- package/lib/transfer/src/Transfer.d.ts +1 -1
- package/lib/transfer/src/Transfer.js +1 -1
- package/lib/tree/src/Tree.d.ts +6 -2
- package/lib/tree/src/Tree.js +15 -8
- package/lib/tree/src/TreeNode.d.ts +2 -0
- package/lib/tree/src/TreeNode.js +37 -10
- package/lib/tree/src/TreeNodeContent.d.ts +3 -1
- package/lib/tree/src/TreeNodeContent.js +4 -3
- package/lib/tree/src/interface.d.ts +5 -1
- package/lib/tree/src/utils.js +1 -1
- package/lib/tree-select/src/TreeSelect.d.ts +46 -44
- package/lib/tree-select/src/TreeSelect.js +8 -5
- package/lib/tree-select/styles/light.d.ts +3 -3
- package/lib/typography/src/a.js +1 -1
- package/lib/typography/src/blockquote.js +1 -1
- package/lib/typography/src/create-header.js +1 -1
- package/lib/typography/src/hr.js +1 -1
- package/lib/typography/src/ol.js +1 -1
- package/lib/typography/src/p.js +1 -1
- package/lib/typography/src/text.js +1 -1
- package/lib/typography/src/ul.js +1 -1
- package/lib/upload/src/Upload.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +8 -9
- package/volar.d.ts +1 -0
- package/web-types.json +452 -220
|
@@ -5,7 +5,7 @@ import { RenderLabel, RenderOption } from '../../_internal/select-menu/src/inter
|
|
|
5
5
|
import { RenderTag } from '../../_internal/selection/src/interface';
|
|
6
6
|
import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
|
|
7
7
|
import { defaultFilter } from './utils';
|
|
8
|
-
import type { SelectMixedOption,
|
|
8
|
+
import type { SelectMixedOption, SelectOption, SelectGroupOption, SelectIgnoredOption, SelectFallbackOption, OnUpdateValue, Value, Size, ValueAtom } from './interface';
|
|
9
9
|
declare const selectProps: {
|
|
10
10
|
readonly to: {
|
|
11
11
|
type: PropType<string | boolean | HTMLElement>;
|
|
@@ -16,6 +16,10 @@ declare const selectProps: {
|
|
|
16
16
|
readonly default: undefined;
|
|
17
17
|
};
|
|
18
18
|
readonly clearable: BooleanConstructor;
|
|
19
|
+
readonly clearFilterAfterSelect: {
|
|
20
|
+
readonly type: BooleanConstructor;
|
|
21
|
+
readonly default: true;
|
|
22
|
+
};
|
|
19
23
|
readonly options: {
|
|
20
24
|
readonly type: PropType<SelectMixedOption[]>;
|
|
21
25
|
readonly default: () => never[];
|
|
@@ -37,7 +41,7 @@ declare const selectProps: {
|
|
|
37
41
|
readonly remote: BooleanConstructor;
|
|
38
42
|
readonly loading: BooleanConstructor;
|
|
39
43
|
readonly filter: {
|
|
40
|
-
readonly type: PropType<(pattern: string, option:
|
|
44
|
+
readonly type: PropType<(pattern: string, option: SelectOption) => boolean>;
|
|
41
45
|
readonly default: typeof defaultFilter;
|
|
42
46
|
};
|
|
43
47
|
readonly placement: {
|
|
@@ -50,14 +54,14 @@ declare const selectProps: {
|
|
|
50
54
|
};
|
|
51
55
|
readonly tag: BooleanConstructor;
|
|
52
56
|
readonly onCreate: {
|
|
53
|
-
readonly type: PropType<(label: string) =>
|
|
57
|
+
readonly type: PropType<(label: string) => SelectOption>;
|
|
54
58
|
readonly default: (label: string) => {
|
|
55
59
|
label: string;
|
|
56
60
|
value: string;
|
|
57
61
|
};
|
|
58
62
|
};
|
|
59
63
|
readonly fallbackOption: {
|
|
60
|
-
readonly type: PropType<false |
|
|
64
|
+
readonly type: PropType<false | SelectFallbackOption>;
|
|
61
65
|
readonly default: () => (value: string | number) => {
|
|
62
66
|
label: string;
|
|
63
67
|
value: string | number;
|
|
@@ -128,7 +132,7 @@ declare const selectProps: {
|
|
|
128
132
|
borderHover: string;
|
|
129
133
|
borderActive: string;
|
|
130
134
|
borderFocus: string;
|
|
131
|
-
boxShadowHover:
|
|
135
|
+
boxShadowHover: string;
|
|
132
136
|
boxShadowActive: string;
|
|
133
137
|
boxShadowFocus: string;
|
|
134
138
|
caretColor: string;
|
|
@@ -139,7 +143,7 @@ declare const selectProps: {
|
|
|
139
143
|
borderHoverWarning: string;
|
|
140
144
|
borderActiveWarning: string;
|
|
141
145
|
borderFocusWarning: string;
|
|
142
|
-
boxShadowHoverWarning:
|
|
146
|
+
boxShadowHoverWarning: string;
|
|
143
147
|
boxShadowActiveWarning: string;
|
|
144
148
|
boxShadowFocusWarning: string;
|
|
145
149
|
colorActiveWarning: string;
|
|
@@ -148,7 +152,7 @@ declare const selectProps: {
|
|
|
148
152
|
borderHoverError: string;
|
|
149
153
|
borderActiveError: string;
|
|
150
154
|
borderFocusError: string;
|
|
151
|
-
boxShadowHoverError:
|
|
155
|
+
boxShadowHoverError: string;
|
|
152
156
|
boxShadowActiveError: string;
|
|
153
157
|
boxShadowFocusError: string;
|
|
154
158
|
colorActiveError: string;
|
|
@@ -253,7 +257,7 @@ declare const selectProps: {
|
|
|
253
257
|
borderHover: string;
|
|
254
258
|
borderActive: string;
|
|
255
259
|
borderFocus: string;
|
|
256
|
-
boxShadowHover:
|
|
260
|
+
boxShadowHover: string;
|
|
257
261
|
boxShadowActive: string;
|
|
258
262
|
boxShadowFocus: string;
|
|
259
263
|
caretColor: string;
|
|
@@ -264,7 +268,7 @@ declare const selectProps: {
|
|
|
264
268
|
borderHoverWarning: string;
|
|
265
269
|
borderActiveWarning: string;
|
|
266
270
|
borderFocusWarning: string;
|
|
267
|
-
boxShadowHoverWarning:
|
|
271
|
+
boxShadowHoverWarning: string;
|
|
268
272
|
boxShadowActiveWarning: string;
|
|
269
273
|
boxShadowFocusWarning: string;
|
|
270
274
|
colorActiveWarning: string;
|
|
@@ -273,7 +277,7 @@ declare const selectProps: {
|
|
|
273
277
|
borderHoverError: string;
|
|
274
278
|
borderActiveError: string;
|
|
275
279
|
borderFocusError: string;
|
|
276
|
-
boxShadowHoverError:
|
|
280
|
+
boxShadowHoverError: string;
|
|
277
281
|
boxShadowActiveError: string;
|
|
278
282
|
boxShadowFocusError: string;
|
|
279
283
|
colorActiveError: string;
|
|
@@ -378,7 +382,7 @@ declare const selectProps: {
|
|
|
378
382
|
borderHover: string;
|
|
379
383
|
borderActive: string;
|
|
380
384
|
borderFocus: string;
|
|
381
|
-
boxShadowHover:
|
|
385
|
+
boxShadowHover: string;
|
|
382
386
|
boxShadowActive: string;
|
|
383
387
|
boxShadowFocus: string;
|
|
384
388
|
caretColor: string;
|
|
@@ -389,7 +393,7 @@ declare const selectProps: {
|
|
|
389
393
|
borderHoverWarning: string;
|
|
390
394
|
borderActiveWarning: string;
|
|
391
395
|
borderFocusWarning: string;
|
|
392
|
-
boxShadowHoverWarning:
|
|
396
|
+
boxShadowHoverWarning: string;
|
|
393
397
|
boxShadowActiveWarning: string;
|
|
394
398
|
boxShadowFocusWarning: string;
|
|
395
399
|
colorActiveWarning: string;
|
|
@@ -398,7 +402,7 @@ declare const selectProps: {
|
|
|
398
402
|
borderHoverError: string;
|
|
399
403
|
borderActiveError: string;
|
|
400
404
|
borderFocusError: string;
|
|
401
|
-
boxShadowHoverError:
|
|
405
|
+
boxShadowHoverError: string;
|
|
402
406
|
boxShadowActiveError: string;
|
|
403
407
|
boxShadowFocusError: string;
|
|
404
408
|
colorActiveError: string;
|
|
@@ -491,6 +495,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
491
495
|
readonly default: undefined;
|
|
492
496
|
};
|
|
493
497
|
readonly clearable: BooleanConstructor;
|
|
498
|
+
readonly clearFilterAfterSelect: {
|
|
499
|
+
readonly type: BooleanConstructor;
|
|
500
|
+
readonly default: true;
|
|
501
|
+
};
|
|
494
502
|
readonly options: {
|
|
495
503
|
readonly type: PropType<SelectMixedOption[]>;
|
|
496
504
|
readonly default: () => never[];
|
|
@@ -512,7 +520,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
512
520
|
readonly remote: BooleanConstructor;
|
|
513
521
|
readonly loading: BooleanConstructor;
|
|
514
522
|
readonly filter: {
|
|
515
|
-
readonly type: PropType<(pattern: string, option:
|
|
523
|
+
readonly type: PropType<(pattern: string, option: SelectOption) => boolean>;
|
|
516
524
|
readonly default: typeof defaultFilter;
|
|
517
525
|
};
|
|
518
526
|
readonly placement: {
|
|
@@ -525,14 +533,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
525
533
|
};
|
|
526
534
|
readonly tag: BooleanConstructor;
|
|
527
535
|
readonly onCreate: {
|
|
528
|
-
readonly type: PropType<(label: string) =>
|
|
536
|
+
readonly type: PropType<(label: string) => SelectOption>;
|
|
529
537
|
readonly default: (label: string) => {
|
|
530
538
|
label: string;
|
|
531
539
|
value: string;
|
|
532
540
|
};
|
|
533
541
|
};
|
|
534
542
|
readonly fallbackOption: {
|
|
535
|
-
readonly type: PropType<false |
|
|
543
|
+
readonly type: PropType<false | SelectFallbackOption>;
|
|
536
544
|
readonly default: () => (value: string | number) => {
|
|
537
545
|
label: string;
|
|
538
546
|
value: string | number;
|
|
@@ -603,7 +611,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
603
611
|
borderHover: string;
|
|
604
612
|
borderActive: string;
|
|
605
613
|
borderFocus: string;
|
|
606
|
-
boxShadowHover:
|
|
614
|
+
boxShadowHover: string;
|
|
607
615
|
boxShadowActive: string;
|
|
608
616
|
boxShadowFocus: string;
|
|
609
617
|
caretColor: string;
|
|
@@ -614,7 +622,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
614
622
|
borderHoverWarning: string;
|
|
615
623
|
borderActiveWarning: string;
|
|
616
624
|
borderFocusWarning: string;
|
|
617
|
-
boxShadowHoverWarning:
|
|
625
|
+
boxShadowHoverWarning: string;
|
|
618
626
|
boxShadowActiveWarning: string;
|
|
619
627
|
boxShadowFocusWarning: string;
|
|
620
628
|
colorActiveWarning: string;
|
|
@@ -623,7 +631,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
623
631
|
borderHoverError: string;
|
|
624
632
|
borderActiveError: string;
|
|
625
633
|
borderFocusError: string;
|
|
626
|
-
boxShadowHoverError:
|
|
634
|
+
boxShadowHoverError: string;
|
|
627
635
|
boxShadowActiveError: string;
|
|
628
636
|
boxShadowFocusError: string;
|
|
629
637
|
colorActiveError: string;
|
|
@@ -728,7 +736,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
728
736
|
borderHover: string;
|
|
729
737
|
borderActive: string;
|
|
730
738
|
borderFocus: string;
|
|
731
|
-
boxShadowHover:
|
|
739
|
+
boxShadowHover: string;
|
|
732
740
|
boxShadowActive: string;
|
|
733
741
|
boxShadowFocus: string;
|
|
734
742
|
caretColor: string;
|
|
@@ -739,7 +747,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
739
747
|
borderHoverWarning: string;
|
|
740
748
|
borderActiveWarning: string;
|
|
741
749
|
borderFocusWarning: string;
|
|
742
|
-
boxShadowHoverWarning:
|
|
750
|
+
boxShadowHoverWarning: string;
|
|
743
751
|
boxShadowActiveWarning: string;
|
|
744
752
|
boxShadowFocusWarning: string;
|
|
745
753
|
colorActiveWarning: string;
|
|
@@ -748,7 +756,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
748
756
|
borderHoverError: string;
|
|
749
757
|
borderActiveError: string;
|
|
750
758
|
borderFocusError: string;
|
|
751
|
-
boxShadowHoverError:
|
|
759
|
+
boxShadowHoverError: string;
|
|
752
760
|
boxShadowActiveError: string;
|
|
753
761
|
boxShadowFocusError: string;
|
|
754
762
|
colorActiveError: string;
|
|
@@ -853,7 +861,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
853
861
|
borderHover: string;
|
|
854
862
|
borderActive: string;
|
|
855
863
|
borderFocus: string;
|
|
856
|
-
boxShadowHover:
|
|
864
|
+
boxShadowHover: string;
|
|
857
865
|
boxShadowActive: string;
|
|
858
866
|
boxShadowFocus: string;
|
|
859
867
|
caretColor: string;
|
|
@@ -864,7 +872,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
864
872
|
borderHoverWarning: string;
|
|
865
873
|
borderActiveWarning: string;
|
|
866
874
|
borderFocusWarning: string;
|
|
867
|
-
boxShadowHoverWarning:
|
|
875
|
+
boxShadowHoverWarning: string;
|
|
868
876
|
boxShadowActiveWarning: string;
|
|
869
877
|
boxShadowFocusWarning: string;
|
|
870
878
|
colorActiveWarning: string;
|
|
@@ -873,7 +881,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
873
881
|
borderHoverError: string;
|
|
874
882
|
borderActiveError: string;
|
|
875
883
|
borderFocusError: string;
|
|
876
|
-
boxShadowHoverError:
|
|
884
|
+
boxShadowHoverError: string;
|
|
877
885
|
boxShadowActiveError: string;
|
|
878
886
|
boxShadowFocusError: string;
|
|
879
887
|
colorActiveError: string;
|
|
@@ -955,12 +963,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
955
963
|
}>;
|
|
956
964
|
}>>>;
|
|
957
965
|
}, {
|
|
966
|
+
mergedStatus: import("vue").ComputedRef<import("../../form/src/interface").FormValidationStatus | undefined>;
|
|
958
967
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
959
968
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
960
969
|
namespace: import("vue").ComputedRef<string | undefined>;
|
|
961
|
-
treeMate: import("vue").ComputedRef<import("treemate").TreeMate<
|
|
970
|
+
treeMate: import("vue").ComputedRef<import("treemate").TreeMate<SelectOption, SelectGroupOption, SelectIgnoredOption>>;
|
|
962
971
|
isMounted: Readonly<import("vue").Ref<boolean>>;
|
|
963
972
|
triggerRef: import("vue").Ref<{
|
|
973
|
+
isCompositing: boolean;
|
|
964
974
|
focus: () => void;
|
|
965
975
|
focusInput: () => void;
|
|
966
976
|
blur: () => void;
|
|
@@ -968,7 +978,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
968
978
|
} | null>;
|
|
969
979
|
menuRef: import("vue").Ref<{
|
|
970
980
|
selfRef: HTMLElement | null;
|
|
971
|
-
getPendingTmNode: () => TreeNode<SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>> | null;
|
|
981
|
+
getPendingTmNode: () => TreeNode<import("./interface").SelectBaseOption<string | number, string | ((option: import("./interface").SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, import("./interface").SelectBaseOption<string | number, string | ((option: import("./interface").SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, import("./interface").SelectBaseOption<string | number, string | ((option: import("./interface").SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>> | null;
|
|
972
982
|
prev: () => void;
|
|
973
983
|
next: () => void;
|
|
974
984
|
} | null>;
|
|
@@ -982,28 +992,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
982
992
|
syncPosition: () => void;
|
|
983
993
|
} | null>;
|
|
984
994
|
localizedPlaceholder: import("vue").ComputedRef<string>;
|
|
985
|
-
selectedOption: import("vue").ComputedRef<
|
|
986
|
-
selectedOptions: import("vue").ComputedRef<
|
|
995
|
+
selectedOption: import("vue").ComputedRef<SelectOption | null>;
|
|
996
|
+
selectedOptions: import("vue").ComputedRef<SelectOption[] | null>;
|
|
987
997
|
mergedSize: import("vue").ComputedRef<"small" | "medium" | "large">;
|
|
988
998
|
mergedDisabled: import("vue").ComputedRef<boolean>;
|
|
989
999
|
focused: import("vue").Ref<boolean>;
|
|
1000
|
+
activeWithoutMenuOpen: import("vue").Ref<boolean>;
|
|
1001
|
+
disableInlineTheme: boolean | undefined;
|
|
1002
|
+
onTriggerInputFocus: () => void;
|
|
1003
|
+
onTriggerInputBlur: () => void;
|
|
990
1004
|
handleMenuFocus: (e: FocusEvent) => void;
|
|
991
1005
|
handleMenuBlur: (e: FocusEvent) => void;
|
|
992
1006
|
handleMenuTabOut: () => void;
|
|
993
1007
|
handleTriggerClick: () => void;
|
|
994
|
-
handleToggle: (tmNode: TreeNode<
|
|
995
|
-
handleDeleteOption: (option:
|
|
1008
|
+
handleToggle: (tmNode: TreeNode<SelectOption>) => void;
|
|
1009
|
+
handleDeleteOption: (option: SelectOption) => void;
|
|
996
1010
|
handlePatternInput: (e: InputEvent) => void;
|
|
997
1011
|
handleClear: (e: MouseEvent) => void;
|
|
998
1012
|
handleTriggerBlur: (e: FocusEvent) => void;
|
|
999
1013
|
handleTriggerFocus: (e: FocusEvent) => void;
|
|
1000
|
-
|
|
1001
|
-
handleKeyUp: (e: KeyboardEvent) => void;
|
|
1014
|
+
handleKeydown: (e: KeyboardEvent) => void;
|
|
1002
1015
|
syncPosition: () => void;
|
|
1003
1016
|
handleMenuAfterLeave: () => void;
|
|
1004
1017
|
handleMenuClickOutside: (e: MouseEvent) => void;
|
|
1005
1018
|
handleMenuScroll: (e: Event) => void;
|
|
1006
|
-
handleMenuKeyup: (e: KeyboardEvent) => void;
|
|
1007
1019
|
handleMenuKeydown: (e: KeyboardEvent) => void;
|
|
1008
1020
|
handleMenuMousedown: (e: MouseEvent) => void;
|
|
1009
1021
|
mergedTheme: import("vue").ComputedRef<{
|
|
@@ -1135,7 +1147,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1135
1147
|
borderHover: string;
|
|
1136
1148
|
borderActive: string;
|
|
1137
1149
|
borderFocus: string;
|
|
1138
|
-
boxShadowHover:
|
|
1150
|
+
boxShadowHover: string;
|
|
1139
1151
|
boxShadowActive: string;
|
|
1140
1152
|
boxShadowFocus: string;
|
|
1141
1153
|
caretColor: string;
|
|
@@ -1146,7 +1158,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1146
1158
|
borderHoverWarning: string;
|
|
1147
1159
|
borderActiveWarning: string;
|
|
1148
1160
|
borderFocusWarning: string;
|
|
1149
|
-
boxShadowHoverWarning:
|
|
1161
|
+
boxShadowHoverWarning: string;
|
|
1150
1162
|
boxShadowActiveWarning: string;
|
|
1151
1163
|
boxShadowFocusWarning: string;
|
|
1152
1164
|
colorActiveWarning: string;
|
|
@@ -1155,7 +1167,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1155
1167
|
borderHoverError: string;
|
|
1156
1168
|
borderActiveError: string;
|
|
1157
1169
|
borderFocusError: string;
|
|
1158
|
-
boxShadowHoverError:
|
|
1170
|
+
boxShadowHoverError: string;
|
|
1159
1171
|
boxShadowActiveError: string;
|
|
1160
1172
|
boxShadowFocusError: string;
|
|
1161
1173
|
colorActiveError: string;
|
|
@@ -1293,6 +1305,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1293
1305
|
readonly default: undefined;
|
|
1294
1306
|
};
|
|
1295
1307
|
readonly clearable: BooleanConstructor;
|
|
1308
|
+
readonly clearFilterAfterSelect: {
|
|
1309
|
+
readonly type: BooleanConstructor;
|
|
1310
|
+
readonly default: true;
|
|
1311
|
+
};
|
|
1296
1312
|
readonly options: {
|
|
1297
1313
|
readonly type: PropType<SelectMixedOption[]>;
|
|
1298
1314
|
readonly default: () => never[];
|
|
@@ -1314,7 +1330,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1314
1330
|
readonly remote: BooleanConstructor;
|
|
1315
1331
|
readonly loading: BooleanConstructor;
|
|
1316
1332
|
readonly filter: {
|
|
1317
|
-
readonly type: PropType<(pattern: string, option:
|
|
1333
|
+
readonly type: PropType<(pattern: string, option: SelectOption) => boolean>;
|
|
1318
1334
|
readonly default: typeof defaultFilter;
|
|
1319
1335
|
};
|
|
1320
1336
|
readonly placement: {
|
|
@@ -1327,14 +1343,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1327
1343
|
};
|
|
1328
1344
|
readonly tag: BooleanConstructor;
|
|
1329
1345
|
readonly onCreate: {
|
|
1330
|
-
readonly type: PropType<(label: string) =>
|
|
1346
|
+
readonly type: PropType<(label: string) => SelectOption>;
|
|
1331
1347
|
readonly default: (label: string) => {
|
|
1332
1348
|
label: string;
|
|
1333
1349
|
value: string;
|
|
1334
1350
|
};
|
|
1335
1351
|
};
|
|
1336
1352
|
readonly fallbackOption: {
|
|
1337
|
-
readonly type: PropType<false |
|
|
1353
|
+
readonly type: PropType<false | SelectFallbackOption>;
|
|
1338
1354
|
readonly default: () => (value: string | number) => {
|
|
1339
1355
|
label: string;
|
|
1340
1356
|
value: string | number;
|
|
@@ -1405,7 +1421,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1405
1421
|
borderHover: string;
|
|
1406
1422
|
borderActive: string;
|
|
1407
1423
|
borderFocus: string;
|
|
1408
|
-
boxShadowHover:
|
|
1424
|
+
boxShadowHover: string;
|
|
1409
1425
|
boxShadowActive: string;
|
|
1410
1426
|
boxShadowFocus: string;
|
|
1411
1427
|
caretColor: string;
|
|
@@ -1416,7 +1432,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1416
1432
|
borderHoverWarning: string;
|
|
1417
1433
|
borderActiveWarning: string;
|
|
1418
1434
|
borderFocusWarning: string;
|
|
1419
|
-
boxShadowHoverWarning:
|
|
1435
|
+
boxShadowHoverWarning: string;
|
|
1420
1436
|
boxShadowActiveWarning: string;
|
|
1421
1437
|
boxShadowFocusWarning: string;
|
|
1422
1438
|
colorActiveWarning: string;
|
|
@@ -1425,7 +1441,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1425
1441
|
borderHoverError: string;
|
|
1426
1442
|
borderActiveError: string;
|
|
1427
1443
|
borderFocusError: string;
|
|
1428
|
-
boxShadowHoverError:
|
|
1444
|
+
boxShadowHoverError: string;
|
|
1429
1445
|
boxShadowActiveError: string;
|
|
1430
1446
|
boxShadowFocusError: string;
|
|
1431
1447
|
colorActiveError: string;
|
|
@@ -1530,7 +1546,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1530
1546
|
borderHover: string;
|
|
1531
1547
|
borderActive: string;
|
|
1532
1548
|
borderFocus: string;
|
|
1533
|
-
boxShadowHover:
|
|
1549
|
+
boxShadowHover: string;
|
|
1534
1550
|
boxShadowActive: string;
|
|
1535
1551
|
boxShadowFocus: string;
|
|
1536
1552
|
caretColor: string;
|
|
@@ -1541,7 +1557,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1541
1557
|
borderHoverWarning: string;
|
|
1542
1558
|
borderActiveWarning: string;
|
|
1543
1559
|
borderFocusWarning: string;
|
|
1544
|
-
boxShadowHoverWarning:
|
|
1560
|
+
boxShadowHoverWarning: string;
|
|
1545
1561
|
boxShadowActiveWarning: string;
|
|
1546
1562
|
boxShadowFocusWarning: string;
|
|
1547
1563
|
colorActiveWarning: string;
|
|
@@ -1550,7 +1566,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1550
1566
|
borderHoverError: string;
|
|
1551
1567
|
borderActiveError: string;
|
|
1552
1568
|
borderFocusError: string;
|
|
1553
|
-
boxShadowHoverError:
|
|
1569
|
+
boxShadowHoverError: string;
|
|
1554
1570
|
boxShadowActiveError: string;
|
|
1555
1571
|
boxShadowFocusError: string;
|
|
1556
1572
|
colorActiveError: string;
|
|
@@ -1655,7 +1671,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1655
1671
|
borderHover: string;
|
|
1656
1672
|
borderActive: string;
|
|
1657
1673
|
borderFocus: string;
|
|
1658
|
-
boxShadowHover:
|
|
1674
|
+
boxShadowHover: string;
|
|
1659
1675
|
boxShadowActive: string;
|
|
1660
1676
|
boxShadowFocus: string;
|
|
1661
1677
|
caretColor: string;
|
|
@@ -1666,7 +1682,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1666
1682
|
borderHoverWarning: string;
|
|
1667
1683
|
borderActiveWarning: string;
|
|
1668
1684
|
borderFocusWarning: string;
|
|
1669
|
-
boxShadowHoverWarning:
|
|
1685
|
+
boxShadowHoverWarning: string;
|
|
1670
1686
|
boxShadowActiveWarning: string;
|
|
1671
1687
|
boxShadowFocusWarning: string;
|
|
1672
1688
|
colorActiveWarning: string;
|
|
@@ -1675,7 +1691,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1675
1691
|
borderHoverError: string;
|
|
1676
1692
|
borderActiveError: string;
|
|
1677
1693
|
borderFocusError: string;
|
|
1678
|
-
boxShadowHoverError:
|
|
1694
|
+
boxShadowHoverError: string;
|
|
1679
1695
|
boxShadowActiveError: string;
|
|
1680
1696
|
boxShadowFocusError: string;
|
|
1681
1697
|
colorActiveError: string;
|
|
@@ -1758,26 +1774,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1758
1774
|
}>>>;
|
|
1759
1775
|
}>>, {
|
|
1760
1776
|
tag: boolean;
|
|
1761
|
-
filter: (pattern: string, option:
|
|
1777
|
+
filter: (pattern: string, option: SelectOption) => boolean;
|
|
1762
1778
|
show: boolean | undefined;
|
|
1763
1779
|
multiple: boolean;
|
|
1764
1780
|
disabled: boolean | undefined;
|
|
1765
1781
|
to: string | boolean | HTMLElement;
|
|
1782
|
+
options: SelectMixedOption[];
|
|
1766
1783
|
loading: boolean;
|
|
1767
|
-
placement: FollowerPlacement;
|
|
1768
1784
|
bordered: boolean | undefined;
|
|
1785
|
+
placement: FollowerPlacement;
|
|
1769
1786
|
virtualScroll: boolean;
|
|
1770
1787
|
resetMenuOnOptionsChange: boolean;
|
|
1771
1788
|
showArrow: boolean;
|
|
1772
1789
|
displayDirective: "show" | "if";
|
|
1773
1790
|
filterable: boolean;
|
|
1774
1791
|
clearable: boolean;
|
|
1775
|
-
|
|
1792
|
+
clearFilterAfterSelect: boolean;
|
|
1776
1793
|
defaultValue: Value | null;
|
|
1777
1794
|
remote: boolean;
|
|
1778
1795
|
widthMode: string;
|
|
1779
|
-
onCreate: (label: string) =>
|
|
1780
|
-
fallbackOption: false |
|
|
1796
|
+
onCreate: (label: string) => SelectOption;
|
|
1797
|
+
fallbackOption: false | SelectFallbackOption;
|
|
1781
1798
|
consistentMenuWidth: boolean;
|
|
1782
1799
|
}>;
|
|
1783
1800
|
export default _default;
|