@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,255 @@
|
|
|
1
|
+
import { defineComponent as ee, computed as a, ref as B, watch as M, nextTick as V, onBeforeUnmount as te, openBlock as n, createElementBlock as i, normalizeClass as _, createVNode as O, unref as u, withCtx as R, createElementVNode as l, withModifiers as b, createCommentVNode as k, createBlock as oe, Teleport as ne, Transition as le, normalizeStyle as ae, Fragment as ie, renderList as ue, toDisplayString as se } from "vue";
|
|
2
|
+
import { useAutoComplete as de } from "../composables/useAutoComplete.js";
|
|
3
|
+
import { u as re } from "./createComponent-jnXBYqCm.js";
|
|
4
|
+
import { N as ce } from "./NeumorphismInput-CV0AQcff.js";
|
|
5
|
+
import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
import '../NeumorphismAutoComplete.css';const me = { class: "nm-autocomplete__suffix" }, fe = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "nm-autocomplete__spinner",
|
|
9
|
+
"aria-hidden": "true"
|
|
10
|
+
}, ve = ["aria-selected", "aria-disabled", "onClick"], he = ["innerHTML"], we = {
|
|
11
|
+
key: 1,
|
|
12
|
+
class: "nm-autocomplete__empty"
|
|
13
|
+
}, ge = {
|
|
14
|
+
key: 2,
|
|
15
|
+
class: "nm-autocomplete__loading"
|
|
16
|
+
}, _e = /* @__PURE__ */ ee({
|
|
17
|
+
__name: "NeumorphismAutoComplete",
|
|
18
|
+
props: {
|
|
19
|
+
modelValue: { default: void 0 },
|
|
20
|
+
options: { default: () => [] },
|
|
21
|
+
placeholder: { default: "" },
|
|
22
|
+
disabled: { type: Boolean, default: !1 },
|
|
23
|
+
size: { default: "medium" },
|
|
24
|
+
clearable: { type: Boolean, default: !0 },
|
|
25
|
+
loading: { type: Boolean, default: !1 },
|
|
26
|
+
label: {},
|
|
27
|
+
debounce: { default: 300 },
|
|
28
|
+
searchFn: {}
|
|
29
|
+
},
|
|
30
|
+
emits: ["update:modelValue", "select", "search", "focus", "blur"],
|
|
31
|
+
setup(m, { emit: T }) {
|
|
32
|
+
const s = m, r = T, { resolveProp: $ } = re(), E = a(
|
|
33
|
+
() => $(s.size, void 0, "medium")
|
|
34
|
+
), L = a({
|
|
35
|
+
get: () => s.modelValue,
|
|
36
|
+
set: (e) => {
|
|
37
|
+
r("update:modelValue", e);
|
|
38
|
+
}
|
|
39
|
+
}), y = a(() => s.loading), {
|
|
40
|
+
inputValue: c,
|
|
41
|
+
isOpen: d,
|
|
42
|
+
filteredOptions: N,
|
|
43
|
+
activeIndex: h,
|
|
44
|
+
highlightMatch: A,
|
|
45
|
+
selectOption: D,
|
|
46
|
+
handleKeydown: K,
|
|
47
|
+
handleInput: P,
|
|
48
|
+
open: H,
|
|
49
|
+
close: C,
|
|
50
|
+
cleanupTimers: U
|
|
51
|
+
} = de({
|
|
52
|
+
modelValue: L,
|
|
53
|
+
options: a(() => s.options),
|
|
54
|
+
searchFn: s.searchFn,
|
|
55
|
+
loading: y,
|
|
56
|
+
debounceMs: s.debounce
|
|
57
|
+
}), w = B(), p = B(), g = B({ top: 0, left: 0, width: 0 });
|
|
58
|
+
function f() {
|
|
59
|
+
if (!w.value || typeof window > "u") return;
|
|
60
|
+
const e = w.value.getBoundingClientRect();
|
|
61
|
+
g.value = {
|
|
62
|
+
top: e.bottom + window.scrollY + 4,
|
|
63
|
+
left: e.left + window.scrollX,
|
|
64
|
+
width: e.width
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
M(d, (e) => {
|
|
68
|
+
e ? (V(f), typeof window < "u" && (window.addEventListener("scroll", f, !0), window.addEventListener("resize", f))) : typeof window < "u" && (window.removeEventListener("scroll", f, !0), window.removeEventListener("resize", f));
|
|
69
|
+
});
|
|
70
|
+
function S(e) {
|
|
71
|
+
var o, v;
|
|
72
|
+
if (!d.value || s.disabled) return;
|
|
73
|
+
const t = e.target;
|
|
74
|
+
(o = w.value) != null && o.contains(t) || (v = p.value) != null && v.contains(t) || C();
|
|
75
|
+
}
|
|
76
|
+
function q() {
|
|
77
|
+
typeof document < "u" && document.addEventListener("click", S, !0);
|
|
78
|
+
}
|
|
79
|
+
function z() {
|
|
80
|
+
typeof document < "u" && document.removeEventListener("click", S, !0);
|
|
81
|
+
}
|
|
82
|
+
M(d, (e) => {
|
|
83
|
+
e ? V(q) : z();
|
|
84
|
+
}), te(() => {
|
|
85
|
+
z(), U();
|
|
86
|
+
}), M(h, (e) => {
|
|
87
|
+
!p.value || e < 0 || V(() => {
|
|
88
|
+
var o;
|
|
89
|
+
const t = (o = p.value) == null ? void 0 : o.querySelector(
|
|
90
|
+
".nm-autocomplete__option--active"
|
|
91
|
+
);
|
|
92
|
+
t && t.scrollIntoView({ block: "nearest" });
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
const X = a(() => ({
|
|
96
|
+
position: "fixed",
|
|
97
|
+
top: `${g.value.top}px`,
|
|
98
|
+
left: `${g.value.left}px`,
|
|
99
|
+
width: `${g.value.width}px`
|
|
100
|
+
}));
|
|
101
|
+
function Y(e) {
|
|
102
|
+
D(e), r("select", e);
|
|
103
|
+
}
|
|
104
|
+
function j(e) {
|
|
105
|
+
K(e);
|
|
106
|
+
}
|
|
107
|
+
function G(e) {
|
|
108
|
+
r("focus", e), !d.value && c.value.length > 0 && H();
|
|
109
|
+
}
|
|
110
|
+
function J(e) {
|
|
111
|
+
setTimeout(() => {
|
|
112
|
+
p.value && document.activeElement && p.value.contains(document.activeElement) || (r("blur", e), C());
|
|
113
|
+
}, 150);
|
|
114
|
+
}
|
|
115
|
+
function Q() {
|
|
116
|
+
c.value = "", L.value = void 0, h.value = -1, r("update:modelValue", void 0), r("search", ""), C();
|
|
117
|
+
}
|
|
118
|
+
function W(e) {
|
|
119
|
+
r("search", e), P(e);
|
|
120
|
+
}
|
|
121
|
+
const Z = a(() => [
|
|
122
|
+
"nm-autocomplete",
|
|
123
|
+
`nm-autocomplete--${E.value}`,
|
|
124
|
+
{
|
|
125
|
+
"nm-autocomplete--disabled": s.disabled,
|
|
126
|
+
"nm-autocomplete--open": d.value,
|
|
127
|
+
"nm-autocomplete--has-value": c.value.length > 0
|
|
128
|
+
}
|
|
129
|
+
]), I = a(() => N.value.length > 0), F = a(
|
|
130
|
+
() => !I.value && c.value.trim().length > 0 && !y.value
|
|
131
|
+
), x = a(() => y.value);
|
|
132
|
+
return (e, t) => (n(), i("div", {
|
|
133
|
+
ref_key: "triggerRef",
|
|
134
|
+
ref: w,
|
|
135
|
+
class: _(Z.value)
|
|
136
|
+
}, [
|
|
137
|
+
O(ce, {
|
|
138
|
+
"model-value": u(c),
|
|
139
|
+
label: m.label,
|
|
140
|
+
placeholder: m.placeholder,
|
|
141
|
+
disabled: m.disabled,
|
|
142
|
+
size: E.value,
|
|
143
|
+
autocomplete: "off",
|
|
144
|
+
role: "combobox",
|
|
145
|
+
"aria-expanded": u(d),
|
|
146
|
+
"aria-haspopup": "listbox",
|
|
147
|
+
"aria-autocomplete": "list",
|
|
148
|
+
"onUpdate:modelValue": W,
|
|
149
|
+
onFocus: G,
|
|
150
|
+
onBlur: J,
|
|
151
|
+
onKeydown: j
|
|
152
|
+
}, {
|
|
153
|
+
suffix: R(() => [
|
|
154
|
+
l("div", me, [
|
|
155
|
+
m.clearable && u(c).length > 0 && !x.value ? (n(), i("button", {
|
|
156
|
+
key: 0,
|
|
157
|
+
class: "nm-autocomplete__clear",
|
|
158
|
+
type: "button",
|
|
159
|
+
"aria-label": "Clear",
|
|
160
|
+
onMousedown: t[0] || (t[0] = b(() => {
|
|
161
|
+
}, ["prevent"])),
|
|
162
|
+
onClick: b(Q, ["stop"])
|
|
163
|
+
}, [...t[2] || (t[2] = [
|
|
164
|
+
l("svg", {
|
|
165
|
+
width: "14",
|
|
166
|
+
height: "14",
|
|
167
|
+
viewBox: "0 0 24 24",
|
|
168
|
+
fill: "none",
|
|
169
|
+
stroke: "currentColor",
|
|
170
|
+
"stroke-width": "2"
|
|
171
|
+
}, [
|
|
172
|
+
l("path", { d: "M18 6L6 18M6 6l12 12" })
|
|
173
|
+
], -1)
|
|
174
|
+
])], 32)) : k("", !0),
|
|
175
|
+
x.value ? (n(), i("span", fe, [...t[3] || (t[3] = [
|
|
176
|
+
l("svg", {
|
|
177
|
+
width: "14",
|
|
178
|
+
height: "14",
|
|
179
|
+
viewBox: "0 0 24 24",
|
|
180
|
+
fill: "none",
|
|
181
|
+
stroke: "currentColor",
|
|
182
|
+
"stroke-width": "2"
|
|
183
|
+
}, [
|
|
184
|
+
l("path", { d: "M12 2a10 10 0 1 0 10 10" })
|
|
185
|
+
], -1)
|
|
186
|
+
])])) : k("", !0),
|
|
187
|
+
(n(), i("svg", {
|
|
188
|
+
class: _(["nm-autocomplete__arrow", { "nm-autocomplete__arrow--open": u(d) }]),
|
|
189
|
+
width: "16",
|
|
190
|
+
height: "16",
|
|
191
|
+
viewBox: "0 0 24 24",
|
|
192
|
+
fill: "none",
|
|
193
|
+
stroke: "currentColor",
|
|
194
|
+
"stroke-width": "2",
|
|
195
|
+
"aria-hidden": "true"
|
|
196
|
+
}, [...t[4] || (t[4] = [
|
|
197
|
+
l("path", { d: "M6 9l6 6 6-6" }, null, -1)
|
|
198
|
+
])], 2))
|
|
199
|
+
])
|
|
200
|
+
]),
|
|
201
|
+
_: 1
|
|
202
|
+
}, 8, ["model-value", "label", "placeholder", "disabled", "size", "aria-expanded"]),
|
|
203
|
+
(n(), oe(ne, { to: "body" }, [
|
|
204
|
+
O(le, { name: "nm-autocomplete-dropdown" }, {
|
|
205
|
+
default: R(() => [
|
|
206
|
+
u(d) ? (n(), i("div", {
|
|
207
|
+
key: 0,
|
|
208
|
+
ref_key: "dropdownRef",
|
|
209
|
+
ref: p,
|
|
210
|
+
class: _(["nm-autocomplete__dropdown", { "nm-autocomplete__dropdown--empty": F.value }]),
|
|
211
|
+
role: "listbox",
|
|
212
|
+
style: ae(X.value)
|
|
213
|
+
}, [
|
|
214
|
+
I.value ? (n(!0), i(ie, { key: 0 }, ue(u(N), (o, v) => (n(), i("div", {
|
|
215
|
+
key: o.value,
|
|
216
|
+
class: _(["nm-autocomplete__option", {
|
|
217
|
+
"nm-autocomplete__option--active": v === u(h),
|
|
218
|
+
"nm-autocomplete__option--disabled": o.disabled
|
|
219
|
+
}]),
|
|
220
|
+
role: "option",
|
|
221
|
+
"aria-selected": v === u(h),
|
|
222
|
+
"aria-disabled": o.disabled,
|
|
223
|
+
onMousedown: t[1] || (t[1] = b(() => {
|
|
224
|
+
}, ["prevent"])),
|
|
225
|
+
onClick: b((be) => Y(o), ["stop"])
|
|
226
|
+
}, [
|
|
227
|
+
l("span", {
|
|
228
|
+
class: "nm-autocomplete__option-label",
|
|
229
|
+
innerHTML: u(A)(o.label)
|
|
230
|
+
}, null, 8, he)
|
|
231
|
+
], 42, ve))), 128)) : F.value ? (n(), i("div", we, se("No matching results"))) : x.value ? (n(), i("div", ge, [...t[5] || (t[5] = [
|
|
232
|
+
l("svg", {
|
|
233
|
+
width: "16",
|
|
234
|
+
height: "16",
|
|
235
|
+
viewBox: "0 0 24 24",
|
|
236
|
+
fill: "none",
|
|
237
|
+
stroke: "currentColor",
|
|
238
|
+
"stroke-width": "2",
|
|
239
|
+
class: "nm-autocomplete__loading-icon"
|
|
240
|
+
}, [
|
|
241
|
+
l("path", { d: "M12 2a10 10 0 1 0 10 10" })
|
|
242
|
+
], -1),
|
|
243
|
+
l("span", null, "Searching…", -1)
|
|
244
|
+
])])) : k("", !0)
|
|
245
|
+
], 6)) : k("", !0)
|
|
246
|
+
]),
|
|
247
|
+
_: 1
|
|
248
|
+
})
|
|
249
|
+
]))
|
|
250
|
+
], 2));
|
|
251
|
+
}
|
|
252
|
+
}), Me = /* @__PURE__ */ pe(_e, [["__scopeId", "data-v-0a06b477"]]);
|
|
253
|
+
export {
|
|
254
|
+
Me as N
|
|
255
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { defineComponent as b, computed as s, ref as g, watch as z, openBlock as r, createElementBlock as l, unref as C, normalizeClass as N, renderSlot as S, createTextVNode as y, toDisplayString as m } from "vue";
|
|
2
|
+
import { useLocale as $ } from "../composables/useLocale.js";
|
|
3
|
+
import { u as A } from "./createComponent-jnXBYqCm.js";
|
|
4
|
+
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import '../NeumorphismAvatar.css';const I = ["aria-label"], w = ["src", "alt"], x = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "nm-avatar__fallback nm-avatar__icon"
|
|
8
|
+
}, B = {
|
|
9
|
+
key: 2,
|
|
10
|
+
class: "nm-avatar__fallback"
|
|
11
|
+
}, L = /* @__PURE__ */ b({
|
|
12
|
+
__name: "NeumorphismAvatar",
|
|
13
|
+
props: {
|
|
14
|
+
src: {},
|
|
15
|
+
alt: {},
|
|
16
|
+
size: { default: "medium" },
|
|
17
|
+
shape: { default: "circle" },
|
|
18
|
+
initials: {},
|
|
19
|
+
icon: {}
|
|
20
|
+
},
|
|
21
|
+
emits: ["error"],
|
|
22
|
+
setup(t, { emit: u }) {
|
|
23
|
+
const a = t, { config: n, resolveProp: c } = A(), v = s(() => {
|
|
24
|
+
var e;
|
|
25
|
+
return c(a.size, (e = n.value.avatar) == null ? void 0 : e.size, "medium");
|
|
26
|
+
}), f = s(() => {
|
|
27
|
+
var e;
|
|
28
|
+
return c(a.shape, (e = n.value.avatar) == null ? void 0 : e.shape, "circle");
|
|
29
|
+
}), p = u, { t: d } = $(), h = s(() => !!a.src), o = g(!1);
|
|
30
|
+
z(
|
|
31
|
+
() => a.src,
|
|
32
|
+
() => {
|
|
33
|
+
o.value = !1;
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
function _() {
|
|
37
|
+
o.value = !0, p("error");
|
|
38
|
+
}
|
|
39
|
+
const k = s(() => [
|
|
40
|
+
"nm-avatar",
|
|
41
|
+
`nm-avatar--${v.value}`,
|
|
42
|
+
`nm-avatar--${f.value}`
|
|
43
|
+
]), i = s(() => a.initials ? a.initials.slice(0, 2).toUpperCase() : a.alt ? a.alt.slice(0, 1).toUpperCase() : "?");
|
|
44
|
+
return (e, U) => (r(), l("div", {
|
|
45
|
+
class: N(k.value),
|
|
46
|
+
role: "img",
|
|
47
|
+
"aria-label": t.alt || t.initials || C(d)("badgeAvatar")
|
|
48
|
+
}, [
|
|
49
|
+
h.value && !o.value ? (r(), l("img", {
|
|
50
|
+
key: 0,
|
|
51
|
+
src: t.src,
|
|
52
|
+
alt: t.alt || "",
|
|
53
|
+
class: "nm-avatar__img",
|
|
54
|
+
onError: _
|
|
55
|
+
}, null, 40, w)) : t.icon || e.$slots.fallback ? (r(), l("span", x, [
|
|
56
|
+
S(e.$slots, "fallback", {}, () => [
|
|
57
|
+
y(m(i.value), 1)
|
|
58
|
+
], !0)
|
|
59
|
+
])) : (r(), l("span", B, m(i.value), 1))
|
|
60
|
+
], 10, I));
|
|
61
|
+
}
|
|
62
|
+
}), V = /* @__PURE__ */ E(L, [["__scopeId", "data-v-bad10d1a"]]);
|
|
63
|
+
export {
|
|
64
|
+
V as N
|
|
65
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent as _, computed as o, openBlock as s, createElementBlock as u, normalizeClass as f, renderSlot as h, normalizeStyle as N, toDisplayString as y, createCommentVNode as p } from "vue";
|
|
2
|
+
import { useLocale as x } from "../composables/useLocale.js";
|
|
3
|
+
import { u as S } from "./createComponent-jnXBYqCm.js";
|
|
4
|
+
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import '../NeumorphismBadge.css';const k = ["aria-label"], w = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "nm-badge__text",
|
|
8
|
+
"aria-hidden": "true"
|
|
9
|
+
}, C = /* @__PURE__ */ _({
|
|
10
|
+
__name: "NeumorphismBadge",
|
|
11
|
+
props: {
|
|
12
|
+
value: {},
|
|
13
|
+
max: { default: 99 },
|
|
14
|
+
dot: { type: Boolean, default: !1 },
|
|
15
|
+
color: {},
|
|
16
|
+
showZero: { type: Boolean, default: !1 }
|
|
17
|
+
},
|
|
18
|
+
setup(l) {
|
|
19
|
+
const a = l, { config: r, resolveProp: n } = S(), d = o(() => {
|
|
20
|
+
var e;
|
|
21
|
+
return n(a.max, (e = r.value.badge) == null ? void 0 : e.max, 99);
|
|
22
|
+
}), t = o(() => {
|
|
23
|
+
var e;
|
|
24
|
+
return n(a.dot, (e = r.value.badge) == null ? void 0 : e.dot, !1);
|
|
25
|
+
}), c = o(
|
|
26
|
+
() => {
|
|
27
|
+
var e;
|
|
28
|
+
return n(a.showZero, (e = r.value.badge) == null ? void 0 : e.showZero, !1);
|
|
29
|
+
}
|
|
30
|
+
), i = o(() => {
|
|
31
|
+
if (t.value) return "";
|
|
32
|
+
const e = Number(a.value);
|
|
33
|
+
return isNaN(e) ? String(a.value || "") : e <= 0 && !c.value ? "" : e > d.value ? `${d.value}+` : String(e);
|
|
34
|
+
}), m = o(() => {
|
|
35
|
+
if (t.value) return a.value == null || a.value === "";
|
|
36
|
+
const e = Number(a.value);
|
|
37
|
+
return (isNaN(e) || e <= 0) && !c.value;
|
|
38
|
+
}), { t: v } = x(), b = o(
|
|
39
|
+
() => a.dot ? v("badgeOnline") : v("badgeUnread", { count: i.value })
|
|
40
|
+
), g = o(() => [
|
|
41
|
+
"nm-badge",
|
|
42
|
+
{
|
|
43
|
+
"nm-badge--dot": t.value,
|
|
44
|
+
"nm-badge--hidden": m.value
|
|
45
|
+
}
|
|
46
|
+
]);
|
|
47
|
+
return (e, Z) => (s(), u("div", {
|
|
48
|
+
class: f(g.value)
|
|
49
|
+
}, [
|
|
50
|
+
h(e.$slots, "default", {}, void 0, !0),
|
|
51
|
+
m.value ? p("", !0) : (s(), u("sup", {
|
|
52
|
+
key: 0,
|
|
53
|
+
class: f(["nm-badge__content", { "nm-badge__content--dot": t.value }]),
|
|
54
|
+
style: N(l.color ? { backgroundColor: l.color } : void 0),
|
|
55
|
+
"aria-label": b.value
|
|
56
|
+
}, [
|
|
57
|
+
t.value ? p("", !0) : (s(), u("span", w, y(i.value), 1))
|
|
58
|
+
], 14, k))
|
|
59
|
+
], 2));
|
|
60
|
+
}
|
|
61
|
+
}), $ = /* @__PURE__ */ B(C, [["__scopeId", "data-v-11fb0f9f"]]);
|
|
62
|
+
export {
|
|
63
|
+
$ as N
|
|
64
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as y, computed as l, openBlock as s, createElementBlock as n, unref as N, normalizeClass as o, createElementVNode as d, Fragment as z, renderList as w, withKeys as u, withModifiers as B, toDisplayString as b, createCommentVNode as L } from "vue";
|
|
2
|
+
import { useLocale as $ } from "../composables/useLocale.js";
|
|
3
|
+
import { u as K } from "./createComponent-jnXBYqCm.js";
|
|
4
|
+
import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import '../NeumorphismBreadcrumb.css';const E = ["aria-label"], V = { class: "nm-breadcrumb__list" }, D = ["aria-current"], F = ["role", "tabindex", "onClick", "onKeydown"], I = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "nm-breadcrumb__separator",
|
|
8
|
+
"aria-hidden": "true"
|
|
9
|
+
}, M = /* @__PURE__ */ y({
|
|
10
|
+
__name: "NeumorphismBreadcrumb",
|
|
11
|
+
props: {
|
|
12
|
+
items: { default: () => [] },
|
|
13
|
+
separator: { default: "/" },
|
|
14
|
+
size: { default: "medium" }
|
|
15
|
+
},
|
|
16
|
+
emits: ["itemClick"],
|
|
17
|
+
setup(t, { emit: h }) {
|
|
18
|
+
const _ = t, { config: f, resolveProp: v } = K(), p = l(
|
|
19
|
+
() => {
|
|
20
|
+
var a;
|
|
21
|
+
return v(_.size, (a = f.value.breadcrumb) == null ? void 0 : a.size, "medium");
|
|
22
|
+
}
|
|
23
|
+
), { t: k } = $(), g = h, C = l(() => ["nm-breadcrumb", `nm-breadcrumb--${p.value}`]);
|
|
24
|
+
function m(a, c) {
|
|
25
|
+
a.disabled || g("itemClick", a, c);
|
|
26
|
+
}
|
|
27
|
+
return (a, c) => (s(), n("nav", {
|
|
28
|
+
class: o(C.value),
|
|
29
|
+
"aria-label": N(k)("breadcrumbLabel")
|
|
30
|
+
}, [
|
|
31
|
+
d("ol", V, [
|
|
32
|
+
(s(!0), n(z, null, w(t.items, (r, e) => (s(), n("li", {
|
|
33
|
+
key: e,
|
|
34
|
+
class: o(["nm-breadcrumb__item", {
|
|
35
|
+
"nm-breadcrumb__item--active": e === t.items.length - 1,
|
|
36
|
+
"nm-breadcrumb__item--disabled": r.disabled
|
|
37
|
+
}]),
|
|
38
|
+
"aria-current": e === t.items.length - 1 ? "page" : void 0
|
|
39
|
+
}, [
|
|
40
|
+
d("span", {
|
|
41
|
+
class: o(["nm-breadcrumb__text", { "nm-breadcrumb__text--link": e !== t.items.length - 1 && !r.disabled }]),
|
|
42
|
+
role: e !== t.items.length - 1 ? "link" : void 0,
|
|
43
|
+
tabindex: e !== t.items.length - 1 && !r.disabled ? 0 : -1,
|
|
44
|
+
onClick: (i) => m(r, e),
|
|
45
|
+
onKeydown: [
|
|
46
|
+
u((i) => m(r, e), ["enter"]),
|
|
47
|
+
u(B((i) => m(r, e), ["prevent"]), ["space"])
|
|
48
|
+
]
|
|
49
|
+
}, b(r.label), 43, F),
|
|
50
|
+
e < t.items.length - 1 ? (s(), n("span", I, b(t.separator), 1)) : L("", !0)
|
|
51
|
+
], 10, D))), 128))
|
|
52
|
+
])
|
|
53
|
+
], 10, E));
|
|
54
|
+
}
|
|
55
|
+
}), G = /* @__PURE__ */ S(M, [["__scopeId", "data-v-f1965bdc"]]);
|
|
56
|
+
export {
|
|
57
|
+
G as N
|
|
58
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { defineComponent as h, computed as a, openBlock as i, createElementBlock as r, normalizeClass as u, setBlockTracking as d, createElementVNode as m, createCommentVNode as y, renderSlot as B } from "vue";
|
|
2
|
+
import { useConfig as C } from "../composables/useConfig.js";
|
|
3
|
+
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import '../NeumorphismButton.css';const x = ["type", "form", "disabled", "aria-label", "aria-busy"], z = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "nm-button__spinner"
|
|
7
|
+
}, N = /* @__PURE__ */ h({
|
|
8
|
+
__name: "NeumorphismButton",
|
|
9
|
+
props: {
|
|
10
|
+
variant: { default: "raised" },
|
|
11
|
+
size: { default: "medium" },
|
|
12
|
+
shape: { default: "rounded" },
|
|
13
|
+
disabled: { type: Boolean, default: !1 },
|
|
14
|
+
loading: { type: Boolean, default: !1 },
|
|
15
|
+
type: { default: "button" },
|
|
16
|
+
form: {},
|
|
17
|
+
ariaLabel: {}
|
|
18
|
+
},
|
|
19
|
+
emits: ["click"],
|
|
20
|
+
setup(t, { emit: c }) {
|
|
21
|
+
const n = t, s = C(), b = a(() => {
|
|
22
|
+
var e;
|
|
23
|
+
return n.variant ?? ((e = s.value.button) == null ? void 0 : e.variant) ?? "raised";
|
|
24
|
+
}), f = a(() => {
|
|
25
|
+
var e;
|
|
26
|
+
return n.size ?? ((e = s.value.button) == null ? void 0 : e.size) ?? "medium";
|
|
27
|
+
}), v = a(() => {
|
|
28
|
+
var e;
|
|
29
|
+
return n.shape ?? ((e = s.value.button) == null ? void 0 : e.shape) ?? "rounded";
|
|
30
|
+
}), p = c, l = a(() => n.disabled || n.loading), g = a(() => [
|
|
31
|
+
"nm-button",
|
|
32
|
+
`nm-button--${b.value}`,
|
|
33
|
+
`nm-button--${f.value}`,
|
|
34
|
+
`nm-button--${v.value}`,
|
|
35
|
+
{
|
|
36
|
+
"nm-button--disabled": l.value,
|
|
37
|
+
"nm-button--loading": n.loading
|
|
38
|
+
}
|
|
39
|
+
]);
|
|
40
|
+
function k(e) {
|
|
41
|
+
l.value || p("click", e);
|
|
42
|
+
}
|
|
43
|
+
return (e, o) => (i(), r("button", {
|
|
44
|
+
class: u(g.value),
|
|
45
|
+
type: t.type,
|
|
46
|
+
form: t.form,
|
|
47
|
+
disabled: l.value,
|
|
48
|
+
"aria-label": t.ariaLabel,
|
|
49
|
+
"aria-busy": t.loading ? !0 : void 0,
|
|
50
|
+
onClick: k
|
|
51
|
+
}, [
|
|
52
|
+
t.loading ? (i(), r("span", z, [
|
|
53
|
+
o[0] || (d(-1, !0), (o[0] = (i(), r("svg", {
|
|
54
|
+
class: "nm-button__spinner-svg",
|
|
55
|
+
viewBox: "0 0 24 24",
|
|
56
|
+
fill: "none",
|
|
57
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
58
|
+
}, [
|
|
59
|
+
o[1] || (o[1] = m("circle", {
|
|
60
|
+
cx: "12",
|
|
61
|
+
cy: "12",
|
|
62
|
+
r: "10",
|
|
63
|
+
stroke: "currentColor",
|
|
64
|
+
"stroke-width": "3",
|
|
65
|
+
"stroke-linecap": "round",
|
|
66
|
+
"stroke-dasharray": "31.42",
|
|
67
|
+
"stroke-dashoffset": "10"
|
|
68
|
+
}, null, -1))
|
|
69
|
+
]))).cacheIndex = 0, d(1), o[0])
|
|
70
|
+
])) : y("", !0),
|
|
71
|
+
m("span", {
|
|
72
|
+
class: u(["nm-button__content", { "nm-button__content--hidden": t.loading }])
|
|
73
|
+
}, [
|
|
74
|
+
B(e.$slots, "default", {}, void 0, !0)
|
|
75
|
+
], 2)
|
|
76
|
+
], 10, x));
|
|
77
|
+
}
|
|
78
|
+
}), S = /* @__PURE__ */ w(N, [["__scopeId", "data-v-14c068f1"]]);
|
|
79
|
+
export {
|
|
80
|
+
S as N
|
|
81
|
+
};
|