@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,315 @@
|
|
|
1
|
+
import { defineComponent as re, computed as l, ref as L, watch as le, openBlock as c, createElementBlock as m, createVNode as h, unref as r, withCtx as F, createElementVNode as t, normalizeClass as f, toDisplayString as p, createCommentVNode as ie, Fragment as V, renderList as Y } from "vue";
|
|
2
|
+
import { useDatePicker as ne } from "../composables/useDatePicker.js";
|
|
3
|
+
import { useFormField as se } from "../composables/useFormField.js";
|
|
4
|
+
import { u as de } from "./createComponent-jnXBYqCm.js";
|
|
5
|
+
import { useLocale as ue } from "../composables/useLocale.js";
|
|
6
|
+
import { N as ce } from "./NeumorphismFieldLabel-CBF1nZs1.js";
|
|
7
|
+
import { N as me } from "./NeumorphismFieldError-BxamHjhs.js";
|
|
8
|
+
import { N as pe } from "./NeumorphismPopover-RB48cpPq.js";
|
|
9
|
+
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
import '../NeumorphismDatePicker.css';const be = { class: "nm-datepicker__wrapper" }, ke = ["aria-label", "aria-expanded"], ye = { class: "nm-datepicker__actions" }, he = ["aria-label"], fe = ["aria-label"], _e = { class: "nm-datepicker__header" }, ge = ["aria-label"], xe = ["aria-label"], we = { class: "nm-datepicker__header-label" }, Ce = ["aria-label"], De = ["aria-label"], Ne = { class: "nm-datepicker__weekdays" }, Pe = { class: "nm-datepicker__days" }, Me = ["disabled", "aria-label", "aria-selected", "aria-current", "onClick"], Be = { class: "nm-datepicker__footer" }, Le = /* @__PURE__ */ re({
|
|
11
|
+
__name: "NeumorphismDatePicker",
|
|
12
|
+
props: {
|
|
13
|
+
modelValue: { default: null },
|
|
14
|
+
placeholder: { default: "" },
|
|
15
|
+
format: { default: "yyyy-MM-dd" },
|
|
16
|
+
disabled: { type: Boolean, default: !1 },
|
|
17
|
+
clearable: { type: Boolean, default: !0 },
|
|
18
|
+
size: { default: "medium" },
|
|
19
|
+
minDate: {},
|
|
20
|
+
maxDate: {},
|
|
21
|
+
firstDayOfWeek: { default: 0 },
|
|
22
|
+
label: {},
|
|
23
|
+
required: { type: Boolean },
|
|
24
|
+
error: { type: [String, Boolean] },
|
|
25
|
+
name: {},
|
|
26
|
+
id: {}
|
|
27
|
+
},
|
|
28
|
+
emits: ["update:modelValue", "change", "focus", "blur"],
|
|
29
|
+
setup(n, { emit: T }) {
|
|
30
|
+
const i = n, d = T, { resolveProp: _ } = de(), { t: s } = ue(), S = l(() => _(i.size, void 0, "medium")), z = l(() => _(i.format, void 0, "yyyy-MM-dd")), g = l(() => i.placeholder || s("datePickerPlaceholder")), O = l(() => s("datePickerClear")), $ = l(() => s("datePickerToday")), q = l(() => s("datePickerPrevMonth")), R = l(() => s("datePickerNextMonth")), E = l(() => s("datePickerPrevYear")), I = l(() => s("datePickerNextYear")), J = l({
|
|
31
|
+
get: () => i.modelValue ?? null,
|
|
32
|
+
set: (o) => {
|
|
33
|
+
d("update:modelValue", o), d("change", o);
|
|
34
|
+
}
|
|
35
|
+
}), {
|
|
36
|
+
currentYear: x,
|
|
37
|
+
currentMonth: w,
|
|
38
|
+
calendarDays: W,
|
|
39
|
+
weekdays: A,
|
|
40
|
+
selectedDate: u,
|
|
41
|
+
selectDate: C,
|
|
42
|
+
prevMonth: D,
|
|
43
|
+
nextMonth: N,
|
|
44
|
+
prevYear: P,
|
|
45
|
+
nextYear: M,
|
|
46
|
+
formatDate: H,
|
|
47
|
+
goToToday: j
|
|
48
|
+
} = ne({
|
|
49
|
+
modelValue: J,
|
|
50
|
+
minDate: l(() => i.minDate),
|
|
51
|
+
maxDate: l(() => i.maxDate),
|
|
52
|
+
format: z,
|
|
53
|
+
firstDayOfWeek: l(() => i.firstDayOfWeek)
|
|
54
|
+
}), { fieldId: B, errorMessage: G, baseClassList: K, handleFocus: Q, handleBlur: U } = se(() => ({
|
|
55
|
+
id: i.id,
|
|
56
|
+
size: S.value,
|
|
57
|
+
disabled: i.disabled,
|
|
58
|
+
error: i.error,
|
|
59
|
+
prefix: "datepicker"
|
|
60
|
+
})), v = L(), b = L(!1);
|
|
61
|
+
function X(o) {
|
|
62
|
+
b.value = o;
|
|
63
|
+
}
|
|
64
|
+
function Z(o) {
|
|
65
|
+
var e;
|
|
66
|
+
o.isDisabled || (C(o.date), (e = v.value) == null || e.hide());
|
|
67
|
+
}
|
|
68
|
+
function ee() {
|
|
69
|
+
var e;
|
|
70
|
+
const o = /* @__PURE__ */ new Date();
|
|
71
|
+
o.setHours(0, 0, 0, 0), C(o), j(), (e = v.value) == null || e.hide();
|
|
72
|
+
}
|
|
73
|
+
function te(o) {
|
|
74
|
+
o.stopPropagation(), d("update:modelValue", null), d("change", null);
|
|
75
|
+
}
|
|
76
|
+
le(u, (o) => {
|
|
77
|
+
o && (x.value = o.getFullYear(), w.value = o.getMonth() + 1);
|
|
78
|
+
});
|
|
79
|
+
const ae = l(() => u.value ? H(u.value) : ""), oe = l(() => [
|
|
80
|
+
...K("nm-datepicker").value,
|
|
81
|
+
{
|
|
82
|
+
"nm-datepicker--open": b.value,
|
|
83
|
+
"nm-datepicker--has-value": u.value !== null
|
|
84
|
+
}
|
|
85
|
+
]), k = l(() => {
|
|
86
|
+
const o = x.value, e = w.value;
|
|
87
|
+
return { year: o, monthName: [
|
|
88
|
+
"January",
|
|
89
|
+
"February",
|
|
90
|
+
"March",
|
|
91
|
+
"April",
|
|
92
|
+
"May",
|
|
93
|
+
"June",
|
|
94
|
+
"July",
|
|
95
|
+
"August",
|
|
96
|
+
"September",
|
|
97
|
+
"October",
|
|
98
|
+
"November",
|
|
99
|
+
"December"
|
|
100
|
+
][e - 1] };
|
|
101
|
+
});
|
|
102
|
+
return (o, e) => (c(), m("div", be, [
|
|
103
|
+
h(ce, {
|
|
104
|
+
label: n.label,
|
|
105
|
+
required: n.required,
|
|
106
|
+
"for-id": r(B)
|
|
107
|
+
}, null, 8, ["label", "required", "for-id"]),
|
|
108
|
+
h(pe, {
|
|
109
|
+
ref_key: "popoverRef",
|
|
110
|
+
ref: v,
|
|
111
|
+
disabled: n.disabled,
|
|
112
|
+
width: "trigger",
|
|
113
|
+
"show-arrow": !1,
|
|
114
|
+
trigger: "click",
|
|
115
|
+
onVisibleChange: X
|
|
116
|
+
}, {
|
|
117
|
+
content: F(() => [
|
|
118
|
+
t("div", {
|
|
119
|
+
class: "nm-datepicker__calendar",
|
|
120
|
+
role: "dialog",
|
|
121
|
+
"aria-label": n.label || "Date picker"
|
|
122
|
+
}, [
|
|
123
|
+
t("div", _e, [
|
|
124
|
+
t("button", {
|
|
125
|
+
class: "nm-datepicker__nav-btn",
|
|
126
|
+
type: "button",
|
|
127
|
+
"aria-label": E.value,
|
|
128
|
+
onClick: e[2] || (e[2] = //@ts-ignore
|
|
129
|
+
(...a) => r(P) && r(P)(...a))
|
|
130
|
+
}, [...e[8] || (e[8] = [
|
|
131
|
+
t("svg", {
|
|
132
|
+
width: "14",
|
|
133
|
+
height: "14",
|
|
134
|
+
viewBox: "0 0 24 24",
|
|
135
|
+
fill: "none",
|
|
136
|
+
stroke: "currentColor",
|
|
137
|
+
"stroke-width": "2"
|
|
138
|
+
}, [
|
|
139
|
+
t("polyline", { points: "11 17 6 12 11 7" }),
|
|
140
|
+
t("polyline", { points: "18 17 13 12 18 7" })
|
|
141
|
+
], -1)
|
|
142
|
+
])], 8, ge),
|
|
143
|
+
t("button", {
|
|
144
|
+
class: "nm-datepicker__nav-btn",
|
|
145
|
+
type: "button",
|
|
146
|
+
"aria-label": q.value,
|
|
147
|
+
onClick: e[3] || (e[3] = //@ts-ignore
|
|
148
|
+
(...a) => r(D) && r(D)(...a))
|
|
149
|
+
}, [...e[9] || (e[9] = [
|
|
150
|
+
t("svg", {
|
|
151
|
+
width: "14",
|
|
152
|
+
height: "14",
|
|
153
|
+
viewBox: "0 0 24 24",
|
|
154
|
+
fill: "none",
|
|
155
|
+
stroke: "currentColor",
|
|
156
|
+
"stroke-width": "2"
|
|
157
|
+
}, [
|
|
158
|
+
t("polyline", { points: "15 18 9 12 15 6" })
|
|
159
|
+
], -1)
|
|
160
|
+
])], 8, xe),
|
|
161
|
+
t("span", we, p(k.value.monthName) + " " + p(k.value.year), 1),
|
|
162
|
+
t("button", {
|
|
163
|
+
class: "nm-datepicker__nav-btn",
|
|
164
|
+
type: "button",
|
|
165
|
+
"aria-label": R.value,
|
|
166
|
+
onClick: e[4] || (e[4] = //@ts-ignore
|
|
167
|
+
(...a) => r(N) && r(N)(...a))
|
|
168
|
+
}, [...e[10] || (e[10] = [
|
|
169
|
+
t("svg", {
|
|
170
|
+
width: "14",
|
|
171
|
+
height: "14",
|
|
172
|
+
viewBox: "0 0 24 24",
|
|
173
|
+
fill: "none",
|
|
174
|
+
stroke: "currentColor",
|
|
175
|
+
"stroke-width": "2"
|
|
176
|
+
}, [
|
|
177
|
+
t("polyline", { points: "9 18 15 12 9 6" })
|
|
178
|
+
], -1)
|
|
179
|
+
])], 8, Ce),
|
|
180
|
+
t("button", {
|
|
181
|
+
class: "nm-datepicker__nav-btn",
|
|
182
|
+
type: "button",
|
|
183
|
+
"aria-label": I.value,
|
|
184
|
+
onClick: e[5] || (e[5] = //@ts-ignore
|
|
185
|
+
(...a) => r(M) && r(M)(...a))
|
|
186
|
+
}, [...e[11] || (e[11] = [
|
|
187
|
+
t("svg", {
|
|
188
|
+
width: "14",
|
|
189
|
+
height: "14",
|
|
190
|
+
viewBox: "0 0 24 24",
|
|
191
|
+
fill: "none",
|
|
192
|
+
stroke: "currentColor",
|
|
193
|
+
"stroke-width": "2"
|
|
194
|
+
}, [
|
|
195
|
+
t("polyline", { points: "13 17 18 12 13 7" }),
|
|
196
|
+
t("polyline", { points: "6 17 11 12 6 7" })
|
|
197
|
+
], -1)
|
|
198
|
+
])], 8, De)
|
|
199
|
+
]),
|
|
200
|
+
t("div", Ne, [
|
|
201
|
+
(c(!0), m(V, null, Y(r(A), (a, y) => (c(), m("span", {
|
|
202
|
+
key: y,
|
|
203
|
+
class: "nm-datepicker__weekday"
|
|
204
|
+
}, p(a), 1))), 128))
|
|
205
|
+
]),
|
|
206
|
+
t("div", Pe, [
|
|
207
|
+
(c(!0), m(V, null, Y(r(W), (a, y) => (c(), m("button", {
|
|
208
|
+
key: y,
|
|
209
|
+
class: f(["nm-datepicker__day", {
|
|
210
|
+
"nm-datepicker__day--other-month": !a.isCurrentMonth,
|
|
211
|
+
"nm-datepicker__day--today": a.isToday,
|
|
212
|
+
"nm-datepicker__day--selected": a.isSelected,
|
|
213
|
+
"nm-datepicker__day--disabled": a.isDisabled,
|
|
214
|
+
"nm-datepicker__day--in-range": a.isInRange
|
|
215
|
+
}]),
|
|
216
|
+
type: "button",
|
|
217
|
+
disabled: a.isDisabled,
|
|
218
|
+
"aria-label": `${k.value.monthName} ${a.day}, ${a.date.getFullYear()}`,
|
|
219
|
+
"aria-selected": a.isSelected,
|
|
220
|
+
"aria-current": a.isToday ? "date" : void 0,
|
|
221
|
+
onClick: (Fe) => Z(a)
|
|
222
|
+
}, p(a.day), 11, Me))), 128))
|
|
223
|
+
]),
|
|
224
|
+
t("div", Be, [
|
|
225
|
+
t("button", {
|
|
226
|
+
class: "nm-datepicker__today-btn",
|
|
227
|
+
type: "button",
|
|
228
|
+
onClick: ee
|
|
229
|
+
}, p($.value), 1)
|
|
230
|
+
])
|
|
231
|
+
], 8, fe)
|
|
232
|
+
]),
|
|
233
|
+
default: F(() => [
|
|
234
|
+
t("div", {
|
|
235
|
+
class: f(oe.value),
|
|
236
|
+
"aria-label": n.label || g.value,
|
|
237
|
+
role: "combobox",
|
|
238
|
+
"aria-expanded": b.value,
|
|
239
|
+
"aria-haspopup": "dialog",
|
|
240
|
+
onFocus: e[0] || (e[0] = (a) => r(Q)(a, d)),
|
|
241
|
+
onBlur: e[1] || (e[1] = (a) => r(U)(a, d))
|
|
242
|
+
}, [
|
|
243
|
+
t("span", {
|
|
244
|
+
class: f(["nm-datepicker__value", { "nm-datepicker__value--placeholder": !r(u) }])
|
|
245
|
+
}, p(ae.value || g.value), 3),
|
|
246
|
+
t("span", ye, [
|
|
247
|
+
n.clearable && r(u) ? (c(), m("button", {
|
|
248
|
+
key: 0,
|
|
249
|
+
class: "nm-datepicker__clear",
|
|
250
|
+
type: "button",
|
|
251
|
+
"aria-label": O.value,
|
|
252
|
+
onClick: te
|
|
253
|
+
}, [...e[6] || (e[6] = [
|
|
254
|
+
t("svg", {
|
|
255
|
+
width: "14",
|
|
256
|
+
height: "14",
|
|
257
|
+
viewBox: "0 0 24 24",
|
|
258
|
+
fill: "none",
|
|
259
|
+
stroke: "currentColor",
|
|
260
|
+
"stroke-width": "2"
|
|
261
|
+
}, [
|
|
262
|
+
t("path", { d: "M18 6L6 18M6 6l12 12" })
|
|
263
|
+
], -1)
|
|
264
|
+
])], 8, he)) : ie("", !0),
|
|
265
|
+
e[7] || (e[7] = t("svg", {
|
|
266
|
+
class: "nm-datepicker__icon",
|
|
267
|
+
width: "16",
|
|
268
|
+
height: "16",
|
|
269
|
+
viewBox: "0 0 24 24",
|
|
270
|
+
fill: "none",
|
|
271
|
+
stroke: "currentColor",
|
|
272
|
+
"stroke-width": "2"
|
|
273
|
+
}, [
|
|
274
|
+
t("rect", {
|
|
275
|
+
x: "3",
|
|
276
|
+
y: "4",
|
|
277
|
+
width: "18",
|
|
278
|
+
height: "18",
|
|
279
|
+
rx: "2",
|
|
280
|
+
ry: "2"
|
|
281
|
+
}),
|
|
282
|
+
t("line", {
|
|
283
|
+
x1: "16",
|
|
284
|
+
y1: "2",
|
|
285
|
+
x2: "16",
|
|
286
|
+
y2: "6"
|
|
287
|
+
}),
|
|
288
|
+
t("line", {
|
|
289
|
+
x1: "8",
|
|
290
|
+
y1: "2",
|
|
291
|
+
x2: "8",
|
|
292
|
+
y2: "6"
|
|
293
|
+
}),
|
|
294
|
+
t("line", {
|
|
295
|
+
x1: "3",
|
|
296
|
+
y1: "10",
|
|
297
|
+
x2: "21",
|
|
298
|
+
y2: "10"
|
|
299
|
+
})
|
|
300
|
+
], -1))
|
|
301
|
+
])
|
|
302
|
+
], 42, ke)
|
|
303
|
+
]),
|
|
304
|
+
_: 1
|
|
305
|
+
}, 8, ["disabled"]),
|
|
306
|
+
h(me, {
|
|
307
|
+
id: `${r(B)}-error`,
|
|
308
|
+
message: r(G)
|
|
309
|
+
}, null, 8, ["id", "message"])
|
|
310
|
+
]));
|
|
311
|
+
}
|
|
312
|
+
}), Ee = /* @__PURE__ */ ve(Le, [["__scopeId", "data-v-d19f28ea"]]);
|
|
313
|
+
export {
|
|
314
|
+
Ee as N
|
|
315
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as m, computed as o, openBlock as r, createElementBlock as n, normalizeClass as p, renderSlot as f, createCommentVNode as _ } from "vue";
|
|
2
|
+
import { u as h } from "./createComponent-jnXBYqCm.js";
|
|
3
|
+
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import '../NeumorphismDivider.css';const N = ["aria-orientation"], z = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "nm-divider__text"
|
|
7
|
+
}, B = /* @__PURE__ */ m({
|
|
8
|
+
__name: "NeumorphismDivider",
|
|
9
|
+
props: {
|
|
10
|
+
direction: { default: "horizontal" },
|
|
11
|
+
align: { default: "center" },
|
|
12
|
+
dashed: { type: Boolean, default: !1 },
|
|
13
|
+
inset: { type: Boolean, default: !1 }
|
|
14
|
+
},
|
|
15
|
+
setup(d) {
|
|
16
|
+
const i = d, { config: t, resolveProp: s } = h(), a = o(
|
|
17
|
+
() => {
|
|
18
|
+
var e;
|
|
19
|
+
return s(i.direction, (e = t.value.divider) == null ? void 0 : e.direction, "horizontal");
|
|
20
|
+
}
|
|
21
|
+
), l = o(
|
|
22
|
+
() => {
|
|
23
|
+
var e;
|
|
24
|
+
return s(i.align, (e = t.value.divider) == null ? void 0 : e.align, "center");
|
|
25
|
+
}
|
|
26
|
+
), v = o(
|
|
27
|
+
() => {
|
|
28
|
+
var e;
|
|
29
|
+
return s(i.dashed, (e = t.value.divider) == null ? void 0 : e.dashed, !1);
|
|
30
|
+
}
|
|
31
|
+
), c = o(() => {
|
|
32
|
+
var e;
|
|
33
|
+
return s(i.inset, (e = t.value.divider) == null ? void 0 : e.inset, !1);
|
|
34
|
+
}), u = o(() => [
|
|
35
|
+
"nm-divider",
|
|
36
|
+
`nm-divider--${a.value}`,
|
|
37
|
+
...a.value === "horizontal" ? [`nm-divider--${l.value}`] : [],
|
|
38
|
+
{
|
|
39
|
+
"nm-divider--dashed": v.value,
|
|
40
|
+
"nm-divider--inset": c.value
|
|
41
|
+
}
|
|
42
|
+
]);
|
|
43
|
+
return (e, D) => (r(), n("div", {
|
|
44
|
+
class: p(u.value),
|
|
45
|
+
role: "separator",
|
|
46
|
+
"aria-orientation": a.value
|
|
47
|
+
}, [
|
|
48
|
+
e.$slots.default ? (r(), n("span", z, [
|
|
49
|
+
f(e.$slots, "default", {}, void 0, !0)
|
|
50
|
+
])) : _("", !0)
|
|
51
|
+
], 10, N));
|
|
52
|
+
}
|
|
53
|
+
}), C = /* @__PURE__ */ g(B, [["__scopeId", "data-v-84be10a5"]]);
|
|
54
|
+
export {
|
|
55
|
+
C as N
|
|
56
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { defineComponent as S, computed as l, ref as I, watch as h, nextTick as R, openBlock as a, createBlock as T, Teleport as E, createVNode as p, Transition as y, withCtx as k, unref as c, createElementBlock as r, withModifiers as H, normalizeClass as b, normalizeStyle as L, createElementVNode as n, toDisplayString as P, createCommentVNode as s, renderSlot as m } from "vue";
|
|
2
|
+
import { useDrawer as W } from "../composables/useDrawer.js";
|
|
3
|
+
import { generateId as j } from "../utils/index.js";
|
|
4
|
+
import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import '../NeumorphismDrawer.css';const A = ["aria-labelledby"], F = { class: "nm-drawer__header" }, G = { class: "nm-drawer__body" }, J = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "nm-drawer__footer"
|
|
8
|
+
}, Q = /* @__PURE__ */ S({
|
|
9
|
+
__name: "NeumorphismDrawer",
|
|
10
|
+
props: {
|
|
11
|
+
modelValue: { type: Boolean, default: !1 },
|
|
12
|
+
position: { default: "right" },
|
|
13
|
+
title: {},
|
|
14
|
+
width: {},
|
|
15
|
+
maskClosable: { type: Boolean, default: !0 },
|
|
16
|
+
closable: { type: Boolean, default: !0 },
|
|
17
|
+
showClose: { type: Boolean, default: !0 },
|
|
18
|
+
destroyOnClose: { type: Boolean, default: !1 }
|
|
19
|
+
},
|
|
20
|
+
emits: ["update:modelValue", "open", "close"],
|
|
21
|
+
setup(o, { emit: C }) {
|
|
22
|
+
const t = o, i = C, _ = l({
|
|
23
|
+
get: () => t.modelValue,
|
|
24
|
+
set: (e) => i("update:modelValue", e)
|
|
25
|
+
}), {
|
|
26
|
+
isOpen: d,
|
|
27
|
+
rendered: v,
|
|
28
|
+
close: g,
|
|
29
|
+
handleKeydown: V,
|
|
30
|
+
handleMaskClick: B,
|
|
31
|
+
focusDrawer: x
|
|
32
|
+
} = W({
|
|
33
|
+
modelValue: _,
|
|
34
|
+
maskClosable: l(() => t.maskClosable),
|
|
35
|
+
closable: l(() => t.closable),
|
|
36
|
+
destroyOnClose: l(() => t.destroyOnClose)
|
|
37
|
+
}), u = I(), f = `nm-drawer-title-${j()}`, $ = l(() => {
|
|
38
|
+
if (t.width != null) return N(t.width);
|
|
39
|
+
const e = t.position;
|
|
40
|
+
return e === "left" || e === "right" ? "320px" : "240px";
|
|
41
|
+
});
|
|
42
|
+
function N(e) {
|
|
43
|
+
return typeof e == "number" ? `${e}px` : e;
|
|
44
|
+
}
|
|
45
|
+
h(d, async (e) => {
|
|
46
|
+
e && (await R(), x(u.value));
|
|
47
|
+
}), h(
|
|
48
|
+
() => t.modelValue,
|
|
49
|
+
(e) => {
|
|
50
|
+
i(e ? "open" : "close");
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
function D() {
|
|
54
|
+
B();
|
|
55
|
+
}
|
|
56
|
+
function M() {
|
|
57
|
+
g();
|
|
58
|
+
}
|
|
59
|
+
function z(e) {
|
|
60
|
+
V(e, u.value);
|
|
61
|
+
}
|
|
62
|
+
const K = l(() => t.position === "left" || t.position === "right"), O = l(() => {
|
|
63
|
+
const e = $.value;
|
|
64
|
+
return K.value ? { width: e } : { height: e };
|
|
65
|
+
});
|
|
66
|
+
return (e, w) => (a(), T(E, { to: "body" }, [
|
|
67
|
+
p(y, { name: "nm-drawer-fade" }, {
|
|
68
|
+
default: k(() => [
|
|
69
|
+
c(v) ? (a(), r("div", {
|
|
70
|
+
key: 0,
|
|
71
|
+
class: b(["nm-drawer__mask", { "nm-drawer__mask--visible": c(d) }]),
|
|
72
|
+
onClick: H(D, ["self"])
|
|
73
|
+
}, [
|
|
74
|
+
p(y, { name: "nm-drawer-slide" }, {
|
|
75
|
+
default: k(() => [
|
|
76
|
+
c(d) ? (a(), r("div", {
|
|
77
|
+
key: 0,
|
|
78
|
+
ref_key: "drawerRef",
|
|
79
|
+
ref: u,
|
|
80
|
+
class: b(["nm-drawer", `nm-drawer--${o.position}`]),
|
|
81
|
+
style: L(O.value),
|
|
82
|
+
role: "dialog",
|
|
83
|
+
"aria-modal": "true",
|
|
84
|
+
"aria-labelledby": o.title ? f : void 0,
|
|
85
|
+
tabindex: "-1",
|
|
86
|
+
onKeydown: z
|
|
87
|
+
}, [
|
|
88
|
+
n("div", F, [
|
|
89
|
+
o.title ? (a(), r("h2", {
|
|
90
|
+
key: 0,
|
|
91
|
+
id: f,
|
|
92
|
+
class: "nm-drawer__title"
|
|
93
|
+
}, P(o.title), 1)) : s("", !0),
|
|
94
|
+
m(e.$slots, "header", {}, void 0, !0),
|
|
95
|
+
o.showClose && o.closable ? (a(), r("button", {
|
|
96
|
+
key: 1,
|
|
97
|
+
class: "nm-drawer__close",
|
|
98
|
+
"aria-label": "关闭",
|
|
99
|
+
type: "button",
|
|
100
|
+
onClick: M
|
|
101
|
+
}, [...w[0] || (w[0] = [
|
|
102
|
+
n("svg", {
|
|
103
|
+
width: "18",
|
|
104
|
+
height: "18",
|
|
105
|
+
viewBox: "0 0 24 24",
|
|
106
|
+
fill: "none",
|
|
107
|
+
stroke: "currentColor",
|
|
108
|
+
"stroke-width": "2"
|
|
109
|
+
}, [
|
|
110
|
+
n("path", { d: "M18 6L6 18M6 6l12 12" })
|
|
111
|
+
], -1)
|
|
112
|
+
])])) : s("", !0)
|
|
113
|
+
]),
|
|
114
|
+
n("div", G, [
|
|
115
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
116
|
+
]),
|
|
117
|
+
e.$slots.footer ? (a(), r("div", J, [
|
|
118
|
+
m(e.$slots, "footer", {}, void 0, !0)
|
|
119
|
+
])) : s("", !0)
|
|
120
|
+
], 46, A)) : s("", !0)
|
|
121
|
+
]),
|
|
122
|
+
_: 3
|
|
123
|
+
})
|
|
124
|
+
], 2)) : s("", !0)
|
|
125
|
+
]),
|
|
126
|
+
_: 3
|
|
127
|
+
})
|
|
128
|
+
]));
|
|
129
|
+
}
|
|
130
|
+
}), ee = /* @__PURE__ */ q(Q, [["__scopeId", "data-v-72aa66d5"]]);
|
|
131
|
+
export {
|
|
132
|
+
ee as N
|
|
133
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { defineComponent as V, computed as l, ref as b, openBlock as i, createBlock as $, withCtx as h, renderSlot as g, createElementVNode as m, normalizeClass as w, createElementBlock as a, Fragment as k, renderList as A, createCommentVNode as p, toDisplayString as y } from "vue";
|
|
2
|
+
import { u as P } from "./createComponent-jnXBYqCm.js";
|
|
3
|
+
import { N as K } from "./NeumorphismPopover-RB48cpPq.js";
|
|
4
|
+
import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
|
+
import '../NeumorphismDropdown.css';const R = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "nm-dropdown__divider",
|
|
8
|
+
role: "separator"
|
|
9
|
+
}, z = ["aria-disabled", "tabindex", "onClick"], F = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "nm-dropdown__item-icon"
|
|
12
|
+
}, O = { class: "nm-dropdown__item-label" }, T = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "nm-dropdown__custom"
|
|
15
|
+
}, U = /* @__PURE__ */ V({
|
|
16
|
+
__name: "NeumorphismDropdown",
|
|
17
|
+
props: {
|
|
18
|
+
items: { default: () => [] },
|
|
19
|
+
position: { default: "bottom" },
|
|
20
|
+
trigger: { default: "click" },
|
|
21
|
+
disabled: { type: Boolean, default: !1 },
|
|
22
|
+
offset: { default: 4 }
|
|
23
|
+
},
|
|
24
|
+
emits: ["select", "visible-change"],
|
|
25
|
+
setup(r, { emit: C }) {
|
|
26
|
+
const d = r, { resolveProp: c } = P(), N = l(
|
|
27
|
+
() => c(d.position, void 0, "bottom")
|
|
28
|
+
), D = l(
|
|
29
|
+
() => c(d.trigger, void 0, "click")
|
|
30
|
+
), x = l(() => c(d.offset, void 0, 4)), f = C, u = b(), s = b(-1);
|
|
31
|
+
function v(e) {
|
|
32
|
+
var t, o;
|
|
33
|
+
e.disabled || (f("select", e), (o = (t = u.value) == null ? void 0 : t.hide) == null || o.call(t));
|
|
34
|
+
}
|
|
35
|
+
function B(e) {
|
|
36
|
+
e || (s.value = -1), f("visible-change", e);
|
|
37
|
+
}
|
|
38
|
+
function E(e) {
|
|
39
|
+
var o, n;
|
|
40
|
+
const t = d.items.filter((_) => !_.disabled);
|
|
41
|
+
if (t.length)
|
|
42
|
+
switch (e.key) {
|
|
43
|
+
case "ArrowDown": {
|
|
44
|
+
e.preventDefault(), s.value = s.value < t.length - 1 ? s.value + 1 : 0;
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
case "ArrowUp": {
|
|
48
|
+
e.preventDefault(), s.value = s.value > 0 ? s.value - 1 : t.length - 1;
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
case "Enter":
|
|
52
|
+
case " ": {
|
|
53
|
+
e.preventDefault(), s.value >= 0 && v(t[s.value]);
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
case "Escape": {
|
|
57
|
+
(n = (o = u.value) == null ? void 0 : o.hide) == null || n.call(o);
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
function I(e, t) {
|
|
63
|
+
const o = d.items.filter((n) => !n.disabled)[s.value] === e;
|
|
64
|
+
return [
|
|
65
|
+
"nm-dropdown__item",
|
|
66
|
+
{
|
|
67
|
+
"nm-dropdown__item--disabled": e.disabled,
|
|
68
|
+
"nm-dropdown__item--danger": e.danger,
|
|
69
|
+
"nm-dropdown__item--divided": e.divided,
|
|
70
|
+
"nm-dropdown__item--active": o
|
|
71
|
+
}
|
|
72
|
+
];
|
|
73
|
+
}
|
|
74
|
+
const S = l(() => ["nm-dropdown"]);
|
|
75
|
+
return (e, t) => (i(), $(K, {
|
|
76
|
+
ref_key: "popoverRef",
|
|
77
|
+
ref: u,
|
|
78
|
+
position: N.value,
|
|
79
|
+
trigger: D.value,
|
|
80
|
+
disabled: r.disabled,
|
|
81
|
+
offset: x.value,
|
|
82
|
+
"show-arrow": !1,
|
|
83
|
+
onVisibleChange: B
|
|
84
|
+
}, {
|
|
85
|
+
content: h(() => [
|
|
86
|
+
m("div", {
|
|
87
|
+
class: w(S.value),
|
|
88
|
+
role: "menu",
|
|
89
|
+
onKeydown: E
|
|
90
|
+
}, [
|
|
91
|
+
(i(!0), a(k, null, A(r.items, (o, n) => (i(), a(k, {
|
|
92
|
+
key: o.key
|
|
93
|
+
}, [
|
|
94
|
+
o.divided && n > 0 ? (i(), a("div", R)) : p("", !0),
|
|
95
|
+
m("div", {
|
|
96
|
+
class: w(I(o)),
|
|
97
|
+
role: "menuitem",
|
|
98
|
+
"aria-disabled": o.disabled,
|
|
99
|
+
tabindex: o.disabled ? -1 : 0,
|
|
100
|
+
onClick: (_) => v(o)
|
|
101
|
+
}, [
|
|
102
|
+
o.icon ? (i(), a("span", F, y(o.icon), 1)) : p("", !0),
|
|
103
|
+
m("span", O, y(o.label), 1)
|
|
104
|
+
], 10, z)
|
|
105
|
+
], 64))), 128)),
|
|
106
|
+
r.items.length === 0 && e.$slots.items ? (i(), a("div", T, [
|
|
107
|
+
g(e.$slots, "items", {}, void 0, !0)
|
|
108
|
+
])) : p("", !0)
|
|
109
|
+
], 34)
|
|
110
|
+
]),
|
|
111
|
+
default: h(() => [
|
|
112
|
+
g(e.$slots, "default", {}, void 0, !0)
|
|
113
|
+
]),
|
|
114
|
+
_: 3
|
|
115
|
+
}, 8, ["position", "trigger", "disabled", "offset"]));
|
|
116
|
+
}
|
|
117
|
+
}), J = /* @__PURE__ */ L(U, [["__scopeId", "data-v-bf5889d7"]]);
|
|
118
|
+
export {
|
|
119
|
+
J as N
|
|
120
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as p, computed as s, openBlock as e, createElementBlock as o, normalizeClass as u, createElementVNode as y, renderSlot as a, createStaticVNode as h, toDisplayString as v, createCommentVNode as c } from "vue";
|
|
2
|
+
import { u as f } from "./createComponent-jnXBYqCm.js";
|
|
3
|
+
import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import '../NeumorphismEmpty.css';const g = { class: "nm-empty__image" }, k = ["src", "alt"], w = {
|
|
5
|
+
key: 1,
|
|
6
|
+
class: "nm-empty__illustration",
|
|
7
|
+
viewBox: "0 0 160 160",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"aria-hidden": "true"
|
|
10
|
+
}, x = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "nm-empty__description"
|
|
13
|
+
}, C = {
|
|
14
|
+
key: 1,
|
|
15
|
+
class: "nm-empty__footer"
|
|
16
|
+
}, N = /* @__PURE__ */ p({
|
|
17
|
+
__name: "NeumorphismEmpty",
|
|
18
|
+
props: {
|
|
19
|
+
image: {},
|
|
20
|
+
description: {},
|
|
21
|
+
size: { default: "medium" }
|
|
22
|
+
},
|
|
23
|
+
setup(t) {
|
|
24
|
+
const n = t, { resolveProp: d } = f(), l = s(() => d(n.size, void 0, "medium")), m = s(() => ["nm-empty", `nm-empty--${l.value}`]);
|
|
25
|
+
return (r, i) => (e(), o("div", {
|
|
26
|
+
class: u(m.value)
|
|
27
|
+
}, [
|
|
28
|
+
y("div", g, [
|
|
29
|
+
a(r.$slots, "image", {}, () => [
|
|
30
|
+
t.image ? (e(), o("img", {
|
|
31
|
+
key: 0,
|
|
32
|
+
src: t.image,
|
|
33
|
+
alt: t.description ?? "",
|
|
34
|
+
class: "nm-empty__img"
|
|
35
|
+
}, null, 8, k)) : (e(), o("svg", w, [...i[0] || (i[0] = [
|
|
36
|
+
h('<rect x="28" y="48" width="104" height="82" rx="4" fill="none" stroke="currentColor" stroke-width="2" opacity="0.3" data-v-124d81a4></rect><path d="M28 48 L80 62 L132 48" fill="none" stroke="currentColor" stroke-width="2" opacity="0.3" data-v-124d81a4></path><rect x="48" y="66" width="64" height="6" rx="2" fill="currentColor" opacity="0.12" data-v-124d81a4></rect><rect x="48" y="80" width="48" height="6" rx="2" fill="currentColor" opacity="0.12" data-v-124d81a4></rect><rect x="48" y="94" width="56" height="6" rx="2" fill="currentColor" opacity="0.12" data-v-124d81a4></rect><circle cx="116" cy="116" r="16" fill="none" stroke="currentColor" stroke-width="2.5" opacity="0.25" data-v-124d81a4></circle><line x1="127" y1="127" x2="138" y2="138" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" opacity="0.25" data-v-124d81a4></line>', 7)
|
|
37
|
+
])]))
|
|
38
|
+
], !0)
|
|
39
|
+
]),
|
|
40
|
+
t.description ? (e(), o("div", x, v(t.description), 1)) : c("", !0),
|
|
41
|
+
r.$slots.default ? (e(), o("div", C, [
|
|
42
|
+
a(r.$slots, "default", {}, void 0, !0)
|
|
43
|
+
])) : c("", !0)
|
|
44
|
+
], 2));
|
|
45
|
+
}
|
|
46
|
+
}), $ = /* @__PURE__ */ _(N, [["__scopeId", "data-v-124d81a4"]]);
|
|
47
|
+
export {
|
|
48
|
+
$ as N
|
|
49
|
+
};
|