naive-ui 2.25.1 → 2.25.4
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.d.ts +0 -1
- package/es/_internal/clear/src/Clear.js +1 -3
- package/es/_internal/icons/replaceable.d.ts +1 -1
- package/es/_internal/icons/replaceable.js +5 -4
- package/es/_internal/scrollbar/src/ScrollBar.d.ts +13 -1
- package/es/_internal/scrollbar/src/ScrollBar.js +35 -16
- package/es/_internal/select-menu/src/SelectMenu.d.ts +22 -18
- package/es/_internal/select-menu/src/SelectMenu.js +13 -10
- package/es/_internal/selection/src/Selection.d.ts +31 -26
- package/es/_internal/selection/src/Selection.js +79 -68
- 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/_mixins/index.d.ts +1 -1
- package/es/_mixins/index.js +1 -1
- package/es/_mixins/use-config.d.ts +6 -3
- package/es/_mixins/use-config.js +5 -1
- package/es/_mixins/use-css-vars-class.d.ts +6 -2
- package/es/_mixins/use-css-vars-class.js +31 -15
- package/es/_mixins/use-form-item.d.ts +1 -1
- 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/index.d.ts +1 -1
- package/es/_utils/index.js +1 -1
- package/es/_utils/vue/resolve-slot.d.ts +5 -2
- package/es/_utils/vue/resolve-slot.js +4 -4
- package/es/alert/src/Alert.d.ts +7 -5
- package/es/alert/src/Alert.js +36 -21
- package/es/anchor/src/AnchorAdapter.js +9 -3
- package/es/auto-complete/src/AutoComplete.d.ts +4 -2
- package/es/auto-complete/src/AutoComplete.js +28 -15
- package/es/avatar/src/Avatar.d.ts +3 -1
- package/es/avatar/src/Avatar.js +70 -35
- package/es/back-top/src/BackTop.d.ts +12 -49
- package/es/back-top/src/BackTop.js +60 -58
- package/es/badge/src/Badge.d.ts +16 -41
- package/es/badge/src/Badge.js +41 -31
- package/es/breadcrumb/src/Breadcrumb.d.ts +3 -1
- package/es/breadcrumb/src/Breadcrumb.js +24 -16
- package/es/button/src/Button.d.ts +8 -6
- package/es/button/src/Button.js +20 -21
- 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.d.ts +3 -1
- package/es/calendar/src/Calendar.js +37 -30
- package/es/card/src/Card.d.ts +3 -1
- package/es/card/src/Card.js +57 -43
- 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.d.ts +3 -1
- package/es/carousel/src/Carousel.js +29 -20
- package/es/cascader/src/Cascader.d.ts +46 -31
- package/es/cascader/src/Cascader.js +53 -31
- package/es/cascader/src/CascaderMenu.d.ts +3 -3
- package/es/cascader/src/CascaderMenu.js +7 -6
- package/es/cascader/src/CascaderOption.d.ts +3 -3
- package/es/cascader/src/CascaderSelectMenu.d.ts +3 -3
- package/es/cascader/src/CascaderSelectMenu.js +2 -1
- package/es/cascader/src/CascaderSubmenu.d.ts +4 -3
- package/es/cascader/src/interface.d.ts +1 -0
- package/es/cascader/styles/light.d.ts +3 -3
- package/es/checkbox/src/Checkbox.d.ts +6 -4
- package/es/checkbox/src/Checkbox.js +41 -32
- package/es/checkbox/src/styles/index.cssr.js +17 -17
- package/es/code/src/Code.d.ts +3 -1
- package/es/code/src/Code.js +33 -27
- package/es/collapse/src/Collapse.d.ts +3 -1
- package/es/collapse/src/Collapse.js +24 -16
- package/es/color-picker/src/ColorPicker.d.ts +3 -1
- package/es/color-picker/src/ColorPicker.js +20 -7
- package/es/components.d.ts +1 -0
- package/es/components.js +1 -0
- package/es/config-provider/src/ConfigProvider.d.ts +4 -4
- package/es/config-provider/src/ConfigProvider.js +3 -3
- package/es/config-provider/src/internal-interface.d.ts +3 -1
- package/es/countdown/src/Countdown.d.ts +0 -3
- package/es/countdown/src/Countdown.js +0 -1
- package/es/data-table/src/DataTable.d.ts +77 -75
- package/es/data-table/src/DataTable.js +54 -48
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
- package/es/data-table/src/HeaderButton/FilterButton.js +3 -2
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
- package/es/data-table/src/HeaderButton/SortButton.js +3 -2
- package/es/data-table/src/TableParts/Body.d.ts +7 -6
- package/es/data-table/src/TableParts/Body.js +4 -2
- 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 +1 -1
- package/es/data-table/src/use-table-data.js +19 -7
- package/es/data-table/styles/light.d.ts +3 -3
- package/es/date-picker/src/DatePicker.d.ts +1 -0
- package/es/date-picker/src/DatePicker.js +2 -2
- package/es/date-picker/src/panel/date.d.ts +2 -0
- package/es/date-picker/src/panel/datetime.d.ts +2 -0
- package/es/date-picker/src/panel/month.d.ts +2 -0
- package/es/date-picker/src/panel/panelHeader.d.ts +4 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +2 -0
- package/es/descriptions/src/Descriptions.d.ts +15 -2
- package/es/descriptions/src/Descriptions.js +45 -28
- package/es/descriptions/src/styles/index.cssr.js +2 -1
- package/es/descriptions/styles/light.d.ts +1 -0
- package/es/descriptions/styles/light.js +2 -2
- package/es/dialog/src/Dialog.d.ts +7 -5
- package/es/dialog/src/Dialog.js +57 -56
- package/es/dialog/src/DialogEnvironment.d.ts +5 -5
- package/es/dialog/src/DialogEnvironment.js +1 -1
- package/es/dialog/src/DialogProvider.d.ts +2 -2
- package/es/dialog/src/dialogProps.d.ts +2 -2
- package/es/divider/src/Divider.d.ts +3 -1
- package/es/divider/src/Divider.js +20 -11
- package/es/dynamic-input/src/DynamicInput.d.ts +3 -1
- package/es/dynamic-input/src/DynamicInput.js +18 -11
- package/es/dynamic-tags/src/DynamicTags.d.ts +7 -5
- package/es/dynamic-tags/src/DynamicTags.js +17 -10
- package/es/element/src/Element.d.ts +3 -1
- package/es/element/src/Element.js +18 -11
- package/es/empty/src/Empty.d.ts +3 -1
- package/es/empty/src/Empty.js +28 -16
- package/es/form/src/FormItem.d.ts +4 -4
- package/es/form/src/FormItem.js +1 -2
- package/es/form/src/FormItemCol.d.ts +3 -3
- package/es/form/src/FormItemGridItem.d.ts +5 -5
- package/es/form/src/FormItemRow.d.ts +3 -3
- package/es/form/src/utils.d.ts +1 -1
- package/es/gradient-text/src/GradientText.d.ts +5 -5
- package/es/grid/src/Grid.js +2 -2
- package/es/icon-wrapper/src/IconWrapper.js +6 -6
- package/es/image/src/Image.d.ts +1 -1
- package/es/input/src/Input.d.ts +7 -4
- package/es/input/src/Input.js +96 -84
- package/es/input/src/styles/input.cssr.js +2 -2
- package/es/input-number/src/InputNumber.d.ts +7 -18
- package/es/input-number/src/InputNumber.js +79 -20
- package/es/layout/src/Layout.d.ts +8 -2
- package/es/layout/src/Layout.js +17 -10
- package/es/layout/src/LayoutContent.d.ts +4 -1
- package/es/layout/src/LayoutFooter.d.ts +3 -1
- package/es/layout/src/LayoutFooter.js +28 -19
- package/es/layout/src/LayoutHeader.d.ts +3 -1
- package/es/layout/src/LayoutHeader.js +28 -19
- package/es/layout/src/LayoutSider.d.ts +4 -0
- package/es/layout/src/LayoutSider.js +37 -29
- package/es/legacy-grid/src/styles/index.cssr.js +1 -1
- package/es/locales/common/eo.d.ts +109 -0
- package/es/locales/common/eo.js +109 -0
- package/es/locales/common/esAR.js +2 -2
- package/es/locales/common/frFR.js +8 -9
- package/es/locales/common/plPL.d.ts +3 -0
- package/es/locales/common/plPL.js +109 -0
- package/es/locales/common/skSK.d.ts +3 -0
- package/es/locales/common/skSK.js +110 -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/date/skSK.d.ts +3 -0
- package/es/locales/date/skSK.js +6 -0
- package/es/locales/index.d.ts +6 -0
- package/es/locales/index.js +6 -0
- package/es/log/src/Log.d.ts +4 -1
- package/es/log/src/Log.js +20 -15
- package/es/mention/index.d.ts +1 -1
- package/es/mention/src/Mention.d.ts +4 -2
- package/es/mention/src/Mention.js +16 -8
- package/es/mention/src/interface.d.ts +4 -0
- package/es/menu/src/Menu.d.ts +4 -2
- package/es/menu/src/Menu.js +68 -63
- package/es/modal/src/BodyWrapper.d.ts +7 -6
- package/es/modal/src/Modal.d.ts +19 -22
- package/es/modal/src/Modal.js +41 -32
- package/es/modal/src/presetProps.d.ts +2 -2
- package/es/notification/src/Notification.d.ts +4 -4
- package/es/notification/src/NotificationEnvironment.d.ts +4 -4
- package/es/notification/src/NotificationProvider.d.ts +1 -1
- package/es/notification/src/styles/index.cssr.js +6 -5
- package/es/page-header/src/PageHeader.d.ts +3 -1
- package/es/page-header/src/PageHeader.js +27 -18
- package/es/pagination/src/Pagination.d.ts +46 -34
- package/es/pagination/src/Pagination.js +59 -52
- package/es/pagination/styles/light.d.ts +3 -3
- package/es/popover/src/PopoverBody.js +10 -4
- package/es/progress/src/Circle.d.ts +19 -3
- package/es/progress/src/Circle.js +41 -22
- package/es/progress/src/Progress.d.ts +14 -5
- package/es/progress/src/Progress.js +45 -25
- package/es/progress/src/styles/index.cssr.js +1 -1
- package/es/radio/src/Radio.d.ts +3 -1
- package/es/radio/src/Radio.js +32 -23
- package/es/radio/src/RadioGroup.d.ts +3 -1
- package/es/radio/src/RadioGroup.js +31 -22
- package/es/rate/src/Rate.d.ts +3 -1
- package/es/rate/src/Rate.js +44 -23
- package/es/result/src/Result.d.ts +8 -6
- package/es/result/src/Result.js +36 -19
- package/es/scrollbar/src/ScrollBar.d.ts +12 -1
- package/es/scrollbar/src/ScrollBar.js +4 -0
- package/es/select/src/Select.d.ts +45 -31
- package/es/select/src/Select.js +14 -8
- package/es/select/styles/light.d.ts +3 -3
- package/es/spin/src/Spin.d.ts +3 -1
- package/es/spin/src/Spin.js +31 -21
- package/es/statistic/src/Statistic.d.ts +3 -1
- package/es/statistic/src/Statistic.js +29 -21
- package/es/styles.d.ts +1 -0
- package/es/styles.js +1 -0
- package/es/switch/src/Switch.d.ts +13 -1
- package/es/switch/src/Switch.js +85 -60
- package/es/switch/src/styles/index.cssr.js +21 -8
- package/es/switch/styles/dark.js +2 -2
- package/es/switch/styles/light.d.ts +1 -0
- package/es/switch/styles/light.js +2 -2
- package/es/table/src/Table.d.ts +3 -1
- package/es/table/src/Table.js +40 -29
- package/es/table/src/styles/index.cssr.js +1 -1
- package/es/tabs/src/Tabs.d.ts +25 -23
- package/es/tabs/src/Tabs.js +50 -44
- package/es/tabs/src/styles/index.cssr.js +79 -77
- package/es/tag/src/Tag.d.ts +7 -5
- package/es/tag/src/Tag.js +59 -42
- package/es/tag/src/common-props.d.ts +1 -1
- package/es/tag/src/styles/index.cssr.js +1 -1
- 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/theme-editor/src/ThemeEditor.js +4 -3
- package/es/themes/dark.js +3 -1
- package/es/themes/light.js +3 -1
- package/es/thing/src/Thing.js +10 -3
- package/es/time-picker/src/TimePicker.d.ts +4 -0
- package/es/timeline/src/TimelineItem.d.ts +4 -4
- package/es/transfer/src/TransferList.d.ts +1 -0
- package/es/tree/src/Tree.d.ts +1 -0
- package/es/tree/src/Tree.js +8 -4
- package/es/tree/src/utils.js +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +43 -30
- package/es/tree-select/src/TreeSelect.js +6 -2
- package/es/tree-select/styles/light.d.ts +3 -3
- package/es/typography/src/a.d.ts +3 -1
- package/es/typography/src/a.js +18 -10
- package/es/typography/src/blockquote.d.ts +3 -1
- package/es/typography/src/blockquote.js +21 -12
- package/es/typography/src/create-header.d.ts +7 -5
- package/es/typography/src/create-header.js +25 -16
- package/es/typography/src/headers.d.ts +36 -24
- package/es/typography/src/hr.d.ts +3 -1
- package/es/typography/src/hr.js +18 -10
- package/es/typography/src/ol.d.ts +3 -1
- package/es/typography/src/ol.js +23 -14
- package/es/typography/src/p.d.ts +3 -1
- package/es/typography/src/p.js +23 -15
- package/es/typography/src/text.d.ts +3 -1
- package/es/typography/src/text.js +31 -23
- package/es/typography/src/ul.d.ts +3 -1
- package/es/typography/src/ul.js +23 -14
- package/es/upload/src/UploadFile.d.ts +1 -1
- package/es/upload/src/UploadProgress.d.ts +2 -2
- package/es/upload/src/interface.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/watermark/index.d.ts +2 -0
- package/es/watermark/index.js +1 -0
- package/es/watermark/src/Watermark.d.ts +285 -0
- package/es/watermark/src/Watermark.js +159 -0
- package/es/watermark/src/styles/index.cssr.d.ts +2 -0
- package/es/watermark/src/styles/index.cssr.js +14 -0
- package/es/watermark/styles/dark.d.ts +3 -0
- package/es/watermark/styles/dark.js +12 -0
- package/es/watermark/styles/index.d.ts +3 -0
- package/es/watermark/styles/index.js +2 -0
- package/es/watermark/styles/light.d.ts +5 -0
- package/es/watermark/styles/light.js +13 -0
- package/lib/_internal/clear/src/Clear.d.ts +0 -1
- package/lib/_internal/clear/src/Clear.js +0 -2
- package/lib/_internal/icons/replaceable.d.ts +1 -1
- package/lib/_internal/icons/replaceable.js +4 -3
- package/lib/_internal/scrollbar/src/ScrollBar.d.ts +13 -1
- package/lib/_internal/scrollbar/src/ScrollBar.js +34 -15
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +22 -18
- package/lib/_internal/select-menu/src/SelectMenu.js +12 -9
- package/lib/_internal/selection/src/Selection.d.ts +31 -26
- package/lib/_internal/selection/src/Selection.js +78 -67
- 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/_mixins/index.d.ts +1 -1
- package/lib/_mixins/index.js +2 -2
- package/lib/_mixins/use-config.d.ts +6 -3
- package/lib/_mixins/use-config.js +5 -1
- package/lib/_mixins/use-css-vars-class.d.ts +6 -2
- package/lib/_mixins/use-css-vars-class.js +33 -17
- package/lib/_mixins/use-form-item.d.ts +1 -1
- 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/index.d.ts +1 -1
- package/lib/_utils/index.js +2 -1
- package/lib/_utils/vue/resolve-slot.d.ts +5 -2
- package/lib/_utils/vue/resolve-slot.js +4 -4
- package/lib/alert/src/Alert.d.ts +7 -5
- package/lib/alert/src/Alert.js +34 -19
- package/lib/anchor/src/AnchorAdapter.js +8 -2
- package/lib/auto-complete/src/AutoComplete.d.ts +4 -2
- package/lib/auto-complete/src/AutoComplete.js +27 -14
- package/lib/avatar/src/Avatar.d.ts +3 -1
- package/lib/avatar/src/Avatar.js +68 -33
- package/lib/back-top/src/BackTop.d.ts +12 -49
- package/lib/back-top/src/BackTop.js +57 -55
- package/lib/badge/src/Badge.d.ts +16 -41
- package/lib/badge/src/Badge.js +39 -29
- package/lib/breadcrumb/src/Breadcrumb.d.ts +3 -1
- package/lib/breadcrumb/src/Breadcrumb.js +23 -15
- package/lib/button/src/Button.d.ts +8 -6
- package/lib/button/src/Button.js +18 -19
- 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.d.ts +3 -1
- package/lib/calendar/src/Calendar.js +36 -29
- package/lib/card/src/Card.d.ts +3 -1
- package/lib/card/src/Card.js +55 -41
- 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.d.ts +3 -1
- package/lib/carousel/src/Carousel.js +27 -18
- package/lib/cascader/src/Cascader.d.ts +46 -31
- package/lib/cascader/src/Cascader.js +52 -30
- package/lib/cascader/src/CascaderMenu.d.ts +3 -3
- package/lib/cascader/src/CascaderMenu.js +7 -6
- package/lib/cascader/src/CascaderOption.d.ts +3 -3
- package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -3
- package/lib/cascader/src/CascaderSelectMenu.js +2 -1
- package/lib/cascader/src/CascaderSubmenu.d.ts +4 -3
- package/lib/cascader/src/interface.d.ts +1 -0
- package/lib/cascader/styles/light.d.ts +3 -3
- package/lib/checkbox/src/Checkbox.d.ts +6 -4
- package/lib/checkbox/src/Checkbox.js +40 -31
- package/lib/checkbox/src/styles/index.cssr.js +17 -17
- package/lib/code/src/Code.d.ts +3 -1
- package/lib/code/src/Code.js +32 -26
- package/lib/collapse/src/Collapse.d.ts +3 -1
- package/lib/collapse/src/Collapse.js +23 -15
- package/lib/color-picker/src/ColorPicker.d.ts +3 -1
- package/lib/color-picker/src/ColorPicker.js +19 -6
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/ConfigProvider.d.ts +4 -4
- package/lib/config-provider/src/ConfigProvider.js +3 -3
- package/lib/config-provider/src/internal-interface.d.ts +3 -1
- package/lib/countdown/src/Countdown.d.ts +0 -3
- package/lib/countdown/src/Countdown.js +0 -1
- package/lib/data-table/src/DataTable.d.ts +77 -75
- package/lib/data-table/src/DataTable.js +53 -47
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +6 -6
- package/lib/data-table/src/HeaderButton/FilterButton.js +3 -2
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +6 -6
- package/lib/data-table/src/HeaderButton/SortButton.js +3 -2
- package/lib/data-table/src/TableParts/Body.d.ts +7 -6
- package/lib/data-table/src/TableParts/Body.js +3 -1
- 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 +1 -1
- package/lib/data-table/src/use-table-data.js +19 -7
- package/lib/data-table/styles/light.d.ts +3 -3
- package/lib/date-picker/src/DatePicker.d.ts +1 -0
- package/lib/date-picker/src/DatePicker.js +2 -2
- package/lib/date-picker/src/panel/date.d.ts +2 -0
- package/lib/date-picker/src/panel/datetime.d.ts +2 -0
- package/lib/date-picker/src/panel/month.d.ts +2 -0
- package/lib/date-picker/src/panel/panelHeader.d.ts +4 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +2 -0
- package/lib/descriptions/src/Descriptions.d.ts +15 -2
- package/lib/descriptions/src/Descriptions.js +44 -27
- package/lib/descriptions/src/styles/index.cssr.js +2 -1
- package/lib/descriptions/styles/light.d.ts +1 -0
- package/lib/descriptions/styles/light.js +2 -2
- package/lib/dialog/src/Dialog.d.ts +7 -5
- package/lib/dialog/src/Dialog.js +55 -54
- package/lib/dialog/src/DialogEnvironment.d.ts +5 -5
- package/lib/dialog/src/DialogEnvironment.js +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +2 -2
- package/lib/dialog/src/dialogProps.d.ts +2 -2
- package/lib/divider/src/Divider.d.ts +3 -1
- package/lib/divider/src/Divider.js +19 -10
- package/lib/dynamic-input/src/DynamicInput.d.ts +3 -1
- package/lib/dynamic-input/src/DynamicInput.js +17 -10
- package/lib/dynamic-tags/src/DynamicTags.d.ts +7 -5
- package/lib/dynamic-tags/src/DynamicTags.js +16 -9
- package/lib/element/src/Element.d.ts +3 -1
- package/lib/element/src/Element.js +17 -10
- package/lib/empty/src/Empty.d.ts +3 -1
- package/lib/empty/src/Empty.js +27 -15
- package/lib/form/src/FormItem.d.ts +4 -4
- package/lib/form/src/FormItem.js +1 -2
- package/lib/form/src/FormItemCol.d.ts +3 -3
- package/lib/form/src/FormItemGridItem.d.ts +5 -5
- package/lib/form/src/FormItemRow.d.ts +3 -3
- package/lib/form/src/utils.d.ts +1 -1
- package/lib/gradient-text/src/GradientText.d.ts +5 -5
- package/lib/grid/src/Grid.js +2 -2
- package/lib/icon-wrapper/src/IconWrapper.js +5 -5
- package/lib/image/src/Image.d.ts +1 -1
- package/lib/input/src/Input.d.ts +7 -4
- package/lib/input/src/Input.js +95 -83
- package/lib/input/src/styles/input.cssr.js +2 -2
- package/lib/input-number/src/InputNumber.d.ts +7 -18
- package/lib/input-number/src/InputNumber.js +76 -17
- package/lib/layout/src/Layout.d.ts +8 -2
- package/lib/layout/src/Layout.js +16 -9
- package/lib/layout/src/LayoutContent.d.ts +4 -1
- package/lib/layout/src/LayoutFooter.d.ts +3 -1
- package/lib/layout/src/LayoutFooter.js +27 -18
- package/lib/layout/src/LayoutHeader.d.ts +3 -1
- package/lib/layout/src/LayoutHeader.js +27 -18
- package/lib/layout/src/LayoutSider.d.ts +4 -0
- package/lib/layout/src/LayoutSider.js +36 -28
- package/lib/legacy-grid/src/styles/index.cssr.js +1 -1
- package/lib/locales/common/eo.d.ts +109 -0
- package/lib/locales/common/eo.js +111 -0
- package/lib/locales/common/esAR.js +2 -2
- package/lib/locales/common/frFR.js +8 -9
- package/lib/locales/common/plPL.d.ts +3 -0
- package/lib/locales/common/plPL.js +111 -0
- package/lib/locales/common/skSK.d.ts +3 -0
- package/lib/locales/common/skSK.js +112 -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/date/skSK.d.ts +3 -0
- package/lib/locales/date/skSK.js +11 -0
- package/lib/locales/index.d.ts +6 -0
- package/lib/locales/index.js +13 -1
- package/lib/log/src/Log.d.ts +4 -1
- package/lib/log/src/Log.js +19 -14
- package/lib/mention/index.d.ts +1 -1
- package/lib/mention/src/Mention.d.ts +4 -2
- package/lib/mention/src/Mention.js +15 -7
- package/lib/mention/src/interface.d.ts +4 -0
- package/lib/menu/src/Menu.d.ts +4 -2
- package/lib/menu/src/Menu.js +67 -62
- package/lib/modal/src/BodyWrapper.d.ts +7 -6
- package/lib/modal/src/Modal.d.ts +19 -22
- package/lib/modal/src/Modal.js +40 -31
- package/lib/modal/src/presetProps.d.ts +2 -2
- package/lib/notification/src/Notification.d.ts +4 -4
- package/lib/notification/src/NotificationEnvironment.d.ts +4 -4
- package/lib/notification/src/NotificationProvider.d.ts +1 -1
- package/lib/notification/src/styles/index.cssr.js +6 -5
- package/lib/page-header/src/PageHeader.d.ts +3 -1
- package/lib/page-header/src/PageHeader.js +26 -17
- package/lib/pagination/src/Pagination.d.ts +46 -34
- package/lib/pagination/src/Pagination.js +58 -51
- package/lib/pagination/styles/light.d.ts +3 -3
- package/lib/popover/src/PopoverBody.js +9 -3
- package/lib/progress/src/Circle.d.ts +19 -3
- package/lib/progress/src/Circle.js +40 -21
- package/lib/progress/src/Progress.d.ts +14 -5
- package/lib/progress/src/Progress.js +44 -24
- package/lib/progress/src/styles/index.cssr.js +1 -1
- package/lib/radio/src/Radio.d.ts +3 -1
- package/lib/radio/src/Radio.js +31 -22
- package/lib/radio/src/RadioGroup.d.ts +3 -1
- package/lib/radio/src/RadioGroup.js +30 -21
- package/lib/rate/src/Rate.d.ts +3 -1
- package/lib/rate/src/Rate.js +42 -21
- package/lib/result/src/Result.d.ts +8 -6
- package/lib/result/src/Result.js +35 -18
- package/lib/scrollbar/src/ScrollBar.d.ts +12 -1
- package/lib/scrollbar/src/ScrollBar.js +4 -0
- package/lib/select/src/Select.d.ts +45 -31
- package/lib/select/src/Select.js +14 -8
- package/lib/select/styles/light.d.ts +3 -3
- package/lib/spin/src/Spin.d.ts +3 -1
- package/lib/spin/src/Spin.js +30 -20
- package/lib/statistic/src/Statistic.d.ts +3 -1
- package/lib/statistic/src/Statistic.js +28 -20
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +9 -7
- package/lib/switch/src/Switch.d.ts +13 -1
- package/lib/switch/src/Switch.js +81 -56
- package/lib/switch/src/styles/index.cssr.js +21 -8
- package/lib/switch/styles/dark.js +2 -2
- package/lib/switch/styles/light.d.ts +1 -0
- package/lib/switch/styles/light.js +2 -2
- package/lib/table/src/Table.d.ts +3 -1
- package/lib/table/src/Table.js +39 -28
- package/lib/table/src/styles/index.cssr.js +1 -1
- package/lib/tabs/src/Tabs.d.ts +25 -23
- package/lib/tabs/src/Tabs.js +48 -42
- package/lib/tabs/src/styles/index.cssr.js +79 -77
- package/lib/tag/src/Tag.d.ts +7 -5
- package/lib/tag/src/Tag.js +57 -40
- package/lib/tag/src/common-props.d.ts +1 -1
- package/lib/tag/src/styles/index.cssr.js +1 -1
- 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/theme-editor/src/ThemeEditor.js +2 -1
- package/lib/themes/dark.js +3 -1
- package/lib/themes/light.js +3 -1
- package/lib/thing/src/Thing.js +9 -2
- package/lib/time-picker/src/TimePicker.d.ts +4 -0
- package/lib/timeline/src/TimelineItem.d.ts +4 -4
- package/lib/transfer/src/TransferList.d.ts +1 -0
- package/lib/tree/src/Tree.d.ts +1 -0
- package/lib/tree/src/Tree.js +8 -4
- package/lib/tree/src/utils.js +1 -1
- package/lib/tree-select/src/TreeSelect.d.ts +43 -30
- package/lib/tree-select/src/TreeSelect.js +6 -2
- package/lib/tree-select/styles/light.d.ts +3 -3
- package/lib/typography/src/a.d.ts +3 -1
- package/lib/typography/src/a.js +17 -9
- package/lib/typography/src/blockquote.d.ts +3 -1
- package/lib/typography/src/blockquote.js +20 -11
- package/lib/typography/src/create-header.d.ts +7 -5
- package/lib/typography/src/create-header.js +24 -15
- package/lib/typography/src/headers.d.ts +36 -24
- package/lib/typography/src/hr.d.ts +3 -1
- package/lib/typography/src/hr.js +17 -9
- package/lib/typography/src/ol.d.ts +3 -1
- package/lib/typography/src/ol.js +22 -13
- package/lib/typography/src/p.d.ts +3 -1
- package/lib/typography/src/p.js +22 -14
- package/lib/typography/src/text.d.ts +3 -1
- package/lib/typography/src/text.js +30 -22
- package/lib/typography/src/ul.d.ts +3 -1
- package/lib/typography/src/ul.js +22 -13
- package/lib/upload/src/UploadFile.d.ts +1 -1
- package/lib/upload/src/UploadProgress.d.ts +2 -2
- package/lib/upload/src/interface.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/watermark/index.d.ts +2 -0
- package/lib/watermark/index.js +8 -0
- package/lib/watermark/src/Watermark.d.ts +285 -0
- package/lib/watermark/src/Watermark.js +164 -0
- package/lib/watermark/src/styles/index.cssr.d.ts +2 -0
- package/lib/watermark/src/styles/index.cssr.js +21 -0
- package/lib/watermark/styles/dark.d.ts +3 -0
- package/lib/watermark/styles/dark.js +14 -0
- package/lib/watermark/styles/index.d.ts +3 -0
- package/lib/watermark/styles/index.js +10 -0
- package/lib/watermark/styles/light.d.ts +5 -0
- package/lib/watermark/styles/light.js +15 -0
- package/package.json +9 -10
- package/volar.d.ts +1 -0
- package/web-types.json +279 -29
|
@@ -7,7 +7,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
show: BooleanConstructor;
|
|
8
8
|
onClear: PropType<(e: MouseEvent) => void>;
|
|
9
9
|
}, {
|
|
10
|
-
NConfigProvider: import("../../../config-provider/src/internal-interface").ConfigProviderInjection | null;
|
|
11
10
|
handleMouseDown(e: MouseEvent): void;
|
|
12
11
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
12
|
clsPrefix: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, defineComponent, toRef } from 'vue';
|
|
2
|
-
import { useStyle
|
|
2
|
+
import { useStyle } from '../../../_mixins';
|
|
3
3
|
import { ClearIcon } from '../../icons';
|
|
4
4
|
import NBaseIcon from '../../icon';
|
|
5
5
|
import NIconSwitchTransition from '../../icon-switch-transition';
|
|
@@ -16,9 +16,7 @@ export default defineComponent({
|
|
|
16
16
|
},
|
|
17
17
|
setup(props) {
|
|
18
18
|
useStyle('-base-clear', style, toRef(props, 'clsPrefix'));
|
|
19
|
-
const { NConfigProvider } = useConfig();
|
|
20
19
|
return {
|
|
21
|
-
NConfigProvider,
|
|
22
20
|
handleMouseDown(e) {
|
|
23
21
|
e.preventDefault();
|
|
24
22
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GlobalIconConfig } from '../../config-provider';
|
|
1
|
+
import type { GlobalIconConfig } from '../../config-provider/src/internal-interface';
|
|
2
2
|
export declare function replaceable(name: keyof GlobalIconConfig, icon: JSX.Element): import("vue").DefineComponent<{}, () => import("vue").VNodeChild, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { upperFirst } from 'lodash-es';
|
|
2
|
-
import { defineComponent } from 'vue';
|
|
3
|
-
import {
|
|
2
|
+
import { defineComponent, inject } from 'vue';
|
|
3
|
+
import { configProviderInjectionKey } from '../../config-provider/src/context';
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
|
|
5
5
|
export function replaceable(name, icon) {
|
|
6
6
|
return defineComponent({
|
|
7
7
|
name: upperFirst(name),
|
|
8
8
|
setup() {
|
|
9
|
-
|
|
9
|
+
var _a;
|
|
10
|
+
const mergedIconsRef = (_a = inject(configProviderInjectionKey, null)) === null || _a === void 0 ? void 0 : _a.mergedIconsRef;
|
|
10
11
|
return () => {
|
|
11
12
|
var _a;
|
|
12
|
-
const iconOverride = (_a =
|
|
13
|
+
const iconOverride = (_a = mergedIconsRef === null || mergedIconsRef === void 0 ? void 0 : mergedIconsRef.value) === null || _a === void 0 ? void 0 : _a[name];
|
|
13
14
|
return iconOverride ? iconOverride() : icon;
|
|
14
15
|
};
|
|
15
16
|
}
|
|
@@ -25,9 +25,18 @@ export interface ScrollTo {
|
|
|
25
25
|
debounce?: boolean;
|
|
26
26
|
}): void;
|
|
27
27
|
}
|
|
28
|
+
export interface ScrollBy {
|
|
29
|
+
(x: number, y: number): void;
|
|
30
|
+
(options: {
|
|
31
|
+
left?: number;
|
|
32
|
+
top?: number;
|
|
33
|
+
behavior?: ScrollBehavior;
|
|
34
|
+
}): void;
|
|
35
|
+
}
|
|
28
36
|
export interface ScrollbarInstMethods {
|
|
29
37
|
syncUnifiedContainer: () => void;
|
|
30
38
|
scrollTo: ScrollTo;
|
|
39
|
+
scrollBy: ScrollBy;
|
|
31
40
|
sync: () => void;
|
|
32
41
|
handleMouseEnterWrapper: () => void;
|
|
33
42
|
handleMouseLeaveWrapper: () => void;
|
|
@@ -149,9 +158,12 @@ declare const Scrollbar: import("vue").DefineComponent<{
|
|
|
149
158
|
'--n-scrollbar-border-radius': string;
|
|
150
159
|
'--n-scrollbar-width': string;
|
|
151
160
|
'--n-scrollbar-height': string;
|
|
152
|
-
}
|
|
161
|
+
}> | undefined;
|
|
162
|
+
themeClass: import("vue").Ref<string> | undefined;
|
|
163
|
+
onRender: (() => void) | undefined;
|
|
153
164
|
syncUnifiedContainer: () => void;
|
|
154
165
|
scrollTo: ScrollTo;
|
|
166
|
+
scrollBy: ScrollBy;
|
|
155
167
|
sync: () => void;
|
|
156
168
|
handleMouseEnterWrapper: () => void;
|
|
157
169
|
handleMouseLeaveWrapper: () => void;
|
|
@@ -2,7 +2,7 @@ import { h, ref, defineComponent, computed, onMounted, onBeforeUnmount, mergePro
|
|
|
2
2
|
import { on, off } from 'evtd';
|
|
3
3
|
import { VResizeObserver } from 'vueuc';
|
|
4
4
|
import { useIsIos } from 'vooks';
|
|
5
|
-
import { useConfig, useTheme } from '../../../_mixins';
|
|
5
|
+
import { useConfig, useTheme, useThemeClass } from '../../../_mixins';
|
|
6
6
|
import { scrollbarLight } from '../styles';
|
|
7
7
|
import style from './styles/index.cssr';
|
|
8
8
|
const scrollbarProps = Object.assign(Object.assign({}, useTheme.props), { size: {
|
|
@@ -22,7 +22,7 @@ const Scrollbar = defineComponent({
|
|
|
22
22
|
props: scrollbarProps,
|
|
23
23
|
inheritAttrs: false,
|
|
24
24
|
setup(props) {
|
|
25
|
-
const { mergedClsPrefixRef } = useConfig(props);
|
|
25
|
+
const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
|
|
26
26
|
// dom ref
|
|
27
27
|
const wrapperRef = ref(null);
|
|
28
28
|
const containerRef = ref(null);
|
|
@@ -175,6 +175,19 @@ const Scrollbar = defineComponent({
|
|
|
175
175
|
scrollToPosition(0, 0, 0, false, behavior);
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
|
+
const scrollBy = (options, y) => {
|
|
179
|
+
if (!props.scrollable)
|
|
180
|
+
return;
|
|
181
|
+
const { value: container } = mergedContainerRef;
|
|
182
|
+
if (!container)
|
|
183
|
+
return;
|
|
184
|
+
if (typeof options === 'object') {
|
|
185
|
+
container.scrollBy(options);
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
container.scrollBy(options, y || 0);
|
|
189
|
+
}
|
|
190
|
+
};
|
|
178
191
|
function scrollToPosition(left, top, elSize, debounce, behavior) {
|
|
179
192
|
const { value: container } = mergedContainerRef;
|
|
180
193
|
if (!container)
|
|
@@ -455,8 +468,23 @@ const Scrollbar = defineComponent({
|
|
|
455
468
|
off('mouseup', window, handleYScrollMouseUp, true);
|
|
456
469
|
});
|
|
457
470
|
const themeRef = useTheme('Scrollbar', '-scrollbar', style, scrollbarLight, props, mergedClsPrefixRef);
|
|
471
|
+
const cssVarsRef = computed(() => {
|
|
472
|
+
const { common: { cubicBezierEaseInOut, scrollbarBorderRadius, scrollbarHeight, scrollbarWidth }, self: { color, colorHover } } = themeRef.value;
|
|
473
|
+
return {
|
|
474
|
+
'--n-scrollbar-bezier': cubicBezierEaseInOut,
|
|
475
|
+
'--n-scrollbar-color': color,
|
|
476
|
+
'--n-scrollbar-color-hover': colorHover,
|
|
477
|
+
'--n-scrollbar-border-radius': scrollbarBorderRadius,
|
|
478
|
+
'--n-scrollbar-width': scrollbarWidth,
|
|
479
|
+
'--n-scrollbar-height': scrollbarHeight
|
|
480
|
+
};
|
|
481
|
+
});
|
|
482
|
+
const themeClassHandle = inlineThemeDisabled
|
|
483
|
+
? useThemeClass('scrollbar', undefined, cssVarsRef, props)
|
|
484
|
+
: undefined;
|
|
458
485
|
const exposedMethods = {
|
|
459
486
|
scrollTo,
|
|
487
|
+
scrollBy,
|
|
460
488
|
sync,
|
|
461
489
|
syncUnifiedContainer,
|
|
462
490
|
handleMouseEnterWrapper,
|
|
@@ -471,17 +499,7 @@ const Scrollbar = defineComponent({
|
|
|
471
499
|
handleContentResize,
|
|
472
500
|
handleContainerResize,
|
|
473
501
|
handleYScrollMouseDown,
|
|
474
|
-
handleXScrollMouseDown, cssVars:
|
|
475
|
-
const { common: { cubicBezierEaseInOut, scrollbarBorderRadius, scrollbarHeight, scrollbarWidth }, self: { color, colorHover } } = themeRef.value;
|
|
476
|
-
return {
|
|
477
|
-
'--n-scrollbar-bezier': cubicBezierEaseInOut,
|
|
478
|
-
'--n-scrollbar-color': color,
|
|
479
|
-
'--n-scrollbar-color-hover': colorHover,
|
|
480
|
-
'--n-scrollbar-border-radius': scrollbarBorderRadius,
|
|
481
|
-
'--n-scrollbar-width': scrollbarWidth,
|
|
482
|
-
'--n-scrollbar-height': scrollbarHeight
|
|
483
|
-
};
|
|
484
|
-
}) });
|
|
502
|
+
handleXScrollMouseDown, cssVars: inlineThemeDisabled ? undefined : cssVarsRef, themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender });
|
|
485
503
|
},
|
|
486
504
|
render() {
|
|
487
505
|
var _a;
|
|
@@ -489,11 +507,12 @@ const Scrollbar = defineComponent({
|
|
|
489
507
|
if (!this.scrollable)
|
|
490
508
|
return (_a = $slots.default) === null || _a === void 0 ? void 0 : _a.call($slots);
|
|
491
509
|
const createChildren = () => {
|
|
492
|
-
var _a;
|
|
510
|
+
var _a, _b;
|
|
511
|
+
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
493
512
|
return h('div', mergeProps(this.$attrs, {
|
|
494
513
|
role: 'none',
|
|
495
514
|
ref: 'wrapperRef',
|
|
496
|
-
class: `${mergedClsPrefix}-scrollbar`,
|
|
515
|
+
class: [`${mergedClsPrefix}-scrollbar`, this.themeClass],
|
|
497
516
|
style: this.cssVars,
|
|
498
517
|
onMouseenter: triggerDisplayManually
|
|
499
518
|
? undefined
|
|
@@ -502,7 +521,7 @@ const Scrollbar = defineComponent({
|
|
|
502
521
|
? undefined
|
|
503
522
|
: this.handleMouseLeaveWrapper
|
|
504
523
|
}), [
|
|
505
|
-
this.container ? ((
|
|
524
|
+
this.container ? ((_b = $slots.default) === null || _b === void 0 ? void 0 : _b.call($slots)) : (h("div", { role: "none", ref: "containerRef", class: [
|
|
506
525
|
`${mergedClsPrefix}-scrollbar-container`,
|
|
507
526
|
this.containerClass
|
|
508
527
|
], style: this.containerStyle, onScroll: this.handleScroll, onWheel: this.onWheel },
|
|
@@ -51,6 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
type: BooleanConstructor;
|
|
52
52
|
default: boolean;
|
|
53
53
|
};
|
|
54
|
+
inlineThemeDisabled: BooleanConstructor;
|
|
54
55
|
onToggle: PropType<(tmNode: TreeNode<SelectOption>) => void>;
|
|
55
56
|
theme: PropType<import("../../../_mixins").Theme<"InternalSelectMenu", {
|
|
56
57
|
optionFontSizeSmall: string;
|
|
@@ -394,11 +395,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
394
395
|
containerScrollTop: number;
|
|
395
396
|
syncUnifiedContainer: () => void;
|
|
396
397
|
scrollTo: import("../../scrollbar/src/ScrollBar").ScrollTo;
|
|
398
|
+
scrollBy: import("../../scrollbar/src/ScrollBar").ScrollBy;
|
|
397
399
|
sync: () => void;
|
|
398
400
|
handleMouseEnterWrapper: () => void;
|
|
399
401
|
handleMouseLeaveWrapper: () => void;
|
|
400
402
|
} | null>;
|
|
401
|
-
|
|
403
|
+
itemSize: import("vue").ComputedRef<number>;
|
|
404
|
+
padding: import("vue").ComputedRef<import("seemly").Margin>;
|
|
405
|
+
flattenedNodes: import("vue").ComputedRef<TreeNode<import("../../../select/src/interface").SelectBaseOption<string | number, string | ((option: import("../../../select/src/interface").SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, SelectGroupOption, SelectIgnoredOption>[]>;
|
|
406
|
+
empty: import("vue").ComputedRef<boolean>;
|
|
407
|
+
virtualListContainer(): HTMLElement;
|
|
408
|
+
virtualListContent(): HTMLElement;
|
|
409
|
+
doScroll: (e: Event) => void;
|
|
410
|
+
handleFocusin: (e: FocusEvent) => void;
|
|
411
|
+
handleFocusout: (e: FocusEvent) => void;
|
|
412
|
+
handleKeyUp: (e: KeyboardEvent) => void;
|
|
413
|
+
handleKeyDown: (e: KeyboardEvent) => void;
|
|
414
|
+
handleMouseDown: (e: MouseEvent) => void;
|
|
415
|
+
handleVirtualListResize: () => void;
|
|
416
|
+
handleVirtualListScroll: (e: Event) => void;
|
|
417
|
+
cssVars: {
|
|
402
418
|
'--n-height': string;
|
|
403
419
|
'--n-action-divider-color': string;
|
|
404
420
|
'--n-action-text-color': string;
|
|
@@ -420,23 +436,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
420
436
|
'--n-option-padding-left': string;
|
|
421
437
|
'--n-loading-color': string;
|
|
422
438
|
'--n-loading-size': string;
|
|
423
|
-
} |
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
itemSize: import("vue").ComputedRef<number>;
|
|
427
|
-
padding: import("vue").ComputedRef<import("seemly").Margin>;
|
|
428
|
-
flattenedNodes: import("vue").ComputedRef<TreeNode<import("../../../select/src/interface").SelectBaseOption<string | number, string | ((option: import("../../../select/src/interface").SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>, SelectGroupOption, SelectIgnoredOption>[]>;
|
|
429
|
-
empty: import("vue").ComputedRef<boolean>;
|
|
430
|
-
virtualListContainer(): HTMLElement;
|
|
431
|
-
virtualListContent(): HTMLElement;
|
|
432
|
-
doScroll: (e: Event) => void;
|
|
433
|
-
handleFocusin: (e: FocusEvent) => void;
|
|
434
|
-
handleFocusout: (e: FocusEvent) => void;
|
|
435
|
-
handleKeyUp: (e: KeyboardEvent) => void;
|
|
436
|
-
handleKeyDown: (e: KeyboardEvent) => void;
|
|
437
|
-
handleMouseDown: (e: MouseEvent) => void;
|
|
438
|
-
handleVirtualListResize: () => void;
|
|
439
|
-
handleVirtualListScroll: (e: Event) => void;
|
|
439
|
+
} | undefined;
|
|
440
|
+
themeClass: import("vue").Ref<string> | undefined;
|
|
441
|
+
onRender: (() => void) | undefined;
|
|
440
442
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
441
443
|
clsPrefix: {
|
|
442
444
|
type: StringConstructor;
|
|
@@ -486,6 +488,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
486
488
|
type: BooleanConstructor;
|
|
487
489
|
default: boolean;
|
|
488
490
|
};
|
|
491
|
+
inlineThemeDisabled: BooleanConstructor;
|
|
489
492
|
onToggle: PropType<(tmNode: TreeNode<SelectOption>) => void>;
|
|
490
493
|
theme: PropType<import("../../../_mixins").Theme<"InternalSelectMenu", {
|
|
491
494
|
optionFontSizeSmall: string;
|
|
@@ -650,6 +653,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
650
653
|
multiple: boolean;
|
|
651
654
|
focusable: boolean;
|
|
652
655
|
loading: boolean;
|
|
656
|
+
inlineThemeDisabled: boolean;
|
|
653
657
|
scrollable: boolean;
|
|
654
658
|
autoPending: boolean;
|
|
655
659
|
virtualScroll: boolean;
|
|
@@ -6,7 +6,7 @@ import { NEmpty } from '../../../empty';
|
|
|
6
6
|
import { NScrollbar } from '../../scrollbar';
|
|
7
7
|
import { formatLength, resolveSlot, resolveWrappedSlot } from '../../../_utils';
|
|
8
8
|
import { createKey } from '../../../_utils/cssr';
|
|
9
|
-
import { useTheme } from '../../../_mixins';
|
|
9
|
+
import { useThemeClass, useTheme } from '../../../_mixins';
|
|
10
10
|
import NInternalLoading from '../../loading';
|
|
11
11
|
import NFocusDetector from '../../focus-detector';
|
|
12
12
|
import { internalSelectMenuLight } from '../styles';
|
|
@@ -42,7 +42,7 @@ export default defineComponent({
|
|
|
42
42
|
}, loading: Boolean, focusable: Boolean, renderLabel: Function, renderOption: Function, onMousedown: Function, onScroll: Function, onFocus: Function, onBlur: Function, onKeyup: Function, onKeydown: Function, onTabOut: Function, onMouseenter: Function, onMouseleave: Function, resetMenuOnOptionsChange: {
|
|
43
43
|
type: Boolean,
|
|
44
44
|
default: true
|
|
45
|
-
},
|
|
45
|
+
}, inlineThemeDisabled: Boolean,
|
|
46
46
|
// deprecated
|
|
47
47
|
onToggle: Function }),
|
|
48
48
|
setup(props) {
|
|
@@ -111,9 +111,6 @@ export default defineComponent({
|
|
|
111
111
|
const tmNodes = flattenedNodesRef.value;
|
|
112
112
|
return tmNodes && tmNodes.length === 0;
|
|
113
113
|
});
|
|
114
|
-
const styleRef = computed(() => {
|
|
115
|
-
return [{ width: formatLength(props.width) }, cssVarsRef.value];
|
|
116
|
-
});
|
|
117
114
|
function doToggle(tmNode) {
|
|
118
115
|
const { onToggle } = props;
|
|
119
116
|
if (onToggle)
|
|
@@ -260,6 +257,10 @@ export default defineComponent({
|
|
|
260
257
|
'--n-loading-size': loadingSize
|
|
261
258
|
};
|
|
262
259
|
});
|
|
260
|
+
const { inlineThemeDisabled } = props;
|
|
261
|
+
const themeClassHandle = inlineThemeDisabled
|
|
262
|
+
? useThemeClass('internal-select-menu', computed(() => props.size[0]), cssVarsRef, props)
|
|
263
|
+
: undefined;
|
|
263
264
|
const exposedProps = {
|
|
264
265
|
selfRef,
|
|
265
266
|
next,
|
|
@@ -267,7 +268,7 @@ export default defineComponent({
|
|
|
267
268
|
getPendingTmNode
|
|
268
269
|
};
|
|
269
270
|
return Object.assign({ mergedTheme: themeRef, virtualListRef,
|
|
270
|
-
scrollbarRef,
|
|
271
|
+
scrollbarRef, itemSize: itemSizeRef, padding: paddingRef, flattenedNodes: flattenedNodesRef, empty: emptyRef, virtualListContainer() {
|
|
271
272
|
const { value } = virtualListRef;
|
|
272
273
|
return value === null || value === void 0 ? void 0 : value.listElRef;
|
|
273
274
|
},
|
|
@@ -282,14 +283,16 @@ export default defineComponent({
|
|
|
282
283
|
handleKeyDown,
|
|
283
284
|
handleMouseDown,
|
|
284
285
|
handleVirtualListResize,
|
|
285
|
-
handleVirtualListScroll }, exposedProps);
|
|
286
|
+
handleVirtualListScroll, cssVars: inlineThemeDisabled ? undefined : cssVarsRef.value, themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender }, exposedProps);
|
|
286
287
|
},
|
|
287
288
|
render() {
|
|
288
|
-
const { $slots, virtualScroll, clsPrefix, mergedTheme } = this;
|
|
289
|
+
const { $slots, virtualScroll, clsPrefix, mergedTheme, themeClass, onRender } = this;
|
|
290
|
+
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
289
291
|
return (h("div", { ref: "selfRef", tabindex: this.focusable ? 0 : -1, class: [
|
|
290
292
|
`${clsPrefix}-base-select-menu`,
|
|
293
|
+
themeClass,
|
|
291
294
|
this.multiple && `${clsPrefix}-base-select-menu--multiple`
|
|
292
|
-
], style: this.
|
|
295
|
+
], style: [{ width: formatLength(this.width) }, this.cssVars], onFocusin: this.handleFocusin, onFocusout: this.handleFocusout, onKeyup: this.handleKeyUp, onKeydown: this.handleKeyDown, onMousedown: this.handleMouseDown, onMouseenter: this.onMouseenter, onMouseleave: this.onMouseleave },
|
|
293
296
|
this.loading ? (h("div", { class: `${clsPrefix}-base-select-menu__loading` },
|
|
294
297
|
h(NInternalLoading, { clsPrefix: clsPrefix, strokeWidth: 20 }))) : !this.empty ? (h(NScrollbar, { ref: "scrollbarRef", theme: mergedTheme.peers.Scrollbar, themeOverrides: mergedTheme.peerOverrides.Scrollbar, scrollable: this.scrollable, container: virtualScroll ? this.virtualListContainer : undefined, content: virtualScroll ? this.virtualListContent : undefined, onScroll: virtualScroll ? undefined : this.doScroll }, {
|
|
295
298
|
default: () => {
|
|
@@ -305,7 +308,7 @@ export default defineComponent({
|
|
|
305
308
|
})) : (h("div", { class: `${clsPrefix}-base-select-menu__empty` }, resolveSlot($slots.empty, () => [
|
|
306
309
|
h(NEmpty, { theme: mergedTheme.peers.Empty, themeOverrides: mergedTheme.peerOverrides.Empty })
|
|
307
310
|
]))),
|
|
308
|
-
resolveWrappedSlot($slots.action, (children) => [
|
|
311
|
+
resolveWrappedSlot($slots.action, (children) => children && [
|
|
309
312
|
h("div", { class: `${clsPrefix}-base-select-menu__action`, "data-action": true, key: "action" }, children),
|
|
310
313
|
h(NFocusDetector, { onFocus: this.onTabOut, key: "focus-detector" })
|
|
311
314
|
])));
|
|
@@ -63,6 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
onPatternBlur: PropType<(e: FocusEvent) => void>;
|
|
64
64
|
renderLabel: PropType<RenderLabel>;
|
|
65
65
|
status: PropType<FormValidationStatus>;
|
|
66
|
+
inlineThemeDisabled: BooleanConstructor;
|
|
66
67
|
theme: PropType<import("../../../_mixins").Theme<"InternalSelection", {
|
|
67
68
|
fontSizeTiny: string;
|
|
68
69
|
fontSizeSmall: string;
|
|
@@ -84,7 +85,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
85
|
borderHover: string;
|
|
85
86
|
borderActive: string;
|
|
86
87
|
borderFocus: string;
|
|
87
|
-
boxShadowHover:
|
|
88
|
+
boxShadowHover: string;
|
|
88
89
|
boxShadowActive: string;
|
|
89
90
|
boxShadowFocus: string;
|
|
90
91
|
caretColor: string;
|
|
@@ -95,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
95
96
|
borderHoverWarning: string;
|
|
96
97
|
borderActiveWarning: string;
|
|
97
98
|
borderFocusWarning: string;
|
|
98
|
-
boxShadowHoverWarning:
|
|
99
|
+
boxShadowHoverWarning: string;
|
|
99
100
|
boxShadowActiveWarning: string;
|
|
100
101
|
boxShadowFocusWarning: string;
|
|
101
102
|
colorActiveWarning: string;
|
|
@@ -104,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
105
|
borderHoverError: string;
|
|
105
106
|
borderActiveError: string;
|
|
106
107
|
borderFocusError: string;
|
|
107
|
-
boxShadowHoverError:
|
|
108
|
+
boxShadowHoverError: string;
|
|
108
109
|
boxShadowActiveError: string;
|
|
109
110
|
boxShadowFocusError: string;
|
|
110
111
|
colorActiveError: string;
|
|
@@ -153,7 +154,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
153
154
|
borderHover: string;
|
|
154
155
|
borderActive: string;
|
|
155
156
|
borderFocus: string;
|
|
156
|
-
boxShadowHover:
|
|
157
|
+
boxShadowHover: string;
|
|
157
158
|
boxShadowActive: string;
|
|
158
159
|
boxShadowFocus: string;
|
|
159
160
|
caretColor: string;
|
|
@@ -164,7 +165,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
164
165
|
borderHoverWarning: string;
|
|
165
166
|
borderActiveWarning: string;
|
|
166
167
|
borderFocusWarning: string;
|
|
167
|
-
boxShadowHoverWarning:
|
|
168
|
+
boxShadowHoverWarning: string;
|
|
168
169
|
boxShadowActiveWarning: string;
|
|
169
170
|
boxShadowFocusWarning: string;
|
|
170
171
|
colorActiveWarning: string;
|
|
@@ -173,7 +174,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
173
174
|
borderHoverError: string;
|
|
174
175
|
borderActiveError: string;
|
|
175
176
|
borderFocusError: string;
|
|
176
|
-
boxShadowHoverError:
|
|
177
|
+
boxShadowHoverError: string;
|
|
177
178
|
boxShadowActiveError: string;
|
|
178
179
|
boxShadowFocusError: string;
|
|
179
180
|
colorActiveError: string;
|
|
@@ -222,7 +223,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
222
223
|
borderHover: string;
|
|
223
224
|
borderActive: string;
|
|
224
225
|
borderFocus: string;
|
|
225
|
-
boxShadowHover:
|
|
226
|
+
boxShadowHover: string;
|
|
226
227
|
boxShadowActive: string;
|
|
227
228
|
boxShadowFocus: string;
|
|
228
229
|
caretColor: string;
|
|
@@ -233,7 +234,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
233
234
|
borderHoverWarning: string;
|
|
234
235
|
borderActiveWarning: string;
|
|
235
236
|
borderFocusWarning: string;
|
|
236
|
-
boxShadowHoverWarning:
|
|
237
|
+
boxShadowHoverWarning: string;
|
|
237
238
|
boxShadowActiveWarning: string;
|
|
238
239
|
boxShadowFocusWarning: string;
|
|
239
240
|
colorActiveWarning: string;
|
|
@@ -242,7 +243,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
242
243
|
borderHoverError: string;
|
|
243
244
|
borderActiveError: string;
|
|
244
245
|
borderFocusError: string;
|
|
245
|
-
boxShadowHoverError:
|
|
246
|
+
boxShadowHoverError: string;
|
|
246
247
|
boxShadowActiveError: string;
|
|
247
248
|
boxShadowFocusError: string;
|
|
248
249
|
colorActiveError: string;
|
|
@@ -396,7 +397,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
396
397
|
borderHover: string;
|
|
397
398
|
borderActive: string;
|
|
398
399
|
borderFocus: string;
|
|
399
|
-
boxShadowHover:
|
|
400
|
+
boxShadowHover: string;
|
|
400
401
|
boxShadowActive: string;
|
|
401
402
|
boxShadowFocus: string;
|
|
402
403
|
caretColor: string;
|
|
@@ -407,7 +408,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
407
408
|
borderHoverWarning: string;
|
|
408
409
|
borderActiveWarning: string;
|
|
409
410
|
borderFocusWarning: string;
|
|
410
|
-
boxShadowHoverWarning:
|
|
411
|
+
boxShadowHoverWarning: string;
|
|
411
412
|
boxShadowActiveWarning: string;
|
|
412
413
|
boxShadowFocusWarning: string;
|
|
413
414
|
colorActiveWarning: string;
|
|
@@ -416,7 +417,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
416
417
|
borderHoverError: string;
|
|
417
418
|
borderActiveError: string;
|
|
418
419
|
borderFocusError: string;
|
|
419
|
-
boxShadowHoverError:
|
|
420
|
+
boxShadowHoverError: string;
|
|
420
421
|
boxShadowActiveError: string;
|
|
421
422
|
boxShadowFocusError: string;
|
|
422
423
|
colorActiveError: string;
|
|
@@ -508,7 +509,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
508
509
|
'--n-border-radius': string;
|
|
509
510
|
'--n-box-shadow-active': string;
|
|
510
511
|
'--n-box-shadow-focus': string;
|
|
511
|
-
'--n-box-shadow-hover':
|
|
512
|
+
'--n-box-shadow-hover': string;
|
|
512
513
|
'--n-caret-color': string;
|
|
513
514
|
'--n-color': string;
|
|
514
515
|
'--n-color-active': string;
|
|
@@ -527,7 +528,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
527
528
|
'--n-color-active-warning': string;
|
|
528
529
|
'--n-box-shadow-focus-warning': string;
|
|
529
530
|
'--n-box-shadow-active-warning': string;
|
|
530
|
-
'--n-box-shadow-hover-warning':
|
|
531
|
+
'--n-box-shadow-hover-warning': string;
|
|
531
532
|
'--n-border-warning': string;
|
|
532
533
|
'--n-border-focus-warning': string;
|
|
533
534
|
'--n-border-hover-warning': string;
|
|
@@ -535,7 +536,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
535
536
|
'--n-color-active-error': string;
|
|
536
537
|
'--n-box-shadow-focus-error': string;
|
|
537
538
|
'--n-box-shadow-active-error': string;
|
|
538
|
-
'--n-box-shadow-hover-error':
|
|
539
|
+
'--n-box-shadow-hover-error': string;
|
|
539
540
|
'--n-border-error': string;
|
|
540
541
|
'--n-border-focus-error': string;
|
|
541
542
|
'--n-border-hover-error': string;
|
|
@@ -545,7 +546,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
545
546
|
'--n-clear-color-hover': string;
|
|
546
547
|
'--n-clear-color-pressed': string;
|
|
547
548
|
'--n-arrow-size': string;
|
|
548
|
-
}
|
|
549
|
+
}> | undefined;
|
|
550
|
+
themeClass: import("vue").Ref<string> | undefined;
|
|
551
|
+
onRender: (() => void) | undefined;
|
|
549
552
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
550
553
|
clsPrefix: {
|
|
551
554
|
type: StringConstructor;
|
|
@@ -599,6 +602,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
599
602
|
onPatternBlur: PropType<(e: FocusEvent) => void>;
|
|
600
603
|
renderLabel: PropType<RenderLabel>;
|
|
601
604
|
status: PropType<FormValidationStatus>;
|
|
605
|
+
inlineThemeDisabled: BooleanConstructor;
|
|
602
606
|
theme: PropType<import("../../../_mixins").Theme<"InternalSelection", {
|
|
603
607
|
fontSizeTiny: string;
|
|
604
608
|
fontSizeSmall: string;
|
|
@@ -620,7 +624,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
620
624
|
borderHover: string;
|
|
621
625
|
borderActive: string;
|
|
622
626
|
borderFocus: string;
|
|
623
|
-
boxShadowHover:
|
|
627
|
+
boxShadowHover: string;
|
|
624
628
|
boxShadowActive: string;
|
|
625
629
|
boxShadowFocus: string;
|
|
626
630
|
caretColor: string;
|
|
@@ -631,7 +635,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
631
635
|
borderHoverWarning: string;
|
|
632
636
|
borderActiveWarning: string;
|
|
633
637
|
borderFocusWarning: string;
|
|
634
|
-
boxShadowHoverWarning:
|
|
638
|
+
boxShadowHoverWarning: string;
|
|
635
639
|
boxShadowActiveWarning: string;
|
|
636
640
|
boxShadowFocusWarning: string;
|
|
637
641
|
colorActiveWarning: string;
|
|
@@ -640,7 +644,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
640
644
|
borderHoverError: string;
|
|
641
645
|
borderActiveError: string;
|
|
642
646
|
borderFocusError: string;
|
|
643
|
-
boxShadowHoverError:
|
|
647
|
+
boxShadowHoverError: string;
|
|
644
648
|
boxShadowActiveError: string;
|
|
645
649
|
boxShadowFocusError: string;
|
|
646
650
|
colorActiveError: string;
|
|
@@ -689,7 +693,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
689
693
|
borderHover: string;
|
|
690
694
|
borderActive: string;
|
|
691
695
|
borderFocus: string;
|
|
692
|
-
boxShadowHover:
|
|
696
|
+
boxShadowHover: string;
|
|
693
697
|
boxShadowActive: string;
|
|
694
698
|
boxShadowFocus: string;
|
|
695
699
|
caretColor: string;
|
|
@@ -700,7 +704,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
700
704
|
borderHoverWarning: string;
|
|
701
705
|
borderActiveWarning: string;
|
|
702
706
|
borderFocusWarning: string;
|
|
703
|
-
boxShadowHoverWarning:
|
|
707
|
+
boxShadowHoverWarning: string;
|
|
704
708
|
boxShadowActiveWarning: string;
|
|
705
709
|
boxShadowFocusWarning: string;
|
|
706
710
|
colorActiveWarning: string;
|
|
@@ -709,7 +713,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
709
713
|
borderHoverError: string;
|
|
710
714
|
borderActiveError: string;
|
|
711
715
|
borderFocusError: string;
|
|
712
|
-
boxShadowHoverError:
|
|
716
|
+
boxShadowHoverError: string;
|
|
713
717
|
boxShadowActiveError: string;
|
|
714
718
|
boxShadowFocusError: string;
|
|
715
719
|
colorActiveError: string;
|
|
@@ -758,7 +762,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
758
762
|
borderHover: string;
|
|
759
763
|
borderActive: string;
|
|
760
764
|
borderFocus: string;
|
|
761
|
-
boxShadowHover:
|
|
765
|
+
boxShadowHover: string;
|
|
762
766
|
boxShadowActive: string;
|
|
763
767
|
boxShadowFocus: string;
|
|
764
768
|
caretColor: string;
|
|
@@ -769,7 +773,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
769
773
|
borderHoverWarning: string;
|
|
770
774
|
borderActiveWarning: string;
|
|
771
775
|
borderFocusWarning: string;
|
|
772
|
-
boxShadowHoverWarning:
|
|
776
|
+
boxShadowHoverWarning: string;
|
|
773
777
|
boxShadowActiveWarning: string;
|
|
774
778
|
boxShadowFocusWarning: string;
|
|
775
779
|
colorActiveWarning: string;
|
|
@@ -778,7 +782,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
778
782
|
borderHoverError: string;
|
|
779
783
|
borderActiveError: string;
|
|
780
784
|
borderFocusError: string;
|
|
781
|
-
boxShadowHoverError:
|
|
785
|
+
boxShadowHoverError: string;
|
|
782
786
|
boxShadowActiveError: string;
|
|
783
787
|
boxShadowFocusError: string;
|
|
784
788
|
colorActiveError: string;
|
|
@@ -813,8 +817,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
813
817
|
active: boolean;
|
|
814
818
|
disabled: boolean;
|
|
815
819
|
autofocus: boolean;
|
|
816
|
-
bordered: boolean | undefined;
|
|
817
820
|
loading: boolean;
|
|
821
|
+
bordered: boolean | undefined;
|
|
822
|
+
inlineThemeDisabled: boolean;
|
|
818
823
|
showArrow: boolean;
|
|
819
824
|
selectedOption: SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)> | null;
|
|
820
825
|
selectedOptions: SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | any>, selected: boolean) => import("vue").VNodeChild)>[] | null;
|