@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,126 @@
1
+ import { defineComponent as E, useAttrs as I, computed as d, ref as A, onMounted as K, watch as L, nextTick as T, openBlock as h, createElementBlock as g, normalizeStyle as j, unref as r, normalizeClass as y, createVNode as x, createElementVNode as c, mergeProps as H, toDisplayString as v, createCommentVNode as M } from "vue";
2
+ import { useFormField as P } from "../composables/useFormField.js";
3
+ import { u as $ } from "./createComponent-jnXBYqCm.js";
4
+ import { N as D } from "./NeumorphismFieldLabel-CBF1nZs1.js";
5
+ import { N as O } from "./NeumorphismFieldError-BxamHjhs.js";
6
+ import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ import '../NeumorphismTextarea.css';const J = ["id", "value", "placeholder", "disabled", "readonly", "required", "maxlength", "minlength", "rows", "name", "inputmode", "aria-invalid", "aria-errormessage"], Q = { class: "nm-textarea__footer" }, U = {
8
+ key: 0,
9
+ class: "nm-textarea__count"
10
+ }, W = /* @__PURE__ */ E({
11
+ inheritAttrs: !1,
12
+ __name: "NeumorphismTextarea",
13
+ props: {
14
+ modelValue: { default: "" },
15
+ placeholder: {},
16
+ disabled: { type: Boolean, default: !1 },
17
+ readonly: { type: Boolean, default: !1 },
18
+ required: { type: Boolean, default: !1 },
19
+ size: { default: "medium" },
20
+ maxlength: {},
21
+ minlength: {},
22
+ label: {},
23
+ error: { type: [String, Boolean] },
24
+ name: {},
25
+ id: {},
26
+ inputmode: {},
27
+ rows: { default: 4 },
28
+ autoResize: { type: Boolean, default: !1 },
29
+ showCount: { type: Boolean, default: !1 }
30
+ },
31
+ emits: ["update:modelValue", "focus", "blur", "input", "change", "keydown", "enter"],
32
+ setup(e, { emit: p }) {
33
+ const t = e, o = p, s = I(), b = d(() => {
34
+ const a = {};
35
+ for (const l of Object.keys(s))
36
+ l !== "class" && l !== "style" && (a[l] = s[l]);
37
+ return a;
38
+ }), { config: w, resolveProp: z } = $(), N = d(() => {
39
+ var a;
40
+ return z(t.size, (a = w.value.textarea) == null ? void 0 : a.size, "medium");
41
+ }), { fieldId: i, errorMessage: f, baseClassList: k, handleFocus: B, handleBlur: V } = P(() => ({
42
+ id: t.id,
43
+ size: N.value,
44
+ disabled: t.disabled,
45
+ error: t.error,
46
+ prefix: "textarea"
47
+ })), n = A(), C = d(() => {
48
+ var a;
49
+ return ((a = t.modelValue) == null ? void 0 : a.length) || 0;
50
+ }), q = d(() => [
51
+ ...k("nm-textarea").value,
52
+ {
53
+ "nm-textarea--readonly": t.readonly,
54
+ "nm-textarea--has-label": !!t.label
55
+ }
56
+ ]);
57
+ function u() {
58
+ !t.autoResize || !n.value || (n.value.style.height = "auto", n.value.style.height = n.value.scrollHeight + "px");
59
+ }
60
+ function F(a) {
61
+ const l = a.target;
62
+ o("update:modelValue", l.value), o("input", a), u();
63
+ }
64
+ function R(a) {
65
+ o("change", a);
66
+ }
67
+ function S(a) {
68
+ o("keydown", a), a.key === "Enter" && !a.shiftKey && o("enter", t.modelValue);
69
+ }
70
+ return K(() => {
71
+ u();
72
+ }), L(
73
+ () => t.modelValue,
74
+ () => {
75
+ t.autoResize && T(u);
76
+ }
77
+ ), (a, l) => (h(), g("div", {
78
+ class: y(["nm-textarea__wrapper", r(s).class]),
79
+ style: j(r(s).style)
80
+ }, [
81
+ x(D, {
82
+ label: e.label,
83
+ required: e.required,
84
+ "for-id": r(i)
85
+ }, null, 8, ["label", "required", "for-id"]),
86
+ c("div", {
87
+ class: y(q.value)
88
+ }, [
89
+ c("textarea", H({
90
+ id: r(i),
91
+ ref_key: "textareaRef",
92
+ ref: n,
93
+ class: ["nm-textarea__field", { "nm-textarea__field--auto-resize": e.autoResize }],
94
+ value: e.modelValue,
95
+ placeholder: e.placeholder,
96
+ disabled: e.disabled,
97
+ readonly: e.readonly,
98
+ required: e.required,
99
+ maxlength: e.maxlength,
100
+ minlength: e.minlength,
101
+ rows: e.rows,
102
+ name: e.name,
103
+ inputmode: e.inputmode,
104
+ "aria-invalid": !!e.error,
105
+ "aria-errormessage": r(f) ? `${r(i)}-error` : void 0
106
+ }, b.value, {
107
+ onInput: F,
108
+ onChange: R,
109
+ onFocus: l[0] || (l[0] = (m) => r(B)(m, o)),
110
+ onBlur: l[1] || (l[1] = (m) => r(V)(m, o)),
111
+ onKeydown: S
112
+ }), null, 16, J)
113
+ ], 2),
114
+ c("div", Q, [
115
+ x(O, {
116
+ id: `${r(i)}-error`,
117
+ message: r(f)
118
+ }, null, 8, ["id", "message"]),
119
+ e.showCount && e.maxlength ? (h(), g("span", U, v(C.value) + " / " + v(e.maxlength), 1)) : M("", !0)
120
+ ])
121
+ ], 6));
122
+ }
123
+ }), te = /* @__PURE__ */ G(W, [["__scopeId", "data-v-c2f45776"]]);
124
+ export {
125
+ te as N
126
+ };
@@ -0,0 +1,144 @@
1
+ import { defineComponent as x, computed as u, watch as T, openBlock as o, createElementBlock as s, unref as C, normalizeClass as v, Fragment as y, renderList as V, createElementVNode as r, createCommentVNode as m, toDisplayString as z } from "vue";
2
+ import { useTheme as B } from "../composables/useTheme.js";
3
+ import { useLocale as M } from "../composables/useLocale.js";
4
+ import { u as A } from "./createComponent-jnXBYqCm.js";
5
+ import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ import '../NeumorphismThemeToggle.css';const L = ["aria-label"], D = ["aria-pressed", "disabled", "onClick"], S = {
7
+ key: 0,
8
+ class: "nm-theme-toggle__icon",
9
+ viewBox: "0 0 24 24",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg"
12
+ }, E = {
13
+ key: 1,
14
+ class: "nm-theme-toggle__icon",
15
+ viewBox: "0 0 24 24",
16
+ fill: "none",
17
+ xmlns: "http://www.w3.org/2000/svg"
18
+ }, $ = {
19
+ key: 2,
20
+ class: "nm-theme-toggle__icon",
21
+ viewBox: "0 0 24 24",
22
+ fill: "none",
23
+ xmlns: "http://www.w3.org/2000/svg"
24
+ }, j = {
25
+ key: 3,
26
+ class: "nm-theme-toggle__label"
27
+ }, F = /* @__PURE__ */ x({
28
+ __name: "NeumorphismThemeToggle",
29
+ props: {
30
+ modelValue: { default: "auto" },
31
+ size: { default: "medium" },
32
+ disableAuto: { type: Boolean, default: !1 },
33
+ disabled: { type: Boolean, default: !1 }
34
+ },
35
+ emits: ["update:modelValue", "change"],
36
+ setup(a, { emit: f }) {
37
+ const n = a, { config: c, resolveProp: g } = A(), p = u(
38
+ () => {
39
+ var e;
40
+ return g(n.size, (e = c.value.themeToggle) == null ? void 0 : e.size, "medium");
41
+ }
42
+ ), k = u(
43
+ () => {
44
+ var e;
45
+ return g(n.disableAuto, (e = c.value.themeToggle) == null ? void 0 : e.disableAuto, !1);
46
+ }
47
+ ), h = f, { t: i } = M(), b = u(() => {
48
+ const e = [
49
+ { value: "light", label: i("themeToggleLight") },
50
+ { value: "auto", label: i("themeToggleAuto") },
51
+ { value: "dark", label: i("themeToggleDark") }
52
+ ];
53
+ return k.value ? e.filter((t) => t.value !== "auto") : e;
54
+ }), d = B();
55
+ T(
56
+ () => n.modelValue,
57
+ (e) => {
58
+ e !== d.theme.value && d.setTheme(e);
59
+ },
60
+ { immediate: !0 }
61
+ );
62
+ const w = u(() => [
63
+ "nm-theme-toggle",
64
+ `nm-theme-toggle--${p.value}`,
65
+ {
66
+ "nm-theme-toggle--disabled": n.disabled
67
+ }
68
+ ]);
69
+ function _(e) {
70
+ n.disabled || e !== n.modelValue && (d.setTheme(e), h("update:modelValue", e), h("change", e));
71
+ }
72
+ return (e, t) => (o(), s("div", {
73
+ class: v(w.value),
74
+ role: "radiogroup",
75
+ "aria-label": C(i)("themeToggleLabel")
76
+ }, [
77
+ (o(!0), s(y, null, V(b.value, (l) => (o(), s("button", {
78
+ key: l.value,
79
+ type: "button",
80
+ class: v(["nm-theme-toggle__btn", {
81
+ "nm-theme-toggle__btn--active": a.modelValue === l.value
82
+ }]),
83
+ "aria-pressed": a.modelValue === l.value,
84
+ disabled: a.disabled,
85
+ onClick: (I) => _(l.value)
86
+ }, [
87
+ l.value === "light" ? (o(), s("svg", S, [...t[0] || (t[0] = [
88
+ r("circle", {
89
+ cx: "12",
90
+ cy: "12",
91
+ r: "4",
92
+ fill: "currentColor"
93
+ }, null, -1),
94
+ r("path", {
95
+ stroke: "currentColor",
96
+ "stroke-width": "2",
97
+ "stroke-linecap": "round",
98
+ d: "M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32 1.41 1.41M2 12h2m16 0h2M4.93 19.07l1.41-1.41m11.32-11.32 1.41-1.41"
99
+ }, null, -1)
100
+ ])])) : m("", !0),
101
+ l.value === "auto" ? (o(), s("svg", E, [...t[1] || (t[1] = [
102
+ r("rect", {
103
+ x: "2",
104
+ y: "3",
105
+ width: "20",
106
+ height: "14",
107
+ rx: "2",
108
+ stroke: "currentColor",
109
+ "stroke-width": "2"
110
+ }, null, -1),
111
+ r("path", {
112
+ stroke: "currentColor",
113
+ "stroke-width": "2",
114
+ "stroke-linecap": "round",
115
+ d: "M8 21h8m-4-4v4"
116
+ }, null, -1),
117
+ r("path", {
118
+ stroke: "currentColor",
119
+ "stroke-width": "2",
120
+ "stroke-linecap": "round",
121
+ "stroke-linejoin": "round",
122
+ d: "M12 9v3l2 1.5"
123
+ }, null, -1),
124
+ r("circle", {
125
+ cx: "12",
126
+ cy: "12",
127
+ r: "1",
128
+ fill: "currentColor"
129
+ }, null, -1)
130
+ ])])) : m("", !0),
131
+ l.value === "dark" ? (o(), s("svg", $, [...t[2] || (t[2] = [
132
+ r("path", {
133
+ fill: "currentColor",
134
+ d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"
135
+ }, null, -1)
136
+ ])])) : m("", !0),
137
+ a.size !== "small" ? (o(), s("span", j, z(l.label), 1)) : m("", !0)
138
+ ], 10, D))), 128))
139
+ ], 10, L));
140
+ }
141
+ }), K = /* @__PURE__ */ N(F, [["__scopeId", "data-v-1569a903"]]);
142
+ export {
143
+ K as N
144
+ };
@@ -0,0 +1,132 @@
1
+ import { defineComponent as y, computed as l, openBlock as r, createBlock as M, Teleport as L, createElementVNode as e, normalizeClass as p, createVNode as b, TransitionGroup as B, withCtx as N, createElementBlock as n, Fragment as T, renderList as P, unref as u, renderSlot as $, toDisplayString as S, createCommentVNode as V } from "vue";
2
+ import { useToast as z } from "../composables/useToast.js";
3
+ import { useLocale as E } from "../composables/useLocale.js";
4
+ import { u as A } from "./createComponent-jnXBYqCm.js";
5
+ import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ import '../NeumorphismToastProvider.css';const F = { class: "nm-toast__icon" }, G = {
7
+ key: 0,
8
+ width: "18",
9
+ height: "18",
10
+ viewBox: "0 0 24 24",
11
+ fill: "none",
12
+ stroke: "currentColor",
13
+ "stroke-width": "2"
14
+ }, I = {
15
+ key: 1,
16
+ width: "18",
17
+ height: "18",
18
+ viewBox: "0 0 24 24",
19
+ fill: "none",
20
+ stroke: "currentColor",
21
+ "stroke-width": "2"
22
+ }, j = {
23
+ key: 2,
24
+ width: "18",
25
+ height: "18",
26
+ viewBox: "0 0 24 24",
27
+ fill: "none",
28
+ stroke: "currentColor",
29
+ "stroke-width": "2"
30
+ }, q = {
31
+ key: 3,
32
+ width: "18",
33
+ height: "18",
34
+ viewBox: "0 0 24 24",
35
+ fill: "none",
36
+ stroke: "currentColor",
37
+ "stroke-width": "2"
38
+ }, H = { class: "nm-toast__message" }, J = ["aria-label", "onClick"], K = /* @__PURE__ */ y({
39
+ __name: "NeumorphismToastProvider",
40
+ props: {
41
+ position: { default: "top-right" },
42
+ maxCount: { default: 5 },
43
+ closeLabel: { default: "" }
44
+ },
45
+ setup(v, { expose: h }) {
46
+ const i = v, { config: d, resolveProp: m } = A(), k = l(
47
+ () => {
48
+ var s;
49
+ return m(i.position, (s = d.value.toast) == null ? void 0 : s.position, "top-right");
50
+ }
51
+ ), _ = l(
52
+ () => {
53
+ var s;
54
+ return m(i.maxCount, (s = d.value.toast) == null ? void 0 : s.maxCount, 5);
55
+ }
56
+ ), { t: f } = E(), g = l(() => i.closeLabel || f("toastClose")), { toasts: c, addToast: C, removeToast: a, clearAll: w } = z({
57
+ maxCount: _.value
58
+ });
59
+ h({ addToast: C, removeToast: a, clearAll: w, toasts: c });
60
+ const x = l(() => [
61
+ "nm-toast-container",
62
+ `nm-toast-container--${k.value}`
63
+ ]);
64
+ return (s, o) => (r(), M(L, { to: "body" }, [
65
+ e("div", {
66
+ class: p(x.value),
67
+ "aria-live": "polite",
68
+ "aria-atomic": "false"
69
+ }, [
70
+ b(B, { name: "nm-toast-list" }, {
71
+ default: N(() => [
72
+ (r(!0), n(T, null, P(u(c), (t) => $(s.$slots, "toast-item", {
73
+ key: t.id,
74
+ toast: t,
75
+ remove: () => u(a)(t.id)
76
+ }, () => [
77
+ e("div", {
78
+ class: p(["nm-toast", [`nm-toast--${t.type}`, { "nm-toast--leaving": t.leaving }]]),
79
+ role: "status"
80
+ }, [
81
+ e("span", F, [
82
+ t.type === "success" ? (r(), n("svg", G, [...o[0] || (o[0] = [
83
+ e("path", { d: "M5 13l4 4L19 7" }, null, -1)
84
+ ])])) : t.type === "error" ? (r(), n("svg", I, [...o[1] || (o[1] = [
85
+ e("circle", {
86
+ cx: "12",
87
+ cy: "12",
88
+ r: "10"
89
+ }, null, -1),
90
+ e("path", { d: "M15 9l-6 6M9 9l6 6" }, null, -1)
91
+ ])])) : t.type === "warning" ? (r(), n("svg", j, [...o[2] || (o[2] = [
92
+ e("path", { d: "M12 2L2 22h20L12 2zM12 9v4M12 17v1" }, null, -1)
93
+ ])])) : (r(), n("svg", q, [...o[3] || (o[3] = [
94
+ e("circle", {
95
+ cx: "12",
96
+ cy: "12",
97
+ r: "10"
98
+ }, null, -1),
99
+ e("path", { d: "M12 16v-4M12 8v-1" }, null, -1)
100
+ ])]))
101
+ ]),
102
+ e("span", H, S(t.message), 1),
103
+ t.closable ? (r(), n("button", {
104
+ key: 0,
105
+ class: "nm-toast__close",
106
+ "aria-label": g.value,
107
+ type: "button",
108
+ onClick: (O) => u(a)(t.id)
109
+ }, [...o[4] || (o[4] = [
110
+ e("svg", {
111
+ width: "14",
112
+ height: "14",
113
+ viewBox: "0 0 24 24",
114
+ fill: "none",
115
+ stroke: "currentColor",
116
+ "stroke-width": "2"
117
+ }, [
118
+ e("path", { d: "M18 6L6 18M6 6l12 12" })
119
+ ], -1)
120
+ ])], 8, J)) : V("", !0)
121
+ ], 2)
122
+ ], !0)), 128))
123
+ ]),
124
+ _: 3
125
+ })
126
+ ], 2)
127
+ ]));
128
+ }
129
+ }), Y = /* @__PURE__ */ D(K, [["__scopeId", "data-v-57965a01"]]);
130
+ export {
131
+ Y as N
132
+ };
@@ -0,0 +1,116 @@
1
+ import { defineComponent as S, useCssVars as W, computed as s, ref as $, watch as z, nextTick as E, openBlock as C, createElementBlock as N, unref as n, normalizeClass as T, renderSlot as x, createVNode as H, Transition as K, withCtx as R, createElementVNode as V, createTextVNode as D, toDisplayString as F, createCommentVNode as q } from "vue";
2
+ import { useTooltip as I } from "../composables/useTooltip.js";
3
+ import { u as O } from "./createComponent-jnXBYqCm.js";
4
+ import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ import '../NeumorphismTooltip.css';const A = ["aria-hidden"], G = { class: "nm-tooltip__content" }, J = /* @__PURE__ */ S({
6
+ __name: "NeumorphismTooltip",
7
+ props: {
8
+ content: {},
9
+ position: { default: "top" },
10
+ trigger: { default: "hover" },
11
+ disabled: { type: Boolean, default: !1 },
12
+ offset: { default: 8 },
13
+ delay: { default: 150 }
14
+ },
15
+ setup(u) {
16
+ W((o) => ({
17
+ d310ce7a: M.value
18
+ }));
19
+ const l = u, { config: v, resolveProp: f } = O(), r = s(
20
+ () => {
21
+ var o;
22
+ return f(l.position, (o = v.value.tooltip) == null ? void 0 : o.position, "top");
23
+ }
24
+ ), i = s(
25
+ () => {
26
+ var o;
27
+ return f(l.trigger, (o = v.value.tooltip) == null ? void 0 : o.trigger, "hover");
28
+ }
29
+ ), a = s(() => {
30
+ var o;
31
+ return f(l.offset, (o = v.value.tooltip) == null ? void 0 : o.offset, 8);
32
+ }), B = s(() => {
33
+ var o;
34
+ return f(l.delay, (o = v.value.tooltip) == null ? void 0 : o.delay, 150);
35
+ }), {
36
+ isVisible: d,
37
+ show: c,
38
+ hide: w,
39
+ toggle: L,
40
+ handleKeydown: g
41
+ } = I({
42
+ disabled: s(() => l.disabled),
43
+ delay: B.value
44
+ }), M = s(() => `${a.value}px`), y = $(), p = $(r.value);
45
+ function b() {
46
+ const o = y.value;
47
+ if (!o || typeof window > "u") return r.value;
48
+ const e = o.getBoundingClientRect(), t = o.querySelector(".nm-tooltip"), h = (t == null ? void 0 : t.offsetHeight) ?? 40, k = (t == null ? void 0 : t.offsetWidth) ?? 120;
49
+ switch (r.value) {
50
+ case "top":
51
+ if (e.top < h + a.value + 8) return "bottom";
52
+ break;
53
+ case "bottom":
54
+ if (e.bottom + h + a.value + 8 > window.innerHeight) return "top";
55
+ break;
56
+ case "left":
57
+ if (e.left < k + a.value + 8) return "right";
58
+ break;
59
+ case "right":
60
+ if (e.right + k + a.value + 8 > window.innerWidth) return "left";
61
+ break;
62
+ }
63
+ return r.value;
64
+ }
65
+ function m() {
66
+ d.value && (p.value = b());
67
+ }
68
+ z(d, (o) => {
69
+ o ? E(() => {
70
+ p.value = b(), typeof window < "u" && (window.addEventListener("scroll", m, { passive: !0 }), window.addEventListener("resize", m));
71
+ }) : (p.value = r.value, typeof window < "u" && (window.removeEventListener("scroll", m), window.removeEventListener("resize", m)));
72
+ });
73
+ const P = s(() => [
74
+ "nm-tooltip",
75
+ `nm-tooltip--${p.value}`,
76
+ { "nm-tooltip--visible": d.value }
77
+ ]);
78
+ return (o, e) => (C(), N("div", {
79
+ ref_key: "triggerRef",
80
+ ref: y,
81
+ class: T(["nm-tooltip-wrapper", { "nm-tooltip-wrapper--disabled": u.disabled }]),
82
+ onMouseenter: e[2] || (e[2] = (t) => i.value === "hover" ? n(c)() : void 0),
83
+ onMouseleave: e[3] || (e[3] = (t) => i.value === "hover" ? n(w)() : void 0),
84
+ onClick: e[4] || (e[4] = (t) => i.value === "click" ? n(L)() : void 0),
85
+ onFocusin: e[5] || (e[5] = (t) => i.value === "focus" ? n(c)() : void 0),
86
+ onFocusout: e[6] || (e[6] = (t) => i.value === "focus" ? n(w)() : void 0),
87
+ onKeydown: e[7] || (e[7] = //@ts-ignore
88
+ (...t) => n(g) && n(g)(...t))
89
+ }, [
90
+ x(o.$slots, "default", {}, void 0, !0),
91
+ H(K, { name: "nm-tooltip-fade" }, {
92
+ default: R(() => [
93
+ n(d) && (u.content || o.$slots.content) ? (C(), N("div", {
94
+ key: 0,
95
+ class: T(P.value),
96
+ role: "tooltip",
97
+ "aria-hidden": !n(d),
98
+ onMouseenter: e[0] || (e[0] = (t) => i.value === "hover" ? n(c)() : void 0),
99
+ onMouseleave: e[1] || (e[1] = (t) => i.value === "hover" ? n(w)() : void 0)
100
+ }, [
101
+ e[8] || (e[8] = V("span", { class: "nm-tooltip__arrow" }, null, -1)),
102
+ V("span", G, [
103
+ x(o.$slots, "content", {}, () => [
104
+ D(F(u.content), 1)
105
+ ], !0)
106
+ ])
107
+ ], 42, A)) : q("", !0)
108
+ ]),
109
+ _: 3
110
+ })
111
+ ], 34));
112
+ }
113
+ }), Z = /* @__PURE__ */ j(J, [["__scopeId", "data-v-f2e8bc1c"]]);
114
+ export {
115
+ Z as N
116
+ };