@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,20 @@
|
|
|
1
|
+
import { defineComponent as r, openBlock as o, createElementBlock as t, toDisplayString as s, createCommentVNode as m } from "vue";
|
|
2
|
+
import { _ as i } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
import '../NeumorphismFieldError.css';const a = ["id"], n = /* @__PURE__ */ r({
|
|
4
|
+
__name: "NeumorphismFieldError",
|
|
5
|
+
props: {
|
|
6
|
+
id: {},
|
|
7
|
+
message: {}
|
|
8
|
+
},
|
|
9
|
+
setup(e) {
|
|
10
|
+
return (c, d) => e.message ? (o(), t("div", {
|
|
11
|
+
key: 0,
|
|
12
|
+
id: e.id,
|
|
13
|
+
class: "nm-field__error",
|
|
14
|
+
role: "alert"
|
|
15
|
+
}, s(e.message), 9, a)) : m("", !0);
|
|
16
|
+
}
|
|
17
|
+
}), p = /* @__PURE__ */ i(n, [["__scopeId", "data-v-fade598e"]]);
|
|
18
|
+
export {
|
|
19
|
+
p as N
|
|
20
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as a, openBlock as o, createElementBlock as t, createTextVNode as l, toDisplayString as n, createCommentVNode as r } from "vue";
|
|
2
|
+
import { _ as s } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
import '../NeumorphismFieldLabel.css';const c = ["for"], i = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "nm-field__required"
|
|
6
|
+
}, d = /* @__PURE__ */ a({
|
|
7
|
+
__name: "NeumorphismFieldLabel",
|
|
8
|
+
props: {
|
|
9
|
+
label: {},
|
|
10
|
+
required: { type: Boolean },
|
|
11
|
+
forId: {}
|
|
12
|
+
},
|
|
13
|
+
setup(e) {
|
|
14
|
+
return (m, _) => e.label ? (o(), t("label", {
|
|
15
|
+
key: 0,
|
|
16
|
+
for: e.forId,
|
|
17
|
+
class: "nm-field__label"
|
|
18
|
+
}, [
|
|
19
|
+
l(n(e.label) + " ", 1),
|
|
20
|
+
e.required ? (o(), t("span", i, "*")) : r("", !0)
|
|
21
|
+
], 8, c)) : r("", !0);
|
|
22
|
+
}
|
|
23
|
+
}), p = /* @__PURE__ */ s(d, [["__scopeId", "data-v-0594a3a1"]]);
|
|
24
|
+
export {
|
|
25
|
+
p as N
|
|
26
|
+
};
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { defineComponent as E, reactive as j, provide as B, onBeforeUnmount as I, computed as _, openBlock as v, createElementBlock as p, normalizeClass as N, renderSlot as S, inject as M, ref as q, onMounted as w, watch as C, normalizeStyle as O, unref as F, createTextVNode as D, toDisplayString as k, createCommentVNode as g, createElementVNode as R } from "vue";
|
|
2
|
+
import { validateFieldValue as V } from "../composables/useFormValidation.js";
|
|
3
|
+
import { FormKey as x } from "../composables/injectionKeys.js";
|
|
4
|
+
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import { generateId as A } from "../utils/index.js";
|
|
6
|
+
import '../NeumorphismFormItem.css';const K = /* @__PURE__ */ E({
|
|
7
|
+
__name: "NeumorphismForm",
|
|
8
|
+
props: {
|
|
9
|
+
model: { default: () => ({}) },
|
|
10
|
+
rules: { default: () => ({}) },
|
|
11
|
+
labelWidth: {},
|
|
12
|
+
size: {},
|
|
13
|
+
direction: { default: "vertical" }
|
|
14
|
+
},
|
|
15
|
+
emits: ["submit", "validate"],
|
|
16
|
+
setup(u, { expose: h, emit: r }) {
|
|
17
|
+
const e = u, d = r, o = j({}), l = /* @__PURE__ */ new Map();
|
|
18
|
+
function c(t) {
|
|
19
|
+
const i = e.rules[t];
|
|
20
|
+
if (i) {
|
|
21
|
+
const $ = e.model[t], y = V($, i);
|
|
22
|
+
if (y)
|
|
23
|
+
return o[t] = y, !1;
|
|
24
|
+
}
|
|
25
|
+
const f = l.get(t);
|
|
26
|
+
if (f) {
|
|
27
|
+
if (!f(e.model[t]))
|
|
28
|
+
return !1;
|
|
29
|
+
} else if (!i)
|
|
30
|
+
return delete o[t], !0;
|
|
31
|
+
return delete o[t], !0;
|
|
32
|
+
}
|
|
33
|
+
function n() {
|
|
34
|
+
let t = !0;
|
|
35
|
+
const i = /* @__PURE__ */ new Set([...Object.keys(e.rules), ...l.keys()]);
|
|
36
|
+
for (const f of i)
|
|
37
|
+
c(f) || (t = !1);
|
|
38
|
+
for (const f of Object.keys(o))
|
|
39
|
+
i.has(f) || delete o[f];
|
|
40
|
+
return d("validate", t), t;
|
|
41
|
+
}
|
|
42
|
+
function b(t, i) {
|
|
43
|
+
l.set(t, i);
|
|
44
|
+
}
|
|
45
|
+
function s(t) {
|
|
46
|
+
l.delete(t), delete o[t];
|
|
47
|
+
}
|
|
48
|
+
function a(t) {
|
|
49
|
+
t.preventDefault(), n() && d("submit", { ...e.model });
|
|
50
|
+
}
|
|
51
|
+
function m() {
|
|
52
|
+
Object.keys(o).forEach((t) => delete o[t]);
|
|
53
|
+
}
|
|
54
|
+
B(x, {
|
|
55
|
+
get model() {
|
|
56
|
+
return e.model;
|
|
57
|
+
},
|
|
58
|
+
get rules() {
|
|
59
|
+
return e.rules;
|
|
60
|
+
},
|
|
61
|
+
errors: o,
|
|
62
|
+
labelWidth: e.labelWidth,
|
|
63
|
+
size: e.size,
|
|
64
|
+
validateField: c,
|
|
65
|
+
registerField: b,
|
|
66
|
+
unregisterField: s
|
|
67
|
+
}), I(() => {
|
|
68
|
+
l.clear();
|
|
69
|
+
});
|
|
70
|
+
const W = _(() => ["nm-form", `nm-form--${e.direction}`]);
|
|
71
|
+
return h({ validateAll: n, validateField: c, clearErrors: m }), (t, i) => (v(), p("form", {
|
|
72
|
+
class: N(W.value),
|
|
73
|
+
novalidate: "",
|
|
74
|
+
onSubmit: a
|
|
75
|
+
}, [
|
|
76
|
+
S(t.$slots, "default", {
|
|
77
|
+
errors: o,
|
|
78
|
+
validateAll: n,
|
|
79
|
+
clearErrors: m
|
|
80
|
+
}, void 0, !0)
|
|
81
|
+
], 34));
|
|
82
|
+
}
|
|
83
|
+
}), Z = /* @__PURE__ */ z(K, [["__scopeId", "data-v-92a05290"]]), L = ["for"], T = {
|
|
84
|
+
key: 0,
|
|
85
|
+
class: "nm-form-item__required"
|
|
86
|
+
}, U = { class: "nm-form-item__content" }, G = {
|
|
87
|
+
key: 1,
|
|
88
|
+
class: "nm-form-item__error",
|
|
89
|
+
role: "alert"
|
|
90
|
+
}, H = /* @__PURE__ */ E({
|
|
91
|
+
__name: "NeumorphismFormItem",
|
|
92
|
+
props: {
|
|
93
|
+
label: {},
|
|
94
|
+
required: { type: Boolean },
|
|
95
|
+
error: {},
|
|
96
|
+
rules: { default: () => [] },
|
|
97
|
+
name: {}
|
|
98
|
+
},
|
|
99
|
+
setup(u, { expose: h }) {
|
|
100
|
+
const r = u, e = M(x, null), d = q(""), o = _(() => r.name ? e == null ? void 0 : e.errors[r.name] : void 0), l = _(() => r.error || o.value || d.value), c = _(() => r.name ? `nm-field-${r.name}` : A("nm-field"));
|
|
101
|
+
function n(s) {
|
|
102
|
+
const a = r.rules;
|
|
103
|
+
if (!a.length) return !0;
|
|
104
|
+
const m = V(s, a);
|
|
105
|
+
return m ? (d.value = m, !1) : (d.value = "", !0);
|
|
106
|
+
}
|
|
107
|
+
function b() {
|
|
108
|
+
d.value = "";
|
|
109
|
+
}
|
|
110
|
+
return w(() => {
|
|
111
|
+
r.name && e && e.registerField(r.name, n);
|
|
112
|
+
}), C(
|
|
113
|
+
() => r.name,
|
|
114
|
+
(s, a) => {
|
|
115
|
+
a && e && e.unregisterField(a), s && e && e.registerField(s, n);
|
|
116
|
+
},
|
|
117
|
+
{ immediate: !0 }
|
|
118
|
+
), I(() => {
|
|
119
|
+
r.name && e && e.unregisterField(r.name);
|
|
120
|
+
}), h({ validate: n, clearError: b, fieldId: c }), (s, a) => {
|
|
121
|
+
var m;
|
|
122
|
+
return v(), p("div", {
|
|
123
|
+
class: N(["nm-form-item", { "nm-form-item--error": !!l.value }])
|
|
124
|
+
}, [
|
|
125
|
+
u.label ? (v(), p("label", {
|
|
126
|
+
key: 0,
|
|
127
|
+
for: u.name ? c.value : void 0,
|
|
128
|
+
class: "nm-form-item__label",
|
|
129
|
+
style: O((m = F(e)) != null && m.labelWidth ? { width: F(e).labelWidth } : void 0)
|
|
130
|
+
}, [
|
|
131
|
+
D(k(u.label) + " ", 1),
|
|
132
|
+
u.required ? (v(), p("span", T, "*")) : g("", !0)
|
|
133
|
+
], 12, L)) : g("", !0),
|
|
134
|
+
R("div", U, [
|
|
135
|
+
S(s.$slots, "default", {
|
|
136
|
+
error: l.value,
|
|
137
|
+
validate: n,
|
|
138
|
+
fieldId: c.value
|
|
139
|
+
}, void 0, !0)
|
|
140
|
+
]),
|
|
141
|
+
l.value ? (v(), p("div", G, k(l.value), 1)) : g("", !0)
|
|
142
|
+
], 2);
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
}), ee = /* @__PURE__ */ z(H, [["__scopeId", "data-v-90b791e9"]]);
|
|
146
|
+
export {
|
|
147
|
+
Z as N,
|
|
148
|
+
ee as a
|
|
149
|
+
};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { defineComponent as w, computed as s, useSlots as S, useAttrs as E, openBlock as m, createElementBlock as f, normalizeStyle as A, unref as l, normalizeClass as p, createVNode as h, createElementVNode as y, renderSlot as g, createCommentVNode as b, mergeProps as L } from "vue";
|
|
2
|
+
import { useFormField as K } from "../composables/useFormField.js";
|
|
3
|
+
import { useConfig as j } from "../composables/useConfig.js";
|
|
4
|
+
import { N as M } from "./NeumorphismFieldLabel-CBF1nZs1.js";
|
|
5
|
+
import { N as O } from "./NeumorphismFieldError-BxamHjhs.js";
|
|
6
|
+
import { _ as P } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
import '../NeumorphismInput.css';const D = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "nm-input__prefix"
|
|
10
|
+
}, G = ["id", "type", "value", "placeholder", "disabled", "readonly", "required", "maxlength", "minlength", "name", "autocomplete", "inputmode", "aria-invalid", "aria-errormessage", "aria-describedby"], H = {
|
|
11
|
+
key: 1,
|
|
12
|
+
class: "nm-input__suffix"
|
|
13
|
+
}, J = /* @__PURE__ */ w({
|
|
14
|
+
inheritAttrs: !1,
|
|
15
|
+
__name: "NeumorphismInput",
|
|
16
|
+
props: {
|
|
17
|
+
modelValue: { default: "" },
|
|
18
|
+
type: { default: "text" },
|
|
19
|
+
placeholder: {},
|
|
20
|
+
disabled: { type: Boolean, default: !1 },
|
|
21
|
+
readonly: { type: Boolean, default: !1 },
|
|
22
|
+
required: { type: Boolean, default: !1 },
|
|
23
|
+
size: { default: "medium" },
|
|
24
|
+
maxlength: {},
|
|
25
|
+
minlength: {},
|
|
26
|
+
name: {},
|
|
27
|
+
id: {},
|
|
28
|
+
autocomplete: { default: "off" },
|
|
29
|
+
inputmode: {},
|
|
30
|
+
error: { type: [String, Boolean] },
|
|
31
|
+
label: {}
|
|
32
|
+
},
|
|
33
|
+
emits: ["update:modelValue", "focus", "blur", "input", "change", "keydown", "enter"],
|
|
34
|
+
setup(t, { emit: v }) {
|
|
35
|
+
const a = t, x = j(), N = s(() => {
|
|
36
|
+
var e;
|
|
37
|
+
return a.size ?? ((e = x.value.input) == null ? void 0 : e.size) ?? "medium";
|
|
38
|
+
}), o = v, c = S(), r = E(), V = s(() => {
|
|
39
|
+
const e = {};
|
|
40
|
+
for (const n of Object.keys(r))
|
|
41
|
+
n !== "class" && n !== "style" && (e[n] = r[n]);
|
|
42
|
+
return e;
|
|
43
|
+
}), { fieldId: i, errorMessage: d, baseClassList: k, handleFocus: B, handleBlur: q } = K(() => ({
|
|
44
|
+
id: a.id,
|
|
45
|
+
size: N.value,
|
|
46
|
+
disabled: a.disabled,
|
|
47
|
+
error: a.error,
|
|
48
|
+
prefix: "input"
|
|
49
|
+
})), z = s(() => a.modelValue.length > 0), C = s(() => [
|
|
50
|
+
...k("nm-input").value,
|
|
51
|
+
{
|
|
52
|
+
"nm-input--readonly": a.readonly,
|
|
53
|
+
"nm-input--has-prefix": !!c.prefix,
|
|
54
|
+
"nm-input--has-suffix": !!c.suffix,
|
|
55
|
+
"nm-input--has-label": !!a.label,
|
|
56
|
+
"nm-input--filled": z.value
|
|
57
|
+
}
|
|
58
|
+
]);
|
|
59
|
+
function $(e) {
|
|
60
|
+
const n = e.target;
|
|
61
|
+
o("update:modelValue", n.value), o("input", e);
|
|
62
|
+
}
|
|
63
|
+
function F(e) {
|
|
64
|
+
o("change", e);
|
|
65
|
+
}
|
|
66
|
+
function I(e) {
|
|
67
|
+
o("keydown", e), e.key === "Enter" && o("enter", a.modelValue);
|
|
68
|
+
}
|
|
69
|
+
return (e, n) => (m(), f("div", {
|
|
70
|
+
class: p(["nm-input__wrapper", l(r).class]),
|
|
71
|
+
style: A(l(r).style)
|
|
72
|
+
}, [
|
|
73
|
+
h(M, {
|
|
74
|
+
label: t.label,
|
|
75
|
+
required: t.required,
|
|
76
|
+
"for-id": l(i)
|
|
77
|
+
}, null, 8, ["label", "required", "for-id"]),
|
|
78
|
+
y("div", {
|
|
79
|
+
class: p(C.value)
|
|
80
|
+
}, [
|
|
81
|
+
e.$slots.prefix ? (m(), f("div", D, [
|
|
82
|
+
g(e.$slots, "prefix", {}, void 0, !0)
|
|
83
|
+
])) : b("", !0),
|
|
84
|
+
y("input", L({
|
|
85
|
+
id: l(i),
|
|
86
|
+
type: t.type,
|
|
87
|
+
value: t.modelValue,
|
|
88
|
+
placeholder: t.placeholder,
|
|
89
|
+
disabled: t.disabled,
|
|
90
|
+
readonly: t.readonly,
|
|
91
|
+
required: t.required,
|
|
92
|
+
maxlength: t.maxlength,
|
|
93
|
+
minlength: t.minlength,
|
|
94
|
+
name: t.name,
|
|
95
|
+
autocomplete: t.autocomplete,
|
|
96
|
+
inputmode: t.inputmode,
|
|
97
|
+
"aria-invalid": !!t.error,
|
|
98
|
+
"aria-errormessage": l(d) ? `${l(i)}-error` : void 0,
|
|
99
|
+
"aria-describedby": l(d) ? `${l(i)}-error` : void 0,
|
|
100
|
+
class: "nm-input__field"
|
|
101
|
+
}, V.value, {
|
|
102
|
+
onInput: $,
|
|
103
|
+
onChange: F,
|
|
104
|
+
onFocus: n[0] || (n[0] = (u) => l(B)(u, o)),
|
|
105
|
+
onBlur: n[1] || (n[1] = (u) => l(q)(u, o)),
|
|
106
|
+
onKeydown: I
|
|
107
|
+
}), null, 16, G),
|
|
108
|
+
e.$slots.suffix ? (m(), f("div", H, [
|
|
109
|
+
g(e.$slots, "suffix", {}, void 0, !0)
|
|
110
|
+
])) : b("", !0)
|
|
111
|
+
], 2),
|
|
112
|
+
h(O, {
|
|
113
|
+
id: `${l(i)}-error`,
|
|
114
|
+
message: l(d)
|
|
115
|
+
}, null, 8, ["id", "message"])
|
|
116
|
+
], 6));
|
|
117
|
+
}
|
|
118
|
+
}), Y = /* @__PURE__ */ P(J, [["__scopeId", "data-v-5cc66d54"]]);
|
|
119
|
+
export {
|
|
120
|
+
Y as N
|
|
121
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { defineComponent as g, computed as u, openBlock as m, createElementBlock as r, normalizeClass as C, createVNode as D, createElementVNode as d, withModifiers as a, unref as o, createCommentVNode as v } from "vue";
|
|
2
|
+
import { u as P } from "./createComponent-jnXBYqCm.js";
|
|
3
|
+
import { useNumberInput as E } from "../composables/useNumberInput.js";
|
|
4
|
+
import { N as F } from "./NeumorphismFieldLabel-CBF1nZs1.js";
|
|
5
|
+
import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
import '../NeumorphismInputNumber.css';const L = { class: "nm-input-number__body" }, R = ["disabled"], S = { class: "nm-input-number__input-wrapper" }, A = ["value", "placeholder", "disabled", "aria-disabled"], M = ["disabled"], $ = /* @__PURE__ */ g({
|
|
7
|
+
inheritAttrs: !1,
|
|
8
|
+
__name: "NeumorphismInputNumber",
|
|
9
|
+
props: {
|
|
10
|
+
modelValue: { default: void 0 },
|
|
11
|
+
min: { default: void 0 },
|
|
12
|
+
max: { default: void 0 },
|
|
13
|
+
step: { default: 1 },
|
|
14
|
+
precision: { default: void 0 },
|
|
15
|
+
disabled: { type: Boolean, default: !1 },
|
|
16
|
+
size: { default: "medium" },
|
|
17
|
+
placeholder: { default: "" },
|
|
18
|
+
controls: { type: Boolean, default: !0 },
|
|
19
|
+
label: { default: void 0 }
|
|
20
|
+
},
|
|
21
|
+
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
22
|
+
setup(t, { emit: N }) {
|
|
23
|
+
const l = t, s = N, { config: y, resolveProp: V } = P(), x = u(
|
|
24
|
+
() => {
|
|
25
|
+
var n;
|
|
26
|
+
return V(l.size, (n = y.value.input) == null ? void 0 : n.size, "medium");
|
|
27
|
+
}
|
|
28
|
+
), I = u(() => l.disabled), _ = u({
|
|
29
|
+
get: () => l.modelValue,
|
|
30
|
+
set: (n) => {
|
|
31
|
+
s("update:modelValue", n), s("change", n);
|
|
32
|
+
}
|
|
33
|
+
}), { displayValue: h, increment: b, decrement: p, handleInput: c, handleKeydown: f, handleBlur: k } = E({
|
|
34
|
+
modelValue: _,
|
|
35
|
+
min: l.min,
|
|
36
|
+
max: l.max,
|
|
37
|
+
step: l.step,
|
|
38
|
+
precision: l.precision,
|
|
39
|
+
disabled: I
|
|
40
|
+
}), w = u(() => [
|
|
41
|
+
"nm-input-number",
|
|
42
|
+
`nm-input-number--${x.value}`,
|
|
43
|
+
{
|
|
44
|
+
"nm-input-number--disabled": l.disabled,
|
|
45
|
+
"nm-input-number--has-controls": l.controls
|
|
46
|
+
}
|
|
47
|
+
]);
|
|
48
|
+
function B(n) {
|
|
49
|
+
k(), s("blur", n);
|
|
50
|
+
}
|
|
51
|
+
function z(n) {
|
|
52
|
+
s("focus", n);
|
|
53
|
+
}
|
|
54
|
+
return (n, e) => (m(), r("div", {
|
|
55
|
+
class: C(w.value)
|
|
56
|
+
}, [
|
|
57
|
+
D(F, {
|
|
58
|
+
label: t.label,
|
|
59
|
+
"for-id": void 0
|
|
60
|
+
}, null, 8, ["label"]),
|
|
61
|
+
d("div", L, [
|
|
62
|
+
t.controls ? (m(), r("button", {
|
|
63
|
+
key: 0,
|
|
64
|
+
type: "button",
|
|
65
|
+
class: "nm-input-number__btn nm-input-number__btn--decrement",
|
|
66
|
+
disabled: t.disabled,
|
|
67
|
+
"aria-label": "Decrement",
|
|
68
|
+
tabindex: "-1",
|
|
69
|
+
onPointerdown: e[0] || (e[0] = a(
|
|
70
|
+
//@ts-ignore
|
|
71
|
+
(...i) => o(p) && o(p)(...i),
|
|
72
|
+
["prevent"]
|
|
73
|
+
)),
|
|
74
|
+
onDblclick: e[1] || (e[1] = a(() => {
|
|
75
|
+
}, ["prevent"]))
|
|
76
|
+
}, [...e[6] || (e[6] = [
|
|
77
|
+
d("span", { class: "nm-input-number__btn-icon" }, "−", -1)
|
|
78
|
+
])], 40, R)) : v("", !0),
|
|
79
|
+
d("div", S, [
|
|
80
|
+
d("input", {
|
|
81
|
+
type: "text",
|
|
82
|
+
inputmode: "decimal",
|
|
83
|
+
class: "nm-input-number__input",
|
|
84
|
+
value: o(h),
|
|
85
|
+
placeholder: t.placeholder,
|
|
86
|
+
disabled: t.disabled,
|
|
87
|
+
"aria-disabled": t.disabled || void 0,
|
|
88
|
+
onInput: e[2] || (e[2] = //@ts-ignore
|
|
89
|
+
(...i) => o(c) && o(c)(...i)),
|
|
90
|
+
onKeydown: e[3] || (e[3] = //@ts-ignore
|
|
91
|
+
(...i) => o(f) && o(f)(...i)),
|
|
92
|
+
onBlur: B,
|
|
93
|
+
onFocus: z
|
|
94
|
+
}, null, 40, A)
|
|
95
|
+
]),
|
|
96
|
+
t.controls ? (m(), r("button", {
|
|
97
|
+
key: 1,
|
|
98
|
+
type: "button",
|
|
99
|
+
class: "nm-input-number__btn nm-input-number__btn--increment",
|
|
100
|
+
disabled: t.disabled,
|
|
101
|
+
"aria-label": "Increment",
|
|
102
|
+
tabindex: "-1",
|
|
103
|
+
onPointerdown: e[4] || (e[4] = a(
|
|
104
|
+
//@ts-ignore
|
|
105
|
+
(...i) => o(b) && o(b)(...i),
|
|
106
|
+
["prevent"]
|
|
107
|
+
)),
|
|
108
|
+
onDblclick: e[5] || (e[5] = a(() => {
|
|
109
|
+
}, ["prevent"]))
|
|
110
|
+
}, [...e[7] || (e[7] = [
|
|
111
|
+
d("span", { class: "nm-input-number__btn-icon" }, "+", -1)
|
|
112
|
+
])], 40, M)) : v("", !0)
|
|
113
|
+
])
|
|
114
|
+
], 2));
|
|
115
|
+
}
|
|
116
|
+
}), O = /* @__PURE__ */ K($, [["__scopeId", "data-v-174aebb6"]]);
|
|
117
|
+
export {
|
|
118
|
+
O as N
|
|
119
|
+
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { defineComponent as D, computed as o, ref as C, openBlock as l, createElementBlock as t, normalizeClass as w, createElementVNode as i, unref as v, createCommentVNode as p, renderSlot as n, createVNode as E, Transition as T, withCtx as V, withModifiers as z, normalizeStyle as x } from "vue";
|
|
2
|
+
import { useLocale as I } from "../composables/useLocale.js";
|
|
3
|
+
import { useTouchDevice as O } from "../composables/useTouchDevice.js";
|
|
4
|
+
import { u as P } from "./createComponent-jnXBYqCm.js";
|
|
5
|
+
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
import '../NeumorphismLayout.css';const q = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "nm-layout__header"
|
|
9
|
+
}, F = { class: "nm-layout__header-left" }, G = ["aria-label"], J = {
|
|
10
|
+
width: "18",
|
|
11
|
+
height: "18",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
stroke: "currentColor",
|
|
15
|
+
"stroke-width": "2"
|
|
16
|
+
}, K = {
|
|
17
|
+
key: 0,
|
|
18
|
+
d: "M16 18l-6-6 6-6"
|
|
19
|
+
}, Q = {
|
|
20
|
+
key: 1,
|
|
21
|
+
d: "M8 18l6-6-6-6"
|
|
22
|
+
}, R = { class: "nm-layout__header-center" }, U = { class: "nm-layout__header-right" }, X = { class: "nm-layout__body" }, Y = { class: "nm-layout__sider-inner" }, Z = {
|
|
23
|
+
key: 1,
|
|
24
|
+
class: "nm-layout__footer"
|
|
25
|
+
}, ee = /* @__PURE__ */ D({
|
|
26
|
+
__name: "NeumorphismLayout",
|
|
27
|
+
props: {
|
|
28
|
+
showHeader: { type: Boolean, default: !0 },
|
|
29
|
+
showSider: { type: Boolean, default: !1 },
|
|
30
|
+
siderWidth: { default: 240 },
|
|
31
|
+
collapsible: { type: Boolean, default: !1 },
|
|
32
|
+
defaultCollapsed: { type: Boolean, default: !1 },
|
|
33
|
+
collapsedWidth: { default: 64 },
|
|
34
|
+
mobileAutoCollapse: { type: Boolean, default: !0 }
|
|
35
|
+
},
|
|
36
|
+
emits: ["collapse"],
|
|
37
|
+
setup(b, { emit: k }) {
|
|
38
|
+
const a = b, { config: r, resolveProp: d } = P(), S = o(
|
|
39
|
+
() => {
|
|
40
|
+
var e;
|
|
41
|
+
return d(a.showHeader, (e = r.value.layout) == null ? void 0 : e.showHeader, !0);
|
|
42
|
+
}
|
|
43
|
+
), h = o(
|
|
44
|
+
() => {
|
|
45
|
+
var e;
|
|
46
|
+
return d(a.showSider, (e = r.value.layout) == null ? void 0 : e.showSider, !1);
|
|
47
|
+
}
|
|
48
|
+
), $ = o(
|
|
49
|
+
() => {
|
|
50
|
+
var e;
|
|
51
|
+
return d(a.siderWidth, (e = r.value.layout) == null ? void 0 : e.siderWidth, 240);
|
|
52
|
+
}
|
|
53
|
+
), B = o(
|
|
54
|
+
() => {
|
|
55
|
+
var e;
|
|
56
|
+
return d(a.collapsible, (e = r.value.layout) == null ? void 0 : e.collapsible, !1);
|
|
57
|
+
}
|
|
58
|
+
), W = o(
|
|
59
|
+
() => {
|
|
60
|
+
var e;
|
|
61
|
+
return d(a.collapsedWidth, (e = r.value.layout) == null ? void 0 : e.collapsedWidth, 64);
|
|
62
|
+
}
|
|
63
|
+
), g = o(
|
|
64
|
+
() => {
|
|
65
|
+
var e;
|
|
66
|
+
return d(a.mobileAutoCollapse, (e = r.value.layout) == null ? void 0 : e.mobileAutoCollapse, !0);
|
|
67
|
+
}
|
|
68
|
+
), N = k, { isMobile: s } = O(), m = C(a.defaultCollapsed), u = C(!1), c = o(() => g.value && s.value ? !0 : m.value);
|
|
69
|
+
function M() {
|
|
70
|
+
s.value ? u.value = !u.value : (m.value = !m.value, N("collapse", m.value));
|
|
71
|
+
}
|
|
72
|
+
const { t: _ } = I();
|
|
73
|
+
function f() {
|
|
74
|
+
u.value = !1;
|
|
75
|
+
}
|
|
76
|
+
function A() {
|
|
77
|
+
s.value && u.value && f();
|
|
78
|
+
}
|
|
79
|
+
const H = o(() => [
|
|
80
|
+
"nm-layout",
|
|
81
|
+
{
|
|
82
|
+
"nm-layout--has-sider": h.value,
|
|
83
|
+
"nm-layout--sider-collapsed": c.value,
|
|
84
|
+
"nm-layout--mobile": s.value,
|
|
85
|
+
"nm-layout--drawer-open": u.value
|
|
86
|
+
}
|
|
87
|
+
]), L = o(() => ({
|
|
88
|
+
width: c.value ? `${W.value}px` : `${$.value}px`
|
|
89
|
+
}));
|
|
90
|
+
return (e, y) => (l(), t("div", {
|
|
91
|
+
class: w(H.value)
|
|
92
|
+
}, [
|
|
93
|
+
S.value ? (l(), t("header", q, [
|
|
94
|
+
i("div", F, [
|
|
95
|
+
h.value && B.value ? (l(), t("button", {
|
|
96
|
+
key: 0,
|
|
97
|
+
class: "nm-layout__collapse-btn",
|
|
98
|
+
type: "button",
|
|
99
|
+
"aria-label": c.value ? v(_)("layoutExpandSider") : v(_)("layoutCollapseSider"),
|
|
100
|
+
onClick: M
|
|
101
|
+
}, [
|
|
102
|
+
(l(), t("svg", J, [
|
|
103
|
+
c.value ? (l(), t("path", K)) : (l(), t("path", Q))
|
|
104
|
+
]))
|
|
105
|
+
], 8, G)) : p("", !0),
|
|
106
|
+
n(e.$slots, "header-left", {}, void 0, !0)
|
|
107
|
+
]),
|
|
108
|
+
i("div", R, [
|
|
109
|
+
n(e.$slots, "header-center", {}, void 0, !0)
|
|
110
|
+
]),
|
|
111
|
+
i("div", U, [
|
|
112
|
+
n(e.$slots, "header-right", {}, void 0, !0)
|
|
113
|
+
])
|
|
114
|
+
])) : p("", !0),
|
|
115
|
+
i("div", X, [
|
|
116
|
+
E(T, { name: "nm-layout-fade" }, {
|
|
117
|
+
default: V(() => [
|
|
118
|
+
v(s) && u.value ? (l(), t("div", {
|
|
119
|
+
key: 0,
|
|
120
|
+
class: "nm-layout__drawer-overlay",
|
|
121
|
+
onClick: f,
|
|
122
|
+
onTouchmove: y[0] || (y[0] = z(() => {
|
|
123
|
+
}, ["prevent"]))
|
|
124
|
+
}, null, 32)) : p("", !0)
|
|
125
|
+
]),
|
|
126
|
+
_: 1
|
|
127
|
+
}),
|
|
128
|
+
h.value ? (l(), t("aside", {
|
|
129
|
+
key: 0,
|
|
130
|
+
class: w(["nm-layout__sider", {
|
|
131
|
+
"nm-layout__sider--drawer": v(s),
|
|
132
|
+
"nm-layout__sider--open": u.value
|
|
133
|
+
}]),
|
|
134
|
+
style: x(v(s) ? void 0 : L.value)
|
|
135
|
+
}, [
|
|
136
|
+
i("div", Y, [
|
|
137
|
+
n(e.$slots, "sider", { collapsed: c.value }, void 0, !0)
|
|
138
|
+
])
|
|
139
|
+
], 6)) : p("", !0),
|
|
140
|
+
i("main", {
|
|
141
|
+
class: "nm-layout__content",
|
|
142
|
+
onClick: A
|
|
143
|
+
}, [
|
|
144
|
+
n(e.$slots, "default", {}, void 0, !0)
|
|
145
|
+
])
|
|
146
|
+
]),
|
|
147
|
+
e.$slots.footer ? (l(), t("footer", Z, [
|
|
148
|
+
n(e.$slots, "footer", {}, void 0, !0)
|
|
149
|
+
])) : p("", !0)
|
|
150
|
+
], 2));
|
|
151
|
+
}
|
|
152
|
+
}), ue = /* @__PURE__ */ j(ee, [["__scopeId", "data-v-3558204f"]]);
|
|
153
|
+
export {
|
|
154
|
+
ue as N
|
|
155
|
+
};
|