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
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const eo = {
|
|
4
|
+
name: 'eo',
|
|
5
|
+
global: {
|
|
6
|
+
undo: 'Malfari',
|
|
7
|
+
redo: 'Refari',
|
|
8
|
+
confirm: 'Konfirmi'
|
|
9
|
+
},
|
|
10
|
+
Popconfirm: {
|
|
11
|
+
positiveText: 'Konfirmi',
|
|
12
|
+
negativeText: 'Nuligi'
|
|
13
|
+
},
|
|
14
|
+
Cascader: {
|
|
15
|
+
placeholder: 'Bonvolu elekti',
|
|
16
|
+
loading: 'Ŝargiĝo',
|
|
17
|
+
loadingRequiredMessage: (label) => `Bonvolu ŝargi ĉiujn idojn de ${label} antaŭ ol elekti ĝin.`
|
|
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: 'Malplenigi',
|
|
33
|
+
now: 'Nun',
|
|
34
|
+
confirm: 'Konfirmi',
|
|
35
|
+
selectTime: 'Elekti tempon',
|
|
36
|
+
selectDate: 'Elekti daton',
|
|
37
|
+
datePlaceholder: 'Elekti daton',
|
|
38
|
+
datetimePlaceholder: 'Elekti daton kaj tempon',
|
|
39
|
+
monthPlaceholder: 'Elekti monaton',
|
|
40
|
+
yearPlaceholder: 'Elekti jaron',
|
|
41
|
+
quarterPlaceholder: 'Elekti jarkvaronon',
|
|
42
|
+
startDatePlaceholder: 'Komenca dato',
|
|
43
|
+
endDatePlaceholder: 'Fina dato',
|
|
44
|
+
startDatetimePlaceholder: 'Komencaj dato kaj tempo',
|
|
45
|
+
endDatetimePlaceholder: 'Finaj dato kaj tempo',
|
|
46
|
+
monthBeforeYear: true,
|
|
47
|
+
firstDayOfWeek: 0,
|
|
48
|
+
today: 'Hodiaŭ'
|
|
49
|
+
},
|
|
50
|
+
DataTable: {
|
|
51
|
+
checkTableAll: 'Elekti ĉiujn en la tabelo',
|
|
52
|
+
uncheckTableAll: 'Malelekti ĉiujn en la tabelo',
|
|
53
|
+
confirm: 'Konfirmi',
|
|
54
|
+
clear: 'Malplenigi'
|
|
55
|
+
},
|
|
56
|
+
Transfer: {
|
|
57
|
+
sourceTitle: 'Fonto',
|
|
58
|
+
targetTitle: 'Celo'
|
|
59
|
+
},
|
|
60
|
+
Empty: {
|
|
61
|
+
description: 'Neniu datumo'
|
|
62
|
+
},
|
|
63
|
+
Select: {
|
|
64
|
+
placeholder: 'Bonvolu elekti'
|
|
65
|
+
},
|
|
66
|
+
TimePicker: {
|
|
67
|
+
placeholder: 'Elekti tempon',
|
|
68
|
+
positiveText: 'Bone',
|
|
69
|
+
negativeText: 'Nuligi',
|
|
70
|
+
now: 'Nun'
|
|
71
|
+
},
|
|
72
|
+
Pagination: {
|
|
73
|
+
goto: 'Iri al',
|
|
74
|
+
selectionSuffix: 'paĝo'
|
|
75
|
+
},
|
|
76
|
+
DynamicTags: {
|
|
77
|
+
add: 'Aldoni'
|
|
78
|
+
},
|
|
79
|
+
Log: {
|
|
80
|
+
loading: 'Ŝargado'
|
|
81
|
+
},
|
|
82
|
+
Input: {
|
|
83
|
+
placeholder: 'Bonvolu entajpi'
|
|
84
|
+
},
|
|
85
|
+
InputNumber: {
|
|
86
|
+
placeholder: 'Bonvolu entajpi'
|
|
87
|
+
},
|
|
88
|
+
DynamicInput: {
|
|
89
|
+
create: 'Krei'
|
|
90
|
+
},
|
|
91
|
+
ThemeEditor: {
|
|
92
|
+
title: 'Etosredaktilo',
|
|
93
|
+
clearAllVars: 'Malplenigi ĉiujn variablojn',
|
|
94
|
+
clearSearch: 'Malplenigi serĉon',
|
|
95
|
+
filterCompName: 'Filtri nomojn de komponaĵoj',
|
|
96
|
+
filterVarName: 'Filtri nomojn de variabloj',
|
|
97
|
+
import: 'Importi',
|
|
98
|
+
export: 'Eksporti',
|
|
99
|
+
restore: 'Restarigi defaŭltajn valorojn'
|
|
100
|
+
},
|
|
101
|
+
Image: {
|
|
102
|
+
tipPrevious: 'Antaŭa bildo (←)',
|
|
103
|
+
tipNext: 'Sekva bildo (→)',
|
|
104
|
+
tipCounterclockwise: 'Maldekstrume',
|
|
105
|
+
tipClockwise: 'Dekstrume',
|
|
106
|
+
tipZoomOut: 'Malzomi',
|
|
107
|
+
tipZoomIn: 'Zomi',
|
|
108
|
+
tipClose: 'Fermi (Esc)'
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
exports.default = eo;
|
|
@@ -12,7 +12,7 @@ const esAR = {
|
|
|
12
12
|
negativeText: 'Cancelar'
|
|
13
13
|
},
|
|
14
14
|
Cascader: {
|
|
15
|
-
placeholder: 'Seleccionar por
|
|
15
|
+
placeholder: 'Seleccionar por favor',
|
|
16
16
|
loading: 'Cargando',
|
|
17
17
|
loadingRequiredMessage: (label) => `Por favor, cargue los descendientes de ${label} antes de marcarlo.`
|
|
18
18
|
},
|
|
@@ -62,7 +62,7 @@ const esAR = {
|
|
|
62
62
|
description: 'Sin datos'
|
|
63
63
|
},
|
|
64
64
|
Select: {
|
|
65
|
-
placeholder: 'Seleccionar por
|
|
65
|
+
placeholder: 'Seleccionar por favor'
|
|
66
66
|
},
|
|
67
67
|
TimePicker: {
|
|
68
68
|
placeholder: 'Seleccionar hora',
|
|
@@ -89,7 +89,7 @@ const frFR = {
|
|
|
89
89
|
create: 'Créer'
|
|
90
90
|
},
|
|
91
91
|
ThemeEditor: {
|
|
92
|
-
title: '
|
|
92
|
+
title: 'Éditeur de thème',
|
|
93
93
|
clearAllVars: 'Effacer toutes les variables',
|
|
94
94
|
clearSearch: 'Effacer la recherche',
|
|
95
95
|
filterCompName: 'Filtrer par nom de composant',
|
|
@@ -98,15 +98,14 @@ const frFR = {
|
|
|
98
98
|
export: 'Exporter',
|
|
99
99
|
restore: 'Réinitialiser'
|
|
100
100
|
},
|
|
101
|
-
// TODO: translation
|
|
102
101
|
Image: {
|
|
103
|
-
tipPrevious: '
|
|
104
|
-
tipNext: '
|
|
105
|
-
tipCounterclockwise: '
|
|
106
|
-
tipClockwise: '
|
|
107
|
-
tipZoomOut: '
|
|
108
|
-
tipZoomIn: '
|
|
109
|
-
tipClose: '
|
|
102
|
+
tipPrevious: 'Image précédente (←)',
|
|
103
|
+
tipNext: 'Image suivante (→)',
|
|
104
|
+
tipCounterclockwise: 'Sens antihoraire',
|
|
105
|
+
tipClockwise: 'Sens horaire',
|
|
106
|
+
tipZoomOut: 'Dézoomer',
|
|
107
|
+
tipZoomIn: 'Zoomer',
|
|
108
|
+
tipClose: 'Fermer (Échap.)'
|
|
110
109
|
}
|
|
111
110
|
};
|
|
112
111
|
exports.default = frFR;
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const plPL = {
|
|
4
|
+
name: 'pl-PL',
|
|
5
|
+
global: {
|
|
6
|
+
undo: 'Cofnij',
|
|
7
|
+
redo: 'Ponów',
|
|
8
|
+
confirm: 'Potwierdź'
|
|
9
|
+
},
|
|
10
|
+
Popconfirm: {
|
|
11
|
+
positiveText: 'Potwierdź',
|
|
12
|
+
negativeText: 'Anuluj'
|
|
13
|
+
},
|
|
14
|
+
Cascader: {
|
|
15
|
+
placeholder: 'Wybierz',
|
|
16
|
+
loading: 'Ładowanie',
|
|
17
|
+
loadingRequiredMessage: (label) => `Proszę załadować wszystkie ${label}'s elementy przed sprawdzeniem.`
|
|
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: 'Wyczyść',
|
|
33
|
+
now: 'Teraz',
|
|
34
|
+
confirm: 'Potwierdź',
|
|
35
|
+
selectTime: 'Wybierz czas',
|
|
36
|
+
selectDate: 'Wybierz datę',
|
|
37
|
+
datePlaceholder: 'Wybierz datę',
|
|
38
|
+
datetimePlaceholder: 'Wybierz datę i czas',
|
|
39
|
+
monthPlaceholder: 'Wybierz miesiąc',
|
|
40
|
+
yearPlaceholder: 'Wybierz rok',
|
|
41
|
+
quarterPlaceholder: 'Wybierz kwartał',
|
|
42
|
+
startDatePlaceholder: 'Data rozpoczęcia',
|
|
43
|
+
endDatePlaceholder: 'Data zakończenia',
|
|
44
|
+
startDatetimePlaceholder: 'Data i godzina rozpoczęcia',
|
|
45
|
+
endDatetimePlaceholder: 'Data i godzina zakończenia',
|
|
46
|
+
monthBeforeYear: true,
|
|
47
|
+
firstDayOfWeek: 6,
|
|
48
|
+
today: 'Dziś'
|
|
49
|
+
},
|
|
50
|
+
DataTable: {
|
|
51
|
+
checkTableAll: 'Zaznacz wszystkie w tabeli',
|
|
52
|
+
uncheckTableAll: 'Odznacz wszystkie w tabeli',
|
|
53
|
+
confirm: 'Potwierdź',
|
|
54
|
+
clear: 'Wyczyść'
|
|
55
|
+
},
|
|
56
|
+
Transfer: {
|
|
57
|
+
sourceTitle: 'Źródło',
|
|
58
|
+
targetTitle: 'Cel'
|
|
59
|
+
},
|
|
60
|
+
Empty: {
|
|
61
|
+
description: 'Brak danych'
|
|
62
|
+
},
|
|
63
|
+
Select: {
|
|
64
|
+
placeholder: 'Wybierz'
|
|
65
|
+
},
|
|
66
|
+
TimePicker: {
|
|
67
|
+
placeholder: 'Wybierz czas',
|
|
68
|
+
positiveText: 'Potwierdź',
|
|
69
|
+
negativeText: 'Anuluj',
|
|
70
|
+
now: 'Teraz'
|
|
71
|
+
},
|
|
72
|
+
Pagination: {
|
|
73
|
+
goto: 'Idź do',
|
|
74
|
+
selectionSuffix: 'strona'
|
|
75
|
+
},
|
|
76
|
+
DynamicTags: {
|
|
77
|
+
add: 'Dodaj'
|
|
78
|
+
},
|
|
79
|
+
Log: {
|
|
80
|
+
loading: 'Ładowanie'
|
|
81
|
+
},
|
|
82
|
+
Input: {
|
|
83
|
+
placeholder: 'Wprowadź dane'
|
|
84
|
+
},
|
|
85
|
+
InputNumber: {
|
|
86
|
+
placeholder: 'Wprowadź dane'
|
|
87
|
+
},
|
|
88
|
+
DynamicInput: {
|
|
89
|
+
create: 'Utwórz'
|
|
90
|
+
},
|
|
91
|
+
ThemeEditor: {
|
|
92
|
+
title: 'Edytor motywów',
|
|
93
|
+
clearAllVars: 'Wyczyść wszystkie zmienne',
|
|
94
|
+
clearSearch: 'Wyczyść wyszukiwanie',
|
|
95
|
+
filterCompName: 'Nazwa komponentu filtra',
|
|
96
|
+
filterVarName: 'Nazwa zmiennej filtra',
|
|
97
|
+
import: 'Importuj',
|
|
98
|
+
export: 'Eksportuj',
|
|
99
|
+
restore: 'Przywróć ustawienia domyślne'
|
|
100
|
+
},
|
|
101
|
+
Image: {
|
|
102
|
+
tipPrevious: 'Poprzednie zdjęcie (←)',
|
|
103
|
+
tipNext: 'Następne zdjęcie (→)',
|
|
104
|
+
tipCounterclockwise: 'Przeciwnie do ruchu wskazówek zegara',
|
|
105
|
+
tipClockwise: 'Zgodnie z ruchem wskazówek zegara',
|
|
106
|
+
tipZoomOut: 'Powiększ',
|
|
107
|
+
tipZoomIn: 'Pomniejsz',
|
|
108
|
+
tipClose: 'Zamknij (Esc)'
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
exports.default = plPL;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const skSK = {
|
|
4
|
+
name: 'sk-SK',
|
|
5
|
+
global: {
|
|
6
|
+
undo: 'Späť',
|
|
7
|
+
redo: 'Obnoviť',
|
|
8
|
+
confirm: 'Potvrdiť'
|
|
9
|
+
},
|
|
10
|
+
Popconfirm: {
|
|
11
|
+
positiveText: 'Potvrdiť',
|
|
12
|
+
negativeText: 'Zrušiť'
|
|
13
|
+
},
|
|
14
|
+
Cascader: {
|
|
15
|
+
placeholder: 'Prosím vyberte',
|
|
16
|
+
loading: 'Načítavanie',
|
|
17
|
+
loadingRequiredMessage: (label) => `Prosím načítajte všetkých ${label} potomkov pred kontrolou.`
|
|
18
|
+
},
|
|
19
|
+
Time: {
|
|
20
|
+
dateFormat: 'd-M-yyyy',
|
|
21
|
+
dateTimeFormat: 'd-M-yyyy HH:mm:ss'
|
|
22
|
+
},
|
|
23
|
+
DatePicker: {
|
|
24
|
+
yearFormat: 'yyyy',
|
|
25
|
+
monthFormat: 'MMM',
|
|
26
|
+
dayFormat: 'EEEE',
|
|
27
|
+
yearTypeFormat: 'yyyy',
|
|
28
|
+
monthTypeFormat: 'MMM-yyyy',
|
|
29
|
+
dateFormat: 'd-M-yyyy',
|
|
30
|
+
dateTimeFormat: 'd-M-yyyy HH:mm:ss',
|
|
31
|
+
quarterFormat: 'qqq-yyyy',
|
|
32
|
+
clear: 'Vyčistiť',
|
|
33
|
+
now: 'Teraz',
|
|
34
|
+
confirm: 'Potvrdiť',
|
|
35
|
+
selectTime: 'Vybrať čas',
|
|
36
|
+
selectDate: 'Vybrať dátum',
|
|
37
|
+
datePlaceholder: 'Vyberte čas',
|
|
38
|
+
datetimePlaceholder: 'Vyberte dátum a čas',
|
|
39
|
+
monthPlaceholder: 'Vyberte mesiac',
|
|
40
|
+
yearPlaceholder: 'Vyberte rok',
|
|
41
|
+
quarterPlaceholder: 'Vyberte štvrťrok',
|
|
42
|
+
startDatePlaceholder: 'Dátum začiatku',
|
|
43
|
+
endDatePlaceholder: 'Dátum ukončenia',
|
|
44
|
+
startDatetimePlaceholder: 'Dátum a čas začiatku',
|
|
45
|
+
endDatetimePlaceholder: 'Dátum a čas ukončenia ',
|
|
46
|
+
monthBeforeYear: true,
|
|
47
|
+
firstDayOfWeek: 6,
|
|
48
|
+
today: 'Dnes'
|
|
49
|
+
},
|
|
50
|
+
DataTable: {
|
|
51
|
+
checkTableAll: 'Vybrať všetko v tabuľke',
|
|
52
|
+
uncheckTableAll: 'Zrušiť výber všetkého v tabuľke ',
|
|
53
|
+
confirm: 'Potvrdiť',
|
|
54
|
+
clear: 'Vyčistiť'
|
|
55
|
+
},
|
|
56
|
+
Transfer: {
|
|
57
|
+
sourceTitle: 'Zdroj',
|
|
58
|
+
targetTitle: 'Cieľ'
|
|
59
|
+
},
|
|
60
|
+
Empty: {
|
|
61
|
+
description: 'Žiadne dáta'
|
|
62
|
+
},
|
|
63
|
+
Select: {
|
|
64
|
+
placeholder: 'Prosím vyberte'
|
|
65
|
+
},
|
|
66
|
+
TimePicker: {
|
|
67
|
+
placeholder: 'Vybrať čas',
|
|
68
|
+
positiveText: 'OK',
|
|
69
|
+
negativeText: 'Zrušiť',
|
|
70
|
+
now: 'Teraz'
|
|
71
|
+
},
|
|
72
|
+
Pagination: {
|
|
73
|
+
goto: 'Ísť',
|
|
74
|
+
selectionSuffix: 'Strana'
|
|
75
|
+
},
|
|
76
|
+
DynamicTags: {
|
|
77
|
+
add: 'Pridať'
|
|
78
|
+
},
|
|
79
|
+
Log: {
|
|
80
|
+
loading: 'Načítavanie'
|
|
81
|
+
},
|
|
82
|
+
Input: {
|
|
83
|
+
placeholder: 'Zadajte'
|
|
84
|
+
},
|
|
85
|
+
InputNumber: {
|
|
86
|
+
placeholder: 'Zadajte'
|
|
87
|
+
},
|
|
88
|
+
DynamicInput: {
|
|
89
|
+
create: 'Vytvoriť'
|
|
90
|
+
},
|
|
91
|
+
ThemeEditor: {
|
|
92
|
+
title: 'Editor tém',
|
|
93
|
+
clearAllVars: 'Vymazať všetky premenné',
|
|
94
|
+
clearSearch: 'Vymazať vyhľadávanie',
|
|
95
|
+
filterCompName: 'Názov komponentu filtra',
|
|
96
|
+
filterVarName: 'Názov premennej filtra',
|
|
97
|
+
import: 'Importovať',
|
|
98
|
+
export: 'Exportovať',
|
|
99
|
+
restore: 'Obnoviť pôvodné nastavenia'
|
|
100
|
+
},
|
|
101
|
+
// TODO: translation
|
|
102
|
+
Image: {
|
|
103
|
+
tipPrevious: 'Predchádzajúci obrázok (←)',
|
|
104
|
+
tipNext: 'Ďalší obrázok (→)',
|
|
105
|
+
tipCounterclockwise: 'Proti smeru hodinových ručičiek',
|
|
106
|
+
tipClockwise: 'V smere hodinových ručičiek',
|
|
107
|
+
tipZoomOut: 'Oddialiť',
|
|
108
|
+
tipZoomIn: 'Priblížiť',
|
|
109
|
+
tipClose: 'Zavrieť (Esc)'
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
exports.default = skSK;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const en_GB_1 = __importDefault(require("date-fns/locale/en-GB"));
|
|
7
|
+
const dateEnGB = {
|
|
8
|
+
name: 'en-GB',
|
|
9
|
+
locale: en_GB_1.default
|
|
10
|
+
};
|
|
11
|
+
exports.default = dateEnGB;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const eo_1 = __importDefault(require("date-fns/locale/eo"));
|
|
7
|
+
const dateEo = {
|
|
8
|
+
name: 'eo',
|
|
9
|
+
locale: eo_1.default
|
|
10
|
+
};
|
|
11
|
+
exports.default = dateEo;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const pl_1 = __importDefault(require("date-fns/locale/pl"));
|
|
7
|
+
const datePlPL = {
|
|
8
|
+
name: 'pl-PL',
|
|
9
|
+
locale: pl_1.default
|
|
10
|
+
};
|
|
11
|
+
exports.default = datePlPL;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const sk_1 = __importDefault(require("date-fns/locale/sk"));
|
|
7
|
+
const dateSkSK = {
|
|
8
|
+
name: 'sk-SK',
|
|
9
|
+
locale: sk_1.default
|
|
10
|
+
};
|
|
11
|
+
exports.default = dateSkSK;
|
package/lib/locales/index.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export { default as nbNO } from './common/nbNO';
|
|
|
10
10
|
export { default as frFR } from './common/frFR';
|
|
11
11
|
export { default as esAR } from './common/esAR';
|
|
12
12
|
export { default as itIT } from './common/itIT';
|
|
13
|
+
export { default as skSK } from './common/skSK';
|
|
14
|
+
export { default as enGB } from './common/enGB';
|
|
15
|
+
export { default as plPL } from './common/plPL';
|
|
16
|
+
export { default as eo } from './common/eo';
|
|
13
17
|
export { default as dateZhCN } from './date/zhCN';
|
|
14
18
|
export { default as dateZhTW } from './date/zhTW';
|
|
15
19
|
export { default as dateEnUS } from './date/enUS';
|
|
@@ -22,6 +26,10 @@ export { default as dateNbNO } from './date/nbNO';
|
|
|
22
26
|
export { default as dateFrFR } from './date/frFR';
|
|
23
27
|
export { default as dateEsAR } from './date/esAR';
|
|
24
28
|
export { default as dateItIT } from './date/itIT';
|
|
29
|
+
export { default as dateSkSK } from './date/skSK';
|
|
30
|
+
export { default as dateEnGB } from './date/enGB';
|
|
31
|
+
export { default as datePlPL } from './date/plPL';
|
|
32
|
+
export { default as dateEo } from './date/eo';
|
|
25
33
|
export type { NLocale } from './common/enUS';
|
|
26
34
|
export type { NDateLocale } from './date/enUS';
|
|
27
35
|
export type { NPartialLocale } from './utils/index';
|
package/lib/locales/index.js
CHANGED
|
@@ -3,7 +3,7 @@ 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.createLocale = exports.dateItIT = exports.dateEsAR = exports.dateFrFR = exports.dateNbNO = exports.dateDeDE = exports.dateIdID = exports.dateJaJP = exports.dateUkUA = exports.dateRuRU = exports.dateEnUS = exports.dateZhTW = exports.dateZhCN = exports.itIT = exports.esAR = exports.frFR = exports.nbNO = exports.deDE = exports.idID = exports.jaJP = exports.ukUA = exports.ruRU = exports.enUS = exports.zhTW = exports.zhCN = void 0;
|
|
6
|
+
exports.createLocale = exports.dateEo = exports.datePlPL = exports.dateEnGB = exports.dateSkSK = exports.dateItIT = exports.dateEsAR = exports.dateFrFR = exports.dateNbNO = exports.dateDeDE = exports.dateIdID = exports.dateJaJP = exports.dateUkUA = exports.dateRuRU = exports.dateEnUS = exports.dateZhTW = exports.dateZhCN = exports.eo = exports.plPL = exports.enGB = exports.skSK = exports.itIT = exports.esAR = exports.frFR = exports.nbNO = exports.deDE = exports.idID = exports.jaJP = exports.ukUA = exports.ruRU = exports.enUS = exports.zhTW = exports.zhCN = void 0;
|
|
7
7
|
var zhCN_1 = require("./common/zhCN");
|
|
8
8
|
Object.defineProperty(exports, "zhCN", { enumerable: true, get: function () { return __importDefault(zhCN_1).default; } });
|
|
9
9
|
var zhTW_1 = require("./common/zhTW");
|
|
@@ -28,6 +28,14 @@ var esAR_1 = require("./common/esAR");
|
|
|
28
28
|
Object.defineProperty(exports, "esAR", { enumerable: true, get: function () { return __importDefault(esAR_1).default; } });
|
|
29
29
|
var itIT_1 = require("./common/itIT");
|
|
30
30
|
Object.defineProperty(exports, "itIT", { enumerable: true, get: function () { return __importDefault(itIT_1).default; } });
|
|
31
|
+
var skSK_1 = require("./common/skSK");
|
|
32
|
+
Object.defineProperty(exports, "skSK", { enumerable: true, get: function () { return __importDefault(skSK_1).default; } });
|
|
33
|
+
var enGB_1 = require("./common/enGB");
|
|
34
|
+
Object.defineProperty(exports, "enGB", { enumerable: true, get: function () { return __importDefault(enGB_1).default; } });
|
|
35
|
+
var plPL_1 = require("./common/plPL");
|
|
36
|
+
Object.defineProperty(exports, "plPL", { enumerable: true, get: function () { return __importDefault(plPL_1).default; } });
|
|
37
|
+
var eo_1 = require("./common/eo");
|
|
38
|
+
Object.defineProperty(exports, "eo", { enumerable: true, get: function () { return __importDefault(eo_1).default; } });
|
|
31
39
|
var zhCN_2 = require("./date/zhCN");
|
|
32
40
|
Object.defineProperty(exports, "dateZhCN", { enumerable: true, get: function () { return __importDefault(zhCN_2).default; } });
|
|
33
41
|
var zhTW_2 = require("./date/zhTW");
|
|
@@ -52,5 +60,13 @@ var esAR_2 = require("./date/esAR");
|
|
|
52
60
|
Object.defineProperty(exports, "dateEsAR", { enumerable: true, get: function () { return __importDefault(esAR_2).default; } });
|
|
53
61
|
var itIT_2 = require("./date/itIT");
|
|
54
62
|
Object.defineProperty(exports, "dateItIT", { enumerable: true, get: function () { return __importDefault(itIT_2).default; } });
|
|
63
|
+
var skSK_2 = require("./date/skSK");
|
|
64
|
+
Object.defineProperty(exports, "dateSkSK", { enumerable: true, get: function () { return __importDefault(skSK_2).default; } });
|
|
65
|
+
var enGB_2 = require("./date/enGB");
|
|
66
|
+
Object.defineProperty(exports, "dateEnGB", { enumerable: true, get: function () { return __importDefault(enGB_2).default; } });
|
|
67
|
+
var plPL_2 = require("./date/plPL");
|
|
68
|
+
Object.defineProperty(exports, "datePlPL", { enumerable: true, get: function () { return __importDefault(plPL_2).default; } });
|
|
69
|
+
var eo_2 = require("./date/eo");
|
|
70
|
+
Object.defineProperty(exports, "dateEo", { enumerable: true, get: function () { return __importDefault(eo_2).default; } });
|
|
55
71
|
var index_1 = require("./utils/index");
|
|
56
72
|
Object.defineProperty(exports, "createLocale", { enumerable: true, get: function () { return index_1.createLocale; } });
|
package/lib/log/src/Log.d.ts
CHANGED
|
@@ -249,6 +249,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
249
249
|
containerScrollTop: number;
|
|
250
250
|
syncUnifiedContainer: () => void;
|
|
251
251
|
scrollTo: import("../../_internal/scrollbar/src/ScrollBar").ScrollTo;
|
|
252
|
+
scrollBy: import("../../_internal/scrollbar/src/ScrollBar").ScrollBy;
|
|
252
253
|
sync: () => void;
|
|
253
254
|
handleMouseEnterWrapper: () => void;
|
|
254
255
|
handleMouseLeaveWrapper: () => void;
|
|
@@ -410,7 +411,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
410
411
|
'--n-loader-color': string;
|
|
411
412
|
'--n-loader-text-color': string;
|
|
412
413
|
'--n-loading-color': string;
|
|
413
|
-
}
|
|
414
|
+
}> | undefined;
|
|
415
|
+
themeClass: Ref<string> | undefined;
|
|
416
|
+
onRender: (() => void) | undefined;
|
|
414
417
|
scrollTo: ((options: {
|
|
415
418
|
slient?: boolean | undefined;
|
|
416
419
|
position: "bottom" | "top";
|
package/lib/log/src/Log.js
CHANGED
|
@@ -37,7 +37,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
37
37
|
name: 'Log',
|
|
38
38
|
props: logProps,
|
|
39
39
|
setup(props) {
|
|
40
|
-
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
40
|
+
const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
|
|
41
41
|
const slientRef = (0, vue_1.ref)(false);
|
|
42
42
|
const highlightRef = (0, vue_1.computed)(() => {
|
|
43
43
|
return props.language !== undefined;
|
|
@@ -152,25 +152,30 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
152
152
|
const exportedMethods = {
|
|
153
153
|
scrollTo
|
|
154
154
|
};
|
|
155
|
+
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
156
|
+
const { self: { loaderFontSize, loaderTextColor, loaderColor, loaderBorder, loadingColor }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
157
|
+
return {
|
|
158
|
+
'--n-bezier': cubicBezierEaseInOut,
|
|
159
|
+
'--n-loader-font-size': loaderFontSize,
|
|
160
|
+
'--n-loader-border': loaderBorder,
|
|
161
|
+
'--n-loader-color': loaderColor,
|
|
162
|
+
'--n-loader-text-color': loaderTextColor,
|
|
163
|
+
'--n-loading-color': loadingColor
|
|
164
|
+
};
|
|
165
|
+
});
|
|
166
|
+
const themeClassHandle = inlineThemeDisabled
|
|
167
|
+
? (0, _mixins_1.useThemeClass)('log', undefined, cssVarsRef, props)
|
|
168
|
+
: undefined;
|
|
155
169
|
return Object.assign(Object.assign({}, exportedMethods), { mergedClsPrefix: mergedClsPrefixRef, scrollbarRef, mergedTheme: themeRef, styleHeight: styleHeightRef, mergedLines: mergedLinesRef, scrollToTop,
|
|
156
170
|
scrollToBottom,
|
|
157
171
|
handleWheel,
|
|
158
|
-
handleScroll, cssVars:
|
|
159
|
-
const { self: { loaderFontSize, loaderTextColor, loaderColor, loaderBorder, loadingColor }, common: { cubicBezierEaseInOut } } = themeRef.value;
|
|
160
|
-
return {
|
|
161
|
-
'--n-bezier': cubicBezierEaseInOut,
|
|
162
|
-
'--n-loader-font-size': loaderFontSize,
|
|
163
|
-
'--n-loader-border': loaderBorder,
|
|
164
|
-
'--n-loader-color': loaderColor,
|
|
165
|
-
'--n-loader-text-color': loaderTextColor,
|
|
166
|
-
'--n-loading-color': loadingColor
|
|
167
|
-
};
|
|
168
|
-
}) });
|
|
172
|
+
handleScroll, cssVars: inlineThemeDisabled ? undefined : cssVarsRef, themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass, onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender });
|
|
169
173
|
},
|
|
170
174
|
render() {
|
|
171
|
-
const { mergedClsPrefix, mergedTheme } = this;
|
|
175
|
+
const { mergedClsPrefix, mergedTheme, onRender } = this;
|
|
176
|
+
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
172
177
|
return (0, vue_1.h)('div', {
|
|
173
|
-
class: `${mergedClsPrefix}-log`,
|
|
178
|
+
class: [`${mergedClsPrefix}-log`, this.themeClass],
|
|
174
179
|
style: [
|
|
175
180
|
{
|
|
176
181
|
lineHeight: this.lineHeight,
|
package/lib/mention/index.d.ts
CHANGED
|
@@ -1515,8 +1515,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1515
1515
|
placeholder: string;
|
|
1516
1516
|
to: string | boolean | HTMLElement;
|
|
1517
1517
|
options: MentionOption[];
|
|
1518
|
-
bordered: boolean | undefined;
|
|
1519
1518
|
loading: boolean;
|
|
1519
|
+
bordered: boolean | undefined;
|
|
1520
1520
|
placement: FollowerPlacement;
|
|
1521
1521
|
defaultValue: string;
|
|
1522
1522
|
internalDebug: boolean;
|
package/lib/menu/src/Menu.d.ts
CHANGED
|
@@ -745,7 +745,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
745
745
|
};
|
|
746
746
|
}>;
|
|
747
747
|
mergedCollapsed: import("vue").ComputedRef<boolean>;
|
|
748
|
-
cssVars: import("vue").ComputedRef<any
|
|
748
|
+
cssVars: import("vue").ComputedRef<any> | undefined;
|
|
749
|
+
themeClass: import("vue").Ref<string> | undefined;
|
|
750
|
+
onRender: (() => void) | undefined;
|
|
749
751
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
750
752
|
readonly options: {
|
|
751
753
|
readonly type: PropType<MenuMixedOption[]>;
|
|
@@ -1019,8 +1021,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1019
1021
|
mode: "horizontal" | "vertical";
|
|
1020
1022
|
disabled: boolean;
|
|
1021
1023
|
options: MenuMixedOption[];
|
|
1022
|
-
keyField: string;
|
|
1023
1024
|
iconSize: number;
|
|
1025
|
+
keyField: string;
|
|
1024
1026
|
defaultValue: Key | null;
|
|
1025
1027
|
indent: number;
|
|
1026
1028
|
labelField: string;
|