@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,176 @@
|
|
|
1
|
+
import { defineComponent as Z, computed as n, openBlock as v, createElementBlock as p, normalizeStyle as c, normalizeClass as M, createElementVNode as e, unref as u, toDisplayString as B, renderSlot as h, createCommentVNode as N } from "vue";
|
|
2
|
+
import { useLocale as V } from "../composables/useLocale.js";
|
|
3
|
+
import { u as G } from "./createComponent-jnXBYqCm.js";
|
|
4
|
+
import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import '../NeumorphismCanvas.css';const I = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "nm-canvas__toolbar"
|
|
8
|
+
}, L = { class: "nm-canvas__controls" }, O = ["aria-label", "disabled"], P = { class: "nm-canvas__zoom-text" }, j = ["aria-label", "disabled"], E = ["aria-label"], F = { class: "nm-canvas__viewport" }, D = /* @__PURE__ */ Z({
|
|
9
|
+
__name: "NeumorphismCanvas",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: { default: 1 },
|
|
12
|
+
minZoom: { default: 0.1 },
|
|
13
|
+
maxZoom: { default: 5 },
|
|
14
|
+
zoomStep: { default: 0.1 },
|
|
15
|
+
showGrid: { type: Boolean, default: !0 },
|
|
16
|
+
gridSize: { default: 20 },
|
|
17
|
+
showControls: { type: Boolean, default: !0 },
|
|
18
|
+
width: { default: "100%" },
|
|
19
|
+
height: { default: "500px" }
|
|
20
|
+
},
|
|
21
|
+
emits: ["update:modelValue", "zoom-change"],
|
|
22
|
+
setup(r, { emit: w }) {
|
|
23
|
+
const t = r, { config: l, resolveProp: i } = G(), _ = n(
|
|
24
|
+
() => {
|
|
25
|
+
var o;
|
|
26
|
+
return i(t.showGrid, (o = l.value.canvas) == null ? void 0 : o.showGrid, !0);
|
|
27
|
+
}
|
|
28
|
+
), f = n(
|
|
29
|
+
() => {
|
|
30
|
+
var o;
|
|
31
|
+
return i(t.gridSize, (o = l.value.canvas) == null ? void 0 : o.gridSize, 20);
|
|
32
|
+
}
|
|
33
|
+
), g = n(
|
|
34
|
+
() => {
|
|
35
|
+
var o;
|
|
36
|
+
return i(t.showControls, (o = l.value.canvas) == null ? void 0 : o.showControls, !0);
|
|
37
|
+
}
|
|
38
|
+
), m = w, { t: d } = V(), a = n({
|
|
39
|
+
get: () => t.modelValue,
|
|
40
|
+
set: (o) => {
|
|
41
|
+
m("update:modelValue", o), m("zoom-change", o);
|
|
42
|
+
}
|
|
43
|
+
}), k = n(() => Math.round(a.value * 100));
|
|
44
|
+
function b() {
|
|
45
|
+
a.value = Math.min(t.maxZoom, +(a.value + t.zoomStep).toFixed(2));
|
|
46
|
+
}
|
|
47
|
+
function x() {
|
|
48
|
+
a.value = Math.max(t.minZoom, +(a.value - t.zoomStep).toFixed(2));
|
|
49
|
+
}
|
|
50
|
+
function C() {
|
|
51
|
+
a.value = 1;
|
|
52
|
+
}
|
|
53
|
+
const z = n(() => {
|
|
54
|
+
if (!_.value) return {};
|
|
55
|
+
const o = f.value * a.value;
|
|
56
|
+
return {
|
|
57
|
+
backgroundImage: `
|
|
58
|
+
radial-gradient(circle, var(--nm-text-placeholder) 1px, transparent 1px)
|
|
59
|
+
`,
|
|
60
|
+
backgroundSize: `${o}px ${o}px`,
|
|
61
|
+
backgroundPosition: "0 0"
|
|
62
|
+
};
|
|
63
|
+
}), S = n(() => ({
|
|
64
|
+
width: t.width,
|
|
65
|
+
height: t.height
|
|
66
|
+
})), y = n(() => ["nm-canvas"]);
|
|
67
|
+
return (o, s) => (v(), p("div", {
|
|
68
|
+
class: M(y.value),
|
|
69
|
+
style: c(S.value)
|
|
70
|
+
}, [
|
|
71
|
+
g.value ? (v(), p("div", I, [
|
|
72
|
+
e("div", L, [
|
|
73
|
+
e("button", {
|
|
74
|
+
type: "button",
|
|
75
|
+
class: "nm-canvas__btn",
|
|
76
|
+
"aria-label": u(d)("canvasZoomOut"),
|
|
77
|
+
disabled: a.value <= r.minZoom,
|
|
78
|
+
onClick: x
|
|
79
|
+
}, [...s[0] || (s[0] = [
|
|
80
|
+
e("svg", {
|
|
81
|
+
viewBox: "0 0 24 24",
|
|
82
|
+
fill: "none",
|
|
83
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
84
|
+
}, [
|
|
85
|
+
e("circle", {
|
|
86
|
+
cx: "11",
|
|
87
|
+
cy: "11",
|
|
88
|
+
r: "8",
|
|
89
|
+
stroke: "currentColor",
|
|
90
|
+
"stroke-width": "2"
|
|
91
|
+
}),
|
|
92
|
+
e("path", {
|
|
93
|
+
d: "M8 11h6M21 21l-4.35-4.35",
|
|
94
|
+
stroke: "currentColor",
|
|
95
|
+
"stroke-width": "2",
|
|
96
|
+
"stroke-linecap": "round"
|
|
97
|
+
})
|
|
98
|
+
], -1)
|
|
99
|
+
])], 8, O),
|
|
100
|
+
e("span", P, B(k.value) + "%", 1),
|
|
101
|
+
e("button", {
|
|
102
|
+
type: "button",
|
|
103
|
+
class: "nm-canvas__btn",
|
|
104
|
+
"aria-label": u(d)("canvasZoomIn"),
|
|
105
|
+
disabled: a.value >= r.maxZoom,
|
|
106
|
+
onClick: b
|
|
107
|
+
}, [...s[1] || (s[1] = [
|
|
108
|
+
e("svg", {
|
|
109
|
+
viewBox: "0 0 24 24",
|
|
110
|
+
fill: "none",
|
|
111
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
112
|
+
}, [
|
|
113
|
+
e("circle", {
|
|
114
|
+
cx: "11",
|
|
115
|
+
cy: "11",
|
|
116
|
+
r: "8",
|
|
117
|
+
stroke: "currentColor",
|
|
118
|
+
"stroke-width": "2"
|
|
119
|
+
}),
|
|
120
|
+
e("path", {
|
|
121
|
+
d: "M11 8v6M8 11h6M21 21l-4.35-4.35",
|
|
122
|
+
stroke: "currentColor",
|
|
123
|
+
"stroke-width": "2",
|
|
124
|
+
"stroke-linecap": "round"
|
|
125
|
+
})
|
|
126
|
+
], -1)
|
|
127
|
+
])], 8, j),
|
|
128
|
+
e("button", {
|
|
129
|
+
type: "button",
|
|
130
|
+
class: "nm-canvas__btn nm-canvas__btn--reset",
|
|
131
|
+
"aria-label": u(d)("canvasZoomReset"),
|
|
132
|
+
onClick: C
|
|
133
|
+
}, [...s[2] || (s[2] = [
|
|
134
|
+
e("svg", {
|
|
135
|
+
viewBox: "0 0 24 24",
|
|
136
|
+
fill: "none",
|
|
137
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
138
|
+
}, [
|
|
139
|
+
e("path", {
|
|
140
|
+
d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",
|
|
141
|
+
stroke: "currentColor",
|
|
142
|
+
"stroke-width": "2",
|
|
143
|
+
"stroke-linecap": "round",
|
|
144
|
+
"stroke-linejoin": "round"
|
|
145
|
+
}),
|
|
146
|
+
e("path", {
|
|
147
|
+
d: "M3 3v5h5",
|
|
148
|
+
stroke: "currentColor",
|
|
149
|
+
"stroke-width": "2",
|
|
150
|
+
"stroke-linecap": "round",
|
|
151
|
+
"stroke-linejoin": "round"
|
|
152
|
+
})
|
|
153
|
+
], -1)
|
|
154
|
+
])], 8, E)
|
|
155
|
+
]),
|
|
156
|
+
h(o.$slots, "toolbar", {}, void 0, !0)
|
|
157
|
+
])) : N("", !0),
|
|
158
|
+
e("div", F, [
|
|
159
|
+
e("div", {
|
|
160
|
+
class: "nm-canvas__grid",
|
|
161
|
+
style: c(z.value)
|
|
162
|
+
}, [
|
|
163
|
+
e("div", {
|
|
164
|
+
class: "nm-canvas__content",
|
|
165
|
+
style: c({ transform: `scale(${a.value})`, transformOrigin: "top left" })
|
|
166
|
+
}, [
|
|
167
|
+
h(o.$slots, "default", {}, void 0, !0)
|
|
168
|
+
], 4)
|
|
169
|
+
], 4)
|
|
170
|
+
])
|
|
171
|
+
], 6));
|
|
172
|
+
}
|
|
173
|
+
}), J = /* @__PURE__ */ $(D, [["__scopeId", "data-v-8b77d958"]]);
|
|
174
|
+
export {
|
|
175
|
+
J as N
|
|
176
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { defineComponent as _, computed as r, openBlock as s, createElementBlock as t, normalizeClass as f, renderSlot as d, createCommentVNode as i, createElementVNode as h } from "vue";
|
|
2
|
+
import { u as g } from "./createComponent-jnXBYqCm.js";
|
|
3
|
+
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import '../NeumorphismCard.css';const N = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "nm-card__header"
|
|
7
|
+
}, $ = { class: "nm-card__body" }, k = {
|
|
8
|
+
key: 1,
|
|
9
|
+
class: "nm-card__footer"
|
|
10
|
+
}, y = /* @__PURE__ */ _({
|
|
11
|
+
__name: "NeumorphismCard",
|
|
12
|
+
props: {
|
|
13
|
+
elevation: {},
|
|
14
|
+
variant: {},
|
|
15
|
+
depth: {},
|
|
16
|
+
radius: { default: "large" },
|
|
17
|
+
noPadding: { type: Boolean, default: !1 },
|
|
18
|
+
hoverable: { type: [Boolean, String], default: !1 }
|
|
19
|
+
},
|
|
20
|
+
setup(u) {
|
|
21
|
+
const c = {
|
|
22
|
+
shallow: 1,
|
|
23
|
+
medium: 2,
|
|
24
|
+
deep: 3,
|
|
25
|
+
"very-deep": 4
|
|
26
|
+
}, o = u, { config: n, resolveProp: l } = g(), m = r(() => {
|
|
27
|
+
var e;
|
|
28
|
+
return l(o.radius, (e = n.value.card) == null ? void 0 : e.radius, "large");
|
|
29
|
+
}), a = r(
|
|
30
|
+
() => {
|
|
31
|
+
var e;
|
|
32
|
+
return l(o.hoverable, (e = n.value.card) == null ? void 0 : e.hoverable, !1);
|
|
33
|
+
}
|
|
34
|
+
), v = r(() => {
|
|
35
|
+
if (o.elevation !== void 0) return o.elevation;
|
|
36
|
+
const e = c[o.depth ?? "medium"];
|
|
37
|
+
return o.variant === "pressed" ? -e : e;
|
|
38
|
+
}), p = r(() => [
|
|
39
|
+
"nm-card",
|
|
40
|
+
`nm-card--elevation-${v.value}`,
|
|
41
|
+
`nm-card--radius-${m.value}`,
|
|
42
|
+
{
|
|
43
|
+
"nm-card--no-padding": o.noPadding,
|
|
44
|
+
"nm-card--hoverable": !!a.value,
|
|
45
|
+
"nm-card--hover-bulge": a.value === !0 || a.value === "bulge",
|
|
46
|
+
"nm-card--hover-sink": a.value === "sink"
|
|
47
|
+
}
|
|
48
|
+
]);
|
|
49
|
+
return (e, C) => (s(), t("div", {
|
|
50
|
+
class: f(p.value)
|
|
51
|
+
}, [
|
|
52
|
+
e.$slots.header ? (s(), t("div", N, [
|
|
53
|
+
d(e.$slots, "header", {}, void 0, !0)
|
|
54
|
+
])) : i("", !0),
|
|
55
|
+
h("div", $, [
|
|
56
|
+
d(e.$slots, "default", {}, void 0, !0)
|
|
57
|
+
]),
|
|
58
|
+
e.$slots.footer ? (s(), t("div", k, [
|
|
59
|
+
d(e.$slots, "footer", {}, void 0, !0)
|
|
60
|
+
])) : i("", !0)
|
|
61
|
+
], 2));
|
|
62
|
+
}
|
|
63
|
+
}), S = /* @__PURE__ */ b(y, [["__scopeId", "data-v-af9ed606"]]);
|
|
64
|
+
export {
|
|
65
|
+
S as N
|
|
66
|
+
};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { defineComponent as C, computed as u, useAttrs as g, ref as z, watch as B, openBlock as r, createElementBlock as c, unref as n, normalizeStyle as N, normalizeClass as V, createElementVNode as a, mergeProps as w, createCommentVNode as h, renderSlot as S, createTextVNode as A, toDisplayString as D } from "vue";
|
|
2
|
+
import { useCheckable as j } from "../composables/useCheckable.js";
|
|
3
|
+
import { u as E } from "./createComponent-jnXBYqCm.js";
|
|
4
|
+
import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import '../NeumorphismCheckbox.css';const L = ["for"], M = { class: "nm-checkbox__input-wrapper" }, P = ["id", "checked", "disabled", "name"], R = {
|
|
6
|
+
class: "nm-checkbox__box",
|
|
7
|
+
"aria-hidden": "true"
|
|
8
|
+
}, $ = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "nm-checkbox__icon",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
fill: "none"
|
|
13
|
+
}, H = {
|
|
14
|
+
key: 1,
|
|
15
|
+
class: "nm-checkbox__icon",
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
fill: "none"
|
|
18
|
+
}, O = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "nm-checkbox__label"
|
|
21
|
+
}, T = /* @__PURE__ */ C({
|
|
22
|
+
inheritAttrs: !1,
|
|
23
|
+
__name: "NeumorphismCheckbox",
|
|
24
|
+
props: {
|
|
25
|
+
modelValue: { type: Boolean, default: !1 },
|
|
26
|
+
disabled: { type: Boolean, default: !1 },
|
|
27
|
+
label: {},
|
|
28
|
+
size: { default: "medium" },
|
|
29
|
+
name: {},
|
|
30
|
+
id: {},
|
|
31
|
+
indeterminate: { type: Boolean, default: !1 }
|
|
32
|
+
},
|
|
33
|
+
emits: ["update:modelValue", "change"],
|
|
34
|
+
setup(o, { emit: p }) {
|
|
35
|
+
const s = o, { config: k, resolveProp: b } = E(), _ = u(() => {
|
|
36
|
+
var e;
|
|
37
|
+
return b(s.size, (e = k.value.checkbox) == null ? void 0 : e.size, "medium");
|
|
38
|
+
}), m = p, l = u({
|
|
39
|
+
get: () => s.modelValue,
|
|
40
|
+
set: (e) => {
|
|
41
|
+
s.disabled || (m("update:modelValue", e), m("change", e));
|
|
42
|
+
}
|
|
43
|
+
}), i = g(), d = z(), x = u(() => {
|
|
44
|
+
const e = {};
|
|
45
|
+
for (const t of Object.keys(i))
|
|
46
|
+
t !== "class" && t !== "style" && (e[t] = i[t]);
|
|
47
|
+
return e;
|
|
48
|
+
}), { inputId: f, classList: v } = j(() => ({
|
|
49
|
+
prefix: "checkbox",
|
|
50
|
+
isChecked: l.value,
|
|
51
|
+
isDisabled: s.disabled,
|
|
52
|
+
size: _.value,
|
|
53
|
+
extraClasses: { "nm-checkbox--indeterminate": s.indeterminate }
|
|
54
|
+
}));
|
|
55
|
+
B(
|
|
56
|
+
() => s.indeterminate,
|
|
57
|
+
(e) => {
|
|
58
|
+
d.value && (d.value.indeterminate = e);
|
|
59
|
+
},
|
|
60
|
+
{ immediate: !0 }
|
|
61
|
+
);
|
|
62
|
+
function y(e) {
|
|
63
|
+
if (s.disabled) {
|
|
64
|
+
e.preventDefault();
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
l.value = e.target.checked;
|
|
68
|
+
}
|
|
69
|
+
return (e, t) => (r(), c("label", {
|
|
70
|
+
class: V([n(v), n(i).class]),
|
|
71
|
+
style: N(n(i).style),
|
|
72
|
+
for: n(f)
|
|
73
|
+
}, [
|
|
74
|
+
a("span", M, [
|
|
75
|
+
a("input", w({
|
|
76
|
+
id: n(f),
|
|
77
|
+
ref_key: "inputRef",
|
|
78
|
+
ref: d,
|
|
79
|
+
type: "checkbox",
|
|
80
|
+
class: "nm-checkbox__input",
|
|
81
|
+
checked: l.value,
|
|
82
|
+
disabled: o.disabled,
|
|
83
|
+
name: o.name
|
|
84
|
+
}, x.value, { onChange: y }), null, 16, P),
|
|
85
|
+
a("span", R, [
|
|
86
|
+
o.indeterminate ? (r(), c("svg", $, [...t[0] || (t[0] = [
|
|
87
|
+
a("path", {
|
|
88
|
+
d: "M5 12H19",
|
|
89
|
+
stroke: "currentColor",
|
|
90
|
+
"stroke-width": "3",
|
|
91
|
+
"stroke-linecap": "round"
|
|
92
|
+
}, null, -1)
|
|
93
|
+
])])) : l.value ? (r(), c("svg", H, [...t[1] || (t[1] = [
|
|
94
|
+
a("path", {
|
|
95
|
+
d: "M5 13l4 4L19 7",
|
|
96
|
+
stroke: "currentColor",
|
|
97
|
+
"stroke-width": "3",
|
|
98
|
+
"stroke-linecap": "round",
|
|
99
|
+
"stroke-linejoin": "round"
|
|
100
|
+
}, null, -1)
|
|
101
|
+
])])) : h("", !0)
|
|
102
|
+
])
|
|
103
|
+
]),
|
|
104
|
+
o.label || e.$slots.default ? (r(), c("span", O, [
|
|
105
|
+
S(e.$slots, "default", {}, () => [
|
|
106
|
+
A(D(o.label), 1)
|
|
107
|
+
], !0)
|
|
108
|
+
])) : h("", !0)
|
|
109
|
+
], 14, L));
|
|
110
|
+
}
|
|
111
|
+
}), K = /* @__PURE__ */ I(T, [["__scopeId", "data-v-1d2ef216"]]);
|
|
112
|
+
export {
|
|
113
|
+
K as N
|
|
114
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { defineComponent as m, computed as r, provide as N, openBlock as v, createElementBlock as f, normalizeStyle as g, normalizeClass as x, renderSlot as y, inject as b } from "vue";
|
|
2
|
+
import { RowGutterKey as _ } from "../composables/injectionKeys.js";
|
|
3
|
+
import { u as A } from "./createComponent-jnXBYqCm.js";
|
|
4
|
+
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import '../NeumorphismCol.css';const B = /* @__PURE__ */ m({
|
|
6
|
+
__name: "NeumorphismRow",
|
|
7
|
+
props: {
|
|
8
|
+
gutter: { default: 0 },
|
|
9
|
+
justify: { default: "start" },
|
|
10
|
+
align: { default: "stretch" },
|
|
11
|
+
wrap: { type: Boolean, default: !0 }
|
|
12
|
+
},
|
|
13
|
+
setup(c) {
|
|
14
|
+
const t = c, { config: l, resolveProp: s } = A(), a = r(() => {
|
|
15
|
+
var e;
|
|
16
|
+
return s(t.gutter, (e = l.value.grid) == null ? void 0 : e.gutter, 0);
|
|
17
|
+
}), i = r(
|
|
18
|
+
() => {
|
|
19
|
+
var e;
|
|
20
|
+
return s(t.justify, (e = l.value.grid) == null ? void 0 : e.justify, "start");
|
|
21
|
+
}
|
|
22
|
+
), n = r(() => {
|
|
23
|
+
var e;
|
|
24
|
+
return s(t.align, (e = l.value.grid) == null ? void 0 : e.align, "stretch");
|
|
25
|
+
}), o = r(() => {
|
|
26
|
+
var e;
|
|
27
|
+
return s(t.wrap, (e = l.value.grid) == null ? void 0 : e.wrap, !0);
|
|
28
|
+
}), p = r(
|
|
29
|
+
() => Array.isArray(a.value) ? a.value[0] : a.value
|
|
30
|
+
), d = r(
|
|
31
|
+
() => Array.isArray(a.value) ? a.value[1] : a.value
|
|
32
|
+
);
|
|
33
|
+
N(_, { x: p, y: d });
|
|
34
|
+
const w = {
|
|
35
|
+
start: "flex-start",
|
|
36
|
+
center: "center",
|
|
37
|
+
end: "flex-end",
|
|
38
|
+
"space-between": "space-between",
|
|
39
|
+
"space-around": "space-around",
|
|
40
|
+
"space-evenly": "space-evenly"
|
|
41
|
+
}, $ = {
|
|
42
|
+
start: "flex-start",
|
|
43
|
+
center: "center",
|
|
44
|
+
end: "flex-end",
|
|
45
|
+
stretch: "stretch",
|
|
46
|
+
baseline: "baseline"
|
|
47
|
+
}, j = r(() => {
|
|
48
|
+
const e = p.value, u = d.value;
|
|
49
|
+
if (!(e === 0 && u === 0))
|
|
50
|
+
return {
|
|
51
|
+
marginLeft: e ? `${-e / 2}px` : void 0,
|
|
52
|
+
marginRight: e ? `${-e / 2}px` : void 0,
|
|
53
|
+
rowGap: u ? `${u}px` : void 0
|
|
54
|
+
};
|
|
55
|
+
}), C = r(() => ["nm-row", { "nm-row--nowrap": !o.value }]);
|
|
56
|
+
return (e, u) => (v(), f("div", {
|
|
57
|
+
class: x(C.value),
|
|
58
|
+
style: g([
|
|
59
|
+
j.value,
|
|
60
|
+
{ justifyContent: w[i.value], alignItems: $[n.value] }
|
|
61
|
+
])
|
|
62
|
+
}, [
|
|
63
|
+
y(e.$slots, "default", {}, void 0, !0)
|
|
64
|
+
], 6));
|
|
65
|
+
}
|
|
66
|
+
}), k = /* @__PURE__ */ h(B, [["__scopeId", "data-v-f8bc1d4d"]]), R = /* @__PURE__ */ m({
|
|
67
|
+
__name: "NeumorphismCol",
|
|
68
|
+
props: {
|
|
69
|
+
span: { default: 24 },
|
|
70
|
+
offset: {},
|
|
71
|
+
xs: {},
|
|
72
|
+
sm: {},
|
|
73
|
+
md: {},
|
|
74
|
+
lg: {},
|
|
75
|
+
xl: {},
|
|
76
|
+
xxl: {}
|
|
77
|
+
},
|
|
78
|
+
setup(c) {
|
|
79
|
+
const t = c, l = b(_, {
|
|
80
|
+
x: r(() => 0),
|
|
81
|
+
y: r(() => 0)
|
|
82
|
+
});
|
|
83
|
+
function s(n, o) {
|
|
84
|
+
return o === void 0 || o === "" ? "" : `${n}${o}`;
|
|
85
|
+
}
|
|
86
|
+
const a = r(() => [
|
|
87
|
+
s("nm-col-", t.span),
|
|
88
|
+
s("nm-col-offset-", t.offset),
|
|
89
|
+
s("nm-col-xs-", t.xs),
|
|
90
|
+
s("nm-col-sm-", t.sm),
|
|
91
|
+
s("nm-col-md-", t.md),
|
|
92
|
+
s("nm-col-lg-", t.lg),
|
|
93
|
+
s("nm-col-xl-", t.xl),
|
|
94
|
+
s("nm-col-xxl-", t.xxl),
|
|
95
|
+
"nm-col"
|
|
96
|
+
].filter(Boolean)), i = r(() => {
|
|
97
|
+
const n = l.x.value, o = l.y.value;
|
|
98
|
+
if (!(n === 0 && o === 0))
|
|
99
|
+
return {
|
|
100
|
+
paddingLeft: n ? `${n / 2}px` : void 0,
|
|
101
|
+
paddingRight: n ? `${n / 2}px` : void 0,
|
|
102
|
+
paddingTop: o ? `${o / 2}px` : void 0,
|
|
103
|
+
paddingBottom: o ? `${o / 2}px` : void 0
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
return (n, o) => (v(), f("div", {
|
|
107
|
+
class: x(a.value),
|
|
108
|
+
style: g(i.value)
|
|
109
|
+
}, [
|
|
110
|
+
y(n.$slots, "default", {}, void 0, !0)
|
|
111
|
+
], 6));
|
|
112
|
+
}
|
|
113
|
+
}), z = /* @__PURE__ */ h(R, [["__scopeId", "data-v-c367585e"]]);
|
|
114
|
+
export {
|
|
115
|
+
z as N,
|
|
116
|
+
k as a
|
|
117
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { defineComponent as C, computed as a, openBlock as i, createElementBlock as r, normalizeClass as d, Fragment as V, renderList as z, unref as o, createElementVNode as s, renderSlot as h, toDisplayString as N } from "vue";
|
|
2
|
+
import { useCollapse as x } from "../composables/useCollapse.js";
|
|
3
|
+
import { generateId as B } from "../utils/index.js";
|
|
4
|
+
import { u as S } from "./createComponent-jnXBYqCm.js";
|
|
5
|
+
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
import '../NeumorphismCollapse.css';const I = { class: "nm-collapse__header" }, A = ["id", "aria-expanded", "aria-controls", "aria-disabled", "disabled", "onClick"], E = { class: "nm-collapse__title" }, L = ["id", "aria-labelledby"], D = { class: "nm-collapse__content" }, F = { class: "nm-collapse__content-inner" }, K = /* @__PURE__ */ C({
|
|
7
|
+
__name: "NeumorphismCollapse",
|
|
8
|
+
props: {
|
|
9
|
+
modelValue: { default: () => [] },
|
|
10
|
+
accordion: { type: Boolean, default: !1 },
|
|
11
|
+
items: { default: () => [] },
|
|
12
|
+
size: { default: "medium" }
|
|
13
|
+
},
|
|
14
|
+
emits: ["update:modelValue", "change"],
|
|
15
|
+
setup(p, { emit: k }) {
|
|
16
|
+
const t = p, { config: m, resolveProp: _ } = S(), y = a(() => {
|
|
17
|
+
var l;
|
|
18
|
+
return _(t.size, (l = m.value.collapse) == null ? void 0 : l.size, "medium");
|
|
19
|
+
}), b = a(
|
|
20
|
+
() => {
|
|
21
|
+
var l;
|
|
22
|
+
return _(t.accordion, (l = m.value.collapse) == null ? void 0 : l.accordion, !1);
|
|
23
|
+
}
|
|
24
|
+
), u = k, f = a({
|
|
25
|
+
get: () => t.modelValue,
|
|
26
|
+
set: (l) => {
|
|
27
|
+
u("update:modelValue", l), u("change", l);
|
|
28
|
+
}
|
|
29
|
+
}), { toggle: g, isActive: n } = x({
|
|
30
|
+
modelValue: f,
|
|
31
|
+
items: a(() => t.items),
|
|
32
|
+
accordion: a(() => b.value)
|
|
33
|
+
}), c = B("nm-collapse"), $ = a(() => ["nm-collapse", `nm-collapse--${y.value}`]);
|
|
34
|
+
return (l, v) => (i(), r("div", {
|
|
35
|
+
class: d($.value)
|
|
36
|
+
}, [
|
|
37
|
+
(i(!0), r(V, null, z(p.items, (e) => (i(), r("div", {
|
|
38
|
+
key: e.key,
|
|
39
|
+
class: d(["nm-collapse__item", {
|
|
40
|
+
"nm-collapse__item--active": o(n)(e.key),
|
|
41
|
+
"nm-collapse__item--disabled": e.disabled
|
|
42
|
+
}])
|
|
43
|
+
}, [
|
|
44
|
+
s("h3", I, [
|
|
45
|
+
s("button", {
|
|
46
|
+
id: `${o(c)}-${e.key}-header`,
|
|
47
|
+
class: "nm-collapse__trigger",
|
|
48
|
+
type: "button",
|
|
49
|
+
"aria-expanded": o(n)(e.key),
|
|
50
|
+
"aria-controls": `${o(c)}-${e.key}-panel`,
|
|
51
|
+
"aria-disabled": e.disabled,
|
|
52
|
+
disabled: e.disabled,
|
|
53
|
+
onClick: (M) => o(g)(e.key)
|
|
54
|
+
}, [
|
|
55
|
+
h(l.$slots, `header-${e.key}`, {
|
|
56
|
+
item: e,
|
|
57
|
+
active: o(n)(e.key)
|
|
58
|
+
}, () => [
|
|
59
|
+
s("span", E, N(e.title), 1)
|
|
60
|
+
], !0),
|
|
61
|
+
s("span", {
|
|
62
|
+
class: d(["nm-collapse__icon", { "nm-collapse__icon--active": o(n)(e.key) }])
|
|
63
|
+
}, [...v[0] || (v[0] = [
|
|
64
|
+
s("svg", {
|
|
65
|
+
width: "14",
|
|
66
|
+
height: "14",
|
|
67
|
+
viewBox: "0 0 24 24",
|
|
68
|
+
fill: "none",
|
|
69
|
+
stroke: "currentColor",
|
|
70
|
+
"stroke-width": "2"
|
|
71
|
+
}, [
|
|
72
|
+
s("path", { d: "M6 9l6 6 6-6" })
|
|
73
|
+
], -1)
|
|
74
|
+
])], 2)
|
|
75
|
+
], 8, A)
|
|
76
|
+
]),
|
|
77
|
+
s("div", {
|
|
78
|
+
id: `${o(c)}-${e.key}-panel`,
|
|
79
|
+
class: d(["nm-collapse__panel", { "nm-collapse__panel--collapsed": !o(n)(e.key) }]),
|
|
80
|
+
role: "region",
|
|
81
|
+
"aria-labelledby": `${o(c)}-${e.key}-header`
|
|
82
|
+
}, [
|
|
83
|
+
s("div", D, [
|
|
84
|
+
s("div", F, [
|
|
85
|
+
h(l.$slots, e.key, {}, void 0, !0)
|
|
86
|
+
])
|
|
87
|
+
])
|
|
88
|
+
], 10, L)
|
|
89
|
+
], 2))), 128))
|
|
90
|
+
], 2));
|
|
91
|
+
}
|
|
92
|
+
}), J = /* @__PURE__ */ w(K, [["__scopeId", "data-v-b964b07b"]]);
|
|
93
|
+
export {
|
|
94
|
+
J as N
|
|
95
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent as d, computed as t, openBlock as c, createBlock as m, resolveDynamicComponent as l, normalizeClass as u, withCtx as p, renderSlot as f } from "vue";
|
|
2
|
+
import { u as v } from "./createComponent-jnXBYqCm.js";
|
|
3
|
+
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import '../NeumorphismContainer.css';const g = /* @__PURE__ */ d({
|
|
5
|
+
__name: "NeumorphismContainer",
|
|
6
|
+
props: {
|
|
7
|
+
mode: { default: "fixed" },
|
|
8
|
+
noPadding: { type: Boolean, default: !1 },
|
|
9
|
+
tag: { default: "div" }
|
|
10
|
+
},
|
|
11
|
+
setup(o) {
|
|
12
|
+
const n = o, { config: a, resolveProp: s } = v(), r = t(() => {
|
|
13
|
+
var e;
|
|
14
|
+
return s(n.mode, (e = a.value.container) == null ? void 0 : e.mode, "fixed");
|
|
15
|
+
}), i = t(() => [
|
|
16
|
+
"nm-container",
|
|
17
|
+
{ "nm-container--fluid": r.value === "fluid" },
|
|
18
|
+
{ "nm-container--no-padding": n.noPadding }
|
|
19
|
+
]);
|
|
20
|
+
return (e, C) => (c(), m(l(o.tag), {
|
|
21
|
+
class: u(i.value)
|
|
22
|
+
}, {
|
|
23
|
+
default: p(() => [
|
|
24
|
+
f(e.$slots, "default", {}, void 0, !0)
|
|
25
|
+
]),
|
|
26
|
+
_: 3
|
|
27
|
+
}, 8, ["class"]));
|
|
28
|
+
}
|
|
29
|
+
}), B = /* @__PURE__ */ _(g, [["__scopeId", "data-v-23995fcc"]]);
|
|
30
|
+
export {
|
|
31
|
+
B as N
|
|
32
|
+
};
|