naive-ui 2.25.0 → 2.25.3
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.js +2 -2
- 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/locales/common/deDE.js +13 -15
- package/es/locales/common/enGB.d.ts +109 -0
- package/es/locales/common/enGB.js +109 -0
- package/es/locales/common/eo.d.ts +109 -0
- package/es/locales/common/eo.js +109 -0
- package/es/locales/common/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/enGB.d.ts +3 -0
- package/es/locales/date/enGB.js +6 -0
- package/es/locales/date/eo.d.ts +3 -0
- package/es/locales/date/eo.js +6 -0
- package/es/locales/date/plPL.d.ts +3 -0
- package/es/locales/date/plPL.js +6 -0
- package/es/locales/date/skSK.d.ts +3 -0
- package/es/locales/date/skSK.js +6 -0
- package/es/locales/index.d.ts +8 -0
- package/es/locales/index.js +8 -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 +1 -1
- 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 +77 -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.js +2 -2
- 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/locales/common/deDE.js +13 -15
- package/lib/locales/common/enGB.d.ts +109 -0
- package/lib/locales/common/enGB.js +111 -0
- package/lib/locales/common/eo.d.ts +109 -0
- package/lib/locales/common/eo.js +111 -0
- package/lib/locales/common/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/enGB.d.ts +3 -0
- package/lib/locales/date/enGB.js +11 -0
- package/lib/locales/date/eo.d.ts +3 -0
- package/lib/locales/date/eo.js +11 -0
- package/lib/locales/date/plPL.d.ts +3 -0
- package/lib/locales/date/plPL.js +11 -0
- package/lib/locales/date/skSK.d.ts +3 -0
- package/lib/locales/date/skSK.js +11 -0
- package/lib/locales/index.d.ts +8 -0
- package/lib/locales/index.js +17 -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 +1 -1
- 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 +77 -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
|
@@ -13,33 +13,42 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
13
13
|
name: 'LayoutFooter',
|
|
14
14
|
props: layoutFooterProps,
|
|
15
15
|
setup(props) {
|
|
16
|
-
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
16
|
+
const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
17
17
|
const themeRef = (0, _mixins_1.useTheme)('Layout', '-layout-footer', layout_footer_cssr_1.default, styles_1.layoutLight, props, mergedClsPrefixRef);
|
|
18
|
+
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
19
|
+
const { common: { cubicBezierEaseInOut }, self } = themeRef.value;
|
|
20
|
+
const vars = {
|
|
21
|
+
'--n-bezier': cubicBezierEaseInOut
|
|
22
|
+
};
|
|
23
|
+
if (props.inverted) {
|
|
24
|
+
vars['--n-color'] = self.footerColorInverted;
|
|
25
|
+
vars['--n-text-color'] = self.textColorInverted;
|
|
26
|
+
vars['--n-border-color'] = self.footerBorderColorInverted;
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
vars['--n-color'] = self.footerColor;
|
|
30
|
+
vars['--n-text-color'] = self.textColor;
|
|
31
|
+
vars['--n-border-color'] = self.footerBorderColor;
|
|
32
|
+
}
|
|
33
|
+
return vars;
|
|
34
|
+
});
|
|
35
|
+
const themeClassHandle = inlineThemeDisabled
|
|
36
|
+
? (0, _mixins_1.useThemeClass)('layout-footer', (0, vue_1.computed)(() => (props.inverted ? 'a' : 'b')), cssVarsRef, props)
|
|
37
|
+
: undefined;
|
|
18
38
|
return {
|
|
19
39
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
20
|
-
cssVars:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
'--n-bezier': cubicBezierEaseInOut
|
|
24
|
-
};
|
|
25
|
-
if (props.inverted) {
|
|
26
|
-
vars['--n-color'] = self.footerColorInverted;
|
|
27
|
-
vars['--n-text-color'] = self.textColorInverted;
|
|
28
|
-
vars['--n-border-color'] = self.footerBorderColorInverted;
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
vars['--n-color'] = self.footerColor;
|
|
32
|
-
vars['--n-text-color'] = self.textColor;
|
|
33
|
-
vars['--n-border-color'] = self.footerBorderColor;
|
|
34
|
-
}
|
|
35
|
-
return vars;
|
|
36
|
-
})
|
|
40
|
+
cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
|
|
41
|
+
themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
|
|
42
|
+
onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
|
|
37
43
|
};
|
|
38
44
|
},
|
|
39
45
|
render() {
|
|
46
|
+
var _a;
|
|
40
47
|
const { mergedClsPrefix } = this;
|
|
48
|
+
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
41
49
|
return ((0, vue_1.h)("div", { class: [
|
|
42
50
|
`${mergedClsPrefix}-layout-footer`,
|
|
51
|
+
this.themeClass,
|
|
43
52
|
this.position &&
|
|
44
53
|
`${mergedClsPrefix}-layout-footer--${this.position}-positioned`,
|
|
45
54
|
this.bordered && `${mergedClsPrefix}-layout-footer--bordered`
|
|
@@ -113,7 +113,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
113
113
|
}>>>;
|
|
114
114
|
}, {
|
|
115
115
|
mergedClsPrefix: import("vue").ComputedRef<string>;
|
|
116
|
-
cssVars: import("vue").ComputedRef<any
|
|
116
|
+
cssVars: import("vue").ComputedRef<any> | undefined;
|
|
117
|
+
themeClass: import("vue").Ref<string> | undefined;
|
|
118
|
+
onRender: (() => void) | undefined;
|
|
117
119
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
118
120
|
position: {
|
|
119
121
|
readonly type: import("vue").PropType<"static" | "absolute">;
|
|
@@ -20,33 +20,42 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
20
20
|
name: 'LayoutHeader',
|
|
21
21
|
props: Object.assign(Object.assign({}, _mixins_1.useTheme.props), headerProps),
|
|
22
22
|
setup(props) {
|
|
23
|
-
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
23
|
+
const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
24
24
|
const themeRef = (0, _mixins_1.useTheme)('Layout', '-layout-header', layout_header_cssr_1.default, styles_1.layoutLight, props, mergedClsPrefixRef);
|
|
25
|
+
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
26
|
+
const { common: { cubicBezierEaseInOut }, self } = themeRef.value;
|
|
27
|
+
const vars = {
|
|
28
|
+
'--n-bezier': cubicBezierEaseInOut
|
|
29
|
+
};
|
|
30
|
+
if (props.inverted) {
|
|
31
|
+
vars['--n-color'] = self.headerColorInverted;
|
|
32
|
+
vars['--n-text-color'] = self.textColorInverted;
|
|
33
|
+
vars['--n-border-color'] = self.headerBorderColorInverted;
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
vars['--n-color'] = self.headerColor;
|
|
37
|
+
vars['--n-text-color'] = self.textColor;
|
|
38
|
+
vars['--n-border-color'] = self.headerBorderColor;
|
|
39
|
+
}
|
|
40
|
+
return vars;
|
|
41
|
+
});
|
|
42
|
+
const themeClassHandle = inlineThemeDisabled
|
|
43
|
+
? (0, _mixins_1.useThemeClass)('layout-header', (0, vue_1.computed)(() => (props.inverted ? 'a' : 'b')), cssVarsRef, props)
|
|
44
|
+
: undefined;
|
|
25
45
|
return {
|
|
26
46
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
27
|
-
cssVars:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
'--n-bezier': cubicBezierEaseInOut
|
|
31
|
-
};
|
|
32
|
-
if (props.inverted) {
|
|
33
|
-
vars['--n-color'] = self.headerColorInverted;
|
|
34
|
-
vars['--n-text-color'] = self.textColorInverted;
|
|
35
|
-
vars['--n-border-color'] = self.headerBorderColorInverted;
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
vars['--n-color'] = self.headerColor;
|
|
39
|
-
vars['--n-text-color'] = self.textColor;
|
|
40
|
-
vars['--n-border-color'] = self.headerBorderColor;
|
|
41
|
-
}
|
|
42
|
-
return vars;
|
|
43
|
-
})
|
|
47
|
+
cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
|
|
48
|
+
themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
|
|
49
|
+
onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
|
|
44
50
|
};
|
|
45
51
|
},
|
|
46
52
|
render() {
|
|
53
|
+
var _a;
|
|
47
54
|
const { mergedClsPrefix } = this;
|
|
55
|
+
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
48
56
|
return ((0, vue_1.h)("div", { class: [
|
|
49
57
|
`${mergedClsPrefix}-layout-header`,
|
|
58
|
+
this.themeClass,
|
|
50
59
|
this.position &&
|
|
51
60
|
`${mergedClsPrefix}-layout-header--${this.position}-positioned`,
|
|
52
61
|
this.bordered && `${mergedClsPrefix}-layout-header--bordered`
|
|
@@ -206,6 +206,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
206
206
|
containerScrollTop: number;
|
|
207
207
|
syncUnifiedContainer: () => void;
|
|
208
208
|
scrollTo: import("../../_internal/scrollbar/src/ScrollBar").ScrollTo;
|
|
209
|
+
scrollBy: import("../../_internal/scrollbar/src/ScrollBar").ScrollBy;
|
|
209
210
|
sync: () => void;
|
|
210
211
|
handleMouseEnterWrapper: () => void;
|
|
211
212
|
handleMouseLeaveWrapper: () => void;
|
|
@@ -360,7 +361,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
360
361
|
siderPlacement: import("vue").ComputedRef<"left" | "right">;
|
|
361
362
|
handleTransitionend: (e: TransitionEvent) => void;
|
|
362
363
|
handleTriggerClick: () => void;
|
|
364
|
+
inlineThemeDisabled: boolean | undefined;
|
|
363
365
|
cssVars: import("vue").ComputedRef<any>;
|
|
366
|
+
themeClass: import("vue").Ref<string> | undefined;
|
|
367
|
+
onRender: (() => void) | undefined;
|
|
364
368
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
365
369
|
position: {
|
|
366
370
|
readonly type: PropType<"static" | "absolute">;
|
|
@@ -139,7 +139,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
139
139
|
collapsedRef: mergedCollapsedRef,
|
|
140
140
|
collapseModeRef: (0, vue_1.toRef)(props, 'collapseMode')
|
|
141
141
|
});
|
|
142
|
-
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
142
|
+
const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
143
143
|
const themeRef = (0, _mixins_1.useTheme)('Layout', '-layout-sider', layout_sider_cssr_1.default, styles_1.layoutLight, props, mergedClsPrefixRef);
|
|
144
144
|
function handleTransitionend(e) {
|
|
145
145
|
var _a, _b;
|
|
@@ -155,39 +155,47 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
155
155
|
const exposedMethods = {
|
|
156
156
|
scrollTo
|
|
157
157
|
};
|
|
158
|
+
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
159
|
+
const { common: { cubicBezierEaseInOut }, self } = themeRef.value;
|
|
160
|
+
const { siderToggleButtonColor, siderToggleButtonBorder, siderToggleBarColor, siderToggleBarColorHover } = self;
|
|
161
|
+
const vars = {
|
|
162
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
163
|
+
'--n-toggle-button-color': siderToggleButtonColor,
|
|
164
|
+
'--n-toggle-button-border': siderToggleButtonBorder,
|
|
165
|
+
'--n-toggle-bar-color': siderToggleBarColor,
|
|
166
|
+
'--n-toggle-bar-color-hover': siderToggleBarColorHover
|
|
167
|
+
};
|
|
168
|
+
if (props.inverted) {
|
|
169
|
+
vars['--n-color'] = self.siderColorInverted;
|
|
170
|
+
vars['--n-text-color'] = self.textColorInverted;
|
|
171
|
+
vars['--n-border-color'] = self.siderBorderColorInverted;
|
|
172
|
+
vars['--n-toggle-button-icon-color'] =
|
|
173
|
+
self.siderToggleButtonIconColorInverted;
|
|
174
|
+
vars.__invertScrollbar = self.__invertScrollbar;
|
|
175
|
+
}
|
|
176
|
+
else {
|
|
177
|
+
vars['--n-color'] = self.siderColor;
|
|
178
|
+
vars['--n-text-color'] = self.textColor;
|
|
179
|
+
vars['--n-border-color'] = self.siderBorderColor;
|
|
180
|
+
vars['--n-toggle-button-icon-color'] = self.siderToggleButtonIconColor;
|
|
181
|
+
}
|
|
182
|
+
return vars;
|
|
183
|
+
});
|
|
184
|
+
const themeClassHandle = inlineThemeDisabled
|
|
185
|
+
? (0, _mixins_1.useThemeClass)('layout-sider', (0, vue_1.computed)(() => (props.inverted ? 'a' : 'b')), cssVarsRef, props)
|
|
186
|
+
: undefined;
|
|
158
187
|
return Object.assign({ scrollableElRef,
|
|
159
188
|
scrollbarInstRef, mergedClsPrefix: mergedClsPrefixRef, mergedTheme: themeRef, styleMaxWidth: styleMaxWidthRef, mergedCollapsed: mergedCollapsedRef, scrollContainerStyle: scrollContainerStyleRef, siderPlacement: siderPlacementRef, handleTransitionend,
|
|
160
|
-
handleTriggerClick,
|
|
161
|
-
|
|
162
|
-
const { siderToggleButtonColor, siderToggleButtonBorder, siderToggleBarColor, siderToggleBarColorHover } = self;
|
|
163
|
-
const vars = {
|
|
164
|
-
'--n-bezier': cubicBezierEaseInOut,
|
|
165
|
-
'--n-toggle-button-color': siderToggleButtonColor,
|
|
166
|
-
'--n-toggle-button-border': siderToggleButtonBorder,
|
|
167
|
-
'--n-toggle-bar-color': siderToggleBarColor,
|
|
168
|
-
'--n-toggle-bar-color-hover': siderToggleBarColorHover
|
|
169
|
-
};
|
|
170
|
-
if (props.inverted) {
|
|
171
|
-
vars['--n-color'] = self.siderColorInverted;
|
|
172
|
-
vars['--n-text-color'] = self.textColorInverted;
|
|
173
|
-
vars['--n-border-color'] = self.siderBorderColorInverted;
|
|
174
|
-
vars['--n-toggle-button-icon-color'] =
|
|
175
|
-
self.siderToggleButtonIconColorInverted;
|
|
176
|
-
vars.__invertScrollbar = self.__invertScrollbar;
|
|
177
|
-
}
|
|
178
|
-
else {
|
|
179
|
-
vars['--n-color'] = self.siderColor;
|
|
180
|
-
vars['--n-text-color'] = self.textColor;
|
|
181
|
-
vars['--n-border-color'] = self.siderBorderColor;
|
|
182
|
-
vars['--n-toggle-button-icon-color'] = self.siderToggleButtonIconColor;
|
|
183
|
-
}
|
|
184
|
-
return vars;
|
|
185
|
-
}) }, exposedMethods);
|
|
189
|
+
handleTriggerClick,
|
|
190
|
+
inlineThemeDisabled, cssVars: cssVarsRef, themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender }, exposedMethods);
|
|
186
191
|
},
|
|
187
192
|
render() {
|
|
193
|
+
var _a;
|
|
188
194
|
const { mergedClsPrefix, mergedCollapsed, showTrigger } = this;
|
|
195
|
+
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
189
196
|
return ((0, vue_1.h)("aside", { class: [
|
|
190
197
|
`${mergedClsPrefix}-layout-sider`,
|
|
198
|
+
this.themeClass,
|
|
191
199
|
`${mergedClsPrefix}-layout-sider--${this.position}-positioned`,
|
|
192
200
|
`${mergedClsPrefix}-layout-sider--${this.siderPlacement}-placement`,
|
|
193
201
|
this.bordered && `${mergedClsPrefix}-layout-sider--bordered`,
|
|
@@ -195,7 +203,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
195
203
|
(!mergedCollapsed || this.showCollapsedContent) &&
|
|
196
204
|
`${mergedClsPrefix}-layout-sider--show-content`
|
|
197
205
|
], onTransitionend: this.handleTransitionend, style: [
|
|
198
|
-
this.cssVars,
|
|
206
|
+
this.inlineThemeDisabled ? undefined : this.cssVars,
|
|
199
207
|
{
|
|
200
208
|
maxWidth: this.styleMaxWidth,
|
|
201
209
|
width: (0, _utils_1.formatLength)(this.width)
|
|
@@ -17,8 +17,8 @@ const deDE = {
|
|
|
17
17
|
loadingRequiredMessage: (label) => `Bitte laden Sie alle Unterpunkte von ${label}, bevor Sie es auswählen.`
|
|
18
18
|
},
|
|
19
19
|
Time: {
|
|
20
|
-
dateFormat: 'dd
|
|
21
|
-
dateTimeFormat: 'dd
|
|
20
|
+
dateFormat: 'dd.MM.yyyy',
|
|
21
|
+
dateTimeFormat: 'dd.MM.yyyy HH:mm:ss'
|
|
22
22
|
},
|
|
23
23
|
DatePicker: {
|
|
24
24
|
yearFormat: 'yyyy',
|
|
@@ -26,8 +26,8 @@ const deDE = {
|
|
|
26
26
|
dayFormat: 'eeeeee',
|
|
27
27
|
yearTypeFormat: 'yyyy',
|
|
28
28
|
monthTypeFormat: 'MM-yyyy',
|
|
29
|
-
dateFormat: 'dd
|
|
30
|
-
dateTimeFormat: 'dd
|
|
29
|
+
dateFormat: 'dd.MM.yyyy',
|
|
30
|
+
dateTimeFormat: 'dd.MM.yyyy HH:mm:ss',
|
|
31
31
|
quarterFormat: 'yyyy-qqq',
|
|
32
32
|
clear: 'Löschen',
|
|
33
33
|
now: 'Jetzt',
|
|
@@ -37,9 +37,8 @@ const deDE = {
|
|
|
37
37
|
datePlaceholder: 'Datum auswählen',
|
|
38
38
|
datetimePlaceholder: 'Datum und Uhrzeit auswählen',
|
|
39
39
|
monthPlaceholder: 'Monat auswählen',
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
quarterPlaceholder: 'Select Quarter',
|
|
40
|
+
yearPlaceholder: 'Jahr auswählen',
|
|
41
|
+
quarterPlaceholder: 'Quartal auswählen',
|
|
43
42
|
startDatePlaceholder: 'Anfangsdatum',
|
|
44
43
|
endDatePlaceholder: 'Enddatum',
|
|
45
44
|
startDatetimePlaceholder: 'Anfangsdatum und Uhrzeit',
|
|
@@ -99,15 +98,14 @@ const deDE = {
|
|
|
99
98
|
export: 'Exportieren',
|
|
100
99
|
restore: 'Auf Standard zurücksetzen'
|
|
101
100
|
},
|
|
102
|
-
// TODO: translation
|
|
103
101
|
Image: {
|
|
104
|
-
tipPrevious: '
|
|
105
|
-
tipNext: '
|
|
106
|
-
tipCounterclockwise: '
|
|
107
|
-
tipClockwise: '
|
|
108
|
-
tipZoomOut: '
|
|
109
|
-
tipZoomIn: '
|
|
110
|
-
tipClose: '
|
|
102
|
+
tipPrevious: 'Vorheriges Bild (←)',
|
|
103
|
+
tipNext: 'Nächstes Bild (→)',
|
|
104
|
+
tipCounterclockwise: 'Gegen Uhrzeigersinn',
|
|
105
|
+
tipClockwise: 'Uhrzeigersinn',
|
|
106
|
+
tipZoomOut: 'Rauszoomen',
|
|
107
|
+
tipZoomIn: 'Reinzoomen',
|
|
108
|
+
tipClose: 'Schließen (Esc)'
|
|
111
109
|
}
|
|
112
110
|
};
|
|
113
111
|
exports.default = deDE;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
declare const enGB: {
|
|
2
|
+
name: string;
|
|
3
|
+
global: {
|
|
4
|
+
undo: string;
|
|
5
|
+
redo: string;
|
|
6
|
+
confirm: string;
|
|
7
|
+
};
|
|
8
|
+
Popconfirm: {
|
|
9
|
+
positiveText: string;
|
|
10
|
+
negativeText: string;
|
|
11
|
+
};
|
|
12
|
+
Cascader: {
|
|
13
|
+
placeholder: string;
|
|
14
|
+
loading: string;
|
|
15
|
+
loadingRequiredMessage: (label: string) => string;
|
|
16
|
+
};
|
|
17
|
+
Time: {
|
|
18
|
+
dateFormat: string;
|
|
19
|
+
dateTimeFormat: string;
|
|
20
|
+
};
|
|
21
|
+
DatePicker: {
|
|
22
|
+
yearFormat: string;
|
|
23
|
+
monthFormat: string;
|
|
24
|
+
dayFormat: string;
|
|
25
|
+
yearTypeFormat: string;
|
|
26
|
+
monthTypeFormat: string;
|
|
27
|
+
dateFormat: string;
|
|
28
|
+
dateTimeFormat: string;
|
|
29
|
+
quarterFormat: string;
|
|
30
|
+
clear: string;
|
|
31
|
+
now: string;
|
|
32
|
+
confirm: string;
|
|
33
|
+
selectTime: string;
|
|
34
|
+
selectDate: string;
|
|
35
|
+
datePlaceholder: string;
|
|
36
|
+
datetimePlaceholder: string;
|
|
37
|
+
monthPlaceholder: string;
|
|
38
|
+
yearPlaceholder: string;
|
|
39
|
+
quarterPlaceholder: string;
|
|
40
|
+
startDatePlaceholder: string;
|
|
41
|
+
endDatePlaceholder: string;
|
|
42
|
+
startDatetimePlaceholder: string;
|
|
43
|
+
endDatetimePlaceholder: string;
|
|
44
|
+
monthBeforeYear: boolean;
|
|
45
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 5 | 6;
|
|
46
|
+
today: string;
|
|
47
|
+
};
|
|
48
|
+
DataTable: {
|
|
49
|
+
checkTableAll: string;
|
|
50
|
+
uncheckTableAll: string;
|
|
51
|
+
confirm: string;
|
|
52
|
+
clear: string;
|
|
53
|
+
};
|
|
54
|
+
Transfer: {
|
|
55
|
+
sourceTitle: string;
|
|
56
|
+
targetTitle: string;
|
|
57
|
+
};
|
|
58
|
+
Empty: {
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
Select: {
|
|
62
|
+
placeholder: string;
|
|
63
|
+
};
|
|
64
|
+
TimePicker: {
|
|
65
|
+
placeholder: string;
|
|
66
|
+
positiveText: string;
|
|
67
|
+
negativeText: string;
|
|
68
|
+
now: string;
|
|
69
|
+
};
|
|
70
|
+
Pagination: {
|
|
71
|
+
goto: string;
|
|
72
|
+
selectionSuffix: string;
|
|
73
|
+
};
|
|
74
|
+
DynamicTags: {
|
|
75
|
+
add: string;
|
|
76
|
+
};
|
|
77
|
+
Log: {
|
|
78
|
+
loading: string;
|
|
79
|
+
};
|
|
80
|
+
Input: {
|
|
81
|
+
placeholder: string;
|
|
82
|
+
};
|
|
83
|
+
InputNumber: {
|
|
84
|
+
placeholder: string;
|
|
85
|
+
};
|
|
86
|
+
DynamicInput: {
|
|
87
|
+
create: string;
|
|
88
|
+
};
|
|
89
|
+
ThemeEditor: {
|
|
90
|
+
title: string;
|
|
91
|
+
clearAllVars: string;
|
|
92
|
+
clearSearch: string;
|
|
93
|
+
filterCompName: string;
|
|
94
|
+
filterVarName: string;
|
|
95
|
+
import: string;
|
|
96
|
+
export: string;
|
|
97
|
+
restore: string;
|
|
98
|
+
};
|
|
99
|
+
Image: {
|
|
100
|
+
tipPrevious: string;
|
|
101
|
+
tipNext: string;
|
|
102
|
+
tipCounterclockwise: string;
|
|
103
|
+
tipClockwise: string;
|
|
104
|
+
tipZoomOut: string;
|
|
105
|
+
tipZoomIn: string;
|
|
106
|
+
tipClose: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
export default enGB;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const enGB = {
|
|
4
|
+
name: 'en-GB',
|
|
5
|
+
global: {
|
|
6
|
+
undo: 'Undo',
|
|
7
|
+
redo: 'Redo',
|
|
8
|
+
confirm: 'Confirm'
|
|
9
|
+
},
|
|
10
|
+
Popconfirm: {
|
|
11
|
+
positiveText: 'Confirm',
|
|
12
|
+
negativeText: 'Cancel'
|
|
13
|
+
},
|
|
14
|
+
Cascader: {
|
|
15
|
+
placeholder: 'Please Select',
|
|
16
|
+
loading: 'Loading',
|
|
17
|
+
loadingRequiredMessage: (label) => `Please load all ${label}'s descendants before checking it.`
|
|
18
|
+
},
|
|
19
|
+
Time: {
|
|
20
|
+
dateFormat: 'yyyy/MM/dd',
|
|
21
|
+
dateTimeFormat: 'yyyy/MM/dd HH:mm:ss'
|
|
22
|
+
},
|
|
23
|
+
DatePicker: {
|
|
24
|
+
yearFormat: 'yyyy',
|
|
25
|
+
monthFormat: 'MMM',
|
|
26
|
+
dayFormat: 'eeeeee',
|
|
27
|
+
yearTypeFormat: 'yyyy',
|
|
28
|
+
monthTypeFormat: 'yyyy/MM',
|
|
29
|
+
dateFormat: 'yyyy/MM/dd',
|
|
30
|
+
dateTimeFormat: 'yyyy/MM/dd HH:mm:ss',
|
|
31
|
+
quarterFormat: 'yyyy-qqq',
|
|
32
|
+
clear: 'Clear',
|
|
33
|
+
now: 'Now',
|
|
34
|
+
confirm: 'Confirm',
|
|
35
|
+
selectTime: 'Select Time',
|
|
36
|
+
selectDate: 'Select Date',
|
|
37
|
+
datePlaceholder: 'Select Date',
|
|
38
|
+
datetimePlaceholder: 'Select Date and Time',
|
|
39
|
+
monthPlaceholder: 'Select Month',
|
|
40
|
+
yearPlaceholder: 'Select Year',
|
|
41
|
+
quarterPlaceholder: 'Select Quarter',
|
|
42
|
+
startDatePlaceholder: 'Start Date',
|
|
43
|
+
endDatePlaceholder: 'End Date',
|
|
44
|
+
startDatetimePlaceholder: 'Start Date and Time',
|
|
45
|
+
endDatetimePlaceholder: 'End Date and Time',
|
|
46
|
+
monthBeforeYear: true,
|
|
47
|
+
firstDayOfWeek: 0,
|
|
48
|
+
today: 'Today'
|
|
49
|
+
},
|
|
50
|
+
DataTable: {
|
|
51
|
+
checkTableAll: 'Select all in the table',
|
|
52
|
+
uncheckTableAll: 'Unselect all in the table',
|
|
53
|
+
confirm: 'Confirm',
|
|
54
|
+
clear: 'Clear'
|
|
55
|
+
},
|
|
56
|
+
Transfer: {
|
|
57
|
+
sourceTitle: 'Source',
|
|
58
|
+
targetTitle: 'Target'
|
|
59
|
+
},
|
|
60
|
+
Empty: {
|
|
61
|
+
description: 'No Data'
|
|
62
|
+
},
|
|
63
|
+
Select: {
|
|
64
|
+
placeholder: 'Please Select'
|
|
65
|
+
},
|
|
66
|
+
TimePicker: {
|
|
67
|
+
placeholder: 'Select Time',
|
|
68
|
+
positiveText: 'OK',
|
|
69
|
+
negativeText: 'Cancel',
|
|
70
|
+
now: 'Now'
|
|
71
|
+
},
|
|
72
|
+
Pagination: {
|
|
73
|
+
goto: 'Goto',
|
|
74
|
+
selectionSuffix: 'page'
|
|
75
|
+
},
|
|
76
|
+
DynamicTags: {
|
|
77
|
+
add: 'Add'
|
|
78
|
+
},
|
|
79
|
+
Log: {
|
|
80
|
+
loading: 'Loading'
|
|
81
|
+
},
|
|
82
|
+
Input: {
|
|
83
|
+
placeholder: 'Please Input'
|
|
84
|
+
},
|
|
85
|
+
InputNumber: {
|
|
86
|
+
placeholder: 'Please Input'
|
|
87
|
+
},
|
|
88
|
+
DynamicInput: {
|
|
89
|
+
create: 'Create'
|
|
90
|
+
},
|
|
91
|
+
ThemeEditor: {
|
|
92
|
+
title: 'Theme Editor',
|
|
93
|
+
clearAllVars: 'Clear All Variables',
|
|
94
|
+
clearSearch: 'Clear Search',
|
|
95
|
+
filterCompName: 'Filter Component Name',
|
|
96
|
+
filterVarName: 'Filter Variable Name',
|
|
97
|
+
import: 'Import',
|
|
98
|
+
export: 'Export',
|
|
99
|
+
restore: 'Reset to Default'
|
|
100
|
+
},
|
|
101
|
+
Image: {
|
|
102
|
+
tipPrevious: 'Previous picture (←)',
|
|
103
|
+
tipNext: 'Next picture (→)',
|
|
104
|
+
tipCounterclockwise: 'Counterclockwise',
|
|
105
|
+
tipClockwise: 'Clockwise',
|
|
106
|
+
tipZoomOut: 'Zoom out',
|
|
107
|
+
tipZoomIn: 'Zoom in',
|
|
108
|
+
tipClose: 'Close (Esc)'
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
exports.default = enGB;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
declare const eo: {
|
|
2
|
+
name: string;
|
|
3
|
+
global: {
|
|
4
|
+
undo: string;
|
|
5
|
+
redo: string;
|
|
6
|
+
confirm: string;
|
|
7
|
+
};
|
|
8
|
+
Popconfirm: {
|
|
9
|
+
positiveText: string;
|
|
10
|
+
negativeText: string;
|
|
11
|
+
};
|
|
12
|
+
Cascader: {
|
|
13
|
+
placeholder: string;
|
|
14
|
+
loading: string;
|
|
15
|
+
loadingRequiredMessage: (label: string) => string;
|
|
16
|
+
};
|
|
17
|
+
Time: {
|
|
18
|
+
dateFormat: string;
|
|
19
|
+
dateTimeFormat: string;
|
|
20
|
+
};
|
|
21
|
+
DatePicker: {
|
|
22
|
+
yearFormat: string;
|
|
23
|
+
monthFormat: string;
|
|
24
|
+
dayFormat: string;
|
|
25
|
+
yearTypeFormat: string;
|
|
26
|
+
monthTypeFormat: string;
|
|
27
|
+
dateFormat: string;
|
|
28
|
+
dateTimeFormat: string;
|
|
29
|
+
quarterFormat: string;
|
|
30
|
+
clear: string;
|
|
31
|
+
now: string;
|
|
32
|
+
confirm: string;
|
|
33
|
+
selectTime: string;
|
|
34
|
+
selectDate: string;
|
|
35
|
+
datePlaceholder: string;
|
|
36
|
+
datetimePlaceholder: string;
|
|
37
|
+
monthPlaceholder: string;
|
|
38
|
+
yearPlaceholder: string;
|
|
39
|
+
quarterPlaceholder: string;
|
|
40
|
+
startDatePlaceholder: string;
|
|
41
|
+
endDatePlaceholder: string;
|
|
42
|
+
startDatetimePlaceholder: string;
|
|
43
|
+
endDatetimePlaceholder: string;
|
|
44
|
+
monthBeforeYear: boolean;
|
|
45
|
+
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 5 | 6;
|
|
46
|
+
today: string;
|
|
47
|
+
};
|
|
48
|
+
DataTable: {
|
|
49
|
+
checkTableAll: string;
|
|
50
|
+
uncheckTableAll: string;
|
|
51
|
+
confirm: string;
|
|
52
|
+
clear: string;
|
|
53
|
+
};
|
|
54
|
+
Transfer: {
|
|
55
|
+
sourceTitle: string;
|
|
56
|
+
targetTitle: string;
|
|
57
|
+
};
|
|
58
|
+
Empty: {
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
Select: {
|
|
62
|
+
placeholder: string;
|
|
63
|
+
};
|
|
64
|
+
TimePicker: {
|
|
65
|
+
placeholder: string;
|
|
66
|
+
positiveText: string;
|
|
67
|
+
negativeText: string;
|
|
68
|
+
now: string;
|
|
69
|
+
};
|
|
70
|
+
Pagination: {
|
|
71
|
+
goto: string;
|
|
72
|
+
selectionSuffix: string;
|
|
73
|
+
};
|
|
74
|
+
DynamicTags: {
|
|
75
|
+
add: string;
|
|
76
|
+
};
|
|
77
|
+
Log: {
|
|
78
|
+
loading: string;
|
|
79
|
+
};
|
|
80
|
+
Input: {
|
|
81
|
+
placeholder: string;
|
|
82
|
+
};
|
|
83
|
+
InputNumber: {
|
|
84
|
+
placeholder: string;
|
|
85
|
+
};
|
|
86
|
+
DynamicInput: {
|
|
87
|
+
create: string;
|
|
88
|
+
};
|
|
89
|
+
ThemeEditor: {
|
|
90
|
+
title: string;
|
|
91
|
+
clearAllVars: string;
|
|
92
|
+
clearSearch: string;
|
|
93
|
+
filterCompName: string;
|
|
94
|
+
filterVarName: string;
|
|
95
|
+
import: string;
|
|
96
|
+
export: string;
|
|
97
|
+
restore: string;
|
|
98
|
+
};
|
|
99
|
+
Image: {
|
|
100
|
+
tipPrevious: string;
|
|
101
|
+
tipNext: string;
|
|
102
|
+
tipCounterclockwise: string;
|
|
103
|
+
tipClockwise: string;
|
|
104
|
+
tipZoomOut: string;
|
|
105
|
+
tipZoomIn: string;
|
|
106
|
+
tipClose: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
export default eo;
|