@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,302 @@
|
|
|
1
|
+
import { defineComponent as R, computed as s, openBlock as o, createElementBlock as d, normalizeStyle as Q, normalizeClass as k, createElementVNode as c, withModifiers as U, unref as a, toDisplayString as g, createCommentVNode as f, renderSlot as W, Fragment as N, renderList as A, createTextVNode as X, createBlock as V } from "vue";
|
|
2
|
+
import { useLocale as z } from "../composables/useLocale.js";
|
|
3
|
+
import { useTree as Y } from "../composables/useTree.js";
|
|
4
|
+
import { u as Z } from "./createComponent-jnXBYqCm.js";
|
|
5
|
+
import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
import '../NeumorphismTree.css';const ee = ["id", "aria-expanded", "aria-selected", "aria-disabled"], te = ["aria-label"], le = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "nm-tree-node__toggle-placeholder"
|
|
9
|
+
}, ne = {
|
|
10
|
+
key: 2,
|
|
11
|
+
class: "nm-tree-node__icon"
|
|
12
|
+
}, ae = { class: "nm-tree-node__label" }, oe = { class: "nm-tree-node__children-wrapper" }, se = /* @__PURE__ */ R({
|
|
13
|
+
__name: "NeumorphismTreeNode",
|
|
14
|
+
props: {
|
|
15
|
+
node: {},
|
|
16
|
+
selectedKeys: {},
|
|
17
|
+
expandedKeys: {},
|
|
18
|
+
searchText: {},
|
|
19
|
+
focusedKey: {},
|
|
20
|
+
level: { default: 0 }
|
|
21
|
+
},
|
|
22
|
+
emits: ["toggle-expand", "select"],
|
|
23
|
+
setup(t, { emit: L }) {
|
|
24
|
+
const e = t, y = L, m = s(() => e.expandedKeys.includes(e.node.key)), b = s(() => e.selectedKeys.includes(e.node.key)), B = s(() => e.focusedKey === e.node.key), v = s(() => {
|
|
25
|
+
var n;
|
|
26
|
+
return !!((n = e.node.children) != null && n.length);
|
|
27
|
+
}), u = s(() => e.searchText.toLowerCase().trim());
|
|
28
|
+
function C(n, r) {
|
|
29
|
+
var p;
|
|
30
|
+
return n.label.toLowerCase().includes(r) ? !0 : ((p = n.children) == null ? void 0 : p.some((h) => C(h, r))) ?? !1;
|
|
31
|
+
}
|
|
32
|
+
const { t: S } = z(), w = s(() => {
|
|
33
|
+
var n;
|
|
34
|
+
return !u.value || e.node.label.toLowerCase().includes(u.value) ? !0 : ((n = e.node.children) == null ? void 0 : n.some((r) => C(r, u.value))) ?? !1;
|
|
35
|
+
}), T = s(() => {
|
|
36
|
+
if (!e.searchText.trim()) return null;
|
|
37
|
+
const n = e.searchText.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
38
|
+
return e.node.label.split(new RegExp(`(${n})`, "gi")).filter(Boolean);
|
|
39
|
+
});
|
|
40
|
+
function $() {
|
|
41
|
+
v.value && y("toggle-expand", e.node.key);
|
|
42
|
+
}
|
|
43
|
+
function _(n) {
|
|
44
|
+
n == null || n.stopPropagation(), $();
|
|
45
|
+
}
|
|
46
|
+
function E() {
|
|
47
|
+
e.node.disabled || y("select", e.node.key);
|
|
48
|
+
}
|
|
49
|
+
return (n, r) => w.value ? (o(), d("li", {
|
|
50
|
+
key: 0,
|
|
51
|
+
id: `nm-tree-node-${t.node.key}`,
|
|
52
|
+
class: k(["nm-tree-node", {
|
|
53
|
+
"nm-tree-node--selected": b.value,
|
|
54
|
+
"nm-tree-node--disabled": t.node.disabled,
|
|
55
|
+
"nm-tree-node--leaf": !v.value,
|
|
56
|
+
"nm-tree-node--expanded": m.value,
|
|
57
|
+
"nm-tree-node--focused": B.value
|
|
58
|
+
}]),
|
|
59
|
+
style: Q({ paddingLeft: `calc(${t.level} * var(--nm-tree-node-indent, 8px) + 4px)` }),
|
|
60
|
+
role: "treeitem",
|
|
61
|
+
tabindex: "-1",
|
|
62
|
+
"aria-expanded": v.value ? m.value : void 0,
|
|
63
|
+
"aria-selected": b.value,
|
|
64
|
+
"aria-disabled": t.node.disabled
|
|
65
|
+
}, [
|
|
66
|
+
c("div", {
|
|
67
|
+
class: k(["nm-tree-node__row", { "nm-tree-node__row--clickable": !t.node.disabled }]),
|
|
68
|
+
onClick: E
|
|
69
|
+
}, [
|
|
70
|
+
v.value ? (o(), d("button", {
|
|
71
|
+
key: 0,
|
|
72
|
+
type: "button",
|
|
73
|
+
class: k(["nm-tree-node__toggle", { "nm-tree-node__toggle--expanded": m.value }]),
|
|
74
|
+
"aria-label": m.value ? a(S)("treeCollapse") : a(S)("treeExpand"),
|
|
75
|
+
onClick: U($, ["stop"])
|
|
76
|
+
}, [...r[2] || (r[2] = [
|
|
77
|
+
c("svg", {
|
|
78
|
+
class: "nm-tree-node__chevron",
|
|
79
|
+
viewBox: "0 0 24 24",
|
|
80
|
+
fill: "none",
|
|
81
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
82
|
+
}, [
|
|
83
|
+
c("path", {
|
|
84
|
+
d: "M9 6l6 6-6 6",
|
|
85
|
+
stroke: "currentColor",
|
|
86
|
+
"stroke-width": "2",
|
|
87
|
+
"stroke-linecap": "round",
|
|
88
|
+
"stroke-linejoin": "round"
|
|
89
|
+
})
|
|
90
|
+
], -1)
|
|
91
|
+
])], 10, te)) : (o(), d("span", le)),
|
|
92
|
+
t.node.icon ? (o(), d("span", ne, g(t.node.icon), 1)) : f("", !0),
|
|
93
|
+
W(n.$slots, "node-label", {
|
|
94
|
+
node: t.node,
|
|
95
|
+
selected: b.value,
|
|
96
|
+
expanded: m.value,
|
|
97
|
+
level: t.level,
|
|
98
|
+
select: E,
|
|
99
|
+
toggle: _
|
|
100
|
+
}, () => [
|
|
101
|
+
c("span", ae, [
|
|
102
|
+
T.value ? (o(!0), d(N, { key: 0 }, A(T.value, (p, h) => (o(), d("span", {
|
|
103
|
+
key: h,
|
|
104
|
+
class: k({ "nm-tree-node__label--highlight": p.toLowerCase() === u.value })
|
|
105
|
+
}, g(p), 3))), 128)) : (o(), d(N, { key: 1 }, [
|
|
106
|
+
X(g(t.node.label), 1)
|
|
107
|
+
], 64))
|
|
108
|
+
])
|
|
109
|
+
], !0)
|
|
110
|
+
], 2),
|
|
111
|
+
v.value ? (o(), d("ul", {
|
|
112
|
+
key: 0,
|
|
113
|
+
class: k(["nm-tree-node__children", { "nm-tree-node__children--collapsed": !m.value }])
|
|
114
|
+
}, [
|
|
115
|
+
c("div", oe, [
|
|
116
|
+
(o(!0), d(N, null, A(t.node.children, (p) => (o(), V(F, {
|
|
117
|
+
key: p.key,
|
|
118
|
+
node: p,
|
|
119
|
+
"selected-keys": t.selectedKeys,
|
|
120
|
+
"expanded-keys": t.expandedKeys,
|
|
121
|
+
"search-text": t.searchText,
|
|
122
|
+
"focused-key": t.focusedKey,
|
|
123
|
+
level: t.level + 1,
|
|
124
|
+
onToggleExpand: r[0] || (r[0] = (h) => y("toggle-expand", h)),
|
|
125
|
+
onSelect: r[1] || (r[1] = (h) => y("select", h))
|
|
126
|
+
}, null, 8, ["node", "selected-keys", "expanded-keys", "search-text", "focused-key", "level"]))), 128))
|
|
127
|
+
])
|
|
128
|
+
], 2)) : f("", !0)
|
|
129
|
+
], 14, ee)) : f("", !0);
|
|
130
|
+
}
|
|
131
|
+
}), F = /* @__PURE__ */ D(se, [["__scopeId", "data-v-94118851"]]), de = ["aria-label", "aria-activedescendant"], re = {
|
|
132
|
+
key: 0,
|
|
133
|
+
class: "nm-tree__search"
|
|
134
|
+
}, ce = ["placeholder", "value"], ie = ["aria-label"], ue = {
|
|
135
|
+
key: 1,
|
|
136
|
+
class: "nm-tree__actions"
|
|
137
|
+
}, me = {
|
|
138
|
+
class: "nm-tree__list",
|
|
139
|
+
role: "group"
|
|
140
|
+
}, pe = {
|
|
141
|
+
key: 2,
|
|
142
|
+
class: "nm-tree__empty"
|
|
143
|
+
}, he = /* @__PURE__ */ R({
|
|
144
|
+
__name: "NeumorphismTree",
|
|
145
|
+
props: {
|
|
146
|
+
data: {},
|
|
147
|
+
selectedKeys: { default: () => [] },
|
|
148
|
+
expandedKeys: { default: () => [] },
|
|
149
|
+
searchPlaceholder: { default: "搜索..." },
|
|
150
|
+
showSearch: { type: Boolean, default: !1 },
|
|
151
|
+
multiple: { type: Boolean, default: !1 }
|
|
152
|
+
},
|
|
153
|
+
emits: ["update:selectedKeys", "update:expandedKeys", "node-click", "node-select"],
|
|
154
|
+
setup(t, { emit: L }) {
|
|
155
|
+
const e = t, { config: y, resolveProp: m } = Z(), b = s(
|
|
156
|
+
() => {
|
|
157
|
+
var l;
|
|
158
|
+
return m(e.showSearch, (l = y.value.tree) == null ? void 0 : l.showSearch, !1);
|
|
159
|
+
}
|
|
160
|
+
), B = s(
|
|
161
|
+
() => {
|
|
162
|
+
var l;
|
|
163
|
+
return m(e.multiple, (l = y.value.tree) == null ? void 0 : l.multiple, !1);
|
|
164
|
+
}
|
|
165
|
+
), v = s(
|
|
166
|
+
() => {
|
|
167
|
+
var l;
|
|
168
|
+
return m(e.searchPlaceholder, (l = y.value.tree) == null ? void 0 : l.searchPlaceholder, "搜索...");
|
|
169
|
+
}
|
|
170
|
+
), u = L, C = s({
|
|
171
|
+
get: () => e.selectedKeys,
|
|
172
|
+
set: (l) => u("update:selectedKeys", l)
|
|
173
|
+
}), S = s({
|
|
174
|
+
get: () => e.expandedKeys,
|
|
175
|
+
set: (l) => u("update:expandedKeys", l)
|
|
176
|
+
}), {
|
|
177
|
+
localExpandedKeys: w,
|
|
178
|
+
localSelectedKeys: T,
|
|
179
|
+
searchText: $,
|
|
180
|
+
focusedKey: _,
|
|
181
|
+
toggleExpand: E,
|
|
182
|
+
select: n,
|
|
183
|
+
findNode: r,
|
|
184
|
+
expandAll: p,
|
|
185
|
+
collapseAll: h,
|
|
186
|
+
onSearchInput: M,
|
|
187
|
+
handleKeydown: I
|
|
188
|
+
} = Y({
|
|
189
|
+
data: s(() => e.data),
|
|
190
|
+
selectedKeys: C,
|
|
191
|
+
expandedKeys: S,
|
|
192
|
+
multiple: s(() => B.value)
|
|
193
|
+
}), P = $;
|
|
194
|
+
function j(l) {
|
|
195
|
+
n(l), u("node-select", l);
|
|
196
|
+
const i = r(e.data, l);
|
|
197
|
+
i && u("node-click", i);
|
|
198
|
+
}
|
|
199
|
+
const { t: K } = z();
|
|
200
|
+
function q(l) {
|
|
201
|
+
E(l), u("update:expandedKeys", [...w.value]);
|
|
202
|
+
}
|
|
203
|
+
function G() {
|
|
204
|
+
p(), u("update:expandedKeys", [...w.value]);
|
|
205
|
+
}
|
|
206
|
+
function H() {
|
|
207
|
+
h(), u("update:expandedKeys", []);
|
|
208
|
+
}
|
|
209
|
+
const J = s(
|
|
210
|
+
() => _.value ? `nm-tree-node-${_.value}` : void 0
|
|
211
|
+
), O = s(() => ["nm-tree"]);
|
|
212
|
+
return (l, i) => (o(), d("div", {
|
|
213
|
+
class: k(O.value),
|
|
214
|
+
role: "tree",
|
|
215
|
+
tabindex: "0",
|
|
216
|
+
"aria-label": a(K)("treeLabel"),
|
|
217
|
+
"aria-activedescendant": J.value,
|
|
218
|
+
onKeydown: i[2] || (i[2] = //@ts-ignore
|
|
219
|
+
(...x) => a(I) && a(I)(...x))
|
|
220
|
+
}, [
|
|
221
|
+
b.value ? (o(), d("div", re, [
|
|
222
|
+
i[4] || (i[4] = c("svg", {
|
|
223
|
+
class: "nm-tree__search-icon",
|
|
224
|
+
viewBox: "0 0 24 24",
|
|
225
|
+
fill: "none",
|
|
226
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
227
|
+
}, [
|
|
228
|
+
c("circle", {
|
|
229
|
+
cx: "11",
|
|
230
|
+
cy: "11",
|
|
231
|
+
r: "8",
|
|
232
|
+
stroke: "currentColor",
|
|
233
|
+
"stroke-width": "2"
|
|
234
|
+
}),
|
|
235
|
+
c("path", {
|
|
236
|
+
d: "M21 21l-4.35-4.35",
|
|
237
|
+
stroke: "currentColor",
|
|
238
|
+
"stroke-width": "2",
|
|
239
|
+
"stroke-linecap": "round"
|
|
240
|
+
})
|
|
241
|
+
], -1)),
|
|
242
|
+
c("input", {
|
|
243
|
+
type: "text",
|
|
244
|
+
class: "nm-tree__search-input",
|
|
245
|
+
placeholder: v.value,
|
|
246
|
+
value: a(P),
|
|
247
|
+
onInput: i[0] || (i[0] = (x) => a(M)(x.target.value))
|
|
248
|
+
}, null, 40, ce),
|
|
249
|
+
a(P) ? (o(), d("button", {
|
|
250
|
+
key: 0,
|
|
251
|
+
type: "button",
|
|
252
|
+
class: "nm-tree__search-clear",
|
|
253
|
+
"aria-label": a(K)("treeClearSearch"),
|
|
254
|
+
onClick: i[1] || (i[1] = (x) => a(M)(""))
|
|
255
|
+
}, [...i[3] || (i[3] = [
|
|
256
|
+
c("svg", {
|
|
257
|
+
viewBox: "0 0 24 24",
|
|
258
|
+
fill: "none",
|
|
259
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
260
|
+
}, [
|
|
261
|
+
c("path", {
|
|
262
|
+
d: "M18 6L6 18M6 6l12 12",
|
|
263
|
+
stroke: "currentColor",
|
|
264
|
+
"stroke-width": "2",
|
|
265
|
+
"stroke-linecap": "round"
|
|
266
|
+
})
|
|
267
|
+
], -1)
|
|
268
|
+
])], 8, ie)) : f("", !0)
|
|
269
|
+
])) : f("", !0),
|
|
270
|
+
t.data.length > 0 ? (o(), d("div", ue, [
|
|
271
|
+
c("button", {
|
|
272
|
+
type: "button",
|
|
273
|
+
class: "nm-tree__action-btn",
|
|
274
|
+
onClick: G
|
|
275
|
+
}, g(a(K)("treeExpandAll")), 1),
|
|
276
|
+
c("button", {
|
|
277
|
+
type: "button",
|
|
278
|
+
class: "nm-tree__action-btn",
|
|
279
|
+
onClick: H
|
|
280
|
+
}, g(a(K)("treeCollapseAll")), 1)
|
|
281
|
+
])) : f("", !0),
|
|
282
|
+
c("ul", me, [
|
|
283
|
+
(o(!0), d(N, null, A(t.data, (x) => (o(), V(F, {
|
|
284
|
+
key: x.key,
|
|
285
|
+
node: x,
|
|
286
|
+
"selected-keys": a(T),
|
|
287
|
+
"expanded-keys": a(w),
|
|
288
|
+
"search-text": a(P),
|
|
289
|
+
"focused-key": a(_),
|
|
290
|
+
level: 0,
|
|
291
|
+
onToggleExpand: q,
|
|
292
|
+
onSelect: j
|
|
293
|
+
}, null, 8, ["node", "selected-keys", "expanded-keys", "search-text", "focused-key"]))), 128))
|
|
294
|
+
]),
|
|
295
|
+
t.data.length === 0 ? (o(), d("div", pe, g(a(K)("treeEmpty")), 1)) : f("", !0)
|
|
296
|
+
], 42, de));
|
|
297
|
+
}
|
|
298
|
+
}), ge = /* @__PURE__ */ D(he, [["__scopeId", "data-v-d0ca121b"]]);
|
|
299
|
+
export {
|
|
300
|
+
ge as N,
|
|
301
|
+
F as a
|
|
302
|
+
};
|