@routa/ui-vue 0.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/LICENSE +21 -0
- package/README.md +52 -0
- package/base.css +1 -0
- package/dist/autocomplete/AutoComplete.vue.d.ts +336 -0
- package/dist/autocomplete/index.d.ts +298 -0
- package/dist/autocomplete/index.js +4 -0
- package/dist/autocomplete/index.mjs +321 -0
- package/dist/autocomplete/types.d.ts +58 -0
- package/dist/avatar/Avatar.vue.d.ts +36 -0
- package/dist/avatar/AvatarGroup.vue.d.ts +7 -0
- package/dist/avatar/index.d.ts +7 -0
- package/dist/avatar/index.js +3 -0
- package/dist/avatar/index.mjs +192 -0
- package/dist/avatar/types.d.ts +111 -0
- package/dist/badge/Badge.vue.d.ts +25 -0
- package/dist/badge/index.d.ts +5 -0
- package/dist/badge/index.js +2 -0
- package/dist/badge/index.mjs +72 -0
- package/dist/badge/types.d.ts +86 -0
- package/dist/breadcrumb/Breadcrumb.vue.d.ts +38 -0
- package/dist/breadcrumb/BreadcrumbItem.vue.d.ts +48 -0
- package/dist/breadcrumb/index.d.ts +7 -0
- package/dist/breadcrumb/index.js +2 -0
- package/dist/breadcrumb/index.mjs +87 -0
- package/dist/breadcrumb/types.d.ts +28 -0
- package/dist/button/Button.vue.d.ts +27 -0
- package/dist/button/index.d.ts +5 -0
- package/dist/button/index.js +2 -0
- package/dist/button/index.mjs +10 -0
- package/dist/button/types.d.ts +14 -0
- package/dist/card/Card.vue.d.ts +49 -0
- package/dist/card/index.d.ts +72 -0
- package/dist/card/index.js +2 -0
- package/dist/card/index.mjs +60 -0
- package/dist/card/types.d.ts +16 -0
- package/dist/carousel/Carousel.vue.d.ts +134 -0
- package/dist/carousel/CarouselItem.vue.d.ts +23 -0
- package/dist/carousel/index.d.ts +250 -0
- package/dist/carousel/index.js +2 -0
- package/dist/carousel/index.mjs +354 -0
- package/dist/carousel/types.d.ts +97 -0
- package/dist/cascader/Cascader.vue.d.ts +109 -0
- package/dist/cascader/CascaderPanel.vue.d.ts +55 -0
- package/dist/cascader/index.d.ts +110 -0
- package/dist/cascader/index.js +5 -0
- package/dist/cascader/index.mjs +370 -0
- package/dist/cascader/types.d.ts +54 -0
- package/dist/checkbox/Checkbox.vue.d.ts +99 -0
- package/dist/checkbox/CheckboxGroup.vue.d.ts +59 -0
- package/dist/checkbox/constants.d.ts +2 -0
- package/dist/checkbox/index.d.ts +9 -0
- package/dist/checkbox/index.js +2 -0
- package/dist/checkbox/index.mjs +70 -0
- package/dist/checkbox/types.d.ts +64 -0
- package/dist/chunks/Button.vue_vue_type_script_setup_true_lang-BthtEkGw.mjs +170 -0
- package/dist/chunks/Button.vue_vue_type_script_setup_true_lang-Do1NtIFC.js +1 -0
- package/dist/chunks/Checkbox.vue_vue_type_script_setup_true_lang-DxecbRJE.js +1 -0
- package/dist/chunks/Checkbox.vue_vue_type_script_setup_true_lang-fOXXjwnz.mjs +289 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-LQ-KuJ6a.mjs +57 -0
- package/dist/chunks/Icon.vue_vue_type_script_setup_true_lang-YDWguTmi.js +1 -0
- package/dist/chunks/Input.vue_vue_type_script_setup_true_lang-8x2HE2Cj.js +1 -0
- package/dist/chunks/Input.vue_vue_type_script_setup_true_lang-PeDZ7smO.mjs +391 -0
- package/dist/chunks/Popover.vue_vue_type_script_setup_true_lang-CVWbekIQ.mjs +176 -0
- package/dist/chunks/Popover.vue_vue_type_script_setup_true_lang-TF9OnqB0.js +1 -0
- package/dist/chunks/Scrollbar.vue_vue_type_script_setup_true_lang-CtBz7Ha9.js +1 -0
- package/dist/chunks/Scrollbar.vue_vue_type_script_setup_true_lang-kKvR0Hz3.mjs +124 -0
- package/dist/chunks/TimePanel.vue_vue_type_script_setup_true_lang-BNTM3OeU.js +1 -0
- package/dist/chunks/TimePanel.vue_vue_type_script_setup_true_lang-BxuIhLsF.mjs +170 -0
- package/dist/chunks/_plugin-vue_export-helper-BHFhmbuH.js +1 -0
- package/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/chunks/auto-update-6n8Xn1EH.js +1 -0
- package/dist/chunks/auto-update-Dw-2qIsQ.mjs +59 -0
- package/dist/chunks/color-BBpRjg5d.mjs +32 -0
- package/dist/chunks/color-m1q_rZ68.js +1 -0
- package/dist/chunks/context-BEsW77hb.js +1 -0
- package/dist/chunks/context-BlK-PJ3n.mjs +5 -0
- package/dist/chunks/controller-37WpkEdZ.js +1 -0
- package/dist/chunks/controller-3cWaJJMW.mjs +318 -0
- package/dist/chunks/controller-BQhkT8pi.mjs +95 -0
- package/dist/chunks/controller-BnNZOOMj.js +1 -0
- package/dist/chunks/controller-CV-a983I.js +1 -0
- package/dist/chunks/controller-D1BTHmfO.js +1 -0
- package/dist/chunks/controller-DZp6lWY1.mjs +96 -0
- package/dist/chunks/controller-DdEBnv9V.mjs +82 -0
- package/dist/chunks/id-CfLxBW9l.js +1 -0
- package/dist/chunks/id-VS2potoV.mjs +7 -0
- package/dist/chunks/index-B0yEC3RG.mjs +136 -0
- package/dist/chunks/index-B4GP5rXr.mjs +170 -0
- package/dist/chunks/index-DWAWrVaT.js +1 -0
- package/dist/chunks/index-RYR-1S7A.js +1 -0
- package/dist/chunks/install-DJNxamQ0.mjs +10 -0
- package/dist/chunks/install-gnn2dOg9.js +1 -0
- package/dist/chunks/manager-BUdQK4AD.mjs +156 -0
- package/dist/chunks/manager-C-VTKQvg.mjs +85 -0
- package/dist/chunks/manager-C0AUxQ1I.js +2 -0
- package/dist/chunks/manager-d-AJMlyO.js +1 -0
- package/dist/chunks/modal-BiivqQQz.mjs +86 -0
- package/dist/chunks/modal-CRbFkVcm.js +1 -0
- package/dist/chunks/responsive-BYScjISa.js +1 -0
- package/dist/chunks/responsive-jCVnPx1a.mjs +49 -0
- package/dist/chunks/style-C-58-Hx4.mjs +7 -0
- package/dist/chunks/style-CjCLKeeU.js +1 -0
- package/dist/chunks/types-CXAGM03M.mjs +92 -0
- package/dist/chunks/types-DS78vyi2.js +1 -0
- package/dist/chunks/use-form-item-CloIcyon.js +1 -0
- package/dist/chunks/use-form-item-CqDbWCiU.mjs +16 -0
- package/dist/chunks/use-id-BycaM3-h.js +1 -0
- package/dist/chunks/use-id-D3casveg.mjs +9 -0
- package/dist/chunks/use-signals-Bz1smiXh.js +1 -0
- package/dist/chunks/use-signals-CE1T2jXK.mjs +50 -0
- package/dist/chunks/useCanvasRenderer-BPTNzGy0.mjs +87 -0
- package/dist/chunks/useCanvasRenderer-D77k3JCQ.js +1 -0
- package/dist/chunks/useResizeObserver-Cki4q_CI.mjs +60 -0
- package/dist/chunks/useResizeObserver-DMkB1OF3.js +1 -0
- package/dist/chunks/z-index-CNZLw1v7.js +1 -0
- package/dist/chunks/z-index-D9ecXoNe.mjs +14 -0
- package/dist/collapse/Collapse.vue.d.ts +30 -0
- package/dist/collapse/CollapseItem.vue.d.ts +20 -0
- package/dist/collapse/index.d.ts +8 -0
- package/dist/collapse/index.js +3 -0
- package/dist/collapse/index.mjs +144 -0
- package/dist/collapse/types.d.ts +54 -0
- package/dist/color-picker/AlphaSlider.vue.d.ts +38 -0
- package/dist/color-picker/ColorPicker.vue.d.ts +57 -0
- package/dist/color-picker/HueSlider.vue.d.ts +28 -0
- package/dist/color-picker/SaturationPanel.vue.d.ts +46 -0
- package/dist/color-picker/index.d.ts +56 -0
- package/dist/color-picker/index.js +6 -0
- package/dist/color-picker/index.mjs +481 -0
- package/dist/config-provider/ConfigProvider.vue.d.ts +64 -0
- package/dist/config-provider/context.d.ts +888 -0
- package/dist/config-provider/index.d.ts +97 -0
- package/dist/config-provider/index.js +1 -0
- package/dist/config-provider/index.mjs +396 -0
- package/dist/config-provider/resolver.d.ts +2 -0
- package/dist/config-provider/runtime.d.ts +5 -0
- package/dist/config-provider/teleport.d.ts +6 -0
- package/dist/config-provider/types.d.ts +131 -0
- package/dist/context-menu/ContextMenu.vue.d.ts +87 -0
- package/dist/context-menu/index.d.ts +5 -0
- package/dist/context-menu/index.js +3 -0
- package/dist/context-menu/index.mjs +215 -0
- package/dist/context-menu/types.d.ts +34 -0
- package/dist/date-picker/Calendar.vue.d.ts +22 -0
- package/dist/date-picker/DatePicker.vue.d.ts +31 -0
- package/dist/date-picker/DateRangePicker.vue.d.ts +26 -0
- package/dist/date-picker/DateTimePicker.vue.d.ts +27 -0
- package/dist/date-picker/DateTimeRangePicker.vue.d.ts +27 -0
- package/dist/date-picker/index.d.ts +13 -0
- package/dist/date-picker/index.js +6 -0
- package/dist/date-picker/index.mjs +1229 -0
- package/dist/date-picker/utils.d.ts +3 -0
- package/dist/dialog/Dialog.vue.d.ts +97 -0
- package/dist/dialog/index.d.ts +5 -0
- package/dist/dialog/index.js +2 -0
- package/dist/dialog/index.mjs +161 -0
- package/dist/dialog/types.d.ts +38 -0
- package/dist/divider/Divider.vue.d.ts +74 -0
- package/dist/divider/index.d.ts +5 -0
- package/dist/divider/index.js +2 -0
- package/dist/divider/index.mjs +96 -0
- package/dist/divider/types.d.ts +57 -0
- package/dist/drawer/Drawer.vue.d.ts +106 -0
- package/dist/drawer/index.d.ts +5 -0
- package/dist/drawer/index.js +2 -0
- package/dist/drawer/index.mjs +168 -0
- package/dist/drawer/types.d.ts +42 -0
- package/dist/dropdown/Dropdown.vue.d.ts +109 -0
- package/dist/dropdown/DropdownItem.vue.d.ts +60 -0
- package/dist/dropdown/index.d.ts +7 -0
- package/dist/dropdown/index.js +3 -0
- package/dist/dropdown/index.mjs +310 -0
- package/dist/dropdown/types.d.ts +87 -0
- package/dist/empty/Empty.vue.d.ts +47 -0
- package/dist/empty/index.d.ts +70 -0
- package/dist/empty/index.js +2 -0
- package/dist/empty/index.mjs +50 -0
- package/dist/empty/types.d.ts +16 -0
- package/dist/feedback-runtime/manager.d.ts +109 -0
- package/dist/feedback-runtime/mount.d.ts +5 -0
- package/dist/feedback-runtime/types.d.ts +27 -0
- package/dist/form/Form.vue.d.ts +37 -0
- package/dist/form/FormItem.vue.d.ts +32 -0
- package/dist/form/FormSchemaFields.vue.d.ts +7 -0
- package/dist/form/context.d.ts +33 -0
- package/dist/form/index.d.ts +6 -0
- package/dist/form/index.js +2 -0
- package/dist/form/index.mjs +389 -0
- package/dist/grid/Col.vue.d.ts +101 -0
- package/dist/grid/Row.vue.d.ts +56 -0
- package/dist/grid/index.d.ts +7 -0
- package/dist/grid/index.js +2 -0
- package/dist/grid/index.mjs +182 -0
- package/dist/grid/responsive.d.ts +9 -0
- package/dist/grid/types.d.ts +85 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/index.mjs +9 -0
- package/dist/hooks/use-form-item.d.ts +13 -0
- package/dist/hooks/use-id.d.ts +5 -0
- package/dist/hooks/useCanvasRenderer.d.ts +10 -0
- package/dist/hooks/useImageLoader.d.ts +20 -0
- package/dist/hooks/useResizeObserver.d.ts +17 -0
- package/dist/icon/Icon.vue.d.ts +20 -0
- package/dist/icon/index.d.ts +5 -0
- package/dist/icon/index.js +2 -0
- package/dist/icon/index.mjs +10 -0
- package/dist/icon/types.d.ts +45 -0
- package/dist/image/Image.vue.d.ts +38 -0
- package/dist/image/index.d.ts +5 -0
- package/dist/image/index.js +2 -0
- package/dist/image/index.mjs +128 -0
- package/dist/image/types.d.ts +10 -0
- package/dist/index.d.ts +59 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +362 -0
- package/dist/input/Input.vue.d.ts +47 -0
- package/dist/input/index.d.ts +5 -0
- package/dist/input/index.js +2 -0
- package/dist/input/index.mjs +10 -0
- package/dist/input/types.d.ts +51 -0
- package/dist/input-number/InputNumber.vue.d.ts +119 -0
- package/dist/input-number/index.d.ts +5 -0
- package/dist/input-number/index.js +2 -0
- package/dist/input-number/index.mjs +312 -0
- package/dist/input-number/types.d.ts +58 -0
- package/dist/layout/Content.vue.d.ts +29 -0
- package/dist/layout/Footer.vue.d.ts +29 -0
- package/dist/layout/Header.vue.d.ts +29 -0
- package/dist/layout/Layout.vue.d.ts +32 -0
- package/dist/layout/Sider.vue.d.ts +59 -0
- package/dist/layout/index.d.ts +13 -0
- package/dist/layout/index.js +2 -0
- package/dist/layout/index.mjs +154 -0
- package/dist/layout/types.d.ts +51 -0
- package/dist/layout-system/responsive.d.ts +4 -0
- package/dist/layout-system/types.d.ts +3 -0
- package/dist/loading/Loading.vue.d.ts +57 -0
- package/dist/loading/LoadingMask.vue.d.ts +8 -0
- package/dist/loading/directive.d.ts +5 -0
- package/dist/loading/index.d.ts +7 -0
- package/dist/loading/index.js +2 -0
- package/dist/loading/index.mjs +275 -0
- package/dist/loading/types.d.ts +23 -0
- package/dist/mentions/Mentions.vue.d.ts +337 -0
- package/dist/mentions/index.d.ts +296 -0
- package/dist/mentions/index.js +5 -0
- package/dist/mentions/index.mjs +357 -0
- package/dist/mentions/types.d.ts +55 -0
- package/dist/menu/Menu.vue.d.ts +120 -0
- package/dist/menu/MenuDivider.vue.d.ts +2 -0
- package/dist/menu/MenuGroup.vue.d.ts +29 -0
- package/dist/menu/MenuItem.vue.d.ts +48 -0
- package/dist/menu/MenuNodeRenderer.vue.d.ts +6 -0
- package/dist/menu/SubMenu.vue.d.ts +57 -0
- package/dist/menu/index.d.ts +13 -0
- package/dist/menu/index.js +2 -0
- package/dist/menu/index.mjs +772 -0
- package/dist/menu/types.d.ts +126 -0
- package/dist/message/MessageHost.vue.d.ts +15 -0
- package/dist/message/MessageItem.vue.d.ts +15 -0
- package/dist/message/index.d.ts +10 -0
- package/dist/message/index.js +2 -0
- package/dist/message/index.mjs +199 -0
- package/dist/message/runtime.d.ts +149 -0
- package/dist/message/types.d.ts +12 -0
- package/dist/notification/NotificationHost.vue.d.ts +15 -0
- package/dist/notification/NotificationItem.vue.d.ts +15 -0
- package/dist/notification/index.d.ts +10 -0
- package/dist/notification/index.js +2 -0
- package/dist/notification/index.mjs +207 -0
- package/dist/notification/runtime.d.ts +155 -0
- package/dist/notification/types.d.ts +12 -0
- package/dist/otp-input/OTPInput.vue.d.ts +84 -0
- package/dist/otp-input/index.d.ts +5 -0
- package/dist/otp-input/index.js +2 -0
- package/dist/otp-input/index.mjs +216 -0
- package/dist/otp-input/types.d.ts +41 -0
- package/dist/pagination/Pagination.vue.d.ts +101 -0
- package/dist/pagination/index.d.ts +102 -0
- package/dist/pagination/index.js +2 -0
- package/dist/pagination/index.mjs +260 -0
- package/dist/pagination/types.d.ts +48 -0
- package/dist/popover/Popover.vue.d.ts +136 -0
- package/dist/popover/index.d.ts +5 -0
- package/dist/popover/index.js +2 -0
- package/dist/popover/index.mjs +13 -0
- package/dist/popover/types.d.ts +49 -0
- package/dist/radio/Radio.vue.d.ts +30 -0
- package/dist/radio/RadioGroup.vue.d.ts +26 -0
- package/dist/radio/constants.d.ts +3 -0
- package/dist/radio/index.d.ts +7 -0
- package/dist/radio/index.js +2 -0
- package/dist/radio/index.mjs +273 -0
- package/dist/radio/types.d.ts +45 -0
- package/dist/rate/Rate.vue.d.ts +139 -0
- package/dist/rate/index.d.ts +140 -0
- package/dist/rate/index.js +3 -0
- package/dist/rate/index.mjs +276 -0
- package/dist/rate/types.d.ts +66 -0
- package/dist/rich-text/RichText.vue.d.ts +25 -0
- package/dist/rich-text/index.d.ts +17 -0
- package/dist/rich-text/index.js +2 -0
- package/dist/rich-text/index.mjs +312 -0
- package/dist/scrollbar/Scrollbar.vue.d.ts +37 -0
- package/dist/scrollbar/index.d.ts +5 -0
- package/dist/scrollbar/index.js +2 -0
- package/dist/scrollbar/index.mjs +10 -0
- package/dist/scrollbar/types.d.ts +17 -0
- package/dist/select/Option.vue.d.ts +45 -0
- package/dist/select/Select.vue.d.ts +136 -0
- package/dist/select/index.d.ts +9 -0
- package/dist/select/index.js +3 -0
- package/dist/select/index.mjs +656 -0
- package/dist/select/types.d.ts +92 -0
- package/dist/slider/Slider.vue.d.ts +123 -0
- package/dist/slider/index.d.ts +5 -0
- package/dist/slider/index.js +2 -0
- package/dist/slider/index.mjs +326 -0
- package/dist/slider/types.d.ts +57 -0
- package/dist/space/Space.vue.d.ts +75 -0
- package/dist/space/index.d.ts +5 -0
- package/dist/space/index.js +2 -0
- package/dist/space/index.mjs +104 -0
- package/dist/space/types.d.ts +34 -0
- package/dist/splitter/Splitter.vue.d.ts +52 -0
- package/dist/splitter/SplitterPane.vue.d.ts +38 -0
- package/dist/splitter/index.d.ts +7 -0
- package/dist/splitter/index.js +2 -0
- package/dist/splitter/index.mjs +252 -0
- package/dist/splitter/types.d.ts +41 -0
- package/dist/splitter/utils.d.ts +6 -0
- package/dist/style/Button.css +1 -0
- package/dist/style/Checkbox.css +1 -0
- package/dist/style/Icon.css +1 -0
- package/dist/style/Input.css +1 -0
- package/dist/style/Popover.css +1 -0
- package/dist/style/Scrollbar.css +1 -0
- package/dist/style/TimePanel.css +1 -0
- package/dist/style/autocomplete.css +1 -0
- package/dist/style/avatar.css +1 -0
- package/dist/style/badge.css +1 -0
- package/dist/style/base.css +1 -0
- package/dist/style/breadcrumb.css +1 -0
- package/dist/style/card.css +1 -0
- package/dist/style/carousel.css +1 -0
- package/dist/style/cascader.css +1 -0
- package/dist/style/collapse.css +1 -0
- package/dist/style/color-picker.css +1 -0
- package/dist/style/context-menu.css +1 -0
- package/dist/style/date-picker.css +1 -0
- package/dist/style/dialog.css +1 -0
- package/dist/style/divider.css +1 -0
- package/dist/style/drawer.css +1 -0
- package/dist/style/empty.css +1 -0
- package/dist/style/form.css +1 -0
- package/dist/style/grid.css +1 -0
- package/dist/style/image.css +1 -0
- package/dist/style/index.css +1 -0
- package/dist/style/input-number.css +1 -0
- package/dist/style/layout.css +1 -0
- package/dist/style/loading.css +1 -0
- package/dist/style/mentions.css +1 -0
- package/dist/style/menu.css +1 -0
- package/dist/style/message.css +1 -0
- package/dist/style/notification.css +1 -0
- package/dist/style/otp-input.css +1 -0
- package/dist/style/pagination.css +1 -0
- package/dist/style/radio.css +1 -0
- package/dist/style/rate.css +1 -0
- package/dist/style/rich-text.css +1 -0
- package/dist/style/select.css +1 -0
- package/dist/style/slider.css +1 -0
- package/dist/style/space.css +1 -0
- package/dist/style/splitter.css +1 -0
- package/dist/style/switch.css +1 -0
- package/dist/style/table.css +1 -0
- package/dist/style/tabs.css +1 -0
- package/dist/style/tag.css +1 -0
- package/dist/style/tooltip.css +1 -0
- package/dist/style/transfer.css +1 -0
- package/dist/style/tree-select.css +1 -0
- package/dist/style/tree.css +1 -0
- package/dist/style/upload.css +1 -0
- package/dist/style/watermark.css +1 -0
- package/dist/switch/Switch.vue.d.ts +95 -0
- package/dist/switch/index.d.ts +5 -0
- package/dist/switch/index.js +2 -0
- package/dist/switch/index.mjs +285 -0
- package/dist/switch/types.d.ts +81 -0
- package/dist/table/Table.vue.d.ts +102 -0
- package/dist/table/index.d.ts +5 -0
- package/dist/table/index.js +2 -0
- package/dist/table/index.mjs +263 -0
- package/dist/table/types.d.ts +64 -0
- package/dist/tabs/TabPane.vue.d.ts +55 -0
- package/dist/tabs/Tabs.vue.d.ts +92 -0
- package/dist/tabs/index.d.ts +7 -0
- package/dist/tabs/index.js +2 -0
- package/dist/tabs/index.mjs +266 -0
- package/dist/tabs/types.d.ts +78 -0
- package/dist/tag/Tag.vue.d.ts +38 -0
- package/dist/tag/index.d.ts +5 -0
- package/dist/tag/index.js +2 -0
- package/dist/tag/index.mjs +123 -0
- package/dist/tag/types.d.ts +83 -0
- package/dist/time-picker/TimePanel.vue.d.ts +19 -0
- package/dist/time-picker/TimePicker.vue.d.ts +15 -0
- package/dist/time-picker/index.d.ts +6 -0
- package/dist/time-picker/index.js +4 -0
- package/dist/time-picker/index.mjs +91 -0
- package/dist/tooltip/Tooltip.vue.d.ts +99 -0
- package/dist/tooltip/index.d.ts +5 -0
- package/dist/tooltip/index.js +2 -0
- package/dist/tooltip/index.mjs +186 -0
- package/dist/tooltip/types.d.ts +37 -0
- package/dist/transfer/Transfer.vue.d.ts +104 -0
- package/dist/transfer/TransferPanel.vue.d.ts +90 -0
- package/dist/transfer/index.d.ts +167 -0
- package/dist/transfer/index.js +7 -0
- package/dist/transfer/index.mjs +343 -0
- package/dist/tree/Tree.vue.d.ts +237 -0
- package/dist/tree/TreeRow.vue.d.ts +24 -0
- package/dist/tree/TreeView.vue.d.ts +24 -0
- package/dist/tree/context.d.ts +3 -0
- package/dist/tree/index.d.ts +431 -0
- package/dist/tree/index.js +2 -0
- package/dist/tree/index.mjs +548 -0
- package/dist/tree/types.d.ts +127 -0
- package/dist/tree/use-tree-foundation.d.ts +37 -0
- package/dist/tree-select/TreeNode.vue.d.ts +7 -0
- package/dist/tree-select/TreeSelect.vue.d.ts +210 -0
- package/dist/tree-select/index.d.ts +7 -0
- package/dist/tree-select/index.js +3 -0
- package/dist/tree-select/index.mjs +799 -0
- package/dist/tree-select/types.d.ts +111 -0
- package/dist/upload/Upload.vue.d.ts +50 -0
- package/dist/upload/index.d.ts +67 -0
- package/dist/upload/index.js +3 -0
- package/dist/upload/index.mjs +271 -0
- package/dist/utils/install.d.ts +3 -0
- package/dist/utils/style.d.ts +1 -0
- package/dist/watermark/Watermark.vue.d.ts +98 -0
- package/dist/watermark/index.d.ts +5 -0
- package/dist/watermark/index.js +2 -0
- package/dist/watermark/index.mjs +183 -0
- package/dist/watermark/types.d.ts +85 -0
- package/package.json +69 -0
- package/src/autocomplete/style/index.css +80 -0
- package/src/avatar/style/index.css +105 -0
- package/src/badge/style/index.css +232 -0
- package/src/base.css +4 -0
- package/src/breadcrumb/style/index.css +75 -0
- package/src/button/style/index.css +242 -0
- package/src/card/style/index.css +60 -0
- package/src/carousel/style/index.css +195 -0
- package/src/cascader/style/index.css +153 -0
- package/src/checkbox/style/index.css +165 -0
- package/src/collapse/style/index.css +166 -0
- package/src/color-picker/style/index.css +132 -0
- package/src/context-menu/style/index.css +21 -0
- package/src/date-picker/style/index.css +372 -0
- package/src/dialog/style/index.css +141 -0
- package/src/divider/style/index.css +112 -0
- package/src/drawer/style/index.css +211 -0
- package/src/dropdown/style/index.css +118 -0
- package/src/empty/style/index.css +87 -0
- package/src/form/style/index.css +148 -0
- package/src/grid/style/index.css +16 -0
- package/src/icon/style/index.css +28 -0
- package/src/image/style/index.css +114 -0
- package/src/input/style/index.css +217 -0
- package/src/input-number/style/index.css +166 -0
- package/src/layout/style/index.css +37 -0
- package/src/loading/style/index.css +58 -0
- package/src/mentions/style/index.css +83 -0
- package/src/menu/style/index.css +300 -0
- package/src/message/style/index.css +109 -0
- package/src/notification/style/index.css +116 -0
- package/src/otp-input/style/index.css +96 -0
- package/src/pagination/style/index.css +96 -0
- package/src/popover/style/index.css +47 -0
- package/src/radio/style/index.css +185 -0
- package/src/rate/style/index.css +89 -0
- package/src/rich-text/style/index.css +154 -0
- package/src/scrollbar/style/index.css +57 -0
- package/src/select/style/index.css +262 -0
- package/src/slider/style/index.css +181 -0
- package/src/space/style/index.css +31 -0
- package/src/splitter/style/index.css +76 -0
- package/src/style.css +1 -0
- package/src/styles/reset.css +29 -0
- package/src/switch/style/index.css +164 -0
- package/src/table/style/index.css +108 -0
- package/src/tabs/style/index.css +270 -0
- package/src/tag/style/index.css +207 -0
- package/src/time-picker/style/index.css +135 -0
- package/src/tooltip/style/index.css +50 -0
- package/src/transfer/style/index.css +181 -0
- package/src/tree/style/index.css +246 -0
- package/src/tree-select/style/index.css +346 -0
- package/src/upload/style/index.css +166 -0
- package/src/watermark/style/index.css +15 -0
- package/style.css +1 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import '../style/TimePanel.css';
|
|
2
|
+
import '../style/Input.css';
|
|
3
|
+
import '../style/Popover.css';
|
|
4
|
+
import { defineComponent as L, ref as T, watch as w, openBlock as u, createElementBlock as p, normalizeClass as x, unref as a, createVNode as n, withCtx as s, createElementVNode as h } from "vue";
|
|
5
|
+
import { u as y } from "../chunks/use-form-item-CqDbWCiU.mjs";
|
|
6
|
+
import { u as B } from "../chunks/use-id-D3casveg.mjs";
|
|
7
|
+
import { _ as b } from "../chunks/TimePanel.vue_vue_type_script_setup_true_lang-BxuIhLsF.mjs";
|
|
8
|
+
import { LInput as _ } from "../input/index.mjs";
|
|
9
|
+
import { LPopover as S } from "../popover/index.mjs";
|
|
10
|
+
const E = {
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
width: "16",
|
|
13
|
+
height: "16",
|
|
14
|
+
style: { opacity: "0.5" }
|
|
15
|
+
}, M = { class: "l-time-picker__panel" }, N = /* @__PURE__ */ L({
|
|
16
|
+
name: "TimePicker",
|
|
17
|
+
__name: "TimePicker",
|
|
18
|
+
props: {
|
|
19
|
+
modelValue: {},
|
|
20
|
+
placeholder: {},
|
|
21
|
+
disabled: { type: Boolean },
|
|
22
|
+
clearable: { type: Boolean },
|
|
23
|
+
size: {}
|
|
24
|
+
},
|
|
25
|
+
emits: ["update:modelValue", "change"],
|
|
26
|
+
setup(l, { emit: f }) {
|
|
27
|
+
const k = l, i = f, { formItem: e, size: r, disabled: m, inputId: c } = y(k), g = B("time-picker"), z = (c == null ? void 0 : c.value) || g, d = T(!1), C = (t) => {
|
|
28
|
+
i("update:modelValue", t), i("change", t), e == null || e.validate("change").catch(() => {
|
|
29
|
+
});
|
|
30
|
+
}, P = () => {
|
|
31
|
+
i("update:modelValue", ""), i("change", ""), e == null || e.validate("change").catch(() => {
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
return w(d, (t) => {
|
|
35
|
+
t || e == null || e.validate("blur").catch(() => {
|
|
36
|
+
});
|
|
37
|
+
}), (t, o) => (u(), p("div", {
|
|
38
|
+
class: x(["l-time-picker", [`l-time-picker--${a(r)}`]])
|
|
39
|
+
}, [
|
|
40
|
+
n(a(S), {
|
|
41
|
+
visible: d.value,
|
|
42
|
+
"onUpdate:visible": o[0] || (o[0] = (V) => d.value = V),
|
|
43
|
+
trigger: "click",
|
|
44
|
+
placement: "bottom-start",
|
|
45
|
+
disabled: a(m),
|
|
46
|
+
width: "204"
|
|
47
|
+
}, {
|
|
48
|
+
content: s(() => [
|
|
49
|
+
h("div", M, [
|
|
50
|
+
n(b, {
|
|
51
|
+
"model-value": l.modelValue,
|
|
52
|
+
onSelect: C
|
|
53
|
+
}, null, 8, ["model-value"])
|
|
54
|
+
])
|
|
55
|
+
]),
|
|
56
|
+
default: s(() => [
|
|
57
|
+
n(a(_), {
|
|
58
|
+
id: a(z),
|
|
59
|
+
"model-value": l.modelValue,
|
|
60
|
+
"read-only": "",
|
|
61
|
+
placeholder: l.placeholder || "请选择时间",
|
|
62
|
+
disabled: a(m),
|
|
63
|
+
size: a(r),
|
|
64
|
+
clearable: l.clearable,
|
|
65
|
+
autocomplete: "off",
|
|
66
|
+
onClear: P
|
|
67
|
+
}, {
|
|
68
|
+
prefix: s(() => [
|
|
69
|
+
(u(), p("svg", E, [...o[1] || (o[1] = [
|
|
70
|
+
h("path", {
|
|
71
|
+
fill: "currentColor",
|
|
72
|
+
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"
|
|
73
|
+
}, null, -1)
|
|
74
|
+
])]))
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, ["id", "model-value", "placeholder", "disabled", "size", "clearable"])
|
|
78
|
+
]),
|
|
79
|
+
_: 1
|
|
80
|
+
}, 8, ["visible", "disabled"])
|
|
81
|
+
], 2));
|
|
82
|
+
}
|
|
83
|
+
}), v = N, $ = b;
|
|
84
|
+
v.install = (l) => {
|
|
85
|
+
l.component("LTimePicker", v), l.component("LTimePanel", $);
|
|
86
|
+
};
|
|
87
|
+
export {
|
|
88
|
+
$ as LTimePanel,
|
|
89
|
+
v as LTimePicker,
|
|
90
|
+
v as default
|
|
91
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
content?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
triggerRef: HTMLDivElement;
|
|
9
|
+
popperRef: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
15
|
+
readonly content: {
|
|
16
|
+
readonly type: StringConstructor;
|
|
17
|
+
readonly default: "";
|
|
18
|
+
};
|
|
19
|
+
readonly placement: {
|
|
20
|
+
readonly type: import('vue').PropType<import('../../../headless/src/index.ts').Placement>;
|
|
21
|
+
readonly default: "top";
|
|
22
|
+
};
|
|
23
|
+
readonly disabled: {
|
|
24
|
+
readonly type: BooleanConstructor;
|
|
25
|
+
readonly default: false;
|
|
26
|
+
};
|
|
27
|
+
readonly showAfter: {
|
|
28
|
+
readonly type: NumberConstructor;
|
|
29
|
+
readonly default: 0;
|
|
30
|
+
};
|
|
31
|
+
readonly hideAfter: {
|
|
32
|
+
readonly type: NumberConstructor;
|
|
33
|
+
readonly default: 200;
|
|
34
|
+
};
|
|
35
|
+
readonly effect: {
|
|
36
|
+
readonly type: import('vue').PropType<"dark" | "light">;
|
|
37
|
+
readonly default: "dark";
|
|
38
|
+
};
|
|
39
|
+
readonly enterable: {
|
|
40
|
+
readonly type: BooleanConstructor;
|
|
41
|
+
readonly default: true;
|
|
42
|
+
};
|
|
43
|
+
readonly rawContent: {
|
|
44
|
+
readonly type: BooleanConstructor;
|
|
45
|
+
readonly default: false;
|
|
46
|
+
};
|
|
47
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
48
|
+
readonly content: {
|
|
49
|
+
readonly type: StringConstructor;
|
|
50
|
+
readonly default: "";
|
|
51
|
+
};
|
|
52
|
+
readonly placement: {
|
|
53
|
+
readonly type: import('vue').PropType<import('../../../headless/src/index.ts').Placement>;
|
|
54
|
+
readonly default: "top";
|
|
55
|
+
};
|
|
56
|
+
readonly disabled: {
|
|
57
|
+
readonly type: BooleanConstructor;
|
|
58
|
+
readonly default: false;
|
|
59
|
+
};
|
|
60
|
+
readonly showAfter: {
|
|
61
|
+
readonly type: NumberConstructor;
|
|
62
|
+
readonly default: 0;
|
|
63
|
+
};
|
|
64
|
+
readonly hideAfter: {
|
|
65
|
+
readonly type: NumberConstructor;
|
|
66
|
+
readonly default: 200;
|
|
67
|
+
};
|
|
68
|
+
readonly effect: {
|
|
69
|
+
readonly type: import('vue').PropType<"dark" | "light">;
|
|
70
|
+
readonly default: "dark";
|
|
71
|
+
};
|
|
72
|
+
readonly enterable: {
|
|
73
|
+
readonly type: BooleanConstructor;
|
|
74
|
+
readonly default: true;
|
|
75
|
+
};
|
|
76
|
+
readonly rawContent: {
|
|
77
|
+
readonly type: BooleanConstructor;
|
|
78
|
+
readonly default: false;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{}>, {
|
|
81
|
+
readonly disabled: boolean;
|
|
82
|
+
readonly placement: import('../../../headless/src/index.ts').Placement;
|
|
83
|
+
readonly content: string;
|
|
84
|
+
readonly showAfter: number;
|
|
85
|
+
readonly hideAfter: number;
|
|
86
|
+
readonly effect: "dark" | "light";
|
|
87
|
+
readonly enterable: boolean;
|
|
88
|
+
readonly rawContent: boolean;
|
|
89
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
90
|
+
triggerRef: HTMLDivElement;
|
|
91
|
+
popperRef: HTMLDivElement;
|
|
92
|
+
}, any>;
|
|
93
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
94
|
+
export default _default;
|
|
95
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
96
|
+
new (): {
|
|
97
|
+
$slots: S;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
require('../style/tooltip.css');
|
|
2
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../chunks/manager-C0AUxQ1I.js");const C=require("../chunks/z-index-CNZLw1v7.js"),E=require("../chunks/auto-update-6n8Xn1EH.js"),L=require("../chunks/index-DWAWrVaT.js"),T=require("../chunks/controller-D1BTHmfO.js"),_=require("../chunks/use-signals-Bz1smiXh.js"),k=require("../config-provider/index.js"),S=require("../chunks/use-id-BycaM3-h.js");function q(o={}){const l=L.signal(o.disabled??!1),r=T.createFloatingController({placement:o.placement??"top",offset:o.offset,flip:o.flip,shift:o.shift,openDelay:o.openDelay,closeDelay:o.closeDelay??200,trigger:"hover",onOpen:()=>{var n;return(n=o.onOpenChange)==null?void 0:n.call(o,!0)},onClose:()=>{var n;return(n=o.onOpenChange)==null?void 0:n.call(o,!1)}}),s=()=>{l.value||r.actions.open()},t=()=>{r.actions.close()};return{state:{get isOpen(){return r.state.isOpen},set isOpen(n){if(n){s();return}t()},get disabled(){return l.value},set disabled(n){l.value=n},get x(){return r.state.x},get y(){return r.state.y},get placement(){return r.state.placement}},actions:{open:s,close:t,toggle:()=>{if(r.state.isOpen){t();return}s()},updatePosition:r.actions.updatePosition}}}const m={content:{type:String,default:""},placement:{type:String,default:"top"},disabled:{type:Boolean,default:!1},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},effect:{type:String,default:"dark"},enterable:{type:Boolean,default:!0},rawContent:{type:Boolean,default:!1}},w=["aria-describedby"],B=["id","data-theme"],O=e.defineComponent({name:"Tooltip",__name:"Tooltip",props:m,setup(o){const l=o,{teleportedCssVars:r,teleportedTheme:s}=k.useTeleportedConfig(),t=e.ref(null),n=e.ref(null),f=S.useId("tooltip"),a=q({placement:l.placement,disabled:l.disabled,openDelay:l.showAfter,closeDelay:l.hideAfter}),{nextZIndex:g}=C.useZIndex(),v=e.ref(3e3),{isOpen:d,x:y,y:b}=_.useController(a,{disabled:()=>l.disabled}),p=()=>{t.value&&n.value&&a.actions.updatePosition(t.value,n.value)};let i=null;e.watch(d,u=>{u?(v.value=g(),e.nextTick(()=>{t.value&&n.value&&(i=E.autoUpdate(t.value,n.value,p))})):(i==null||i(),i=null)}),e.onMounted(()=>{t.value&&(t.value.addEventListener("mouseenter",a.actions.open),t.value.addEventListener("mouseleave",a.actions.close),t.value.addEventListener("focus",a.actions.open,!0),t.value.addEventListener("blur",a.actions.close,!0),window.addEventListener("resize",p))}),e.onUnmounted(()=>{t.value&&(t.value.removeEventListener("mouseenter",a.actions.open),t.value.removeEventListener("mouseleave",a.actions.close),t.value.removeEventListener("focus",a.actions.open,!0),t.value.removeEventListener("blur",a.actions.close,!0),window.removeEventListener("resize",p))});const h=e.computed(()=>({top:`${b.value}px`,left:`${y.value}px`,zIndex:v.value,...r.value})),x=e.computed(()=>["l-tooltip",`l-tooltip--${l.effect}`]);return(u,I)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"l-tooltip-trigger",ref_key:"triggerRef",ref:t,"aria-describedby":e.unref(d)?e.unref(f):void 0},[e.renderSlot(u.$slots,"default")],8,w),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(e.Transition,{name:"l-tooltip-fade"},{default:e.withCtx(()=>[e.unref(d)?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"popperRef",ref:n,id:e.unref(f),class:e.normalizeClass(x.value),"data-theme":e.unref(s),style:e.normalizeStyle(h.value),role:"tooltip"},[e.renderSlot(u.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(u.content),1)])],14,B)):e.createCommentVNode("",!0)]),_:3})]))],64))}}),c=O;c.install=o=>{o.component("LTooltip",c)};exports.LTooltip=c;exports.default=c;exports.tooltipProps=m;
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import '../style/tooltip.css';
|
|
2
|
+
import { defineComponent as _, ref as p, watch as w, nextTick as k, onMounted as O, onUnmounted as D, computed as y, openBlock as f, createElementBlock as g, Fragment as S, createElementVNode as B, unref as u, renderSlot as b, createBlock as I, Teleport as N, createVNode as z, Transition as P, withCtx as V, normalizeStyle as $, normalizeClass as A, createTextVNode as R, toDisplayString as Z, createCommentVNode as F } from "vue";
|
|
3
|
+
import "../chunks/manager-BUdQK4AD.mjs";
|
|
4
|
+
import { u as U } from "../chunks/z-index-D9ecXoNe.mjs";
|
|
5
|
+
import { a as M } from "../chunks/auto-update-Dw-2qIsQ.mjs";
|
|
6
|
+
import { s as j } from "../chunks/index-B0yEC3RG.mjs";
|
|
7
|
+
import { c as q } from "../chunks/controller-DdEBnv9V.mjs";
|
|
8
|
+
import { u as G } from "../chunks/use-signals-CE1T2jXK.mjs";
|
|
9
|
+
import { useTeleportedConfig as H } from "../config-provider/index.mjs";
|
|
10
|
+
import { u as J } from "../chunks/use-id-D3casveg.mjs";
|
|
11
|
+
function K(t = {}) {
|
|
12
|
+
const l = j(t.disabled ?? !1), a = q({
|
|
13
|
+
placement: t.placement ?? "top",
|
|
14
|
+
offset: t.offset,
|
|
15
|
+
flip: t.flip,
|
|
16
|
+
shift: t.shift,
|
|
17
|
+
openDelay: t.openDelay,
|
|
18
|
+
closeDelay: t.closeDelay ?? 200,
|
|
19
|
+
trigger: "hover",
|
|
20
|
+
onOpen: () => {
|
|
21
|
+
var o;
|
|
22
|
+
return (o = t.onOpenChange) == null ? void 0 : o.call(t, !0);
|
|
23
|
+
},
|
|
24
|
+
onClose: () => {
|
|
25
|
+
var o;
|
|
26
|
+
return (o = t.onOpenChange) == null ? void 0 : o.call(t, !1);
|
|
27
|
+
}
|
|
28
|
+
}), r = () => {
|
|
29
|
+
l.value || a.actions.open();
|
|
30
|
+
}, e = () => {
|
|
31
|
+
a.actions.close();
|
|
32
|
+
};
|
|
33
|
+
return {
|
|
34
|
+
state: {
|
|
35
|
+
get isOpen() {
|
|
36
|
+
return a.state.isOpen;
|
|
37
|
+
},
|
|
38
|
+
set isOpen(o) {
|
|
39
|
+
if (o) {
|
|
40
|
+
r();
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
e();
|
|
44
|
+
},
|
|
45
|
+
get disabled() {
|
|
46
|
+
return l.value;
|
|
47
|
+
},
|
|
48
|
+
set disabled(o) {
|
|
49
|
+
l.value = o;
|
|
50
|
+
},
|
|
51
|
+
get x() {
|
|
52
|
+
return a.state.x;
|
|
53
|
+
},
|
|
54
|
+
get y() {
|
|
55
|
+
return a.state.y;
|
|
56
|
+
},
|
|
57
|
+
get placement() {
|
|
58
|
+
return a.state.placement;
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
actions: {
|
|
62
|
+
open: r,
|
|
63
|
+
close: e,
|
|
64
|
+
toggle: () => {
|
|
65
|
+
if (a.state.isOpen) {
|
|
66
|
+
e();
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
r();
|
|
70
|
+
},
|
|
71
|
+
updatePosition: a.actions.updatePosition
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
const Q = {
|
|
76
|
+
content: {
|
|
77
|
+
type: String,
|
|
78
|
+
default: ""
|
|
79
|
+
},
|
|
80
|
+
placement: {
|
|
81
|
+
type: String,
|
|
82
|
+
default: "top"
|
|
83
|
+
},
|
|
84
|
+
disabled: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: !1
|
|
87
|
+
},
|
|
88
|
+
showAfter: {
|
|
89
|
+
type: Number,
|
|
90
|
+
default: 0
|
|
91
|
+
},
|
|
92
|
+
hideAfter: {
|
|
93
|
+
type: Number,
|
|
94
|
+
default: 200
|
|
95
|
+
},
|
|
96
|
+
effect: {
|
|
97
|
+
type: String,
|
|
98
|
+
default: "dark"
|
|
99
|
+
},
|
|
100
|
+
enterable: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
default: !0
|
|
103
|
+
},
|
|
104
|
+
rawContent: {
|
|
105
|
+
type: Boolean,
|
|
106
|
+
default: !1
|
|
107
|
+
}
|
|
108
|
+
}, W = ["aria-describedby"], X = ["id", "data-theme"], Y = /* @__PURE__ */ _({
|
|
109
|
+
name: "Tooltip",
|
|
110
|
+
__name: "Tooltip",
|
|
111
|
+
props: Q,
|
|
112
|
+
setup(t) {
|
|
113
|
+
const l = t, { teleportedCssVars: a, teleportedTheme: r } = H(), e = p(null), o = p(null), m = J("tooltip"), n = K({
|
|
114
|
+
placement: l.placement,
|
|
115
|
+
disabled: l.disabled,
|
|
116
|
+
openDelay: l.showAfter,
|
|
117
|
+
closeDelay: l.hideAfter
|
|
118
|
+
}), { nextZIndex: C } = U(), v = p(3e3), {
|
|
119
|
+
isOpen: d,
|
|
120
|
+
x,
|
|
121
|
+
y: E
|
|
122
|
+
} = G(n, {
|
|
123
|
+
disabled: () => l.disabled
|
|
124
|
+
}), c = () => {
|
|
125
|
+
e.value && o.value && n.actions.updatePosition(e.value, o.value);
|
|
126
|
+
};
|
|
127
|
+
let s = null;
|
|
128
|
+
w(d, (i) => {
|
|
129
|
+
i ? (v.value = C(), k(() => {
|
|
130
|
+
e.value && o.value && (s = M(e.value, o.value, c));
|
|
131
|
+
})) : (s == null || s(), s = null);
|
|
132
|
+
}), O(() => {
|
|
133
|
+
e.value && (e.value.addEventListener("mouseenter", n.actions.open), e.value.addEventListener("mouseleave", n.actions.close), e.value.addEventListener("focus", n.actions.open, !0), e.value.addEventListener("blur", n.actions.close, !0), window.addEventListener("resize", c));
|
|
134
|
+
}), D(() => {
|
|
135
|
+
e.value && (e.value.removeEventListener("mouseenter", n.actions.open), e.value.removeEventListener("mouseleave", n.actions.close), e.value.removeEventListener("focus", n.actions.open, !0), e.value.removeEventListener("blur", n.actions.close, !0), window.removeEventListener("resize", c));
|
|
136
|
+
});
|
|
137
|
+
const L = y(() => ({
|
|
138
|
+
top: `${E.value}px`,
|
|
139
|
+
left: `${x.value}px`,
|
|
140
|
+
zIndex: v.value,
|
|
141
|
+
...a.value
|
|
142
|
+
})), T = y(() => [
|
|
143
|
+
"l-tooltip",
|
|
144
|
+
`l-tooltip--${l.effect}`
|
|
145
|
+
]);
|
|
146
|
+
return (i, ee) => (f(), g(S, null, [
|
|
147
|
+
B("div", {
|
|
148
|
+
class: "l-tooltip-trigger",
|
|
149
|
+
ref_key: "triggerRef",
|
|
150
|
+
ref: e,
|
|
151
|
+
"aria-describedby": u(d) ? u(m) : void 0
|
|
152
|
+
}, [
|
|
153
|
+
b(i.$slots, "default")
|
|
154
|
+
], 8, W),
|
|
155
|
+
(f(), I(N, { to: "body" }, [
|
|
156
|
+
z(P, { name: "l-tooltip-fade" }, {
|
|
157
|
+
default: V(() => [
|
|
158
|
+
u(d) ? (f(), g("div", {
|
|
159
|
+
key: 0,
|
|
160
|
+
ref_key: "popperRef",
|
|
161
|
+
ref: o,
|
|
162
|
+
id: u(m),
|
|
163
|
+
class: A(T.value),
|
|
164
|
+
"data-theme": u(r),
|
|
165
|
+
style: $(L.value),
|
|
166
|
+
role: "tooltip"
|
|
167
|
+
}, [
|
|
168
|
+
b(i.$slots, "content", {}, () => [
|
|
169
|
+
R(Z(i.content), 1)
|
|
170
|
+
])
|
|
171
|
+
], 14, X)) : F("", !0)
|
|
172
|
+
]),
|
|
173
|
+
_: 3
|
|
174
|
+
})
|
|
175
|
+
]))
|
|
176
|
+
], 64));
|
|
177
|
+
}
|
|
178
|
+
}), h = Y;
|
|
179
|
+
h.install = (t) => {
|
|
180
|
+
t.component("LTooltip", h);
|
|
181
|
+
};
|
|
182
|
+
export {
|
|
183
|
+
h as LTooltip,
|
|
184
|
+
h as default,
|
|
185
|
+
Q as tooltipProps
|
|
186
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { Placement } from '../../../headless/src/index.ts';
|
|
3
|
+
export declare const tooltipProps: {
|
|
4
|
+
readonly content: {
|
|
5
|
+
readonly type: StringConstructor;
|
|
6
|
+
readonly default: "";
|
|
7
|
+
};
|
|
8
|
+
readonly placement: {
|
|
9
|
+
readonly type: PropType<Placement>;
|
|
10
|
+
readonly default: "top";
|
|
11
|
+
};
|
|
12
|
+
readonly disabled: {
|
|
13
|
+
readonly type: BooleanConstructor;
|
|
14
|
+
readonly default: false;
|
|
15
|
+
};
|
|
16
|
+
readonly showAfter: {
|
|
17
|
+
readonly type: NumberConstructor;
|
|
18
|
+
readonly default: 0;
|
|
19
|
+
};
|
|
20
|
+
readonly hideAfter: {
|
|
21
|
+
readonly type: NumberConstructor;
|
|
22
|
+
readonly default: 200;
|
|
23
|
+
};
|
|
24
|
+
readonly effect: {
|
|
25
|
+
readonly type: PropType<"dark" | "light">;
|
|
26
|
+
readonly default: "dark";
|
|
27
|
+
};
|
|
28
|
+
readonly enterable: {
|
|
29
|
+
readonly type: BooleanConstructor;
|
|
30
|
+
readonly default: true;
|
|
31
|
+
};
|
|
32
|
+
readonly rawContent: {
|
|
33
|
+
readonly type: BooleanConstructor;
|
|
34
|
+
readonly default: false;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type TooltipProps = ExtractPropTypes<typeof tooltipProps>;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TransferDataItem } from '../../../headless/src/index.ts';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
leftFooter?(_: {}): any;
|
|
7
|
+
rightFooter?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: PropType<(string | number)[]>;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
data: {
|
|
19
|
+
type: PropType<TransferDataItem[]>;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
titles: {
|
|
23
|
+
type: PropType<string[]>;
|
|
24
|
+
default: () => string[];
|
|
25
|
+
};
|
|
26
|
+
buttonTexts: {
|
|
27
|
+
type: PropType<string[]>;
|
|
28
|
+
default: () => never[];
|
|
29
|
+
};
|
|
30
|
+
filterable: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
filterPlaceholder: StringConstructor;
|
|
35
|
+
disabled: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
size: {
|
|
40
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
height: {
|
|
44
|
+
type: PropType<string | number>;
|
|
45
|
+
};
|
|
46
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
47
|
+
change: (val: (string | number)[]) => any;
|
|
48
|
+
"update:modelValue": (val: (string | number)[]) => any;
|
|
49
|
+
"left-check-change": (keys: (string | number)[]) => any;
|
|
50
|
+
"right-check-change": (keys: (string | number)[]) => any;
|
|
51
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
52
|
+
modelValue: {
|
|
53
|
+
type: PropType<(string | number)[]>;
|
|
54
|
+
default: () => never[];
|
|
55
|
+
};
|
|
56
|
+
data: {
|
|
57
|
+
type: PropType<TransferDataItem[]>;
|
|
58
|
+
default: () => never[];
|
|
59
|
+
};
|
|
60
|
+
titles: {
|
|
61
|
+
type: PropType<string[]>;
|
|
62
|
+
default: () => string[];
|
|
63
|
+
};
|
|
64
|
+
buttonTexts: {
|
|
65
|
+
type: PropType<string[]>;
|
|
66
|
+
default: () => never[];
|
|
67
|
+
};
|
|
68
|
+
filterable: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
filterPlaceholder: StringConstructor;
|
|
73
|
+
disabled: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
size: {
|
|
78
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
79
|
+
default: string;
|
|
80
|
+
};
|
|
81
|
+
height: {
|
|
82
|
+
type: PropType<string | number>;
|
|
83
|
+
};
|
|
84
|
+
}>> & Readonly<{
|
|
85
|
+
onChange?: ((val: (string | number)[]) => any) | undefined;
|
|
86
|
+
"onUpdate:modelValue"?: ((val: (string | number)[]) => any) | undefined;
|
|
87
|
+
"onLeft-check-change"?: ((keys: (string | number)[]) => any) | undefined;
|
|
88
|
+
"onRight-check-change"?: ((keys: (string | number)[]) => any) | undefined;
|
|
89
|
+
}>, {
|
|
90
|
+
data: TransferDataItem[];
|
|
91
|
+
size: "sm" | "md" | "lg";
|
|
92
|
+
disabled: boolean;
|
|
93
|
+
modelValue: (string | number)[];
|
|
94
|
+
filterable: boolean;
|
|
95
|
+
titles: string[];
|
|
96
|
+
buttonTexts: string[];
|
|
97
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
98
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
99
|
+
export default _default;
|
|
100
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
101
|
+
new (): {
|
|
102
|
+
$slots: S;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TransferDataItem } from '../../../headless/src/index.ts';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
footer?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLDivElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
+
title: StringConstructor;
|
|
14
|
+
data: {
|
|
15
|
+
type: PropType<TransferDataItem[]>;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
checkedKeys: {
|
|
19
|
+
type: PropType<(string | number)[]>;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
filterable: BooleanConstructor;
|
|
23
|
+
placeholder: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
disabled: BooleanConstructor;
|
|
28
|
+
controller: {
|
|
29
|
+
type: ObjectConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
side: {
|
|
33
|
+
type: PropType<"left" | "right">;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
size: {
|
|
37
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
|
+
"update:checkedKeys": (val: (string | number)[]) => any;
|
|
42
|
+
check: (key: string | number) => any;
|
|
43
|
+
"all-check": (keys: (string | number)[]) => any;
|
|
44
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
|
+
title: StringConstructor;
|
|
46
|
+
data: {
|
|
47
|
+
type: PropType<TransferDataItem[]>;
|
|
48
|
+
default: () => never[];
|
|
49
|
+
};
|
|
50
|
+
checkedKeys: {
|
|
51
|
+
type: PropType<(string | number)[]>;
|
|
52
|
+
default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
filterable: BooleanConstructor;
|
|
55
|
+
placeholder: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
disabled: BooleanConstructor;
|
|
60
|
+
controller: {
|
|
61
|
+
type: ObjectConstructor;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
side: {
|
|
65
|
+
type: PropType<"left" | "right">;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
size: {
|
|
69
|
+
type: PropType<"sm" | "md" | "lg">;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
}>> & Readonly<{
|
|
73
|
+
"onUpdate:checkedKeys"?: ((val: (string | number)[]) => any) | undefined;
|
|
74
|
+
onCheck?: ((key: string | number) => any) | undefined;
|
|
75
|
+
"onAll-check"?: ((keys: (string | number)[]) => any) | undefined;
|
|
76
|
+
}>, {
|
|
77
|
+
data: TransferDataItem[];
|
|
78
|
+
size: "sm" | "md" | "lg";
|
|
79
|
+
disabled: boolean;
|
|
80
|
+
placeholder: string;
|
|
81
|
+
filterable: boolean;
|
|
82
|
+
checkedKeys: (string | number)[];
|
|
83
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
84
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
85
|
+
export default _default;
|
|
86
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
87
|
+
new (): {
|
|
88
|
+
$slots: S;
|
|
89
|
+
};
|
|
90
|
+
};
|