@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.
Files changed (370) hide show
  1. package/README.md +56 -0
  2. package/bin/echo-prodoc.js +2 -0
  3. package/package.json +49 -0
  4. package/packages/prodoc-cli/dist/index.d.ts +10 -0
  5. package/packages/prodoc-cli/dist/index.d.ts.map +1 -0
  6. package/packages/prodoc-cli/dist/index.js +251 -0
  7. package/packages/prodoc-cli/dist/index.js.map +1 -0
  8. package/packages/prodoc-cli/dist/server.d.ts +13 -0
  9. package/packages/prodoc-cli/dist/server.d.ts.map +1 -0
  10. package/packages/prodoc-cli/package.json +39 -0
  11. package/packages/prodoc-core/dist/index.cjs +1 -0
  12. package/packages/prodoc-core/dist/index.d.ts +12 -0
  13. package/packages/prodoc-core/dist/index.d.ts.map +1 -0
  14. package/packages/prodoc-core/dist/index.js +2 -0
  15. package/packages/prodoc-core/package.json +30 -0
  16. package/packages/prodoc-editor/dist/index.cjs +1 -0
  17. package/packages/prodoc-editor/dist/index.css +2 -0
  18. package/packages/prodoc-editor/dist/index.d.ts +10 -0
  19. package/packages/prodoc-editor/dist/index.d.ts.map +1 -0
  20. package/packages/prodoc-editor/dist/index.js +3 -0
  21. package/packages/prodoc-editor/package.json +40 -0
  22. package/packages/prodoc-renderer/dist/index.cjs +1 -0
  23. package/packages/prodoc-renderer/dist/index.css +2 -0
  24. package/packages/prodoc-renderer/dist/index.d.ts +11 -0
  25. package/packages/prodoc-renderer/dist/index.d.ts.map +1 -0
  26. package/packages/prodoc-renderer/dist/index.js +3 -0
  27. package/packages/prodoc-renderer/package.json +38 -0
  28. package/scripts/build-if-needed.js +37 -0
  29. package/scripts/install-ui-frame.js +269 -0
  30. package/scripts/link-system-bin.js +82 -0
  31. package/scripts/publish.sh +64 -0
  32. package/vendor/@echolab/ui-frame/dist/NeumorphismAlert.css +1 -0
  33. package/vendor/@echolab/ui-frame/dist/NeumorphismAutoComplete.css +1 -0
  34. package/vendor/@echolab/ui-frame/dist/NeumorphismAvatar.css +1 -0
  35. package/vendor/@echolab/ui-frame/dist/NeumorphismBadge.css +1 -0
  36. package/vendor/@echolab/ui-frame/dist/NeumorphismBreadcrumb.css +1 -0
  37. package/vendor/@echolab/ui-frame/dist/NeumorphismButton.css +1 -0
  38. package/vendor/@echolab/ui-frame/dist/NeumorphismCanvas.css +1 -0
  39. package/vendor/@echolab/ui-frame/dist/NeumorphismCard.css +1 -0
  40. package/vendor/@echolab/ui-frame/dist/NeumorphismCheckbox.css +1 -0
  41. package/vendor/@echolab/ui-frame/dist/NeumorphismCol.css +1 -0
  42. package/vendor/@echolab/ui-frame/dist/NeumorphismCollapse.css +1 -0
  43. package/vendor/@echolab/ui-frame/dist/NeumorphismContainer.css +1 -0
  44. package/vendor/@echolab/ui-frame/dist/NeumorphismDatePicker.css +1 -0
  45. package/vendor/@echolab/ui-frame/dist/NeumorphismDivider.css +1 -0
  46. package/vendor/@echolab/ui-frame/dist/NeumorphismDrawer.css +1 -0
  47. package/vendor/@echolab/ui-frame/dist/NeumorphismDropdown.css +1 -0
  48. package/vendor/@echolab/ui-frame/dist/NeumorphismEmpty.css +1 -0
  49. package/vendor/@echolab/ui-frame/dist/NeumorphismFieldError.css +1 -0
  50. package/vendor/@echolab/ui-frame/dist/NeumorphismFieldLabel.css +1 -0
  51. package/vendor/@echolab/ui-frame/dist/NeumorphismFormItem.css +1 -0
  52. package/vendor/@echolab/ui-frame/dist/NeumorphismInput.css +1 -0
  53. package/vendor/@echolab/ui-frame/dist/NeumorphismInputNumber.css +1 -0
  54. package/vendor/@echolab/ui-frame/dist/NeumorphismLayout.css +1 -0
  55. package/vendor/@echolab/ui-frame/dist/NeumorphismList.css +1 -0
  56. package/vendor/@echolab/ui-frame/dist/NeumorphismMenu.css +1 -0
  57. package/vendor/@echolab/ui-frame/dist/NeumorphismModal.css +1 -0
  58. package/vendor/@echolab/ui-frame/dist/NeumorphismNavMenu.css +1 -0
  59. package/vendor/@echolab/ui-frame/dist/NeumorphismPagination.css +1 -0
  60. package/vendor/@echolab/ui-frame/dist/NeumorphismPopover.css +1 -0
  61. package/vendor/@echolab/ui-frame/dist/NeumorphismProgress.css +1 -0
  62. package/vendor/@echolab/ui-frame/dist/NeumorphismRadioGroup.css +1 -0
  63. package/vendor/@echolab/ui-frame/dist/NeumorphismSelect.css +1 -0
  64. package/vendor/@echolab/ui-frame/dist/NeumorphismSkeleton.css +1 -0
  65. package/vendor/@echolab/ui-frame/dist/NeumorphismSlider.css +1 -0
  66. package/vendor/@echolab/ui-frame/dist/NeumorphismSteps.css +1 -0
  67. package/vendor/@echolab/ui-frame/dist/NeumorphismSwitch.css +1 -0
  68. package/vendor/@echolab/ui-frame/dist/NeumorphismTable.css +1 -0
  69. package/vendor/@echolab/ui-frame/dist/NeumorphismTabs.css +1 -0
  70. package/vendor/@echolab/ui-frame/dist/NeumorphismTag.css +1 -0
  71. package/vendor/@echolab/ui-frame/dist/NeumorphismTextarea.css +1 -0
  72. package/vendor/@echolab/ui-frame/dist/NeumorphismThemeToggle.css +1 -0
  73. package/vendor/@echolab/ui-frame/dist/NeumorphismToastProvider.css +1 -0
  74. package/vendor/@echolab/ui-frame/dist/NeumorphismTooltip.css +1 -0
  75. package/vendor/@echolab/ui-frame/dist/NeumorphismTree.css +1 -0
  76. package/vendor/@echolab/ui-frame/dist/NeumorphismUpload.css +1 -0
  77. package/vendor/@echolab/ui-frame/dist/NeumorphismVirtualList.css +1 -0
  78. package/vendor/@echolab/ui-frame/dist/ThemeProvider.css +1 -0
  79. package/vendor/@echolab/ui-frame/dist/base.css +1 -0
  80. package/vendor/@echolab/ui-frame/dist/base.d.ts +1 -0
  81. package/vendor/@echolab/ui-frame/dist/base.js +1 -0
  82. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismAlert-C8gUjcJ9.js +130 -0
  83. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismAutoComplete-DI9cIsCr.js +255 -0
  84. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismAvatar-D7pr7n61.js +65 -0
  85. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismBadge-Br8ESUFf.js +64 -0
  86. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismBreadcrumb-PeUQHAqO.js +58 -0
  87. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismButton-CiIrdqlV.js +81 -0
  88. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismCanvas-CBLkbovI.js +176 -0
  89. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismCard-Cgy4dCPE.js +66 -0
  90. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismCheckbox-Bo5Q7yC_.js +114 -0
  91. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismCol-DwoaSc5J.js +117 -0
  92. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismCollapse-BLSShHjJ.js +95 -0
  93. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismContainer-B1g0c9Ps.js +32 -0
  94. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismDatePicker-TLkTC22A.js +315 -0
  95. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismDivider-CjDyku2C.js +56 -0
  96. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismDrawer-BmpGyAlZ.js +133 -0
  97. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismDropdown-B_cuLYvV.js +120 -0
  98. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismEmpty-DAsVUAXw.js +49 -0
  99. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismFieldError-BxamHjhs.js +20 -0
  100. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismFieldLabel-CBF1nZs1.js +26 -0
  101. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismFormItem-DjtFqfsK.js +149 -0
  102. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismInput-CV0AQcff.js +121 -0
  103. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismInputNumber-BLSDUrG2.js +119 -0
  104. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismLayout-C7hoaRIo.js +155 -0
  105. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismList-BPjiY2ok.js +106 -0
  106. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismMenu-xfgTqwex.js +294 -0
  107. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismModal-BejbU5Uw.js +139 -0
  108. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismNavMenu-D_aeJ9zj.js +297 -0
  109. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismPagination-Dj-JuN7F.js +162 -0
  110. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismPopover-RB48cpPq.js +197 -0
  111. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismProgress-jGoOJqN4.js +72 -0
  112. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismRadioGroup-BC-NFcXF.js +122 -0
  113. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismSelect-D57-kOit.js +200 -0
  114. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismSkeleton-CIBufbBR.js +56 -0
  115. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismSlider-CJGJhgAY.js +163 -0
  116. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismSteps-Eq8pY0Yo.js +147 -0
  117. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismSwitch-HSJ9_0Zq.js +76 -0
  118. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTable-BEcMl0Sh.js +189 -0
  119. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTabs-DhV7RpfS.js +98 -0
  120. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTag-D-HO-n7l.js +83 -0
  121. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTextarea-hf4f9EM1.js +126 -0
  122. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismThemeToggle-B-lky48G.js +144 -0
  123. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismToastProvider-CJvxNDwJ.js +132 -0
  124. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTooltip-DEac8yVH.js +116 -0
  125. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismTree-C5jKWadX.js +302 -0
  126. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismUpload-CK8GutG5.js +584 -0
  127. package/vendor/@echolab/ui-frame/dist/chunks/NeumorphismVirtualList-BI322-e4.js +55 -0
  128. package/vendor/@echolab/ui-frame/dist/chunks/ThemeProvider-CCR_TjUs.js +30 -0
  129. package/vendor/@echolab/ui-frame/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  130. package/vendor/@echolab/ui-frame/dist/chunks/componentRegistry-XcPWEoEL.js +48 -0
  131. package/vendor/@echolab/ui-frame/dist/chunks/createComponent-jnXBYqCm.js +11 -0
  132. package/vendor/@echolab/ui-frame/dist/components/NeumorphismAlert/NeumorphismAlert.d.ts +78 -0
  133. package/vendor/@echolab/ui-frame/dist/components/NeumorphismAlert/index.d.ts +2 -0
  134. package/vendor/@echolab/ui-frame/dist/components/NeumorphismAlert/index.js +4 -0
  135. package/vendor/@echolab/ui-frame/dist/components/NeumorphismAutoComplete/NeumorphismAutoComplete.d.ts +83 -0
  136. package/vendor/@echolab/ui-frame/dist/components/NeumorphismAutoComplete/index.d.ts +2 -0
  137. package/vendor/@echolab/ui-frame/dist/components/NeumorphismAutoComplete/index.js +4 -0
  138. package/vendor/@echolab/ui-frame/dist/components/NeumorphismAvatar/NeumorphismAvatar.d.ts +50 -0
  139. package/vendor/@echolab/ui-frame/dist/components/NeumorphismAvatar/index.d.ts +2 -0
  140. package/vendor/@echolab/ui-frame/dist/components/NeumorphismAvatar/index.js +4 -0
  141. package/vendor/@echolab/ui-frame/dist/components/NeumorphismBadge/NeumorphismBadge.d.ts +47 -0
  142. package/vendor/@echolab/ui-frame/dist/components/NeumorphismBadge/index.d.ts +2 -0
  143. package/vendor/@echolab/ui-frame/dist/components/NeumorphismBadge/index.js +4 -0
  144. package/vendor/@echolab/ui-frame/dist/components/NeumorphismBreadcrumb/NeumorphismBreadcrumb.d.ts +45 -0
  145. package/vendor/@echolab/ui-frame/dist/components/NeumorphismBreadcrumb/index.d.ts +2 -0
  146. package/vendor/@echolab/ui-frame/dist/components/NeumorphismBreadcrumb/index.js +4 -0
  147. package/vendor/@echolab/ui-frame/dist/components/NeumorphismButton/NeumorphismButton.d.ts +74 -0
  148. package/vendor/@echolab/ui-frame/dist/components/NeumorphismButton/index.d.ts +2 -0
  149. package/vendor/@echolab/ui-frame/dist/components/NeumorphismButton/index.js +4 -0
  150. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCanvas/NeumorphismCanvas.d.ts +85 -0
  151. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCanvas/index.d.ts +2 -0
  152. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCanvas/index.js +4 -0
  153. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCard/NeumorphismCard.d.ts +83 -0
  154. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCard/index.d.ts +2 -0
  155. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCard/index.js +4 -0
  156. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCheckbox/NeumorphismCheckbox.d.ts +58 -0
  157. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCheckbox/index.d.ts +2 -0
  158. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCheckbox/index.js +4 -0
  159. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCollapse/NeumorphismCollapse.d.ts +59 -0
  160. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCollapse/index.d.ts +2 -0
  161. package/vendor/@echolab/ui-frame/dist/components/NeumorphismCollapse/index.js +4 -0
  162. package/vendor/@echolab/ui-frame/dist/components/NeumorphismContainer/NeumorphismContainer.d.ts +48 -0
  163. package/vendor/@echolab/ui-frame/dist/components/NeumorphismContainer/index.d.ts +2 -0
  164. package/vendor/@echolab/ui-frame/dist/components/NeumorphismContainer/index.js +4 -0
  165. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDatePicker/NeumorphismDatePicker.d.ts +69 -0
  166. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDatePicker/index.d.ts +2 -0
  167. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDatePicker/index.js +4 -0
  168. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDivider/NeumorphismDivider.d.ts +51 -0
  169. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDivider/index.d.ts +2 -0
  170. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDivider/index.js +4 -0
  171. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDrawer/NeumorphismDrawer.d.ts +71 -0
  172. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDrawer/index.d.ts +2 -0
  173. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDrawer/index.js +4 -0
  174. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDropdown/NeumorphismDropdown.d.ts +75 -0
  175. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDropdown/index.d.ts +2 -0
  176. package/vendor/@echolab/ui-frame/dist/components/NeumorphismDropdown/index.js +4 -0
  177. package/vendor/@echolab/ui-frame/dist/components/NeumorphismEmpty/NeumorphismEmpty.d.ts +41 -0
  178. package/vendor/@echolab/ui-frame/dist/components/NeumorphismEmpty/index.d.ts +2 -0
  179. package/vendor/@echolab/ui-frame/dist/components/NeumorphismEmpty/index.js +4 -0
  180. package/vendor/@echolab/ui-frame/dist/components/NeumorphismField/NeumorphismFieldError.d.ts +17 -0
  181. package/vendor/@echolab/ui-frame/dist/components/NeumorphismField/NeumorphismFieldLabel.d.ts +19 -0
  182. package/vendor/@echolab/ui-frame/dist/components/NeumorphismField/index.d.ts +2 -0
  183. package/vendor/@echolab/ui-frame/dist/components/NeumorphismField/index.js +6 -0
  184. package/vendor/@echolab/ui-frame/dist/components/NeumorphismForm/NeumorphismForm.d.ts +67 -0
  185. package/vendor/@echolab/ui-frame/dist/components/NeumorphismForm/NeumorphismFormItem.d.ts +54 -0
  186. package/vendor/@echolab/ui-frame/dist/components/NeumorphismForm/index.d.ts +4 -0
  187. package/vendor/@echolab/ui-frame/dist/components/NeumorphismForm/index.js +5 -0
  188. package/vendor/@echolab/ui-frame/dist/components/NeumorphismGrid/NeumorphismCol.d.ts +54 -0
  189. package/vendor/@echolab/ui-frame/dist/components/NeumorphismGrid/NeumorphismRow.d.ts +51 -0
  190. package/vendor/@echolab/ui-frame/dist/components/NeumorphismGrid/index.d.ts +4 -0
  191. package/vendor/@echolab/ui-frame/dist/components/NeumorphismGrid/index.js +5 -0
  192. package/vendor/@echolab/ui-frame/dist/components/NeumorphismInput/NeumorphismInput.d.ts +87 -0
  193. package/vendor/@echolab/ui-frame/dist/components/NeumorphismInput/index.d.ts +2 -0
  194. package/vendor/@echolab/ui-frame/dist/components/NeumorphismInput/index.js +4 -0
  195. package/vendor/@echolab/ui-frame/dist/components/NeumorphismInputNumber/NeumorphismInputNumber.d.ts +85 -0
  196. package/vendor/@echolab/ui-frame/dist/components/NeumorphismInputNumber/index.d.ts +2 -0
  197. package/vendor/@echolab/ui-frame/dist/components/NeumorphismInputNumber/index.js +4 -0
  198. package/vendor/@echolab/ui-frame/dist/components/NeumorphismLayout/NeumorphismLayout.d.ts +79 -0
  199. package/vendor/@echolab/ui-frame/dist/components/NeumorphismLayout/index.d.ts +2 -0
  200. package/vendor/@echolab/ui-frame/dist/components/NeumorphismLayout/index.js +4 -0
  201. package/vendor/@echolab/ui-frame/dist/components/NeumorphismList/NeumorphismList.d.ts +74 -0
  202. package/vendor/@echolab/ui-frame/dist/components/NeumorphismList/index.d.ts +2 -0
  203. package/vendor/@echolab/ui-frame/dist/components/NeumorphismList/index.js +4 -0
  204. package/vendor/@echolab/ui-frame/dist/components/NeumorphismMenu/NeumorphismMenu.d.ts +73 -0
  205. package/vendor/@echolab/ui-frame/dist/components/NeumorphismMenu/index.d.ts +2 -0
  206. package/vendor/@echolab/ui-frame/dist/components/NeumorphismMenu/index.js +4 -0
  207. package/vendor/@echolab/ui-frame/dist/components/NeumorphismModal/NeumorphismModal.d.ts +88 -0
  208. package/vendor/@echolab/ui-frame/dist/components/NeumorphismModal/index.d.ts +2 -0
  209. package/vendor/@echolab/ui-frame/dist/components/NeumorphismModal/index.js +4 -0
  210. package/vendor/@echolab/ui-frame/dist/components/NeumorphismNavMenu/NeumorphismNavMenu.d.ts +63 -0
  211. package/vendor/@echolab/ui-frame/dist/components/NeumorphismNavMenu/index.d.ts +2 -0
  212. package/vendor/@echolab/ui-frame/dist/components/NeumorphismNavMenu/index.js +4 -0
  213. package/vendor/@echolab/ui-frame/dist/components/NeumorphismPagination/NeumorphismPagination.d.ts +87 -0
  214. package/vendor/@echolab/ui-frame/dist/components/NeumorphismPagination/index.d.ts +2 -0
  215. package/vendor/@echolab/ui-frame/dist/components/NeumorphismPagination/index.js +4 -0
  216. package/vendor/@echolab/ui-frame/dist/components/NeumorphismPopover/NeumorphismPopover.d.ts +78 -0
  217. package/vendor/@echolab/ui-frame/dist/components/NeumorphismPopover/index.d.ts +2 -0
  218. package/vendor/@echolab/ui-frame/dist/components/NeumorphismPopover/index.js +4 -0
  219. package/vendor/@echolab/ui-frame/dist/components/NeumorphismProgress/NeumorphismProgress.d.ts +53 -0
  220. package/vendor/@echolab/ui-frame/dist/components/NeumorphismProgress/index.d.ts +2 -0
  221. package/vendor/@echolab/ui-frame/dist/components/NeumorphismProgress/index.js +4 -0
  222. package/vendor/@echolab/ui-frame/dist/components/NeumorphismRadio/NeumorphismRadio.d.ts +52 -0
  223. package/vendor/@echolab/ui-frame/dist/components/NeumorphismRadio/NeumorphismRadioGroup.d.ts +53 -0
  224. package/vendor/@echolab/ui-frame/dist/components/NeumorphismRadio/index.d.ts +4 -0
  225. package/vendor/@echolab/ui-frame/dist/components/NeumorphismRadio/index.js +5 -0
  226. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSelect/NeumorphismSelect.d.ts +96 -0
  227. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSelect/index.d.ts +2 -0
  228. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSelect/index.js +4 -0
  229. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSkeleton/NeumorphismSkeleton.d.ts +38 -0
  230. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSkeleton/index.d.ts +2 -0
  231. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSkeleton/index.js +4 -0
  232. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSlider/NeumorphismSlider.d.ts +76 -0
  233. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSlider/index.d.ts +2 -0
  234. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSlider/index.js +4 -0
  235. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSteps/NeumorphismSteps.d.ts +69 -0
  236. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSteps/index.d.ts +2 -0
  237. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSteps/index.js +4 -0
  238. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSwitch/NeumorphismSwitch.d.ts +64 -0
  239. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSwitch/index.d.ts +2 -0
  240. package/vendor/@echolab/ui-frame/dist/components/NeumorphismSwitch/index.js +4 -0
  241. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTable/NeumorphismTable.d.ts +99 -0
  242. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTable/index.d.ts +2 -0
  243. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTable/index.js +4 -0
  244. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTabs/NeumorphismTabs.d.ts +71 -0
  245. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTabs/index.d.ts +2 -0
  246. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTabs/index.js +4 -0
  247. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTag/NeumorphismTag.d.ts +65 -0
  248. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTag/index.d.ts +2 -0
  249. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTag/index.js +4 -0
  250. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTextarea/NeumorphismTextarea.d.ts +80 -0
  251. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTextarea/index.d.ts +2 -0
  252. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTextarea/index.js +4 -0
  253. package/vendor/@echolab/ui-frame/dist/components/NeumorphismThemeToggle/NeumorphismThemeToggle.d.ts +52 -0
  254. package/vendor/@echolab/ui-frame/dist/components/NeumorphismThemeToggle/index.d.ts +2 -0
  255. package/vendor/@echolab/ui-frame/dist/components/NeumorphismThemeToggle/index.js +4 -0
  256. package/vendor/@echolab/ui-frame/dist/components/NeumorphismToast/NeumorphismToastProvider.d.ts +57 -0
  257. package/vendor/@echolab/ui-frame/dist/components/NeumorphismToast/index.d.ts +2 -0
  258. package/vendor/@echolab/ui-frame/dist/components/NeumorphismToast/index.js +4 -0
  259. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTooltip/NeumorphismTooltip.d.ts +58 -0
  260. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTooltip/index.d.ts +2 -0
  261. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTooltip/index.js +4 -0
  262. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTree/NeumorphismTree.d.ts +58 -0
  263. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTree/NeumorphismTreeNode.d.ts +59 -0
  264. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTree/index.d.ts +4 -0
  265. package/vendor/@echolab/ui-frame/dist/components/NeumorphismTree/index.js +5 -0
  266. package/vendor/@echolab/ui-frame/dist/components/NeumorphismUpload/NeumorphismUpload.d.ts +126 -0
  267. package/vendor/@echolab/ui-frame/dist/components/NeumorphismUpload/index.d.ts +2 -0
  268. package/vendor/@echolab/ui-frame/dist/components/NeumorphismUpload/index.js +4 -0
  269. package/vendor/@echolab/ui-frame/dist/components/NeumorphismVirtualList/NeumorphismVirtualList.d.ts +59 -0
  270. package/vendor/@echolab/ui-frame/dist/components/NeumorphismVirtualList/index.d.ts +2 -0
  271. package/vendor/@echolab/ui-frame/dist/components/NeumorphismVirtualList/index.js +4 -0
  272. package/vendor/@echolab/ui-frame/dist/components/ThemeProvider/ThemeProvider.d.ts +56 -0
  273. package/vendor/@echolab/ui-frame/dist/components/ThemeProvider/index.d.ts +2 -0
  274. package/vendor/@echolab/ui-frame/dist/components/ThemeProvider/index.js +4 -0
  275. package/vendor/@echolab/ui-frame/dist/components/index.d.ts +92 -0
  276. package/vendor/@echolab/ui-frame/dist/composables/injectionKeys.d.ts +27 -0
  277. package/vendor/@echolab/ui-frame/dist/composables/injectionKeys.js +6 -0
  278. package/vendor/@echolab/ui-frame/dist/composables/useAlert.d.ts +30 -0
  279. package/vendor/@echolab/ui-frame/dist/composables/useAlert.js +25 -0
  280. package/vendor/@echolab/ui-frame/dist/composables/useAutoComplete.d.ts +50 -0
  281. package/vendor/@echolab/ui-frame/dist/composables/useAutoComplete.js +118 -0
  282. package/vendor/@echolab/ui-frame/dist/composables/useCheckable.d.ts +17 -0
  283. package/vendor/@echolab/ui-frame/dist/composables/useCheckable.js +17 -0
  284. package/vendor/@echolab/ui-frame/dist/composables/useCollapse.d.ts +26 -0
  285. package/vendor/@echolab/ui-frame/dist/composables/useCollapse.js +25 -0
  286. package/vendor/@echolab/ui-frame/dist/composables/useConfig.d.ts +243 -0
  287. package/vendor/@echolab/ui-frame/dist/composables/useConfig.js +12 -0
  288. package/vendor/@echolab/ui-frame/dist/composables/useDatePicker.d.ts +73 -0
  289. package/vendor/@echolab/ui-frame/dist/composables/useDatePicker.js +118 -0
  290. package/vendor/@echolab/ui-frame/dist/composables/useDrawer.d.ts +34 -0
  291. package/vendor/@echolab/ui-frame/dist/composables/useDrawer.js +97 -0
  292. package/vendor/@echolab/ui-frame/dist/composables/useFormField.d.ts +24 -0
  293. package/vendor/@echolab/ui-frame/dist/composables/useFormField.js +34 -0
  294. package/vendor/@echolab/ui-frame/dist/composables/useFormValidation.d.ts +18 -0
  295. package/vendor/@echolab/ui-frame/dist/composables/useFormValidation.js +44 -0
  296. package/vendor/@echolab/ui-frame/dist/composables/useLocale.d.ts +38 -0
  297. package/vendor/@echolab/ui-frame/dist/composables/useLocale.js +34 -0
  298. package/vendor/@echolab/ui-frame/dist/composables/useMenu.d.ts +55 -0
  299. package/vendor/@echolab/ui-frame/dist/composables/useMenu.js +218 -0
  300. package/vendor/@echolab/ui-frame/dist/composables/useModal.d.ts +31 -0
  301. package/vendor/@echolab/ui-frame/dist/composables/useModal.js +93 -0
  302. package/vendor/@echolab/ui-frame/dist/composables/useNumberInput.d.ts +52 -0
  303. package/vendor/@echolab/ui-frame/dist/composables/useNumberInput.js +100 -0
  304. package/vendor/@echolab/ui-frame/dist/composables/usePagination.d.ts +37 -0
  305. package/vendor/@echolab/ui-frame/dist/composables/usePagination.js +40 -0
  306. package/vendor/@echolab/ui-frame/dist/composables/usePopover.d.ts +38 -0
  307. package/vendor/@echolab/ui-frame/dist/composables/usePopover.js +54 -0
  308. package/vendor/@echolab/ui-frame/dist/composables/useSelect.d.ts +30 -0
  309. package/vendor/@echolab/ui-frame/dist/composables/useSelect.js +76 -0
  310. package/vendor/@echolab/ui-frame/dist/composables/useSlider.d.ts +39 -0
  311. package/vendor/@echolab/ui-frame/dist/composables/useSlider.js +79 -0
  312. package/vendor/@echolab/ui-frame/dist/composables/useSteps.d.ts +54 -0
  313. package/vendor/@echolab/ui-frame/dist/composables/useSteps.js +26 -0
  314. package/vendor/@echolab/ui-frame/dist/composables/useTable.d.ts +78 -0
  315. package/vendor/@echolab/ui-frame/dist/composables/useTable.js +103 -0
  316. package/vendor/@echolab/ui-frame/dist/composables/useTabs.d.ts +33 -0
  317. package/vendor/@echolab/ui-frame/dist/composables/useTabs.js +43 -0
  318. package/vendor/@echolab/ui-frame/dist/composables/useTheme.d.ts +40 -0
  319. package/vendor/@echolab/ui-frame/dist/composables/useTheme.js +81 -0
  320. package/vendor/@echolab/ui-frame/dist/composables/useToast.d.ts +44 -0
  321. package/vendor/@echolab/ui-frame/dist/composables/useToast.js +57 -0
  322. package/vendor/@echolab/ui-frame/dist/composables/useTooltip.d.ts +29 -0
  323. package/vendor/@echolab/ui-frame/dist/composables/useTooltip.js +27 -0
  324. package/vendor/@echolab/ui-frame/dist/composables/useTouchDevice.d.ts +7 -0
  325. package/vendor/@echolab/ui-frame/dist/composables/useTouchDevice.js +25 -0
  326. package/vendor/@echolab/ui-frame/dist/composables/useTree.d.ts +50 -0
  327. package/vendor/@echolab/ui-frame/dist/composables/useTree.js +219 -0
  328. package/vendor/@echolab/ui-frame/dist/composables/useUpload.d.ts +81 -0
  329. package/vendor/@echolab/ui-frame/dist/composables/useUpload.js +169 -0
  330. package/vendor/@echolab/ui-frame/dist/composables/useVirtualList.d.ts +59 -0
  331. package/vendor/@echolab/ui-frame/dist/composables/useVirtualList.js +107 -0
  332. package/vendor/@echolab/ui-frame/dist/doc/DocEditor.d.ts +41 -0
  333. package/vendor/@echolab/ui-frame/dist/doc/DocViewer.d.ts +39 -0
  334. package/vendor/@echolab/ui-frame/dist/doc/MarkdownEditor.d.ts +37 -0
  335. package/vendor/@echolab/ui-frame/dist/doc/MarkdownRenderer.d.ts +42 -0
  336. package/vendor/@echolab/ui-frame/dist/doc/doc-tree.d.ts +8 -0
  337. package/vendor/@echolab/ui-frame/dist/doc/index.d.ts +27 -0
  338. package/vendor/@echolab/ui-frame/dist/doc/index.js +1055 -0
  339. package/vendor/@echolab/ui-frame/dist/doc/parser.d.ts +15 -0
  340. package/vendor/@echolab/ui-frame/dist/doc/tree-utils.d.ts +22 -0
  341. package/vendor/@echolab/ui-frame/dist/doc/types.d.ts +42 -0
  342. package/vendor/@echolab/ui-frame/dist/doc/useDocLayout.d.ts +38 -0
  343. package/vendor/@echolab/ui-frame/dist/extensions/componentRegistry.d.ts +39 -0
  344. package/vendor/@echolab/ui-frame/dist/extensions/createComponent.d.ts +43 -0
  345. package/vendor/@echolab/ui-frame/dist/extensions/index.d.ts +4 -0
  346. package/vendor/@echolab/ui-frame/dist/extensions/index.js +6 -0
  347. package/vendor/@echolab/ui-frame/dist/extensions/types.d.ts +56 -0
  348. package/vendor/@echolab/ui-frame/dist/index.css +1 -0
  349. package/vendor/@echolab/ui-frame/dist/index.d.ts +80 -0
  350. package/vendor/@echolab/ui-frame/dist/locales/en-US.d.ts +3 -0
  351. package/vendor/@echolab/ui-frame/dist/locales/index.d.ts +3 -0
  352. package/vendor/@echolab/ui-frame/dist/locales/index.js +171 -0
  353. package/vendor/@echolab/ui-frame/dist/locales/types.d.ts +89 -0
  354. package/vendor/@echolab/ui-frame/dist/locales/zh-CN.d.ts +3 -0
  355. package/vendor/@echolab/ui-frame/dist/style.css +1 -0
  356. package/vendor/@echolab/ui-frame/dist/styles/base.d.ts +1 -0
  357. package/vendor/@echolab/ui-frame/dist/styles/tokens.d.ts +1 -0
  358. package/vendor/@echolab/ui-frame/dist/tokens.css +1 -0
  359. package/vendor/@echolab/ui-frame/dist/tokens.d.ts +1 -0
  360. package/vendor/@echolab/ui-frame/dist/tokens.js +1 -0
  361. package/vendor/@echolab/ui-frame/dist/ui-frame.css +1 -0
  362. package/vendor/@echolab/ui-frame/dist/ui-frame.d.ts +3 -0
  363. package/vendor/@echolab/ui-frame/dist/ui-frame.js +247 -0
  364. package/vendor/@echolab/ui-frame/dist/ui-frame.umd.cjs +3 -0
  365. package/vendor/@echolab/ui-frame/dist/utils/index.d.ts +14 -0
  366. package/vendor/@echolab/ui-frame/dist/utils/index.js +20 -0
  367. package/vendor/@echolab/ui-frame/package.json +131 -0
  368. package/vendor/fsevents-stub/index.d.ts +2 -0
  369. package/vendor/fsevents-stub/index.js +3 -0
  370. package/vendor/fsevents-stub/package.json +8 -0
@@ -0,0 +1,72 @@
1
+ import { defineComponent as g, computed as o, openBlock as i, createElementBlock as m, unref as h, normalizeClass as _, createElementVNode as u, normalizeStyle as b, toDisplayString as y, createCommentVNode as w } from "vue";
2
+ import { useLocale as x } from "../composables/useLocale.js";
3
+ import { u as L } from "./createComponent-jnXBYqCm.js";
4
+ import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ import '../NeumorphismProgress.css';const N = ["aria-valuenow", "aria-valuemax", "aria-label"], V = { class: "nm-progress__track" }, k = {
6
+ key: 0,
7
+ class: "nm-progress__label"
8
+ }, B = /* @__PURE__ */ g({
9
+ __name: "NeumorphismProgress",
10
+ props: {
11
+ modelValue: { default: 0 },
12
+ max: { default: 100 },
13
+ variant: { default: "primary" },
14
+ size: { default: "medium" },
15
+ showLabel: { type: Boolean, default: !1 },
16
+ indeterminate: { type: Boolean, default: !1 },
17
+ striped: { type: Boolean, default: !1 }
18
+ },
19
+ setup(r) {
20
+ const e = r, { config: t, resolveProp: n } = L(), l = o(
21
+ () => {
22
+ var a;
23
+ return n(e.variant, (a = t.value.progress) == null ? void 0 : a.variant, "primary");
24
+ }
25
+ ), c = o(() => {
26
+ var a;
27
+ return n(e.size, (a = t.value.progress) == null ? void 0 : a.size, "medium");
28
+ }), d = o(
29
+ () => {
30
+ var a;
31
+ return n(e.showLabel, (a = t.value.progress) == null ? void 0 : a.showLabel, !1);
32
+ }
33
+ ), { t: p } = x(), s = o(() => e.indeterminate ? 0 : Math.min(100, Math.max(0, e.modelValue / e.max * 100))), v = o(() => [
34
+ "nm-progress",
35
+ `nm-progress--${c.value}`,
36
+ `nm-progress--${l.value}`,
37
+ {
38
+ "nm-progress--indeterminate": e.indeterminate,
39
+ "nm-progress--striped": e.striped,
40
+ "nm-progress--complete": !e.indeterminate && s.value >= 100
41
+ }
42
+ ]), f = {
43
+ default: "var(--nm-text-secondary)",
44
+ primary: "var(--nm-primary-color)",
45
+ success: "var(--nm-color-success)",
46
+ warning: "var(--nm-color-warning)",
47
+ error: "var(--nm-color-error)"
48
+ };
49
+ return (a, C) => (i(), m("div", {
50
+ class: _(v.value),
51
+ role: "progressbar",
52
+ "aria-valuenow": r.indeterminate ? void 0 : r.modelValue,
53
+ "aria-valuemin": 0,
54
+ "aria-valuemax": r.max,
55
+ "aria-label": r.showLabel ? void 0 : h(p)("progressLabel", { percentage: Math.round(s.value) })
56
+ }, [
57
+ u("div", V, [
58
+ u("div", {
59
+ class: "nm-progress__bar",
60
+ style: b({
61
+ width: r.indeterminate ? "40%" : `${s.value}%`,
62
+ backgroundColor: f[l.value]
63
+ })
64
+ }, null, 4)
65
+ ]),
66
+ d.value ? (i(), m("span", k, y(Math.round(s.value)) + "%", 1)) : w("", !0)
67
+ ], 10, N));
68
+ }
69
+ }), E = /* @__PURE__ */ z(B, [["__scopeId", "data-v-696cafad"]]);
70
+ export {
71
+ E as N
72
+ };
@@ -0,0 +1,122 @@
1
+ import { defineComponent as k, useAttrs as I, computed as s, inject as x, openBlock as _, createElementBlock as b, unref as r, normalizeStyle as A, normalizeClass as N, createElementVNode as v, mergeProps as P, renderSlot as C, createTextVNode as j, toDisplayString as E, createCommentVNode as G, provide as L, toRef as y } from "vue";
2
+ import { useCheckable as w } from "../composables/useCheckable.js";
3
+ import { RadioGroupKey as S } from "../composables/injectionKeys.js";
4
+ import { u as R } from "./createComponent-jnXBYqCm.js";
5
+ import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ import { generateId as K } from "../utils/index.js";
7
+ import '../NeumorphismRadioGroup.css';const O = ["for"], T = { class: "nm-radio__input-wrapper" }, q = ["id", "checked", "disabled", "name", "value"], F = {
8
+ key: 0,
9
+ class: "nm-radio__label"
10
+ }, H = /* @__PURE__ */ k({
11
+ inheritAttrs: !1,
12
+ __name: "NeumorphismRadio",
13
+ props: {
14
+ modelValue: {},
15
+ value: {},
16
+ disabled: { type: Boolean, default: !1 },
17
+ label: {},
18
+ size: { default: "medium" },
19
+ name: {},
20
+ id: {}
21
+ },
22
+ emits: ["update:modelValue", "change"],
23
+ setup(t, { emit: h }) {
24
+ const e = t, { config: u, resolveProp: m } = R(), c = h, n = I(), p = s(() => {
25
+ const l = {};
26
+ for (const i of Object.keys(n))
27
+ i !== "class" && i !== "style" && (l[i] = n[i]);
28
+ return l;
29
+ }), a = x(S, null), f = s(() => a ? a.modelValue.value === e.value : e.modelValue === e.value), d = s(() => e.disabled || (a == null ? void 0 : a.disabled.value) || !1), o = s(
30
+ () => {
31
+ var l;
32
+ return m(e.size, (l = u.value.radio) == null ? void 0 : l.size, "medium");
33
+ }
34
+ ), g = s(
35
+ () => (a == null ? void 0 : a.size.value) || o.value
36
+ ), { inputId: z, classList: B } = w(() => ({
37
+ prefix: "radio",
38
+ isChecked: f.value,
39
+ isDisabled: d.value,
40
+ size: g.value
41
+ }));
42
+ function D() {
43
+ d.value || (a ? a.setValue(e.value) : (c("update:modelValue", e.value), c("change", e.value)));
44
+ }
45
+ return (l, i) => {
46
+ var V;
47
+ return _(), b("label", {
48
+ class: N([r(B), r(n).class]),
49
+ style: A(r(n).style),
50
+ for: r(z)
51
+ }, [
52
+ v("span", T, [
53
+ v("input", P({
54
+ id: r(z),
55
+ type: "radio",
56
+ class: "nm-radio__input",
57
+ checked: f.value,
58
+ disabled: d.value,
59
+ name: ((V = r(a)) == null ? void 0 : V.name.value) || t.name,
60
+ value: t.value
61
+ }, p.value, { onChange: D }), null, 16, q),
62
+ i[0] || (i[0] = v("span", {
63
+ class: "nm-radio__circle",
64
+ "aria-hidden": "true"
65
+ }, [
66
+ v("span", { class: "nm-radio__dot" })
67
+ ], -1))
68
+ ]),
69
+ t.label || l.$slots.default ? (_(), b("span", F, [
70
+ C(l.$slots, "default", {}, () => [
71
+ j(E(t.label), 1)
72
+ ], !0)
73
+ ])) : G("", !0)
74
+ ], 14, O);
75
+ };
76
+ }
77
+ }), ee = /* @__PURE__ */ $(H, [["__scopeId", "data-v-11a7a3f5"]]), J = ["aria-orientation"], M = /* @__PURE__ */ k({
78
+ __name: "NeumorphismRadioGroup",
79
+ props: {
80
+ modelValue: {},
81
+ disabled: { type: Boolean, default: !1 },
82
+ size: { default: "medium" },
83
+ name: {},
84
+ direction: { default: "horizontal" }
85
+ },
86
+ emits: ["update:modelValue", "change"],
87
+ setup(t, { emit: h }) {
88
+ const e = t, { config: u, resolveProp: m } = R(), c = s(
89
+ () => {
90
+ var o;
91
+ return m(e.size, (o = u.value.radioGroup) == null ? void 0 : o.size, "medium");
92
+ }
93
+ ), n = s(
94
+ () => {
95
+ var o;
96
+ return m(e.direction, (o = u.value.radioGroup) == null ? void 0 : o.direction, "horizontal");
97
+ }
98
+ ), p = h, a = s(() => e.name || K("nm-radio-group"));
99
+ function f(o) {
100
+ p("update:modelValue", o), p("change", o);
101
+ }
102
+ L(S, {
103
+ modelValue: y(e, "modelValue"),
104
+ name: a,
105
+ disabled: y(e, "disabled"),
106
+ size: s(() => c.value),
107
+ setValue: f
108
+ });
109
+ const d = s(() => ["nm-radio-group", `nm-radio-group--${n.value}`]);
110
+ return (o, g) => (_(), b("div", {
111
+ class: N(d.value),
112
+ role: "radiogroup",
113
+ "aria-orientation": t.direction
114
+ }, [
115
+ C(o.$slots, "default", {}, void 0, !0)
116
+ ], 10, J));
117
+ }
118
+ }), ae = /* @__PURE__ */ $(M, [["__scopeId", "data-v-bea83e43"]]);
119
+ export {
120
+ ee as N,
121
+ ae as a
122
+ };
@@ -0,0 +1,200 @@
1
+ import { defineComponent as G, computed as n, ref as g, watch as H, nextTick as J, openBlock as r, createElementBlock as d, createVNode as y, unref as t, createElementVNode as i, normalizeClass as v, renderSlot as B, createTextVNode as Q, toDisplayString as x, createCommentVNode as _, createBlock as U, Teleport as W, Transition as Z, withCtx as ee, normalizeStyle as le, Fragment as te, renderList as oe, withModifiers as ae } from "vue";
2
+ import { useSelect as se } from "../composables/useSelect.js";
3
+ import { useFormField as ne } from "../composables/useFormField.js";
4
+ import { useConfig as re } from "../composables/useConfig.js";
5
+ import { useLocale as ie } from "../composables/useLocale.js";
6
+ import { N as de } from "./NeumorphismFieldLabel-CBF1nZs1.js";
7
+ import { N as ue } from "./NeumorphismFieldError-BxamHjhs.js";
8
+ import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
+ import '../NeumorphismSelect.css';const me = { class: "nm-select__wrapper" }, fe = ["tabindex", "aria-expanded", "aria-labelledby"], pe = { class: "nm-select__actions" }, be = ["aria-label"], ve = ["aria-label"], we = ["aria-selected", "aria-disabled", "onClick"], he = {
10
+ key: 0,
11
+ class: "nm-select__option nm-select__option--empty"
12
+ }, ge = /* @__PURE__ */ G({
13
+ __name: "NeumorphismSelect",
14
+ props: {
15
+ modelValue: { default: "" },
16
+ options: { default: () => [] },
17
+ placeholder: { default: "" },
18
+ disabled: { type: Boolean, default: !1 },
19
+ size: { default: "medium" },
20
+ label: {},
21
+ required: { type: Boolean },
22
+ error: { type: [String, Boolean] },
23
+ name: {},
24
+ id: {},
25
+ clearable: { type: Boolean, default: !1 },
26
+ emptyText: { default: "" },
27
+ clearLabel: { default: "" },
28
+ listLabel: { default: "" }
29
+ },
30
+ emits: ["update:modelValue", "change", "focus", "blur"],
31
+ setup(s, { emit: N }) {
32
+ const o = s, S = re(), { t: m } = ie(), T = n(() => {
33
+ var e;
34
+ return o.size ?? ((e = S.value.select) == null ? void 0 : e.size) ?? "medium";
35
+ }), z = n(() => o.placeholder || m("selectPlaceholder")), E = n(() => o.emptyText || m("selectEmpty")), F = n(() => o.clearLabel || m("selectClear")), $ = n(() => o.listLabel || m("selectListLabel")), f = N, R = n({
36
+ get: () => o.modelValue,
37
+ set: (e) => {
38
+ f("update:modelValue", e), f("change", e);
39
+ }
40
+ }), {
41
+ isOpen: u,
42
+ selectedOption: p,
43
+ toggleOpen: L,
44
+ selectOption: k,
45
+ clearValue: M,
46
+ handleKeydown: C,
47
+ handleBlur: P
48
+ } = se({
49
+ modelValue: R,
50
+ options: n(() => o.options),
51
+ disabled: n(() => o.disabled)
52
+ }), { fieldId: w, errorMessage: q, baseClassList: O, handleFocus: D, handleBlur: I } = ne(() => ({
53
+ id: o.id,
54
+ size: T.value,
55
+ disabled: o.disabled,
56
+ error: o.error,
57
+ prefix: "select"
58
+ })), K = n(() => [
59
+ ...O("nm-select").value,
60
+ {
61
+ "nm-select--open": u.value,
62
+ "nm-select--has-value": o.modelValue !== "" && o.modelValue !== void 0 && o.modelValue !== null
63
+ }
64
+ ]);
65
+ function X(e) {
66
+ e.stopPropagation(), M();
67
+ }
68
+ const h = g(), V = g(), b = g({ top: 0, left: 0, width: 0 });
69
+ function c() {
70
+ if (!h.value || typeof window > "u") return;
71
+ const e = h.value.getBoundingClientRect();
72
+ b.value = {
73
+ top: e.bottom + window.scrollY + 6,
74
+ left: e.left + window.scrollX,
75
+ width: e.width
76
+ };
77
+ }
78
+ H(u, (e) => {
79
+ e ? (J(c), typeof window < "u" && (window.addEventListener("scroll", c, !0), window.addEventListener("resize", c))) : typeof window < "u" && (window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", c));
80
+ });
81
+ const Y = n(() => ({
82
+ position: "fixed",
83
+ top: `${b.value.top}px`,
84
+ left: `${b.value.left}px`,
85
+ width: `${b.value.width}px`
86
+ }));
87
+ function j(e) {
88
+ var a;
89
+ (a = V.value) != null && a.contains(e.relatedTarget) || (P(e.relatedTarget, e.currentTarget), I(e, f));
90
+ }
91
+ return (e, a) => (r(), d("div", me, [
92
+ y(de, {
93
+ label: s.label,
94
+ required: s.required,
95
+ "for-id": t(w)
96
+ }, null, 8, ["label", "required", "for-id"]),
97
+ i("div", {
98
+ ref_key: "triggerRef",
99
+ ref: h,
100
+ class: v(K.value),
101
+ tabindex: s.disabled ? -1 : 0,
102
+ role: "combobox",
103
+ "aria-expanded": t(u),
104
+ "aria-haspopup": "listbox",
105
+ "aria-labelledby": s.label ? t(w) : void 0,
106
+ onClick: a[0] || (a[0] = //@ts-ignore
107
+ (...l) => t(L) && t(L)(...l)),
108
+ onFocus: a[1] || (a[1] = (l) => t(D)(l, f)),
109
+ onBlur: j,
110
+ onKeydown: a[2] || (a[2] = //@ts-ignore
111
+ (...l) => t(C) && t(C)(...l))
112
+ }, [
113
+ i("span", {
114
+ class: v(["nm-select__value", { "nm-select__value--placeholder": !t(p) }])
115
+ }, [
116
+ B(e.$slots, "value", { option: t(p) }, () => {
117
+ var l;
118
+ return [
119
+ Q(x(((l = t(p)) == null ? void 0 : l.label) || z.value), 1)
120
+ ];
121
+ }, !0)
122
+ ], 2),
123
+ i("span", pe, [
124
+ s.clearable && t(p) ? (r(), d("button", {
125
+ key: 0,
126
+ class: "nm-select__clear",
127
+ type: "button",
128
+ "aria-label": F.value,
129
+ onClick: X
130
+ }, [...a[3] || (a[3] = [
131
+ i("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
+ i("path", { d: "M18 6L6 18M6 6l12 12" })
140
+ ], -1)
141
+ ])], 8, be)) : _("", !0),
142
+ (r(), d("svg", {
143
+ class: v(["nm-select__arrow", { "nm-select__arrow--open": t(u) }]),
144
+ width: "16",
145
+ height: "16",
146
+ viewBox: "0 0 24 24",
147
+ fill: "none",
148
+ stroke: "currentColor",
149
+ "stroke-width": "2"
150
+ }, [...a[4] || (a[4] = [
151
+ i("path", { d: "M6 9l6 6 6-6" }, null, -1)
152
+ ])], 2))
153
+ ]),
154
+ (r(), U(W, { to: "body" }, [
155
+ y(Z, { name: "nm-select-dropdown" }, {
156
+ default: ee(() => [
157
+ t(u) ? (r(), d("div", {
158
+ key: 0,
159
+ ref_key: "dropdownRef",
160
+ ref: V,
161
+ class: "nm-select__dropdown",
162
+ role: "listbox",
163
+ "aria-label": s.label || $.value,
164
+ style: le(Y.value)
165
+ }, [
166
+ (r(!0), d(te, null, oe(s.options, (l, A) => B(e.$slots, "option", {
167
+ key: l.value,
168
+ option: l,
169
+ selected: l.value === s.modelValue,
170
+ index: A,
171
+ select: t(k)
172
+ }, () => [
173
+ i("div", {
174
+ class: v(["nm-select__option", {
175
+ "nm-select__option--selected": l.value === s.modelValue,
176
+ "nm-select__option--disabled": l.disabled
177
+ }]),
178
+ role: "option",
179
+ "aria-selected": l.value === s.modelValue,
180
+ "aria-disabled": l.disabled,
181
+ onClick: ae((ye) => t(k)(l), ["stop"])
182
+ }, x(l.label), 11, we)
183
+ ], !0)), 128)),
184
+ s.options.length === 0 ? (r(), d("div", he, x(E.value), 1)) : _("", !0)
185
+ ], 12, ve)) : _("", !0)
186
+ ]),
187
+ _: 3
188
+ })
189
+ ]))
190
+ ], 42, fe),
191
+ y(ue, {
192
+ id: `${t(w)}-error`,
193
+ message: t(q)
194
+ }, null, 8, ["id", "message"])
195
+ ]));
196
+ }
197
+ }), Se = /* @__PURE__ */ ce(ge, [["__scopeId", "data-v-1bdea91a"]]);
198
+ export {
199
+ Se as N
200
+ };
@@ -0,0 +1,56 @@
1
+ import { defineComponent as k, computed as t, openBlock as m, createElementBlock as u, Fragment as v, renderList as _, unref as g, normalizeStyle as x, normalizeClass as y, createElementVNode as N } from "vue";
2
+ import { useLocale as S } from "../composables/useLocale.js";
3
+ import { u as b } from "./createComponent-jnXBYqCm.js";
4
+ import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ import '../NeumorphismSkeleton.css';const w = ["aria-label"], z = /* @__PURE__ */ k({
6
+ __name: "NeumorphismSkeleton",
7
+ props: {
8
+ variant: { default: "text" },
9
+ width: {},
10
+ height: {},
11
+ count: { default: 1 },
12
+ animation: { default: "pulse" }
13
+ },
14
+ setup(n) {
15
+ const o = n, { config: s, resolveProp: i } = b(), c = t(
16
+ () => {
17
+ var e;
18
+ return i(o.variant, (e = s.value.skeleton) == null ? void 0 : e.variant, "text");
19
+ }
20
+ ), p = t(
21
+ () => {
22
+ var e;
23
+ return i(o.animation, (e = s.value.skeleton) == null ? void 0 : e.animation, "pulse");
24
+ }
25
+ ), { t: d } = S(), f = t(() => {
26
+ const e = Math.max(0, Math.floor(o.count));
27
+ return Array.from({ length: e }, (a, r) => r);
28
+ }), h = t(() => [
29
+ "nm-skeleton",
30
+ `nm-skeleton--${c.value}`,
31
+ `nm-skeleton--${p.value}`
32
+ ]);
33
+ function l(e) {
34
+ if (e !== void 0)
35
+ return typeof e == "number" ? `${e}px` : e;
36
+ }
37
+ return (e, a) => (m(!0), u(v, null, _(f.value, (r) => (m(), u("span", {
38
+ key: r,
39
+ class: y(h.value),
40
+ style: x({
41
+ width: l(n.width),
42
+ height: l(n.height)
43
+ }),
44
+ role: "status",
45
+ "aria-label": g(d)("skeletonLoading")
46
+ }, [...a[0] || (a[0] = [
47
+ N("span", {
48
+ class: "nm-skeleton__shimmer",
49
+ "aria-hidden": "true"
50
+ }, null, -1)
51
+ ])], 14, w))), 128));
52
+ }
53
+ }), E = /* @__PURE__ */ L(z, [["__scopeId", "data-v-66ae242b"]]);
54
+ export {
55
+ E as N
56
+ };
@@ -0,0 +1,163 @@
1
+ import { defineComponent as X, computed as r, ref as _, openBlock as u, createElementBlock as d, normalizeClass as P, createElementVNode as c, normalizeStyle as f, unref as o, Fragment as Y, renderList as U, withModifiers as j, createVNode as q, Transition as A, withCtx as G, toDisplayString as H, createCommentVNode as J } from "vue";
2
+ import { u as O } from "./createComponent-jnXBYqCm.js";
3
+ import { useSlider as Q, coordinateToValue as W } from "../composables/useSlider.js";
4
+ import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ import '../NeumorphismSlider.css';const ee = ["tabindex", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-disabled", "aria-orientation"], te = {
6
+ key: 0,
7
+ class: "nm-slider__tooltip",
8
+ "aria-hidden": "true"
9
+ }, ae = /* @__PURE__ */ X({
10
+ __name: "NeumorphismSlider",
11
+ props: {
12
+ modelValue: { default: 0 },
13
+ min: { default: 0 },
14
+ max: { default: 100 },
15
+ step: { default: 1 },
16
+ disabled: { type: Boolean, default: !1 },
17
+ showTooltip: { type: Boolean, default: !0 },
18
+ showStops: { type: Boolean, default: !1 },
19
+ vertical: { type: Boolean, default: !1 },
20
+ size: { default: "medium" }
21
+ },
22
+ emits: ["update:modelValue", "change"],
23
+ setup(l, { emit: k }) {
24
+ const t = l, { config: m, resolveProp: v } = O(), T = r(
25
+ () => {
26
+ var e;
27
+ return v(t.size, (e = m.value.slider) == null ? void 0 : e.size, "medium");
28
+ }
29
+ ), p = r(
30
+ () => {
31
+ var e;
32
+ return v(t.showTooltip, (e = m.value.slider) == null ? void 0 : e.showTooltip, !0);
33
+ }
34
+ ), z = r(
35
+ () => {
36
+ var e;
37
+ return v(t.showStops, (e = m.value.slider) == null ? void 0 : e.showStops, !1);
38
+ }
39
+ ), g = k, B = r(() => t.disabled), C = r(() => t.vertical), { sliderValue: s, percentage: h, setValue: N, handleKeydown: w, isDragging: x } = Q({
40
+ modelValue: r({
41
+ get: () => t.modelValue,
42
+ set: (e) => {
43
+ g("update:modelValue", e), g("change", e);
44
+ }
45
+ }),
46
+ min: t.min,
47
+ max: t.max,
48
+ step: t.step,
49
+ disabled: B,
50
+ vertical: C
51
+ }), b = _(null), n = _(!1);
52
+ function R() {
53
+ var e;
54
+ return ((e = b.value) == null ? void 0 : e.getBoundingClientRect()) ?? null;
55
+ }
56
+ function S(e, i) {
57
+ const a = R();
58
+ if (!a) return;
59
+ const F = t.vertical ? i : e, K = t.vertical ? a.top : a.left, L = t.vertical ? a.height : a.width, M = W(
60
+ F,
61
+ K,
62
+ L,
63
+ t.min,
64
+ t.max,
65
+ t.step,
66
+ t.vertical
67
+ );
68
+ N(M);
69
+ }
70
+ function y(e) {
71
+ if (t.disabled) return;
72
+ n.value = !0, x.value = !0, e.currentTarget.setPointerCapture(e.pointerId), S(e.clientX, e.clientY);
73
+ }
74
+ function $(e) {
75
+ n.value && S(e.clientX, e.clientY);
76
+ }
77
+ function V(e) {
78
+ if (!n.value) return;
79
+ n.value = !1, x.value = !1, e.currentTarget.releasePointerCapture(e.pointerId);
80
+ }
81
+ const D = r(() => {
82
+ if (!z.value) return [];
83
+ const e = [], i = t.max - t.min;
84
+ if (i <= 0) return e;
85
+ for (let a = t.min; a <= t.max; a += t.step)
86
+ e.push({
87
+ value: a,
88
+ percentage: (a - t.min) / i * 100
89
+ });
90
+ return e;
91
+ }), E = r(() => `${s.value}`), I = r(() => [
92
+ "nm-slider",
93
+ `nm-slider--${T.value}`,
94
+ {
95
+ "nm-slider--disabled": t.disabled,
96
+ "nm-slider--vertical": t.vertical,
97
+ "nm-slider--dragging": n.value,
98
+ "nm-slider--show-tooltip": p.value && n.value
99
+ }
100
+ ]);
101
+ return (e, i) => (u(), d("div", {
102
+ class: P(I.value),
103
+ role: "group",
104
+ "aria-label": "Slider"
105
+ }, [
106
+ c("div", {
107
+ ref_key: "railRef",
108
+ ref: b,
109
+ class: "nm-slider__rail",
110
+ onPointerdown: y,
111
+ onPointermove: $,
112
+ onPointerup: V,
113
+ onPointercancel: V
114
+ }, [
115
+ c("div", {
116
+ class: "nm-slider__track",
117
+ style: f({
118
+ [l.vertical ? "height" : "width"]: `${o(h)}%`
119
+ }),
120
+ "aria-hidden": "true"
121
+ }, null, 4),
122
+ (u(!0), d(Y, null, U(D.value, (a) => (u(), d("span", {
123
+ key: a.value,
124
+ class: P(["nm-slider__stop", { "nm-slider__stop--active": a.value <= o(s) }]),
125
+ style: f({
126
+ [l.vertical ? "top" : "left"]: `${a.percentage}%`
127
+ }),
128
+ "aria-hidden": "true"
129
+ }, null, 6))), 128)),
130
+ c("div", {
131
+ class: "nm-slider__thumb-wrapper",
132
+ style: f({
133
+ [l.vertical ? "top" : "left"]: `${o(h)}%`
134
+ })
135
+ }, [
136
+ c("div", {
137
+ class: "nm-slider__thumb",
138
+ role: "slider",
139
+ tabindex: l.disabled ? -1 : 0,
140
+ "aria-valuemin": l.min,
141
+ "aria-valuemax": l.max,
142
+ "aria-valuenow": o(s),
143
+ "aria-valuetext": E.value,
144
+ "aria-disabled": l.disabled || void 0,
145
+ "aria-orientation": l.vertical ? "vertical" : "horizontal",
146
+ onKeydown: i[0] || (i[0] = //@ts-ignore
147
+ (...a) => o(w) && o(w)(...a)),
148
+ onPointerdown: j(y, ["stop"])
149
+ }, null, 40, ee),
150
+ q(A, { name: "nm-slider-tooltip" }, {
151
+ default: G(() => [
152
+ p.value && n.value ? (u(), d("span", te, H(o(s)), 1)) : J("", !0)
153
+ ]),
154
+ _: 1
155
+ })
156
+ ], 4)
157
+ ], 544)
158
+ ], 2));
159
+ }
160
+ }), oe = /* @__PURE__ */ Z(ae, [["__scopeId", "data-v-cb4ce4a0"]]);
161
+ export {
162
+ oe as N
163
+ };