@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,56 @@
|
|
|
1
|
+
import { Theme } from '../../composables/useTheme';
|
|
2
|
+
|
|
3
|
+
export interface ThemeProviderProps {
|
|
4
|
+
/** Default theme mode */
|
|
5
|
+
defaultTheme?: Theme;
|
|
6
|
+
/** localStorage key for theme persistence */
|
|
7
|
+
storageKey?: string;
|
|
8
|
+
/** Whether to follow system preference when theme is 'auto' */
|
|
9
|
+
followSystem?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
default?(_: {
|
|
13
|
+
theme: import('vue').Ref<Theme, Theme>;
|
|
14
|
+
currentTheme: import('vue').Ref<"light" | "dark", "light" | "dark">;
|
|
15
|
+
isDark: import('vue').Ref<boolean, boolean>;
|
|
16
|
+
setTheme: (theme: Theme) => void;
|
|
17
|
+
toggleTheme: () => void;
|
|
18
|
+
}): any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ThemeProviderProps>, {
|
|
21
|
+
defaultTheme: string;
|
|
22
|
+
storageKey: string;
|
|
23
|
+
followSystem: boolean;
|
|
24
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ThemeProviderProps>, {
|
|
25
|
+
defaultTheme: string;
|
|
26
|
+
storageKey: string;
|
|
27
|
+
followSystem: boolean;
|
|
28
|
+
}>>> & Readonly<{}>, {
|
|
29
|
+
defaultTheme: Theme;
|
|
30
|
+
storageKey: string;
|
|
31
|
+
followSystem: boolean;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('vue').PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
type __VLS_WithDefaults<P, D> = {
|
|
45
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
+
default: D[K];
|
|
47
|
+
}> : P[K];
|
|
48
|
+
};
|
|
49
|
+
type __VLS_Prettify<T> = {
|
|
50
|
+
[K in keyof T]: T[K];
|
|
51
|
+
} & {};
|
|
52
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export { default as NeumorphismButton } from './NeumorphismButton';
|
|
2
|
+
export type { NeumorphismButtonProps, ButtonVariant, ButtonSize, ButtonShape, } from './NeumorphismButton';
|
|
3
|
+
export { default as NeumorphismSwitch } from './NeumorphismSwitch';
|
|
4
|
+
export type { NeumorphismSwitchProps } from './NeumorphismSwitch';
|
|
5
|
+
export { default as NeumorphismCard } from './NeumorphismCard';
|
|
6
|
+
export type { NeumorphismCardProps, CardVariant, CardDepth } from './NeumorphismCard';
|
|
7
|
+
export { default as NeumorphismInput } from './NeumorphismInput';
|
|
8
|
+
export type { NeumorphismInputProps, InputSize } from './NeumorphismInput';
|
|
9
|
+
export { default as ThemeProvider } from './ThemeProvider';
|
|
10
|
+
export type { ThemeProviderProps } from './ThemeProvider';
|
|
11
|
+
export { default as NeumorphismCheckbox } from './NeumorphismCheckbox';
|
|
12
|
+
export type { NeumorphismCheckboxProps } from './NeumorphismCheckbox';
|
|
13
|
+
export { default as NeumorphismDatePicker } from './NeumorphismDatePicker';
|
|
14
|
+
export type { NeumorphismDatePickerProps } from './NeumorphismDatePicker';
|
|
15
|
+
export { default as NeumorphismSelect } from './NeumorphismSelect';
|
|
16
|
+
export type { NeumorphismSelectProps, NeumorphismSelectOption } from './NeumorphismSelect';
|
|
17
|
+
export { default as NeumorphismTextarea } from './NeumorphismTextarea';
|
|
18
|
+
export type { NeumorphismTextareaProps } from './NeumorphismTextarea';
|
|
19
|
+
export { NeumorphismFieldLabel, NeumorphismFieldError } from './NeumorphismField';
|
|
20
|
+
export { default as NeumorphismModal } from './NeumorphismModal';
|
|
21
|
+
export type { NeumorphismModalProps } from './NeumorphismModal';
|
|
22
|
+
export { default as NeumorphismToastProvider } from './NeumorphismToast';
|
|
23
|
+
export type { NeumorphismToastProviderProps, ToastOptions, ToastType, ToastPosition, ToastItem, } from './NeumorphismToast';
|
|
24
|
+
export { default as NeumorphismTooltip } from './NeumorphismTooltip';
|
|
25
|
+
export type { NeumorphismTooltipProps, TooltipPosition, TooltipTrigger } from './NeumorphismTooltip';
|
|
26
|
+
export { default as NeumorphismAlert } from './NeumorphismAlert';
|
|
27
|
+
export type { NeumorphismAlertProps, AlertType } from './NeumorphismAlert';
|
|
28
|
+
export { default as NeumorphismPopover } from './NeumorphismPopover';
|
|
29
|
+
export type { NeumorphismPopoverProps, PopoverPosition, PopoverTrigger } from './NeumorphismPopover';
|
|
30
|
+
export { default as NeumorphismDropdown } from './NeumorphismDropdown';
|
|
31
|
+
export type { NeumorphismDropdownProps, DropdownItem } from './NeumorphismDropdown';
|
|
32
|
+
export { default as NeumorphismAutoComplete } from './NeumorphismAutoComplete';
|
|
33
|
+
export type { NeumorphismAutoCompleteProps, NeumorphismAutoCompleteOption, } from './NeumorphismAutoComplete';
|
|
34
|
+
export { default as NeumorphismEmpty } from './NeumorphismEmpty';
|
|
35
|
+
export type { NeumorphismEmptyProps } from './NeumorphismEmpty';
|
|
36
|
+
export { default as NeumorphismMenu } from './NeumorphismMenu';
|
|
37
|
+
export type { NeumorphismMenuProps } from './NeumorphismMenu';
|
|
38
|
+
export { default as NeumorphismNavMenu } from './NeumorphismNavMenu';
|
|
39
|
+
export type { NeumorphismNavMenuProps } from './NeumorphismNavMenu';
|
|
40
|
+
export { default as NeumorphismTabs } from './NeumorphismTabs';
|
|
41
|
+
export type { NeumorphismTabsProps, TabItem } from './NeumorphismTabs';
|
|
42
|
+
export { default as NeumorphismBreadcrumb } from './NeumorphismBreadcrumb';
|
|
43
|
+
export type { NeumorphismBreadcrumbProps, BreadcrumbItem } from './NeumorphismBreadcrumb';
|
|
44
|
+
export { default as NeumorphismPagination } from './NeumorphismPagination';
|
|
45
|
+
export type { NeumorphismPaginationProps } from './NeumorphismPagination';
|
|
46
|
+
export { default as NeumorphismAvatar } from './NeumorphismAvatar';
|
|
47
|
+
export type { NeumorphismAvatarProps, AvatarSize } from './NeumorphismAvatar';
|
|
48
|
+
export { default as NeumorphismBadge } from './NeumorphismBadge';
|
|
49
|
+
export type { NeumorphismBadgeProps } from './NeumorphismBadge';
|
|
50
|
+
export { default as NeumorphismTag } from './NeumorphismTag';
|
|
51
|
+
export type { NeumorphismTagProps, TagVariant } from './NeumorphismTag';
|
|
52
|
+
export { default as NeumorphismProgress } from './NeumorphismProgress';
|
|
53
|
+
export type { NeumorphismProgressProps, ProgressVariant } from './NeumorphismProgress';
|
|
54
|
+
export { default as NeumorphismSkeleton } from './NeumorphismSkeleton';
|
|
55
|
+
export type { NeumorphismSkeletonProps } from './NeumorphismSkeleton';
|
|
56
|
+
export { default as NeumorphismTable } from './NeumorphismTable';
|
|
57
|
+
export type { NeumorphismTableProps, TableColumn } from './NeumorphismTable';
|
|
58
|
+
export { default as NeumorphismVirtualList } from './NeumorphismVirtualList';
|
|
59
|
+
export type { NeumorphismVirtualListProps } from './NeumorphismVirtualList';
|
|
60
|
+
export { default as NeumorphismList } from './NeumorphismList';
|
|
61
|
+
export type { NeumorphismListProps } from './NeumorphismList';
|
|
62
|
+
export { default as NeumorphismDrawer } from './NeumorphismDrawer';
|
|
63
|
+
export type { NeumorphismDrawerProps } from './NeumorphismDrawer';
|
|
64
|
+
export { default as NeumorphismDivider } from './NeumorphismDivider';
|
|
65
|
+
export type { NeumorphismDividerProps, DividerDirection, DividerAlign } from './NeumorphismDivider';
|
|
66
|
+
export { default as NeumorphismCollapse } from './NeumorphismCollapse';
|
|
67
|
+
export type { NeumorphismCollapseProps, CollapseItem } from './NeumorphismCollapse';
|
|
68
|
+
export { default as NeumorphismContainer } from './NeumorphismContainer';
|
|
69
|
+
export type { NeumorphismContainerProps } from './NeumorphismContainer';
|
|
70
|
+
export { NeumorphismRow, NeumorphismCol } from './NeumorphismGrid';
|
|
71
|
+
export type { NeumorphismRowProps, RowAlign, RowJustify } from './NeumorphismGrid';
|
|
72
|
+
export type { NeumorphismColProps, ColSpan, ColOffset } from './NeumorphismGrid';
|
|
73
|
+
export { default as NeumorphismLayout } from './NeumorphismLayout';
|
|
74
|
+
export type { NeumorphismLayoutProps } from './NeumorphismLayout';
|
|
75
|
+
export { default as NeumorphismThemeToggle } from './NeumorphismThemeToggle';
|
|
76
|
+
export type { NeumorphismThemeToggleProps } from './NeumorphismThemeToggle';
|
|
77
|
+
export { NeumorphismTree, NeumorphismTreeNode } from './NeumorphismTree';
|
|
78
|
+
export type { NeumorphismTreeProps, NeumorphismTreeNodeProps, TreeNodeData, } from './NeumorphismTree';
|
|
79
|
+
export { default as NeumorphismCanvas } from './NeumorphismCanvas';
|
|
80
|
+
export type { NeumorphismCanvasProps } from './NeumorphismCanvas';
|
|
81
|
+
export { NeumorphismRadio, NeumorphismRadioGroup } from './NeumorphismRadio';
|
|
82
|
+
export type { NeumorphismRadioProps, NeumorphismRadioGroupProps } from './NeumorphismRadio';
|
|
83
|
+
export { default as NeumorphismSlider } from './NeumorphismSlider';
|
|
84
|
+
export type { NeumorphismSliderProps } from './NeumorphismSlider';
|
|
85
|
+
export { default as NeumorphismInputNumber } from './NeumorphismInputNumber';
|
|
86
|
+
export type { NeumorphismInputNumberProps } from './NeumorphismInputNumber';
|
|
87
|
+
export { default as NeumorphismSteps } from './NeumorphismSteps';
|
|
88
|
+
export type { NeumorphismStepsProps, StepItem, StepStatus } from './NeumorphismSteps';
|
|
89
|
+
export { NeumorphismForm, NeumorphismFormItem } from './NeumorphismForm';
|
|
90
|
+
export type { NeumorphismFormProps, NeumorphismFormItemProps, FormRule } from './NeumorphismForm';
|
|
91
|
+
export { default as NeumorphismUpload } from './NeumorphismUpload';
|
|
92
|
+
export type { NeumorphismUploadProps, UploadFile, UploadStatus } from './NeumorphismUpload';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import { FormRule } from './useFormValidation';
|
|
3
|
+
|
|
4
|
+
export interface RadioGroupContext {
|
|
5
|
+
modelValue: Ref<unknown>;
|
|
6
|
+
name: Ref<string>;
|
|
7
|
+
disabled: Ref<boolean>;
|
|
8
|
+
size: Ref<string>;
|
|
9
|
+
setValue: (val: unknown) => void;
|
|
10
|
+
}
|
|
11
|
+
export interface FormContext {
|
|
12
|
+
model: Record<string, unknown>;
|
|
13
|
+
rules: Record<string, FormRule[]>;
|
|
14
|
+
errors: Record<string, string>;
|
|
15
|
+
labelWidth?: string;
|
|
16
|
+
size?: string;
|
|
17
|
+
validateField: (name: string) => boolean;
|
|
18
|
+
registerField: (name: string, validateFn: (value: unknown) => boolean) => void;
|
|
19
|
+
unregisterField: (name: string) => void;
|
|
20
|
+
}
|
|
21
|
+
export interface RowGutterContext {
|
|
22
|
+
x: Ref<number>;
|
|
23
|
+
y: Ref<number>;
|
|
24
|
+
}
|
|
25
|
+
export declare const RadioGroupKey: InjectionKey<RadioGroupContext>;
|
|
26
|
+
export declare const FormKey: InjectionKey<FormContext>;
|
|
27
|
+
export declare const RowGutterKey: InjectionKey<RowGutterContext>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export type AlertType = 'info' | 'success' | 'warning' | 'error';
|
|
4
|
+
export interface UseAlertOptions {
|
|
5
|
+
/**
|
|
6
|
+
* Auto-dismiss duration in milliseconds.
|
|
7
|
+
* 0 (default) means the alert must be closed manually.
|
|
8
|
+
*/
|
|
9
|
+
duration?: number;
|
|
10
|
+
}
|
|
11
|
+
export interface UseAlertReturn {
|
|
12
|
+
/** Whether the alert is currently visible */
|
|
13
|
+
isVisible: Ref<boolean>;
|
|
14
|
+
/** Close the alert (triggers leave animation then hides) */
|
|
15
|
+
close: () => void;
|
|
16
|
+
/** Whether the alert is in its leave/dismiss animation phase */
|
|
17
|
+
leaving: Ref<boolean>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Headless alert — encapsulates visibility state, auto-dismiss timer,
|
|
21
|
+
* and dismiss-animation lifecycle. Use with your own UI rendering.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const { isVisible, close, leaving } = useAlert({ duration: 5000 })
|
|
26
|
+
* // When duration expires or close() is called, `leaving` flips to true,
|
|
27
|
+
* // the component runs its leave transition, then `isVisible` goes false.
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare function useAlert(opts?: UseAlertOptions): UseAlertReturn;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ref as o, onBeforeUnmount as a } from "vue";
|
|
2
|
+
function m(s = {}) {
|
|
3
|
+
const { duration: i = 0 } = s, t = o(!0), l = o(!1);
|
|
4
|
+
let u = null, e = null;
|
|
5
|
+
function n() {
|
|
6
|
+
u && (clearTimeout(u), u = null), e && (clearTimeout(e), e = null);
|
|
7
|
+
}
|
|
8
|
+
function r() {
|
|
9
|
+
l.value || !t.value || (n(), l.value = !0, e = setTimeout(() => {
|
|
10
|
+
t.value = !1, l.value = !1, e = null;
|
|
11
|
+
}, 250));
|
|
12
|
+
}
|
|
13
|
+
return i > 0 && (u = setTimeout(() => {
|
|
14
|
+
r();
|
|
15
|
+
}, i)), a(() => {
|
|
16
|
+
n();
|
|
17
|
+
}), {
|
|
18
|
+
isVisible: t,
|
|
19
|
+
close: r,
|
|
20
|
+
leaving: l
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
m as useAlert
|
|
25
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface AutoCompleteOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string | number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface UseAutoCompleteOptions {
|
|
9
|
+
/** v-model value (the selected option's value) */
|
|
10
|
+
modelValue: Ref<string | number | undefined>;
|
|
11
|
+
/** Available options for local filtering */
|
|
12
|
+
options?: Ref<AutoCompleteOption[]>;
|
|
13
|
+
/** Async search function — when provided, filtering is server-side */
|
|
14
|
+
searchFn?: (query: string) => Promise<AutoCompleteOption[]>;
|
|
15
|
+
/** External loading ref (shared between composable and component) */
|
|
16
|
+
loading?: Ref<boolean>;
|
|
17
|
+
/** Debounce delay in ms for async search (default 300) */
|
|
18
|
+
debounceMs?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface UseAutoCompleteReturn {
|
|
21
|
+
/** Current text in the input field */
|
|
22
|
+
inputValue: Ref<string>;
|
|
23
|
+
/** Whether the dropdown is open */
|
|
24
|
+
isOpen: Ref<boolean>;
|
|
25
|
+
/** Filtered options to display in the dropdown */
|
|
26
|
+
filteredOptions: ComputedRef<AutoCompleteOption[]>;
|
|
27
|
+
/** Index of the keyboard-navigated (active) option, -1 if none */
|
|
28
|
+
activeIndex: Ref<number>;
|
|
29
|
+
/** Generate an HTML string with matching portions wrapped in <mark> tags */
|
|
30
|
+
highlightMatch: (label: string) => string;
|
|
31
|
+
/** Select an option — sets modelValue, updates inputValue, closes dropdown */
|
|
32
|
+
selectOption: (option: AutoCompleteOption) => void;
|
|
33
|
+
/** Handle keyboard events for navigation */
|
|
34
|
+
handleKeydown: (event: KeyboardEvent) => void;
|
|
35
|
+
/** Handle input value changes */
|
|
36
|
+
handleInput: (value: string) => void;
|
|
37
|
+
/** Open the dropdown */
|
|
38
|
+
open: () => void;
|
|
39
|
+
/** Close the dropdown */
|
|
40
|
+
close: () => void;
|
|
41
|
+
/** Clean up internal timers (call in onBeforeUnmount) */
|
|
42
|
+
cleanupTimers: () => void;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Headless autocomplete — encapsulates filtering, keyboard navigation,
|
|
46
|
+
* async search with debounce, match highlighting, and open/close logic.
|
|
47
|
+
*
|
|
48
|
+
* Use with your own UI rendering (e.g., NeumorphismAutoComplete).
|
|
49
|
+
*/
|
|
50
|
+
export declare function useAutoComplete(opts: UseAutoCompleteOptions): UseAutoCompleteReturn;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { ref as f, computed as L, watch as C } from "vue";
|
|
2
|
+
function m(d) {
|
|
3
|
+
return d.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
4
|
+
}
|
|
5
|
+
function _(d) {
|
|
6
|
+
const { modelValue: k, options: g, searchFn: i, loading: n, debounceMs: D = 300 } = d, r = f(""), u = f(!1), t = f(-1), v = f([]), w = f(!1);
|
|
7
|
+
let s = null;
|
|
8
|
+
function T() {
|
|
9
|
+
s && (clearTimeout(s), s = null);
|
|
10
|
+
}
|
|
11
|
+
const p = L(() => i ? v.value : (g == null ? void 0 : g.value) ?? []), y = L(() => {
|
|
12
|
+
const e = r.value.trim().toLowerCase();
|
|
13
|
+
return i || !e ? p.value : p.value.filter((l) => l.label.toLowerCase().includes(e));
|
|
14
|
+
});
|
|
15
|
+
function x(e) {
|
|
16
|
+
const l = r.value.trim();
|
|
17
|
+
if (!l) return m(e);
|
|
18
|
+
const a = e.toLowerCase(), b = l.toLowerCase();
|
|
19
|
+
let h = "", c = 0;
|
|
20
|
+
for (; c < e.length; ) {
|
|
21
|
+
const o = a.indexOf(b, c);
|
|
22
|
+
if (o === -1) {
|
|
23
|
+
h += m(e.slice(c));
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
h += m(e.slice(c, o)), h += '<mark class="nm-autocomplete__mark">' + m(e.slice(o, o + l.length)) + "</mark>", c = o + l.length;
|
|
27
|
+
}
|
|
28
|
+
return h;
|
|
29
|
+
}
|
|
30
|
+
function A(e) {
|
|
31
|
+
if (!i) return;
|
|
32
|
+
s && clearTimeout(s);
|
|
33
|
+
const l = e.trim();
|
|
34
|
+
if (!l) {
|
|
35
|
+
v.value = [], w.value = !1, n && (n.value = !1);
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
w.value = !0, n && (n.value = !0), s = setTimeout(async () => {
|
|
39
|
+
try {
|
|
40
|
+
const a = await i(l);
|
|
41
|
+
v.value = a;
|
|
42
|
+
} catch {
|
|
43
|
+
v.value = [];
|
|
44
|
+
} finally {
|
|
45
|
+
w.value = !1, n && (n.value = !1);
|
|
46
|
+
}
|
|
47
|
+
}, D);
|
|
48
|
+
}
|
|
49
|
+
C(
|
|
50
|
+
k,
|
|
51
|
+
(e) => {
|
|
52
|
+
if (e === void 0 || e === "" || e === null)
|
|
53
|
+
return;
|
|
54
|
+
const a = p.value.find((b) => b.value === e);
|
|
55
|
+
a && a.label !== r.value && (r.value = a.label);
|
|
56
|
+
},
|
|
57
|
+
{ flush: "sync" }
|
|
58
|
+
), C(y, () => {
|
|
59
|
+
t.value = -1;
|
|
60
|
+
});
|
|
61
|
+
function q() {
|
|
62
|
+
u.value = !0;
|
|
63
|
+
}
|
|
64
|
+
function E() {
|
|
65
|
+
u.value = !1, t.value = -1;
|
|
66
|
+
}
|
|
67
|
+
function O(e) {
|
|
68
|
+
e.disabled || (k.value = e.value, r.value = e.label, u.value = !1, t.value = -1);
|
|
69
|
+
}
|
|
70
|
+
function I(e) {
|
|
71
|
+
r.value = e, t.value = -1, i && A(e), u.value || (u.value = !0);
|
|
72
|
+
}
|
|
73
|
+
function M(e) {
|
|
74
|
+
const l = y.value.filter((a) => !a.disabled);
|
|
75
|
+
switch (e.key) {
|
|
76
|
+
case "ArrowDown":
|
|
77
|
+
if (e.preventDefault(), !u.value) {
|
|
78
|
+
u.value = !0;
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
if (l.length === 0) return;
|
|
82
|
+
t.value = t.value + 1 >= l.length ? 0 : t.value + 1;
|
|
83
|
+
break;
|
|
84
|
+
case "ArrowUp":
|
|
85
|
+
if (e.preventDefault(), !u.value) {
|
|
86
|
+
u.value = !0;
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
if (l.length === 0) return;
|
|
90
|
+
t.value = t.value - 1 < 0 ? l.length - 1 : t.value - 1;
|
|
91
|
+
break;
|
|
92
|
+
case "Enter":
|
|
93
|
+
if (!u.value || l.length === 0) return;
|
|
94
|
+
e.preventDefault(), t.value >= 0 && t.value < l.length && O(l[t.value]);
|
|
95
|
+
break;
|
|
96
|
+
case "Escape":
|
|
97
|
+
e.preventDefault(), u.value = !1, t.value = -1;
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return {
|
|
102
|
+
inputValue: r,
|
|
103
|
+
isOpen: u,
|
|
104
|
+
filteredOptions: y,
|
|
105
|
+
activeIndex: t,
|
|
106
|
+
highlightMatch: x,
|
|
107
|
+
selectOption: O,
|
|
108
|
+
handleKeydown: M,
|
|
109
|
+
handleInput: I,
|
|
110
|
+
open: q,
|
|
111
|
+
close: E,
|
|
112
|
+
// Expose cleanup for lifecycle integration
|
|
113
|
+
cleanupTimers: T
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
export {
|
|
117
|
+
_ as useAutoComplete
|
|
118
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface UseCheckableOptions {
|
|
2
|
+
prefix: 'checkbox' | 'radio';
|
|
3
|
+
isChecked: boolean;
|
|
4
|
+
isDisabled: boolean;
|
|
5
|
+
size: 'small' | 'medium' | 'large';
|
|
6
|
+
/** 额外类名(如 indeterminate) */
|
|
7
|
+
extraClasses?: Record<string, boolean>;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Checkbox/Radio 共享切换逻辑
|
|
11
|
+
*/
|
|
12
|
+
export declare function useCheckable(options: () => UseCheckableOptions): {
|
|
13
|
+
inputId: string;
|
|
14
|
+
classList: import('vue').ComputedRef<(string | {
|
|
15
|
+
[x: string]: boolean;
|
|
16
|
+
})[]>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { computed as a } from "vue";
|
|
2
|
+
import { generateId as n } from "../utils/index.js";
|
|
3
|
+
function c(i) {
|
|
4
|
+
const e = a(i), s = i(), t = n(`nm-${s.prefix}`), l = a(() => [
|
|
5
|
+
`nm-${e.value.prefix}`,
|
|
6
|
+
`nm-${e.value.prefix}--${e.value.size}`,
|
|
7
|
+
{
|
|
8
|
+
[`nm-${e.value.prefix}--checked`]: e.value.isChecked,
|
|
9
|
+
[`nm-${e.value.prefix}--disabled`]: e.value.isDisabled,
|
|
10
|
+
...e.value.extraClasses
|
|
11
|
+
}
|
|
12
|
+
]);
|
|
13
|
+
return { inputId: t, classList: l };
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
c as useCheckable
|
|
17
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface CollapseItem {
|
|
4
|
+
key: string;
|
|
5
|
+
title: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface UseCollapseOptions {
|
|
9
|
+
/** v-model active keys */
|
|
10
|
+
modelValue: Ref<string[]>;
|
|
11
|
+
/** Collapse items */
|
|
12
|
+
items: Ref<CollapseItem[]>;
|
|
13
|
+
/** Whether accordion mode (only one panel open at a time) */
|
|
14
|
+
accordion?: Ref<boolean>;
|
|
15
|
+
}
|
|
16
|
+
export interface UseCollapseReturn {
|
|
17
|
+
/** Toggle a panel by key */
|
|
18
|
+
toggle: (key: string) => void;
|
|
19
|
+
/** Check if a panel is active */
|
|
20
|
+
isActive: (key: string) => boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Headless collapse/accordion — encapsulates panel toggle logic.
|
|
24
|
+
* Use with your own UI rendering.
|
|
25
|
+
*/
|
|
26
|
+
export declare function useCollapse(opts: UseCollapseOptions): UseCollapseReturn;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
function f(s) {
|
|
2
|
+
const { modelValue: n, items: c } = s, l = s.accordion;
|
|
3
|
+
function o(e) {
|
|
4
|
+
const i = c.value.find((r) => r.key === e);
|
|
5
|
+
if (i != null && i.disabled) return;
|
|
6
|
+
const u = [...n.value], t = u.indexOf(e);
|
|
7
|
+
if (t >= 0)
|
|
8
|
+
u.splice(t, 1);
|
|
9
|
+
else {
|
|
10
|
+
if (l != null && l.value) {
|
|
11
|
+
n.value = [e];
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
u.push(e);
|
|
15
|
+
}
|
|
16
|
+
n.value = u;
|
|
17
|
+
}
|
|
18
|
+
function a(e) {
|
|
19
|
+
return n.value.includes(e);
|
|
20
|
+
}
|
|
21
|
+
return { toggle: o, isActive: a };
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
f as useCollapse
|
|
25
|
+
};
|