@wimi/ui 0.4.71 → 0.4.73
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/dist/en-CEMFjEIo.mjs +1 -0
- package/dist/index-BgnPHw66.mjs +54 -0
- package/dist/index-CKPshlZ8.mjs +1 -0
- package/dist/index.css +1 -0
- package/dist/index.mjs +1 -0
- package/dist/index.umd.js +37 -0
- package/dist/ja-uMWhf3qK.mjs +1 -0
- package/dist/ko-DhDBkKg5.mjs +1 -0
- package/dist/ru-BsNHImuU.mjs +1 -0
- package/dist/sortable.complete.esm-CzdhSznm.mjs +1 -0
- package/dist/typings/components/api-component/demo/base.vue.d.ts +2 -0
- package/dist/typings/components/api-component/index.d.ts +2 -0
- package/dist/typings/components/api-component/src/api-component.vue.d.ts +175 -0
- package/dist/typings/components/api-component/src/types.d.ts +45 -0
- package/dist/typings/components/button/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/button/index.d.ts +2 -0
- package/dist/typings/components/button/src/button.vue.d.ts +13 -0
- package/dist/typings/components/button/src/types.d.ts +6 -0
- package/dist/typings/components/card/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/card/index.d.ts +2 -0
- package/dist/typings/components/card/src/index.vue.d.ts +18 -0
- package/dist/typings/components/card/src/types.d.ts +12 -0
- package/dist/typings/components/code-editor/demo/base.vue.d.ts +2 -0
- package/dist/typings/components/code-editor/demo/diff.vue.d.ts +2 -0
- package/dist/typings/components/code-editor/index.d.ts +3 -0
- package/dist/typings/components/code-editor/src/code-editor.vue.d.ts +23 -0
- package/dist/typings/components/code-editor/src/config.d.ts +17 -0
- package/dist/typings/components/code-editor/src/diff-code-editor.vue.d.ts +22 -0
- package/dist/typings/components/code-editor/src/types.d.ts +8 -0
- package/dist/typings/components/collapse/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/collapse/index.d.ts +2 -0
- package/dist/typings/components/collapse/src/collapse.vue.d.ts +17 -0
- package/dist/typings/components/collapse/src/types.d.ts +27 -0
- package/dist/typings/components/color-picker/demo/adapter/component/index.d.ts +33 -0
- package/dist/typings/components/color-picker/demo/adapter/form.d.ts +8 -0
- package/dist/typings/components/color-picker/demo/base.vue.d.ts +2 -0
- package/dist/typings/components/color-picker/demo/form.vue.d.ts +2 -0
- package/dist/typings/components/color-picker/index.d.ts +1 -0
- package/dist/typings/components/color-picker/src/color-picker.vue.d.ts +1870 -0
- package/dist/typings/components/detail-info/demo/base.vue.d.ts +2 -0
- package/dist/typings/components/detail-info/demo/formatter.vue.d.ts +2 -0
- package/dist/typings/components/detail-info/demo/layout.vue.d.ts +2 -0
- package/dist/typings/components/detail-info/demo/slots.vue.d.ts +2 -0
- package/dist/typings/components/detail-info/index.d.ts +2 -0
- package/dist/typings/components/detail-info/src/index.vue.d.ts +27 -0
- package/dist/typings/components/detail-info/src/types.d.ts +22 -0
- package/dist/typings/components/drawer/demo/adapter/component/index.d.ts +33 -0
- package/dist/typings/components/drawer/demo/adapter/form.d.ts +8 -0
- package/dist/typings/components/drawer/demo/auto-height.vue.d.ts +2 -0
- package/dist/typings/components/drawer/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/drawer/demo/dynamic.vue.d.ts +2 -0
- package/dist/typings/components/drawer/demo/extra/drawer.vue.d.ts +2 -0
- package/dist/typings/components/drawer/demo/extra/extra.vue.d.ts +2 -0
- package/dist/typings/components/drawer/demo/form-drawer.vue.d.ts +2 -0
- package/dist/typings/components/drawer/demo/shared-data/drawer.vue.d.ts +2 -0
- package/dist/typings/components/drawer/demo/shared-data/shared-data.vue.d.ts +2 -0
- package/dist/typings/components/drawer/index.d.ts +3 -0
- package/dist/typings/components/drawer/src/drawer-api.d.ts +44 -0
- package/dist/typings/components/drawer/src/drawer.d.ts +167 -0
- package/dist/typings/components/drawer/src/drawer.vue.d.ts +45 -0
- package/dist/typings/components/drawer/src/use-drawer.d.ts +8 -0
- package/dist/typings/components/echarts/demo/base.vue.d.ts +2 -0
- package/dist/typings/components/echarts/index.d.ts +3 -0
- package/dist/typings/components/echarts/src/echarts-ui.vue.d.ts +9 -0
- package/dist/typings/components/echarts/src/echarts.d.ts +6 -0
- package/dist/typings/components/echarts/src/use-echarts.d.ts +13 -0
- package/dist/typings/components/form/demo/adapter/component/index.d.ts +34 -0
- package/dist/typings/components/form/demo/adapter/form.d.ts +8 -0
- package/dist/typings/components/form/demo/api.vue.d.ts +2 -0
- package/dist/typings/components/form/demo/components/two-fields.vue.d.ts +13 -0
- package/dist/typings/components/form/demo/custom-layout.vue.d.ts +2 -0
- package/dist/typings/components/form/demo/custom.vue.d.ts +2 -0
- package/dist/typings/components/form/demo/dynamic.vue.d.ts +2 -0
- package/dist/typings/components/form/demo/if-show.vue.d.ts +2 -0
- package/dist/typings/components/form/demo/merge.vue.d.ts +2 -0
- package/dist/typings/components/form/demo/query.vue.d.ts +2 -0
- package/dist/typings/components/form/demo/rules.vue.d.ts +2 -0
- package/dist/typings/components/form/demo/select.vue.d.ts +2 -0
- package/dist/typings/components/form/index.d.ts +4 -0
- package/dist/typings/components/form/src/components/form-actions.vue.d.ts +21 -0
- package/dist/typings/components/form/src/components/text.vue.d.ts +9 -0
- package/dist/typings/components/form/src/config.d.ts +6 -0
- package/dist/typings/components/form/src/form-api.d.ts +65 -0
- package/dist/typings/components/form/src/form-render/context.d.ts +9 -0
- package/dist/typings/components/form/src/form-render/dependencies.d.ts +9 -0
- package/dist/typings/components/form/src/form-render/form-field.vue.d.ts +18 -0
- package/dist/typings/components/form/src/form-render/form-label.vue.d.ts +10 -0
- package/dist/typings/components/form/src/form-render/form.vue.d.ts +30 -0
- package/dist/typings/components/form/src/form-render/helper.d.ts +11 -0
- package/dist/typings/components/form/src/form-render/index.d.ts +3 -0
- package/dist/typings/components/form/src/types.d.ts +349 -0
- package/dist/typings/components/form/src/use-form-context.d.ts +12 -0
- package/dist/typings/components/form/src/use-form.d.ts +5 -0
- package/dist/typings/components/form/src/use-form.vue.d.ts +24 -0
- package/dist/typings/components/gantt/demo/auto-row-height.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/capacity-usage.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/context-menu.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/dense-visible-tasks.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/feature-extensions.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/link-create.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/performance-benchmark.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/row-drag.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/table-columns.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/task-interaction.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/timeline.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/virtual-timeline.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/vue-renderer.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/work-order-milestone.vue.d.ts +2 -0
- package/dist/typings/components/gantt/demo/work-order-status.vue.d.ts +2 -0
- package/dist/typings/components/gantt/index.d.ts +5 -0
- package/dist/typings/components/gantt/src/gantt.vue.d.ts +23 -0
- package/dist/typings/components/gantt/src/types.d.ts +72 -0
- package/dist/typings/components/gantt/src/vue-renderer.d.ts +20 -0
- package/dist/typings/components/icon/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/icon/demo/iconfont.vue.d.ts +2 -0
- package/dist/typings/components/icon/index.d.ts +1 -0
- package/dist/typings/components/icon/src/icon.vue.d.ts +12 -0
- package/dist/typings/components/index.d.ts +30 -0
- package/dist/typings/components/infinite-scroll/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/infinite-scroll/index.d.ts +2 -0
- package/dist/typings/components/infinite-scroll/src/index.vue.d.ts +28 -0
- package/dist/typings/components/infinite-scroll/src/types.d.ts +10 -0
- package/dist/typings/components/layout/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/layout/index.d.ts +2 -0
- package/dist/typings/components/layout/src/components/index.d.ts +3 -0
- package/dist/typings/components/layout/src/components/layout-content.vue.d.ts +14 -0
- package/dist/typings/components/layout/src/components/layout-header.vue.d.ts +37 -0
- package/dist/typings/components/layout/src/components/layout-sidebar.vue.d.ts +90 -0
- package/dist/typings/components/layout/src/wm-layout.d.ts +43 -0
- package/dist/typings/components/layout/src/wm-layout.vue.d.ts +53 -0
- package/dist/typings/components/left-container/demo/adapter/component/index.d.ts +33 -0
- package/dist/typings/components/left-container/demo/adapter/form.d.ts +8 -0
- package/dist/typings/components/left-container/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/left-container/demo/card.vue.d.ts +2 -0
- package/dist/typings/components/left-container/index.d.ts +1 -0
- package/dist/typings/components/left-container/src/index.vue.d.ts +50 -0
- package/dist/typings/components/left-container/src/types.d.ts +15 -0
- package/dist/typings/components/menu/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/menu/demo/normal.vue.d.ts +2 -0
- package/dist/typings/components/menu/index.d.ts +3 -0
- package/dist/typings/components/menu/src/components/collapse-transition.vue.d.ts +12 -0
- package/dist/typings/components/menu/src/components/index.d.ts +3 -0
- package/dist/typings/components/menu/src/components/menu-item.vue.d.ts +23 -0
- package/dist/typings/components/menu/src/components/menu.vue.d.ts +28 -0
- package/dist/typings/components/menu/src/components/normal-menu/index.d.ts +2 -0
- package/dist/typings/components/menu/src/components/normal-menu/normal-menu.d.ts +12 -0
- package/dist/typings/components/menu/src/components/normal-menu/normal-menu.vue.d.ts +70 -0
- package/dist/typings/components/menu/src/components/sub-menu-content.vue.d.ts +21 -0
- package/dist/typings/components/menu/src/components/sub-menu.vue.d.ts +25 -0
- package/dist/typings/components/menu/src/hooks/index.d.ts +2 -0
- package/dist/typings/components/menu/src/hooks/use-menu-context.d.ts +18 -0
- package/dist/typings/components/menu/src/hooks/use-menu.d.ts +9 -0
- package/dist/typings/components/menu/src/menu.vue.d.ts +9 -0
- package/dist/typings/components/menu/src/sub-menu.vue.d.ts +9 -0
- package/dist/typings/components/menu/src/types.d.ts +99 -0
- package/dist/typings/components/menu/src/utils/index.d.ts +12 -0
- package/dist/typings/components/modal/demo/adapter/component/index.d.ts +33 -0
- package/dist/typings/components/modal/demo/adapter/form.d.ts +8 -0
- package/dist/typings/components/modal/demo/auto-height.vue.d.ts +2 -0
- package/dist/typings/components/modal/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/modal/demo/draggable.vue.d.ts +2 -0
- package/dist/typings/components/modal/demo/dynamic.vue.d.ts +2 -0
- package/dist/typings/components/modal/demo/extra/ChildModal.vue.d.ts +2 -0
- package/dist/typings/components/modal/demo/extra/ParentModal.vue.d.ts +2 -0
- package/dist/typings/components/modal/demo/extra/extra.vue.d.ts +2 -0
- package/dist/typings/components/modal/demo/form-modal.vue.d.ts +2 -0
- package/dist/typings/components/modal/demo/shared-data/modal.vue.d.ts +2 -0
- package/dist/typings/components/modal/demo/shared-data/shared-data.vue.d.ts +2 -0
- package/dist/typings/components/modal/index.d.ts +3 -0
- package/dist/typings/components/modal/src/modal-api.d.ts +45 -0
- package/dist/typings/components/modal/src/modal.d.ts +180 -0
- package/dist/typings/components/modal/src/modal.vue.d.ts +40 -0
- package/dist/typings/components/modal/src/use-modal-draggable.d.ts +9 -0
- package/dist/typings/components/modal/src/use-modal.d.ts +8 -0
- package/dist/typings/components/page/demo/auto-height.vue.d.ts +2 -0
- package/dist/typings/components/page/demo/base.vue.d.ts +2 -0
- package/dist/typings/components/page/index.d.ts +2 -0
- package/dist/typings/components/page/src/page.vue.d.ts +17 -0
- package/dist/typings/components/page/src/types.d.ts +10 -0
- package/dist/typings/components/scrollbar/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/scrollbar/index.d.ts +2 -0
- package/dist/typings/components/scrollbar/src/index.vue.d.ts +121 -0
- package/dist/typings/components/scrollbar/src/types.d.ts +54 -0
- package/dist/typings/components/splitter/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/splitter/demo/nested.vue.d.ts +2 -0
- package/dist/typings/components/splitter/demo/vertical.vue.d.ts +2 -0
- package/dist/typings/components/splitter/index.d.ts +3 -0
- package/dist/typings/components/splitter/src/panel.vue.d.ts +26 -0
- package/dist/typings/components/splitter/src/splitter.vue.d.ts +11 -0
- package/dist/typings/components/splitter/src/types.d.ts +47 -0
- package/dist/typings/components/status-card/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/status-card/index.d.ts +1 -0
- package/dist/typings/components/status-card/src/index.vue.d.ts +31 -0
- package/dist/typings/components/status-card/src/types.d.ts +15 -0
- package/dist/typings/components/table/demo/adapter/component/index.d.ts +33 -0
- package/dist/typings/components/table/demo/adapter/form.d.ts +8 -0
- package/dist/typings/components/table/demo/adapter/table.d.ts +2 -0
- package/dist/typings/components/table/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/table/demo/custom-cell.vue.d.ts +2 -0
- package/dist/typings/components/table/demo/dynamic.vue.d.ts +2 -0
- package/dist/typings/components/table/demo/edit-row.vue.d.ts +2 -0
- package/dist/typings/components/table/demo/tree.vue.d.ts +2 -0
- package/dist/typings/components/table/demo/utils/mock-api.d.ts +16 -0
- package/dist/typings/components/table/demo/utils/table-data.d.ts +38 -0
- package/dist/typings/components/table/index.d.ts +5 -0
- package/dist/typings/components/table/src/api.d.ts +21 -0
- package/dist/typings/components/table/src/extends.d.ts +5 -0
- package/dist/typings/components/table/src/init.d.ts +5 -0
- package/dist/typings/components/table/src/types.d.ts +59 -0
- package/dist/typings/components/table/src/use-table.d.ts +4 -0
- package/dist/typings/components/table/src/use-table.vue.d.ts +141 -0
- package/dist/typings/components/table-select/demo/adapter/component/index.d.ts +33 -0
- package/dist/typings/components/table-select/demo/adapter/form.d.ts +8 -0
- package/dist/typings/components/table-select/demo/base.vue.d.ts +2 -0
- package/dist/typings/components/table-select/demo/form.vue.d.ts +2 -0
- package/dist/typings/components/table-select/demo/more.vue.d.ts +2 -0
- package/dist/typings/components/table-select/demo/multiple.vue.d.ts +2 -0
- package/dist/typings/components/table-select/index.d.ts +2 -0
- package/dist/typings/components/table-select/src/table-select.vue.d.ts +29 -0
- package/dist/typings/components/table-select/src/types.d.ts +17 -0
- package/dist/typings/components/tabs/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/tabs/index.d.ts +2 -0
- package/dist/typings/components/tabs/src/tabs.vue.d.ts +25 -0
- package/dist/typings/components/tabs/src/types.d.ts +21 -0
- package/dist/typings/components/tabs-view/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/tabs-view/index.d.ts +3 -0
- package/dist/typings/components/tabs-view/src/components/index.d.ts +1 -0
- package/dist/typings/components/tabs-view/src/components/tabs/tabs.vue.d.ts +21 -0
- package/dist/typings/components/tabs-view/src/components/widgets/index.d.ts +2 -0
- package/dist/typings/components/tabs-view/src/components/widgets/tool-more.vue.d.ts +3 -0
- package/dist/typings/components/tabs-view/src/components/widgets/tool-screen.vue.d.ts +9 -0
- package/dist/typings/components/tabs-view/src/tabs-view.vue.d.ts +18 -0
- package/dist/typings/components/tabs-view/src/types.d.ts +52 -0
- package/dist/typings/components/tabs-view/src/use-tabs-drag.d.ts +4 -0
- package/dist/typings/components/tabs-view/src/use-tabs-view-scroll.d.ts +274 -0
- package/dist/typings/components/text-editor/demo/adapter/component/index.d.ts +33 -0
- package/dist/typings/components/text-editor/demo/adapter/form.d.ts +8 -0
- package/dist/typings/components/text-editor/demo/base.vue.d.ts +2 -0
- package/dist/typings/components/text-editor/demo/form.vue.d.ts +2 -0
- package/dist/typings/components/text-editor/index.d.ts +2 -0
- package/dist/typings/components/text-editor/src/config.d.ts +1 -0
- package/dist/typings/components/text-editor/src/locales/ja.d.ts +89 -0
- package/dist/typings/components/text-editor/src/locales/ko.d.ts +89 -0
- package/dist/typings/components/text-editor/src/locales/ru.d.ts +89 -0
- package/dist/typings/components/text-editor/src/locales/zh-TW.d.ts +89 -0
- package/dist/typings/components/text-editor/src/text-editor.vue.d.ts +17 -0
- package/dist/typings/components/text-editor/src/types.d.ts +7 -0
- package/dist/typings/components/time-line/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/time-line/demo/shift.vue.d.ts +2 -0
- package/dist/typings/components/time-line/index.d.ts +2 -0
- package/dist/typings/components/time-line/src/time-line.vue.d.ts +34 -0
- package/dist/typings/components/time-line/src/types.d.ts +56 -0
- package/dist/typings/components/title/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/title/demo/module.vue.d.ts +2 -0
- package/dist/typings/components/title/index.d.ts +3 -0
- package/dist/typings/components/title/src/group-title.vue.d.ts +13 -0
- package/dist/typings/components/title/src/title.vue.d.ts +15 -0
- package/dist/typings/components/title/src/types.d.ts +10 -0
- package/dist/typings/components/tree/demo/base.vue.d.ts +2 -0
- package/dist/typings/components/tree/index.d.ts +2 -0
- package/dist/typings/components/tree/src/tree.vue.d.ts +64 -0
- package/dist/typings/components/tree/src/types.d.ts +95 -0
- package/dist/typings/components/virtual-list/demo/basic.vue.d.ts +2 -0
- package/dist/typings/components/virtual-list/index.d.ts +2 -0
- package/dist/typings/components/virtual-list/src/index.vue.d.ts +92 -0
- package/dist/typings/components/virtual-list/src/types.d.ts +39 -0
- package/dist/typings/constants/index.d.ts +13 -0
- package/dist/typings/hooks/use-design-tokens.d.ts +45 -0
- package/dist/typings/hooks/use-html-theme.d.ts +3 -0
- package/dist/typings/index.d.ts +9 -0
- package/dist/typings/setup.d.ts +45 -0
- package/dist/typings/shadcn/components/context-menu/context-menu.vue.d.ts +27 -0
- package/dist/typings/shadcn/components/context-menu/index.d.ts +2 -0
- package/dist/typings/shadcn/components/context-menu/interface.d.ts +37 -0
- package/dist/typings/shadcn/components/dropdown-menu/dropdown-menu.vue.d.ts +15 -0
- package/dist/typings/shadcn/components/dropdown-menu/dropdown-radio-menu.vue.d.ts +23 -0
- package/dist/typings/shadcn/components/dropdown-menu/index.d.ts +3 -0
- package/dist/typings/shadcn/components/dropdown-menu/interface.d.ts +29 -0
- package/dist/typings/shadcn/components/hover-card/hover-card.vue.d.ts +25 -0
- package/dist/typings/shadcn/components/hover-card/index.d.ts +2 -0
- package/dist/typings/shadcn/components/index.d.ts +7 -0
- package/dist/typings/shadcn/components/render-content/index.d.ts +1 -0
- package/dist/typings/shadcn/components/render-content/render-content.vue.d.ts +17 -0
- package/dist/typings/shadcn/components/scrollbar/index.d.ts +1 -0
- package/dist/typings/shadcn/components/scrollbar/scrollbar.vue.d.ts +47 -0
- package/dist/typings/shadcn/components/spinner/index.d.ts +2 -0
- package/dist/typings/shadcn/components/spinner/loading.vue.d.ts +21 -0
- package/dist/typings/shadcn/components/spinner/spinner.vue.d.ts +16 -0
- package/dist/typings/shadcn/components/tooltip/help-tooltip.vue.d.ts +17 -0
- package/dist/typings/shadcn/components/tooltip/index.d.ts +2 -0
- package/dist/typings/shadcn/components/tooltip/tooltip.vue.d.ts +26 -0
- package/dist/typings/shadcn/index.d.ts +4 -0
- package/dist/typings/shadcn/ui/accordion/Accordion.vue.d.ts +18 -0
- package/dist/typings/shadcn/ui/accordion/AccordionContent.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/accordion/AccordionItem.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/accordion/AccordionTrigger.vue.d.ts +19 -0
- package/dist/typings/shadcn/ui/accordion/index.d.ts +4 -0
- package/dist/typings/shadcn/ui/badge/Badge.vue.d.ts +19 -0
- package/dist/typings/shadcn/ui/badge/index.d.ts +6 -0
- package/dist/typings/shadcn/ui/button/Button.vue.d.ts +22 -0
- package/dist/typings/shadcn/ui/button/index.d.ts +7 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenu.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +23 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuContent.vue.d.ts +29 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuGroup.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuItem.vue.d.ts +25 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuLabel.vue.d.ts +18 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuPortal.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuRadioItem.vue.d.ts +21 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuSeparator.vue.d.ts +7 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuShortcut.vue.d.ts +16 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuSub.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuSubContent.vue.d.ts +33 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +18 -0
- package/dist/typings/shadcn/ui/context-menu/ContextMenuTrigger.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/context-menu/index.d.ts +14 -0
- package/dist/typings/shadcn/ui/dialog/Dialog.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/dialog/DialogClose.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/dialog/DialogContent.vue.d.ts +127 -0
- package/dist/typings/shadcn/ui/dialog/DialogDescription.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/dialog/DialogFooter.vue.d.ts +16 -0
- package/dist/typings/shadcn/ui/dialog/DialogHeader.vue.d.ts +16 -0
- package/dist/typings/shadcn/ui/dialog/DialogOverlay.vue.d.ts +7 -0
- package/dist/typings/shadcn/ui/dialog/DialogScrollContent.vue.d.ts +34 -0
- package/dist/typings/shadcn/ui/dialog/DialogTitle.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/dialog/DialogTrigger.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/dialog/index.d.ts +10 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenu.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +23 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +31 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +21 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +18 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +21 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +16 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +33 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +18 -0
- package/dist/typings/shadcn/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/typings/shadcn/ui/form/FormControl.vue.d.ts +12 -0
- package/dist/typings/shadcn/ui/form/FormDescription.vue.d.ts +16 -0
- package/dist/typings/shadcn/ui/form/FormItem.vue.d.ts +16 -0
- package/dist/typings/shadcn/ui/form/FormLabel.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/form/FormMessage.vue.d.ts +6 -0
- package/dist/typings/shadcn/ui/form/index.d.ts +7 -0
- package/dist/typings/shadcn/ui/form/injectionKeys.d.ts +2 -0
- package/dist/typings/shadcn/ui/form/useFormField.d.ts +11 -0
- package/dist/typings/shadcn/ui/hover-card/HoverCard.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/hover-card/HoverCardContent.vue.d.ts +19 -0
- package/dist/typings/shadcn/ui/hover-card/HoverCardTrigger.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/hover-card/index.d.ts +3 -0
- package/dist/typings/shadcn/ui/index.d.ts +11 -0
- package/dist/typings/shadcn/ui/label/Label.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/label/index.d.ts +1 -0
- package/dist/typings/shadcn/ui/resizable/ResizableHandle.vue.d.ts +22 -0
- package/dist/typings/shadcn/ui/resizable/ResizablePanel.vue.d.ts +23 -0
- package/dist/typings/shadcn/ui/resizable/ResizablePanelGroup.vue.d.ts +21 -0
- package/dist/typings/shadcn/ui/resizable/index.d.ts +3 -0
- package/dist/typings/shadcn/ui/scroll-area/ScrollArea.vue.d.ts +23 -0
- package/dist/typings/shadcn/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
- package/dist/typings/shadcn/ui/scroll-area/index.d.ts +2 -0
- package/dist/typings/shadcn/ui/sheet/Sheet.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/sheet/SheetClose.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/sheet/SheetContent.vue.d.ts +46 -0
- package/dist/typings/shadcn/ui/sheet/SheetDescription.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/sheet/SheetFooter.vue.d.ts +16 -0
- package/dist/typings/shadcn/ui/sheet/SheetHeader.vue.d.ts +16 -0
- package/dist/typings/shadcn/ui/sheet/SheetOverlay.vue.d.ts +7 -0
- package/dist/typings/shadcn/ui/sheet/SheetTitle.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/sheet/SheetTrigger.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/sheet/index.d.ts +8 -0
- package/dist/typings/shadcn/ui/tooltip/Tooltip.vue.d.ts +17 -0
- package/dist/typings/shadcn/ui/tooltip/TooltipContent.vue.d.ts +25 -0
- package/dist/typings/shadcn/ui/tooltip/TooltipProvider.vue.d.ts +15 -0
- package/dist/typings/shadcn/ui/tooltip/TooltipTrigger.vue.d.ts +13 -0
- package/dist/typings/shadcn/ui/tooltip/index.d.ts +4 -0
- package/dist/typings/typings/app.d.ts +4 -0
- package/dist/typings/typings/basic.d.ts +1 -0
- package/dist/typings/typings/helper.d.ts +33 -0
- package/dist/typings/typings/index.d.ts +4 -0
- package/dist/typings/typings/menu-record.d.ts +58 -0
- package/dist/typings/utils/composables/index.d.ts +7 -0
- package/dist/typings/utils/composables/use-is-mobile.d.ts +3 -0
- package/dist/typings/utils/composables/use-layout-style.d.ts +32 -0
- package/dist/typings/utils/composables/use-namespace.d.ts +21 -0
- package/dist/typings/utils/composables/use-priority-value.d.ts +20 -0
- package/dist/typings/utils/composables/use-scroll-lock.d.ts +2 -0
- package/dist/typings/utils/composables/use-sortable.d.ts +7 -0
- package/dist/typings/utils/global-state.d.ts +26 -0
- package/dist/typings/utils/index.d.ts +2 -0
- package/dist/typings/utils/shared/cn.d.ts +2 -0
- package/dist/typings/utils/shared/color/convert.d.ts +36 -0
- package/dist/typings/utils/shared/color/index.d.ts +1 -0
- package/dist/typings/utils/shared/date.d.ts +28 -0
- package/dist/typings/utils/shared/dom.d.ts +16 -0
- package/dist/typings/utils/shared/index.d.ts +8 -0
- package/dist/typings/utils/shared/inference.d.ts +91 -0
- package/dist/typings/utils/shared/letter.d.ts +20 -0
- package/dist/typings/utils/shared/merge.d.ts +10 -0
- package/dist/typings/utils/shared/state-handler.d.ts +11 -0
- package/dist/typings/utils/shared/tree.d.ts +11 -0
- package/dist/typings/utils/shared/utils.d.ts +1 -0
- package/dist/zh-cn-BDOfydM-.mjs +1 -0
- package/dist/zh-tw-B3QFbFJx.mjs +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export type localeDataType = {
|
|
2
|
+
/** 重置 */
|
|
3
|
+
reset: string;
|
|
4
|
+
/** 提交 */
|
|
5
|
+
submit: string;
|
|
6
|
+
/** 取消 */
|
|
7
|
+
cancel: string;
|
|
8
|
+
/** 确认 */
|
|
9
|
+
confirm: string;
|
|
10
|
+
/** 搜索 */
|
|
11
|
+
search: string;
|
|
12
|
+
/** 刷新 */
|
|
13
|
+
reload: string;
|
|
14
|
+
/** 筛选条件 */
|
|
15
|
+
filter: string;
|
|
16
|
+
/** 请选择 */
|
|
17
|
+
select: string;
|
|
18
|
+
/** 请输入 */
|
|
19
|
+
input: string;
|
|
20
|
+
/** 查询 */
|
|
21
|
+
query: string;
|
|
22
|
+
/** 清空 */
|
|
23
|
+
empty: string;
|
|
24
|
+
/** 筛选 */
|
|
25
|
+
screen: string;
|
|
26
|
+
/** 排序 */
|
|
27
|
+
sort: string;
|
|
28
|
+
/** 导出 */
|
|
29
|
+
export: string;
|
|
30
|
+
/** 关 */
|
|
31
|
+
sync0: string;
|
|
32
|
+
/** 秒 */
|
|
33
|
+
second: string;
|
|
34
|
+
/** 分 */
|
|
35
|
+
minute: string;
|
|
36
|
+
/** 年 */
|
|
37
|
+
year: string;
|
|
38
|
+
/** 月 */
|
|
39
|
+
month: string;
|
|
40
|
+
};
|
|
41
|
+
export declare const locales: localeDataType;
|
|
42
|
+
export type SetupWimiUIProps = {
|
|
43
|
+
localeData: localeDataType;
|
|
44
|
+
};
|
|
45
|
+
export declare const setupWimiUI: (data: SetupWimiUIProps) => void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ClassType } from '@/typings';
|
|
2
|
+
import type { ContextMenuContentProps, ContextMenuRootProps } from 'reka-ui';
|
|
3
|
+
import type { IContextMenuItem } from './interface';
|
|
4
|
+
type __VLS_Props = ContextMenuRootProps & {
|
|
5
|
+
class?: ClassType;
|
|
6
|
+
contentClass?: ClassType;
|
|
7
|
+
contentProps?: ContextMenuContentProps;
|
|
8
|
+
handlerData?: Record<string, any>;
|
|
9
|
+
itemClass?: ClassType;
|
|
10
|
+
menus: (data: any) => IContextMenuItem[];
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_10: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_10) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:open": (payload: boolean) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
"onUpdate:open"?: (payload: boolean) => any;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
interface IContextMenuItem {
|
|
3
|
+
/**
|
|
4
|
+
* @zh_CN 是否禁用
|
|
5
|
+
*/
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* @zh_CN 点击事件处理
|
|
9
|
+
* @param data
|
|
10
|
+
*/
|
|
11
|
+
handler?: (data: any) => void;
|
|
12
|
+
/**
|
|
13
|
+
* @zh_CN 图标
|
|
14
|
+
*/
|
|
15
|
+
icon?: Component;
|
|
16
|
+
/**
|
|
17
|
+
* @zh_CN 是否显示图标
|
|
18
|
+
*/
|
|
19
|
+
inset?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @zh_CN 唯一标识
|
|
22
|
+
*/
|
|
23
|
+
key: string;
|
|
24
|
+
/**
|
|
25
|
+
* @zh_CN 是否是分割线
|
|
26
|
+
*/
|
|
27
|
+
separator?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @zh_CN 快捷键
|
|
30
|
+
*/
|
|
31
|
+
shortcut?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @zh_CN 标题
|
|
34
|
+
*/
|
|
35
|
+
text: string;
|
|
36
|
+
}
|
|
37
|
+
export type { IContextMenuItem };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { DropdownMenuProps } from './interface';
|
|
2
|
+
interface Props extends DropdownMenuProps {
|
|
3
|
+
}
|
|
4
|
+
declare var __VLS_10: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_10) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { DropdownMenuProps } from './interface';
|
|
2
|
+
interface Props extends DropdownMenuProps {
|
|
3
|
+
}
|
|
4
|
+
type __VLS_Props = Props;
|
|
5
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
6
|
+
modelValue?: string;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_10: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_10) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: string) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
interface WmDropdownMenuItem {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* @zh_CN 点击事件处理
|
|
6
|
+
* @param data
|
|
7
|
+
*/
|
|
8
|
+
handler?: (data: any) => void;
|
|
9
|
+
/**
|
|
10
|
+
* @zh_CN 图标
|
|
11
|
+
*/
|
|
12
|
+
icon?: Component;
|
|
13
|
+
/**
|
|
14
|
+
* @zh_CN 标题
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* @zh_CN 是否是分割线
|
|
19
|
+
*/
|
|
20
|
+
separator?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* @zh_CN 唯一标识
|
|
23
|
+
*/
|
|
24
|
+
value: string;
|
|
25
|
+
}
|
|
26
|
+
interface DropdownMenuProps {
|
|
27
|
+
menus?: WmDropdownMenuItem[];
|
|
28
|
+
}
|
|
29
|
+
export type { DropdownMenuProps, WmDropdownMenuItem };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ClassType } from '@/typings';
|
|
2
|
+
import type { HoverCardContentProps, HoverCardRootProps } from 'reka-ui';
|
|
3
|
+
interface Props extends HoverCardRootProps {
|
|
4
|
+
class?: ClassType;
|
|
5
|
+
contentClass?: ClassType;
|
|
6
|
+
contentProps?: HoverCardContentProps;
|
|
7
|
+
}
|
|
8
|
+
declare var __VLS_10: {}, __VLS_16: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
trigger?: (props: typeof __VLS_10) => any;
|
|
11
|
+
} & {
|
|
12
|
+
default?: (props: typeof __VLS_16) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"update:open": (value: boolean) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
17
|
+
"onUpdate:open"?: (value: boolean) => any;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CnRenderContent } from './render-content.vue';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Component, PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
content: {
|
|
4
|
+
default: PropType<(() => any) | Component | string> | undefined;
|
|
5
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
6
|
+
};
|
|
7
|
+
}>, () => string | Function | Record<string, any> | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
content: {
|
|
11
|
+
default: PropType<(() => any) | Component | string> | undefined;
|
|
12
|
+
type: (StringConstructor | ObjectConstructor | FunctionConstructor)[];
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}>, {
|
|
15
|
+
content: string | Function | Record<string, any>;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CnScrollbar } from './scrollbar.vue';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { ClassType } from '@/typings';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: ClassType;
|
|
4
|
+
horizontal?: boolean;
|
|
5
|
+
scrollBarClass?: ClassType;
|
|
6
|
+
shadow?: boolean;
|
|
7
|
+
shadowBorder?: boolean;
|
|
8
|
+
shadowBottom?: boolean;
|
|
9
|
+
shadowLeft?: boolean;
|
|
10
|
+
shadowRight?: boolean;
|
|
11
|
+
shadowTop?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare var __VLS_6: {};
|
|
14
|
+
type __VLS_Slots = {} & {
|
|
15
|
+
default?: (props: typeof __VLS_6) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
scrollAt: (args_0: {
|
|
19
|
+
bottom: boolean;
|
|
20
|
+
left: boolean;
|
|
21
|
+
right: boolean;
|
|
22
|
+
top: boolean;
|
|
23
|
+
}) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onScrollAt?: (args_0: {
|
|
26
|
+
bottom: boolean;
|
|
27
|
+
left: boolean;
|
|
28
|
+
right: boolean;
|
|
29
|
+
top: boolean;
|
|
30
|
+
}) => any;
|
|
31
|
+
}>, {
|
|
32
|
+
class: ClassType;
|
|
33
|
+
horizontal: boolean;
|
|
34
|
+
shadow: boolean;
|
|
35
|
+
shadowBorder: boolean;
|
|
36
|
+
shadowBottom: boolean;
|
|
37
|
+
shadowLeft: boolean;
|
|
38
|
+
shadowRight: boolean;
|
|
39
|
+
shadowTop: boolean;
|
|
40
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
class?: string;
|
|
3
|
+
/**
|
|
4
|
+
* @zh_CN 最小加载时间
|
|
5
|
+
* @en_US Minimum loading time
|
|
6
|
+
*/
|
|
7
|
+
minLoadingTime?: number;
|
|
8
|
+
/**
|
|
9
|
+
* @zh_CN loading状态开启
|
|
10
|
+
*/
|
|
11
|
+
spinning?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @zh_CN 文字
|
|
14
|
+
*/
|
|
15
|
+
text?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
18
|
+
text: string;
|
|
19
|
+
minLoadingTime: number;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
class?: string;
|
|
3
|
+
/**
|
|
4
|
+
* @zh_CN 最小加载时间
|
|
5
|
+
* @en_US Minimum loading time
|
|
6
|
+
*/
|
|
7
|
+
minLoadingTime?: number;
|
|
8
|
+
/**
|
|
9
|
+
* @zh_CN loading状态开启
|
|
10
|
+
*/
|
|
11
|
+
spinning?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
|
+
minLoadingTime: number;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
triggerClass?: string;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_5: {}, __VLS_11: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
trigger?: (props: typeof __VLS_5) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_11) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ClassType } from '@/typings';
|
|
2
|
+
import type { TooltipContentProps } from 'reka-ui';
|
|
3
|
+
import type { StyleValue } from 'vue';
|
|
4
|
+
interface Props {
|
|
5
|
+
contentClass?: ClassType;
|
|
6
|
+
contentStyle?: StyleValue;
|
|
7
|
+
delayDuration?: number;
|
|
8
|
+
side?: TooltipContentProps['side'];
|
|
9
|
+
}
|
|
10
|
+
declare var __VLS_14: {}, __VLS_20: {};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
trigger?: (props: typeof __VLS_14) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: typeof __VLS_20) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
|
+
side: TooltipContentProps["side"];
|
|
18
|
+
delayDuration: number;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type AccordionRootProps } from 'reka-ui';
|
|
2
|
+
type __VLS_Props = AccordionRootProps;
|
|
3
|
+
declare var __VLS_6: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_6) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: (value: string | string[]) => any;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type AccordionContentProps } from 'reka-ui';
|
|
2
|
+
import { type HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = AccordionContentProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_6: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_6) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type AccordionItemProps } from 'reka-ui';
|
|
2
|
+
import { type HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = AccordionItemProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_6: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_6) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type AccordionTriggerProps } from 'reka-ui';
|
|
2
|
+
import { type HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = AccordionTriggerProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_10: {}, __VLS_12: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_10) => any;
|
|
9
|
+
} & {
|
|
10
|
+
icon?: (props: typeof __VLS_12) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import { type HTMLAttributes } from 'vue';
|
|
3
|
+
import { type BadgeVariants } from '.';
|
|
4
|
+
type __VLS_Props = PrimitiveProps & {
|
|
5
|
+
variant?: BadgeVariants['variant'];
|
|
6
|
+
class?: HTMLAttributes['class'];
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_6: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_6) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
export { default as Badge } from './Badge.vue';
|
|
3
|
+
export declare const badgeVariants: (props?: {
|
|
4
|
+
variant?: "default" | "destructive" | "outline" | "secondary";
|
|
5
|
+
} & import("class-variance-authority/dist/types.js").ClassProp) => string;
|
|
6
|
+
export type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type PrimitiveProps } from 'reka-ui';
|
|
2
|
+
import type { HTMLAttributes } from 'vue';
|
|
3
|
+
import { type ButtonVariants } from '.';
|
|
4
|
+
interface Props extends PrimitiveProps {
|
|
5
|
+
variant?: ButtonVariants['variant'];
|
|
6
|
+
size?: ButtonVariants['size'];
|
|
7
|
+
class?: HTMLAttributes['class'];
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_6: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_6) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
|
+
as: string;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
2
|
+
export { default as CnButton } from './Button.vue';
|
|
3
|
+
export declare const buttonVariants: (props?: {
|
|
4
|
+
variant?: "default" | "link" | "ghost" | "icon" | "destructive" | "heavy" | "outline" | "secondary";
|
|
5
|
+
size?: "default" | "icon" | "lg" | "sm" | "xs";
|
|
6
|
+
} & import("class-variance-authority/dist/types.js").ClassProp) => string;
|
|
7
|
+
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ContextMenuRootProps } from 'reka-ui';
|
|
2
|
+
declare var __VLS_6: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<ContextMenuRootProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:open": (payload: boolean) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<ContextMenuRootProps> & Readonly<{
|
|
9
|
+
"onUpdate:open"?: (payload: boolean) => any;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type ContextMenuCheckboxItemProps } from 'reka-ui';
|
|
2
|
+
import { type HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = ContextMenuCheckboxItemProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_14: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_14) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
select: (event: Event) => any;
|
|
12
|
+
"update:modelValue": (payload: boolean) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onSelect?: (event: Event) => any;
|
|
15
|
+
"onUpdate:modelValue"?: (payload: boolean) => any;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ContextMenuContentProps } from 'reka-ui';
|
|
2
|
+
import { type HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = ContextMenuContentProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_10: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_10) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
12
|
+
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
13
|
+
focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
14
|
+
interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
15
|
+
closeAutoFocus: (event: Event) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onEscapeKeyDown?: (event: KeyboardEvent) => any;
|
|
18
|
+
onPointerDownOutside?: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
19
|
+
onFocusOutside?: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
20
|
+
onInteractOutside?: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
21
|
+
onCloseAutoFocus?: (event: Event) => any;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ContextMenuGroupProps } from 'reka-ui';
|
|
2
|
+
declare var __VLS_6: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<ContextMenuGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContextMenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|