@echolab-auto/echo-prodoc 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/README.md +56 -0
- package/bin/echo-prodoc.js +2 -0
- package/package.json +49 -0
- package/packages/prodoc-cli/dist/index.d.ts +10 -0
- package/packages/prodoc-cli/dist/index.d.ts.map +1 -0
- package/packages/prodoc-cli/dist/index.js +251 -0
- package/packages/prodoc-cli/dist/index.js.map +1 -0
- package/packages/prodoc-cli/dist/server.d.ts +13 -0
- package/packages/prodoc-cli/dist/server.d.ts.map +1 -0
- package/packages/prodoc-cli/package.json +39 -0
- package/packages/prodoc-core/dist/index.cjs +1 -0
- package/packages/prodoc-core/dist/index.d.ts +12 -0
- package/packages/prodoc-core/dist/index.d.ts.map +1 -0
- package/packages/prodoc-core/dist/index.js +2 -0
- package/packages/prodoc-core/package.json +30 -0
- package/packages/prodoc-editor/dist/index.cjs +1 -0
- package/packages/prodoc-editor/dist/index.css +2 -0
- package/packages/prodoc-editor/dist/index.d.ts +10 -0
- package/packages/prodoc-editor/dist/index.d.ts.map +1 -0
- package/packages/prodoc-editor/dist/index.js +3 -0
- package/packages/prodoc-editor/package.json +40 -0
- package/packages/prodoc-renderer/dist/index.cjs +1 -0
- package/packages/prodoc-renderer/dist/index.css +2 -0
- package/packages/prodoc-renderer/dist/index.d.ts +11 -0
- package/packages/prodoc-renderer/dist/index.d.ts.map +1 -0
- package/packages/prodoc-renderer/dist/index.js +3 -0
- package/packages/prodoc-renderer/package.json +38 -0
- package/scripts/build-if-needed.js +37 -0
- package/scripts/install-ui-frame.js +269 -0
- package/scripts/link-system-bin.js +82 -0
- package/scripts/publish.sh +64 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismAlert.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismAutoComplete.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismAvatar.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismBadge.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismBreadcrumb.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismButton.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismCanvas.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismCard.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismCheckbox.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismCol.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismCollapse.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismContainer.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismDatePicker.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismDivider.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismDrawer.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismDropdown.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismEmpty.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismFieldError.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismFieldLabel.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismFormItem.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismInput.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismInputNumber.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismLayout.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismList.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismMenu.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismModal.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismNavMenu.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismPagination.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismPopover.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismProgress.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismRadioGroup.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismSelect.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismSkeleton.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismSlider.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismSteps.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismSwitch.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismTable.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismTabs.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismTag.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismTextarea.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismThemeToggle.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismToastProvider.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismTooltip.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismTree.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismUpload.css +1 -0
- package/vendor/@echolab/ui-frame/dist/NeumorphismVirtualList.css +1 -0
- package/vendor/@echolab/ui-frame/dist/ThemeProvider.css +1 -0
- package/vendor/@echolab/ui-frame/dist/base.css +1 -0
- package/vendor/@echolab/ui-frame/dist/base.d.ts +1 -0
- package/vendor/@echolab/ui-frame/dist/base.js +1 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismAlert-C8gUjcJ9.js +130 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismAutoComplete-DI9cIsCr.js +255 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismAvatar-D7pr7n61.js +65 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismBadge-Br8ESUFf.js +64 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismBreadcrumb-PeUQHAqO.js +58 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismButton-CiIrdqlV.js +81 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismCanvas-CBLkbovI.js +176 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismCard-Cgy4dCPE.js +66 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismCheckbox-Bo5Q7yC_.js +114 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismCol-DwoaSc5J.js +117 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismCollapse-BLSShHjJ.js +95 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismContainer-B1g0c9Ps.js +32 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismDatePicker-TLkTC22A.js +315 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismDivider-CjDyku2C.js +56 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismDrawer-BmpGyAlZ.js +133 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismDropdown-B_cuLYvV.js +120 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismEmpty-DAsVUAXw.js +49 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismFieldError-BxamHjhs.js +20 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismFieldLabel-CBF1nZs1.js +26 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismFormItem-DjtFqfsK.js +149 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismInput-CV0AQcff.js +121 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismInputNumber-BLSDUrG2.js +119 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismLayout-C7hoaRIo.js +155 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismList-BPjiY2ok.js +106 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismMenu-xfgTqwex.js +294 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismModal-BejbU5Uw.js +139 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismNavMenu-D_aeJ9zj.js +297 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismPagination-Dj-JuN7F.js +162 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismPopover-RB48cpPq.js +197 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismProgress-jGoOJqN4.js +72 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismRadioGroup-BC-NFcXF.js +122 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismSelect-D57-kOit.js +200 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismSkeleton-CIBufbBR.js +56 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismSlider-CJGJhgAY.js +163 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismSteps-Eq8pY0Yo.js +147 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismSwitch-HSJ9_0Zq.js +76 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTable-BEcMl0Sh.js +189 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTabs-DhV7RpfS.js +98 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTag-D-HO-n7l.js +83 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTextarea-hf4f9EM1.js +126 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismThemeToggle-B-lky48G.js +144 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismToastProvider-CJvxNDwJ.js +132 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTooltip-DEac8yVH.js +116 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTree-C5jKWadX.js +302 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismUpload-CK8GutG5.js +584 -0
- package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismVirtualList-BI322-e4.js +55 -0
- package/vendor/@echolab/ui-frame/dist/chunks/ThemeProvider-CCR_TjUs.js +30 -0
- package/vendor/@echolab/ui-frame/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/vendor/@echolab/ui-frame/dist/chunks/componentRegistry-XcPWEoEL.js +48 -0
- package/vendor/@echolab/ui-frame/dist/chunks/createComponent-jnXBYqCm.js +11 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismAlert/NeumorphismAlert.d.ts +78 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismAlert/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismAlert/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismAutoComplete/NeumorphismAutoComplete.d.ts +83 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismAutoComplete/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismAutoComplete/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismAvatar/NeumorphismAvatar.d.ts +50 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismAvatar/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismAvatar/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismBadge/NeumorphismBadge.d.ts +47 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismBadge/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismBadge/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismBreadcrumb/NeumorphismBreadcrumb.d.ts +45 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismBreadcrumb/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismBreadcrumb/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismButton/NeumorphismButton.d.ts +74 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismButton/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismButton/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCanvas/NeumorphismCanvas.d.ts +85 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCanvas/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCanvas/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCard/NeumorphismCard.d.ts +83 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCard/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCard/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCheckbox/NeumorphismCheckbox.d.ts +58 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCheckbox/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCheckbox/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCollapse/NeumorphismCollapse.d.ts +59 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCollapse/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismCollapse/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismContainer/NeumorphismContainer.d.ts +48 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismContainer/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismContainer/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDatePicker/NeumorphismDatePicker.d.ts +69 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDatePicker/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDatePicker/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDivider/NeumorphismDivider.d.ts +51 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDivider/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDivider/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDrawer/NeumorphismDrawer.d.ts +71 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDrawer/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDrawer/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDropdown/NeumorphismDropdown.d.ts +75 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDropdown/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismDropdown/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismEmpty/NeumorphismEmpty.d.ts +41 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismEmpty/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismEmpty/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismField/NeumorphismFieldError.d.ts +17 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismField/NeumorphismFieldLabel.d.ts +19 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismField/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismField/index.js +6 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismForm/NeumorphismForm.d.ts +67 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismForm/NeumorphismFormItem.d.ts +54 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismForm/index.d.ts +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismForm/index.js +5 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismGrid/NeumorphismCol.d.ts +54 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismGrid/NeumorphismRow.d.ts +51 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismGrid/index.d.ts +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismGrid/index.js +5 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismInput/NeumorphismInput.d.ts +87 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismInput/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismInput/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismInputNumber/NeumorphismInputNumber.d.ts +85 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismInputNumber/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismInputNumber/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismLayout/NeumorphismLayout.d.ts +79 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismLayout/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismLayout/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismList/NeumorphismList.d.ts +74 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismList/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismList/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismMenu/NeumorphismMenu.d.ts +73 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismMenu/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismMenu/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismModal/NeumorphismModal.d.ts +88 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismModal/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismModal/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismNavMenu/NeumorphismNavMenu.d.ts +63 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismNavMenu/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismNavMenu/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismPagination/NeumorphismPagination.d.ts +87 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismPagination/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismPagination/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismPopover/NeumorphismPopover.d.ts +78 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismPopover/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismPopover/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismProgress/NeumorphismProgress.d.ts +53 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismProgress/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismProgress/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismRadio/NeumorphismRadio.d.ts +52 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismRadio/NeumorphismRadioGroup.d.ts +53 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismRadio/index.d.ts +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismRadio/index.js +5 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSelect/NeumorphismSelect.d.ts +96 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSelect/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSelect/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSkeleton/NeumorphismSkeleton.d.ts +38 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSkeleton/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSkeleton/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSlider/NeumorphismSlider.d.ts +76 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSlider/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSlider/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSteps/NeumorphismSteps.d.ts +69 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSteps/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSteps/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSwitch/NeumorphismSwitch.d.ts +64 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSwitch/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismSwitch/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTable/NeumorphismTable.d.ts +99 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTable/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTable/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTabs/NeumorphismTabs.d.ts +71 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTabs/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTabs/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTag/NeumorphismTag.d.ts +65 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTag/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTag/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTextarea/NeumorphismTextarea.d.ts +80 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTextarea/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTextarea/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismThemeToggle/NeumorphismThemeToggle.d.ts +52 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismThemeToggle/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismThemeToggle/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismToast/NeumorphismToastProvider.d.ts +57 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismToast/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismToast/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTooltip/NeumorphismTooltip.d.ts +58 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTooltip/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTooltip/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTree/NeumorphismTree.d.ts +58 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTree/NeumorphismTreeNode.d.ts +59 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTree/index.d.ts +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismTree/index.js +5 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismUpload/NeumorphismUpload.d.ts +126 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismUpload/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismUpload/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismVirtualList/NeumorphismVirtualList.d.ts +59 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismVirtualList/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/NeumorphismVirtualList/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/ThemeProvider/ThemeProvider.d.ts +56 -0
- package/vendor/@echolab/ui-frame/dist/components/ThemeProvider/index.d.ts +2 -0
- package/vendor/@echolab/ui-frame/dist/components/ThemeProvider/index.js +4 -0
- package/vendor/@echolab/ui-frame/dist/components/index.d.ts +92 -0
- package/vendor/@echolab/ui-frame/dist/composables/injectionKeys.d.ts +27 -0
- package/vendor/@echolab/ui-frame/dist/composables/injectionKeys.js +6 -0
- package/vendor/@echolab/ui-frame/dist/composables/useAlert.d.ts +30 -0
- package/vendor/@echolab/ui-frame/dist/composables/useAlert.js +25 -0
- package/vendor/@echolab/ui-frame/dist/composables/useAutoComplete.d.ts +50 -0
- package/vendor/@echolab/ui-frame/dist/composables/useAutoComplete.js +118 -0
- package/vendor/@echolab/ui-frame/dist/composables/useCheckable.d.ts +17 -0
- package/vendor/@echolab/ui-frame/dist/composables/useCheckable.js +17 -0
- package/vendor/@echolab/ui-frame/dist/composables/useCollapse.d.ts +26 -0
- package/vendor/@echolab/ui-frame/dist/composables/useCollapse.js +25 -0
- package/vendor/@echolab/ui-frame/dist/composables/useConfig.d.ts +243 -0
- package/vendor/@echolab/ui-frame/dist/composables/useConfig.js +12 -0
- package/vendor/@echolab/ui-frame/dist/composables/useDatePicker.d.ts +73 -0
- package/vendor/@echolab/ui-frame/dist/composables/useDatePicker.js +118 -0
- package/vendor/@echolab/ui-frame/dist/composables/useDrawer.d.ts +34 -0
- package/vendor/@echolab/ui-frame/dist/composables/useDrawer.js +97 -0
- package/vendor/@echolab/ui-frame/dist/composables/useFormField.d.ts +24 -0
- package/vendor/@echolab/ui-frame/dist/composables/useFormField.js +34 -0
- package/vendor/@echolab/ui-frame/dist/composables/useFormValidation.d.ts +18 -0
- package/vendor/@echolab/ui-frame/dist/composables/useFormValidation.js +44 -0
- package/vendor/@echolab/ui-frame/dist/composables/useLocale.d.ts +38 -0
- package/vendor/@echolab/ui-frame/dist/composables/useLocale.js +34 -0
- package/vendor/@echolab/ui-frame/dist/composables/useMenu.d.ts +55 -0
- package/vendor/@echolab/ui-frame/dist/composables/useMenu.js +218 -0
- package/vendor/@echolab/ui-frame/dist/composables/useModal.d.ts +31 -0
- package/vendor/@echolab/ui-frame/dist/composables/useModal.js +93 -0
- package/vendor/@echolab/ui-frame/dist/composables/useNumberInput.d.ts +52 -0
- package/vendor/@echolab/ui-frame/dist/composables/useNumberInput.js +100 -0
- package/vendor/@echolab/ui-frame/dist/composables/usePagination.d.ts +37 -0
- package/vendor/@echolab/ui-frame/dist/composables/usePagination.js +40 -0
- package/vendor/@echolab/ui-frame/dist/composables/usePopover.d.ts +38 -0
- package/vendor/@echolab/ui-frame/dist/composables/usePopover.js +54 -0
- package/vendor/@echolab/ui-frame/dist/composables/useSelect.d.ts +30 -0
- package/vendor/@echolab/ui-frame/dist/composables/useSelect.js +76 -0
- package/vendor/@echolab/ui-frame/dist/composables/useSlider.d.ts +39 -0
- package/vendor/@echolab/ui-frame/dist/composables/useSlider.js +79 -0
- package/vendor/@echolab/ui-frame/dist/composables/useSteps.d.ts +54 -0
- package/vendor/@echolab/ui-frame/dist/composables/useSteps.js +26 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTable.d.ts +78 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTable.js +103 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTabs.d.ts +33 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTabs.js +43 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTheme.d.ts +40 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTheme.js +81 -0
- package/vendor/@echolab/ui-frame/dist/composables/useToast.d.ts +44 -0
- package/vendor/@echolab/ui-frame/dist/composables/useToast.js +57 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTooltip.d.ts +29 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTooltip.js +27 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTouchDevice.d.ts +7 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTouchDevice.js +25 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTree.d.ts +50 -0
- package/vendor/@echolab/ui-frame/dist/composables/useTree.js +219 -0
- package/vendor/@echolab/ui-frame/dist/composables/useUpload.d.ts +81 -0
- package/vendor/@echolab/ui-frame/dist/composables/useUpload.js +169 -0
- package/vendor/@echolab/ui-frame/dist/composables/useVirtualList.d.ts +59 -0
- package/vendor/@echolab/ui-frame/dist/composables/useVirtualList.js +107 -0
- package/vendor/@echolab/ui-frame/dist/doc/DocEditor.d.ts +41 -0
- package/vendor/@echolab/ui-frame/dist/doc/DocViewer.d.ts +39 -0
- package/vendor/@echolab/ui-frame/dist/doc/MarkdownEditor.d.ts +37 -0
- package/vendor/@echolab/ui-frame/dist/doc/MarkdownRenderer.d.ts +42 -0
- package/vendor/@echolab/ui-frame/dist/doc/doc-tree.d.ts +8 -0
- package/vendor/@echolab/ui-frame/dist/doc/index.d.ts +27 -0
- package/vendor/@echolab/ui-frame/dist/doc/index.js +1055 -0
- package/vendor/@echolab/ui-frame/dist/doc/parser.d.ts +15 -0
- package/vendor/@echolab/ui-frame/dist/doc/tree-utils.d.ts +22 -0
- package/vendor/@echolab/ui-frame/dist/doc/types.d.ts +42 -0
- package/vendor/@echolab/ui-frame/dist/doc/useDocLayout.d.ts +38 -0
- package/vendor/@echolab/ui-frame/dist/extensions/componentRegistry.d.ts +39 -0
- package/vendor/@echolab/ui-frame/dist/extensions/createComponent.d.ts +43 -0
- package/vendor/@echolab/ui-frame/dist/extensions/index.d.ts +4 -0
- package/vendor/@echolab/ui-frame/dist/extensions/index.js +6 -0
- package/vendor/@echolab/ui-frame/dist/extensions/types.d.ts +56 -0
- package/vendor/@echolab/ui-frame/dist/index.css +1 -0
- package/vendor/@echolab/ui-frame/dist/index.d.ts +80 -0
- package/vendor/@echolab/ui-frame/dist/locales/en-US.d.ts +3 -0
- package/vendor/@echolab/ui-frame/dist/locales/index.d.ts +3 -0
- package/vendor/@echolab/ui-frame/dist/locales/index.js +171 -0
- package/vendor/@echolab/ui-frame/dist/locales/types.d.ts +89 -0
- package/vendor/@echolab/ui-frame/dist/locales/zh-CN.d.ts +3 -0
- package/vendor/@echolab/ui-frame/dist/style.css +1 -0
- package/vendor/@echolab/ui-frame/dist/styles/base.d.ts +1 -0
- package/vendor/@echolab/ui-frame/dist/styles/tokens.d.ts +1 -0
- package/vendor/@echolab/ui-frame/dist/tokens.css +1 -0
- package/vendor/@echolab/ui-frame/dist/tokens.d.ts +1 -0
- package/vendor/@echolab/ui-frame/dist/tokens.js +1 -0
- package/vendor/@echolab/ui-frame/dist/ui-frame.css +1 -0
- package/vendor/@echolab/ui-frame/dist/ui-frame.d.ts +3 -0
- package/vendor/@echolab/ui-frame/dist/ui-frame.js +247 -0
- package/vendor/@echolab/ui-frame/dist/ui-frame.umd.cjs +3 -0
- package/vendor/@echolab/ui-frame/dist/utils/index.d.ts +14 -0
- package/vendor/@echolab/ui-frame/dist/utils/index.js +20 -0
- package/vendor/@echolab/ui-frame/package.json +131 -0
- package/vendor/fsevents-stub/index.d.ts +2 -0
- package/vendor/fsevents-stub/index.js +3 -0
- package/vendor/fsevents-stub/package.json +8 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface UsePaginationOptions {
|
|
4
|
+
/** v-model current page */
|
|
5
|
+
modelValue: Ref<number>;
|
|
6
|
+
/** Total number of items */
|
|
7
|
+
total: Ref<number> | ComputedRef<number>;
|
|
8
|
+
/** Items per page */
|
|
9
|
+
pageSize?: Ref<number> | ComputedRef<number>;
|
|
10
|
+
/** Maximum visible page buttons */
|
|
11
|
+
maxVisiblePages?: Ref<number> | ComputedRef<number>;
|
|
12
|
+
/** Whether pagination is disabled */
|
|
13
|
+
disabled?: Ref<boolean>;
|
|
14
|
+
}
|
|
15
|
+
export interface UsePaginationReturn {
|
|
16
|
+
/** Total number of pages */
|
|
17
|
+
totalPages: ComputedRef<number>;
|
|
18
|
+
/** Current page (clamped) */
|
|
19
|
+
currentPage: ComputedRef<number>;
|
|
20
|
+
/** Array of visible page numbers and ellipsis markers */
|
|
21
|
+
visiblePages: ComputedRef<(number | 'prev-ellipsis' | 'next-ellipsis')[]>;
|
|
22
|
+
/** Change to a specific page */
|
|
23
|
+
changePage: (page: number) => void;
|
|
24
|
+
/** Go to previous page */
|
|
25
|
+
prevPage: () => void;
|
|
26
|
+
/** Go to next page */
|
|
27
|
+
nextPage: () => void;
|
|
28
|
+
/** Whether previous button should be disabled */
|
|
29
|
+
isPrevDisabled: ComputedRef<boolean>;
|
|
30
|
+
/** Whether next button should be disabled */
|
|
31
|
+
isNextDisabled: ComputedRef<boolean>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Headless pagination — encapsulates page calculation, ellipsis logic,
|
|
35
|
+
* and page navigation. Use with your own UI rendering.
|
|
36
|
+
*/
|
|
37
|
+
export declare function usePagination(opts: UsePaginationOptions): UsePaginationReturn;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { computed as i } from "vue";
|
|
2
|
+
function D(o) {
|
|
3
|
+
const { modelValue: f, total: g } = o, p = o.pageSize ?? i(() => 10), d = o.maxVisiblePages ?? i(() => 7), c = o.disabled ?? i(() => !1), u = i(() => Math.max(1, Math.ceil(g.value / p.value))), l = i(() => Math.min(Math.max(1, f.value), u.value));
|
|
4
|
+
function v(n) {
|
|
5
|
+
if (isNaN(n) || !isFinite(n)) return;
|
|
6
|
+
const e = Math.round(n);
|
|
7
|
+
c.value || e < 1 || e > u.value || e === l.value || (f.value = e);
|
|
8
|
+
}
|
|
9
|
+
function x() {
|
|
10
|
+
v(l.value - 1);
|
|
11
|
+
}
|
|
12
|
+
function P() {
|
|
13
|
+
v(l.value + 1);
|
|
14
|
+
}
|
|
15
|
+
const M = i(() => l.value <= 1 || c.value), b = i(() => l.value >= u.value || c.value), N = i(() => {
|
|
16
|
+
const n = d.value, e = u.value, h = l.value;
|
|
17
|
+
if (e <= n)
|
|
18
|
+
return Array.from({ length: e }, (r, V) => V + 1);
|
|
19
|
+
const m = Math.floor(n / 2);
|
|
20
|
+
let a = h - m, t = h + m;
|
|
21
|
+
a < 1 && (t += 1 - a, a = 1), t > e && (a -= t - e, t = e), a = Math.max(1, a), t = Math.min(e, t);
|
|
22
|
+
const s = [];
|
|
23
|
+
a > 1 && s.push(1), a > 2 && s.push("prev-ellipsis");
|
|
24
|
+
for (let r = a; r <= t; r++) s.push(r);
|
|
25
|
+
return t < e - 1 && s.push("next-ellipsis"), t < e && s.push(e), s;
|
|
26
|
+
});
|
|
27
|
+
return {
|
|
28
|
+
totalPages: u,
|
|
29
|
+
currentPage: l,
|
|
30
|
+
visiblePages: N,
|
|
31
|
+
changePage: v,
|
|
32
|
+
prevPage: x,
|
|
33
|
+
nextPage: P,
|
|
34
|
+
isPrevDisabled: M,
|
|
35
|
+
isNextDisabled: b
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
D as usePagination
|
|
40
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type PopoverPosition = 'top' | 'bottom' | 'left' | 'right' | 'auto';
|
|
4
|
+
export type PopoverTrigger = 'click' | 'hover' | 'focus' | 'manual';
|
|
5
|
+
export interface UsePopoverOptions {
|
|
6
|
+
/** Preferred position of the popover relative to the trigger */
|
|
7
|
+
position?: Ref<PopoverPosition>;
|
|
8
|
+
/** How the popover is triggered */
|
|
9
|
+
trigger?: Ref<PopoverTrigger>;
|
|
10
|
+
/** Whether the popover is disabled */
|
|
11
|
+
disabled?: Ref<boolean>;
|
|
12
|
+
/** Offset from the trigger element in px */
|
|
13
|
+
offset?: Ref<number> | number;
|
|
14
|
+
/** Delay before showing (ms, for hover trigger) */
|
|
15
|
+
delay?: number;
|
|
16
|
+
}
|
|
17
|
+
export interface UsePopoverReturn {
|
|
18
|
+
/** Whether the popover is currently open */
|
|
19
|
+
isOpen: Ref<boolean>;
|
|
20
|
+
/** Show the popover */
|
|
21
|
+
show: () => void;
|
|
22
|
+
/** Hide the popover */
|
|
23
|
+
hide: () => void;
|
|
24
|
+
/** Toggle visibility (for click trigger) */
|
|
25
|
+
toggle: () => void;
|
|
26
|
+
/** Handle keydown (Escape to close, Tab to dismiss) */
|
|
27
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
28
|
+
/** Handle click outside detection — call from the popover content wrapper */
|
|
29
|
+
handleClickOutside: (event: MouseEvent) => void;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Headless popover — encapsulates open/close, trigger modes (click/hover/focus/manual),
|
|
33
|
+
* boundary-aware positioning helpers, keyboard dismissal, and click-outside detection.
|
|
34
|
+
*
|
|
35
|
+
* Use with your own UI rendering. Position calculation and DOM measurement
|
|
36
|
+
* are the consumer's responsibility; this composable provides the state machine.
|
|
37
|
+
*/
|
|
38
|
+
export declare function usePopover(opts?: UsePopoverOptions): UsePopoverReturn;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ref as k, onMounted as y, onBeforeUnmount as h, nextTick as p } from "vue";
|
|
2
|
+
function C(r = {}) {
|
|
3
|
+
const { trigger: i, disabled: e } = r, v = r.delay ?? 150, n = k(!1);
|
|
4
|
+
let u = null, t = null;
|
|
5
|
+
const m = (i == null ? void 0 : i.value) ?? "click";
|
|
6
|
+
function f() {
|
|
7
|
+
e != null && e.value || (t && (clearTimeout(t), t = null), m === "hover" ? u = setTimeout(() => {
|
|
8
|
+
n.value = !0;
|
|
9
|
+
}, v) : n.value = !0);
|
|
10
|
+
}
|
|
11
|
+
function c() {
|
|
12
|
+
u && (clearTimeout(u), u = null), t = setTimeout(() => {
|
|
13
|
+
n.value = !1;
|
|
14
|
+
}, 100);
|
|
15
|
+
}
|
|
16
|
+
function s() {
|
|
17
|
+
e != null && e.value || (n.value ? c() : f());
|
|
18
|
+
}
|
|
19
|
+
function d(l) {
|
|
20
|
+
if (!(e != null && e.value)) {
|
|
21
|
+
if (l.key === "Escape") {
|
|
22
|
+
n.value = !1;
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
l.key === "Tab" && n.value && p(() => {
|
|
26
|
+
typeof document > "u" || (n.value = !1);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function a(l) {
|
|
31
|
+
n.value;
|
|
32
|
+
}
|
|
33
|
+
let o = null;
|
|
34
|
+
function T(l) {
|
|
35
|
+
!n.value || e != null && e.value || a();
|
|
36
|
+
}
|
|
37
|
+
return y(() => {
|
|
38
|
+
typeof document > "u" || (o = (l) => {
|
|
39
|
+
T();
|
|
40
|
+
}, document.addEventListener("click", o, !0));
|
|
41
|
+
}), h(() => {
|
|
42
|
+
u && (clearTimeout(u), u = null), t && (clearTimeout(t), t = null), typeof document < "u" && o && document.removeEventListener("click", o, !0);
|
|
43
|
+
}), {
|
|
44
|
+
isOpen: n,
|
|
45
|
+
show: f,
|
|
46
|
+
hide: c,
|
|
47
|
+
toggle: s,
|
|
48
|
+
handleKeydown: d,
|
|
49
|
+
handleClickOutside: a
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
C as usePopover
|
|
54
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface SelectOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string | number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface UseSelectOptions {
|
|
9
|
+
/** v-model value */
|
|
10
|
+
modelValue: Ref<string | number | undefined>;
|
|
11
|
+
/** Available options */
|
|
12
|
+
options: Ref<SelectOption[]> | ComputedRef<SelectOption[]>;
|
|
13
|
+
/** Whether the select is disabled */
|
|
14
|
+
disabled?: Ref<boolean>;
|
|
15
|
+
}
|
|
16
|
+
export interface UseSelectReturn {
|
|
17
|
+
isOpen: Ref<boolean>;
|
|
18
|
+
selectedOption: ComputedRef<SelectOption | undefined>;
|
|
19
|
+
toggleOpen: () => void;
|
|
20
|
+
close: () => void;
|
|
21
|
+
selectOption: (option: SelectOption) => void;
|
|
22
|
+
clearValue: (value?: string | number) => void;
|
|
23
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
24
|
+
handleBlur: (relatedTarget: EventTarget | null, currentTarget: HTMLElement) => void;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Headless select — encapsulates open/close, keyboard navigation, and
|
|
28
|
+
* option selection logic without any rendering. Use with your own UI.
|
|
29
|
+
*/
|
|
30
|
+
export declare function useSelect(opts: UseSelectOptions): UseSelectReturn;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ref as y, computed as T } from "vue";
|
|
2
|
+
function K(h) {
|
|
3
|
+
const { modelValue: r, options: p, disabled: u } = h, t = y(!1), s = y("");
|
|
4
|
+
let f = null;
|
|
5
|
+
function i() {
|
|
6
|
+
s.value = "", f && (clearTimeout(f), f = null);
|
|
7
|
+
}
|
|
8
|
+
function d(e) {
|
|
9
|
+
s.value += e.toLowerCase(), f && clearTimeout(f), f = setTimeout(() => {
|
|
10
|
+
s.value = "";
|
|
11
|
+
}, 500);
|
|
12
|
+
const l = p.value.filter((c) => !c.disabled), n = s.value;
|
|
13
|
+
let a = l.find((c) => c.label.toLowerCase().startsWith(n));
|
|
14
|
+
a || (a = l.find((c) => c.label.toLowerCase().includes(n))), a && o(a);
|
|
15
|
+
}
|
|
16
|
+
const m = T(() => p.value.find((e) => e.value === r.value));
|
|
17
|
+
function v() {
|
|
18
|
+
u != null && u.value || (t.value = !t.value);
|
|
19
|
+
}
|
|
20
|
+
function k() {
|
|
21
|
+
t.value = !1, i();
|
|
22
|
+
}
|
|
23
|
+
function o(e) {
|
|
24
|
+
e.disabled || u != null && u.value || (r.value = e.value);
|
|
25
|
+
}
|
|
26
|
+
function g(e) {
|
|
27
|
+
e.disabled || u != null && u.value || (r.value = e.value, t.value = !1, i());
|
|
28
|
+
}
|
|
29
|
+
function w(e) {
|
|
30
|
+
u != null && u.value || (r.value = e, t.value = !1, i());
|
|
31
|
+
}
|
|
32
|
+
function D(e) {
|
|
33
|
+
if (u != null && u.value) return;
|
|
34
|
+
if (e.key === "Escape") {
|
|
35
|
+
t.value = !1, i();
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
39
|
+
e.preventDefault(), v();
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
if (e.key === "ArrowDown" && !t.value) {
|
|
43
|
+
e.preventDefault(), t.value = !0;
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
if (!t.value) return;
|
|
47
|
+
const l = p.value.filter((a) => !a.disabled);
|
|
48
|
+
if (l.length === 0) return;
|
|
49
|
+
const n = l.findIndex((a) => a.value === r.value);
|
|
50
|
+
if (e.key === "ArrowDown") {
|
|
51
|
+
e.preventDefault();
|
|
52
|
+
const a = n + 1 < l.length ? l[n + 1] : l[0];
|
|
53
|
+
a && o(a);
|
|
54
|
+
} else if (e.key === "ArrowUp") {
|
|
55
|
+
e.preventDefault();
|
|
56
|
+
const a = n - 1 >= 0 ? l[n - 1] : l[l.length - 1];
|
|
57
|
+
a && o(a);
|
|
58
|
+
} else e.key === "Home" ? (e.preventDefault(), l[0] && o(l[0])) : e.key === "End" ? (e.preventDefault(), l[l.length - 1] && o(l[l.length - 1])) : e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey && (e.preventDefault(), d(e.key));
|
|
59
|
+
}
|
|
60
|
+
function O(e, l) {
|
|
61
|
+
l.contains(e) || (t.value = !1, i());
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
isOpen: t,
|
|
65
|
+
selectedOption: m,
|
|
66
|
+
toggleOpen: v,
|
|
67
|
+
close: k,
|
|
68
|
+
selectOption: g,
|
|
69
|
+
clearValue: w,
|
|
70
|
+
handleKeydown: D,
|
|
71
|
+
handleBlur: O
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export {
|
|
75
|
+
K as useSelect
|
|
76
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface UseSliderOptions {
|
|
4
|
+
/** v-model value — a writable Ref<number> */
|
|
5
|
+
modelValue: Ref<number>;
|
|
6
|
+
/** Minimum value */
|
|
7
|
+
min: number;
|
|
8
|
+
/** Maximum value */
|
|
9
|
+
max: number;
|
|
10
|
+
/** Step increment */
|
|
11
|
+
step: number;
|
|
12
|
+
/** Whether the slider is disabled */
|
|
13
|
+
disabled?: Ref<boolean>;
|
|
14
|
+
/** Whether the slider is vertical (default: false) */
|
|
15
|
+
vertical?: Ref<boolean>;
|
|
16
|
+
}
|
|
17
|
+
export interface UseSliderReturn {
|
|
18
|
+
/** Current slider value (computed from modelValue, clamped) */
|
|
19
|
+
sliderValue: ComputedRef<number>;
|
|
20
|
+
/** Value expressed as a percentage (0–100) */
|
|
21
|
+
percentage: ComputedRef<number>;
|
|
22
|
+
/** Programmatically set the slider value */
|
|
23
|
+
setValue: (value: number) => void;
|
|
24
|
+
/** Keyboard event handler */
|
|
25
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
26
|
+
/** Whether the thumb is currently being dragged */
|
|
27
|
+
isDragging: Ref<boolean>;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Calculate a slider value from a coordinate (mouse / touch) relative to a
|
|
31
|
+
* track element. The caller is responsible for providing the track rect and
|
|
32
|
+
* the track size dimension.
|
|
33
|
+
*/
|
|
34
|
+
export declare function coordinateToValue(clientCoord: number, trackStart: number, trackSize: number, min: number, max: number, step: number, vertical: boolean): number;
|
|
35
|
+
/**
|
|
36
|
+
* Headless slider — encapsulates value clamping, keyboard navigation, and
|
|
37
|
+
* a drag state without any rendering. Use with your own UI.
|
|
38
|
+
*/
|
|
39
|
+
export declare function useSlider(opts: UseSliderOptions): UseSliderReturn;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ref as A, computed as h } from "vue";
|
|
2
|
+
function f(n, t, e) {
|
|
3
|
+
return Math.min(Math.max(n, t), e);
|
|
4
|
+
}
|
|
5
|
+
function k(n, t, e) {
|
|
6
|
+
return e <= 0 ? n : Math.round((n - t) / e) * e + t;
|
|
7
|
+
}
|
|
8
|
+
function V(n, t, e, r, a, o, i) {
|
|
9
|
+
if (e <= 0) return r;
|
|
10
|
+
let u = (n - t) / e;
|
|
11
|
+
i && (u = 1 - u), u = f(u, 0, 1);
|
|
12
|
+
const p = r + u * (a - r);
|
|
13
|
+
return k(p, r, o);
|
|
14
|
+
}
|
|
15
|
+
function b(n) {
|
|
16
|
+
const { modelValue: t, min: e, max: r, step: a, disabled: o, vertical: i } = n, u = A(!1), p = h(() => f(t.value, e, r)), x = h(() => {
|
|
17
|
+
const c = r - e;
|
|
18
|
+
return c === 0 ? 0 : (p.value - e) / c * 100;
|
|
19
|
+
});
|
|
20
|
+
function s(c) {
|
|
21
|
+
if (o != null && o.value) return;
|
|
22
|
+
const d = f(c, e, r), m = k(d, e, a);
|
|
23
|
+
t.value = m;
|
|
24
|
+
}
|
|
25
|
+
function v(c) {
|
|
26
|
+
if (o != null && o.value) return;
|
|
27
|
+
const d = (i == null ? void 0 : i.value) ?? !1;
|
|
28
|
+
let m = !0;
|
|
29
|
+
const w = p.value;
|
|
30
|
+
switch (c.key) {
|
|
31
|
+
case "ArrowRight":
|
|
32
|
+
case "ArrowUp": {
|
|
33
|
+
const l = (d && c.key === "ArrowUp", a), g = f(w + l, e, r);
|
|
34
|
+
s(g);
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
case "ArrowLeft":
|
|
38
|
+
case "ArrowDown": {
|
|
39
|
+
const g = f(w - a, e, r);
|
|
40
|
+
s(g);
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
case "Home": {
|
|
44
|
+
s(e);
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
case "End": {
|
|
48
|
+
s(r);
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
case "PageUp": {
|
|
52
|
+
const l = Math.max(a * 10, (r - e) / 10);
|
|
53
|
+
s(f(w + l, e, r));
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
case "PageDown": {
|
|
57
|
+
const l = Math.max(a * 10, (r - e) / 10);
|
|
58
|
+
s(f(w - l, e, r));
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
default: {
|
|
62
|
+
m = !1;
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
m && c.preventDefault();
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
sliderValue: p,
|
|
70
|
+
percentage: x,
|
|
71
|
+
setValue: s,
|
|
72
|
+
handleKeydown: v,
|
|
73
|
+
isDragging: u
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export {
|
|
77
|
+
V as coordinateToValue,
|
|
78
|
+
b as useSlider
|
|
79
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Status of an individual step in the workflow.
|
|
5
|
+
* - `wait`: not yet reached
|
|
6
|
+
* - `process`: the current active step
|
|
7
|
+
* - `finish`: completed successfully
|
|
8
|
+
* - `error`: completed with an error
|
|
9
|
+
*/
|
|
10
|
+
export type StepStatus = 'wait' | 'process' | 'finish' | 'error';
|
|
11
|
+
/** Descriptor for a single step in a stepped workflow. */
|
|
12
|
+
export interface StepItem {
|
|
13
|
+
/** Unique key for the step (used for identity and status mapping). */
|
|
14
|
+
key: string;
|
|
15
|
+
/** Display title for the step. */
|
|
16
|
+
title: string;
|
|
17
|
+
/** Optional description / subtitle for the step. */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** Override the auto-computed status. When omitted the composable auto-assigns it. */
|
|
20
|
+
status?: StepStatus;
|
|
21
|
+
}
|
|
22
|
+
export interface UseStepsOptions {
|
|
23
|
+
/** Reactive array of step definitions. */
|
|
24
|
+
steps: Ref<StepItem[]> | ComputedRef<StepItem[]>;
|
|
25
|
+
/** Reactive 0-based index of the currently active step. */
|
|
26
|
+
current: Ref<number>;
|
|
27
|
+
}
|
|
28
|
+
export interface UseStepsReturn {
|
|
29
|
+
/** The current step item (computed from `current`). */
|
|
30
|
+
currentStep: ComputedRef<StepItem | undefined>;
|
|
31
|
+
/** Jump to a specific step by its 0-based index. */
|
|
32
|
+
setCurrent: (index: number) => void;
|
|
33
|
+
/** Advance to the next step. Optionally pass a `beforeNext` validator. */
|
|
34
|
+
next: (beforeNext?: () => boolean | Promise<boolean>) => Promise<void>;
|
|
35
|
+
/** Go back to the previous step. */
|
|
36
|
+
prev: () => void;
|
|
37
|
+
/** Manually override the status of a specific step. */
|
|
38
|
+
setStepStatus: (key: string, status: StepStatus) => void;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Headless steps composable — encapsulates step navigation, status auto-
|
|
42
|
+
* computation, and validation hooks.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* const steps = ref<StepItem[]>([
|
|
47
|
+
* { key: '1', title: 'Step 1' },
|
|
48
|
+
* { key: '2', title: 'Step 2' },
|
|
49
|
+
* ])
|
|
50
|
+
* const current = ref(0)
|
|
51
|
+
* const { currentStep, next, prev, setStepStatus } = useSteps({ steps, current })
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export declare function useSteps(opts: UseStepsOptions): UseStepsReturn;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { computed as f } from "vue";
|
|
2
|
+
function p(a) {
|
|
3
|
+
const { steps: u, current: t } = a, r = /* @__PURE__ */ new Map(), c = f(() => u.value[t.value]);
|
|
4
|
+
function l(e) {
|
|
5
|
+
e < 0 || e >= u.value.length || e !== t.value && (t.value = e);
|
|
6
|
+
}
|
|
7
|
+
async function o(e) {
|
|
8
|
+
t.value >= u.value.length - 1 || e && !await e() || (t.value = t.value + 1);
|
|
9
|
+
}
|
|
10
|
+
function s() {
|
|
11
|
+
t.value <= 0 || (t.value = t.value - 1);
|
|
12
|
+
}
|
|
13
|
+
function v(e, n) {
|
|
14
|
+
r.set(e, n);
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
currentStep: c,
|
|
18
|
+
setCurrent: l,
|
|
19
|
+
next: o,
|
|
20
|
+
prev: s,
|
|
21
|
+
setStepStatus: v
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
p as useSteps
|
|
26
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface TableColumn {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
width?: string | number;
|
|
7
|
+
minWidth?: string | number;
|
|
8
|
+
align?: 'left' | 'center' | 'right';
|
|
9
|
+
sortable?: boolean;
|
|
10
|
+
/** Custom sort function. Return > 0 if a > b. */
|
|
11
|
+
sorter?: (a: unknown, b: unknown) => number;
|
|
12
|
+
filterable?: boolean;
|
|
13
|
+
filters?: {
|
|
14
|
+
text: string;
|
|
15
|
+
value: unknown;
|
|
16
|
+
}[];
|
|
17
|
+
/** Custom filter function. Return true to keep the row. */
|
|
18
|
+
filter?: (rowValue: unknown, filterValue: unknown) => boolean;
|
|
19
|
+
}
|
|
20
|
+
export type SortDirection = 'ascend' | 'descend' | null;
|
|
21
|
+
export interface SortState {
|
|
22
|
+
key: string;
|
|
23
|
+
direction: SortDirection;
|
|
24
|
+
}
|
|
25
|
+
export type SelectionMode = 'single' | 'multiple';
|
|
26
|
+
export interface UseTableOptions {
|
|
27
|
+
data: Ref<Record<string, unknown>[]> | ComputedRef<Record<string, unknown>[]>;
|
|
28
|
+
columns: Ref<TableColumn[]> | ComputedRef<TableColumn[]>;
|
|
29
|
+
rowKey?: Ref<string> | ComputedRef<string>;
|
|
30
|
+
selectable?: Ref<boolean | SelectionMode>;
|
|
31
|
+
selectedKeys?: Ref<string[]>;
|
|
32
|
+
pagination?: {
|
|
33
|
+
enabled: Ref<boolean>;
|
|
34
|
+
pageSize: Ref<number>;
|
|
35
|
+
currentPage: Ref<number>;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export interface UseTableReturn {
|
|
39
|
+
/** Columns resolved with defaults */
|
|
40
|
+
resolvedColumns: ComputedRef<TableColumn[]>;
|
|
41
|
+
/** Display data after sort/filter/page */
|
|
42
|
+
displayData: ComputedRef<Record<string, unknown>[]>;
|
|
43
|
+
/** Total count after filter (before pagination) */
|
|
44
|
+
filteredTotal: ComputedRef<number>;
|
|
45
|
+
/** Current sort state */
|
|
46
|
+
sortState: Ref<SortState>;
|
|
47
|
+
/** Active filter values per column key */
|
|
48
|
+
filterState: Ref<Record<string, unknown[]>>;
|
|
49
|
+
/** Toggle sort for a column */
|
|
50
|
+
toggleSort: (key: string) => void;
|
|
51
|
+
/** Set sort explicitly */
|
|
52
|
+
setSort: (key: string, direction: SortDirection) => void;
|
|
53
|
+
/** Apply filters for a column */
|
|
54
|
+
setFilter: (key: string, values: unknown[]) => void;
|
|
55
|
+
/** Clear all filters */
|
|
56
|
+
clearFilters: () => void;
|
|
57
|
+
/** Whether row is selected */
|
|
58
|
+
isSelected: (rowKeyValue: string) => boolean;
|
|
59
|
+
/** Toggle row selection */
|
|
60
|
+
toggleSelect: (rowKeyValue: string) => void;
|
|
61
|
+
/** Select all visible rows */
|
|
62
|
+
selectAll: () => void;
|
|
63
|
+
/** Clear selection */
|
|
64
|
+
clearSelection: () => void;
|
|
65
|
+
/** Selected row keys */
|
|
66
|
+
selectedKeys: Ref<string[]>;
|
|
67
|
+
/** All row keys */
|
|
68
|
+
allKeys: ComputedRef<string[]>;
|
|
69
|
+
/** Whether all visible rows are selected */
|
|
70
|
+
isAllSelected: ComputedRef<boolean>;
|
|
71
|
+
/** Whether some (but not all) visible rows are selected */
|
|
72
|
+
isIndeterminate: ComputedRef<boolean>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Headless table — encapsulates sort, filter, selection, and pagination logic.
|
|
76
|
+
* Use with your own UI rendering.
|
|
77
|
+
*/
|
|
78
|
+
export declare function useTable(opts: UseTableOptions): UseTableReturn;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { ref as h, computed as i } from "vue";
|
|
2
|
+
function B(u, s) {
|
|
3
|
+
return u == null && s == null ? 0 : u == null ? -1 : s == null ? 1 : typeof u == "number" && typeof s == "number" ? u - s : String(u).localeCompare(String(s));
|
|
4
|
+
}
|
|
5
|
+
function I(u, s) {
|
|
6
|
+
const o = u[s];
|
|
7
|
+
return o != null ? String(o) : "";
|
|
8
|
+
}
|
|
9
|
+
function q(u) {
|
|
10
|
+
const { data: s, columns: o } = u, F = u.rowKey ?? { value: "key" }, d = u.selectable ?? { value: !1 }, r = u.selectedKeys ?? h([]), c = h({ key: "", direction: null }), g = h({}), w = i(
|
|
11
|
+
() => o.value.map((e) => ({
|
|
12
|
+
align: "left",
|
|
13
|
+
...e
|
|
14
|
+
}))
|
|
15
|
+
), k = i(() => {
|
|
16
|
+
const e = [...s.value], { key: t, direction: l } = c.value;
|
|
17
|
+
if (!t || !l) return e;
|
|
18
|
+
const n = o.value.find((a) => a.key === t);
|
|
19
|
+
return n != null && n.sortable && e.sort((a, S) => {
|
|
20
|
+
const y = a[t], p = S[t], v = n.sorter ? n.sorter(y, p) : B(y, p);
|
|
21
|
+
return l === "ascend" ? v : -v;
|
|
22
|
+
}), e;
|
|
23
|
+
}), m = i(() => {
|
|
24
|
+
const e = g.value, t = Object.keys(e).filter((l) => {
|
|
25
|
+
var n;
|
|
26
|
+
return ((n = e[l]) == null ? void 0 : n.length) > 0;
|
|
27
|
+
});
|
|
28
|
+
return t.length === 0 ? k.value : k.value.filter((l) => {
|
|
29
|
+
for (const n of t) {
|
|
30
|
+
const a = o.value.find((v) => v.key === n);
|
|
31
|
+
if (!(a != null && a.filterable)) continue;
|
|
32
|
+
const S = l[n], y = e[n];
|
|
33
|
+
if (!(a.filter ? y.some((v) => a.filter(S, v)) : y.includes(S))) return !1;
|
|
34
|
+
}
|
|
35
|
+
return !0;
|
|
36
|
+
});
|
|
37
|
+
}), x = i(() => m.value.length), b = i(() => {
|
|
38
|
+
const e = u.pagination;
|
|
39
|
+
if (!e || !e.enabled.value) return m.value;
|
|
40
|
+
const t = (e.currentPage.value - 1) * e.pageSize.value;
|
|
41
|
+
return m.value.slice(t, t + e.pageSize.value);
|
|
42
|
+
});
|
|
43
|
+
function D(e) {
|
|
44
|
+
const t = c.value;
|
|
45
|
+
t.key !== e ? c.value = { key: e, direction: "ascend" } : t.direction === "ascend" ? c.value = { key: e, direction: "descend" } : c.value = { key: "", direction: null };
|
|
46
|
+
}
|
|
47
|
+
function z(e, t) {
|
|
48
|
+
c.value = { key: e, direction: t };
|
|
49
|
+
}
|
|
50
|
+
function A(e, t) {
|
|
51
|
+
t.length === 0 ? delete g.value[e] : g.value[e] = t;
|
|
52
|
+
}
|
|
53
|
+
function C() {
|
|
54
|
+
g.value = {};
|
|
55
|
+
}
|
|
56
|
+
const f = i(
|
|
57
|
+
() => b.value.map((e) => I(e, F.value)).filter(Boolean)
|
|
58
|
+
);
|
|
59
|
+
function O(e) {
|
|
60
|
+
return d.value ? r.value.includes(e) : !1;
|
|
61
|
+
}
|
|
62
|
+
function R(e) {
|
|
63
|
+
if (!d.value) return;
|
|
64
|
+
const t = d.value === !0 ? "multiple" : d.value, l = r.value, n = l.indexOf(e);
|
|
65
|
+
t === "single" ? r.value = n >= 0 ? [] : [e] : n >= 0 ? l.splice(n, 1) : l.push(e);
|
|
66
|
+
}
|
|
67
|
+
function T() {
|
|
68
|
+
if (!d.value) return;
|
|
69
|
+
const e = f.value;
|
|
70
|
+
if (e.every((l) => r.value.includes(l)))
|
|
71
|
+
r.value = r.value.filter((l) => !e.includes(l));
|
|
72
|
+
else {
|
|
73
|
+
const l = /* @__PURE__ */ new Set([...r.value, ...e]);
|
|
74
|
+
r.value = [...l];
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
function V() {
|
|
78
|
+
r.value = [];
|
|
79
|
+
}
|
|
80
|
+
const K = i(() => f.value.length === 0 ? !1 : f.value.every((e) => r.value.includes(e))), j = i(() => f.value.length === 0 ? !1 : f.value.some((t) => r.value.includes(t)) && !K.value);
|
|
81
|
+
return {
|
|
82
|
+
resolvedColumns: w,
|
|
83
|
+
displayData: b,
|
|
84
|
+
filteredTotal: x,
|
|
85
|
+
sortState: c,
|
|
86
|
+
filterState: g,
|
|
87
|
+
toggleSort: D,
|
|
88
|
+
setSort: z,
|
|
89
|
+
setFilter: A,
|
|
90
|
+
clearFilters: C,
|
|
91
|
+
isSelected: O,
|
|
92
|
+
toggleSelect: R,
|
|
93
|
+
selectAll: T,
|
|
94
|
+
clearSelection: V,
|
|
95
|
+
selectedKeys: r,
|
|
96
|
+
allKeys: f,
|
|
97
|
+
isAllSelected: K,
|
|
98
|
+
isIndeterminate: j
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
export {
|
|
102
|
+
q as useTable
|
|
103
|
+
};
|