@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,584 @@
1
+ import { defineComponent as oe, computed as s, ref as te, onMounted as le, watch as O, openBlock as a, createElementBlock as n, normalizeClass as g, createElementVNode as o, unref as r, withKeys as z, withModifiers as c, renderSlot as P, toDisplayString as m, createBlock as ae, TransitionGroup as ne, withCtx as re, Fragment as $, renderList as R, createCommentVNode as v, normalizeStyle as E } from "vue";
2
+ import { useUpload as ie } from "../composables/useUpload.js";
3
+ import { u as se } from "./createComponent-jnXBYqCm.js";
4
+ import { useLocale as de } from "../composables/useLocale.js";
5
+ import { _ as ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ import '../NeumorphismUpload.css';const pe = ["accept", "multiple", "disabled"], me = ["tabindex", "aria-disabled", "aria-label", "onKeydown"], ce = { class: "nm-upload__trigger-content" }, ve = {
7
+ key: 0,
8
+ class: "nm-upload__trigger-icon nm-upload__trigger-icon--drop",
9
+ width: "32",
10
+ height: "32",
11
+ viewBox: "0 0 24 24",
12
+ fill: "none",
13
+ stroke: "currentColor",
14
+ "stroke-width": "1.5",
15
+ "stroke-linecap": "round",
16
+ "stroke-linejoin": "round",
17
+ "aria-hidden": "true"
18
+ }, _e = {
19
+ key: 1,
20
+ class: "nm-upload__trigger-icon",
21
+ width: "28",
22
+ height: "28",
23
+ viewBox: "0 0 24 24",
24
+ fill: "none",
25
+ stroke: "currentColor",
26
+ "stroke-width": "1.5",
27
+ "stroke-linecap": "round",
28
+ "stroke-linejoin": "round",
29
+ "aria-hidden": "true"
30
+ }, ge = { class: "nm-upload__trigger-text" }, he = ["tabindex", "aria-disabled", "aria-label", "onKeydown"], ke = {
31
+ class: "nm-upload__item-icon",
32
+ "aria-hidden": "true"
33
+ }, ye = {
34
+ key: 0,
35
+ class: "nm-upload__spinner",
36
+ width: "16",
37
+ height: "16",
38
+ viewBox: "0 0 24 24",
39
+ fill: "none",
40
+ stroke: "currentColor",
41
+ "stroke-width": "2"
42
+ }, be = {
43
+ key: 1,
44
+ width: "16",
45
+ height: "16",
46
+ viewBox: "0 0 24 24",
47
+ fill: "none",
48
+ stroke: "currentColor",
49
+ "stroke-width": "2",
50
+ "stroke-linecap": "round",
51
+ "stroke-linejoin": "round"
52
+ }, xe = {
53
+ key: 2,
54
+ width: "16",
55
+ height: "16",
56
+ viewBox: "0 0 24 24",
57
+ fill: "none",
58
+ stroke: "currentColor",
59
+ "stroke-width": "2",
60
+ "stroke-linecap": "round",
61
+ "stroke-linejoin": "round"
62
+ }, we = {
63
+ key: 3,
64
+ width: "16",
65
+ height: "16",
66
+ viewBox: "0 0 24 24",
67
+ fill: "none",
68
+ stroke: "currentColor",
69
+ "stroke-width": "2",
70
+ "stroke-linecap": "round",
71
+ "stroke-linejoin": "round"
72
+ }, Ce = ["onClick"], fe = {
73
+ key: 1,
74
+ class: "nm-upload__item-name"
75
+ }, $e = { class: "nm-upload__item-size" }, Be = {
76
+ key: 2,
77
+ class: "nm-upload__item-error"
78
+ }, Le = {
79
+ key: 3,
80
+ class: "nm-upload__progress"
81
+ }, ze = ["aria-valuenow", "aria-label"], Me = ["aria-label", "onClick"], Ue = ["onMouseenter"], Se = ["aria-label", "onClick"], je = ["src", "alt"], Re = {
82
+ key: 0,
83
+ class: "nm-upload__item-overlay"
84
+ }, Te = { class: "nm-upload__item-info" }, Ve = ["onClick"], De = { class: "nm-upload__item-size" }, Fe = ["aria-label", "onClick"], Ie = ["onClick"], Ke = ["src", "alt"], Ne = {
85
+ key: 0,
86
+ class: "nm-upload__card-progress"
87
+ }, Oe = ["aria-valuenow"], Pe = { class: "nm-upload__card-actions" }, Ee = ["aria-label", "onClick"], He = ["aria-label", "onClick"], Ae = { class: "nm-upload__card-name" }, Ge = /* @__PURE__ */ oe({
88
+ __name: "NeumorphismUpload",
89
+ props: {
90
+ modelValue: { default: () => [] },
91
+ accept: { default: void 0 },
92
+ maxSize: { default: void 0 },
93
+ maxCount: { default: void 0 },
94
+ multiple: { type: Boolean, default: !1 },
95
+ disabled: { type: Boolean, default: !1 },
96
+ drag: { type: Boolean, default: !0 },
97
+ listType: { default: "text" },
98
+ showUploadList: { type: Boolean, default: !0 },
99
+ size: { default: "medium" },
100
+ autoUpload: { type: Boolean, default: !1 },
101
+ triggerText: { default: "" },
102
+ dropText: { default: "" },
103
+ removeLabel: { default: "" },
104
+ previewLabel: { default: "" }
105
+ },
106
+ emits: ["update:modelValue", "change", "preview", "remove", "exceed"],
107
+ setup(d, { emit: H }) {
108
+ const i = d, y = H, { config: b, resolveProp: x } = se(), { t: w } = de(), A = s(() => {
109
+ var t;
110
+ return x(i.size, (t = b.value.upload) == null ? void 0 : t.size, "medium");
111
+ }), T = s(() => {
112
+ var t;
113
+ return x(i.drag, (t = b.value.upload) == null ? void 0 : t.drag, !0);
114
+ }), G = s(
115
+ () => {
116
+ var t;
117
+ return x(i.showUploadList, (t = b.value.upload) == null ? void 0 : t.showUploadList, !0);
118
+ }
119
+ ), C = s(
120
+ () => {
121
+ var t;
122
+ return x(i.listType, (t = b.value.upload) == null ? void 0 : t.listType, "text");
123
+ }
124
+ ), W = s(
125
+ () => {
126
+ var t;
127
+ return x(i.autoUpload, (t = b.value.upload) == null ? void 0 : t.autoUpload, !1);
128
+ }
129
+ ), B = s(() => i.triggerText || w("uploadSelectFile")), V = s(() => i.dropText || w("uploadDropFile")), M = s(() => i.removeLabel || w("uploadRemove")), q = s(() => i.accept), J = s(() => i.maxSize), Q = s(() => i.maxCount), X = s(() => i.multiple), Y = s(() => W.value), {
130
+ files: p,
131
+ dragOver: _,
132
+ removeFile: Z,
133
+ fileInputRef: D,
134
+ handleDrag: L,
135
+ handleDragLeave: F,
136
+ handleDrop: I,
137
+ handleFileInput: K
138
+ } = ie({
139
+ accept: q,
140
+ maxSize: J,
141
+ maxCount: Q,
142
+ multiple: X,
143
+ autoUpload: Y,
144
+ onExceed: (t) => y("exceed", t)
145
+ }), U = te(null);
146
+ le(() => {
147
+ i.modelValue && i.modelValue.length > 0 && (p.value = [...i.modelValue]);
148
+ }), O(
149
+ () => p.value,
150
+ (t) => {
151
+ y("update:modelValue", [...t]), y("change", [...t]);
152
+ },
153
+ { deep: !0 }
154
+ );
155
+ let S = !0;
156
+ O(
157
+ () => i.modelValue,
158
+ (t) => {
159
+ var u;
160
+ if (!S) {
161
+ S = !0;
162
+ return;
163
+ }
164
+ const l = (t || []).map((k) => k.id).sort().join(","), e = p.value.map((k) => k.id).sort().join(",");
165
+ if (l !== e) {
166
+ S = !1;
167
+ for (const k of p.value)
168
+ if ((u = k.url) != null && u.startsWith("blob:"))
169
+ try {
170
+ URL.revokeObjectURL(k.url);
171
+ } catch {
172
+ }
173
+ p.value = t ? [...t] : [];
174
+ }
175
+ },
176
+ { immediate: !0, deep: !0 }
177
+ );
178
+ function j(t) {
179
+ y("remove", t), Z(t.id);
180
+ }
181
+ function f(t) {
182
+ y("preview", t);
183
+ }
184
+ function h() {
185
+ var t;
186
+ i.disabled || (_.value = !1, (t = D.value) == null || t.click());
187
+ }
188
+ const ee = s(() => [
189
+ "nm-upload",
190
+ `nm-upload--${A.value}`,
191
+ `nm-upload--list-${C.value}`,
192
+ {
193
+ "nm-upload--disabled": i.disabled,
194
+ "nm-upload--drag": T.value,
195
+ "nm-upload--dragover": _.value
196
+ }
197
+ ]);
198
+ function N(t) {
199
+ return t < 1024 ? `${t} B` : t < 1024 * 1024 ? `${(t / 1024).toFixed(1)} KB` : `${(t / (1024 * 1024)).toFixed(1)} MB`;
200
+ }
201
+ return (t, l) => (a(), n("div", {
202
+ class: g(ee.value),
203
+ role: "group",
204
+ "aria-label": "file upload"
205
+ }, [
206
+ o("input", {
207
+ ref_key: "fileInputRef",
208
+ ref: D,
209
+ type: "file",
210
+ accept: d.accept,
211
+ multiple: d.multiple,
212
+ disabled: d.disabled,
213
+ class: "nm-upload__input",
214
+ tabindex: "-1",
215
+ "aria-hidden": "true",
216
+ onChange: l[0] || (l[0] = //@ts-ignore
217
+ (...e) => r(K) && r(K)(...e))
218
+ }, null, 40, pe),
219
+ T.value ? (a(), n("div", {
220
+ key: 0,
221
+ class: g(["nm-upload__trigger", {
222
+ "nm-upload__trigger--dragover": r(_),
223
+ "nm-upload__trigger--disabled": d.disabled
224
+ }]),
225
+ role: "button",
226
+ tabindex: d.disabled ? -1 : 0,
227
+ "aria-disabled": d.disabled,
228
+ "aria-label": r(_) ? V.value : B.value,
229
+ onClick: h,
230
+ onDragover: l[1] || (l[1] = //@ts-ignore
231
+ (...e) => r(L) && r(L)(...e)),
232
+ onDragenter: l[2] || (l[2] = //@ts-ignore
233
+ (...e) => r(L) && r(L)(...e)),
234
+ onDragleave: l[3] || (l[3] = //@ts-ignore
235
+ (...e) => r(F) && r(F)(...e)),
236
+ onDrop: l[4] || (l[4] = //@ts-ignore
237
+ (...e) => r(I) && r(I)(...e)),
238
+ onKeydown: [
239
+ z(c(h, ["prevent"]), ["enter"]),
240
+ z(c(h, ["prevent"]), ["space"])
241
+ ]
242
+ }, [
243
+ P(t.$slots, "trigger", {
244
+ dragOver: r(_),
245
+ disabled: d.disabled
246
+ }, () => [
247
+ o("div", ce, [
248
+ r(_) ? (a(), n("svg", ve, [...l[6] || (l[6] = [
249
+ o("path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" }, null, -1),
250
+ o("polyline", { points: "17,8 12,3 7,8" }, null, -1),
251
+ o("line", {
252
+ x1: "12",
253
+ y1: "3",
254
+ x2: "12",
255
+ y2: "15"
256
+ }, null, -1)
257
+ ])])) : (a(), n("svg", _e, [...l[7] || (l[7] = [
258
+ o("line", {
259
+ x1: "12",
260
+ y1: "5",
261
+ x2: "12",
262
+ y2: "19"
263
+ }, null, -1),
264
+ o("line", {
265
+ x1: "5",
266
+ y1: "12",
267
+ x2: "19",
268
+ y2: "12"
269
+ }, null, -1)
270
+ ])])),
271
+ o("span", ge, m(r(_) ? V.value : B.value), 1)
272
+ ])
273
+ ], !0)
274
+ ], 42, me)) : (a(), n("div", {
275
+ key: 1,
276
+ class: g(["nm-upload__button", { "nm-upload__button--disabled": d.disabled }]),
277
+ role: "button",
278
+ tabindex: d.disabled ? -1 : 0,
279
+ "aria-disabled": d.disabled,
280
+ "aria-label": B.value,
281
+ onClick: h,
282
+ onKeydown: [
283
+ z(c(h, ["prevent"]), ["enter"]),
284
+ z(c(h, ["prevent"]), ["space"])
285
+ ]
286
+ }, [
287
+ P(t.$slots, "trigger", {
288
+ dragOver: !1,
289
+ disabled: d.disabled
290
+ }, () => [
291
+ l[8] || (l[8] = o("svg", {
292
+ class: "nm-upload__trigger-icon",
293
+ width: "20",
294
+ height: "20",
295
+ viewBox: "0 0 24 24",
296
+ fill: "none",
297
+ stroke: "currentColor",
298
+ "stroke-width": "2",
299
+ "stroke-linecap": "round",
300
+ "stroke-linejoin": "round",
301
+ "aria-hidden": "true"
302
+ }, [
303
+ o("line", {
304
+ x1: "12",
305
+ y1: "5",
306
+ x2: "12",
307
+ y2: "19"
308
+ }),
309
+ o("line", {
310
+ x1: "5",
311
+ y1: "12",
312
+ x2: "19",
313
+ y2: "12"
314
+ })
315
+ ], -1)),
316
+ o("span", null, m(B.value), 1)
317
+ ], !0)
318
+ ], 42, he)),
319
+ G.value && r(p).length > 0 ? (a(), ae(ne, {
320
+ key: 2,
321
+ name: "nm-upload-item",
322
+ tag: "div",
323
+ class: g(["nm-upload__list", `nm-upload__list--${C.value}`]),
324
+ role: "list",
325
+ "aria-label": "uploaded files"
326
+ }, {
327
+ default: re(() => [
328
+ C.value === "text" ? (a(!0), n($, { key: 0 }, R(r(p), (e) => (a(), n("div", {
329
+ key: e.id,
330
+ class: g(["nm-upload__item", `nm-upload__item--${e.status}`]),
331
+ role: "listitem"
332
+ }, [
333
+ o("span", ke, [
334
+ e.status === "uploading" ? (a(), n("svg", ye, [...l[9] || (l[9] = [
335
+ o("circle", {
336
+ cx: "12",
337
+ cy: "12",
338
+ r: "10",
339
+ "stroke-opacity": "0.25"
340
+ }, null, -1),
341
+ o("path", {
342
+ d: "M12 2a10 10 0 0 1 10 10",
343
+ "stroke-linecap": "round"
344
+ }, null, -1)
345
+ ])])) : e.status === "done" ? (a(), n("svg", be, [...l[10] || (l[10] = [
346
+ o("polyline", { points: "20,6 9,17 4,12" }, null, -1)
347
+ ])])) : e.status === "error" ? (a(), n("svg", xe, [...l[11] || (l[11] = [
348
+ o("circle", {
349
+ cx: "12",
350
+ cy: "12",
351
+ r: "10"
352
+ }, null, -1),
353
+ o("line", {
354
+ x1: "15",
355
+ y1: "9",
356
+ x2: "9",
357
+ y2: "15"
358
+ }, null, -1),
359
+ o("line", {
360
+ x1: "9",
361
+ y1: "9",
362
+ x2: "15",
363
+ y2: "15"
364
+ }, null, -1)
365
+ ])])) : (a(), n("svg", we, [...l[12] || (l[12] = [
366
+ o("path", { d: "M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z" }, null, -1),
367
+ o("polyline", { points: "13,2 13,9 20,9" }, null, -1)
368
+ ])]))
369
+ ]),
370
+ e.url ? (a(), n("a", {
371
+ key: 0,
372
+ class: "nm-upload__item-name nm-upload__item-name--link",
373
+ href: "#",
374
+ onClick: c((u) => f(e), ["prevent"])
375
+ }, m(e.name), 9, Ce)) : (a(), n("span", fe, m(e.name), 1)),
376
+ o("span", $e, m(N(e.size)), 1),
377
+ e.error ? (a(), n("span", Be, m(e.error), 1)) : v("", !0),
378
+ e.status === "uploading" ? (a(), n("div", Le, [
379
+ o("div", {
380
+ class: "nm-upload__progress-bar",
381
+ style: E({ width: `${e.progress}%` }),
382
+ role: "progressbar",
383
+ "aria-valuenow": Math.round(e.progress),
384
+ "aria-valuemin": "0",
385
+ "aria-valuemax": "100",
386
+ "aria-label": `${e.name} ${Math.round(e.progress)}%`
387
+ }, null, 12, ze)
388
+ ])) : v("", !0),
389
+ o("button", {
390
+ class: "nm-upload__remove",
391
+ type: "button",
392
+ "aria-label": `${M.value} ${e.name}`,
393
+ onClick: (u) => j(e)
394
+ }, [...l[13] || (l[13] = [
395
+ o("svg", {
396
+ width: "14",
397
+ height: "14",
398
+ viewBox: "0 0 24 24",
399
+ fill: "none",
400
+ stroke: "currentColor",
401
+ "stroke-width": "2",
402
+ "stroke-linecap": "round",
403
+ "stroke-linejoin": "round",
404
+ "aria-hidden": "true"
405
+ }, [
406
+ o("line", {
407
+ x1: "18",
408
+ y1: "6",
409
+ x2: "6",
410
+ y2: "18"
411
+ }),
412
+ o("line", {
413
+ x1: "6",
414
+ y1: "6",
415
+ x2: "18",
416
+ y2: "18"
417
+ })
418
+ ], -1)
419
+ ])], 8, Me)
420
+ ], 2))), 128)) : v("", !0),
421
+ (a(!0), n($, null, R(r(p), (e) => (a(), n($, {
422
+ key: e.id
423
+ }, [
424
+ C.value === "picture" && e.url ? (a(), n("div", {
425
+ key: 0,
426
+ class: g(["nm-upload__item nm-upload__item--picture", `nm-upload__item--${e.status}`]),
427
+ role: "listitem",
428
+ onMouseenter: (u) => U.value = e.id,
429
+ onMouseleave: l[5] || (l[5] = (u) => U.value = null)
430
+ }, [
431
+ o("button", {
432
+ class: "nm-upload__item-thumb",
433
+ type: "button",
434
+ "aria-label": `${i.previewLabel || r(w)("uploadPreview")} ${e.name}`,
435
+ onClick: (u) => f(e)
436
+ }, [
437
+ o("img", {
438
+ src: e.url,
439
+ alt: e.name,
440
+ class: "nm-upload__item-img"
441
+ }, null, 8, je),
442
+ U.value === e.id ? (a(), n("span", Re, [...l[14] || (l[14] = [
443
+ o("svg", {
444
+ width: "20",
445
+ height: "20",
446
+ viewBox: "0 0 24 24",
447
+ fill: "none",
448
+ stroke: "currentColor",
449
+ "stroke-width": "2"
450
+ }, [
451
+ o("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
452
+ o("circle", {
453
+ cx: "12",
454
+ cy: "12",
455
+ r: "3"
456
+ })
457
+ ], -1)
458
+ ])])) : v("", !0)
459
+ ], 8, Se),
460
+ o("div", Te, [
461
+ o("a", {
462
+ class: "nm-upload__item-name nm-upload__item-name--link",
463
+ href: "#",
464
+ onClick: c((u) => f(e), ["prevent"])
465
+ }, m(e.name), 9, Ve),
466
+ o("span", De, m(N(e.size)), 1)
467
+ ]),
468
+ o("button", {
469
+ class: "nm-upload__remove",
470
+ type: "button",
471
+ "aria-label": `${M.value} ${e.name}`,
472
+ onClick: (u) => j(e)
473
+ }, [...l[15] || (l[15] = [
474
+ o("svg", {
475
+ width: "14",
476
+ height: "14",
477
+ viewBox: "0 0 24 24",
478
+ fill: "none",
479
+ stroke: "currentColor",
480
+ "stroke-width": "2",
481
+ "stroke-linecap": "round",
482
+ "stroke-linejoin": "round",
483
+ "aria-hidden": "true"
484
+ }, [
485
+ o("line", {
486
+ x1: "18",
487
+ y1: "6",
488
+ x2: "6",
489
+ y2: "18"
490
+ }),
491
+ o("line", {
492
+ x1: "6",
493
+ y1: "6",
494
+ x2: "18",
495
+ y2: "18"
496
+ })
497
+ ], -1)
498
+ ])], 8, Fe)
499
+ ], 42, Ue)) : v("", !0)
500
+ ], 64))), 128)),
501
+ (a(!0), n($, null, R(r(p), (e) => (a(), n($, {
502
+ key: `card-${e.id}`
503
+ }, [
504
+ C.value === "picture-card" && e.url ? (a(), n("div", {
505
+ key: 0,
506
+ class: g(["nm-upload__item nm-upload__item--card", `nm-upload__item--${e.status}`]),
507
+ role: "listitem"
508
+ }, [
509
+ o("div", {
510
+ class: "nm-upload__card-inner",
511
+ onClick: (u) => f(e)
512
+ }, [
513
+ o("img", {
514
+ src: e.url,
515
+ alt: e.name,
516
+ class: "nm-upload__card-img"
517
+ }, null, 8, Ke),
518
+ e.status === "uploading" ? (a(), n("div", Ne, [
519
+ o("div", {
520
+ class: "nm-upload__progress-bar",
521
+ style: E({ width: `${e.progress}%` }),
522
+ role: "progressbar",
523
+ "aria-valuenow": Math.round(e.progress),
524
+ "aria-valuemin": "0",
525
+ "aria-valuemax": "100"
526
+ }, null, 12, Oe)
527
+ ])) : v("", !0),
528
+ o("div", Pe, [
529
+ o("button", {
530
+ type: "button",
531
+ class: "nm-upload__card-preview",
532
+ "aria-label": `${i.previewLabel || r(w)("uploadPreview")} ${e.name}`,
533
+ onClick: c((u) => f(e), ["stop"])
534
+ }, [...l[16] || (l[16] = [
535
+ o("svg", {
536
+ width: "16",
537
+ height: "16",
538
+ viewBox: "0 0 24 24",
539
+ fill: "none",
540
+ stroke: "currentColor",
541
+ "stroke-width": "2"
542
+ }, [
543
+ o("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
544
+ o("circle", {
545
+ cx: "12",
546
+ cy: "12",
547
+ r: "3"
548
+ })
549
+ ], -1)
550
+ ])], 8, Ee),
551
+ o("button", {
552
+ type: "button",
553
+ class: "nm-upload__card-remove",
554
+ "aria-label": `${M.value} ${e.name}`,
555
+ onClick: c((u) => j(e), ["stop"])
556
+ }, [...l[17] || (l[17] = [
557
+ o("svg", {
558
+ width: "16",
559
+ height: "16",
560
+ viewBox: "0 0 24 24",
561
+ fill: "none",
562
+ stroke: "currentColor",
563
+ "stroke-width": "2",
564
+ "stroke-linecap": "round",
565
+ "stroke-linejoin": "round"
566
+ }, [
567
+ o("polyline", { points: "3,6 5,6 21,6" }),
568
+ o("path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" })
569
+ ], -1)
570
+ ])], 8, He)
571
+ ])
572
+ ], 8, Ie),
573
+ o("span", Ae, m(e.name), 1)
574
+ ], 2)) : v("", !0)
575
+ ], 64))), 128))
576
+ ]),
577
+ _: 1
578
+ }, 8, ["class"])) : v("", !0)
579
+ ], 2));
580
+ }
581
+ }), Ye = /* @__PURE__ */ ue(Ge, [["__scopeId", "data-v-dfeafb5a"]]);
582
+ export {
583
+ Ye as N
584
+ };
@@ -0,0 +1,55 @@
1
+ import { defineComponent as x, computed as l, openBlock as s, createElementBlock as r, unref as e, createElementVNode as p, normalizeStyle as f, Fragment as N, renderList as V, renderSlot as v, createCommentVNode as H } from "vue";
2
+ import { useVirtualList as L } from "../composables/useVirtualList.js";
3
+ import { _ as S } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ import '../NeumorphismVirtualList.css';const b = {
5
+ key: 0,
6
+ class: "nm-virtual-list__empty"
7
+ }, F = /* @__PURE__ */ x({
8
+ __name: "NeumorphismVirtualList",
9
+ props: {
10
+ items: { default: () => [] },
11
+ itemHeight: { default: 40 },
12
+ overscan: { default: 5 },
13
+ keyField: { default: "id" }
14
+ },
15
+ setup(o, { expose: _ }) {
16
+ const i = o, { containerRef: h, visibleItems: n, totalHeight: y, offsetY: g, scrollTo: k, handleScroll: a, startIndex: m } = L({
17
+ items: l(() => i.items),
18
+ itemHeight: l(() => i.itemHeight),
19
+ overscan: l(() => i.overscan)
20
+ });
21
+ return _({ scrollTo: k }), (d, u) => (s(), r("div", {
22
+ ref_key: "containerRef",
23
+ ref: h,
24
+ class: "nm-virtual-list",
25
+ onScroll: u[0] || (u[0] = //@ts-ignore
26
+ (...t) => e(a) && e(a)(...t))
27
+ }, [
28
+ p("div", {
29
+ class: "nm-virtual-list__spacer",
30
+ style: f({ height: e(y) + "px" })
31
+ }, [
32
+ p("div", {
33
+ class: "nm-virtual-list__visible",
34
+ style: f({ transform: `translateY(${e(g)}px)` })
35
+ }, [
36
+ (s(!0), r(N, null, V(e(n), (t, c) => (s(), r("div", {
37
+ key: t[o.keyField] ?? e(m) + c,
38
+ class: "nm-virtual-list__item"
39
+ }, [
40
+ v(d.$slots, "default", {
41
+ item: t,
42
+ index: e(m) + c
43
+ }, void 0, !0)
44
+ ]))), 128))
45
+ ], 4)
46
+ ], 4),
47
+ e(n).length === 0 ? (s(), r("div", b, [
48
+ v(d.$slots, "empty", {}, void 0, !0)
49
+ ])) : H("", !0)
50
+ ], 544));
51
+ }
52
+ }), C = /* @__PURE__ */ S(F, [["__scopeId", "data-v-e0382cb8"]]);
53
+ export {
54
+ C as N
55
+ };
@@ -0,0 +1,30 @@
1
+ import { defineComponent as n, computed as a, openBlock as l, createElementBlock as d, renderSlot as c, unref as t } from "vue";
2
+ import { provideTheme as h } from "../composables/useTheme.js";
3
+ import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ import '../ThemeProvider.css';const f = { class: "nm-theme-provider nm-root" }, u = /* @__PURE__ */ n({
5
+ __name: "ThemeProvider",
6
+ props: {
7
+ defaultTheme: { default: "auto" },
8
+ storageKey: { default: "nm-theme-preference" },
9
+ followSystem: { type: Boolean, default: !0 }
10
+ },
11
+ setup(r) {
12
+ const o = r, m = a(() => ({
13
+ defaultTheme: o.defaultTheme,
14
+ storageKey: o.storageKey,
15
+ followSystem: o.followSystem
16
+ })), e = h(m);
17
+ return (s, i) => (l(), d("div", f, [
18
+ c(s.$slots, "default", {
19
+ theme: t(e).theme,
20
+ currentTheme: t(e).currentTheme,
21
+ isDark: t(e).isDark,
22
+ setTheme: t(e).setTheme,
23
+ toggleTheme: t(e).toggleTheme
24
+ }, void 0, !0)
25
+ ]));
26
+ }
27
+ }), v = /* @__PURE__ */ p(u, [["__scopeId", "data-v-4d385e26"]]);
28
+ export {
29
+ v as T
30
+ };
@@ -0,0 +1,9 @@
1
+ const s = (t, r) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [c, e] of r)
4
+ o[c] = e;
5
+ return o;
6
+ };
7
+ export {
8
+ s as _
9
+ };