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
package/lib/tag/styles/index.js
CHANGED
|
@@ -9,4 +9,4 @@ Object.defineProperty(exports, "tagDark", { enumerable: true, get: function () {
|
|
|
9
9
|
var light_1 = require("./light");
|
|
10
10
|
Object.defineProperty(exports, "tagLight", { enumerable: true, get: function () { return __importDefault(light_1).default; } });
|
|
11
11
|
var rtl_1 = require("./rtl");
|
|
12
|
-
Object.defineProperty(exports, "tagRtl", { enumerable: true, get: function () { return
|
|
12
|
+
Object.defineProperty(exports, "tagRtl", { enumerable: true, get: function () { return rtl_1.tagRtl; } });
|
package/lib/tag/styles/rtl.d.ts
CHANGED
package/lib/tag/styles/rtl.js
CHANGED
|
@@ -3,8 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.tagRtl = void 0;
|
|
6
7
|
const rtl_cssr_1 = __importDefault(require("../src/styles/rtl.cssr"));
|
|
7
|
-
exports.
|
|
8
|
+
exports.tagRtl = {
|
|
8
9
|
name: 'Tag',
|
|
9
10
|
style: rtl_cssr_1.default
|
|
10
11
|
};
|
|
@@ -4,6 +4,7 @@ const vue_1 = require("vue");
|
|
|
4
4
|
const lodash_1 = require("lodash");
|
|
5
5
|
const light_1 = require("../../themes/light");
|
|
6
6
|
const config_provider_1 = require("../../config-provider");
|
|
7
|
+
const context_1 = require("../../config-provider/src/context");
|
|
7
8
|
const popover_1 = require("../../popover");
|
|
8
9
|
const _internal_1 = require("../../_internal");
|
|
9
10
|
const collapse_1 = require("../../collapse");
|
|
@@ -33,7 +34,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
33
34
|
inheritAttrs: false,
|
|
34
35
|
setup() {
|
|
35
36
|
const fileInputRef = (0, vue_1.ref)(null);
|
|
36
|
-
const
|
|
37
|
+
const NConfigProvider = (0, vue_1.inject)(context_1.configProviderInjectionKey, null);
|
|
37
38
|
const theme = (0, vue_1.computed)(() => {
|
|
38
39
|
var _a, _b, _c, _d;
|
|
39
40
|
const mergedTheme = (NConfigProvider === null || NConfigProvider === void 0 ? void 0 : NConfigProvider.mergedThemeRef.value) || light_1.lightTheme;
|
package/lib/themes/dark.js
CHANGED
|
@@ -77,6 +77,7 @@ const styles_72 = require("../tree-select/styles");
|
|
|
77
77
|
const styles_73 = require("../typography/styles");
|
|
78
78
|
const styles_74 = require("../tree/styles");
|
|
79
79
|
const styles_75 = require("../upload/styles");
|
|
80
|
+
const styles_76 = require("../watermark/styles");
|
|
80
81
|
exports.darkTheme = {
|
|
81
82
|
name: 'dark',
|
|
82
83
|
common: common_1.commonDark,
|
|
@@ -154,5 +155,6 @@ exports.darkTheme = {
|
|
|
154
155
|
Tree: styles_74.treeDark,
|
|
155
156
|
TreeSelect: styles_72.treeSelectDark,
|
|
156
157
|
Typography: styles_73.typographyDark,
|
|
157
|
-
Upload: styles_75.uploadDark
|
|
158
|
+
Upload: styles_75.uploadDark,
|
|
159
|
+
Watermark: styles_76.watermarkDark
|
|
158
160
|
};
|
package/lib/themes/light.js
CHANGED
|
@@ -79,6 +79,7 @@ const styles_72 = require("../typography/styles");
|
|
|
79
79
|
const styles_73 = require("../tree/styles");
|
|
80
80
|
const styles_74 = require("../tree-select/styles");
|
|
81
81
|
const styles_75 = require("../upload/styles");
|
|
82
|
+
const styles_76 = require("../watermark/styles");
|
|
82
83
|
exports.lightTheme = {
|
|
83
84
|
name: 'light',
|
|
84
85
|
common: common_1.commonLight,
|
|
@@ -156,5 +157,6 @@ exports.lightTheme = {
|
|
|
156
157
|
Tree: styles_73.treeLight,
|
|
157
158
|
TreeSelect: styles_74.treeSelectLight,
|
|
158
159
|
Typography: styles_72.typographyLight,
|
|
159
|
-
Upload: styles_75.uploadLight
|
|
160
|
+
Upload: styles_75.uploadLight,
|
|
161
|
+
Watermark: styles_76.watermarkLight
|
|
160
162
|
};
|
package/lib/thing/src/Thing.js
CHANGED
|
@@ -15,7 +15,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
15
15
|
name: 'Thing',
|
|
16
16
|
props: thingProps,
|
|
17
17
|
setup(props, { slots }) {
|
|
18
|
-
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
18
|
+
const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
19
19
|
const themeRef = (0, _mixins_1.useTheme)('Thing', '-thing', index_cssr_1.default, styles_1.thingLight, props, mergedClsPrefixRef);
|
|
20
20
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
21
21
|
const { self: { titleTextColor, textColor, titleFontWeight, fontSize }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
@@ -27,9 +27,16 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
27
27
|
'--n-title-text-color': titleTextColor
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
|
+
const themeClassHandle = inlineThemeDisabled
|
|
31
|
+
? (0, _mixins_1.useThemeClass)('thing', undefined, cssVarsRef, props)
|
|
32
|
+
: undefined;
|
|
30
33
|
return () => {
|
|
34
|
+
var _a;
|
|
31
35
|
const { value: mergedClsPrefix } = mergedClsPrefixRef;
|
|
32
|
-
|
|
36
|
+
(_a = themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender) === null || _a === void 0 ? void 0 : _a.call(themeClassHandle);
|
|
37
|
+
return ((0, vue_1.h)("div", { class: [`${mergedClsPrefix}-thing`, themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass], style: inlineThemeDisabled
|
|
38
|
+
? undefined
|
|
39
|
+
: cssVarsRef.value },
|
|
33
40
|
slots.avatar && props.contentIndented ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-thing-avatar` }, slots.avatar())) : null,
|
|
34
41
|
(0, vue_1.h)("div", { class: `${mergedClsPrefix}-thing-main` },
|
|
35
42
|
!props.contentIndented &&
|
|
@@ -1885,6 +1885,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1885
1885
|
containerScrollTop: number;
|
|
1886
1886
|
syncUnifiedContainer: () => void;
|
|
1887
1887
|
scrollTo: import("../../_internal/scrollbar/src/ScrollBar").ScrollTo;
|
|
1888
|
+
scrollBy: import("../../_internal/scrollbar/src/ScrollBar").ScrollBy;
|
|
1888
1889
|
sync: () => void;
|
|
1889
1890
|
handleMouseEnterWrapper: () => void;
|
|
1890
1891
|
handleMouseLeaveWrapper: () => void;
|
|
@@ -1895,6 +1896,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1895
1896
|
containerScrollTop: number;
|
|
1896
1897
|
syncUnifiedContainer: () => void;
|
|
1897
1898
|
scrollTo: import("../../_internal/scrollbar/src/ScrollBar").ScrollTo;
|
|
1899
|
+
scrollBy: import("../../_internal/scrollbar/src/ScrollBar").ScrollBy;
|
|
1898
1900
|
sync: () => void;
|
|
1899
1901
|
handleMouseEnterWrapper: () => void;
|
|
1900
1902
|
handleMouseLeaveWrapper: () => void;
|
|
@@ -1905,6 +1907,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1905
1907
|
containerScrollTop: number;
|
|
1906
1908
|
syncUnifiedContainer: () => void;
|
|
1907
1909
|
scrollTo: import("../../_internal/scrollbar/src/ScrollBar").ScrollTo;
|
|
1910
|
+
scrollBy: import("../../_internal/scrollbar/src/ScrollBar").ScrollBy;
|
|
1908
1911
|
sync: () => void;
|
|
1909
1912
|
handleMouseEnterWrapper: () => void;
|
|
1910
1913
|
handleMouseLeaveWrapper: () => void;
|
|
@@ -1915,6 +1918,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1915
1918
|
containerScrollTop: number;
|
|
1916
1919
|
syncUnifiedContainer: () => void;
|
|
1917
1920
|
scrollTo: import("../../_internal/scrollbar/src/ScrollBar").ScrollTo;
|
|
1921
|
+
scrollBy: import("../../_internal/scrollbar/src/ScrollBar").ScrollBy;
|
|
1918
1922
|
sync: () => void;
|
|
1919
1923
|
handleMouseEnterWrapper: () => void;
|
|
1920
1924
|
handleMouseLeaveWrapper: () => void;
|
|
@@ -6,7 +6,7 @@ declare const timelineItemProps: {
|
|
|
6
6
|
content: StringConstructor;
|
|
7
7
|
color: StringConstructor;
|
|
8
8
|
type: {
|
|
9
|
-
type: PropType<"default" | "
|
|
9
|
+
type: PropType<"default" | "error" | "info" | "success" | "warning">;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
content: StringConstructor;
|
|
18
18
|
color: StringConstructor;
|
|
19
19
|
type: {
|
|
20
|
-
type: PropType<"default" | "
|
|
20
|
+
type: PropType<"default" | "error" | "info" | "success" | "warning">;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
23
|
}, {
|
|
@@ -42,10 +42,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
content: StringConstructor;
|
|
43
43
|
color: StringConstructor;
|
|
44
44
|
type: {
|
|
45
|
-
type: PropType<"default" | "
|
|
45
|
+
type: PropType<"default" | "error" | "info" | "success" | "warning">;
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
48
|
}>>, {
|
|
49
|
-
type: "default" | "
|
|
49
|
+
type: "default" | "error" | "info" | "success" | "warning";
|
|
50
50
|
}>;
|
|
51
51
|
export default _default;
|
|
@@ -504,6 +504,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
504
504
|
containerScrollTop: number;
|
|
505
505
|
syncUnifiedContainer: () => void;
|
|
506
506
|
scrollTo: import("../../_internal/scrollbar/src/ScrollBar").ScrollTo;
|
|
507
|
+
scrollBy: import("../../_internal/scrollbar/src/ScrollBar").ScrollBy;
|
|
507
508
|
sync: () => void;
|
|
508
509
|
handleMouseEnterWrapper: () => void;
|
|
509
510
|
handleMouseLeaveWrapper: () => void;
|
package/lib/tree/src/Tree.d.ts
CHANGED
|
@@ -957,6 +957,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
957
957
|
containerScrollTop: number;
|
|
958
958
|
syncUnifiedContainer: () => void;
|
|
959
959
|
scrollTo: import("../../_internal/scrollbar/src/ScrollBar").ScrollTo;
|
|
960
|
+
scrollBy: import("../../_internal/scrollbar/src/ScrollBar").ScrollBy;
|
|
960
961
|
sync: () => void;
|
|
961
962
|
handleMouseEnterWrapper: () => void;
|
|
962
963
|
handleMouseLeaveWrapper: () => void;
|
package/lib/tree/src/Tree.js
CHANGED
|
@@ -185,16 +185,20 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
185
185
|
const controlledSelectedKeysRef = (0, vue_1.toRef)(props, 'selectedKeys');
|
|
186
186
|
const mergedSelectedKeysRef = (0, vooks_1.useMergedState)(controlledSelectedKeysRef, uncontrolledSelectedKeysRef);
|
|
187
187
|
const uncontrolledExpandedKeysRef = (0, vue_1.ref)([]);
|
|
188
|
-
const initUncontrolledExpandedKeys = () => {
|
|
188
|
+
const initUncontrolledExpandedKeys = (keys) => {
|
|
189
189
|
uncontrolledExpandedKeysRef.value = props.defaultExpandAll
|
|
190
190
|
? dataTreeMateRef.value.getNonLeafKeys()
|
|
191
|
-
:
|
|
191
|
+
: keys === undefined
|
|
192
|
+
? props.defaultExpandedKeys
|
|
193
|
+
: keys;
|
|
192
194
|
};
|
|
193
195
|
if (watchProps === null || watchProps === void 0 ? void 0 : watchProps.includes('defaultExpandedKeys')) {
|
|
194
|
-
|
|
196
|
+
// if watching defaultExpandedKeys, we use access props.defaultExpandedKeys inside initiator
|
|
197
|
+
(0, vue_1.watchEffect)(() => initUncontrolledExpandedKeys(undefined));
|
|
195
198
|
}
|
|
196
199
|
else {
|
|
197
|
-
|
|
200
|
+
// We by default watchEffect since if defaultExpandAll is true, we should remain tree expand if data changes
|
|
201
|
+
(0, vue_1.watchEffect)(() => initUncontrolledExpandedKeys(props.defaultExpandedKeys));
|
|
198
202
|
}
|
|
199
203
|
const controlledExpandedKeysRef = (0, vue_1.toRef)(props, 'expandedKeys');
|
|
200
204
|
const mergedExpandedKeysRef = (0, vooks_1.useMergedState)(controlledExpandedKeysRef, uncontrolledExpandedKeysRef);
|
package/lib/tree/src/utils.js
CHANGED
|
@@ -36,7 +36,7 @@ function keysWithFilter(nodes, pattern, keyField, childrenField, filter) {
|
|
|
36
36
|
exports.keysWithFilter = keysWithFilter;
|
|
37
37
|
const emptyImage = null;
|
|
38
38
|
exports.emptyImage = emptyImage;
|
|
39
|
-
if (typeof window !== 'undefined') {
|
|
39
|
+
if (typeof window !== 'undefined' && Image) {
|
|
40
40
|
const emptyImage = new Image();
|
|
41
41
|
emptyImage.src =
|
|
42
42
|
'data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==';
|
|
@@ -50,6 +50,10 @@ declare const props: {
|
|
|
50
50
|
readonly cascade: BooleanConstructor;
|
|
51
51
|
readonly checkable: BooleanConstructor;
|
|
52
52
|
readonly clearable: BooleanConstructor;
|
|
53
|
+
readonly clearFilterAfterSelect: {
|
|
54
|
+
readonly type: BooleanConstructor;
|
|
55
|
+
readonly default: true;
|
|
56
|
+
};
|
|
53
57
|
readonly consistentMenuWidth: {
|
|
54
58
|
readonly type: BooleanConstructor;
|
|
55
59
|
readonly default: true;
|
|
@@ -188,7 +192,7 @@ declare const props: {
|
|
|
188
192
|
borderHover: string;
|
|
189
193
|
borderActive: string;
|
|
190
194
|
borderFocus: string;
|
|
191
|
-
boxShadowHover:
|
|
195
|
+
boxShadowHover: string;
|
|
192
196
|
boxShadowActive: string;
|
|
193
197
|
boxShadowFocus: string;
|
|
194
198
|
caretColor: string;
|
|
@@ -199,7 +203,7 @@ declare const props: {
|
|
|
199
203
|
borderHoverWarning: string;
|
|
200
204
|
borderActiveWarning: string;
|
|
201
205
|
borderFocusWarning: string;
|
|
202
|
-
boxShadowHoverWarning:
|
|
206
|
+
boxShadowHoverWarning: string;
|
|
203
207
|
boxShadowActiveWarning: string;
|
|
204
208
|
boxShadowFocusWarning: string;
|
|
205
209
|
colorActiveWarning: string;
|
|
@@ -208,7 +212,7 @@ declare const props: {
|
|
|
208
212
|
borderHoverError: string;
|
|
209
213
|
borderActiveError: string;
|
|
210
214
|
borderFocusError: string;
|
|
211
|
-
boxShadowHoverError:
|
|
215
|
+
boxShadowHoverError: string;
|
|
212
216
|
boxShadowActiveError: string;
|
|
213
217
|
boxShadowFocusError: string;
|
|
214
218
|
colorActiveError: string;
|
|
@@ -326,7 +330,7 @@ declare const props: {
|
|
|
326
330
|
borderHover: string;
|
|
327
331
|
borderActive: string;
|
|
328
332
|
borderFocus: string;
|
|
329
|
-
boxShadowHover:
|
|
333
|
+
boxShadowHover: string;
|
|
330
334
|
boxShadowActive: string;
|
|
331
335
|
boxShadowFocus: string;
|
|
332
336
|
caretColor: string;
|
|
@@ -337,7 +341,7 @@ declare const props: {
|
|
|
337
341
|
borderHoverWarning: string;
|
|
338
342
|
borderActiveWarning: string;
|
|
339
343
|
borderFocusWarning: string;
|
|
340
|
-
boxShadowHoverWarning:
|
|
344
|
+
boxShadowHoverWarning: string;
|
|
341
345
|
boxShadowActiveWarning: string;
|
|
342
346
|
boxShadowFocusWarning: string;
|
|
343
347
|
colorActiveWarning: string;
|
|
@@ -346,7 +350,7 @@ declare const props: {
|
|
|
346
350
|
borderHoverError: string;
|
|
347
351
|
borderActiveError: string;
|
|
348
352
|
borderFocusError: string;
|
|
349
|
-
boxShadowHoverError:
|
|
353
|
+
boxShadowHoverError: string;
|
|
350
354
|
boxShadowActiveError: string;
|
|
351
355
|
boxShadowFocusError: string;
|
|
352
356
|
colorActiveError: string;
|
|
@@ -464,7 +468,7 @@ declare const props: {
|
|
|
464
468
|
borderHover: string;
|
|
465
469
|
borderActive: string;
|
|
466
470
|
borderFocus: string;
|
|
467
|
-
boxShadowHover:
|
|
471
|
+
boxShadowHover: string;
|
|
468
472
|
boxShadowActive: string;
|
|
469
473
|
boxShadowFocus: string;
|
|
470
474
|
caretColor: string;
|
|
@@ -475,7 +479,7 @@ declare const props: {
|
|
|
475
479
|
borderHoverWarning: string;
|
|
476
480
|
borderActiveWarning: string;
|
|
477
481
|
borderFocusWarning: string;
|
|
478
|
-
boxShadowHoverWarning:
|
|
482
|
+
boxShadowHoverWarning: string;
|
|
479
483
|
boxShadowActiveWarning: string;
|
|
480
484
|
boxShadowFocusWarning: string;
|
|
481
485
|
colorActiveWarning: string;
|
|
@@ -484,7 +488,7 @@ declare const props: {
|
|
|
484
488
|
borderHoverError: string;
|
|
485
489
|
borderActiveError: string;
|
|
486
490
|
borderFocusError: string;
|
|
487
|
-
boxShadowHoverError:
|
|
491
|
+
boxShadowHoverError: string;
|
|
488
492
|
boxShadowActiveError: string;
|
|
489
493
|
boxShadowFocusError: string;
|
|
490
494
|
colorActiveError: string;
|
|
@@ -560,6 +564,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
560
564
|
readonly cascade: BooleanConstructor;
|
|
561
565
|
readonly checkable: BooleanConstructor;
|
|
562
566
|
readonly clearable: BooleanConstructor;
|
|
567
|
+
readonly clearFilterAfterSelect: {
|
|
568
|
+
readonly type: BooleanConstructor;
|
|
569
|
+
readonly default: true;
|
|
570
|
+
};
|
|
563
571
|
readonly consistentMenuWidth: {
|
|
564
572
|
readonly type: BooleanConstructor;
|
|
565
573
|
readonly default: true;
|
|
@@ -698,7 +706,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
698
706
|
borderHover: string;
|
|
699
707
|
borderActive: string;
|
|
700
708
|
borderFocus: string;
|
|
701
|
-
boxShadowHover:
|
|
709
|
+
boxShadowHover: string;
|
|
702
710
|
boxShadowActive: string;
|
|
703
711
|
boxShadowFocus: string;
|
|
704
712
|
caretColor: string;
|
|
@@ -709,7 +717,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
709
717
|
borderHoverWarning: string;
|
|
710
718
|
borderActiveWarning: string;
|
|
711
719
|
borderFocusWarning: string;
|
|
712
|
-
boxShadowHoverWarning:
|
|
720
|
+
boxShadowHoverWarning: string;
|
|
713
721
|
boxShadowActiveWarning: string;
|
|
714
722
|
boxShadowFocusWarning: string;
|
|
715
723
|
colorActiveWarning: string;
|
|
@@ -718,7 +726,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
718
726
|
borderHoverError: string;
|
|
719
727
|
borderActiveError: string;
|
|
720
728
|
borderFocusError: string;
|
|
721
|
-
boxShadowHoverError:
|
|
729
|
+
boxShadowHoverError: string;
|
|
722
730
|
boxShadowActiveError: string;
|
|
723
731
|
boxShadowFocusError: string;
|
|
724
732
|
colorActiveError: string;
|
|
@@ -836,7 +844,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
836
844
|
borderHover: string;
|
|
837
845
|
borderActive: string;
|
|
838
846
|
borderFocus: string;
|
|
839
|
-
boxShadowHover:
|
|
847
|
+
boxShadowHover: string;
|
|
840
848
|
boxShadowActive: string;
|
|
841
849
|
boxShadowFocus: string;
|
|
842
850
|
caretColor: string;
|
|
@@ -847,7 +855,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
847
855
|
borderHoverWarning: string;
|
|
848
856
|
borderActiveWarning: string;
|
|
849
857
|
borderFocusWarning: string;
|
|
850
|
-
boxShadowHoverWarning:
|
|
858
|
+
boxShadowHoverWarning: string;
|
|
851
859
|
boxShadowActiveWarning: string;
|
|
852
860
|
boxShadowFocusWarning: string;
|
|
853
861
|
colorActiveWarning: string;
|
|
@@ -856,7 +864,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
856
864
|
borderHoverError: string;
|
|
857
865
|
borderActiveError: string;
|
|
858
866
|
borderFocusError: string;
|
|
859
|
-
boxShadowHoverError:
|
|
867
|
+
boxShadowHoverError: string;
|
|
860
868
|
boxShadowActiveError: string;
|
|
861
869
|
boxShadowFocusError: string;
|
|
862
870
|
colorActiveError: string;
|
|
@@ -974,7 +982,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
974
982
|
borderHover: string;
|
|
975
983
|
borderActive: string;
|
|
976
984
|
borderFocus: string;
|
|
977
|
-
boxShadowHover:
|
|
985
|
+
boxShadowHover: string;
|
|
978
986
|
boxShadowActive: string;
|
|
979
987
|
boxShadowFocus: string;
|
|
980
988
|
caretColor: string;
|
|
@@ -985,7 +993,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
985
993
|
borderHoverWarning: string;
|
|
986
994
|
borderActiveWarning: string;
|
|
987
995
|
borderFocusWarning: string;
|
|
988
|
-
boxShadowHoverWarning:
|
|
996
|
+
boxShadowHoverWarning: string;
|
|
989
997
|
boxShadowActiveWarning: string;
|
|
990
998
|
boxShadowFocusWarning: string;
|
|
991
999
|
colorActiveWarning: string;
|
|
@@ -994,7 +1002,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
994
1002
|
borderHoverError: string;
|
|
995
1003
|
borderActiveError: string;
|
|
996
1004
|
borderFocusError: string;
|
|
997
|
-
boxShadowHoverError:
|
|
1005
|
+
boxShadowHoverError: string;
|
|
998
1006
|
boxShadowActiveError: string;
|
|
999
1007
|
boxShadowFocusError: string;
|
|
1000
1008
|
colorActiveError: string;
|
|
@@ -1287,7 +1295,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1287
1295
|
borderHover: string;
|
|
1288
1296
|
borderActive: string;
|
|
1289
1297
|
borderFocus: string;
|
|
1290
|
-
boxShadowHover:
|
|
1298
|
+
boxShadowHover: string;
|
|
1291
1299
|
boxShadowActive: string;
|
|
1292
1300
|
boxShadowFocus: string;
|
|
1293
1301
|
caretColor: string;
|
|
@@ -1298,7 +1306,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1298
1306
|
borderHoverWarning: string;
|
|
1299
1307
|
borderActiveWarning: string;
|
|
1300
1308
|
borderFocusWarning: string;
|
|
1301
|
-
boxShadowHoverWarning:
|
|
1309
|
+
boxShadowHoverWarning: string;
|
|
1302
1310
|
boxShadowActiveWarning: string;
|
|
1303
1311
|
boxShadowFocusWarning: string;
|
|
1304
1312
|
colorActiveWarning: string;
|
|
@@ -1307,7 +1315,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1307
1315
|
borderHoverError: string;
|
|
1308
1316
|
borderActiveError: string;
|
|
1309
1317
|
borderFocusError: string;
|
|
1310
|
-
boxShadowHoverError:
|
|
1318
|
+
boxShadowHoverError: string;
|
|
1311
1319
|
boxShadowActiveError: string;
|
|
1312
1320
|
boxShadowFocusError: string;
|
|
1313
1321
|
colorActiveError: string;
|
|
@@ -1443,6 +1451,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1443
1451
|
readonly cascade: BooleanConstructor;
|
|
1444
1452
|
readonly checkable: BooleanConstructor;
|
|
1445
1453
|
readonly clearable: BooleanConstructor;
|
|
1454
|
+
readonly clearFilterAfterSelect: {
|
|
1455
|
+
readonly type: BooleanConstructor;
|
|
1456
|
+
readonly default: true;
|
|
1457
|
+
};
|
|
1446
1458
|
readonly consistentMenuWidth: {
|
|
1447
1459
|
readonly type: BooleanConstructor;
|
|
1448
1460
|
readonly default: true;
|
|
@@ -1581,7 +1593,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1581
1593
|
borderHover: string;
|
|
1582
1594
|
borderActive: string;
|
|
1583
1595
|
borderFocus: string;
|
|
1584
|
-
boxShadowHover:
|
|
1596
|
+
boxShadowHover: string;
|
|
1585
1597
|
boxShadowActive: string;
|
|
1586
1598
|
boxShadowFocus: string;
|
|
1587
1599
|
caretColor: string;
|
|
@@ -1592,7 +1604,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1592
1604
|
borderHoverWarning: string;
|
|
1593
1605
|
borderActiveWarning: string;
|
|
1594
1606
|
borderFocusWarning: string;
|
|
1595
|
-
boxShadowHoverWarning:
|
|
1607
|
+
boxShadowHoverWarning: string;
|
|
1596
1608
|
boxShadowActiveWarning: string;
|
|
1597
1609
|
boxShadowFocusWarning: string;
|
|
1598
1610
|
colorActiveWarning: string;
|
|
@@ -1601,7 +1613,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1601
1613
|
borderHoverError: string;
|
|
1602
1614
|
borderActiveError: string;
|
|
1603
1615
|
borderFocusError: string;
|
|
1604
|
-
boxShadowHoverError:
|
|
1616
|
+
boxShadowHoverError: string;
|
|
1605
1617
|
boxShadowActiveError: string;
|
|
1606
1618
|
boxShadowFocusError: string;
|
|
1607
1619
|
colorActiveError: string;
|
|
@@ -1719,7 +1731,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1719
1731
|
borderHover: string;
|
|
1720
1732
|
borderActive: string;
|
|
1721
1733
|
borderFocus: string;
|
|
1722
|
-
boxShadowHover:
|
|
1734
|
+
boxShadowHover: string;
|
|
1723
1735
|
boxShadowActive: string;
|
|
1724
1736
|
boxShadowFocus: string;
|
|
1725
1737
|
caretColor: string;
|
|
@@ -1730,7 +1742,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1730
1742
|
borderHoverWarning: string;
|
|
1731
1743
|
borderActiveWarning: string;
|
|
1732
1744
|
borderFocusWarning: string;
|
|
1733
|
-
boxShadowHoverWarning:
|
|
1745
|
+
boxShadowHoverWarning: string;
|
|
1734
1746
|
boxShadowActiveWarning: string;
|
|
1735
1747
|
boxShadowFocusWarning: string;
|
|
1736
1748
|
colorActiveWarning: string;
|
|
@@ -1739,7 +1751,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1739
1751
|
borderHoverError: string;
|
|
1740
1752
|
borderActiveError: string;
|
|
1741
1753
|
borderFocusError: string;
|
|
1742
|
-
boxShadowHoverError:
|
|
1754
|
+
boxShadowHoverError: string;
|
|
1743
1755
|
boxShadowActiveError: string;
|
|
1744
1756
|
boxShadowFocusError: string;
|
|
1745
1757
|
colorActiveError: string;
|
|
@@ -1857,7 +1869,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1857
1869
|
borderHover: string;
|
|
1858
1870
|
borderActive: string;
|
|
1859
1871
|
borderFocus: string;
|
|
1860
|
-
boxShadowHover:
|
|
1872
|
+
boxShadowHover: string;
|
|
1861
1873
|
boxShadowActive: string;
|
|
1862
1874
|
boxShadowFocus: string;
|
|
1863
1875
|
caretColor: string;
|
|
@@ -1868,7 +1880,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1868
1880
|
borderHoverWarning: string;
|
|
1869
1881
|
borderActiveWarning: string;
|
|
1870
1882
|
borderFocusWarning: string;
|
|
1871
|
-
boxShadowHoverWarning:
|
|
1883
|
+
boxShadowHoverWarning: string;
|
|
1872
1884
|
boxShadowActiveWarning: string;
|
|
1873
1885
|
boxShadowFocusWarning: string;
|
|
1874
1886
|
colorActiveWarning: string;
|
|
@@ -1877,7 +1889,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1877
1889
|
borderHoverError: string;
|
|
1878
1890
|
borderActiveError: string;
|
|
1879
1891
|
borderFocusError: string;
|
|
1880
|
-
boxShadowHoverError:
|
|
1892
|
+
boxShadowHoverError: string;
|
|
1881
1893
|
boxShadowActiveError: string;
|
|
1882
1894
|
boxShadowFocusError: string;
|
|
1883
1895
|
colorActiveError: string;
|
|
@@ -1921,6 +1933,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1921
1933
|
defaultShow: boolean;
|
|
1922
1934
|
filterable: boolean;
|
|
1923
1935
|
clearable: boolean;
|
|
1936
|
+
clearFilterAfterSelect: boolean;
|
|
1924
1937
|
defaultValue: string | number | (string | number)[] | null;
|
|
1925
1938
|
consistentMenuWidth: boolean;
|
|
1926
1939
|
cascade: boolean;
|
|
@@ -22,7 +22,10 @@ const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
|
|
|
22
22
|
const props = Object.assign(Object.assign(Object.assign(Object.assign({}, _mixins_1.useTheme.props), { bordered: {
|
|
23
23
|
type: Boolean,
|
|
24
24
|
default: true
|
|
25
|
-
}, cascade: Boolean, checkable: Boolean, clearable: Boolean,
|
|
25
|
+
}, cascade: Boolean, checkable: Boolean, clearable: Boolean, clearFilterAfterSelect: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: true
|
|
28
|
+
}, consistentMenuWidth: {
|
|
26
29
|
type: Boolean,
|
|
27
30
|
default: true
|
|
28
31
|
}, defaultShow: Boolean, defaultValue: {
|
|
@@ -322,7 +325,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
322
325
|
}
|
|
323
326
|
if (props.filterable) {
|
|
324
327
|
focusSelectionInput();
|
|
325
|
-
|
|
328
|
+
if (props.clearFilterAfterSelect)
|
|
329
|
+
patternRef.value = '';
|
|
326
330
|
}
|
|
327
331
|
}
|
|
328
332
|
function handleUpdateIndeterminateKeys(keys) {
|
|
@@ -99,7 +99,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
99
99
|
borderHover: string;
|
|
100
100
|
borderActive: string;
|
|
101
101
|
borderFocus: string;
|
|
102
|
-
boxShadowHover:
|
|
102
|
+
boxShadowHover: string;
|
|
103
103
|
boxShadowActive: string;
|
|
104
104
|
boxShadowFocus: string;
|
|
105
105
|
caretColor: string;
|
|
@@ -110,7 +110,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
110
110
|
borderHoverWarning: string;
|
|
111
111
|
borderActiveWarning: string;
|
|
112
112
|
borderFocusWarning: string;
|
|
113
|
-
boxShadowHoverWarning:
|
|
113
|
+
boxShadowHoverWarning: string;
|
|
114
114
|
boxShadowActiveWarning: string;
|
|
115
115
|
boxShadowFocusWarning: string;
|
|
116
116
|
colorActiveWarning: string;
|
|
@@ -119,7 +119,7 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
119
119
|
borderHoverError: string;
|
|
120
120
|
borderActiveError: string;
|
|
121
121
|
borderFocusError: string;
|
|
122
|
-
boxShadowHoverError:
|
|
122
|
+
boxShadowHoverError: string;
|
|
123
123
|
boxShadowActiveError: string;
|
|
124
124
|
boxShadowFocusError: string;
|
|
125
125
|
colorActiveError: string;
|
|
@@ -404,7 +404,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
404
404
|
cssVars: import("vue").ComputedRef<{
|
|
405
405
|
'--n-text-color': string;
|
|
406
406
|
'--n-bezier': string;
|
|
407
|
-
}
|
|
407
|
+
}> | undefined;
|
|
408
|
+
themeClass: import("vue").Ref<string> | undefined;
|
|
409
|
+
onRender: (() => void) | undefined;
|
|
408
410
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
409
411
|
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Typography", {
|
|
410
412
|
aTextColor: string;
|
package/lib/typography/src/a.js
CHANGED
|
@@ -12,20 +12,28 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
12
12
|
name: 'A',
|
|
13
13
|
props: aProps,
|
|
14
14
|
setup(props) {
|
|
15
|
-
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
15
|
+
const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
16
16
|
const themeRef = (0, _mixins_1.useTheme)('Typography', '-a', a_cssr_1.default, styles_1.typographyLight, props, mergedClsPrefixRef);
|
|
17
|
+
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
18
|
+
const { common: { cubicBezierEaseInOut }, self: { aTextColor } } = themeRef.value;
|
|
19
|
+
return {
|
|
20
|
+
'--n-text-color': aTextColor,
|
|
21
|
+
'--n-bezier': cubicBezierEaseInOut
|
|
22
|
+
};
|
|
23
|
+
});
|
|
24
|
+
const themeClassHandle = inlineThemeDisabled
|
|
25
|
+
? (0, _mixins_1.useThemeClass)('a', undefined, cssVarsRef, props)
|
|
26
|
+
: undefined;
|
|
17
27
|
return {
|
|
18
28
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
19
|
-
cssVars:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
'--n-text-color': aTextColor,
|
|
23
|
-
'--n-bezier': cubicBezierEaseInOut
|
|
24
|
-
};
|
|
25
|
-
})
|
|
29
|
+
cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
|
|
30
|
+
themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
|
|
31
|
+
onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
|
|
26
32
|
};
|
|
27
33
|
},
|
|
28
34
|
render() {
|
|
29
|
-
|
|
35
|
+
var _a;
|
|
36
|
+
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
37
|
+
return ((0, vue_1.h)("a", { class: [`${this.mergedClsPrefix}-a`, this.themeClass], style: this.cssVars }, this.$slots));
|
|
30
38
|
}
|
|
31
39
|
});
|
|
@@ -409,7 +409,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
409
409
|
'--n-line-height': string;
|
|
410
410
|
'--n-prefix-color': string;
|
|
411
411
|
'--n-text-color': string;
|
|
412
|
-
}
|
|
412
|
+
}> | undefined;
|
|
413
|
+
themeClass: import("vue").Ref<string> | undefined;
|
|
414
|
+
onRender: (() => void) | undefined;
|
|
413
415
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
414
416
|
readonly alignText: BooleanConstructor;
|
|
415
417
|
readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Typography", {
|