naive-ui 2.21.4 → 2.23.1
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/close/src/styles/index.cssr.js +6 -5
- package/es/_internal/scrollbar/src/ScrollBar.d.ts +4 -0
- package/es/_internal/scrollbar/src/ScrollBar.js +5 -2
- package/es/_internal/selection/src/Selection.js +11 -9
- package/es/_internal/selection/src/styles/index.cssr.js +6 -2
- package/es/_utils/composable/use-houdini.js +10 -7
- package/es/alert/src/Alert.d.ts +20 -20
- package/es/alert/src/Alert.js +22 -22
- package/es/alert/src/styles/index.cssr.js +45 -45
- package/es/anchor/src/AnchorAdapter.js +12 -12
- package/es/anchor/src/styles/index.cssr.js +41 -41
- package/es/auto-complete/src/AutoComplete.d.ts +2 -2
- package/es/auto-complete/src/AutoComplete.js +2 -2
- package/es/auto-complete/src/styles/index.cssr.js +4 -4
- package/es/avatar/src/Avatar.d.ts +10 -8
- package/es/avatar/src/Avatar.js +11 -9
- package/es/avatar/src/styles/index.cssr.js +14 -16
- package/es/back-top/src/BackTop.d.ts +13 -13
- package/es/back-top/src/BackTop.js +13 -13
- package/es/back-top/src/styles/index.cssr.js +29 -29
- package/es/badge/src/Badge.d.ts +6 -6
- package/es/badge/src/Badge.js +6 -6
- package/es/badge/src/styles/index.cssr.js +15 -15
- package/es/button/src/Button.d.ts +43 -38
- package/es/button/src/Button.js +124 -116
- package/es/button/src/styles/button.cssr.js +83 -80
- package/es/button/styles/light.js +1 -1
- package/es/calendar/src/Calendar.d.ts +6 -0
- package/es/cascader/src/Cascader.d.ts +135 -0
- package/es/cascader/src/Cascader.js +2 -4
- package/es/cascader/src/CascaderMenu.d.ts +345 -0
- package/es/cascader/src/CascaderMenu.js +6 -5
- package/es/cascader/src/CascaderOption.d.ts +18 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +18 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +18 -0
- package/es/cascader/styles/dark.js +3 -1
- package/es/cascader/styles/light.d.ts +13 -0
- package/es/cascader/styles/light.js +3 -1
- package/es/config-provider/src/ConfigProvider.d.ts +18 -0
- package/es/data-table/src/DataTable.js +7 -13
- package/es/data-table/src/MainTable.js +2 -3
- package/es/data-table/src/TableParts/Body.d.ts +15 -4
- package/es/data-table/src/TableParts/Body.js +80 -28
- package/es/data-table/src/TableParts/Cell.js +2 -3
- package/es/data-table/src/TableParts/Header.js +2 -2
- package/es/data-table/src/interface.d.ts +4 -1
- package/es/data-table/src/styles/index.cssr.js +4 -3
- package/es/data-table/src/use-check.js +6 -2
- package/es/data-table/src/use-scroll.d.ts +2 -0
- package/es/data-table/src/use-scroll.js +34 -4
- package/es/data-table/src/use-table-data.js +3 -1
- package/es/data-table/styles/_common.js +1 -1
- package/es/date-picker/src/DatePicker.d.ts +30 -5
- package/es/date-picker/src/DatePicker.js +32 -9
- package/es/date-picker/src/config.d.ts +1 -9
- package/es/date-picker/src/config.js +0 -8
- package/es/date-picker/src/interface.d.ts +2 -1
- package/es/date-picker/src/panel/date.d.ts +17 -10
- package/es/date-picker/src/panel/date.js +2 -2
- package/es/date-picker/src/panel/daterange.d.ts +15 -9
- package/es/date-picker/src/panel/daterange.js +2 -2
- package/es/date-picker/src/panel/datetime.d.ts +17 -16
- package/es/date-picker/src/panel/datetime.js +2 -2
- package/es/date-picker/src/panel/datetimerange.d.ts +15 -9
- package/es/date-picker/src/panel/datetimerange.js +2 -2
- package/es/date-picker/src/panel/month.d.ts +21 -20
- package/es/date-picker/src/panel/month.js +23 -12
- package/es/date-picker/src/panel/use-calendar.d.ts +17 -39
- package/es/date-picker/src/panel/use-calendar.js +41 -23
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +13 -36
- package/es/date-picker/src/panel/use-dual-calendar.js +35 -21
- package/es/date-picker/src/panel/use-panel-common.d.ts +13 -32
- package/es/date-picker/src/panel/use-panel-common.js +4 -8
- package/es/date-picker/src/utils.d.ts +19 -3
- package/es/date-picker/src/utils.js +40 -5
- package/es/date-picker/styles/_common.d.ts +2 -0
- package/es/date-picker/styles/_common.js +3 -1
- package/es/date-picker/styles/light.d.ts +4 -0
- package/es/dialog/src/Dialog.d.ts +21 -21
- package/es/dialog/src/Dialog.js +23 -23
- package/es/dialog/src/styles/index.cssr.js +45 -45
- package/es/divider/src/Divider.d.ts +4 -4
- package/es/divider/src/Divider.js +4 -4
- package/es/divider/src/styles/index.cssr.js +12 -12
- package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.js +1 -1
- package/es/dynamic-tags/src/styles/index.cssr.js +1 -1
- package/es/form/src/Form.d.ts +27 -27
- package/es/form/src/FormItem.d.ts +27 -27
- package/es/form/src/FormItemCol.d.ts +27 -27
- package/es/form/src/FormItemGridItem.d.ts +27 -27
- package/es/form/src/FormItemRow.d.ts +27 -27
- package/es/form/styles/_common.d.ts +0 -3
- package/es/form/styles/_common.js +0 -3
- package/es/form/styles/light.d.ts +3 -3
- package/es/form/styles/light.js +2 -2
- package/es/image/src/Image.js +8 -12
- package/es/input/src/Input.js +2 -0
- package/es/input-number/src/InputNumber.js +2 -0
- package/es/input-number/src/utils.js +1 -1
- package/es/locales/common/deDE.js +6 -0
- package/es/locales/common/enUS.d.ts +6 -0
- package/es/locales/common/enUS.js +7 -1
- package/es/locales/common/frFR.d.ts +3 -0
- package/es/locales/common/frFR.js +101 -0
- package/es/locales/common/idID.d.ts +2 -94
- package/es/locales/common/idID.js +6 -0
- package/es/locales/common/jaJP.js +6 -0
- package/es/locales/common/nbNO.js +6 -0
- package/es/locales/common/ruRU.js +6 -0
- package/es/locales/common/ukUA.js +6 -0
- package/es/locales/common/zhCN.js +6 -0
- package/es/locales/common/zhTW.d.ts +3 -0
- package/es/locales/common/zhTW.js +100 -0
- package/es/locales/date/frFR.d.ts +3 -0
- package/es/locales/date/frFR.js +6 -0
- package/es/locales/date/idID.d.ts +1 -6
- package/es/locales/date/zhTW.d.ts +3 -0
- package/es/locales/date/zhTW.js +6 -0
- package/es/locales/index.d.ts +4 -0
- package/es/locales/index.js +4 -0
- package/es/log/src/Log.d.ts +6 -6
- package/es/log/src/Log.js +6 -6
- package/es/log/src/styles/index.cssr.js +16 -18
- package/es/page-header/src/PageHeader.js +3 -3
- package/es/page-header/src/styles/index.cssr.js +2 -4
- package/es/popover/src/Popover.js +4 -1
- package/es/popover/src/PopoverBody.js +3 -3
- package/es/popselect/src/Popselect.d.ts +2 -11
- package/es/popselect/src/Popselect.js +2 -2
- package/es/popselect/src/PopselectPanel.d.ts +3 -11
- package/es/popselect/src/PopselectPanel.js +17 -11
- package/es/radio/src/Radio.js +3 -3
- package/es/radio/src/RadioButton.js +4 -5
- package/es/radio/src/styles/radio-group.cssr.js +8 -4
- package/es/radio/src/styles/radio.cssr.js +8 -4
- package/es/radio/src/use-radio.d.ts +0 -3
- package/es/radio/src/use-radio.js +1 -26
- package/es/steps/src/Step.d.ts +12 -12
- package/es/steps/src/Step.js +12 -12
- package/es/steps/src/styles/index.cssr.js +46 -46
- package/es/switch/src/Switch.d.ts +19 -19
- package/es/switch/src/Switch.js +26 -19
- package/es/switch/src/styles/index.cssr.js +59 -57
- package/es/tabs/src/styles/index.cssr.js +1 -0
- package/es/tag/src/Tag.d.ts +26 -26
- package/es/tag/src/Tag.js +26 -26
- package/es/tag/src/styles/index.cssr.js +55 -55
- package/es/tag/src/styles/rtl.cssr.js +1 -1
- package/es/time-picker/src/TimePicker.d.ts +17 -17
- package/es/time-picker/src/TimePicker.js +17 -17
- package/es/time-picker/src/styles/index.cssr.js +47 -47
- package/es/timeline/src/TimelineItem.d.ts +12 -12
- package/es/timeline/src/TimelineItem.js +12 -12
- package/es/timeline/src/styles/index.cssr.js +44 -44
- package/es/transfer/src/styles/index.cssr.js +9 -4
- package/es/tree/src/Tree.d.ts +11 -11
- package/es/tree/src/Tree.js +11 -11
- package/es/tree/src/dnd.js +2 -2
- package/es/tree/src/styles/index.cssr.js +33 -33
- package/es/tree-select/src/TreeSelect.d.ts +43 -6
- package/es/tree-select/src/TreeSelect.js +29 -14
- package/es/tree-select/src/styles/index.cssr.js +20 -11
- package/es/tree-select/styles/light.d.ts +6 -0
- package/es/tree-select/styles/light.js +5 -2
- package/es/typography/src/a.d.ts +2 -2
- package/es/typography/src/a.js +2 -2
- package/es/typography/src/blockquote.d.ts +5 -5
- package/es/typography/src/blockquote.js +5 -5
- package/es/typography/src/create-header.d.ts +8 -8
- package/es/typography/src/create-header.js +8 -8
- package/es/typography/src/headers.d.ts +48 -48
- package/es/typography/src/hr.d.ts +2 -1
- package/es/typography/src/hr.js +3 -1
- package/es/typography/src/ol.d.ts +7 -7
- package/es/typography/src/ol.js +7 -7
- package/es/typography/src/p.d.ts +5 -5
- package/es/typography/src/p.js +5 -5
- package/es/typography/src/styles/a.cssr.js +6 -6
- package/es/typography/src/styles/blockquote.cssr.js +11 -11
- package/es/typography/src/styles/header.cssr.js +19 -19
- package/es/typography/src/styles/hr.cssr.js +3 -3
- package/es/typography/src/styles/list.cssr.js +15 -15
- package/es/typography/src/styles/p.cssr.js +10 -10
- package/es/typography/src/styles/text.cssr.js +18 -18
- package/es/typography/src/text.d.ts +8 -7
- package/es/typography/src/text.js +9 -8
- package/es/typography/src/ul.d.ts +7 -7
- package/es/typography/src/ul.js +7 -7
- package/es/upload/src/Upload.js +16 -16
- package/es/upload/src/styles/index.cssr.js +36 -36
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/close/src/styles/index.cssr.js +6 -5
- package/lib/_internal/scrollbar/src/ScrollBar.d.ts +4 -0
- package/lib/_internal/scrollbar/src/ScrollBar.js +5 -2
- package/lib/_internal/selection/src/Selection.js +11 -9
- package/lib/_internal/selection/src/styles/index.cssr.js +6 -2
- package/lib/_utils/composable/use-houdini.js +10 -7
- package/lib/alert/src/Alert.d.ts +20 -20
- package/lib/alert/src/Alert.js +22 -22
- package/lib/alert/src/styles/index.cssr.js +45 -45
- package/lib/anchor/src/AnchorAdapter.js +12 -12
- package/lib/anchor/src/styles/index.cssr.js +41 -41
- package/lib/auto-complete/src/AutoComplete.d.ts +2 -2
- package/lib/auto-complete/src/AutoComplete.js +2 -2
- package/lib/auto-complete/src/styles/index.cssr.js +4 -4
- package/lib/avatar/src/Avatar.d.ts +10 -8
- package/lib/avatar/src/Avatar.js +11 -9
- package/lib/avatar/src/styles/index.cssr.js +14 -16
- package/lib/back-top/src/BackTop.d.ts +13 -13
- package/lib/back-top/src/BackTop.js +13 -13
- package/lib/back-top/src/styles/index.cssr.js +29 -29
- package/lib/badge/src/Badge.d.ts +6 -6
- package/lib/badge/src/Badge.js +6 -6
- package/lib/badge/src/styles/index.cssr.js +15 -15
- package/lib/button/src/Button.d.ts +43 -38
- package/lib/button/src/Button.js +123 -115
- package/lib/button/src/styles/button.cssr.js +83 -80
- package/lib/button/styles/light.js +1 -1
- package/lib/calendar/src/Calendar.d.ts +6 -0
- package/lib/cascader/src/Cascader.d.ts +135 -0
- package/lib/cascader/src/Cascader.js +2 -4
- package/lib/cascader/src/CascaderMenu.d.ts +345 -0
- package/lib/cascader/src/CascaderMenu.js +6 -5
- package/lib/cascader/src/CascaderOption.d.ts +18 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +18 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +18 -0
- package/lib/cascader/styles/dark.js +3 -1
- package/lib/cascader/styles/light.d.ts +13 -0
- package/lib/cascader/styles/light.js +3 -1
- package/lib/config-provider/src/ConfigProvider.d.ts +18 -0
- package/lib/data-table/src/DataTable.js +6 -12
- package/lib/data-table/src/MainTable.js +1 -2
- package/lib/data-table/src/TableParts/Body.d.ts +15 -4
- package/lib/data-table/src/TableParts/Body.js +78 -26
- package/lib/data-table/src/TableParts/Cell.js +2 -3
- package/lib/data-table/src/TableParts/Header.js +2 -2
- package/lib/data-table/src/interface.d.ts +4 -1
- package/lib/data-table/src/styles/index.cssr.js +4 -3
- package/lib/data-table/src/use-check.js +6 -2
- package/lib/data-table/src/use-scroll.d.ts +2 -0
- package/lib/data-table/src/use-scroll.js +34 -4
- package/lib/data-table/src/use-table-data.js +3 -1
- package/lib/data-table/styles/_common.js +1 -1
- package/lib/date-picker/src/DatePicker.d.ts +30 -5
- package/lib/date-picker/src/DatePicker.js +31 -8
- package/lib/date-picker/src/config.d.ts +1 -9
- package/lib/date-picker/src/config.js +1 -9
- package/lib/date-picker/src/interface.d.ts +2 -1
- package/lib/date-picker/src/panel/date.d.ts +17 -10
- package/lib/date-picker/src/panel/date.js +1 -1
- package/lib/date-picker/src/panel/daterange.d.ts +15 -9
- package/lib/date-picker/src/panel/daterange.js +1 -1
- package/lib/date-picker/src/panel/datetime.d.ts +17 -16
- package/lib/date-picker/src/panel/datetime.js +1 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +15 -9
- package/lib/date-picker/src/panel/datetimerange.js +2 -2
- package/lib/date-picker/src/panel/month.d.ts +21 -20
- package/lib/date-picker/src/panel/month.js +23 -12
- package/lib/date-picker/src/panel/use-calendar.d.ts +17 -39
- package/lib/date-picker/src/panel/use-calendar.js +40 -21
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +13 -36
- package/lib/date-picker/src/panel/use-dual-calendar.js +34 -19
- package/lib/date-picker/src/panel/use-panel-common.d.ts +13 -32
- package/lib/date-picker/src/panel/use-panel-common.js +5 -8
- package/lib/date-picker/src/utils.d.ts +19 -3
- package/lib/date-picker/src/utils.js +41 -4
- package/lib/date-picker/styles/_common.d.ts +2 -0
- package/lib/date-picker/styles/_common.js +3 -1
- package/lib/date-picker/styles/light.d.ts +4 -0
- package/lib/dialog/src/Dialog.d.ts +21 -21
- package/lib/dialog/src/Dialog.js +23 -23
- package/lib/dialog/src/styles/index.cssr.js +45 -45
- package/lib/divider/src/Divider.d.ts +4 -4
- package/lib/divider/src/Divider.js +4 -4
- package/lib/divider/src/styles/index.cssr.js +12 -12
- package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.js +1 -1
- package/lib/dynamic-tags/src/styles/index.cssr.js +1 -1
- package/lib/form/src/Form.d.ts +27 -27
- package/lib/form/src/FormItem.d.ts +27 -27
- package/lib/form/src/FormItemCol.d.ts +27 -27
- package/lib/form/src/FormItemGridItem.d.ts +27 -27
- package/lib/form/src/FormItemRow.d.ts +27 -27
- package/lib/form/styles/_common.d.ts +0 -3
- package/lib/form/styles/_common.js +0 -3
- package/lib/form/styles/light.d.ts +3 -3
- package/lib/form/styles/light.js +2 -2
- package/lib/image/src/Image.js +7 -11
- package/lib/input/src/Input.js +2 -0
- package/lib/input-number/src/InputNumber.js +2 -0
- package/lib/input-number/src/utils.js +1 -1
- package/lib/locales/common/deDE.js +6 -0
- package/lib/locales/common/enUS.d.ts +6 -0
- package/lib/locales/common/enUS.js +7 -1
- package/lib/locales/common/frFR.d.ts +3 -0
- package/lib/locales/common/frFR.js +103 -0
- package/lib/locales/common/idID.d.ts +2 -94
- package/lib/locales/common/idID.js +6 -0
- package/lib/locales/common/jaJP.js +6 -0
- package/lib/locales/common/nbNO.js +6 -0
- package/lib/locales/common/ruRU.js +6 -0
- package/lib/locales/common/ukUA.js +6 -0
- package/lib/locales/common/zhCN.js +6 -0
- package/lib/locales/common/zhTW.d.ts +3 -0
- package/lib/locales/common/zhTW.js +102 -0
- package/lib/locales/date/frFR.d.ts +3 -0
- package/lib/locales/date/frFR.js +11 -0
- package/lib/locales/date/idID.d.ts +1 -6
- package/lib/locales/date/zhTW.d.ts +3 -0
- package/lib/locales/date/zhTW.js +11 -0
- package/lib/locales/index.d.ts +4 -0
- package/lib/locales/index.js +9 -1
- package/lib/log/src/Log.d.ts +6 -6
- package/lib/log/src/Log.js +6 -6
- package/lib/log/src/styles/index.cssr.js +16 -18
- package/lib/page-header/src/PageHeader.js +3 -3
- package/lib/page-header/src/styles/index.cssr.js +2 -4
- package/lib/popover/src/Popover.js +4 -1
- package/lib/popover/src/PopoverBody.js +3 -3
- package/lib/popselect/src/Popselect.d.ts +2 -11
- package/lib/popselect/src/Popselect.js +2 -2
- package/lib/popselect/src/PopselectPanel.d.ts +3 -11
- package/lib/popselect/src/PopselectPanel.js +16 -10
- package/lib/radio/src/Radio.js +3 -3
- package/lib/radio/src/RadioButton.js +4 -5
- package/lib/radio/src/styles/radio-group.cssr.js +8 -4
- package/lib/radio/src/styles/radio.cssr.js +8 -4
- package/lib/radio/src/use-radio.d.ts +0 -3
- package/lib/radio/src/use-radio.js +1 -26
- package/lib/steps/src/Step.d.ts +12 -12
- package/lib/steps/src/Step.js +12 -12
- package/lib/steps/src/styles/index.cssr.js +46 -46
- package/lib/switch/src/Switch.d.ts +19 -19
- package/lib/switch/src/Switch.js +26 -19
- package/lib/switch/src/styles/index.cssr.js +59 -57
- package/lib/tabs/src/styles/index.cssr.js +1 -0
- package/lib/tag/src/Tag.d.ts +26 -26
- package/lib/tag/src/Tag.js +26 -26
- package/lib/tag/src/styles/index.cssr.js +55 -55
- package/lib/tag/src/styles/rtl.cssr.js +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +17 -17
- package/lib/time-picker/src/TimePicker.js +17 -17
- package/lib/time-picker/src/styles/index.cssr.js +47 -47
- package/lib/timeline/src/TimelineItem.d.ts +12 -12
- package/lib/timeline/src/TimelineItem.js +12 -12
- package/lib/timeline/src/styles/index.cssr.js +44 -44
- package/lib/transfer/src/styles/index.cssr.js +9 -4
- package/lib/tree/src/Tree.d.ts +11 -11
- package/lib/tree/src/Tree.js +11 -11
- package/lib/tree/src/dnd.js +2 -2
- package/lib/tree/src/styles/index.cssr.js +33 -33
- package/lib/tree-select/src/TreeSelect.d.ts +43 -6
- package/lib/tree-select/src/TreeSelect.js +28 -13
- package/lib/tree-select/src/styles/index.cssr.js +20 -11
- package/lib/tree-select/styles/light.d.ts +6 -0
- package/lib/tree-select/styles/light.js +5 -2
- package/lib/typography/src/a.d.ts +2 -2
- package/lib/typography/src/a.js +2 -2
- package/lib/typography/src/blockquote.d.ts +5 -5
- package/lib/typography/src/blockquote.js +5 -5
- package/lib/typography/src/create-header.d.ts +8 -8
- package/lib/typography/src/create-header.js +8 -8
- package/lib/typography/src/headers.d.ts +48 -48
- package/lib/typography/src/hr.d.ts +2 -1
- package/lib/typography/src/hr.js +3 -1
- package/lib/typography/src/ol.d.ts +7 -7
- package/lib/typography/src/ol.js +7 -7
- package/lib/typography/src/p.d.ts +5 -5
- package/lib/typography/src/p.js +5 -5
- package/lib/typography/src/styles/a.cssr.js +6 -6
- package/lib/typography/src/styles/blockquote.cssr.js +11 -11
- package/lib/typography/src/styles/header.cssr.js +19 -19
- package/lib/typography/src/styles/hr.cssr.js +3 -3
- package/lib/typography/src/styles/list.cssr.js +15 -15
- package/lib/typography/src/styles/p.cssr.js +10 -10
- package/lib/typography/src/styles/text.cssr.js +18 -18
- package/lib/typography/src/text.d.ts +8 -7
- package/lib/typography/src/text.js +9 -8
- package/lib/typography/src/ul.d.ts +7 -7
- package/lib/typography/src/ul.js +7 -7
- package/lib/upload/src/Upload.js +16 -16
- package/lib/upload/src/styles/index.cssr.js +36 -36
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +29 -28
- package/web-types.json +25 -7
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = {
|
|
4
|
-
blankHeightSmall: '28px',
|
|
5
|
-
blankHeightMedium: '34px',
|
|
6
|
-
blankHeightLarge: '40px',
|
|
7
4
|
feedbackPadding: '4px 0 0 2px',
|
|
8
5
|
feedbackHeightSmall: '24px',
|
|
9
6
|
feedbackHeightMedium: '24px',
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { ThemeCommonVars } from '../../_styles/common';
|
|
2
2
|
import type { Theme } from '../../_mixins';
|
|
3
3
|
export declare const self: (vars: ThemeCommonVars) => {
|
|
4
|
+
blankHeightSmall: string;
|
|
5
|
+
blankHeightMedium: string;
|
|
6
|
+
blankHeightLarge: string;
|
|
4
7
|
lineHeight: string;
|
|
5
8
|
labelTextColor: string;
|
|
6
9
|
asteriskColor: string;
|
|
7
10
|
feedbackTextColorError: string;
|
|
8
11
|
feedbackTextColorWarning: string;
|
|
9
12
|
feedbackTextColor: string;
|
|
10
|
-
blankHeightSmall: string;
|
|
11
|
-
blankHeightMedium: string;
|
|
12
|
-
blankHeightLarge: string;
|
|
13
13
|
feedbackPadding: string;
|
|
14
14
|
feedbackHeightSmall: string;
|
|
15
15
|
feedbackHeightMedium: string;
|
package/lib/form/styles/light.js
CHANGED
|
@@ -7,8 +7,8 @@ exports.self = void 0;
|
|
|
7
7
|
const common_1 = require("../../_styles/common");
|
|
8
8
|
const _common_1 = __importDefault(require("./_common"));
|
|
9
9
|
const self = (vars) => {
|
|
10
|
-
const { textColor1, errorColor, warningColor, lineHeight, textColor3 } = vars;
|
|
11
|
-
return Object.assign(Object.assign({}, _common_1.default), { lineHeight, labelTextColor: textColor1, asteriskColor: errorColor, feedbackTextColorError: errorColor, feedbackTextColorWarning: warningColor, feedbackTextColor: textColor3 });
|
|
10
|
+
const { heightSmall, heightMedium, heightLarge, textColor1, errorColor, warningColor, lineHeight, textColor3 } = vars;
|
|
11
|
+
return Object.assign(Object.assign({}, _common_1.default), { blankHeightSmall: heightSmall, blankHeightMedium: heightMedium, blankHeightLarge: heightLarge, lineHeight, labelTextColor: textColor1, asteriskColor: errorColor, feedbackTextColorError: errorColor, feedbackTextColorWarning: warningColor, feedbackTextColor: textColor3 });
|
|
12
12
|
};
|
|
13
13
|
exports.self = self;
|
|
14
14
|
const formLight = {
|
package/lib/image/src/Image.js
CHANGED
|
@@ -74,19 +74,15 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
74
74
|
} }, exposedMethods);
|
|
75
75
|
},
|
|
76
76
|
render() {
|
|
77
|
-
const { mergedClsPrefix, imgProps = {} } = this;
|
|
78
|
-
const
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
const { mergedClsPrefix, imgProps = {}, $attrs } = this;
|
|
78
|
+
const imgNode = ((0, vue_1.h)("img", Object.assign({}, imgProps, { class: [this.groupId, imgProps.class], ref: "imageRef", width: this.width || imgProps.width, height: this.height || imgProps.height, src: this.showError ? this.fallbackSrc : this.src || imgProps.src, alt: this.alt || imgProps.alt, "aria-label": this.alt || imgProps.alt, onClick: this.click, onError: this.mergedOnError, onLoad: this.mergedOnLoad, style: [imgProps.style || '', { objectFit: this.objectFit }], "data-error": this.showError, "data-preview-src": this.previewSrc || this.src })));
|
|
79
|
+
return ((0, vue_1.h)("div", Object.assign({}, $attrs, { role: "none", class: [
|
|
80
|
+
$attrs.class,
|
|
81
81
|
`${mergedClsPrefix}-image`,
|
|
82
82
|
(this.previewDisabled || this.showError) &&
|
|
83
83
|
`${mergedClsPrefix}-image--preview-disabled`
|
|
84
|
-
]
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
]);
|
|
88
|
-
return this.groupId ? (imgWrapperNode) : ((0, vue_1.h)(ImagePreview_1.default, { clsPrefix: mergedClsPrefix, ref: "previewInstRef", showToolbar: this.showToolbar }, {
|
|
89
|
-
default: () => imgWrapperNode
|
|
90
|
-
}));
|
|
84
|
+
] }), this.groupId ? (imgNode) : ((0, vue_1.h)(ImagePreview_1.default, { clsPrefix: mergedClsPrefix, ref: "previewInstRef", showToolbar: this.showToolbar }, {
|
|
85
|
+
default: () => imgNode
|
|
86
|
+
}))));
|
|
91
87
|
}
|
|
92
88
|
});
|
package/lib/input/src/Input.js
CHANGED
|
@@ -395,9 +395,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
395
395
|
doClear(e);
|
|
396
396
|
if (props.pair) {
|
|
397
397
|
doUpdateValue(['', '']);
|
|
398
|
+
doChange(['', '']);
|
|
398
399
|
}
|
|
399
400
|
else {
|
|
400
401
|
doUpdateValue('');
|
|
402
|
+
doChange('');
|
|
401
403
|
}
|
|
402
404
|
}
|
|
403
405
|
function handleMouseDown(e) {
|
|
@@ -314,6 +314,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
314
314
|
else if (e.code === 'ArrowUp') {
|
|
315
315
|
if (props.keyboard.ArrowUp === false)
|
|
316
316
|
return;
|
|
317
|
+
e.preventDefault();
|
|
317
318
|
const value = deriveValueFromDisplayedValue();
|
|
318
319
|
if (value !== false) {
|
|
319
320
|
doAdd();
|
|
@@ -322,6 +323,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
322
323
|
else if (e.code === 'ArrowDown') {
|
|
323
324
|
if (props.keyboard.ArrowDown === false)
|
|
324
325
|
return;
|
|
326
|
+
e.preventDefault();
|
|
325
327
|
const value = deriveValueFromDisplayedValue();
|
|
326
328
|
if (value !== false) {
|
|
327
329
|
doMinus();
|
|
@@ -14,7 +14,7 @@ function parse(value) {
|
|
|
14
14
|
exports.parse = parse;
|
|
15
15
|
// can be parsed to number but shouldn't be applied when inputing
|
|
16
16
|
function isWipValue(value) {
|
|
17
|
-
return
|
|
17
|
+
return /^(-)?\d+\.$/.test(value) || /^\.\d+$/.test(value);
|
|
18
18
|
}
|
|
19
19
|
exports.isWipValue = isWipValue;
|
|
20
20
|
// string => boolean (expected, not implemented)
|
|
@@ -24,6 +24,11 @@ const deDE = {
|
|
|
24
24
|
yearFormat: 'yyyy',
|
|
25
25
|
monthFormat: 'MMM',
|
|
26
26
|
dayFormat: 'eeeeee',
|
|
27
|
+
yearTypeFormat: 'yyyy',
|
|
28
|
+
monthTypeFormat: 'MM-yyyy',
|
|
29
|
+
dateFormat: 'dd-MM-yyyy',
|
|
30
|
+
dateTimeFormat: 'dd-MM-yyyy HH:mm:ss',
|
|
31
|
+
quarterFormat: 'yyyy-qqq',
|
|
27
32
|
clear: 'Löschen',
|
|
28
33
|
now: 'Jetzt',
|
|
29
34
|
confirm: 'Bestätigen',
|
|
@@ -34,6 +39,7 @@ const deDE = {
|
|
|
34
39
|
monthPlaceholder: 'Monat auswählen',
|
|
35
40
|
// FIXME: translation needed
|
|
36
41
|
yearPlaceholder: 'Select Year',
|
|
42
|
+
quarterPlaceholder: 'Select Quarter',
|
|
37
43
|
startDatePlaceholder: 'Anfangsdatum',
|
|
38
44
|
endDatePlaceholder: 'Enddatum',
|
|
39
45
|
startDatetimePlaceholder: 'Anfangsdatum und Uhrzeit',
|
|
@@ -22,6 +22,11 @@ declare const enUS: {
|
|
|
22
22
|
yearFormat: string;
|
|
23
23
|
monthFormat: string;
|
|
24
24
|
dayFormat: string;
|
|
25
|
+
yearTypeFormat: string;
|
|
26
|
+
monthTypeFormat: string;
|
|
27
|
+
dateFormat: string;
|
|
28
|
+
dateTimeFormat: string;
|
|
29
|
+
quarterFormat: string;
|
|
25
30
|
clear: string;
|
|
26
31
|
now: string;
|
|
27
32
|
confirm: string;
|
|
@@ -31,6 +36,7 @@ declare const enUS: {
|
|
|
31
36
|
datetimePlaceholder: string;
|
|
32
37
|
monthPlaceholder: string;
|
|
33
38
|
yearPlaceholder: string;
|
|
39
|
+
quarterPlaceholder: string;
|
|
34
40
|
startDatePlaceholder: string;
|
|
35
41
|
endDatePlaceholder: string;
|
|
36
42
|
startDatetimePlaceholder: string;
|
|
@@ -14,7 +14,7 @@ const enUS = {
|
|
|
14
14
|
Cascader: {
|
|
15
15
|
placeholder: 'Please Select',
|
|
16
16
|
loading: 'Loading',
|
|
17
|
-
loadingRequiredMessage: (label) => `Please load all ${label}'s
|
|
17
|
+
loadingRequiredMessage: (label) => `Please load all ${label}'s descendants before checking it.`
|
|
18
18
|
},
|
|
19
19
|
Time: {
|
|
20
20
|
dateFormat: 'yyyy-MM-dd',
|
|
@@ -24,6 +24,11 @@ const enUS = {
|
|
|
24
24
|
yearFormat: 'yyyy',
|
|
25
25
|
monthFormat: 'MMM',
|
|
26
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',
|
|
27
32
|
clear: 'Clear',
|
|
28
33
|
now: 'Now',
|
|
29
34
|
confirm: 'Confirm',
|
|
@@ -33,6 +38,7 @@ const enUS = {
|
|
|
33
38
|
datetimePlaceholder: 'Select Date and Time',
|
|
34
39
|
monthPlaceholder: 'Select Month',
|
|
35
40
|
yearPlaceholder: 'Select Year',
|
|
41
|
+
quarterPlaceholder: 'Select Quarter',
|
|
36
42
|
startDatePlaceholder: 'Start Date',
|
|
37
43
|
endDatePlaceholder: 'End Date',
|
|
38
44
|
startDatetimePlaceholder: 'Start Date and Time',
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const frFR = {
|
|
4
|
+
name: 'fr-FR',
|
|
5
|
+
global: {
|
|
6
|
+
undo: 'Défaire',
|
|
7
|
+
redo: 'Refaire',
|
|
8
|
+
confirm: 'Confirmer'
|
|
9
|
+
},
|
|
10
|
+
Popconfirm: {
|
|
11
|
+
positiveText: 'Confirmer',
|
|
12
|
+
negativeText: 'Annuler'
|
|
13
|
+
},
|
|
14
|
+
Cascader: {
|
|
15
|
+
placeholder: 'Sélectionner',
|
|
16
|
+
loading: 'Chargement',
|
|
17
|
+
loadingRequiredMessage: (label) => `Charger tous les enfants de ${label} avant de le sélectionner`
|
|
18
|
+
},
|
|
19
|
+
Time: {
|
|
20
|
+
dateFormat: 'dd-MM-yyyy',
|
|
21
|
+
dateTimeFormat: 'dd-MM-yyyy HH:mm:ss'
|
|
22
|
+
},
|
|
23
|
+
DatePicker: {
|
|
24
|
+
yearFormat: 'yyyy',
|
|
25
|
+
monthFormat: 'MMM',
|
|
26
|
+
dayFormat: 'eeeeee',
|
|
27
|
+
yearTypeFormat: 'yyyy',
|
|
28
|
+
monthTypeFormat: 'MM-yyyy',
|
|
29
|
+
dateFormat: 'dd-MM-yyyy',
|
|
30
|
+
dateTimeFormat: 'dd-MM-yyyy HH:mm:ss',
|
|
31
|
+
quarterFormat: 'yyyy-qqq',
|
|
32
|
+
clear: 'Effacer',
|
|
33
|
+
now: 'Maintenant',
|
|
34
|
+
confirm: 'Confirmer',
|
|
35
|
+
selectTime: "Sélectionner l'heure",
|
|
36
|
+
selectDate: 'Sélectionner la date',
|
|
37
|
+
datePlaceholder: 'Sélectionner la date',
|
|
38
|
+
datetimePlaceholder: "Sélectionner la date et l'heure",
|
|
39
|
+
monthPlaceholder: 'Sélectionner le mois',
|
|
40
|
+
yearPlaceholder: "Sélectionner l'année",
|
|
41
|
+
// FIXME: translation needed
|
|
42
|
+
quarterPlaceholder: 'Select Quarter',
|
|
43
|
+
startDatePlaceholder: 'Date de début',
|
|
44
|
+
endDatePlaceholder: 'Date de fin',
|
|
45
|
+
startDatetimePlaceholder: 'Date et heure de début',
|
|
46
|
+
endDatetimePlaceholder: 'Date et heure de fin',
|
|
47
|
+
monthBeforeYear: true,
|
|
48
|
+
firstDayOfWeek: 1,
|
|
49
|
+
today: "Aujourd'hui"
|
|
50
|
+
},
|
|
51
|
+
DataTable: {
|
|
52
|
+
checkTableAll: 'Sélectionner tout',
|
|
53
|
+
uncheckTableAll: 'Désélectionner tout',
|
|
54
|
+
confirm: 'Confirmer',
|
|
55
|
+
clear: 'Effacer'
|
|
56
|
+
},
|
|
57
|
+
Transfer: {
|
|
58
|
+
sourceTitle: 'Source',
|
|
59
|
+
targetTitle: 'Cible'
|
|
60
|
+
},
|
|
61
|
+
Empty: {
|
|
62
|
+
description: 'Aucune donnée'
|
|
63
|
+
},
|
|
64
|
+
Select: {
|
|
65
|
+
placeholder: 'Sélectionner'
|
|
66
|
+
},
|
|
67
|
+
TimePicker: {
|
|
68
|
+
placeholder: "Sélectionner l'heure",
|
|
69
|
+
positiveText: 'OK',
|
|
70
|
+
negativeText: 'Annuler',
|
|
71
|
+
now: 'Maintenant'
|
|
72
|
+
},
|
|
73
|
+
Pagination: {
|
|
74
|
+
goto: 'Aller à',
|
|
75
|
+
selectionSuffix: 'page'
|
|
76
|
+
},
|
|
77
|
+
DynamicTags: {
|
|
78
|
+
add: 'Ajouter'
|
|
79
|
+
},
|
|
80
|
+
Log: {
|
|
81
|
+
loading: 'Chargement'
|
|
82
|
+
},
|
|
83
|
+
Input: {
|
|
84
|
+
placeholder: 'Saisir'
|
|
85
|
+
},
|
|
86
|
+
InputNumber: {
|
|
87
|
+
placeholder: 'Saisir'
|
|
88
|
+
},
|
|
89
|
+
DynamicInput: {
|
|
90
|
+
create: 'Créer'
|
|
91
|
+
},
|
|
92
|
+
ThemeEditor: {
|
|
93
|
+
title: 'Editeur de thème',
|
|
94
|
+
clearAllVars: 'Effacer toutes les variables',
|
|
95
|
+
clearSearch: 'Effacer la recherche',
|
|
96
|
+
filterCompName: 'Filtrer par nom de composant',
|
|
97
|
+
filterVarName: 'Filtrer par nom de variable',
|
|
98
|
+
import: 'Importer',
|
|
99
|
+
export: 'Exporter',
|
|
100
|
+
restore: 'Réinitialiser'
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
exports.default = frFR;
|
|
@@ -1,95 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
clear: string;
|
|
26
|
-
now: string;
|
|
27
|
-
confirm: string;
|
|
28
|
-
selectTime: string;
|
|
29
|
-
selectDate: string;
|
|
30
|
-
datePlaceholder: string;
|
|
31
|
-
datetimePlaceholder: string;
|
|
32
|
-
monthPlaceholder: string;
|
|
33
|
-
yearPlaceholder: string;
|
|
34
|
-
startDatePlaceholder: string;
|
|
35
|
-
endDatePlaceholder: string;
|
|
36
|
-
startDatetimePlaceholder: string;
|
|
37
|
-
endDatetimePlaceholder: string;
|
|
38
|
-
monthBeforeYear: boolean;
|
|
39
|
-
firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 5 | 6;
|
|
40
|
-
today: string;
|
|
41
|
-
};
|
|
42
|
-
DataTable: {
|
|
43
|
-
checkTableAll: string;
|
|
44
|
-
uncheckTableAll: string;
|
|
45
|
-
confirm: string;
|
|
46
|
-
clear: string;
|
|
47
|
-
};
|
|
48
|
-
Transfer: {
|
|
49
|
-
sourceTitle: string;
|
|
50
|
-
targetTitle: string;
|
|
51
|
-
};
|
|
52
|
-
Empty: {
|
|
53
|
-
description: string;
|
|
54
|
-
};
|
|
55
|
-
Select: {
|
|
56
|
-
placeholder: string;
|
|
57
|
-
};
|
|
58
|
-
TimePicker: {
|
|
59
|
-
placeholder: string;
|
|
60
|
-
positiveText: string;
|
|
61
|
-
negativeText: string;
|
|
62
|
-
now: string;
|
|
63
|
-
};
|
|
64
|
-
Pagination: {
|
|
65
|
-
goto: string;
|
|
66
|
-
selectionSuffix: string;
|
|
67
|
-
};
|
|
68
|
-
DynamicTags: {
|
|
69
|
-
add: string;
|
|
70
|
-
};
|
|
71
|
-
Log: {
|
|
72
|
-
loading: string;
|
|
73
|
-
};
|
|
74
|
-
Input: {
|
|
75
|
-
placeholder: string;
|
|
76
|
-
};
|
|
77
|
-
InputNumber: {
|
|
78
|
-
placeholder: string;
|
|
79
|
-
};
|
|
80
|
-
DynamicInput: {
|
|
81
|
-
create: string;
|
|
82
|
-
};
|
|
83
|
-
ThemeEditor: {
|
|
84
|
-
title: string;
|
|
85
|
-
clearAllVars: string;
|
|
86
|
-
clearSearch: string;
|
|
87
|
-
filterCompName: string;
|
|
88
|
-
filterVarName: string;
|
|
89
|
-
import: string;
|
|
90
|
-
export: string;
|
|
91
|
-
restore: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
export declare type NLocale = typeof idID;
|
|
1
|
+
import type { NLocale } from './enUS';
|
|
2
|
+
declare const idID: NLocale;
|
|
95
3
|
export default idID;
|
|
@@ -24,6 +24,11 @@ const idID = {
|
|
|
24
24
|
yearFormat: 'yyyy',
|
|
25
25
|
monthFormat: 'MMM',
|
|
26
26
|
dayFormat: 'eeeeee',
|
|
27
|
+
yearTypeFormat: 'yyyy',
|
|
28
|
+
monthTypeFormat: 'MM-yyyy',
|
|
29
|
+
dateFormat: 'dd-MM-yyyy',
|
|
30
|
+
dateTimeFormat: 'dd-MM-yyyy HH:mm:ss',
|
|
31
|
+
quarterFormat: 'yyyy-qqq',
|
|
27
32
|
clear: 'Bersihkan',
|
|
28
33
|
now: 'Sekarang',
|
|
29
34
|
confirm: 'Setuju',
|
|
@@ -34,6 +39,7 @@ const idID = {
|
|
|
34
39
|
monthPlaceholder: 'Pilih Bulan',
|
|
35
40
|
// FIXME: translation needed
|
|
36
41
|
yearPlaceholder: 'Select Year',
|
|
42
|
+
quarterPlaceholder: 'Select Quarter',
|
|
37
43
|
startDatePlaceholder: 'Tanggal Mulai',
|
|
38
44
|
endDatePlaceholder: 'Tanggal Selesai',
|
|
39
45
|
startDatetimePlaceholder: 'Tanggal dan Waktu Mulai',
|
|
@@ -24,6 +24,11 @@ const jaJP = {
|
|
|
24
24
|
yearFormat: 'yyyy年',
|
|
25
25
|
monthFormat: 'MMM',
|
|
26
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',
|
|
27
32
|
clear: 'クリア',
|
|
28
33
|
now: '現在',
|
|
29
34
|
confirm: 'OK',
|
|
@@ -34,6 +39,7 @@ const jaJP = {
|
|
|
34
39
|
monthPlaceholder: '月を選択',
|
|
35
40
|
// FIXME: translation needed
|
|
36
41
|
yearPlaceholder: 'Select Year',
|
|
42
|
+
quarterPlaceholder: 'Select Quarter',
|
|
37
43
|
startDatePlaceholder: '開始日',
|
|
38
44
|
endDatePlaceholder: '終了日',
|
|
39
45
|
startDatetimePlaceholder: '開始時間',
|
|
@@ -24,6 +24,11 @@ const nbNO = {
|
|
|
24
24
|
yearFormat: 'yyyy',
|
|
25
25
|
monthFormat: 'MMM',
|
|
26
26
|
dayFormat: 'eeeeee',
|
|
27
|
+
yearTypeFormat: 'yyyy',
|
|
28
|
+
monthTypeFormat: 'MM.yyyy',
|
|
29
|
+
dateFormat: 'dd.MM.yyyy',
|
|
30
|
+
dateTimeFormat: 'dd.MM.yyyy HH:mm:ss',
|
|
31
|
+
quarterFormat: 'yyyy-qqq',
|
|
27
32
|
clear: 'Tøm',
|
|
28
33
|
now: 'Nå',
|
|
29
34
|
confirm: 'Bekreft',
|
|
@@ -34,6 +39,7 @@ const nbNO = {
|
|
|
34
39
|
monthPlaceholder: 'Velg måned',
|
|
35
40
|
// FIXME: translation needed
|
|
36
41
|
yearPlaceholder: 'Select Year',
|
|
42
|
+
quarterPlaceholder: 'Select Quarter',
|
|
37
43
|
startDatePlaceholder: 'Startdato',
|
|
38
44
|
endDatePlaceholder: 'Sluttdato',
|
|
39
45
|
startDatetimePlaceholder: 'Startdato og -tid',
|
|
@@ -24,6 +24,11 @@ const ruRu = {
|
|
|
24
24
|
yearFormat: 'yyyy',
|
|
25
25
|
monthFormat: 'MMM',
|
|
26
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',
|
|
27
32
|
clear: 'Очистить',
|
|
28
33
|
now: 'Сейчас',
|
|
29
34
|
confirm: 'Подтвердить',
|
|
@@ -34,6 +39,7 @@ const ruRu = {
|
|
|
34
39
|
monthPlaceholder: 'Выберите месяц',
|
|
35
40
|
// FIXME: translation needed
|
|
36
41
|
yearPlaceholder: 'Select Year',
|
|
42
|
+
quarterPlaceholder: 'Select Quarter',
|
|
37
43
|
startDatePlaceholder: 'Дата начала',
|
|
38
44
|
endDatePlaceholder: 'Дата окончания',
|
|
39
45
|
startDatetimePlaceholder: 'Дата и время начала',
|
|
@@ -24,6 +24,11 @@ const ukUA = {
|
|
|
24
24
|
yearFormat: 'yyyy',
|
|
25
25
|
monthFormat: 'MMM',
|
|
26
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',
|
|
27
32
|
clear: 'Стерти',
|
|
28
33
|
now: 'Зараз',
|
|
29
34
|
confirm: 'Підтвердити',
|
|
@@ -34,6 +39,7 @@ const ukUA = {
|
|
|
34
39
|
monthPlaceholder: 'Виберіть місяць',
|
|
35
40
|
// FIXME: translation needed
|
|
36
41
|
yearPlaceholder: 'Select Year',
|
|
42
|
+
quarterPlaceholder: 'Select Quarter',
|
|
37
43
|
startDatePlaceholder: 'Дата початку',
|
|
38
44
|
endDatePlaceholder: 'Дата завершення',
|
|
39
45
|
startDatetimePlaceholder: 'Дата і час початку',
|
|
@@ -24,6 +24,11 @@ const zhCN = {
|
|
|
24
24
|
yearFormat: 'yyyy年',
|
|
25
25
|
monthFormat: 'MMM',
|
|
26
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',
|
|
27
32
|
clear: '清除',
|
|
28
33
|
now: '此刻',
|
|
29
34
|
confirm: '确认',
|
|
@@ -33,6 +38,7 @@ const zhCN = {
|
|
|
33
38
|
datetimePlaceholder: '选择日期时间',
|
|
34
39
|
monthPlaceholder: '选择月份',
|
|
35
40
|
yearPlaceholder: '选择年份',
|
|
41
|
+
quarterPlaceholder: '选择季度',
|
|
36
42
|
startDatePlaceholder: '开始日期',
|
|
37
43
|
endDatePlaceholder: '结束日期',
|
|
38
44
|
startDatetimePlaceholder: '开始日期时间',
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const zhTW = {
|
|
4
|
+
name: 'zh-TW',
|
|
5
|
+
global: {
|
|
6
|
+
undo: '撤銷',
|
|
7
|
+
redo: '重做',
|
|
8
|
+
confirm: '確認'
|
|
9
|
+
},
|
|
10
|
+
Popconfirm: {
|
|
11
|
+
positiveText: '確認',
|
|
12
|
+
negativeText: '取消'
|
|
13
|
+
},
|
|
14
|
+
Cascader: {
|
|
15
|
+
placeholder: '請選擇',
|
|
16
|
+
loading: '載入中',
|
|
17
|
+
loadingRequiredMessage: (label) => `載入全部 ${label} 的子節點後才可選中`
|
|
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: '清除',
|
|
33
|
+
now: '此刻',
|
|
34
|
+
confirm: '確認',
|
|
35
|
+
selectTime: '選擇時間',
|
|
36
|
+
selectDate: '選擇日期',
|
|
37
|
+
datePlaceholder: '選擇日期',
|
|
38
|
+
datetimePlaceholder: '選擇日期時間',
|
|
39
|
+
monthPlaceholder: '選擇月份',
|
|
40
|
+
yearPlaceholder: '選擇年份',
|
|
41
|
+
quarterPlaceholder: '選擇季度',
|
|
42
|
+
startDatePlaceholder: '開始日期',
|
|
43
|
+
endDatePlaceholder: '結束日期',
|
|
44
|
+
startDatetimePlaceholder: '開始日期時間',
|
|
45
|
+
endDatetimePlaceholder: '結束日期時間',
|
|
46
|
+
monthBeforeYear: false,
|
|
47
|
+
firstDayOfWeek: 0,
|
|
48
|
+
today: '今天'
|
|
49
|
+
},
|
|
50
|
+
DataTable: {
|
|
51
|
+
checkTableAll: '選擇全部表格資料',
|
|
52
|
+
uncheckTableAll: '取消選擇全部表格資料',
|
|
53
|
+
confirm: '確認',
|
|
54
|
+
clear: '重置'
|
|
55
|
+
},
|
|
56
|
+
Transfer: {
|
|
57
|
+
sourceTitle: '源項',
|
|
58
|
+
targetTitle: '目標項'
|
|
59
|
+
},
|
|
60
|
+
Empty: {
|
|
61
|
+
description: '無數據'
|
|
62
|
+
},
|
|
63
|
+
Select: {
|
|
64
|
+
placeholder: '請選擇'
|
|
65
|
+
},
|
|
66
|
+
TimePicker: {
|
|
67
|
+
placeholder: '請選擇時間',
|
|
68
|
+
positiveText: '確認',
|
|
69
|
+
negativeText: '取消',
|
|
70
|
+
now: '此刻'
|
|
71
|
+
},
|
|
72
|
+
Pagination: {
|
|
73
|
+
goto: '跳至',
|
|
74
|
+
selectionSuffix: '頁'
|
|
75
|
+
},
|
|
76
|
+
DynamicTags: {
|
|
77
|
+
add: '添加'
|
|
78
|
+
},
|
|
79
|
+
Log: {
|
|
80
|
+
loading: '載入中'
|
|
81
|
+
},
|
|
82
|
+
Input: {
|
|
83
|
+
placeholder: '請輸入'
|
|
84
|
+
},
|
|
85
|
+
InputNumber: {
|
|
86
|
+
placeholder: '請輸入'
|
|
87
|
+
},
|
|
88
|
+
DynamicInput: {
|
|
89
|
+
create: '添加'
|
|
90
|
+
},
|
|
91
|
+
ThemeEditor: {
|
|
92
|
+
title: '主題編輯器',
|
|
93
|
+
clearAllVars: '清除全部變數',
|
|
94
|
+
clearSearch: '清除搜索',
|
|
95
|
+
filterCompName: '過濾組件名',
|
|
96
|
+
filterVarName: '過濾變數名',
|
|
97
|
+
import: '導入',
|
|
98
|
+
export: '匯出',
|
|
99
|
+
restore: '恢復默認'
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
exports.default = zhTW;
|
|
@@ -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 fr_1 = __importDefault(require("date-fns/locale/fr"));
|
|
7
|
+
const dateFrFR = {
|
|
8
|
+
name: 'fr-FR',
|
|
9
|
+
locale: fr_1.default
|
|
10
|
+
};
|
|
11
|
+
exports.default = dateFrFR;
|
|
@@ -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 zh_TW_1 = __importDefault(require("date-fns/locale/zh-TW"));
|
|
7
|
+
const datezhTW = {
|
|
8
|
+
name: 'zh-TW',
|
|
9
|
+
locale: zh_TW_1.default
|
|
10
|
+
};
|
|
11
|
+
exports.default = datezhTW;
|