@hina-ui/vue 1.7.5 → 1.7.6
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/README.md +37 -0
- package/dist/index.js +2222 -987
- package/dist/index.js.map +1 -1
- package/dist/shared/behavior/anchor-follow.ts +95 -0
- package/dist/shared/behavior/form.ts +187 -0
- package/dist/shared/behavior/ripple.ts +222 -0
- package/dist/shared/behavior/spoiler/painter.ts +197 -0
- package/dist/shared/behavior/spoiler/worklet.ts +199 -0
- package/dist/shared/behavior/toast.ts +243 -0
- package/dist/shared/lib/anchor.ts +83 -0
- package/dist/shared/lib/banner.ts +10 -0
- package/dist/shared/lib/calendar/format.ts +23 -0
- package/dist/shared/lib/caret.ts +48 -0
- package/dist/shared/lib/collapse.ts +29 -0
- package/dist/shared/lib/command-palette/hotkey.ts +27 -0
- package/dist/shared/lib/command-palette/match.ts +92 -0
- package/dist/shared/lib/data-list.ts +40 -0
- package/dist/shared/lib/data-table/column-sizing-styles.ts +41 -0
- package/dist/shared/lib/data-table/column-sizing.ts +101 -0
- package/dist/shared/lib/data-table/csv.ts +51 -0
- package/dist/shared/lib/data-table/layout.ts +199 -0
- package/dist/shared/lib/data-table/resize.ts +66 -0
- package/dist/shared/lib/data-table/state.ts +226 -0
- package/dist/shared/lib/data-table/utils.ts +80 -0
- package/dist/shared/lib/date-range-field/validity.ts +21 -0
- package/dist/shared/lib/date.ts +111 -0
- package/dist/shared/lib/field-focus.ts +36 -0
- package/dist/shared/lib/file-upload/select.ts +58 -0
- package/dist/shared/lib/file-upload/size.ts +16 -0
- package/dist/shared/lib/form/errors.ts +48 -0
- package/dist/shared/lib/form/focus.ts +10 -0
- package/dist/shared/lib/form/standard-schema.ts +26 -0
- package/dist/shared/lib/form/values.ts +23 -0
- package/dist/shared/lib/highlighter.ts +98 -0
- package/dist/shared/lib/iris-origin.ts +40 -0
- package/dist/shared/lib/lightbox/clip.ts +117 -0
- package/dist/shared/lib/lightbox/download.ts +29 -0
- package/dist/shared/lib/lightbox/gesture.ts +54 -0
- package/dist/shared/lib/lightbox/paging.ts +33 -0
- package/dist/shared/lib/lightbox/pose.ts +142 -0
- package/dist/shared/lib/lightbox/source.ts +17 -0
- package/dist/shared/lib/lightbox/types.ts +14 -0
- package/dist/shared/lib/lightbox/zoom.ts +127 -0
- package/dist/shared/lib/meter-group.ts +16 -0
- package/dist/shared/lib/overlay-anchor.ts +42 -0
- package/dist/shared/lib/pagination.ts +16 -0
- package/dist/shared/lib/pointer-corridor.ts +26 -0
- package/dist/shared/lib/qr-code-export.ts +68 -0
- package/dist/shared/lib/range-calendar/limit.ts +11 -0
- package/dist/shared/lib/rating.ts +4 -0
- package/dist/shared/lib/relative-time.ts +20 -0
- package/dist/shared/lib/scroll-area.ts +77 -0
- package/dist/shared/lib/scroll-restore.ts +148 -0
- package/dist/shared/lib/toast-layout.ts +42 -0
- package/dist/shared/lib/tree/selection.ts +131 -0
- package/dist/shared/lib/tree-select/filter.ts +19 -0
- package/dist/shared/lib/virtual/choices.ts +193 -0
- package/dist/shared/lib/virtual/collection.ts +71 -0
- package/dist/shared/lib/virtual/filter.ts +26 -0
- package/dist/shared/lib/virtual/flow.ts +32 -0
- package/dist/shared/lib/virtual/list.ts +63 -0
- package/dist/shared/lib/virtual/navigation.ts +26 -0
- package/dist/shared/lib/virtual/tree.ts +98 -0
- package/dist/shared/locale/en-US.ts +220 -0
- package/dist/shared/locale/index.ts +52 -0
- package/dist/shared/locale/types.ts +225 -0
- package/dist/shared/locale/zh-CN.ts +215 -0
- package/dist/shared/primitives/number-field/LICENSE +21 -0
- package/dist/shared/primitives/number-field/index.ts +407 -0
- package/dist/shared/styles/semantic.css +10 -2
- package/dist/shared/types/autocomplete.ts +16 -0
- package/dist/shared/types/data-table.ts +170 -0
- package/dist/shared/types/pagination.ts +19 -0
- package/dist/shared/types/select.ts +23 -0
- package/dist/shared/types/tree-select.ts +34 -0
- package/dist/shared/types/tree.ts +20 -0
- package/dist/types/shared/src/behavior/anchor-follow.d.ts +13 -0
- package/dist/types/shared/src/behavior/anchor-follow.d.ts.map +1 -0
- package/dist/types/shared/src/behavior/form.d.ts +24 -0
- package/dist/types/shared/src/behavior/form.d.ts.map +1 -0
- package/dist/types/shared/src/behavior/ripple.d.ts +11 -0
- package/dist/types/shared/src/behavior/ripple.d.ts.map +1 -0
- package/dist/types/shared/src/behavior/spoiler/painter.d.ts +35 -0
- package/dist/types/shared/src/behavior/spoiler/painter.d.ts.map +1 -0
- package/dist/types/shared/src/behavior/spoiler/worklet.d.ts +2 -0
- package/dist/types/shared/src/behavior/spoiler/worklet.d.ts.map +1 -0
- package/dist/types/shared/src/behavior/toast.d.ts +72 -0
- package/dist/types/shared/src/behavior/toast.d.ts.map +1 -0
- package/dist/types/shared/src/lib/anchor.d.ts +31 -0
- package/dist/types/shared/src/lib/anchor.d.ts.map +1 -0
- package/dist/types/shared/src/lib/banner.d.ts +3 -0
- package/dist/types/shared/src/lib/banner.d.ts.map +1 -0
- package/dist/types/shared/src/lib/calendar/format.d.ts +7 -0
- package/dist/types/shared/src/lib/calendar/format.d.ts.map +1 -0
- package/dist/types/shared/src/lib/caret.d.ts +2 -0
- package/dist/types/shared/src/lib/caret.d.ts.map +1 -0
- package/dist/types/shared/src/lib/collapse.d.ts +9 -0
- package/dist/types/shared/src/lib/collapse.d.ts.map +1 -0
- package/dist/types/shared/src/lib/command-palette/hotkey.d.ts +9 -0
- package/dist/types/shared/src/lib/command-palette/hotkey.d.ts.map +1 -0
- package/dist/types/shared/src/lib/command-palette/match.d.ts +21 -0
- package/dist/types/shared/src/lib/command-palette/match.d.ts.map +1 -0
- package/dist/types/shared/src/lib/data-list.d.ts +7 -0
- package/dist/types/shared/src/lib/data-list.d.ts.map +1 -0
- package/dist/types/shared/src/lib/data-table/column-sizing-styles.d.ts +8 -0
- package/dist/types/shared/src/lib/data-table/column-sizing-styles.d.ts.map +1 -0
- package/dist/types/shared/src/lib/data-table/column-sizing.d.ts +22 -0
- package/dist/types/shared/src/lib/data-table/column-sizing.d.ts.map +1 -0
- package/dist/types/shared/src/lib/data-table/csv.d.ts +5 -0
- package/dist/types/shared/src/lib/data-table/csv.d.ts.map +1 -0
- package/dist/types/shared/src/lib/data-table/layout.d.ts +28 -0
- package/dist/types/shared/src/lib/data-table/layout.d.ts.map +1 -0
- package/dist/types/shared/src/lib/data-table/resize.d.ts +15 -0
- package/dist/types/shared/src/lib/data-table/resize.d.ts.map +1 -0
- package/dist/types/shared/src/lib/data-table/state.d.ts +103 -0
- package/dist/types/shared/src/lib/data-table/state.d.ts.map +1 -0
- package/dist/types/shared/src/lib/data-table/utils.d.ts +11 -0
- package/dist/types/shared/src/lib/data-table/utils.d.ts.map +1 -0
- package/dist/types/shared/src/lib/date-range-field/validity.d.ts +12 -0
- package/dist/types/shared/src/lib/date-range-field/validity.d.ts.map +1 -0
- package/dist/types/shared/src/lib/date.d.ts +28 -0
- package/dist/types/shared/src/lib/date.d.ts.map +1 -0
- package/dist/types/shared/src/lib/field-focus.d.ts +2 -0
- package/dist/types/shared/src/lib/field-focus.d.ts.map +1 -0
- package/dist/types/shared/src/lib/file-upload/select.d.ts +17 -0
- package/dist/types/shared/src/lib/file-upload/select.d.ts.map +1 -0
- package/dist/types/shared/src/lib/file-upload/size.d.ts +2 -0
- package/dist/types/shared/src/lib/file-upload/size.d.ts.map +1 -0
- package/dist/types/shared/src/lib/form/errors.d.ts +7 -0
- package/dist/types/shared/src/lib/form/errors.d.ts.map +1 -0
- package/dist/types/shared/src/lib/form/focus.d.ts +2 -0
- package/dist/types/shared/src/lib/form/focus.d.ts.map +1 -0
- package/dist/types/shared/src/lib/form/standard-schema.d.ts +23 -0
- package/dist/types/shared/src/lib/form/standard-schema.d.ts.map +1 -0
- package/dist/types/shared/src/lib/form/values.d.ts +3 -0
- package/dist/types/shared/src/lib/form/values.d.ts.map +1 -0
- package/dist/types/shared/src/lib/highlighter.d.ts +4 -0
- package/dist/types/shared/src/lib/highlighter.d.ts.map +1 -0
- package/dist/types/shared/src/lib/iris-origin.d.ts +6 -0
- package/dist/types/shared/src/lib/iris-origin.d.ts.map +1 -0
- package/dist/types/shared/src/lib/lightbox/clip.d.ts +16 -0
- package/dist/types/shared/src/lib/lightbox/clip.d.ts.map +1 -0
- package/dist/types/shared/src/lib/lightbox/download.d.ts +3 -0
- package/dist/types/shared/src/lib/lightbox/download.d.ts.map +1 -0
- package/dist/types/shared/src/lib/lightbox/gesture.d.ts +26 -0
- package/dist/types/shared/src/lib/lightbox/gesture.d.ts.map +1 -0
- package/dist/types/shared/src/lib/lightbox/paging.d.ts +9 -0
- package/dist/types/shared/src/lib/lightbox/paging.d.ts.map +1 -0
- package/dist/types/shared/src/lib/lightbox/pose.d.ts +38 -0
- package/dist/types/shared/src/lib/lightbox/pose.d.ts.map +1 -0
- package/dist/types/shared/src/lib/lightbox/source.d.ts +4 -0
- package/dist/types/shared/src/lib/lightbox/source.d.ts.map +1 -0
- package/dist/types/shared/src/lib/lightbox/types.d.ts +16 -0
- package/dist/types/shared/src/lib/lightbox/types.d.ts.map +1 -0
- package/dist/types/shared/src/lib/lightbox/zoom.d.ts +40 -0
- package/dist/types/shared/src/lib/lightbox/zoom.d.ts.map +1 -0
- package/dist/types/shared/src/lib/meter-group.d.ts +5 -0
- package/dist/types/shared/src/lib/meter-group.d.ts.map +1 -0
- package/dist/types/shared/src/lib/overlay-anchor.d.ts +10 -0
- package/dist/types/shared/src/lib/overlay-anchor.d.ts.map +1 -0
- package/dist/types/shared/src/lib/pagination.d.ts +4 -0
- package/dist/types/shared/src/lib/pagination.d.ts.map +1 -0
- package/dist/types/shared/src/lib/pointer-corridor.d.ts +7 -0
- package/dist/types/shared/src/lib/pointer-corridor.d.ts.map +1 -0
- package/dist/types/shared/src/lib/qr-code-export.d.ts +6 -0
- package/dist/types/shared/src/lib/qr-code-export.d.ts.map +1 -0
- package/dist/types/shared/src/lib/range-calendar/limit.d.ts +3 -0
- package/dist/types/shared/src/lib/range-calendar/limit.d.ts.map +1 -0
- package/dist/types/shared/src/lib/rating.d.ts +2 -0
- package/dist/types/shared/src/lib/rating.d.ts.map +1 -0
- package/dist/types/shared/src/lib/relative-time.d.ts +2 -0
- package/dist/types/shared/src/lib/relative-time.d.ts.map +1 -0
- package/dist/types/shared/src/lib/scroll-area.d.ts +50 -0
- package/dist/types/shared/src/lib/scroll-area.d.ts.map +1 -0
- package/dist/types/shared/src/lib/scroll-restore.d.ts +34 -0
- package/dist/types/shared/src/lib/scroll-restore.d.ts.map +1 -0
- package/dist/types/shared/src/lib/toast-layout.d.ts +13 -0
- package/dist/types/shared/src/lib/toast-layout.d.ts.map +1 -0
- package/dist/types/shared/src/lib/tree/selection.d.ts +23 -0
- package/dist/types/shared/src/lib/tree/selection.d.ts.map +1 -0
- package/dist/types/shared/src/lib/tree-select/filter.d.ts +7 -0
- package/dist/types/shared/src/lib/tree-select/filter.d.ts.map +1 -0
- package/dist/types/shared/src/lib/virtual/choices.d.ts +59 -0
- package/dist/types/shared/src/lib/virtual/choices.d.ts.map +1 -0
- package/dist/types/shared/src/lib/virtual/collection.d.ts +25 -0
- package/dist/types/shared/src/lib/virtual/collection.d.ts.map +1 -0
- package/dist/types/shared/src/lib/virtual/flow.d.ts +18 -0
- package/dist/types/shared/src/lib/virtual/flow.d.ts.map +1 -0
- package/dist/types/shared/src/lib/virtual/list.d.ts +46 -0
- package/dist/types/shared/src/lib/virtual/list.d.ts.map +1 -0
- package/dist/types/shared/src/lib/virtual/navigation.d.ts +3 -0
- package/dist/types/shared/src/lib/virtual/navigation.d.ts.map +1 -0
- package/dist/types/shared/src/lib/virtual/tree.d.ts +31 -0
- package/dist/types/shared/src/lib/virtual/tree.d.ts.map +1 -0
- package/dist/types/shared/src/locale/en-US.d.ts +3 -0
- package/dist/types/shared/src/locale/en-US.d.ts.map +1 -0
- package/dist/types/shared/src/locale/index.d.ts +6 -0
- package/dist/types/shared/src/locale/index.d.ts.map +1 -0
- package/dist/types/shared/src/locale/types.d.ts +235 -0
- package/dist/types/shared/src/locale/types.d.ts.map +1 -0
- package/dist/types/shared/src/locale/zh-CN.d.ts +3 -0
- package/dist/types/shared/src/locale/zh-CN.d.ts.map +1 -0
- package/dist/types/shared/src/primitives/number-field/index.d.ts +155 -0
- package/dist/types/shared/src/primitives/number-field/index.d.ts.map +1 -0
- package/dist/types/shared/src/types/autocomplete.d.ts +14 -0
- package/dist/types/shared/src/types/autocomplete.d.ts.map +1 -0
- package/dist/types/shared/src/types/data-table.d.ts +169 -0
- package/dist/types/shared/src/types/data-table.d.ts.map +1 -0
- package/dist/types/shared/src/types/pagination.d.ts +23 -0
- package/dist/types/shared/src/types/pagination.d.ts.map +1 -0
- package/dist/types/shared/src/types/select.d.ts +14 -0
- package/dist/types/shared/src/types/select.d.ts.map +1 -0
- package/dist/types/shared/src/types/tree-select.d.ts +10 -0
- package/dist/types/shared/src/types/tree-select.d.ts.map +1 -0
- package/dist/types/shared/src/types/tree.d.ts +18 -0
- package/dist/types/shared/src/types/tree.d.ts.map +1 -0
- package/dist/types/shared/src/variants/autocomplete.d.ts +3 -0
- package/dist/types/shared/src/variants/autocomplete.d.ts.map +1 -0
- package/dist/types/shared/src/variants/editable.d.ts +52 -0
- package/dist/types/shared/src/variants/editable.d.ts.map +1 -0
- package/dist/types/shared/src/variants/float-button.d.ts +74 -0
- package/dist/types/shared/src/variants/float-button.d.ts.map +1 -0
- package/dist/types/shared/src/variants/split-button.d.ts +18 -0
- package/dist/types/shared/src/variants/split-button.d.ts.map +1 -0
- package/dist/types/vue/src/components/accordion/AccordionTrigger.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/anchor/composables/useAnchor.d.ts +2 -7
- package/dist/types/vue/src/components/anchor/composables/useAnchor.d.ts.map +1 -1
- package/dist/types/vue/src/components/anchor/composables/useAnchorFollow.d.ts.map +1 -1
- package/dist/types/vue/src/components/anchor/composables/useScrollSpy.d.ts +2 -5
- package/dist/types/vue/src/components/anchor/composables/useScrollSpy.d.ts.map +1 -1
- package/dist/types/vue/src/components/anchor/types.d.ts +1 -8
- package/dist/types/vue/src/components/anchor/types.d.ts.map +1 -1
- package/dist/types/vue/src/components/autocomplete/autocomplete.variants.d.ts +1 -1
- package/dist/types/vue/src/components/autocomplete/autocomplete.variants.d.ts.map +1 -1
- package/dist/types/vue/src/components/autocomplete/types.d.ts +1 -13
- package/dist/types/vue/src/components/autocomplete/types.d.ts.map +1 -1
- package/dist/types/vue/src/components/banner/utils/direction.d.ts +1 -2
- package/dist/types/vue/src/components/banner/utils/direction.d.ts.map +1 -1
- package/dist/types/vue/src/components/calendar/utils/format.d.ts +1 -6
- package/dist/types/vue/src/components/calendar/utils/format.d.ts.map +1 -1
- package/dist/types/vue/src/components/code-block/highlighter.d.ts +1 -3
- package/dist/types/vue/src/components/code-block/highlighter.d.ts.map +1 -1
- package/dist/types/vue/src/components/collapsible/CollapsibleTrigger.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/command-palette/composables/useCommandItems.d.ts +1 -1
- package/dist/types/vue/src/components/command-palette/utils/hotkey.d.ts +1 -8
- package/dist/types/vue/src/components/command-palette/utils/hotkey.d.ts.map +1 -1
- package/dist/types/vue/src/components/command-palette/utils/match.d.ts +5 -12
- package/dist/types/vue/src/components/command-palette/utils/match.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-list/composables/useDataList.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-list/utils/scroll.d.ts +1 -2
- package/dist/types/vue/src/components/data-list/utils/scroll.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/column-sizing-styles.d.ts +1 -3
- package/dist/types/vue/src/components/data-table/column-sizing-styles.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/column-sizing.d.ts +1 -21
- package/dist/types/vue/src/components/data-table/column-sizing.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/composables/useDataTable.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/composables/useTableColumns.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/composables/useTableDrag.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/composables/useTableExport.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/composables/useTableResize.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/composables/useTableResizeHandles.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/composables/useTableVirtual.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/types.d.ts +3 -153
- package/dist/types/vue/src/components/data-table/types.d.ts.map +1 -1
- package/dist/types/vue/src/components/data-table/utils.d.ts +1 -9
- package/dist/types/vue/src/components/data-table/utils.d.ts.map +1 -1
- package/dist/types/vue/src/components/date-range-field/utils/validity.d.ts +1 -11
- package/dist/types/vue/src/components/date-range-field/utils/validity.d.ts.map +1 -1
- package/dist/types/vue/src/components/editable/editable.variants.d.ts +1 -1
- package/dist/types/vue/src/components/editable/editable.variants.d.ts.map +1 -1
- package/dist/types/vue/src/components/file-upload/utils/select.d.ts +1 -16
- package/dist/types/vue/src/components/file-upload/utils/select.d.ts.map +1 -1
- package/dist/types/vue/src/components/file-upload/utils/size.d.ts +1 -1
- package/dist/types/vue/src/components/file-upload/utils/size.d.ts.map +1 -1
- package/dist/types/vue/src/components/float-button/float-button.variants.d.ts +1 -1
- package/dist/types/vue/src/components/float-button/float-button.variants.d.ts.map +1 -1
- package/dist/types/vue/src/components/form/Form.vue.d.ts +1 -1
- package/dist/types/vue/src/components/form/composables/useForm.d.ts +9 -15
- package/dist/types/vue/src/components/form/composables/useForm.d.ts.map +1 -1
- package/dist/types/vue/src/components/form/standard-schema.d.ts +1 -22
- package/dist/types/vue/src/components/form/standard-schema.d.ts.map +1 -1
- package/dist/types/vue/src/components/form/utils/errors.d.ts +1 -6
- package/dist/types/vue/src/components/form/utils/errors.d.ts.map +1 -1
- package/dist/types/vue/src/components/form/utils/focus.d.ts +1 -1
- package/dist/types/vue/src/components/form/utils/focus.d.ts.map +1 -1
- package/dist/types/vue/src/components/form/utils/values.d.ts +1 -2
- package/dist/types/vue/src/components/form/utils/values.d.ts.map +1 -1
- package/dist/types/vue/src/components/form-field/FormField.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/lightbox/types.d.ts +1 -15
- package/dist/types/vue/src/components/lightbox/types.d.ts.map +1 -1
- package/dist/types/vue/src/components/lightbox/utils/clip.d.ts +1 -15
- package/dist/types/vue/src/components/lightbox/utils/clip.d.ts.map +1 -1
- package/dist/types/vue/src/components/lightbox/utils/download.d.ts +1 -2
- package/dist/types/vue/src/components/lightbox/utils/download.d.ts.map +1 -1
- package/dist/types/vue/src/components/lightbox/utils/gesture.d.ts +1 -25
- package/dist/types/vue/src/components/lightbox/utils/gesture.d.ts.map +1 -1
- package/dist/types/vue/src/components/lightbox/utils/paging.d.ts +1 -8
- package/dist/types/vue/src/components/lightbox/utils/paging.d.ts.map +1 -1
- package/dist/types/vue/src/components/lightbox/utils/pose.d.ts +1 -37
- package/dist/types/vue/src/components/lightbox/utils/pose.d.ts.map +1 -1
- package/dist/types/vue/src/components/lightbox/utils/source.d.ts +1 -3
- package/dist/types/vue/src/components/lightbox/utils/source.d.ts.map +1 -1
- package/dist/types/vue/src/components/lightbox/utils/zoom.d.ts +1 -39
- package/dist/types/vue/src/components/lightbox/utils/zoom.d.ts.map +1 -1
- package/dist/types/vue/src/components/meter-group/utils/tones.d.ts +1 -3
- package/dist/types/vue/src/components/meter-group/utils/tones.d.ts.map +1 -1
- package/dist/types/vue/src/components/month-grid/MonthGrid.vue.d.ts +1 -1
- package/dist/types/vue/src/components/multi-select/MultiSelect.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/pagination/composables/usePagination.d.ts +2 -2
- package/dist/types/vue/src/components/pagination/composables/usePagination.d.ts.map +1 -1
- package/dist/types/vue/src/components/pagination/types.d.ts +1 -22
- package/dist/types/vue/src/components/pagination/types.d.ts.map +1 -1
- package/dist/types/vue/src/components/pagination/utils/ranges.d.ts +1 -2
- package/dist/types/vue/src/components/pagination/utils/ranges.d.ts.map +1 -1
- package/dist/types/vue/src/components/password-input/PasswordInput.vue.d.ts +4 -1
- package/dist/types/vue/src/components/password-input/PasswordInput.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/qr-code/export.d.ts +1 -2
- package/dist/types/vue/src/components/qr-code/export.d.ts.map +1 -1
- package/dist/types/vue/src/components/range-calendar/utils/limit.d.ts +1 -2
- package/dist/types/vue/src/components/range-calendar/utils/limit.d.ts.map +1 -1
- package/dist/types/vue/src/components/range-slider/RangeSlider.vue.d.ts +2 -2
- package/dist/types/vue/src/components/rating/utils/fill.d.ts +1 -1
- package/dist/types/vue/src/components/rating/utils/fill.d.ts.map +1 -1
- package/dist/types/vue/src/components/ripple/useRipple.d.ts.map +1 -1
- package/dist/types/vue/src/components/scroll-area/ScrollArea.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/scroll-area/composables/useEdgeShadow.d.ts +2 -1
- package/dist/types/vue/src/components/scroll-area/composables/useEdgeShadow.d.ts.map +1 -1
- package/dist/types/vue/src/components/scroll-area/composables/useLayerLock.d.ts.map +1 -1
- package/dist/types/vue/src/components/scroll-area/composables/useWheelRedirect.d.ts.map +1 -1
- package/dist/types/vue/src/components/scroll-area/scroll-restore.d.ts +1 -33
- package/dist/types/vue/src/components/scroll-area/scroll-restore.d.ts.map +1 -1
- package/dist/types/vue/src/components/search-input/SearchInput.vue.d.ts +4 -1
- package/dist/types/vue/src/components/search-input/SearchInput.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/select/types.d.ts +1 -13
- package/dist/types/vue/src/components/select/types.d.ts.map +1 -1
- package/dist/types/vue/src/components/slider/Slider.vue.d.ts +2 -2
- package/dist/types/vue/src/components/split-button/split-button.variants.d.ts +1 -1
- package/dist/types/vue/src/components/split-button/split-button.variants.d.ts.map +1 -1
- package/dist/types/vue/src/components/spoiler/SpoilerPainter.d.ts +1 -34
- package/dist/types/vue/src/components/spoiler/SpoilerPainter.d.ts.map +1 -1
- package/dist/types/vue/src/components/spoiler/utils/irisOrigin.d.ts +1 -5
- package/dist/types/vue/src/components/spoiler/utils/irisOrigin.d.ts.map +1 -1
- package/dist/types/vue/src/components/spoiler/worklet.d.ts +1 -1
- package/dist/types/vue/src/components/spoiler/worklet.d.ts.map +1 -1
- package/dist/types/vue/src/components/table/Table.vue.d.ts +6 -3
- package/dist/types/vue/src/components/table/Table.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/tabs/TabsList.vue.d.ts +6 -3
- package/dist/types/vue/src/components/tabs/TabsList.vue.d.ts.map +1 -1
- package/dist/types/vue/src/components/time/utils/relativeTime.d.ts +1 -1
- package/dist/types/vue/src/components/time/utils/relativeTime.d.ts.map +1 -1
- package/dist/types/vue/src/components/toast/composables/useToastLayout.d.ts +4 -11
- package/dist/types/vue/src/components/toast/composables/useToastLayout.d.ts.map +1 -1
- package/dist/types/vue/src/components/toast/store.d.ts +14 -62
- package/dist/types/vue/src/components/toast/store.d.ts.map +1 -1
- package/dist/types/vue/src/components/tree/composables/useTree.d.ts.map +1 -1
- package/dist/types/vue/src/components/tree/types.d.ts +1 -17
- package/dist/types/vue/src/components/tree/types.d.ts.map +1 -1
- package/dist/types/vue/src/components/tree/utils/selection.d.ts +1 -15
- package/dist/types/vue/src/components/tree/utils/selection.d.ts.map +1 -1
- package/dist/types/vue/src/components/tree-select/types.d.ts +1 -9
- package/dist/types/vue/src/components/tree-select/types.d.ts.map +1 -1
- package/dist/types/vue/src/components/tree-select/utils/filterTree.d.ts +1 -6
- package/dist/types/vue/src/components/tree-select/utils/filterTree.d.ts.map +1 -1
- package/dist/types/vue/src/components/virtual-list/composables/useVirtualList.d.ts +1 -1
- package/dist/types/vue/src/components/virtual-list/composables/useVirtualList.d.ts.map +1 -1
- package/dist/types/vue/src/components/visually-hidden/VisuallyHidden.vue.d.ts +4 -1
- package/dist/types/vue/src/components/visually-hidden/VisuallyHidden.vue.d.ts.map +1 -1
- package/dist/types/vue/src/lib/caret.d.ts +1 -1
- package/dist/types/vue/src/lib/caret.d.ts.map +1 -1
- package/dist/types/vue/src/lib/collapse.d.ts +2 -8
- package/dist/types/vue/src/lib/collapse.d.ts.map +1 -1
- package/dist/types/vue/src/lib/date.d.ts +1 -27
- package/dist/types/vue/src/lib/date.d.ts.map +1 -1
- package/dist/types/vue/src/lib/field-focus.d.ts +1 -1
- package/dist/types/vue/src/lib/field-focus.d.ts.map +1 -1
- package/dist/types/vue/src/lib/overlay-anchor.d.ts +2 -7
- package/dist/types/vue/src/lib/overlay-anchor.d.ts.map +1 -1
- package/dist/types/vue/src/lib/pointer-corridor.d.ts +1 -6
- package/dist/types/vue/src/lib/pointer-corridor.d.ts.map +1 -1
- package/dist/types/vue/src/lib/reka/useVirtualChoices.d.ts +3 -11
- package/dist/types/vue/src/lib/reka/useVirtualChoices.d.ts.map +1 -1
- package/dist/types/vue/src/lib/reka/useVirtualTree.d.ts +1 -1
- package/dist/types/vue/src/lib/reka/useVirtualTree.d.ts.map +1 -1
- package/dist/types/vue/src/lib/virtual/navigation.d.ts +1 -2
- package/dist/types/vue/src/lib/virtual/navigation.d.ts.map +1 -1
- package/dist/types/vue/src/lib/virtual/useVirtualCollection.d.ts +1 -1
- package/dist/types/vue/src/lib/virtual/useVirtualCollection.d.ts.map +1 -1
- package/dist/types/vue/src/lib/virtual/useVirtualWindow.d.ts +2 -15
- package/dist/types/vue/src/lib/virtual/useVirtualWindow.d.ts.map +1 -1
- package/dist/types/vue/src/locale/en-US.d.ts +1 -2
- package/dist/types/vue/src/locale/en-US.d.ts.map +1 -1
- package/dist/types/vue/src/locale/index.d.ts +3 -4
- package/dist/types/vue/src/locale/index.d.ts.map +1 -1
- package/dist/types/vue/src/locale/types.d.ts +1 -234
- package/dist/types/vue/src/locale/types.d.ts.map +1 -1
- package/dist/types/vue/src/locale/zh-CN.d.ts +1 -2
- package/dist/types/vue/src/locale/zh-CN.d.ts.map +1 -1
- package/dist/types/vue/src/primitives/number-field/NumberFieldDecrement.vue.d.ts +17 -0
- package/dist/types/vue/src/primitives/number-field/NumberFieldDecrement.vue.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/number-field/NumberFieldIncrement.vue.d.ts +17 -0
- package/dist/types/vue/src/primitives/number-field/NumberFieldIncrement.vue.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/number-field/NumberFieldInput.vue.d.ts +16 -0
- package/dist/types/vue/src/primitives/number-field/NumberFieldInput.vue.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/number-field/NumberFieldRoot.vue.d.ts +47 -0
- package/dist/types/vue/src/primitives/number-field/NumberFieldRoot.vue.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/number-field/context.d.ts +41 -0
- package/dist/types/vue/src/primitives/number-field/context.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/number-field/index.d.ts +5 -0
- package/dist/types/vue/src/primitives/number-field/index.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/timers.d.ts +6 -0
- package/dist/types/vue/src/primitives/utils/timers.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/usePrimitiveElement.d.ts +6 -0
- package/dist/types/vue/src/primitives/utils/usePrimitiveElement.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/utils/useVModel.d.ts +7 -0
- package/dist/types/vue/src/primitives/utils/useVModel.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/visually-hidden/VisuallyHiddenInput.d.ts +66 -0
- package/dist/types/vue/src/primitives/visually-hidden/VisuallyHiddenInput.d.ts.map +1 -0
- package/dist/types/vue/src/primitives/visually-hidden/VisuallyHiddenInputBubble.vue.d.ts +28 -0
- package/dist/types/vue/src/primitives/visually-hidden/VisuallyHiddenInputBubble.vue.d.ts.map +1 -0
- package/package.json +3 -2
- package/src/components/accordion/AccordionTrigger.vue +9 -1
- package/src/components/anchor/composables/useAnchor.ts +3 -12
- package/src/components/anchor/composables/useAnchorFollow.ts +8 -76
- package/src/components/anchor/composables/useScrollSpy.ts +22 -38
- package/src/components/anchor/types.ts +1 -8
- package/src/components/autocomplete/autocomplete.variants.ts +1 -1
- package/src/components/autocomplete/composables/useAutocomplete.ts +1 -1
- package/src/components/autocomplete/types.ts +1 -16
- package/src/components/banner/utils/direction.ts +1 -10
- package/src/components/calendar/utils/format.ts +1 -23
- package/src/components/code-block/highlighter.ts +1 -98
- package/src/components/collapsible/CollapsibleTrigger.vue +8 -1
- package/src/components/command-palette/utils/hotkey.ts +1 -27
- package/src/components/command-palette/utils/match.ts +5 -75
- package/src/components/data-list/composables/useDataList.ts +2 -4
- package/src/components/data-list/utils/scroll.ts +1 -26
- package/src/components/data-table/column-sizing-styles.ts +1 -40
- package/src/components/data-table/column-sizing.ts +1 -101
- package/src/components/data-table/composables/useDataTable.ts +103 -123
- package/src/components/data-table/composables/useTableColumns.ts +38 -113
- package/src/components/data-table/composables/useTableDrag.ts +21 -11
- package/src/components/data-table/composables/useTableExport.ts +8 -32
- package/src/components/data-table/composables/useTableResize.ts +13 -17
- package/src/components/data-table/composables/useTableResizeHandles.ts +6 -21
- package/src/components/data-table/types.ts +15 -155
- package/src/components/data-table/utils.ts +1 -75
- package/src/components/date-range-field/utils/validity.ts +1 -21
- package/src/components/editable/editable.variants.ts +1 -1
- package/src/components/file-upload/utils/select.ts +1 -58
- package/src/components/file-upload/utils/size.ts +1 -16
- package/src/components/float-button/float-button.variants.ts +1 -1
- package/src/components/form/composables/useForm.ts +24 -135
- package/src/components/form/standard-schema.ts +1 -26
- package/src/components/form/utils/errors.ts +1 -48
- package/src/components/form/utils/focus.ts +1 -10
- package/src/components/form/utils/values.ts +1 -23
- package/src/components/form-field/FormField.vue +3 -2
- package/src/components/lightbox/types.ts +1 -14
- package/src/components/lightbox/utils/clip.ts +1 -117
- package/src/components/lightbox/utils/download.ts +1 -29
- package/src/components/lightbox/utils/gesture.ts +1 -54
- package/src/components/lightbox/utils/paging.ts +1 -33
- package/src/components/lightbox/utils/pose.ts +1 -142
- package/src/components/lightbox/utils/source.ts +1 -17
- package/src/components/lightbox/utils/zoom.ts +1 -127
- package/src/components/meter-group/utils/tones.ts +1 -14
- package/src/components/multi-select/MultiSelect.vue +1 -2
- package/src/components/number-input/NumberInput.vue +2 -2
- package/src/components/pagination/composables/usePagination.ts +2 -3
- package/src/components/pagination/types.ts +1 -19
- package/src/components/pagination/utils/ranges.ts +1 -12
- package/src/components/password-input/PasswordInput.vue +6 -0
- package/src/components/qr-code/export.ts +1 -65
- package/src/components/range-calendar/utils/limit.ts +1 -11
- package/src/components/rating/utils/fill.ts +1 -4
- package/src/components/ripple/useRipple.ts +10 -198
- package/src/components/scroll-area/ScrollArea.vue +6 -18
- package/src/components/scroll-area/composables/useEdgeShadow.ts +7 -16
- package/src/components/scroll-area/composables/useLayerLock.ts +2 -9
- package/src/components/scroll-area/composables/useWheelRedirect.ts +2 -10
- package/src/components/scroll-area/scroll-restore.ts +1 -148
- package/src/components/search-input/SearchInput.vue +6 -0
- package/src/components/select/types.ts +1 -23
- package/src/components/split-button/split-button.variants.ts +1 -1
- package/src/components/spoiler/SpoilerPainter.ts +1 -197
- package/src/components/spoiler/utils/irisOrigin.ts +1 -40
- package/src/components/spoiler/worklet.ts +1 -199
- package/src/components/table/Table.vue +9 -0
- package/src/components/tabs/TabsList.vue +9 -0
- package/src/components/time/utils/relativeTime.ts +1 -20
- package/src/components/toast/composables/useToastLayout.ts +12 -24
- package/src/components/toast/store.ts +16 -228
- package/src/components/tree/composables/useTree.ts +17 -33
- package/src/components/tree/types.ts +1 -20
- package/src/components/tree/utils/selection.ts +1 -78
- package/src/components/tree-select/types.ts +1 -34
- package/src/components/tree-select/utils/filterTree.ts +1 -19
- package/src/components/virtual-list/composables/useVirtualList.ts +16 -42
- package/src/components/visually-hidden/VisuallyHidden.vue +21 -3
- package/src/lib/caret.ts +1 -48
- package/src/lib/collapse.ts +6 -29
- package/src/lib/date.ts +1 -111
- package/src/lib/field-focus.ts +1 -36
- package/src/lib/overlay-anchor.ts +11 -37
- package/src/lib/pointer-corridor.ts +1 -26
- package/src/lib/reka/useVirtualChoices.ts +55 -133
- package/src/lib/reka/useVirtualTree.ts +22 -65
- package/src/lib/virtual/navigation.ts +1 -26
- package/src/lib/virtual/useVirtualCollection.ts +28 -47
- package/src/lib/virtual/useVirtualWindow.ts +15 -25
- package/src/locale/en-US.ts +1 -220
- package/src/locale/index.ts +9 -53
- package/src/locale/types.ts +1 -225
- package/src/locale/zh-CN.ts +1 -215
- package/src/primitives/number-field/LICENSE +21 -0
- package/src/primitives/number-field/NumberFieldDecrement.vue +21 -0
- package/src/primitives/number-field/NumberFieldIncrement.vue +21 -0
- package/src/primitives/number-field/NumberFieldInput.vue +114 -0
- package/src/primitives/number-field/NumberFieldRoot.vue +169 -0
- package/src/primitives/number-field/context.ts +111 -0
- package/src/primitives/number-field/index.ts +14 -0
- package/src/primitives/utils/LICENSE +44 -0
- package/src/primitives/utils/timers.ts +6 -0
- package/src/primitives/utils/usePrimitiveElement.ts +12 -0
- package/src/primitives/utils/useVModel.ts +37 -0
- package/src/primitives/visually-hidden/LICENSE +21 -0
- package/src/primitives/visually-hidden/VisuallyHiddenInput.ts +97 -0
- package/src/primitives/visually-hidden/VisuallyHiddenInputBubble.vue +49 -0
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import type { UiMessages } from './types'
|
|
2
|
+
|
|
3
|
+
export const enUS: UiMessages = {
|
|
4
|
+
qrCode: {
|
|
5
|
+
label: 'QR code',
|
|
6
|
+
empty: 'No content',
|
|
7
|
+
expired: 'QR code expired',
|
|
8
|
+
scanned: 'Scanned',
|
|
9
|
+
error: 'Unable to generate QR code',
|
|
10
|
+
refresh: 'Refresh code',
|
|
11
|
+
},
|
|
12
|
+
carousel: {
|
|
13
|
+
label: 'Featured content',
|
|
14
|
+
role: 'carousel',
|
|
15
|
+
slide: 'slide',
|
|
16
|
+
prev: 'Previous group',
|
|
17
|
+
next: 'Next group',
|
|
18
|
+
choose: 'Choose a position',
|
|
19
|
+
play: 'Start rotation',
|
|
20
|
+
pause: 'Stop rotation',
|
|
21
|
+
empty: 'No content',
|
|
22
|
+
position: (index, total) => `${index} of ${total}`,
|
|
23
|
+
goTo: index => `Go to group ${index}`,
|
|
24
|
+
},
|
|
25
|
+
monthGrid: { today: 'Go to current month' },
|
|
26
|
+
masonry: { empty: 'No items' },
|
|
27
|
+
splitButton: { more: 'More actions' },
|
|
28
|
+
editable: {
|
|
29
|
+
edit: 'Edit',
|
|
30
|
+
save: 'Save',
|
|
31
|
+
placeholder: 'Click to edit',
|
|
32
|
+
failed: 'Could not save. Try again.',
|
|
33
|
+
},
|
|
34
|
+
tag: 'en-US',
|
|
35
|
+
stepper: {
|
|
36
|
+
label: 'Steps',
|
|
37
|
+
progress: (step, total) => `Step ${step} of ${total}`,
|
|
38
|
+
completed: 'Completed',
|
|
39
|
+
error: 'This step has an error',
|
|
40
|
+
},
|
|
41
|
+
common: {
|
|
42
|
+
close: 'Close',
|
|
43
|
+
copy: 'Copy',
|
|
44
|
+
copied: 'Copied',
|
|
45
|
+
clear: 'Clear',
|
|
46
|
+
loading: 'Loading',
|
|
47
|
+
confirm: 'Confirm',
|
|
48
|
+
cancel: 'Cancel',
|
|
49
|
+
},
|
|
50
|
+
banner: {
|
|
51
|
+
prev: 'Previous notice',
|
|
52
|
+
next: 'Next notice',
|
|
53
|
+
},
|
|
54
|
+
pagination: {
|
|
55
|
+
rangeLabel: (from, to, total) =>
|
|
56
|
+
total ? String(from) + '–' + to + ' of ' + total + ' items' : '0 items',
|
|
57
|
+
pageCountLabel: (page, count) => 'Page ' + page + ' of ' + count,
|
|
58
|
+
pageSizeLabel: 'Items per page',
|
|
59
|
+
pageSizeOption: n => String(n) + ' / page',
|
|
60
|
+
jumpLabel: 'Go to page',
|
|
61
|
+
previousPagesLabel: n => 'Go back ' + n + ' pages',
|
|
62
|
+
nextPagesLabel: n => 'Go forward ' + n + ' pages',
|
|
63
|
+
choosePage: 'Choose a page',
|
|
64
|
+
choosePageHint: 'Press ArrowDown or ArrowUp to choose a page',
|
|
65
|
+
navLabel: 'Pagination',
|
|
66
|
+
prev: 'Previous page',
|
|
67
|
+
next: 'Next page',
|
|
68
|
+
first: 'First page',
|
|
69
|
+
last: 'Last page',
|
|
70
|
+
pageLabel: n => `Page ${n}`,
|
|
71
|
+
totalLabel: n => `${n} items`,
|
|
72
|
+
},
|
|
73
|
+
table: {
|
|
74
|
+
edit: 'Edit',
|
|
75
|
+
save: 'Save',
|
|
76
|
+
cancel: 'Cancel',
|
|
77
|
+
editFailed: 'Could not save. Try again.',
|
|
78
|
+
selectPage: 'Select current page',
|
|
79
|
+
selectFiltered: 'Select filtered rows',
|
|
80
|
+
expand: 'Expand',
|
|
81
|
+
collapse: 'Collapse',
|
|
82
|
+
moveRow: 'Move row',
|
|
83
|
+
moveColumn: 'Move column',
|
|
84
|
+
resizeColumn: 'Resize column',
|
|
85
|
+
|
|
86
|
+
noColumns: 'No visible columns',
|
|
87
|
+
empty: 'No data',
|
|
88
|
+
loading: 'Loading',
|
|
89
|
+
sortAsc: 'Sort ascending',
|
|
90
|
+
sortDesc: 'Sort descending',
|
|
91
|
+
sortNone: 'Clear sorting',
|
|
92
|
+
selectRow: 'Select row',
|
|
93
|
+
selectAll: 'Select all',
|
|
94
|
+
},
|
|
95
|
+
select: {
|
|
96
|
+
placeholder: 'Select',
|
|
97
|
+
empty: 'No matches',
|
|
98
|
+
optionCountLabel: n => `${n} options available`,
|
|
99
|
+
},
|
|
100
|
+
upload: {
|
|
101
|
+
choose: 'Choose file',
|
|
102
|
+
dropHint: 'Drop files here, or click to browse',
|
|
103
|
+
tooLargeLabel: readableSize => `File exceeds the ${readableSize} limit`,
|
|
104
|
+
remove: 'Remove',
|
|
105
|
+
removeFile: name => `Remove ${name}`,
|
|
106
|
+
},
|
|
107
|
+
time: {
|
|
108
|
+
justNow: 'Just now',
|
|
109
|
+
unknown: 'Unknown time',
|
|
110
|
+
},
|
|
111
|
+
virtualList: { empty: 'No data' },
|
|
112
|
+
dataList: { empty: 'No data', list: 'List view', grid: 'Grid view', layout: 'Display layout' },
|
|
113
|
+
scroll: {
|
|
114
|
+
regionLabel: 'Scrollable region',
|
|
115
|
+
backToTop: 'Back to top',
|
|
116
|
+
},
|
|
117
|
+
toast: {
|
|
118
|
+
regionLabel: 'Notifications',
|
|
119
|
+
},
|
|
120
|
+
spoiler: {
|
|
121
|
+
revealLabel: 'Spoiler, click to reveal',
|
|
122
|
+
hideLabel: 'Hide spoiler',
|
|
123
|
+
},
|
|
124
|
+
codeblock: {
|
|
125
|
+
copy: 'Copy code',
|
|
126
|
+
},
|
|
127
|
+
splitter: {
|
|
128
|
+
handleLabel: 'Resize panel',
|
|
129
|
+
},
|
|
130
|
+
sidebar: {
|
|
131
|
+
navLabel: 'Sidebar navigation',
|
|
132
|
+
toggleLabel: 'Toggle sidebar',
|
|
133
|
+
},
|
|
134
|
+
anchor: {
|
|
135
|
+
navLabel: 'On this page',
|
|
136
|
+
},
|
|
137
|
+
breadcrumb: {
|
|
138
|
+
navLabel: 'Breadcrumb',
|
|
139
|
+
},
|
|
140
|
+
lightbox: {
|
|
141
|
+
zoomIn: 'Zoom in',
|
|
142
|
+
zoomOut: 'Zoom out',
|
|
143
|
+
resetZoom: 'Fit to window',
|
|
144
|
+
actualSize: 'Actual size',
|
|
145
|
+
rotate: 'Rotate',
|
|
146
|
+
download: 'Download',
|
|
147
|
+
loadingLarge: 'Loading HD',
|
|
148
|
+
},
|
|
149
|
+
chip: {
|
|
150
|
+
remove: 'Remove',
|
|
151
|
+
},
|
|
152
|
+
numberInput: {
|
|
153
|
+
increase: 'Increase',
|
|
154
|
+
decrease: 'Decrease',
|
|
155
|
+
},
|
|
156
|
+
passwordInput: {
|
|
157
|
+
show: 'Show password',
|
|
158
|
+
hide: 'Hide password',
|
|
159
|
+
},
|
|
160
|
+
tree: { empty: 'No nodes' },
|
|
161
|
+
treeSelect: {
|
|
162
|
+
search: 'Search nodes',
|
|
163
|
+
},
|
|
164
|
+
combobox: {
|
|
165
|
+
placeholder: 'Type or choose',
|
|
166
|
+
toggle: 'Show options',
|
|
167
|
+
},
|
|
168
|
+
slider: {
|
|
169
|
+
minimum: 'Minimum',
|
|
170
|
+
maximum: 'Maximum',
|
|
171
|
+
},
|
|
172
|
+
pinInput: {
|
|
173
|
+
cellLabel: (index, total) => `Digit ${index} of ${total}`,
|
|
174
|
+
},
|
|
175
|
+
dateField: {
|
|
176
|
+
year: 'Year',
|
|
177
|
+
month: 'Month',
|
|
178
|
+
day: 'Day',
|
|
179
|
+
hour: 'Hour',
|
|
180
|
+
minute: 'Minute',
|
|
181
|
+
second: 'Second',
|
|
182
|
+
dayPeriod: 'AM or PM',
|
|
183
|
+
},
|
|
184
|
+
dateRangeField: {
|
|
185
|
+
start: 'start date',
|
|
186
|
+
end: 'end date',
|
|
187
|
+
separator: '–',
|
|
188
|
+
},
|
|
189
|
+
datePicker: {
|
|
190
|
+
open: 'Open calendar',
|
|
191
|
+
},
|
|
192
|
+
dateTimePicker: {
|
|
193
|
+
time: 'Time',
|
|
194
|
+
},
|
|
195
|
+
rating: {
|
|
196
|
+
star: value => `${value} ${value === 1 ? 'star' : 'stars'}`,
|
|
197
|
+
label: (value, max) => `${value} out of ${max} stars`,
|
|
198
|
+
score: (value, max) => `${value} out of ${max} points`,
|
|
199
|
+
},
|
|
200
|
+
form: {
|
|
201
|
+
required: 'Required',
|
|
202
|
+
},
|
|
203
|
+
command: {
|
|
204
|
+
label: 'Command palette',
|
|
205
|
+
placeholder: 'Search',
|
|
206
|
+
empty: 'No matches',
|
|
207
|
+
},
|
|
208
|
+
calendar: {
|
|
209
|
+
label: 'Calendar',
|
|
210
|
+
prev: 'Previous month',
|
|
211
|
+
next: 'Next month',
|
|
212
|
+
prevYear: 'Previous year',
|
|
213
|
+
nextYear: 'Next year',
|
|
214
|
+
prevYears: 'Previous twelve years',
|
|
215
|
+
nextYears: 'Next twelve years',
|
|
216
|
+
pickMonth: 'Choose a month',
|
|
217
|
+
pickYear: 'Choose a year',
|
|
218
|
+
weekStartsOn: 0,
|
|
219
|
+
},
|
|
220
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { PartialUiMessages, UiMessages } from './types'
|
|
2
|
+
|
|
3
|
+
export function mergeUiMessages(base: UiMessages, patch: PartialUiMessages): UiMessages {
|
|
4
|
+
return {
|
|
5
|
+
qrCode: { ...base.qrCode, ...patch.qrCode },
|
|
6
|
+
carousel: { ...base.carousel, ...patch.carousel },
|
|
7
|
+
monthGrid: { ...base.monthGrid, ...patch.monthGrid },
|
|
8
|
+
masonry: { ...base.masonry, ...patch.masonry },
|
|
9
|
+
splitButton: { ...base.splitButton, ...patch.splitButton },
|
|
10
|
+
editable: { ...base.editable, ...patch.editable },
|
|
11
|
+
tag: patch.tag ?? base.tag,
|
|
12
|
+
common: { ...base.common, ...patch.common },
|
|
13
|
+
stepper: { ...base.stepper, ...patch.stepper },
|
|
14
|
+
banner: { ...base.banner, ...patch.banner },
|
|
15
|
+
pagination: { ...base.pagination, ...patch.pagination },
|
|
16
|
+
table: { ...base.table, ...patch.table },
|
|
17
|
+
select: { ...base.select, ...patch.select },
|
|
18
|
+
upload: { ...base.upload, ...patch.upload },
|
|
19
|
+
time: { ...base.time, ...patch.time },
|
|
20
|
+
scroll: { ...base.scroll, ...patch.scroll },
|
|
21
|
+
virtualList: { ...base.virtualList, ...patch.virtualList },
|
|
22
|
+
dataList: { ...base.dataList, ...patch.dataList },
|
|
23
|
+
toast: { ...base.toast, ...patch.toast },
|
|
24
|
+
spoiler: { ...base.spoiler, ...patch.spoiler },
|
|
25
|
+
codeblock: { ...base.codeblock, ...patch.codeblock },
|
|
26
|
+
splitter: { ...base.splitter, ...patch.splitter },
|
|
27
|
+
sidebar: { ...base.sidebar, ...patch.sidebar },
|
|
28
|
+
anchor: { ...base.anchor, ...patch.anchor },
|
|
29
|
+
breadcrumb: { ...base.breadcrumb, ...patch.breadcrumb },
|
|
30
|
+
lightbox: { ...base.lightbox, ...patch.lightbox },
|
|
31
|
+
chip: { ...base.chip, ...patch.chip },
|
|
32
|
+
numberInput: { ...base.numberInput, ...patch.numberInput },
|
|
33
|
+
passwordInput: { ...base.passwordInput, ...patch.passwordInput },
|
|
34
|
+
tree: { ...base.tree, ...patch.tree },
|
|
35
|
+
treeSelect: { ...base.treeSelect, ...patch.treeSelect },
|
|
36
|
+
combobox: { ...base.combobox, ...patch.combobox },
|
|
37
|
+
slider: { ...base.slider, ...patch.slider },
|
|
38
|
+
pinInput: { ...base.pinInput, ...patch.pinInput },
|
|
39
|
+
dateField: { ...base.dateField, ...patch.dateField },
|
|
40
|
+
dateRangeField: { ...base.dateRangeField, ...patch.dateRangeField },
|
|
41
|
+
calendar: { ...base.calendar, ...patch.calendar },
|
|
42
|
+
datePicker: { ...base.datePicker, ...patch.datePicker },
|
|
43
|
+
dateTimePicker: { ...base.dateTimePicker, ...patch.dateTimePicker },
|
|
44
|
+
rating: { ...base.rating, ...patch.rating },
|
|
45
|
+
form: { ...base.form, ...patch.form },
|
|
46
|
+
command: { ...base.command, ...patch.command },
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { zhCN } from './zh-CN'
|
|
51
|
+
export { enUS } from './en-US'
|
|
52
|
+
export type { UiMessages, PartialUiMessages } from './types'
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
export interface UiMessages {
|
|
2
|
+
qrCode: {
|
|
3
|
+
label: string
|
|
4
|
+
empty: string
|
|
5
|
+
expired: string
|
|
6
|
+
scanned: string
|
|
7
|
+
error: string
|
|
8
|
+
refresh: string
|
|
9
|
+
}
|
|
10
|
+
carousel: {
|
|
11
|
+
label: string
|
|
12
|
+
role: string
|
|
13
|
+
slide: string
|
|
14
|
+
prev: string
|
|
15
|
+
next: string
|
|
16
|
+
choose: string
|
|
17
|
+
play: string
|
|
18
|
+
pause: string
|
|
19
|
+
empty: string
|
|
20
|
+
position: (index: number, total: number) => string
|
|
21
|
+
goTo: (index: number) => string
|
|
22
|
+
}
|
|
23
|
+
monthGrid: { today: string }
|
|
24
|
+
masonry: { empty: string }
|
|
25
|
+
splitButton: { more: string }
|
|
26
|
+
editable: { edit: string; save: string; placeholder: string; failed: string }
|
|
27
|
+
tag: string
|
|
28
|
+
stepper: {
|
|
29
|
+
label: string
|
|
30
|
+
progress: (step: number, total: number) => string
|
|
31
|
+
completed: string
|
|
32
|
+
error: string
|
|
33
|
+
}
|
|
34
|
+
common: {
|
|
35
|
+
close: string
|
|
36
|
+
copy: string
|
|
37
|
+
copied: string
|
|
38
|
+
clear: string
|
|
39
|
+
loading: string
|
|
40
|
+
confirm: string
|
|
41
|
+
cancel: string
|
|
42
|
+
}
|
|
43
|
+
banner: {
|
|
44
|
+
prev: string
|
|
45
|
+
next: string
|
|
46
|
+
}
|
|
47
|
+
pagination: {
|
|
48
|
+
rangeLabel: (from: number, to: number, total: number) => string
|
|
49
|
+
pageCountLabel: (page: number, count: number) => string
|
|
50
|
+
pageSizeLabel: string
|
|
51
|
+
pageSizeOption: (n: number) => string
|
|
52
|
+
jumpLabel: string
|
|
53
|
+
previousPagesLabel: (n: number) => string
|
|
54
|
+
nextPagesLabel: (n: number) => string
|
|
55
|
+
choosePage: string
|
|
56
|
+
choosePageHint: string
|
|
57
|
+
navLabel: string
|
|
58
|
+
prev: string
|
|
59
|
+
next: string
|
|
60
|
+
first: string
|
|
61
|
+
last: string
|
|
62
|
+
pageLabel: (n: number) => string
|
|
63
|
+
totalLabel: (n: number) => string
|
|
64
|
+
}
|
|
65
|
+
table: {
|
|
66
|
+
edit: string
|
|
67
|
+
save: string
|
|
68
|
+
cancel: string
|
|
69
|
+
editFailed: string
|
|
70
|
+
selectPage: string
|
|
71
|
+
selectFiltered: string
|
|
72
|
+
expand: string
|
|
73
|
+
collapse: string
|
|
74
|
+
moveRow: string
|
|
75
|
+
moveColumn: string
|
|
76
|
+
resizeColumn: string
|
|
77
|
+
|
|
78
|
+
noColumns: string
|
|
79
|
+
empty: string
|
|
80
|
+
loading: string
|
|
81
|
+
sortAsc: string
|
|
82
|
+
sortDesc: string
|
|
83
|
+
sortNone: string
|
|
84
|
+
selectRow: string
|
|
85
|
+
selectAll: string
|
|
86
|
+
}
|
|
87
|
+
select: {
|
|
88
|
+
placeholder: string
|
|
89
|
+
empty: string
|
|
90
|
+
optionCountLabel: (n: number) => string
|
|
91
|
+
}
|
|
92
|
+
upload: {
|
|
93
|
+
choose: string
|
|
94
|
+
dropHint: string
|
|
95
|
+
tooLargeLabel: (readableSize: string) => string
|
|
96
|
+
remove: string
|
|
97
|
+
removeFile: (name: string) => string
|
|
98
|
+
}
|
|
99
|
+
time: {
|
|
100
|
+
justNow: string
|
|
101
|
+
unknown: string
|
|
102
|
+
}
|
|
103
|
+
scroll: {
|
|
104
|
+
regionLabel: string
|
|
105
|
+
backToTop: string
|
|
106
|
+
}
|
|
107
|
+
virtualList: {
|
|
108
|
+
empty: string
|
|
109
|
+
}
|
|
110
|
+
dataList: {
|
|
111
|
+
empty: string
|
|
112
|
+
list: string
|
|
113
|
+
grid: string
|
|
114
|
+
layout: string
|
|
115
|
+
}
|
|
116
|
+
toast: {
|
|
117
|
+
regionLabel: string
|
|
118
|
+
}
|
|
119
|
+
spoiler: {
|
|
120
|
+
revealLabel: string
|
|
121
|
+
hideLabel: string
|
|
122
|
+
}
|
|
123
|
+
codeblock: {
|
|
124
|
+
copy: string
|
|
125
|
+
}
|
|
126
|
+
splitter: {
|
|
127
|
+
handleLabel: string
|
|
128
|
+
}
|
|
129
|
+
sidebar: {
|
|
130
|
+
navLabel: string
|
|
131
|
+
toggleLabel: string
|
|
132
|
+
}
|
|
133
|
+
anchor: {
|
|
134
|
+
navLabel: string
|
|
135
|
+
}
|
|
136
|
+
breadcrumb: {
|
|
137
|
+
navLabel: string
|
|
138
|
+
}
|
|
139
|
+
lightbox: {
|
|
140
|
+
zoomIn: string
|
|
141
|
+
zoomOut: string
|
|
142
|
+
resetZoom: string
|
|
143
|
+
actualSize: string
|
|
144
|
+
rotate: string
|
|
145
|
+
download: string
|
|
146
|
+
loadingLarge: string
|
|
147
|
+
}
|
|
148
|
+
chip: {
|
|
149
|
+
remove: string
|
|
150
|
+
}
|
|
151
|
+
numberInput: {
|
|
152
|
+
increase: string
|
|
153
|
+
decrease: string
|
|
154
|
+
}
|
|
155
|
+
passwordInput: {
|
|
156
|
+
show: string
|
|
157
|
+
hide: string
|
|
158
|
+
}
|
|
159
|
+
tree: {
|
|
160
|
+
empty: string
|
|
161
|
+
}
|
|
162
|
+
treeSelect: {
|
|
163
|
+
search: string
|
|
164
|
+
}
|
|
165
|
+
combobox: {
|
|
166
|
+
placeholder: string
|
|
167
|
+
toggle: string
|
|
168
|
+
}
|
|
169
|
+
slider: {
|
|
170
|
+
minimum: string
|
|
171
|
+
maximum: string
|
|
172
|
+
}
|
|
173
|
+
pinInput: {
|
|
174
|
+
cellLabel: (index: number, total: number) => string
|
|
175
|
+
}
|
|
176
|
+
dateField: {
|
|
177
|
+
year: string
|
|
178
|
+
month: string
|
|
179
|
+
day: string
|
|
180
|
+
hour: string
|
|
181
|
+
minute: string
|
|
182
|
+
second: string
|
|
183
|
+
dayPeriod: string
|
|
184
|
+
}
|
|
185
|
+
dateRangeField: {
|
|
186
|
+
start: string
|
|
187
|
+
end: string
|
|
188
|
+
separator: string
|
|
189
|
+
}
|
|
190
|
+
datePicker: {
|
|
191
|
+
open: string
|
|
192
|
+
}
|
|
193
|
+
dateTimePicker: {
|
|
194
|
+
time: string
|
|
195
|
+
}
|
|
196
|
+
rating: {
|
|
197
|
+
star: (value: number) => string
|
|
198
|
+
label: (value: number, max: number) => string
|
|
199
|
+
score: (value: number, max: number) => string
|
|
200
|
+
}
|
|
201
|
+
form: {
|
|
202
|
+
required: string
|
|
203
|
+
}
|
|
204
|
+
command: {
|
|
205
|
+
label: string
|
|
206
|
+
placeholder: string
|
|
207
|
+
empty: string
|
|
208
|
+
}
|
|
209
|
+
calendar: {
|
|
210
|
+
label: string
|
|
211
|
+
prev: string
|
|
212
|
+
next: string
|
|
213
|
+
prevYear: string
|
|
214
|
+
nextYear: string
|
|
215
|
+
prevYears: string
|
|
216
|
+
nextYears: string
|
|
217
|
+
pickMonth: string
|
|
218
|
+
pickYear: string
|
|
219
|
+
weekStartsOn: 0 | 1 | 2 | 3 | 4 | 5 | 6
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export type PartialUiMessages = {
|
|
224
|
+
[K in keyof UiMessages]?: UiMessages[K] extends object ? Partial<UiMessages[K]> : UiMessages[K]
|
|
225
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import type { UiMessages } from './types'
|
|
2
|
+
|
|
3
|
+
export const zhCN: UiMessages = {
|
|
4
|
+
qrCode: {
|
|
5
|
+
label: '二维码',
|
|
6
|
+
empty: '暂无内容',
|
|
7
|
+
expired: '二维码已过期',
|
|
8
|
+
scanned: '已扫描',
|
|
9
|
+
error: '无法生成二维码',
|
|
10
|
+
refresh: '刷新二维码',
|
|
11
|
+
},
|
|
12
|
+
carousel: {
|
|
13
|
+
label: '推荐内容',
|
|
14
|
+
role: '轮播',
|
|
15
|
+
slide: '内容项',
|
|
16
|
+
prev: '上一组',
|
|
17
|
+
next: '下一组',
|
|
18
|
+
choose: '选择展示位置',
|
|
19
|
+
play: '开始自动播放',
|
|
20
|
+
pause: '暂停自动播放',
|
|
21
|
+
empty: '暂无内容',
|
|
22
|
+
position: (index, total) => `第 ${index} 项,共 ${total} 项`,
|
|
23
|
+
goTo: index => `转到第 ${index} 组`,
|
|
24
|
+
},
|
|
25
|
+
monthGrid: { today: '回到本月' },
|
|
26
|
+
masonry: { empty: '暂无内容' },
|
|
27
|
+
splitButton: { more: '更多操作' },
|
|
28
|
+
editable: { edit: '编辑', save: '保存', placeholder: '点击编辑', failed: '保存失败,请重试' },
|
|
29
|
+
tag: 'zh-CN',
|
|
30
|
+
stepper: {
|
|
31
|
+
label: '步骤',
|
|
32
|
+
progress: (step, total) => `第 ${step} 步,共 ${total} 步`,
|
|
33
|
+
completed: '已完成',
|
|
34
|
+
error: '该步骤存在错误',
|
|
35
|
+
},
|
|
36
|
+
common: {
|
|
37
|
+
close: '关闭',
|
|
38
|
+
copy: '复制',
|
|
39
|
+
copied: '已复制',
|
|
40
|
+
clear: '清除',
|
|
41
|
+
loading: '加载中',
|
|
42
|
+
confirm: '确定',
|
|
43
|
+
cancel: '取消',
|
|
44
|
+
},
|
|
45
|
+
banner: {
|
|
46
|
+
prev: '上一条',
|
|
47
|
+
next: '下一条',
|
|
48
|
+
},
|
|
49
|
+
pagination: {
|
|
50
|
+
rangeLabel: (from, to, total) =>
|
|
51
|
+
total ? String(from) + '–' + to + ' / 共 ' + total + ' 条' : '共 0 条',
|
|
52
|
+
pageCountLabel: (page, count) => '第 ' + page + ' / ' + count + ' 页',
|
|
53
|
+
pageSizeLabel: '每页条数',
|
|
54
|
+
pageSizeOption: n => String(n) + ' / 页',
|
|
55
|
+
jumpLabel: '跳至页码',
|
|
56
|
+
previousPagesLabel: n => '向前跳 ' + n + ' 页',
|
|
57
|
+
nextPagesLabel: n => '向后跳 ' + n + ' 页',
|
|
58
|
+
choosePage: '选择页码',
|
|
59
|
+
choosePageHint: '按向下或向上箭头选择页码',
|
|
60
|
+
navLabel: '翻页',
|
|
61
|
+
prev: '上一页',
|
|
62
|
+
next: '下一页',
|
|
63
|
+
first: '首页',
|
|
64
|
+
last: '末页',
|
|
65
|
+
pageLabel: n => `第 ${n} 页`,
|
|
66
|
+
totalLabel: n => `共 ${n} 条`,
|
|
67
|
+
},
|
|
68
|
+
table: {
|
|
69
|
+
edit: '编辑',
|
|
70
|
+
save: '保存',
|
|
71
|
+
cancel: '取消',
|
|
72
|
+
editFailed: '保存失败,请重试',
|
|
73
|
+
selectPage: '选择当前页',
|
|
74
|
+
selectFiltered: '选择筛选结果',
|
|
75
|
+
expand: '展开',
|
|
76
|
+
collapse: '收起',
|
|
77
|
+
moveRow: '移动行',
|
|
78
|
+
moveColumn: '移动列',
|
|
79
|
+
resizeColumn: '调整列宽',
|
|
80
|
+
|
|
81
|
+
noColumns: '没有可见列',
|
|
82
|
+
empty: '暂无数据',
|
|
83
|
+
loading: '加载中',
|
|
84
|
+
sortAsc: '升序排列',
|
|
85
|
+
sortDesc: '降序排列',
|
|
86
|
+
sortNone: '取消排序',
|
|
87
|
+
selectRow: '选择此行',
|
|
88
|
+
selectAll: '全选',
|
|
89
|
+
},
|
|
90
|
+
select: {
|
|
91
|
+
placeholder: '请选择',
|
|
92
|
+
empty: '无匹配项',
|
|
93
|
+
optionCountLabel: n => `${n} 个选项可用`,
|
|
94
|
+
},
|
|
95
|
+
upload: {
|
|
96
|
+
choose: '选择文件',
|
|
97
|
+
dropHint: '拖拽文件到此处,或点击选择',
|
|
98
|
+
tooLargeLabel: readableSize => `文件超出 ${readableSize} 上限`,
|
|
99
|
+
remove: '移除',
|
|
100
|
+
removeFile: name => `移除 ${name}`,
|
|
101
|
+
},
|
|
102
|
+
time: {
|
|
103
|
+
justNow: '刚刚',
|
|
104
|
+
unknown: '未知时间',
|
|
105
|
+
},
|
|
106
|
+
virtualList: { empty: '暂无数据' },
|
|
107
|
+
dataList: { empty: '暂无数据', list: '列表视图', grid: '网格视图', layout: '展示布局' },
|
|
108
|
+
scroll: {
|
|
109
|
+
regionLabel: '可滚动区域',
|
|
110
|
+
backToTop: '返回顶部',
|
|
111
|
+
},
|
|
112
|
+
toast: {
|
|
113
|
+
regionLabel: '通知',
|
|
114
|
+
},
|
|
115
|
+
spoiler: {
|
|
116
|
+
revealLabel: '剧透内容,点击显示',
|
|
117
|
+
hideLabel: '隐藏剧透',
|
|
118
|
+
},
|
|
119
|
+
codeblock: {
|
|
120
|
+
copy: '复制代码',
|
|
121
|
+
},
|
|
122
|
+
splitter: {
|
|
123
|
+
handleLabel: '调整面板大小',
|
|
124
|
+
},
|
|
125
|
+
sidebar: {
|
|
126
|
+
navLabel: '侧边导航',
|
|
127
|
+
toggleLabel: '切换侧栏',
|
|
128
|
+
},
|
|
129
|
+
anchor: {
|
|
130
|
+
navLabel: '本页目录',
|
|
131
|
+
},
|
|
132
|
+
breadcrumb: {
|
|
133
|
+
navLabel: '面包屑',
|
|
134
|
+
},
|
|
135
|
+
lightbox: {
|
|
136
|
+
zoomIn: '放大',
|
|
137
|
+
zoomOut: '缩小',
|
|
138
|
+
resetZoom: '适应窗口',
|
|
139
|
+
actualSize: '原始尺寸',
|
|
140
|
+
rotate: '旋转',
|
|
141
|
+
download: '下载',
|
|
142
|
+
loadingLarge: '正在加载原图',
|
|
143
|
+
},
|
|
144
|
+
chip: {
|
|
145
|
+
remove: '移除',
|
|
146
|
+
},
|
|
147
|
+
numberInput: {
|
|
148
|
+
increase: '增加',
|
|
149
|
+
decrease: '减少',
|
|
150
|
+
},
|
|
151
|
+
passwordInput: {
|
|
152
|
+
show: '显示密码',
|
|
153
|
+
hide: '隐藏密码',
|
|
154
|
+
},
|
|
155
|
+
tree: { empty: '暂无节点' },
|
|
156
|
+
treeSelect: {
|
|
157
|
+
search: '搜索节点',
|
|
158
|
+
},
|
|
159
|
+
combobox: {
|
|
160
|
+
placeholder: '输入或选择',
|
|
161
|
+
toggle: '展开选项',
|
|
162
|
+
},
|
|
163
|
+
slider: {
|
|
164
|
+
minimum: '最小值',
|
|
165
|
+
maximum: '最大值',
|
|
166
|
+
},
|
|
167
|
+
pinInput: {
|
|
168
|
+
cellLabel: (index, total) => `第 ${index} 位,共 ${total} 位`,
|
|
169
|
+
},
|
|
170
|
+
dateField: {
|
|
171
|
+
year: '年',
|
|
172
|
+
month: '月',
|
|
173
|
+
day: '日',
|
|
174
|
+
hour: '时',
|
|
175
|
+
minute: '分',
|
|
176
|
+
second: '秒',
|
|
177
|
+
dayPeriod: '上午或下午',
|
|
178
|
+
},
|
|
179
|
+
dateRangeField: {
|
|
180
|
+
start: '开始日期',
|
|
181
|
+
end: '结束日期',
|
|
182
|
+
separator: '至',
|
|
183
|
+
},
|
|
184
|
+
datePicker: {
|
|
185
|
+
open: '打开日历',
|
|
186
|
+
},
|
|
187
|
+
dateTimePicker: {
|
|
188
|
+
time: '时间',
|
|
189
|
+
},
|
|
190
|
+
rating: {
|
|
191
|
+
star: value => `${value} 星`,
|
|
192
|
+
label: (value, max) => `${value} 星,满分 ${max} 星`,
|
|
193
|
+
score: (value, max) => `${value} 分,满分 ${max} 分`,
|
|
194
|
+
},
|
|
195
|
+
form: {
|
|
196
|
+
required: '必填',
|
|
197
|
+
},
|
|
198
|
+
command: {
|
|
199
|
+
label: '命令面板',
|
|
200
|
+
placeholder: '搜索',
|
|
201
|
+
empty: '无匹配项',
|
|
202
|
+
},
|
|
203
|
+
calendar: {
|
|
204
|
+
label: '日历',
|
|
205
|
+
prev: '上个月',
|
|
206
|
+
next: '下个月',
|
|
207
|
+
prevYear: '上一年',
|
|
208
|
+
nextYear: '下一年',
|
|
209
|
+
prevYears: '前十二年',
|
|
210
|
+
nextYears: '后十二年',
|
|
211
|
+
pickMonth: '选择月份',
|
|
212
|
+
pickYear: '选择年份',
|
|
213
|
+
weekStartsOn: 1,
|
|
214
|
+
},
|
|
215
|
+
}
|