@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,147 @@
1
+ import { defineComponent as B, computed as l, openBlock as i, createElementBlock as c, normalizeClass as m, Fragment as $, renderList as E, createElementVNode as u, toDisplayString as h, createCommentVNode as p, renderSlot as D } from "vue";
2
+ import { useSteps as I } from "../composables/useSteps.js";
3
+ import { u as L } from "./createComponent-jnXBYqCm.js";
4
+ import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ import '../NeumorphismSteps.css';const j = ["aria-current", "disabled", "onClick"], F = {
6
+ key: 0,
7
+ class: "nm-steps__number"
8
+ }, P = {
9
+ key: 1,
10
+ class: "nm-steps__icon nm-steps__icon--check",
11
+ viewBox: "0 0 24 24",
12
+ fill: "none",
13
+ stroke: "currentColor",
14
+ "stroke-width": "3",
15
+ "stroke-linecap": "round",
16
+ "stroke-linejoin": "round"
17
+ }, q = {
18
+ key: 2,
19
+ class: "nm-steps__icon nm-steps__icon--error",
20
+ viewBox: "0 0 24 24",
21
+ fill: "none",
22
+ stroke: "currentColor",
23
+ "stroke-width": "2.5",
24
+ "stroke-linecap": "round"
25
+ }, A = { class: "nm-steps__content" }, G = {
26
+ key: 0,
27
+ class: "nm-steps__description"
28
+ }, H = /* @__PURE__ */ B({
29
+ __name: "NeumorphismSteps",
30
+ props: {
31
+ steps: { default: () => [] },
32
+ current: { default: 0 },
33
+ direction: { default: "horizontal" },
34
+ size: { default: "medium" },
35
+ center: { type: Boolean, default: !1 }
36
+ },
37
+ emits: ["update:current", "change", "stepClick"],
38
+ setup(r, { emit: y }) {
39
+ const o = r, _ = y, { config: f, resolveProp: d } = L(), C = l(
40
+ () => {
41
+ var e;
42
+ return d(o.direction, (e = f.value.steps) == null ? void 0 : e.direction, "horizontal");
43
+ }
44
+ ), g = l(() => {
45
+ var e;
46
+ return d(o.size, (e = f.value.steps) == null ? void 0 : e.size, "medium");
47
+ }), w = l(() => {
48
+ var e;
49
+ return d(o.center, (e = f.value.steps) == null ? void 0 : e.center, !1);
50
+ }), S = l({
51
+ get: () => o.current,
52
+ set: (e) => {
53
+ _("update:current", e), _("change", e);
54
+ }
55
+ }), { setCurrent: b } = I({
56
+ steps: l(() => o.steps),
57
+ current: S
58
+ });
59
+ function s(e) {
60
+ const n = o.steps[e];
61
+ return n ? n.status ? n.status : e < o.current ? "finish" : e === o.current ? "process" : "wait" : "wait";
62
+ }
63
+ function z(e, n) {
64
+ b(e), _("stepClick", n);
65
+ }
66
+ const N = l(() => [
67
+ "nm-steps",
68
+ `nm-steps--${C.value}`,
69
+ `nm-steps--${g.value}`,
70
+ { "nm-steps--center": w.value }
71
+ ]);
72
+ function k(e) {
73
+ return s(e) === "finish";
74
+ }
75
+ function v(e) {
76
+ return s(e) === "error";
77
+ }
78
+ return (e, n) => (i(), c("div", {
79
+ class: m(N.value),
80
+ role: "list"
81
+ }, [
82
+ (i(!0), c($, null, E(r.steps, (a, t) => (i(), c("div", {
83
+ key: a.key,
84
+ class: m([
85
+ "nm-steps__item",
86
+ {
87
+ "nm-steps__item--active": t === r.current,
88
+ "nm-steps__item--clickable": s(t) === "finish" || s(t) === "wait"
89
+ }
90
+ ]),
91
+ role: "listitem"
92
+ }, [
93
+ u("button", {
94
+ class: m(["nm-steps__circle", `nm-steps__circle--${s(t)}`]),
95
+ type: "button",
96
+ "aria-current": t === r.current ? "step" : void 0,
97
+ disabled: s(t) !== "finish" && s(t) !== "wait" && t !== r.current,
98
+ onClick: (J) => z(t, a)
99
+ }, [
100
+ !k(t) && !v(t) ? (i(), c("span", F, h(t + 1), 1)) : k(t) ? (i(), c("svg", P, [...n[0] || (n[0] = [
101
+ u("polyline", { points: "20 6 9 17 4 12" }, null, -1)
102
+ ])])) : v(t) ? (i(), c("svg", q, [...n[1] || (n[1] = [
103
+ u("line", {
104
+ x1: "18",
105
+ y1: "6",
106
+ x2: "6",
107
+ y2: "18"
108
+ }, null, -1),
109
+ u("line", {
110
+ x1: "6",
111
+ y1: "6",
112
+ x2: "18",
113
+ y2: "18"
114
+ }, null, -1)
115
+ ])])) : p("", !0)
116
+ ], 10, j),
117
+ t < r.steps.length - 1 ? (i(), c("div", {
118
+ key: 0,
119
+ class: m([
120
+ "nm-steps__connector",
121
+ {
122
+ "nm-steps__connector--finished": s(t) === "finish",
123
+ "nm-steps__connector--active": t === r.current
124
+ }
125
+ ])
126
+ }, null, 2)) : p("", !0),
127
+ u("div", A, [
128
+ u("span", {
129
+ class: m([
130
+ "nm-steps__title",
131
+ {
132
+ "nm-steps__title--active": t === r.current,
133
+ "nm-steps__title--finished": s(t) === "finish",
134
+ "nm-steps__title--error": s(t) === "error"
135
+ }
136
+ ])
137
+ }, h(a.title), 3),
138
+ a.description ? (i(), c("span", G, h(a.description), 1)) : p("", !0)
139
+ ])
140
+ ], 2))), 128)),
141
+ r.steps.length ? p("", !0) : D(e.$slots, "empty", { key: 0 }, void 0, !0)
142
+ ], 2));
143
+ }
144
+ }), R = /* @__PURE__ */ V(H, [["__scopeId", "data-v-239b1d7d"]]);
145
+ export {
146
+ R as N
147
+ };
@@ -0,0 +1,76 @@
1
+ import { defineComponent as f, computed as n, openBlock as l, createElementBlock as o, normalizeClass as b, toDisplayString as d, createCommentVNode as h, createElementVNode as c, normalizeStyle as k, renderSlot as C } from "vue";
2
+ import { useConfig as g } from "../composables/useConfig.js";
3
+ import { _ as y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ import '../NeumorphismSwitch.css';const x = {
5
+ key: 0,
6
+ class: "nm-switch__label nm-switch__label--inactive"
7
+ }, S = { class: "nm-switch__wrapper" }, z = ["checked", "disabled"], T = { class: "nm-switch__thumb" }, V = {
8
+ key: 1,
9
+ class: "nm-switch__label nm-switch__label--active"
10
+ }, N = /* @__PURE__ */ f({
11
+ __name: "NeumorphismSwitch",
12
+ props: {
13
+ modelValue: { type: Boolean, default: !1 },
14
+ disabled: { type: Boolean, default: !1 },
15
+ activeText: {},
16
+ inactiveText: {},
17
+ activeColor: {},
18
+ inactiveColor: {},
19
+ size: { default: "medium" }
20
+ },
21
+ emits: ["update:modelValue", "change"],
22
+ setup(s, { emit: r }) {
23
+ const t = s, u = g(), v = n(() => {
24
+ var e;
25
+ return t.size ?? ((e = u.value.switch) == null ? void 0 : e.size) ?? "medium";
26
+ }), m = r, a = n({
27
+ get: () => t.modelValue,
28
+ set: (e) => {
29
+ m("update:modelValue", e), m("change", e);
30
+ }
31
+ }), _ = n(() => [
32
+ "nm-switch",
33
+ `nm-switch--${v.value}`,
34
+ {
35
+ "nm-switch--checked": a.value,
36
+ "nm-switch--disabled": t.disabled
37
+ }
38
+ ]), p = n(() => {
39
+ const e = {};
40
+ return t.activeColor && (e["--nm-switch-active-color"] = t.activeColor), t.inactiveColor && (e["--nm-switch-inactive-color"] = t.inactiveColor), Object.keys(e).length ? e : void 0;
41
+ });
42
+ function w(e) {
43
+ const i = e.target;
44
+ a.value = i.checked;
45
+ }
46
+ return (e, i) => (l(), o("label", {
47
+ class: b(_.value)
48
+ }, [
49
+ s.inactiveText ? (l(), o("span", x, d(s.inactiveText), 1)) : h("", !0),
50
+ c("span", S, [
51
+ c("input", {
52
+ type: "checkbox",
53
+ class: "nm-switch__input",
54
+ checked: a.value,
55
+ disabled: s.disabled,
56
+ onChange: w
57
+ }, null, 40, z),
58
+ c("span", {
59
+ class: "nm-switch__track",
60
+ "aria-hidden": "true",
61
+ style: k(p.value)
62
+ }, [
63
+ c("span", T, [
64
+ C(e.$slots, "thumb", { checked: a.value }, () => [
65
+ i[0] || (i[0] = c("span", { class: "nm-switch__thumb-dot" }, null, -1))
66
+ ], !0)
67
+ ])
68
+ ], 4)
69
+ ]),
70
+ s.activeText ? (l(), o("span", V, d(s.activeText), 1)) : h("", !0)
71
+ ], 2));
72
+ }
73
+ }), j = /* @__PURE__ */ y(N, [["__scopeId", "data-v-6de237fe"]]);
74
+ export {
75
+ j as N
76
+ };
@@ -0,0 +1,189 @@
1
+ import { defineComponent as G, computed as d, openBlock as n, createElementBlock as a, normalizeClass as y, createElementVNode as o, createVNode as $, unref as i, createCommentVNode as m, Fragment as f, renderList as g, normalizeStyle as N, renderSlot as _, createTextVNode as T, toDisplayString as h } from "vue";
2
+ import { useTable as J } from "../composables/useTable.js";
3
+ import { useConfig as O } from "../composables/useConfig.js";
4
+ import { useLocale as P } from "../composables/useLocale.js";
5
+ import { N as B } from "./NeumorphismCheckbox-Bo5Q7yC_.js";
6
+ import { _ as Q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ import '../NeumorphismTable.css';const U = { class: "nm-table__wrapper" }, X = { class: "nm-table__inner" }, Y = {
8
+ key: 0,
9
+ class: "nm-table__head"
10
+ }, Z = {
11
+ key: 0,
12
+ class: "nm-table__th nm-table__th--selection"
13
+ }, ee = ["onClick"], te = { class: "nm-table__th-content" }, le = {
14
+ key: 0,
15
+ class: "nm-table__sort-icon",
16
+ "aria-hidden": "true"
17
+ }, se = { class: "nm-table__body" }, ne = ["onClick"], ae = {
18
+ key: 0,
19
+ class: "nm-table__td nm-table__td--selection"
20
+ }, oe = {
21
+ key: 0,
22
+ class: "nm-table__empty"
23
+ }, ie = { class: "nm-table__empty-text" }, de = {
24
+ key: 1,
25
+ class: "nm-table__loading"
26
+ }, re = { class: "nm-table__loading-text" }, ce = /* @__PURE__ */ G({
27
+ __name: "NeumorphismTable",
28
+ props: {
29
+ data: { default: () => [] },
30
+ columns: { default: () => [] },
31
+ rowKey: { default: "key" },
32
+ selectable: { type: [Boolean, String], default: !1 },
33
+ selectedKeys: { default: () => [] },
34
+ loading: { type: Boolean, default: !1 },
35
+ emptyText: { default: "暂无数据" },
36
+ size: { default: "medium" },
37
+ striped: { type: Boolean, default: !1 },
38
+ hoverable: { type: Boolean, default: !0 },
39
+ showHeader: { type: Boolean, default: !0 }
40
+ },
41
+ emits: ["update:selectedKeys", "select", "selectAll", "sort"],
42
+ setup(r, { emit: A }) {
43
+ const l = r, u = A, { t: p } = P(), W = O(), z = d(() => {
44
+ var e;
45
+ return l.size ?? ((e = W.value.table) == null ? void 0 : e.size) ?? "medium";
46
+ }), V = d(() => l.emptyText || p("tableEmpty")), E = d({
47
+ get: () => l.selectedKeys,
48
+ set: (e) => u("update:selectedKeys", e)
49
+ }), {
50
+ resolvedColumns: v,
51
+ displayData: k,
52
+ sortState: S,
53
+ toggleSort: L,
54
+ isSelected: C,
55
+ toggleSelect: D,
56
+ selectAll: H,
57
+ isAllSelected: K,
58
+ isIndeterminate: j
59
+ } = J({
60
+ data: d(() => l.data),
61
+ columns: d(() => l.columns),
62
+ rowKey: d(() => l.rowKey),
63
+ selectable: d(() => l.selectable),
64
+ selectedKeys: E
65
+ });
66
+ function F(e) {
67
+ L(e), u("sort", e, S.value.direction);
68
+ }
69
+ function w(e) {
70
+ const s = String(e[l.rowKey] ?? "");
71
+ D(s), u("select", s, e);
72
+ }
73
+ function I() {
74
+ H(), u("selectAll", K.value);
75
+ }
76
+ function M(e, s) {
77
+ const t = e[s.key];
78
+ return t == null ? "" : String(t);
79
+ }
80
+ function R(e) {
81
+ if (!e.width && !e.minWidth) return;
82
+ const s = {};
83
+ return e.width && (s.width = typeof e.width == "number" ? `${e.width}px` : e.width), e.minWidth && (s.minWidth = typeof e.minWidth == "number" ? `${e.minWidth}px` : e.minWidth), s;
84
+ }
85
+ const q = d(() => [
86
+ "nm-table",
87
+ `nm-table--${z.value}`,
88
+ {
89
+ "nm-table--striped": l.striped,
90
+ "nm-table--hoverable": l.hoverable,
91
+ "nm-table--loading": l.loading
92
+ }
93
+ ]), x = d(
94
+ () => l.selectable === !0 || l.selectable === "multiple"
95
+ );
96
+ return (e, s) => (n(), a("div", {
97
+ class: y(q.value)
98
+ }, [
99
+ o("div", U, [
100
+ o("table", X, [
101
+ r.showHeader ? (n(), a("thead", Y, [
102
+ o("tr", null, [
103
+ x.value ? (n(), a("th", Z, [
104
+ $(B, {
105
+ "model-value": i(K),
106
+ indeterminate: i(j),
107
+ onChange: I
108
+ }, null, 8, ["model-value", "indeterminate"])
109
+ ])) : m("", !0),
110
+ (n(!0), a(f, null, g(i(v), (t) => (n(), a("th", {
111
+ key: t.key,
112
+ class: y(["nm-table__th", {
113
+ "nm-table__th--sortable": t.sortable,
114
+ "nm-table__th--active": i(S).key === t.key
115
+ }]),
116
+ style: N([R(t), { textAlign: t.align }]),
117
+ onClick: (b) => t.sortable ? F(t.key) : void 0
118
+ }, [
119
+ o("span", te, [
120
+ _(e.$slots, "header", { column: t }, () => [
121
+ T(h(t.label), 1)
122
+ ], !0),
123
+ t.sortable ? (n(), a("span", le, [...s[0] || (s[0] = [
124
+ o("svg", {
125
+ width: "10",
126
+ height: "10",
127
+ viewBox: "0 0 24 24",
128
+ fill: "none",
129
+ stroke: "currentColor",
130
+ "stroke-width": "3",
131
+ "stroke-linecap": "round",
132
+ "stroke-linejoin": "round"
133
+ }, [
134
+ o("path", { d: "M18 15l-6-6-6 6" })
135
+ ], -1)
136
+ ])])) : m("", !0)
137
+ ])
138
+ ], 14, ee))), 128))
139
+ ])
140
+ ])) : m("", !0),
141
+ o("tbody", se, [
142
+ (n(!0), a(f, null, g(i(k), (t, b) => (n(), a("tr", {
143
+ key: String(t[r.rowKey] ?? b),
144
+ class: y(["nm-table__tr", {
145
+ "nm-table__tr--selected": i(C)(String(t[r.rowKey] ?? ""))
146
+ }]),
147
+ onClick: (c) => r.selectable === "single" ? w(t) : void 0
148
+ }, [
149
+ x.value ? (n(), a("td", ae, [
150
+ $(B, {
151
+ "model-value": i(C)(String(t[r.rowKey] ?? "")),
152
+ onChange: (c) => w(t)
153
+ }, null, 8, ["model-value", "onChange"])
154
+ ])) : m("", !0),
155
+ (n(!0), a(f, null, g(i(v), (c) => (n(), a("td", {
156
+ key: c.key,
157
+ class: "nm-table__td",
158
+ style: N({ textAlign: c.align })
159
+ }, [
160
+ _(e.$slots, `cell-${c.key}`, {
161
+ row: t,
162
+ column: c,
163
+ value: t[c.key],
164
+ index: b
165
+ }, () => [
166
+ T(h(M(t, c)), 1)
167
+ ], !0)
168
+ ], 4))), 128))
169
+ ], 10, ne))), 128))
170
+ ])
171
+ ]),
172
+ i(k).length === 0 && !r.loading ? (n(), a("div", oe, [
173
+ _(e.$slots, "empty", {}, () => [
174
+ o("span", ie, h(V.value), 1)
175
+ ], !0)
176
+ ])) : m("", !0),
177
+ r.loading ? (n(), a("div", de, [
178
+ _(e.$slots, "loading", {}, () => [
179
+ s[1] || (s[1] = o("span", { class: "nm-table__loading-spinner" }, null, -1)),
180
+ o("span", re, h(i(p)("tableLoading")), 1)
181
+ ], !0)
182
+ ])) : m("", !0)
183
+ ])
184
+ ], 2));
185
+ }
186
+ }), fe = /* @__PURE__ */ Q(ce, [["__scopeId", "data-v-3139066b"]]);
187
+ export {
188
+ fe as N
189
+ };
@@ -0,0 +1,98 @@
1
+ import { defineComponent as K, computed as o, ref as N, openBlock as v, createElementBlock as y, normalizeClass as k, createElementVNode as c, unref as i, Fragment as x, renderList as z, renderSlot as p, toDisplayString as E, nextTick as B } from "vue";
2
+ import { useTabs as I } from "../composables/useTabs.js";
3
+ import { useLocale as M } from "../composables/useLocale.js";
4
+ import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ import '../NeumorphismTabs.css';const S = ["aria-orientation", "aria-label"], D = ["id", "aria-selected", "aria-disabled", "tabindex", "disabled", "onClick", "onKeydown"], F = { class: "nm-tabs__tab-label" }, H = ["id", "aria-labelledby"], j = /* @__PURE__ */ K({
6
+ __name: "NeumorphismTabs",
7
+ props: {
8
+ modelValue: { default: "" },
9
+ tabs: { default: () => [] },
10
+ position: { default: "top" },
11
+ size: { default: "medium" },
12
+ navLabel: { default: "标签导航" }
13
+ },
14
+ emits: ["update:modelValue", "change", "tabClick"],
15
+ setup(l, { emit: _ }) {
16
+ const t = l, { t: h } = M(), V = o(() => t.navLabel || h("tabsNavLabel")), r = _, m = o({
17
+ get: () => t.modelValue,
18
+ set: (a) => {
19
+ r("update:modelValue", a), r("change", a);
20
+ const s = t.tabs.find((e) => e.key === a);
21
+ s && r("tabClick", s);
22
+ }
23
+ }), {
24
+ activate: u,
25
+ handleKeydown: $,
26
+ panelId: b,
27
+ orientation: L
28
+ } = I({
29
+ modelValue: m,
30
+ tabs: o(() => t.tabs),
31
+ position: o(() => t.position)
32
+ }), T = o(() => t.tabs.filter((a) => !a.disabled)), f = N(/* @__PURE__ */ new Map());
33
+ function g(a, s) {
34
+ s instanceof HTMLElement && f.value.set(a, s);
35
+ }
36
+ function w(a, s) {
37
+ $(a, s);
38
+ const e = T.value.find((n) => n.key === m.value);
39
+ e && B(() => {
40
+ var n;
41
+ return (n = f.value.get(e.key)) == null ? void 0 : n.focus();
42
+ });
43
+ }
44
+ const C = o(() => [
45
+ "nm-tabs",
46
+ `nm-tabs--${t.position}`,
47
+ `nm-tabs--${t.size}`
48
+ ]);
49
+ return (a, s) => (v(), y("div", {
50
+ class: k(C.value)
51
+ }, [
52
+ c("div", {
53
+ class: "nm-tabs__nav",
54
+ role: "tablist",
55
+ "aria-orientation": i(L),
56
+ "aria-label": V.value
57
+ }, [
58
+ (v(!0), y(x, null, z(l.tabs, (e, n) => p(a.$slots, "tab", {
59
+ key: e.key,
60
+ tab: e,
61
+ active: l.modelValue === e.key,
62
+ index: n,
63
+ activate: i(u)
64
+ }, () => [
65
+ c("button", {
66
+ id: `${i(b)}-tab-${e.key}`,
67
+ ref_for: !0,
68
+ ref: (d) => g(e.key, d),
69
+ class: k(["nm-tabs__tab", {
70
+ "nm-tabs__tab--active": l.modelValue === e.key,
71
+ "nm-tabs__tab--disabled": e.disabled
72
+ }]),
73
+ role: "tab",
74
+ "aria-selected": l.modelValue === e.key,
75
+ "aria-disabled": e.disabled,
76
+ tabindex: l.modelValue === e.key ? 0 : -1,
77
+ disabled: e.disabled,
78
+ onClick: (d) => i(u)(e.key),
79
+ onKeydown: (d) => w(d, e.key)
80
+ }, [
81
+ c("span", F, E(e.label), 1)
82
+ ], 42, D)
83
+ ], !0)), 128))
84
+ ], 8, S),
85
+ c("div", {
86
+ id: i(b),
87
+ class: "nm-tabs__panel",
88
+ role: "tabpanel",
89
+ "aria-labelledby": `${i(b)}-tab-${l.modelValue}`
90
+ }, [
91
+ p(a.$slots, "default", {}, void 0, !0)
92
+ ], 8, H)
93
+ ], 2));
94
+ }
95
+ }), O = /* @__PURE__ */ R(j, [["__scopeId", "data-v-e74396ae"]]);
96
+ export {
97
+ O as N
98
+ };
@@ -0,0 +1,83 @@
1
+ import { defineComponent as y, computed as a, openBlock as d, createElementBlock as u, normalizeStyle as h, normalizeClass as z, createElementVNode as n, renderSlot as B, createCommentVNode as L } from "vue";
2
+ import { useLocale as N } from "../composables/useLocale.js";
3
+ import { u as w } from "./createComponent-jnXBYqCm.js";
4
+ import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ import '../NeumorphismTag.css';const S = { class: "nm-tag__text" }, V = ["aria-label"], $ = /* @__PURE__ */ y({
6
+ __name: "NeumorphismTag",
7
+ props: {
8
+ closable: { type: Boolean, default: !1 },
9
+ variant: { default: "default" },
10
+ size: { default: "medium" },
11
+ disabled: { type: Boolean, default: !1 },
12
+ rounded: { type: Boolean, default: !1 },
13
+ closeLabel: { default: "" }
14
+ },
15
+ emits: ["close", "click"],
16
+ setup(i, { emit: m }) {
17
+ const o = i, { config: l, resolveProp: s } = w(), r = a(
18
+ () => {
19
+ var e;
20
+ return s(o.variant, (e = l.value.tag) == null ? void 0 : e.variant, "default");
21
+ }
22
+ ), f = a(() => {
23
+ var e;
24
+ return s(o.size, (e = l.value.tag) == null ? void 0 : e.size, "medium");
25
+ }), p = a(() => {
26
+ var e;
27
+ return s(o.rounded, (e = l.value.tag) == null ? void 0 : e.rounded, !1);
28
+ }), c = m, { t: v } = N(), g = a(() => o.closeLabel || v("tagClose"));
29
+ function b(e) {
30
+ o.disabled || (e.stopPropagation(), c("close", e));
31
+ }
32
+ const _ = a(() => [
33
+ "nm-tag",
34
+ `nm-tag--${r.value}`,
35
+ `nm-tag--${f.value}`,
36
+ {
37
+ "nm-tag--rounded": p.value,
38
+ "nm-tag--disabled": o.disabled,
39
+ "nm-tag--closable": o.closable
40
+ }
41
+ ]), C = {
42
+ default: "",
43
+ primary: "var(--nm-primary-color)",
44
+ success: "var(--nm-color-success)",
45
+ warning: "var(--nm-color-warning)",
46
+ error: "var(--nm-color-error)",
47
+ info: "var(--nm-color-info)"
48
+ };
49
+ return (e, t) => (d(), u("span", {
50
+ class: z(_.value),
51
+ style: h(
52
+ r.value !== "default" ? { "--tag-color": C[r.value] } : void 0
53
+ ),
54
+ role: "status",
55
+ onClick: t[0] || (t[0] = (k) => c("click", k))
56
+ }, [
57
+ n("span", S, [
58
+ B(e.$slots, "default", {}, void 0, !0)
59
+ ]),
60
+ i.closable ? (d(), u("button", {
61
+ key: 0,
62
+ class: "nm-tag__close",
63
+ "aria-label": g.value,
64
+ type: "button",
65
+ onClick: b
66
+ }, [...t[1] || (t[1] = [
67
+ n("svg", {
68
+ width: "12",
69
+ height: "12",
70
+ viewBox: "0 0 24 24",
71
+ fill: "none",
72
+ stroke: "currentColor",
73
+ "stroke-width": "2.5"
74
+ }, [
75
+ n("path", { d: "M18 6L6 18M6 6l12 12" })
76
+ ], -1)
77
+ ])], 8, V)) : L("", !0)
78
+ ], 6));
79
+ }
80
+ }), I = /* @__PURE__ */ x($, [["__scopeId", "data-v-1862f37c"]]);
81
+ export {
82
+ I as N
83
+ };