x-next 1.0.0 → 1.1.0
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/CHANGELOG.md +47 -0
- package/LICENSE +21 -0
- package/README.md +12 -0
- package/dist/_hooks/use-form-item.d.ts +5 -3
- package/dist/_styles/palette-aliases.d.ts +1 -0
- package/dist/_utils/helpers.d.ts +0 -9
- package/dist/_utils/palette.d.ts +85 -0
- package/dist/components/_components/feedback-icon/index.vue.d.ts +156 -12
- package/dist/components/_components/icon-hover/index.vue.d.ts +13 -0
- package/dist/components/_components/input-label/input-label.d.ts +3 -1
- package/dist/components/_components/picker/input-range.vue.d.ts +223 -15
- package/dist/components/_components/picker/input.vue.d.ts +223 -15
- package/dist/components/_components/select-view/select-view.d.ts +3 -1
- package/dist/components/alert/Alert.vue.d.ts +207 -15
- package/dist/components/alert/index.d.ts +414 -30
- package/dist/components/button/Button.d.ts +12 -3
- package/dist/components/button/index.d.ts +24 -7
- package/dist/components/button/props.d.ts +6 -1
- package/dist/components/config-provider/ConfigProvider.d.ts +93 -0
- package/dist/components/config-provider/context.d.ts +18 -0
- package/dist/components/config-provider/index.d.ts +99 -0
- package/dist/components/date-picker/DatePanel.vue.d.ts +2 -1
- package/dist/components/date-picker/DatePicker.vue.d.ts +524 -66
- package/dist/components/date-picker/index.d.ts +1050 -133
- package/dist/components/date-picker/utils.d.ts +16 -6
- package/dist/components/dialog/Dialog.d.ts +1 -1
- package/dist/components/dialog/index.d.ts +7 -3
- package/dist/components/drawer/index.d.ts +101 -68
- package/dist/components/drawer/src/Drawer.vue.d.ts +49 -33
- package/dist/components/dropdown/Dropdown.vue.d.ts +16 -0
- package/dist/components/dropdown/DropdownButton.vue.d.ts +94 -27
- package/dist/components/dropdown/DropdownSubmenu.vue.d.ts +55 -3
- package/dist/components/dropdown/dropdown-panel.vue.d.ts +16 -0
- package/dist/components/dropdown/index.d.ts +378 -108
- package/dist/components/empty/Empty.d.ts +19 -0
- package/dist/components/empty/index.d.ts +15 -0
- package/dist/components/form/FormItem.vue.d.ts +39 -22
- package/dist/components/form/context.d.ts +0 -1
- package/dist/components/form/form-item-label.vue.d.ts +39 -3
- package/dist/components/form/index.d.ts +121 -61
- package/dist/components/form/interface.d.ts +12 -0
- package/dist/components/form-checkbox/Checkbox.d.ts +12 -0
- package/dist/components/form-checkbox/CheckboxGroup.d.ts +1 -1
- package/dist/components/form-checkbox/index.d.ts +27 -3
- package/dist/components/form-input/InputPassword.vue.d.ts +91 -6
- package/dist/components/form-input/index.d.ts +183 -12
- package/dist/components/form-input-number/InputNumber.d.ts +1 -1
- package/dist/components/form-input-number/index.d.ts +3 -3
- package/dist/components/form-input-tag/InputTag.d.ts +3 -1
- package/dist/components/form-input-tag/index.d.ts +6 -3
- package/dist/components/form-radio/Radio.d.ts +12 -0
- package/dist/components/form-radio/RadioGroup.d.ts +1 -1
- package/dist/components/form-radio/index.d.ts +27 -3
- package/dist/components/form-select/Select.d.ts +4 -2
- package/dist/components/form-select/SelectDropdown.vue.d.ts +21 -1
- package/dist/components/form-select/SelectOption.vue.d.ts +13 -0
- package/dist/components/form-select/context.d.ts +1 -0
- package/dist/components/form-select/hooks/use-select.d.ts +2 -1
- package/dist/components/form-select/index.d.ts +78 -8
- package/dist/components/form-slider/Slider.vue.d.ts +23 -5
- package/dist/components/form-slider/index.d.ts +35 -11
- package/dist/components/form-slider/slider-button.vue.d.ts +5 -1
- package/dist/components/form-slider/slider-input.vue.d.ts +3 -3
- package/dist/components/form-switch/Switch.vue.d.ts +39 -3
- package/dist/components/form-switch/index.d.ts +78 -6
- package/dist/components/form-textarea/Textarea.vue.d.ts +53 -4
- package/dist/components/form-textarea/index.d.ts +108 -9
- package/dist/components/image/Image.vue.d.ts +237 -19
- package/dist/components/image/ImagePreview.vue.d.ts +158 -12
- package/dist/components/image/ImagePreviewGroup.vue.d.ts +158 -12
- package/dist/components/image/index.d.ts +1109 -88
- package/dist/components/image/preview-arrow.vue.d.ts +79 -6
- package/dist/components/index.d.ts +1 -1
- package/dist/components/layout/LayoutSidebar.vue.d.ts +78 -6
- package/dist/components/layout/index.d.ts +156 -12
- package/dist/components/link/Link.vue.d.ts +79 -7
- package/dist/components/link/index.d.ts +159 -15
- package/dist/components/menu/Menu.d.ts +79 -6
- package/dist/components/menu/base-menu.vue.d.ts +79 -6
- package/dist/components/menu/index.d.ts +158 -12
- package/dist/components/menu/sub-menu-pop.vue.d.ts +79 -6
- package/dist/components/message/index.d.ts +573 -45
- package/dist/components/message/message.vue.d.ts +286 -22
- package/dist/components/pagination/page-item-ellipsis.vue.d.ts +41 -3
- package/dist/components/pagination/page-item-step.vue.d.ts +79 -6
- package/dist/components/pagination/page-jumper.vue.d.ts +4 -3
- package/dist/components/pagination/page-options.vue.d.ts +9 -5
- package/dist/components/popconfirm/index.d.ts +14 -14
- package/dist/components/popconfirm/src/Popconfirm.d.ts +7 -7
- package/dist/components/popconfirm/src/popup.vue.d.ts +91 -39
- package/dist/components/popconfirm/src/props.d.ts +2 -2
- package/dist/components/progress/Progress.vue.d.ts +159 -15
- package/dist/components/progress/circle.vue.d.ts +78 -6
- package/dist/components/progress/index.d.ts +318 -30
- package/dist/components/progress/line.vue.d.ts +42 -6
- package/dist/components/progress/steps.vue.d.ts +39 -3
- package/dist/components/rate/Rate.d.ts +2 -2
- package/dist/components/rate/index.d.ts +6 -6
- package/dist/components/skeleton/Skeleton.vue.d.ts +1 -1
- package/dist/components/skeleton/index.d.ts +3 -3
- package/dist/components/steps/Step.vue.d.ts +78 -6
- package/dist/components/steps/index.d.ts +156 -12
- package/dist/components/table/Table.d.ts +8 -14
- package/dist/components/table/hooks/use-drag.d.ts +0 -1
- package/dist/components/table/hooks/use-pagination.d.ts +3 -2
- package/dist/components/table/index.d.ts +25 -27
- package/dist/components/table/interface.d.ts +6 -1
- package/dist/components/table/locale.d.ts +23 -0
- package/dist/components/table/table-operation-td.d.ts +48 -98
- package/dist/components/table/table-td.d.ts +1 -1
- package/dist/components/table/table-tr.d.ts +1 -1
- package/dist/components/tabs/tabs-tab.vue.d.ts +52 -3
- package/dist/components/tag/Tag.vue.d.ts +93 -8
- package/dist/components/tag/index.d.ts +189 -18
- package/dist/components/time-picker/TimePanel.vue.d.ts +47 -31
- package/dist/components/time-picker/TimePicker.vue.d.ts +559 -67
- package/dist/components/time-picker/index.d.ts +1160 -140
- package/dist/components/trend-chart/themes.d.ts +2 -0
- package/dist/es/_container/client-only.js +16 -0
- package/dist/es/_container/render-function.js +16 -0
- package/dist/es/_container/resize-observer-v2.js +45 -0
- package/dist/es/_container/resize-observer.js +36 -0
- package/dist/es/_container/resize-trigger.vue.js +39 -0
- package/dist/es/_container/resize-trigger.vue2.js +58 -0
- package/dist/es/_hooks/use-children-components.js +17 -0
- package/dist/es/_hooks/use-component-ref.js +16 -0
- package/dist/es/_hooks/use-cursor.js +36 -0
- package/dist/es/_hooks/use-first-element.js +15 -0
- package/dist/es/_hooks/use-form-item.js +16 -0
- package/dist/es/_hooks/use-index.js +32 -0
- package/dist/es/_hooks/use-input.js +59 -0
- package/dist/es/_hooks/use-merge-state.js +16 -0
- package/dist/es/_hooks/use-overflow.js +46 -0
- package/dist/es/_hooks/use-pick-slots.js +11 -0
- package/dist/es/_hooks/use-popup-container.js +12 -0
- package/dist/es/_hooks/use-popup-manager.js +51 -0
- package/dist/es/_hooks/use-popup-overflow-hidden.js +29 -0
- package/dist/es/_hooks/use-pure-prop.js +11 -0
- package/dist/es/_hooks/use-resize-observer.js +22 -0
- package/dist/es/_hooks/use-responsive.js +20 -0
- package/dist/es/_hooks/use-scrollbar.js +18 -0
- package/dist/es/_hooks/use-size.js +16 -0
- package/dist/es/_hooks/use-state.js +10 -0
- package/dist/es/_hooks/use-teleport-container.js +22 -0
- package/dist/es/_hooks/use-trigger.js +19 -0
- package/dist/es/_styles/palette-aliases.js +188 -0
- package/dist/es/_utils/array.js +4 -0
- package/dist/es/_utils/config.js +15 -0
- package/dist/es/_utils/constant.js +56 -0
- package/dist/es/_utils/convert-case.js +5 -0
- package/dist/es/_utils/date.js +63 -0
- package/dist/es/_utils/debounce.js +12 -0
- package/dist/es/_utils/dom.js +102 -0
- package/dist/es/_utils/get-value-by-path.js +35 -0
- package/dist/es/_utils/helpers.js +27 -0
- package/dist/es/_utils/is-equal.js +30 -0
- package/dist/es/_utils/is.js +56 -0
- package/dist/es/_utils/keyboard.js +36 -0
- package/dist/es/_utils/keycode.js +9 -0
- package/dist/es/_utils/omit.js +9 -0
- package/dist/es/_utils/palette.js +57 -0
- package/dist/es/_utils/pick.js +10 -0
- package/dist/es/_utils/raf.js +5 -0
- package/dist/es/_utils/responsive-observe.js +60 -0
- package/dist/es/_utils/style.js +17 -0
- package/dist/es/_utils/throttle-by-raf.js +15 -0
- package/dist/es/_utils/use-prop-or-slot.js +7 -0
- package/dist/es/_utils/vue-eco.js +137 -0
- package/dist/es/_virtual/_commonjsHelpers.js +6 -0
- package/dist/es/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/es/_virtual/advancedFormat.js +7 -0
- package/dist/es/_virtual/advancedFormat2.js +4 -0
- package/dist/es/_virtual/customParseFormat.js +7 -0
- package/dist/es/_virtual/customParseFormat2.js +4 -0
- package/dist/es/_virtual/dayjs.min.js +7 -0
- package/dist/es/_virtual/dayjs.min2.js +4 -0
- package/dist/es/_virtual/isBetween.js +7 -0
- package/dist/es/_virtual/isBetween2.js +4 -0
- package/dist/es/_virtual/quarterOfYear.js +7 -0
- package/dist/es/_virtual/quarterOfYear2.js +4 -0
- package/dist/es/_virtual/weekOfYear.js +7 -0
- package/dist/es/_virtual/weekOfYear2.js +4 -0
- package/dist/es/_virtual/weekYear.js +7 -0
- package/dist/es/_virtual/weekYear2.js +4 -0
- package/dist/es/_virtual/zh-cn.js +2 -0
- package/dist/es/_virtual/zh-cn2.js +4 -0
- package/dist/es/components/_components/auto-tooltip/auto-tooltip.js +71 -0
- package/dist/es/components/_components/feedback-icon/index.vue.js +15 -0
- package/dist/es/components/_components/feedback-icon/index.vue2.js +29 -0
- package/dist/es/components/_components/icon-hover/index.vue.js +30 -0
- package/dist/es/components/_components/icon-hover/index.vue2.js +45 -0
- package/dist/es/components/_components/input-label/input-label.js +141 -0
- package/dist/es/components/_components/picker/input-range.vue.js +92 -0
- package/dist/es/components/_components/picker/input-range.vue2.js +163 -0
- package/dist/es/components/_components/picker/input.vue.js +63 -0
- package/dist/es/components/_components/picker/input.vue2.js +114 -0
- package/dist/es/components/_components/select-view/select-view.js +226 -0
- package/dist/es/components/_components/transition/expand-transition.vue.js +22 -0
- package/dist/es/components/_components/transition/expand-transition.vue2.js +29 -0
- package/dist/es/components/alert/Alert.vue.js +73 -0
- package/dist/es/components/alert/Alert.vue2.js +163 -0
- package/dist/es/components/alert/index.js +8 -0
- package/dist/es/components/button/Button.js +73 -0
- package/dist/es/components/button/ButtonGroup.vue.js +14 -0
- package/dist/es/components/button/ButtonGroup.vue2.js +63 -0
- package/dist/es/components/button/context.js +4 -0
- package/dist/es/components/button/index.js +10 -0
- package/dist/es/components/button/props.js +60 -0
- package/dist/es/components/config-provider/ConfigProvider.js +97 -0
- package/dist/es/components/config-provider/context.js +4 -0
- package/dist/es/components/config-provider/index.js +11 -0
- package/dist/es/components/date-picker/DatePanel.vue.js +159 -0
- package/dist/es/components/date-picker/DatePanel.vue2.js +136 -0
- package/dist/es/components/date-picker/DatePicker.vue.js +390 -0
- package/dist/es/components/date-picker/DatePicker.vue2.js +450 -0
- package/dist/es/components/date-picker/index.js +56 -0
- package/dist/es/components/date-picker/lunar/data.js +9581 -0
- package/dist/es/components/date-picker/lunar/index.js +58 -0
- package/dist/es/components/date-picker/utils.js +200 -0
- package/dist/es/components/dialog/Dialog.js +196 -0
- package/dist/es/components/dialog/index.js +8 -0
- package/dist/es/components/dialog/props.js +95 -0
- package/dist/es/components/dialog/use.js +103 -0
- package/dist/es/components/dialog/warp.js +4 -0
- package/dist/es/components/draggable/Draggable.js +73 -0
- package/dist/es/components/draggable/directive.js +31 -0
- package/dist/es/components/draggable/index.js +8 -0
- package/dist/es/components/draggable/useDraggable.js +172 -0
- package/dist/es/components/draggable/utils/index.js +78 -0
- package/dist/es/components/draggable/utils/log.js +11 -0
- package/dist/es/components/drawer/index.js +8 -0
- package/dist/es/components/drawer/src/Drawer.vue.js +137 -0
- package/dist/es/components/drawer/src/Drawer.vue2.js +130 -0
- package/dist/es/components/drawer/src/props.js +101 -0
- package/dist/es/components/dropdown/Dropdown.vue.js +56 -0
- package/dist/es/components/dropdown/Dropdown.vue2.js +175 -0
- package/dist/es/components/dropdown/DropdownButton.vue.js +57 -0
- package/dist/es/components/dropdown/DropdownButton.vue2.js +152 -0
- package/dist/es/components/dropdown/DropdownGroup.vue.js +20 -0
- package/dist/es/components/dropdown/DropdownGroup.vue2.js +26 -0
- package/dist/es/components/dropdown/DropdownOption.vue.js +37 -0
- package/dist/es/components/dropdown/DropdownOption.vue2.js +65 -0
- package/dist/es/components/dropdown/DropdownSubmenu.vue.js +62 -0
- package/dist/es/components/dropdown/DropdownSubmenu.vue2.js +120 -0
- package/dist/es/components/dropdown/context.js +4 -0
- package/dist/es/components/dropdown/dropdown-panel.vue.js +49 -0
- package/dist/es/components/dropdown/dropdown-panel.vue2.js +69 -0
- package/dist/es/components/dropdown/index.js +25 -0
- package/dist/es/components/empty/Empty.js +82 -0
- package/dist/es/components/empty/index.js +8 -0
- package/dist/es/components/form/Form.vue.js +18 -0
- package/dist/es/components/form/Form.vue2.js +317 -0
- package/dist/es/components/form/FormItem.vue.js +93 -0
- package/dist/es/components/form/FormItem.vue2.js +409 -0
- package/dist/es/components/form/context.js +5 -0
- package/dist/es/components/form/form-item-label.vue.js +62 -0
- package/dist/es/components/form/form-item-label.vue2.js +54 -0
- package/dist/es/components/form/form-item-message.vue.js +37 -0
- package/dist/es/components/form/form-item-message.vue2.js +20 -0
- package/dist/es/components/form/index.js +10 -0
- package/dist/es/components/form/interface.js +4 -0
- package/dist/es/components/form/utils.js +24 -0
- package/dist/es/components/form-checkbox/Checkbox.js +176 -0
- package/dist/es/components/form-checkbox/CheckboxGroup.js +153 -0
- package/dist/es/components/form-checkbox/context.js +4 -0
- package/dist/es/components/form-checkbox/icon-check.js +52 -0
- package/dist/es/components/form-checkbox/index.js +10 -0
- package/dist/es/components/form-input/Input.js +360 -0
- package/dist/es/components/form-input/InputGroup.vue.js +14 -0
- package/dist/es/components/form-input/InputGroup.vue2.js +13 -0
- package/dist/es/components/form-input/InputPassword.vue.js +59 -0
- package/dist/es/components/form-input/InputPassword.vue2.js +83 -0
- package/dist/es/components/form-input/InputSearch.js +140 -0
- package/dist/es/components/form-input/index.js +14 -0
- package/dist/es/components/form-input-number/InputNumber.js +441 -0
- package/dist/es/components/form-input-number/index.js +8 -0
- package/dist/es/components/form-input-tag/InputTag.js +463 -0
- package/dist/es/components/form-input-tag/index.js +8 -0
- package/dist/es/components/form-input-tag/utils.js +32 -0
- package/dist/es/components/form-radio/Radio.js +182 -0
- package/dist/es/components/form-radio/RadioGroup.js +176 -0
- package/dist/es/components/form-radio/context.js +4 -0
- package/dist/es/components/form-radio/index.js +10 -0
- package/dist/es/components/form-select/Select.js +801 -0
- package/dist/es/components/form-select/SelectDropdown.vue.js +59 -0
- package/dist/es/components/form-select/SelectDropdown.vue2.js +69 -0
- package/dist/es/components/form-select/SelectOption.vue.js +60 -0
- package/dist/es/components/form-select/SelectOption.vue2.js +130 -0
- package/dist/es/components/form-select/SelectOptionGroup.vue.js +19 -0
- package/dist/es/components/form-select/SelectOptionGroup.vue2.js +28 -0
- package/dist/es/components/form-select/context.js +4 -0
- package/dist/es/components/form-select/hooks/use-options.js +95 -0
- package/dist/es/components/form-select/hooks/use-select.js +148 -0
- package/dist/es/components/form-select/index.js +20 -0
- package/dist/es/components/form-select/utils.js +91 -0
- package/dist/es/components/form-slider/Slider.vue.js +92 -0
- package/dist/es/components/form-slider/Slider.vue2.js +316 -0
- package/dist/es/components/form-slider/index.js +8 -0
- package/dist/es/components/form-slider/slider-button.vue.js +39 -0
- package/dist/es/components/form-slider/slider-button.vue2.js +87 -0
- package/dist/es/components/form-slider/slider-dots.vue.js +22 -0
- package/dist/es/components/form-slider/slider-dots.vue2.js +35 -0
- package/dist/es/components/form-slider/slider-input.vue.js +37 -0
- package/dist/es/components/form-slider/slider-input.vue2.js +39 -0
- package/dist/es/components/form-slider/slider-marks.vue.js +19 -0
- package/dist/es/components/form-slider/slider-marks.vue2.js +33 -0
- package/dist/es/components/form-slider/slider-ticks.vue.js +21 -0
- package/dist/es/components/form-slider/slider-ticks.vue2.js +50 -0
- package/dist/es/components/form-slider/utils.js +17 -0
- package/dist/es/components/form-switch/Switch.vue.js +56 -0
- package/dist/es/components/form-switch/Switch.vue2.js +275 -0
- package/dist/es/components/form-switch/index.js +8 -0
- package/dist/es/components/form-textarea/Textarea.vue.js +61 -0
- package/dist/es/components/form-textarea/Textarea.vue2.js +308 -0
- package/dist/es/components/form-textarea/index.js +8 -0
- package/dist/es/components/form-textarea/utils.js +31 -0
- package/dist/es/components/grid/Col.vue.js +16 -0
- package/dist/es/components/grid/Col.vue2.js +131 -0
- package/dist/es/components/grid/Grid.vue.js +15 -0
- package/dist/es/components/grid/Grid.vue2.js +98 -0
- package/dist/es/components/grid/GridItem.vue.js +16 -0
- package/dist/es/components/grid/GridItem.vue2.js +85 -0
- package/dist/es/components/grid/Row.vue.js +15 -0
- package/dist/es/components/grid/Row.vue2.js +84 -0
- package/dist/es/components/grid/context.js +10 -0
- package/dist/es/components/grid/hook/use-responsive-state.js +40 -0
- package/dist/es/components/grid/hook/use-responsive-value.js +23 -0
- package/dist/es/components/grid/index.js +14 -0
- package/dist/es/components/grid/utils/index.js +51 -0
- package/dist/es/components/image/Image.vue.js +91 -0
- package/dist/es/components/image/Image.vue2.js +259 -0
- package/dist/es/components/image/ImagePreview.vue.js +104 -0
- package/dist/es/components/image/ImagePreview.vue2.js +361 -0
- package/dist/es/components/image/ImagePreviewAction.js +66 -0
- package/dist/es/components/image/ImagePreviewGroup.vue.js +32 -0
- package/dist/es/components/image/ImagePreviewGroup.vue2.js +228 -0
- package/dist/es/components/image/context.js +6 -0
- package/dist/es/components/image/hooks/use-image-drag.js +45 -0
- package/dist/es/components/image/hooks/use-image-load-status.js +17 -0
- package/dist/es/components/image/image-footer.vue.js +35 -0
- package/dist/es/components/image/image-footer.vue2.js +21 -0
- package/dist/es/components/image/index.js +20 -0
- package/dist/es/components/image/preview-arrow.vue.js +49 -0
- package/dist/es/components/image/preview-arrow.vue2.js +30 -0
- package/dist/es/components/image/preview-toolbar.vue.js +28 -0
- package/dist/es/components/image/preview-toolbar.vue2.js +41 -0
- package/dist/es/components/image/utils/get-fix-translate.js +7 -0
- package/dist/es/components/image/utils/get-scale.js +49 -0
- package/dist/es/components/image/utils/index.js +10 -0
- package/dist/es/components/index.js +162 -0
- package/dist/es/components/layout/Layout.vue.js +14 -0
- package/dist/es/components/layout/Layout.vue2.js +31 -0
- package/dist/es/components/layout/LayoutContent.vue.js +27 -0
- package/dist/es/components/layout/LayoutFooter.vue.js +27 -0
- package/dist/es/components/layout/LayoutHeader.vue.js +27 -0
- package/dist/es/components/layout/LayoutSidebar.vue.js +38 -0
- package/dist/es/components/layout/LayoutSidebar.vue2.js +178 -0
- package/dist/es/components/layout/context.js +7 -0
- package/dist/es/components/layout/index.js +16 -0
- package/dist/es/components/link/Link.vue.js +31 -0
- package/dist/es/components/link/Link.vue2.js +99 -0
- package/dist/es/components/link/index.js +8 -0
- package/dist/es/components/menu/Menu.js +48 -0
- package/dist/es/components/menu/MenuItem.js +134 -0
- package/dist/es/components/menu/MenuSubMenu.js +161 -0
- package/dist/es/components/menu/base-menu.vue.js +39 -0
- package/dist/es/components/menu/base-menu.vue2.js +349 -0
- package/dist/es/components/menu/context.js +6 -0
- package/dist/es/components/menu/hooks/use-level.js +25 -0
- package/dist/es/components/menu/hooks/use-menu-context.js +8 -0
- package/dist/es/components/menu/hooks/use-menu-data-collector.js +63 -0
- package/dist/es/components/menu/hooks/use-menu-open-state.js +75 -0
- package/dist/es/components/menu/hooks/use-menu.js +16 -0
- package/dist/es/components/menu/indent.vue.js +36 -0
- package/dist/es/components/menu/index.js +14 -0
- package/dist/es/components/menu/item-group.vue.js +23 -0
- package/dist/es/components/menu/item-group.vue2.js +39 -0
- package/dist/es/components/menu/overflow-wrap.js +92 -0
- package/dist/es/components/menu/sub-menu-inline.vue.js +72 -0
- package/dist/es/components/menu/sub-menu-inline.vue2.js +50 -0
- package/dist/es/components/menu/sub-menu-pop.vue.js +111 -0
- package/dist/es/components/menu/sub-menu-pop.vue2.js +99 -0
- package/dist/es/components/message/index.js +8 -0
- package/dist/es/components/message/message-list.js +70 -0
- package/dist/es/components/message/message.vue.js +54 -0
- package/dist/es/components/message/message.vue2.js +142 -0
- package/dist/es/components/message/props.js +12 -0
- package/dist/es/components/message/warp.js +144 -0
- package/dist/es/components/message-box/MessageBox.js +180 -0
- package/dist/es/components/message-box/props.js +4 -0
- package/dist/es/components/message-box/warp.js +4 -0
- package/dist/es/components/network/Network.vue.js +60 -0
- package/dist/es/components/network/Network.vue2.js +178 -0
- package/dist/es/components/network/index.js +8 -0
- package/dist/es/components/network/utils.js +153 -0
- package/dist/es/components/notification/Notification.js +84 -0
- package/dist/es/components/notification/index.js +8 -0
- package/dist/es/components/notification/notification-list.js +72 -0
- package/dist/es/components/notification/props.js +65 -0
- package/dist/es/components/notification/warp.js +147 -0
- package/dist/es/components/pagination/Pagination.js +392 -0
- package/dist/es/components/pagination/index.js +8 -0
- package/dist/es/components/pagination/page-item-ellipsis.vue.js +23 -0
- package/dist/es/components/pagination/page-item-ellipsis.vue2.js +50 -0
- package/dist/es/components/pagination/page-item-step.vue.js +28 -0
- package/dist/es/components/pagination/page-item-step.vue2.js +66 -0
- package/dist/es/components/pagination/page-item.vue.js +24 -0
- package/dist/es/components/pagination/page-item.vue2.js +47 -0
- package/dist/es/components/pagination/page-jumper.vue.js +48 -0
- package/dist/es/components/pagination/page-jumper.vue2.js +68 -0
- package/dist/es/components/pagination/page-options.vue.js +20 -0
- package/dist/es/components/pagination/page-options.vue2.js +46 -0
- package/dist/es/components/pagination/utils.js +4 -0
- package/dist/es/components/popconfirm/index.js +8 -0
- package/dist/es/components/popconfirm/src/Popconfirm.js +74 -0
- package/dist/es/components/popconfirm/src/popup.vue.js +60 -0
- package/dist/es/components/popconfirm/src/popup.vue2.js +100 -0
- package/dist/es/components/popconfirm/src/props.js +82 -0
- package/dist/es/components/popover/Popover.js +86 -0
- package/dist/es/components/popover/index.js +8 -0
- package/dist/es/components/popover/props.js +139 -0
- package/dist/es/components/popup/Popup.js +61 -0
- package/dist/es/components/popup/index.js +8 -0
- package/dist/es/components/progress/Progress.vue.js +73 -0
- package/dist/es/components/progress/Progress.vue2.js +130 -0
- package/dist/es/components/progress/circle.vue.js +78 -0
- package/dist/es/components/progress/circle.vue2.js +83 -0
- package/dist/es/components/progress/index.js +8 -0
- package/dist/es/components/progress/line.vue.js +41 -0
- package/dist/es/components/progress/line.vue2.js +93 -0
- package/dist/es/components/progress/steps.vue.js +45 -0
- package/dist/es/components/progress/steps.vue2.js +56 -0
- package/dist/es/components/rate/Rate.js +390 -0
- package/dist/es/components/rate/index.js +8 -0
- package/dist/es/components/resize-box/ResizeBox.vue.js +53 -0
- package/dist/es/components/resize-box/ResizeBox.vue2.js +257 -0
- package/dist/es/components/resize-box/index.js +8 -0
- package/dist/es/components/scrollbar-v2/Scrollbar.vue.js +50 -0
- package/dist/es/components/scrollbar-v2/Scrollbar.vue2.js +268 -0
- package/dist/es/components/scrollbar-v2/index.js +8 -0
- package/dist/es/components/scrollbar-v2/thumb.vue.js +30 -0
- package/dist/es/components/scrollbar-v2/thumb.vue2.js +77 -0
- package/dist/es/components/skeleton/Skeleton.vue.js +14 -0
- package/dist/es/components/skeleton/Skeleton.vue2.js +37 -0
- package/dist/es/components/skeleton/SkeletonLine.vue.js +18 -0
- package/dist/es/components/skeleton/SkeletonLine.vue2.js +57 -0
- package/dist/es/components/skeleton/SkeletonShape.vue.js +12 -0
- package/dist/es/components/skeleton/SkeletonShape.vue2.js +38 -0
- package/dist/es/components/skeleton/index.js +12 -0
- package/dist/es/components/space/Space.js +85 -0
- package/dist/es/components/space/index.js +8 -0
- package/dist/es/components/spin/Spin.js +135 -0
- package/dist/es/components/spin/dot-loading.js +37 -0
- package/dist/es/components/spin/index.js +8 -0
- package/dist/es/components/steps/Step.vue.js +68 -0
- package/dist/es/components/steps/Step.vue2.js +115 -0
- package/dist/es/components/steps/Steps.vue.js +14 -0
- package/dist/es/components/steps/Steps.vue2.js +140 -0
- package/dist/es/components/steps/context.js +4 -0
- package/dist/es/components/steps/index.js +10 -0
- package/dist/es/components/table/Table.js +1574 -0
- package/dist/es/components/table/TableColumn.js +247 -0
- package/dist/es/components/table/context.js +5 -0
- package/dist/es/components/table/hooks/use-column-filter.js +47 -0
- package/dist/es/components/table/hooks/use-column-resize.js +27 -0
- package/dist/es/components/table/hooks/use-column-sorter.js +37 -0
- package/dist/es/components/table/hooks/use-drag.js +42 -0
- package/dist/es/components/table/hooks/use-expand.js +38 -0
- package/dist/es/components/table/hooks/use-filter.js +53 -0
- package/dist/es/components/table/hooks/use-pagination.js +30 -0
- package/dist/es/components/table/hooks/use-row-selection.js +57 -0
- package/dist/es/components/table/hooks/use-sorter.js +53 -0
- package/dist/es/components/table/hooks/use-span.js +46 -0
- package/dist/es/components/table/index.js +10 -0
- package/dist/es/components/table/locale.js +21 -0
- package/dist/es/components/table/table-col-group.vue.js +25 -0
- package/dist/es/components/table/table-col-group.vue2.js +36 -0
- package/dist/es/components/table/table-operation-td.js +117 -0
- package/dist/es/components/table/table-operation-th.js +64 -0
- package/dist/es/components/table/table-tbody.js +18 -0
- package/dist/es/components/table/table-td.js +174 -0
- package/dist/es/components/table/table-th.js +270 -0
- package/dist/es/components/table/table-thead.js +18 -0
- package/dist/es/components/table/table-tr.js +45 -0
- package/dist/es/components/table/utils.js +168 -0
- package/dist/es/components/tabs/TabPane.vue.js +27 -0
- package/dist/es/components/tabs/TabPane.vue2.js +73 -0
- package/dist/es/components/tabs/Tabs.js +290 -0
- package/dist/es/components/tabs/context.js +4 -0
- package/dist/es/components/tabs/index.js +10 -0
- package/dist/es/components/tabs/tabs-button.js +62 -0
- package/dist/es/components/tabs/tabs-nav-ink.vue.js +13 -0
- package/dist/es/components/tabs/tabs-nav-ink.vue2.js +49 -0
- package/dist/es/components/tabs/tabs-nav.js +216 -0
- package/dist/es/components/tabs/tabs-tab.vue.js +36 -0
- package/dist/es/components/tabs/tabs-tab.vue2.js +54 -0
- package/dist/es/components/tabs/utils.js +12 -0
- package/dist/es/components/tag/Tag.vue.js +50 -0
- package/dist/es/components/tag/Tag.vue2.js +180 -0
- package/dist/es/components/tag/index.js +8 -0
- package/dist/es/components/tag/interface.js +18 -0
- package/dist/es/components/time-picker/TimeColumn.vue.js +53 -0
- package/dist/es/components/time-picker/TimeColumn.vue2.js +55 -0
- package/dist/es/components/time-picker/TimePanel.vue.js +69 -0
- package/dist/es/components/time-picker/TimePanel.vue2.js +89 -0
- package/dist/es/components/time-picker/TimePicker.vue.js +159 -0
- package/dist/es/components/time-picker/TimePicker.vue2.js +279 -0
- package/dist/es/components/time-picker/TimeRangePanel.js +129 -0
- package/dist/es/components/time-picker/hooks/use-time-format.js +14 -0
- package/dist/es/components/time-picker/hooks/use-time-list.js +46 -0
- package/dist/es/components/time-picker/hooks/use-time-state.js +27 -0
- package/dist/es/components/time-picker/index.js +8 -0
- package/dist/es/components/time-picker/utils.js +56 -0
- package/dist/es/components/time-range-selector/TimeRangeSelector.vue.js +296 -0
- package/dist/es/components/time-range-selector/TimeRangeSelector.vue2.js +4 -0
- package/dist/es/components/time-range-selector/index.js +11 -0
- package/dist/es/components/timeline/index.js +8 -0
- package/dist/es/components/timeline/src/Timeline.js +65 -0
- package/dist/es/components/timeline/src/TimelineItem.js +63 -0
- package/dist/es/components/timeline/src/context.js +4 -0
- package/dist/es/components/timeline/src/props.js +84 -0
- package/dist/es/components/timeline-item/index.js +8 -0
- package/dist/es/components/tooltip/Tooltip.vue.js +135 -0
- package/dist/es/components/tooltip/Tooltip.vue2.js +4 -0
- package/dist/es/components/tooltip/index.js +8 -0
- package/dist/es/components/tooltip/props.js +146 -0
- package/dist/es/components/trend-chart/components/TrendChart.js +212 -0
- package/dist/es/components/trend-chart/components/trend-chart-curve.js +79 -0
- package/dist/es/components/trend-chart/components/trend-chart-grid.js +62 -0
- package/dist/es/components/trend-chart/components/trend-chart-labels.js +73 -0
- package/dist/es/components/trend-chart/helpers/genPath.js +22 -0
- package/dist/es/components/trend-chart/helpers/genPoints.js +21 -0
- package/dist/es/components/trend-chart/helpers/getPadding.js +21 -0
- package/dist/es/components/trend-chart/helpers/validatePadding.js +7 -0
- package/dist/es/components/trend-chart/index.js +8 -0
- package/dist/es/components/trend-chart/props.js +160 -0
- package/dist/es/components/trend-chart/themes.js +146 -0
- package/dist/es/components/trigger/Trigger.js +612 -0
- package/dist/es/components/trigger/context.js +4 -0
- package/dist/es/components/trigger/index.js +8 -0
- package/dist/es/components/trigger/utils.js +303 -0
- package/dist/es/components/virtual-list-v2/hooks/use-size.js +60 -0
- package/dist/es/components/virtual-list-v2/index.js +4 -0
- package/dist/es/components/virtual-list-v2/virtual-list-item.js +35 -0
- package/dist/es/components/virtual-list-v2/virtual-list.vue.js +53 -0
- package/dist/es/components/virtual-list-v2/virtual-list.vue2.js +126 -0
- package/dist/es/components/watermark/Watermark.js +158 -0
- package/dist/es/components/watermark/controller.js +107 -0
- package/dist/es/components/watermark/directive.js +25 -0
- package/dist/es/components/watermark/index.js +8 -0
- package/dist/es/components/watermark/utils.js +15 -0
- package/dist/es/directives/index.js +12 -0
- package/dist/es/directives/wave.js +44 -0
- package/dist/es/icons/_self/down.js +16 -0
- package/dist/es/icons/_self/dropdown/more.js +13 -0
- package/dist/es/icons/_self/empty-better.js +49 -0
- package/dist/es/icons/_self/eye-invisible.js +13 -0
- package/dist/es/icons/_self/eye.js +13 -0
- package/dist/es/icons/_self/full-screen.js +13 -0
- package/dist/es/icons/_self/left.js +16 -0
- package/dist/es/icons/_self/menu/down.js +13 -0
- package/dist/es/icons/_self/minus.js +13 -0
- package/dist/es/icons/_self/more-dot.js +13 -0
- package/dist/es/icons/_self/next.js +12 -0
- package/dist/es/icons/_self/original-size.js +13 -0
- package/dist/es/icons/_self/plus.js +12 -0
- package/dist/es/icons/_self/prev.js +12 -0
- package/dist/es/icons/_self/question-message.js +12 -0
- package/dist/es/icons/_self/right.js +16 -0
- package/dist/es/icons/_self/rotate-left.js +16 -0
- package/dist/es/icons/_self/rotate-right.js +16 -0
- package/dist/es/icons/_self/search.js +13 -0
- package/dist/es/icons/_self/up.js +16 -0
- package/dist/es/icons/_self/zoom-in.js +13 -0
- package/dist/es/icons/_self/zoom-out.js +13 -0
- package/dist/es/icons/_ui/calendar.js +13 -0
- package/dist/es/icons/_ui/time.js +12 -0
- package/dist/es/icons/animation/animation-loading.js +16 -0
- package/dist/es/icons/default/check-circle-fill.js +21 -0
- package/dist/es/icons/default/check.js +13 -0
- package/dist/es/icons/default/close-circle-fill.js +21 -0
- package/dist/es/icons/default/close.js +17 -0
- package/dist/es/icons/default/exclamation-circle-fill.js +21 -0
- package/dist/es/icons/default/exclamation.js +29 -0
- package/dist/es/icons/default/filter.js +16 -0
- package/dist/es/icons/default/info-circle-fill.js +21 -0
- package/dist/es/icons/default/link.js +16 -0
- package/dist/es/icons/default/minus-circle-fill.js +21 -0
- package/dist/es/icons/icon.js +126 -0
- package/dist/es/icons/index.js +12 -0
- package/dist/es/icons/public/finicon-meta.js +6537 -0
- package/dist/es/icons/public/finicon.js +1037 -0
- package/dist/es/icons/public/lucide.js +192 -0
- package/dist/es/icons/registry.js +18 -0
- package/dist/es/index.js +218 -0
- package/dist/es/locale/en-US.js +173 -0
- package/dist/es/locale/index.js +41 -0
- package/dist/es/locale/zh-CN.js +173 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/index.js +74 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/is.js +54 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/locale/en-US.js +49 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/rules/array.js +31 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/rules/base.js +59 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/rules/boolean.js +17 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/rules/custom.js +23 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/rules/number.js +25 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/rules/object.js +22 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/rules/string.js +26 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/rules/type.js +18 -0
- package/dist/es/node_modules/.pnpm/b-validate@1.5.3/node_modules/b-validate/es/util.js +17 -0
- package/dist/es/node_modules/.pnpm/compute-scroll-into-view@3.1.1/node_modules/compute-scroll-into-view/dist/index.js +58 -0
- package/dist/es/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/dayjs.min.js +282 -0
- package/dist/es/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/locale/zh-cn.js +24 -0
- package/dist/es/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/advancedFormat.js +54 -0
- package/dist/es/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/customParseFormat.js +127 -0
- package/dist/es/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/isBetween.js +19 -0
- package/dist/es/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/quarterOfYear.js +33 -0
- package/dist/es/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/weekOfYear.js +29 -0
- package/dist/es/node_modules/.pnpm/dayjs@1.11.21/node_modules/dayjs/plugin/weekYear.js +19 -0
- package/dist/es/node_modules/.pnpm/number-precision@1.6.0/node_modules/number-precision/build/index.es.js +70 -0
- package/dist/es/node_modules/.pnpm/resize-observer-polyfill@1.5.1/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +290 -0
- package/dist/es/node_modules/.pnpm/scroll-into-view-if-needed@3.1.0/node_modules/scroll-into-view-if-needed/dist/index.js +25 -0
- package/dist/es/node_modules/.pnpm/sortablejs@1.15.7/node_modules/sortablejs/modular/sortable.esm.js +1277 -0
- package/dist/es/style.css +1 -0
- package/dist/icons/_self/down.d.ts +39 -3
- package/dist/icons/_self/dropdown/more.d.ts +39 -3
- package/dist/icons/_self/empty-better.d.ts +39 -3
- package/dist/icons/_self/empty.d.ts +39 -3
- package/dist/icons/_self/eye-invisible.d.ts +39 -3
- package/dist/icons/_self/eye.d.ts +39 -3
- package/dist/icons/_self/full-screen.d.ts +39 -3
- package/dist/icons/_self/left.d.ts +39 -3
- package/dist/icons/_self/menu/down.d.ts +39 -3
- package/dist/icons/_self/minus.d.ts +39 -3
- package/dist/icons/_self/more-dot.d.ts +39 -3
- package/dist/icons/_self/next.d.ts +39 -3
- package/dist/icons/_self/original-size.d.ts +39 -3
- package/dist/icons/_self/plus.d.ts +39 -3
- package/dist/icons/_self/prev.d.ts +39 -3
- package/dist/icons/_self/question-message.d.ts +39 -3
- package/dist/icons/_self/right.d.ts +39 -3
- package/dist/icons/_self/rotate-left.d.ts +39 -3
- package/dist/icons/_self/rotate-right.d.ts +39 -3
- package/dist/icons/_self/search.d.ts +39 -3
- package/dist/icons/_self/up.d.ts +39 -3
- package/dist/icons/_self/zoom-in.d.ts +39 -3
- package/dist/icons/_self/zoom-out.d.ts +39 -3
- package/dist/icons/_ui/alone-left.d.ts +39 -3
- package/dist/icons/_ui/alone-margin-left.d.ts +39 -3
- package/dist/icons/_ui/alone-margin-right.d.ts +39 -3
- package/dist/icons/_ui/alone-right.d.ts +39 -3
- package/dist/icons/_ui/calendar.d.ts +39 -3
- package/dist/icons/_ui/time.d.ts +39 -3
- package/dist/icons/animation/animation-loading.d.ts +39 -3
- package/dist/icons/default/check-circle-fill.d.ts +39 -3
- package/dist/icons/default/check.d.ts +39 -3
- package/dist/icons/default/close-circle-fill.d.ts +39 -3
- package/dist/icons/default/close.d.ts +39 -3
- package/dist/icons/default/exclamation-circle-fill.d.ts +39 -3
- package/dist/icons/default/exclamation.d.ts +39 -3
- package/dist/icons/default/filter.d.ts +86 -0
- package/dist/icons/default/info-circle-fill.d.ts +39 -3
- package/dist/icons/default/link.d.ts +39 -3
- package/dist/icons/default/logo-simple.d.ts +39 -3
- package/dist/icons/default/minus-circle-fill.d.ts +39 -3
- package/dist/icons/icon.d.ts +160 -2
- package/dist/icons/index.d.ts +149 -12
- package/dist/icons/names.d.ts +5 -0
- package/dist/icons/public/finicon-meta.d.ts +4631 -0
- package/dist/icons/public/finicon.d.ts +4 -0
- package/dist/icons/public/lucide.d.ts +4 -0
- package/dist/icons/registry.d.ts +7 -0
- package/dist/index.cjs +66 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.umd.js +62 -3
- package/dist/locale/en-US.d.ts +4 -0
- package/dist/locale/index.d.ts +46 -0
- package/dist/locale/interface.d.ts +249 -0
- package/dist/locale/zh-CN.d.ts +8 -0
- package/dist/style/alert.css +1 -0
- package/dist/style/alert.js +2 -0
- package/dist/style/base.css +1 -0
- package/dist/style/button.css +1 -0
- package/dist/style/button.js +2 -0
- package/dist/style/date-picker.css +1 -0
- package/dist/style/date-picker.js +2 -0
- package/dist/style/dialog.css +1 -0
- package/dist/style/dialog.js +2 -0
- package/dist/style/drawer.css +1 -0
- package/dist/style/drawer.js +2 -0
- package/dist/style/dropdown.css +1 -0
- package/dist/style/dropdown.js +2 -0
- package/dist/style/empty.css +1 -0
- package/dist/style/empty.js +2 -0
- package/dist/style/form-checkbox.css +1 -0
- package/dist/style/form-checkbox.js +2 -0
- package/dist/style/form-input-number.css +1 -0
- package/dist/style/form-input-number.js +2 -0
- package/dist/style/form-input-tag.css +1 -0
- package/dist/style/form-input-tag.js +2 -0
- package/dist/style/form-input.css +1 -0
- package/dist/style/form-input.js +2 -0
- package/dist/style/form-radio.css +1 -0
- package/dist/style/form-radio.js +2 -0
- package/dist/style/form-select.css +1 -0
- package/dist/style/form-select.js +2 -0
- package/dist/style/form-slider.css +1 -0
- package/dist/style/form-slider.js +2 -0
- package/dist/style/form-switch.css +1 -0
- package/dist/style/form-switch.js +2 -0
- package/dist/style/form-textarea.css +1 -0
- package/dist/style/form-textarea.js +2 -0
- package/dist/style/form.css +1 -0
- package/dist/style/form.js +2 -0
- package/dist/style/grid.css +1 -0
- package/dist/style/grid.js +2 -0
- package/dist/style/image.css +1 -0
- package/dist/style/image.js +2 -0
- package/dist/style/layout.css +1 -0
- package/dist/style/layout.js +2 -0
- package/dist/style/link.css +1 -0
- package/dist/style/link.js +2 -0
- package/dist/style/menu.css +1 -0
- package/dist/style/menu.js +2 -0
- package/dist/style/message-box.css +1 -0
- package/dist/style/message-box.js +2 -0
- package/dist/style/message.css +1 -0
- package/dist/style/message.js +2 -0
- package/dist/style/network.css +1 -0
- package/dist/style/network.js +2 -0
- package/dist/style/notification.css +1 -0
- package/dist/style/notification.js +2 -0
- package/dist/style/pagination.css +1 -0
- package/dist/style/pagination.js +2 -0
- package/dist/style/popconfirm.css +1 -0
- package/dist/style/popconfirm.js +2 -0
- package/dist/style/popover.css +1 -0
- package/dist/style/popover.js +2 -0
- package/dist/style/popup.css +1 -0
- package/dist/style/popup.js +2 -0
- package/dist/style/progress.css +1 -0
- package/dist/style/progress.js +2 -0
- package/dist/style/rate.css +1 -0
- package/dist/style/rate.js +2 -0
- package/dist/style/resize-box.css +1 -0
- package/dist/style/resize-box.js +2 -0
- package/dist/style/scrollbar-v2.css +1 -0
- package/dist/style/scrollbar-v2.js +2 -0
- package/dist/style/skeleton.css +1 -0
- package/dist/style/skeleton.js +2 -0
- package/dist/style/space.css +1 -0
- package/dist/style/space.js +2 -0
- package/dist/style/spin.css +1 -0
- package/dist/style/spin.js +2 -0
- package/dist/style/steps.css +1 -0
- package/dist/style/steps.js +2 -0
- package/dist/style/table.css +1 -0
- package/dist/style/table.js +2 -0
- package/dist/style/tabs.css +1 -0
- package/dist/style/tabs.js +2 -0
- package/dist/style/tag.css +1 -0
- package/dist/style/tag.js +2 -0
- package/dist/style/time-picker.css +1 -0
- package/dist/style/time-picker.js +2 -0
- package/dist/style/time-range-selector.css +1 -0
- package/dist/style/time-range-selector.js +2 -0
- package/dist/style/timeline.css +1 -0
- package/dist/style/timeline.js +2 -0
- package/dist/style/tooltip.css +1 -0
- package/dist/style/tooltip.js +2 -0
- package/dist/style/trigger.css +1 -0
- package/dist/style/trigger.js +2 -0
- package/dist/style/watermark.css +1 -0
- package/dist/style/watermark.js +2 -0
- package/dist/style.css +1 -1
- package/dist/types.d.ts +8 -8
- package/package.json +61 -25
- package/volar.d.ts +8 -8
- package/dist/_container/utils.d.ts +0 -12
- package/dist/_utils/number.d.ts +0 -193
- package/dist/_utils/pad.d.ts +0 -2
- package/dist/components/_components/render-function/index.d.ts +0 -14
- package/dist/components/form/validateMessages.d.ts +0 -46
- package/dist/components/message/Message.d.ts +0 -108
- package/dist/components/table/__tests__/table.spec.d.ts +0 -1
- package/dist/components/tag-cloud/index.d.ts +0 -0
- package/dist/components/trigger-old/index.d.ts +0 -488
- package/dist/components/trigger-old/src/_trigger.d.ts +0 -217
- package/dist/components/trigger-old/src/constant.d.ts +0 -8
- package/dist/components/trigger-old/src/trigger.d.ts +0 -288
- package/dist/components/trigger-old/src/utils.d.ts +0 -50
- package/dist/index.es.js +0 -40212
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { registerIcons as e } from "../registry.js";
|
|
2
|
+
const n = [
|
|
3
|
+
"x",
|
|
4
|
+
"close",
|
|
5
|
+
"check",
|
|
6
|
+
"search",
|
|
7
|
+
"plus",
|
|
8
|
+
"minus",
|
|
9
|
+
"left",
|
|
10
|
+
"right",
|
|
11
|
+
"up",
|
|
12
|
+
"down",
|
|
13
|
+
"chevron-left",
|
|
14
|
+
"chevron-right",
|
|
15
|
+
"chevron-up",
|
|
16
|
+
"chevron-down",
|
|
17
|
+
"check-circle",
|
|
18
|
+
"close-circle",
|
|
19
|
+
"info-circle",
|
|
20
|
+
"alert-circle",
|
|
21
|
+
"minus-circle",
|
|
22
|
+
"circle-check",
|
|
23
|
+
"circle-x",
|
|
24
|
+
"info",
|
|
25
|
+
"circle-alert",
|
|
26
|
+
"circle-minus",
|
|
27
|
+
"link",
|
|
28
|
+
"loading",
|
|
29
|
+
"loading-circle",
|
|
30
|
+
"settings",
|
|
31
|
+
"user",
|
|
32
|
+
"calendar",
|
|
33
|
+
"clock",
|
|
34
|
+
"trash",
|
|
35
|
+
"edit",
|
|
36
|
+
"download",
|
|
37
|
+
"upload",
|
|
38
|
+
"copy",
|
|
39
|
+
"eye",
|
|
40
|
+
"eye-off",
|
|
41
|
+
"menu",
|
|
42
|
+
"more-horizontal",
|
|
43
|
+
"filter",
|
|
44
|
+
"arrow-up-down",
|
|
45
|
+
"star",
|
|
46
|
+
"heart",
|
|
47
|
+
"home",
|
|
48
|
+
"bell",
|
|
49
|
+
"mail",
|
|
50
|
+
"phone",
|
|
51
|
+
"lock",
|
|
52
|
+
"unlock",
|
|
53
|
+
"refresh-cw",
|
|
54
|
+
"rotate-ccw",
|
|
55
|
+
"zoom-in",
|
|
56
|
+
"zoom-out",
|
|
57
|
+
"maximize",
|
|
58
|
+
"image",
|
|
59
|
+
"file",
|
|
60
|
+
"folder",
|
|
61
|
+
"save",
|
|
62
|
+
"external-link"
|
|
63
|
+
], o = {
|
|
64
|
+
x: `<svg class="lucide lucide-x" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
65
|
+
><path d="M18 6 6 18" /><path d="m6 6 12 12" /></svg>`,
|
|
66
|
+
close: `<svg class="lucide lucide-x" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
67
|
+
><path d="M18 6 6 18" /><path d="m6 6 12 12" /></svg>`,
|
|
68
|
+
check: `<svg class="lucide lucide-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
69
|
+
><path d="M20 6 9 17l-5-5" /></svg>`,
|
|
70
|
+
search: `<svg class="lucide lucide-search" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
71
|
+
><path d="m21 21-4.34-4.34" /><circle cx="11" cy="11" r="8" /></svg>`,
|
|
72
|
+
plus: `<svg class="lucide lucide-plus" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
73
|
+
><path d="M5 12h14" /><path d="M12 5v14" /></svg>`,
|
|
74
|
+
minus: `<svg class="lucide lucide-minus" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
75
|
+
><path d="M5 12h14" /></svg>`,
|
|
76
|
+
left: `<svg class="lucide lucide-chevron-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
77
|
+
><path d="m15 18-6-6 6-6" /></svg>`,
|
|
78
|
+
right: `<svg class="lucide lucide-chevron-right" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
79
|
+
><path d="m9 18 6-6-6-6" /></svg>`,
|
|
80
|
+
up: `<svg class="lucide lucide-chevron-up" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
81
|
+
><path d="m18 15-6-6-6 6" /></svg>`,
|
|
82
|
+
down: `<svg class="lucide lucide-chevron-down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
83
|
+
><path d="m6 9 6 6 6-6" /></svg>`,
|
|
84
|
+
"chevron-left": `<svg class="lucide lucide-chevron-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
85
|
+
><path d="m15 18-6-6 6-6" /></svg>`,
|
|
86
|
+
"chevron-right": `<svg class="lucide lucide-chevron-right" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
87
|
+
><path d="m9 18 6-6-6-6" /></svg>`,
|
|
88
|
+
"chevron-up": `<svg class="lucide lucide-chevron-up" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
89
|
+
><path d="m18 15-6-6-6 6" /></svg>`,
|
|
90
|
+
"chevron-down": `<svg class="lucide lucide-chevron-down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
91
|
+
><path d="m6 9 6 6 6-6" /></svg>`,
|
|
92
|
+
"check-circle": `<svg class="lucide lucide-circle-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
93
|
+
><circle cx="12" cy="12" r="10" /><path d="m9 12 2 2 4-4" /></svg>`,
|
|
94
|
+
"close-circle": `<svg class="lucide lucide-circle-x" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
95
|
+
><circle cx="12" cy="12" r="10" /><path d="m15 9-6 6" /><path d="m9 9 6 6" /></svg>`,
|
|
96
|
+
"info-circle": `<svg class="lucide lucide-info" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
97
|
+
><circle cx="12" cy="12" r="10" /><path d="M12 16v-4" /><path d="M12 8h.01" /></svg>`,
|
|
98
|
+
"alert-circle": `<svg class="lucide lucide-circle-alert" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
99
|
+
><circle cx="12" cy="12" r="10" /><line x1="12" x2="12" y1="8" y2="12" /><line x1="12" x2="12.01" y1="16" y2="16" /></svg>`,
|
|
100
|
+
"minus-circle": `<svg class="lucide lucide-circle-minus" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
101
|
+
><circle cx="12" cy="12" r="10" /><path d="M8 12h8" /></svg>`,
|
|
102
|
+
"circle-check": `<svg class="lucide lucide-circle-check" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
103
|
+
><circle cx="12" cy="12" r="10" /><path d="m9 12 2 2 4-4" /></svg>`,
|
|
104
|
+
"circle-x": `<svg class="lucide lucide-circle-x" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
105
|
+
><circle cx="12" cy="12" r="10" /><path d="m15 9-6 6" /><path d="m9 9 6 6" /></svg>`,
|
|
106
|
+
info: `<svg class="lucide lucide-info" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
107
|
+
><circle cx="12" cy="12" r="10" /><path d="M12 16v-4" /><path d="M12 8h.01" /></svg>`,
|
|
108
|
+
"circle-alert": `<svg class="lucide lucide-circle-alert" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
109
|
+
><circle cx="12" cy="12" r="10" /><line x1="12" x2="12" y1="8" y2="12" /><line x1="12" x2="12.01" y1="16" y2="16" /></svg>`,
|
|
110
|
+
"circle-minus": `<svg class="lucide lucide-circle-minus" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
111
|
+
><circle cx="12" cy="12" r="10" /><path d="M8 12h8" /></svg>`,
|
|
112
|
+
link: `<svg class="lucide lucide-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
113
|
+
><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" /><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" /></svg>`,
|
|
114
|
+
loading: '<svg viewBox="0 0 50 50" class="x-icon-loading-svg"><circle cx="25" cy="25" r="20" class="path" fill="none" stroke="currentColor"/></svg>',
|
|
115
|
+
"loading-circle": `<svg class="lucide lucide-loader-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
116
|
+
><path d="M21 12a9 9 0 1 1-6.219-8.56" /></svg>`,
|
|
117
|
+
settings: `<svg class="lucide lucide-settings" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
118
|
+
><path d="M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915" /><circle cx="12" cy="12" r="3" /></svg>`,
|
|
119
|
+
user: `<svg class="lucide lucide-user" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
120
|
+
><path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" /><circle cx="12" cy="7" r="4" /></svg>`,
|
|
121
|
+
calendar: `<svg class="lucide lucide-calendar" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
122
|
+
><path d="M8 2v4" /><path d="M16 2v4" /><rect width="18" height="18" x="3" y="4" rx="2" /><path d="M3 10h18" /></svg>`,
|
|
123
|
+
clock: `<svg class="lucide lucide-clock" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
124
|
+
><circle cx="12" cy="12" r="10" /><path d="M12 6v6l4 2" /></svg>`,
|
|
125
|
+
trash: `<svg class="lucide lucide-trash" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
126
|
+
><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" /><path d="M3 6h18" /><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" /></svg>`,
|
|
127
|
+
edit: `<svg class="lucide lucide-edit" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
128
|
+
><path d="M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" /><path d="M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z" /></svg>`,
|
|
129
|
+
download: `<svg class="lucide lucide-download" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
130
|
+
><path d="M12 15V3" /><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /><path d="m7 10 5 5 5-5" /></svg>`,
|
|
131
|
+
upload: `<svg class="lucide lucide-upload" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
132
|
+
><path d="M12 3v12" /><path d="m17 8-5-5-5 5" /><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" /></svg>`,
|
|
133
|
+
copy: `<svg class="lucide lucide-copy" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
134
|
+
><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg>`,
|
|
135
|
+
eye: `<svg class="lucide lucide-eye" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
136
|
+
><path d="M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" /><circle cx="12" cy="12" r="3" /></svg>`,
|
|
137
|
+
"eye-off": `<svg class="lucide lucide-eye-off" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
138
|
+
><path d="M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" /><path d="M14.084 14.158a3 3 0 0 1-4.242-4.242" /><path d="M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" /><path d="m2 2 20 20" /></svg>`,
|
|
139
|
+
menu: `<svg class="lucide lucide-menu" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
140
|
+
><path d="M4 5h16" /><path d="M4 12h16" /><path d="M4 19h16" /></svg>`,
|
|
141
|
+
"more-horizontal": `<svg class="lucide lucide-more-horizontal" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
142
|
+
><circle cx="12" cy="12" r="1" /><circle cx="19" cy="12" r="1" /><circle cx="5" cy="12" r="1" /></svg>`,
|
|
143
|
+
filter: `<svg class="lucide lucide-filter" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
144
|
+
><path d="M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z" /></svg>`,
|
|
145
|
+
"arrow-up-down": `<svg class="lucide lucide-arrow-up-down" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
146
|
+
><path d="m21 16-4 4-4-4" /><path d="M17 20V4" /><path d="m3 8 4-4 4 4" /><path d="M7 4v16" /></svg>`,
|
|
147
|
+
star: `<svg class="lucide lucide-star" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
148
|
+
><path d="M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z" /></svg>`,
|
|
149
|
+
heart: `<svg class="lucide lucide-heart" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
150
|
+
><path d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5" /></svg>`,
|
|
151
|
+
home: `<svg class="lucide lucide-home" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
152
|
+
><path d="M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8" /><path d="M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" /></svg>`,
|
|
153
|
+
bell: `<svg class="lucide lucide-bell" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
154
|
+
><path d="M10.268 21a2 2 0 0 0 3.464 0" /><path d="M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326" /></svg>`,
|
|
155
|
+
mail: `<svg class="lucide lucide-mail" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
156
|
+
><path d="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" /><rect x="2" y="4" width="20" height="16" rx="2" /></svg>`,
|
|
157
|
+
phone: `<svg class="lucide lucide-phone" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
158
|
+
><path d="M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384" /></svg>`,
|
|
159
|
+
lock: `<svg class="lucide lucide-lock" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
160
|
+
><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 10 0v4" /></svg>`,
|
|
161
|
+
unlock: `<svg class="lucide lucide-unlock" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
162
|
+
><rect width="18" height="11" x="3" y="11" rx="2" ry="2" /><path d="M7 11V7a5 5 0 0 1 9.9-1" /></svg>`,
|
|
163
|
+
"refresh-cw": `<svg class="lucide lucide-refresh-cw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
164
|
+
><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8" /><path d="M21 3v5h-5" /><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16" /><path d="M8 16H3v5" /></svg>`,
|
|
165
|
+
"rotate-ccw": `<svg class="lucide lucide-rotate-ccw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
166
|
+
><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" /><path d="M3 3v5h5" /></svg>`,
|
|
167
|
+
"zoom-in": `<svg class="lucide lucide-zoom-in" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
168
|
+
><circle cx="11" cy="11" r="8" /><line x1="21" x2="16.65" y1="21" y2="16.65" /><line x1="11" x2="11" y1="8" y2="14" /><line x1="8" x2="14" y1="11" y2="11" /></svg>`,
|
|
169
|
+
"zoom-out": `<svg class="lucide lucide-zoom-out" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
170
|
+
><circle cx="11" cy="11" r="8" /><line x1="21" x2="16.65" y1="21" y2="16.65" /><line x1="8" x2="14" y1="11" y2="11" /></svg>`,
|
|
171
|
+
maximize: `<svg class="lucide lucide-maximize" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
172
|
+
><path d="M8 3H5a2 2 0 0 0-2 2v3" /><path d="M21 8V5a2 2 0 0 0-2-2h-3" /><path d="M3 16v3a2 2 0 0 0 2 2h3" /><path d="M16 21h3a2 2 0 0 0 2-2v-3" /></svg>`,
|
|
173
|
+
image: `<svg class="lucide lucide-image" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
174
|
+
><rect width="18" height="18" x="3" y="3" rx="2" ry="2" /><circle cx="9" cy="9" r="2" /><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21" /></svg>`,
|
|
175
|
+
file: `<svg class="lucide lucide-file" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
176
|
+
><path d="M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z" /><path d="M14 2v5a1 1 0 0 0 1 1h5" /></svg>`,
|
|
177
|
+
folder: `<svg class="lucide lucide-folder" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
178
|
+
><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z" /></svg>`,
|
|
179
|
+
save: `<svg class="lucide lucide-save" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
180
|
+
><path d="M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" /><path d="M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7" /><path d="M7 3v4a1 1 0 0 0 1 1h7" /></svg>`,
|
|
181
|
+
"external-link": `<svg class="lucide lucide-external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
|
|
182
|
+
><path d="M15 3h6v6" /><path d="M10 14 21 3" /><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" /></svg>`
|
|
183
|
+
}, r = {
|
|
184
|
+
"loader-circle": o["loading-circle"]
|
|
185
|
+
}, s = () => {
|
|
186
|
+
e(o), e(r);
|
|
187
|
+
};
|
|
188
|
+
export {
|
|
189
|
+
n as publicIconNames,
|
|
190
|
+
o as publicIcons,
|
|
191
|
+
s as registerPublicIcons
|
|
192
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const e = /* @__PURE__ */ new Map(), o = (s) => !/^\s*<svg[\s>]/i.test(s) || /<script[\s>]|<foreignObject[\s>]|javascript:|\son[a-z]+\s*=/i.test(s), c = (s, t) => {
|
|
2
|
+
if (s) {
|
|
3
|
+
if (typeof t == "string" && o(t))
|
|
4
|
+
return;
|
|
5
|
+
e.set(s, t);
|
|
6
|
+
}
|
|
7
|
+
}, r = (s) => {
|
|
8
|
+
e.delete(s);
|
|
9
|
+
}, i = (s) => e.has(s), a = (s) => e.get(s), g = (s) => {
|
|
10
|
+
Object.entries(s).forEach(([t, n]) => c(t, n));
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
c as addIcon,
|
|
14
|
+
a as getIcon,
|
|
15
|
+
i as hasIcon,
|
|
16
|
+
g as registerIcons,
|
|
17
|
+
r as removeIcon
|
|
18
|
+
};
|
package/dist/es/index.js
ADDED
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
import * as r from "./components/index.js";
|
|
3
|
+
import { Icon as m } from "./icons/index.js";
|
|
4
|
+
import { setupDirectives as p } from "./directives/index.js";
|
|
5
|
+
import { default as c } from "./components/dialog/use.js";
|
|
6
|
+
import { default as l } from "./components/message/warp.js";
|
|
7
|
+
import { default as g } from "./components/message-box/MessageBox.js";
|
|
8
|
+
import { default as S } from "./components/notification/warp.js";
|
|
9
|
+
import { Dialog as b } from "./components/dialog/index.js";
|
|
10
|
+
import { Message as L } from "./components/message/index.js";
|
|
11
|
+
import { Notification as C } from "./components/notification/index.js";
|
|
12
|
+
import { useResizeObserver as w } from "./_hooks/use-resize-observer.js";
|
|
13
|
+
import { useFormItem as y } from "./_hooks/use-form-item.js";
|
|
14
|
+
import { applyThemeColor as M, generatePalette as v } from "./_utils/palette.js";
|
|
15
|
+
import { LOCALES as E, formatMessage as O, getGlobalLocale as R, setGlobalLocale as A, useLocale as B } from "./locale/index.js";
|
|
16
|
+
import { useDraggable as F } from "./components/draggable/useDraggable.js";
|
|
17
|
+
import { vDraggable as z } from "./components/draggable/directive.js";
|
|
18
|
+
import { Watermark as W } from "./components/watermark/index.js";
|
|
19
|
+
import { default as U } from "./locale/en-US.js";
|
|
20
|
+
import { default as X } from "./locale/zh-CN.js";
|
|
21
|
+
import { Alert as Z } from "./components/alert/index.js";
|
|
22
|
+
import { Button as J, ButtonGroup as V } from "./components/button/index.js";
|
|
23
|
+
import { Checkbox as oo, CheckboxGroup as eo } from "./components/form-checkbox/index.js";
|
|
24
|
+
import { Col as to, Grid as mo, GridItem as po, Row as fo } from "./components/grid/index.js";
|
|
25
|
+
import { ConfigProvider as no } from "./components/config-provider/index.js";
|
|
26
|
+
import { DatePicker as io, MonthPicker as so, QuarterPicker as co, RangePicker as uo, WeekPicker as lo, YearPicker as go } from "./components/date-picker/index.js";
|
|
27
|
+
import { Draggable as So } from "./components/draggable/index.js";
|
|
28
|
+
import { Drawer as bo } from "./components/drawer/index.js";
|
|
29
|
+
import { Dropdown as Lo, DropdownButton as ko, DropdownGroup as Co, DropdownOption as Do, DropdownSubmenu as wo } from "./components/dropdown/index.js";
|
|
30
|
+
import { Empty as yo } from "./components/empty/index.js";
|
|
31
|
+
import { Form as Mo, FormItem as vo } from "./components/form/index.js";
|
|
32
|
+
import { Image as Eo, ImagePreview as Oo, ImagePreviewAction as Ro, ImagePreviewGroup as Ao } from "./components/image/index.js";
|
|
33
|
+
import { Input as _o, InputGroup as Fo, InputPassword as jo, InputSearch as zo } from "./components/form-input/index.js";
|
|
34
|
+
import { InputNumber as Wo } from "./components/form-input-number/index.js";
|
|
35
|
+
import { InputTag as Uo } from "./components/form-input-tag/index.js";
|
|
36
|
+
import { Layout as Xo, LayoutContent as Yo, LayoutFooter as Zo, LayoutHeader as qo, LayoutSidebar as Jo } from "./components/layout/index.js";
|
|
37
|
+
import { Link as $o } from "./components/link/index.js";
|
|
38
|
+
import { Menu as ee, MenuItem as re, MenuItemGroup as te, MenuSubMenu as me } from "./components/menu/index.js";
|
|
39
|
+
import { Network as fe } from "./components/network/index.js";
|
|
40
|
+
import { Pagination as ne } from "./components/pagination/index.js";
|
|
41
|
+
import { Popconfirm as ie } from "./components/popconfirm/index.js";
|
|
42
|
+
import { Popover as ce } from "./components/popover/index.js";
|
|
43
|
+
import { Popup as le } from "./components/popup/index.js";
|
|
44
|
+
import { Progress as ge } from "./components/progress/index.js";
|
|
45
|
+
import { Radio as Se, RadioGroup as Te } from "./components/form-radio/index.js";
|
|
46
|
+
import { Rate as Pe } from "./components/rate/index.js";
|
|
47
|
+
import { ResizeBox as ke } from "./components/resize-box/index.js";
|
|
48
|
+
import { Scrollbar as De } from "./components/scrollbar-v2/index.js";
|
|
49
|
+
import { Select as he, SelectDropdown as ye, SelectOption as Ge, SelectOptionGroup as Me } from "./components/form-select/index.js";
|
|
50
|
+
import { Skeleton as Ne, SkeletonLine as Ee, SkeletonShape as Oe } from "./components/skeleton/index.js";
|
|
51
|
+
import { Slider as Ae } from "./components/form-slider/index.js";
|
|
52
|
+
import { Space as _e } from "./components/space/index.js";
|
|
53
|
+
import { Spin as je } from "./components/spin/index.js";
|
|
54
|
+
import { Step as Ke, Steps as We } from "./components/steps/index.js";
|
|
55
|
+
import { Switch as Ue } from "./components/form-switch/index.js";
|
|
56
|
+
import { TABLE_LOCALE_EN_US as Xe, TABLE_LOCALE_ZH_CN as Ye, formatLocaleText as Ze } from "./components/table/locale.js";
|
|
57
|
+
import { TabPane as Je, Tabs as Ve } from "./components/tabs/index.js";
|
|
58
|
+
import { Table as or, TableColumn as er } from "./components/table/index.js";
|
|
59
|
+
import { Tag as tr } from "./components/tag/index.js";
|
|
60
|
+
import { default as pr } from "./components/table/table-tbody.js";
|
|
61
|
+
import { default as ar } from "./components/table/table-td.js";
|
|
62
|
+
import { Textarea as xr } from "./components/form-textarea/index.js";
|
|
63
|
+
import { default as sr } from "./components/table/table-th.js";
|
|
64
|
+
import { default as ur } from "./components/table/table-thead.js";
|
|
65
|
+
import { TimePicker as dr } from "./components/time-picker/index.js";
|
|
66
|
+
import { TimeRangeSelector as Ir } from "./components/time-range-selector/index.js";
|
|
67
|
+
import { Timeline as Tr } from "./components/timeline/index.js";
|
|
68
|
+
import { TimelineItem as Pr } from "./components/timeline-item/index.js";
|
|
69
|
+
import { Tooltip as kr } from "./components/tooltip/index.js";
|
|
70
|
+
import { default as Dr } from "./components/table/table-tr.js";
|
|
71
|
+
import { TrendChart as hr } from "./components/trend-chart/index.js";
|
|
72
|
+
import { Trigger as Gr } from "./components/trigger/index.js";
|
|
73
|
+
import { addIcon as vr, hasIcon as Nr, registerIcons as Er, removeIcon as Or } from "./icons/registry.js";
|
|
74
|
+
import { configProviderInjectionKey as Ar } from "./components/config-provider/context.js";
|
|
75
|
+
import { finiconCategories as _r, finiconIconsMeta as Fr } from "./icons/public/finicon-meta.js";
|
|
76
|
+
import { finiconIconNames as zr, finiconIcons as Kr, registerFiniconIcons as Wr } from "./icons/public/finicon.js";
|
|
77
|
+
import { formInjectionKey as Ur, formItemInjectionKey as Qr } from "./components/form/context.js";
|
|
78
|
+
import { publicIconNames as Yr, registerPublicIcons as Zr } from "./icons/public/lucide.js";
|
|
79
|
+
import { vWatermark as Jr } from "./components/watermark/directive.js";
|
|
80
|
+
const x = {
|
|
81
|
+
install: function(o) {
|
|
82
|
+
p(o), o.use(m), Object.keys(r).forEach((t) => {
|
|
83
|
+
const e = r[t];
|
|
84
|
+
e.install && o.use(e);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
export {
|
|
89
|
+
Z as Alert,
|
|
90
|
+
J as Button,
|
|
91
|
+
V as ButtonGroup,
|
|
92
|
+
oo as Checkbox,
|
|
93
|
+
eo as CheckboxGroup,
|
|
94
|
+
to as Col,
|
|
95
|
+
no as ConfigProvider,
|
|
96
|
+
io as DatePicker,
|
|
97
|
+
c as Dialog,
|
|
98
|
+
b as DialogComponent,
|
|
99
|
+
So as Draggable,
|
|
100
|
+
bo as Drawer,
|
|
101
|
+
Lo as Dropdown,
|
|
102
|
+
ko as DropdownButton,
|
|
103
|
+
Co as DropdownGroup,
|
|
104
|
+
Do as DropdownOption,
|
|
105
|
+
wo as DropdownSubmenu,
|
|
106
|
+
yo as Empty,
|
|
107
|
+
Mo as Form,
|
|
108
|
+
vo as FormItem,
|
|
109
|
+
mo as Grid,
|
|
110
|
+
po as GridItem,
|
|
111
|
+
m as Icon,
|
|
112
|
+
Eo as Image,
|
|
113
|
+
Oo as ImagePreview,
|
|
114
|
+
Ro as ImagePreviewAction,
|
|
115
|
+
Ao as ImagePreviewGroup,
|
|
116
|
+
_o as Input,
|
|
117
|
+
Fo as InputGroup,
|
|
118
|
+
Wo as InputNumber,
|
|
119
|
+
jo as InputPassword,
|
|
120
|
+
zo as InputSearch,
|
|
121
|
+
Uo as InputTag,
|
|
122
|
+
E as LOCALES,
|
|
123
|
+
Xo as Layout,
|
|
124
|
+
Yo as LayoutContent,
|
|
125
|
+
Zo as LayoutFooter,
|
|
126
|
+
qo as LayoutHeader,
|
|
127
|
+
Jo as LayoutSidebar,
|
|
128
|
+
$o as Link,
|
|
129
|
+
ee as Menu,
|
|
130
|
+
re as MenuItem,
|
|
131
|
+
te as MenuItemGroup,
|
|
132
|
+
me as MenuSubMenu,
|
|
133
|
+
l as Message,
|
|
134
|
+
g as MessageBox,
|
|
135
|
+
L as MessageComponent,
|
|
136
|
+
so as MonthPicker,
|
|
137
|
+
fe as Network,
|
|
138
|
+
S as Notification,
|
|
139
|
+
C as NotificationComponent,
|
|
140
|
+
ne as Pagination,
|
|
141
|
+
ie as Popconfirm,
|
|
142
|
+
ce as Popover,
|
|
143
|
+
le as Popup,
|
|
144
|
+
ge as Progress,
|
|
145
|
+
co as QuarterPicker,
|
|
146
|
+
Se as Radio,
|
|
147
|
+
Te as RadioGroup,
|
|
148
|
+
uo as RangePicker,
|
|
149
|
+
Pe as Rate,
|
|
150
|
+
ke as ResizeBox,
|
|
151
|
+
fo as Row,
|
|
152
|
+
De as Scrollbar,
|
|
153
|
+
he as Select,
|
|
154
|
+
ye as SelectDropdown,
|
|
155
|
+
Ge as SelectOption,
|
|
156
|
+
Me as SelectOptionGroup,
|
|
157
|
+
Ne as Skeleton,
|
|
158
|
+
Ee as SkeletonLine,
|
|
159
|
+
Oe as SkeletonShape,
|
|
160
|
+
Ae as Slider,
|
|
161
|
+
_e as Space,
|
|
162
|
+
je as Spin,
|
|
163
|
+
Ke as Step,
|
|
164
|
+
We as Steps,
|
|
165
|
+
Ue as Switch,
|
|
166
|
+
Xe as TABLE_LOCALE_EN_US,
|
|
167
|
+
Ye as TABLE_LOCALE_ZH_CN,
|
|
168
|
+
Je as TabPane,
|
|
169
|
+
or as Table,
|
|
170
|
+
er as TableColumn,
|
|
171
|
+
Ve as Tabs,
|
|
172
|
+
tr as Tag,
|
|
173
|
+
pr as Tbody,
|
|
174
|
+
ar as Td,
|
|
175
|
+
xr as Textarea,
|
|
176
|
+
sr as Th,
|
|
177
|
+
ur as Thead,
|
|
178
|
+
dr as TimePicker,
|
|
179
|
+
Ir as TimeRangeSelector,
|
|
180
|
+
Tr as Timeline,
|
|
181
|
+
Pr as TimelineItem,
|
|
182
|
+
kr as Tooltip,
|
|
183
|
+
Dr as Tr,
|
|
184
|
+
hr as TrendChart,
|
|
185
|
+
Gr as Trigger,
|
|
186
|
+
W as Watermark,
|
|
187
|
+
lo as WeekPicker,
|
|
188
|
+
go as YearPicker,
|
|
189
|
+
vr as addIcon,
|
|
190
|
+
M as applyThemeColor,
|
|
191
|
+
Ar as configProviderInjectionKey,
|
|
192
|
+
x as default,
|
|
193
|
+
U as enUS,
|
|
194
|
+
_r as finiconCategories,
|
|
195
|
+
zr as finiconIconNames,
|
|
196
|
+
Kr as finiconIcons,
|
|
197
|
+
Fr as finiconIconsMeta,
|
|
198
|
+
Ur as formInjectionKey,
|
|
199
|
+
Qr as formItemInjectionKey,
|
|
200
|
+
Ze as formatLocaleText,
|
|
201
|
+
O as formatMessage,
|
|
202
|
+
v as generatePalette,
|
|
203
|
+
R as getGlobalLocale,
|
|
204
|
+
Nr as hasIcon,
|
|
205
|
+
Yr as publicIconNames,
|
|
206
|
+
Wr as registerFiniconIcons,
|
|
207
|
+
Er as registerIcons,
|
|
208
|
+
Zr as registerPublicIcons,
|
|
209
|
+
Or as removeIcon,
|
|
210
|
+
A as setGlobalLocale,
|
|
211
|
+
F as useDraggable,
|
|
212
|
+
y as useFormItem,
|
|
213
|
+
B as useLocale,
|
|
214
|
+
w as useResizeObserver,
|
|
215
|
+
z as vDraggable,
|
|
216
|
+
Jr as vWatermark,
|
|
217
|
+
X as zhCN
|
|
218
|
+
};
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
code: "en-US",
|
|
3
|
+
pagination: {
|
|
4
|
+
prev: "Previous page",
|
|
5
|
+
next: "Next page",
|
|
6
|
+
jumpToPage: "Jump to page {page}",
|
|
7
|
+
pageSizeOption: "{size} / page",
|
|
8
|
+
jumpTo: "Go to",
|
|
9
|
+
total: "Total {total}"
|
|
10
|
+
},
|
|
11
|
+
table: {
|
|
12
|
+
resetText: "Reset",
|
|
13
|
+
okText: "OK",
|
|
14
|
+
currentColumnText: "Column",
|
|
15
|
+
filterLabelText: "Filter {column}",
|
|
16
|
+
summaryText: "Summary"
|
|
17
|
+
},
|
|
18
|
+
dialog: {
|
|
19
|
+
okText: "OK",
|
|
20
|
+
cancelText: "Cancel",
|
|
21
|
+
closeLabel: "Close {title}"
|
|
22
|
+
},
|
|
23
|
+
empty: {
|
|
24
|
+
description: "No data"
|
|
25
|
+
},
|
|
26
|
+
network: {
|
|
27
|
+
checking: "Checking",
|
|
28
|
+
good: "Good",
|
|
29
|
+
fair: "Fair",
|
|
30
|
+
poor: "Poor",
|
|
31
|
+
offline: "Offline",
|
|
32
|
+
ariaLabel: "Network status: {status}"
|
|
33
|
+
},
|
|
34
|
+
common: {
|
|
35
|
+
clear: "Clear",
|
|
36
|
+
clearTarget: "Clear {target}",
|
|
37
|
+
closeTarget: "Close {target}",
|
|
38
|
+
search: "Search",
|
|
39
|
+
select: "Select",
|
|
40
|
+
close: "Close",
|
|
41
|
+
loading: "Loading",
|
|
42
|
+
noData: "No data",
|
|
43
|
+
previous: "Previous",
|
|
44
|
+
next: "Next",
|
|
45
|
+
date: "date",
|
|
46
|
+
time: "time",
|
|
47
|
+
dateRange: "date range",
|
|
48
|
+
timeRange: "time range",
|
|
49
|
+
tag: "tag",
|
|
50
|
+
notification: "notification"
|
|
51
|
+
},
|
|
52
|
+
imagePreview: {
|
|
53
|
+
fullscreen: "Fullscreen",
|
|
54
|
+
rotateRight: "Rotate right",
|
|
55
|
+
rotateLeft: "Rotate left",
|
|
56
|
+
zoomIn: "Zoom in",
|
|
57
|
+
zoomOut: "Zoom out",
|
|
58
|
+
originalSize: "Original size",
|
|
59
|
+
previewLabel: "Image {index} of {total}",
|
|
60
|
+
closeLabel: "Close preview",
|
|
61
|
+
prevLabel: "Previous image",
|
|
62
|
+
nextLabel: "Next image"
|
|
63
|
+
},
|
|
64
|
+
input: {
|
|
65
|
+
showPassword: "Show password",
|
|
66
|
+
hidePassword: "Hide password"
|
|
67
|
+
},
|
|
68
|
+
menu: {
|
|
69
|
+
expand: "Expand menu",
|
|
70
|
+
collapse: "Collapse menu"
|
|
71
|
+
},
|
|
72
|
+
tabs: {
|
|
73
|
+
scrollPrev: "Scroll tabs backward",
|
|
74
|
+
scrollNext: "Scroll tabs forward",
|
|
75
|
+
add: "Add tab",
|
|
76
|
+
close: "Close tab {title}"
|
|
77
|
+
},
|
|
78
|
+
message: {
|
|
79
|
+
closeLabel: "Close{id} message"
|
|
80
|
+
},
|
|
81
|
+
datePicker: {
|
|
82
|
+
prevPage: "Previous page",
|
|
83
|
+
prevItem: "Previous",
|
|
84
|
+
nextItem: "Next",
|
|
85
|
+
nextPage: "Next page",
|
|
86
|
+
today: "Today",
|
|
87
|
+
thisWeek: "This week",
|
|
88
|
+
thisMonth: "This month",
|
|
89
|
+
thisYear: "This year",
|
|
90
|
+
thisQuarter: "This quarter",
|
|
91
|
+
weekColumn: "Week",
|
|
92
|
+
weekdays: {
|
|
93
|
+
sun: "Sun",
|
|
94
|
+
mon: "Mon",
|
|
95
|
+
tue: "Tue",
|
|
96
|
+
wed: "Wed",
|
|
97
|
+
thu: "Thu",
|
|
98
|
+
fri: "Fri",
|
|
99
|
+
sat: "Sat"
|
|
100
|
+
},
|
|
101
|
+
selectTime: "Select time",
|
|
102
|
+
ok: "OK",
|
|
103
|
+
placeholderDate: "Select date",
|
|
104
|
+
placeholderWeek: "Select week",
|
|
105
|
+
placeholderMonth: "Select month",
|
|
106
|
+
placeholderYear: "Select year",
|
|
107
|
+
placeholderQuarter: "Select quarter",
|
|
108
|
+
rangeStart: "Start {type}",
|
|
109
|
+
rangeEnd: "End {type}",
|
|
110
|
+
dateLabel: "date",
|
|
111
|
+
weekLabel: "Week {week}",
|
|
112
|
+
monthLabel: "{monthName}"
|
|
113
|
+
},
|
|
114
|
+
timePicker: {
|
|
115
|
+
placeholder: "Select time",
|
|
116
|
+
rangeStart: "Start time",
|
|
117
|
+
rangeEnd: "End time",
|
|
118
|
+
now: "Now",
|
|
119
|
+
ok: "OK",
|
|
120
|
+
hour: "Hour",
|
|
121
|
+
minute: "Minute",
|
|
122
|
+
second: "Second"
|
|
123
|
+
},
|
|
124
|
+
validateMessages: {
|
|
125
|
+
required: "#{field} is required",
|
|
126
|
+
type: {
|
|
127
|
+
string: "#{field} is not a valid string",
|
|
128
|
+
number: "#{field} is not a valid number",
|
|
129
|
+
boolean: "#{field} is not a valid boolean",
|
|
130
|
+
array: "#{field} is not a valid array",
|
|
131
|
+
object: "#{field} is not a valid object",
|
|
132
|
+
url: "#{field} is not a valid url",
|
|
133
|
+
email: "#{field} is not a valid email",
|
|
134
|
+
ip: "#{field} is not a valid IP address"
|
|
135
|
+
},
|
|
136
|
+
number: {
|
|
137
|
+
min: "`#{value}` is less than the minimum `#{min}`",
|
|
138
|
+
max: "`#{value}` is greater than the maximum `#{max}`",
|
|
139
|
+
equal: "`#{value}` is not equal to `#{equal}`",
|
|
140
|
+
range: "`#{value}` is not in range `#{min} ~ #{max}`",
|
|
141
|
+
positive: "`#{value}` is not a positive number",
|
|
142
|
+
negative: "`#{value}` is not a negative number"
|
|
143
|
+
},
|
|
144
|
+
array: {
|
|
145
|
+
length: "`#{field}` length is not equal to #{length}",
|
|
146
|
+
minLength: "`#{field}` must contain at least #{minLength} items",
|
|
147
|
+
maxLength: "`#{field}` must contain at most #{maxLength} items",
|
|
148
|
+
includes: "#{field} does not include #{includes}",
|
|
149
|
+
deepEqual: "#{field} is not equal to #{deepEqual}",
|
|
150
|
+
empty: "`#{field}` is not an empty array"
|
|
151
|
+
},
|
|
152
|
+
string: {
|
|
153
|
+
minLength: "Must be at least #{minLength} characters",
|
|
154
|
+
maxLength: "Must be at most #{maxLength} characters",
|
|
155
|
+
length: "Must be exactly #{length} characters",
|
|
156
|
+
match: "`#{value}` does not match pattern #{pattern}",
|
|
157
|
+
uppercase: "`#{value}` must be all uppercase",
|
|
158
|
+
lowercase: "`#{value}` must be all lowercase"
|
|
159
|
+
},
|
|
160
|
+
object: {
|
|
161
|
+
deepEqual: "`#{field}` is not equal to the expected value",
|
|
162
|
+
hasKeys: "`#{field}` does not contain the required fields",
|
|
163
|
+
empty: "`#{field}` is not an object"
|
|
164
|
+
},
|
|
165
|
+
boolean: {
|
|
166
|
+
true: "Expect `true`",
|
|
167
|
+
false: "Expect `false`"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
export {
|
|
172
|
+
e as default
|
|
173
|
+
};
|