@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,297 @@
1
+ import { defineComponent as Z, computed as p, ref as N, openBlock as a, createElementBlock as s, unref as t, normalizeClass as h, createElementVNode as l, Fragment as f, renderList as z, createCommentVNode as d, createBlock as ee, withCtx as A, withModifiers as w, toDisplayString as m } from "vue";
2
+ import { useMenu as ne } from "../composables/useMenu.js";
3
+ import { u as oe } from "./createComponent-jnXBYqCm.js";
4
+ import { useTheme as ae } from "../composables/useTheme.js";
5
+ import { N as te } from "./NeumorphismPopover-RB48cpPq.js";
6
+ import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ import '../NeumorphismNavMenu.css';const ie = ["aria-orientation"], le = {
8
+ key: 0,
9
+ class: "nm-nav-menu__divider",
10
+ role: "separator"
11
+ }, de = ["aria-disabled", "aria-expanded", "tabindex", "onClick", "onMouseenter", "onMouseleave"], re = { class: "nm-nav-menu__item-content" }, ue = {
12
+ key: 0,
13
+ class: "nm-nav-menu__item-icon",
14
+ "aria-hidden": "true"
15
+ }, me = { class: "nm-nav-menu__item-label" }, ve = {
16
+ key: 0,
17
+ class: "nm-nav-menu__indicator",
18
+ "aria-hidden": "true"
19
+ }, ce = ["aria-label", "onMouseleave"], _e = {
20
+ key: 0,
21
+ class: "nm-nav-menu__dropdown-divider",
22
+ role: "separator"
23
+ }, pe = ["aria-disabled", "tabindex", "onClick", "onMouseenter"], he = {
24
+ key: 0,
25
+ class: "nm-nav-menu__dropdown-item-icon",
26
+ "aria-hidden": "true"
27
+ }, ke = { class: "nm-nav-menu__dropdown-item-label" }, be = ["aria-disabled", "aria-haspopup", "aria-expanded", "tabindex", "onClick", "onMouseenter", "onMouseleave"], fe = { class: "nm-nav-menu__item-content" }, ye = {
28
+ key: 0,
29
+ class: "nm-nav-menu__item-icon",
30
+ "aria-hidden": "true"
31
+ }, we = { class: "nm-nav-menu__item-label" }, ge = {
32
+ key: 0,
33
+ class: "nm-nav-menu__indicator",
34
+ "aria-hidden": "true"
35
+ }, xe = ["aria-label"], Me = ["aria-disabled", "tabindex", "onClick", "onMouseenter"], Ce = { class: "nm-nav-menu__item-content" }, $e = {
36
+ key: 0,
37
+ class: "nm-nav-menu__item-icon",
38
+ "aria-hidden": "true"
39
+ }, Ne = { class: "nm-nav-menu__item-label" }, ze = {
40
+ key: 0,
41
+ class: "nm-nav-menu__empty"
42
+ }, Ie = /* @__PURE__ */ Z({
43
+ __name: "NeumorphismNavMenu",
44
+ props: {
45
+ items: { default: () => [] },
46
+ defaultActive: { default: void 0 },
47
+ mode: { default: "horizontal" },
48
+ showIndicator: { type: Boolean, default: !0 },
49
+ theme: { default: void 0 },
50
+ size: { default: "medium" }
51
+ },
52
+ emits: ["select", "item-click"],
53
+ setup(g, { emit: j }) {
54
+ const v = g, I = j, { resolveProp: x } = oe(), { isDark: D } = ae(), F = p(() => v.theme ? v.theme : D.value ? "dark" : "light"), r = p(
55
+ () => x(v.mode, void 0, "horizontal")
56
+ ), q = p(
57
+ () => x(v.size, void 0, "medium")
58
+ ), M = p(() => x(v.showIndicator, void 0, !0)), G = N(v.defaultActive ?? null), H = N([]), {
59
+ handleKeydown: c,
60
+ handleItemClick: y,
61
+ handleItemEnter: C,
62
+ isExpanded: k,
63
+ isActive: b,
64
+ expand: J,
65
+ collapse: $
66
+ } = ne({
67
+ items: p(() => v.items),
68
+ mode: r,
69
+ activeKey: G,
70
+ expandedKeys: H,
71
+ onSelect: (o) => {
72
+ I("select", o), I("item-click", o);
73
+ }
74
+ });
75
+ let u = null;
76
+ function K(o) {
77
+ u && (clearTimeout(u), u = null), C(o);
78
+ }
79
+ function E(o) {
80
+ var i;
81
+ r.value === "horizontal" && ((i = o.children) != null && i.length) && (u = setTimeout(() => {
82
+ $(o.key);
83
+ }, 250));
84
+ }
85
+ function O() {
86
+ u && (clearTimeout(u), u = null);
87
+ }
88
+ function Q(o) {
89
+ u = setTimeout(() => {
90
+ $(o.key);
91
+ }, 250);
92
+ }
93
+ const U = N({});
94
+ function W(o, i) {
95
+ U.value[o] = i;
96
+ }
97
+ function X(o, i) {
98
+ i ? J(o.key) : $(o.key);
99
+ }
100
+ const Y = p(() => [
101
+ "nm-nav-menu",
102
+ `nm-nav-menu--${r.value}`,
103
+ `nm-nav-menu--${q.value}`,
104
+ `nm-nav-menu--theme-${F.value}`,
105
+ {
106
+ "nm-nav-menu--indicator": M.value
107
+ }
108
+ ]);
109
+ function S(o) {
110
+ return [
111
+ "nm-nav-menu__item",
112
+ {
113
+ "nm-nav-menu__item--active": b(o.key),
114
+ "nm-nav-menu__item--disabled": o.disabled,
115
+ "nm-nav-menu__item--divided": o.divided,
116
+ "nm-nav-menu__item--has-children": o.children && o.children.length > 0,
117
+ "nm-nav-menu__item--expanded": k(o.key)
118
+ }
119
+ ];
120
+ }
121
+ return (o, i) => (a(), s("nav", {
122
+ class: h(Y.value),
123
+ role: "navigation",
124
+ "aria-label": "Navigation menu",
125
+ onKeydown: i[2] || (i[2] = //@ts-ignore
126
+ (...e) => t(c) && t(c)(...e))
127
+ }, [
128
+ l("ul", {
129
+ class: "nm-nav-menu__list",
130
+ role: "menubar",
131
+ "aria-orientation": r.value
132
+ }, [
133
+ (a(!0), s(f, null, z(g.items, (e) => {
134
+ var T, B, V, L, P, R;
135
+ return a(), s(f, {
136
+ key: e.key
137
+ }, [
138
+ e.divided && r.value === "vertical" ? (a(), s("li", le)) : d("", !0),
139
+ (T = e.children) != null && T.length && r.value === "horizontal" ? (a(), ee(te, {
140
+ key: `${e.key}-popover`,
141
+ ref_for: !0,
142
+ ref: (n) => W(e.key, n),
143
+ position: "bottom",
144
+ trigger: "hover",
145
+ offset: 4,
146
+ "show-arrow": !1,
147
+ disabled: e.disabled,
148
+ onVisibleChange: (n) => X(e, n)
149
+ }, {
150
+ content: A(() => [
151
+ l("div", {
152
+ class: "nm-nav-menu__dropdown",
153
+ role: "menu",
154
+ "aria-label": e.label,
155
+ onMouseenter: O,
156
+ onMouseleave: (n) => Q(e),
157
+ onKeydown: i[0] || (i[0] = //@ts-ignore
158
+ (...n) => t(c) && t(c)(...n))
159
+ }, [
160
+ (a(!0), s(f, null, z(e.children, (n) => (a(), s(f, {
161
+ key: n.key
162
+ }, [
163
+ n.divided ? (a(), s("div", _e)) : d("", !0),
164
+ l("div", {
165
+ class: h([
166
+ "nm-nav-menu__dropdown-item",
167
+ {
168
+ "nm-nav-menu__dropdown-item--active": t(b)(n.key),
169
+ "nm-nav-menu__dropdown-item--disabled": n.disabled,
170
+ "nm-nav-menu__dropdown-item--divided": n.divided
171
+ }
172
+ ]),
173
+ role: "menuitem",
174
+ "aria-disabled": n.disabled ?? !1,
175
+ tabindex: n.disabled ? -1 : 0,
176
+ onClick: w((_) => t(y)(n), ["stop"]),
177
+ onMouseenter: (_) => t(C)(n)
178
+ }, [
179
+ n.icon ? (a(), s("span", he, m(n.icon), 1)) : d("", !0),
180
+ l("span", ke, m(n.label), 1)
181
+ ], 42, pe)
182
+ ], 64))), 128))
183
+ ], 40, ce)
184
+ ]),
185
+ default: A(() => [
186
+ l("li", {
187
+ class: h(S(e)),
188
+ role: "menuitem",
189
+ "aria-disabled": e.disabled ?? !1,
190
+ "aria-haspopup": "menu",
191
+ "aria-expanded": t(k)(e.key),
192
+ tabindex: e.disabled ? -1 : 0,
193
+ onClick: w((n) => {
194
+ var _;
195
+ return (_ = e.children) != null && _.length ? void 0 : t(y)(e);
196
+ }, ["stop"]),
197
+ onMouseenter: (n) => K(e),
198
+ onMouseleave: (n) => E(e)
199
+ }, [
200
+ l("div", re, [
201
+ e.icon ? (a(), s("span", ue, m(e.icon), 1)) : d("", !0),
202
+ l("span", me, m(e.label), 1),
203
+ i[3] || (i[3] = l("span", {
204
+ class: "nm-nav-menu__dropdown-arrow",
205
+ "aria-hidden": "true"
206
+ }, [
207
+ l("svg", {
208
+ width: "10",
209
+ height: "10",
210
+ viewBox: "0 0 24 24",
211
+ fill: "none",
212
+ stroke: "currentColor",
213
+ "stroke-width": "2",
214
+ "stroke-linecap": "round",
215
+ "stroke-linejoin": "round"
216
+ }, [
217
+ l("path", { d: "M6 9l6 6 6-6" })
218
+ ])
219
+ ], -1))
220
+ ]),
221
+ M.value && t(b)(e.key) ? (a(), s("span", ve)) : d("", !0)
222
+ ], 42, de)
223
+ ]),
224
+ _: 2
225
+ }, 1032, ["disabled", "onVisibleChange"])) : d("", !0),
226
+ !((B = e.children) != null && B.length) || r.value === "vertical" ? (a(), s("li", {
227
+ key: 2,
228
+ class: h(S(e)),
229
+ role: "menuitem",
230
+ "aria-disabled": e.disabled ?? !1,
231
+ "aria-haspopup": (V = e.children) != null && V.length ? "menu" : void 0,
232
+ "aria-expanded": (L = e.children) != null && L.length ? t(k)(e.key) : void 0,
233
+ tabindex: e.disabled ? -1 : 0,
234
+ onClick: w((n) => t(y)(e), ["stop"]),
235
+ onMouseenter: (n) => K(e),
236
+ onMouseleave: (n) => E(e),
237
+ onKeydown: i[1] || (i[1] = //@ts-ignore
238
+ (...n) => t(c) && t(c)(...n))
239
+ }, [
240
+ l("div", fe, [
241
+ e.icon ? (a(), s("span", ye, m(e.icon), 1)) : d("", !0),
242
+ l("span", we, m(e.label), 1),
243
+ (P = e.children) != null && P.length && r.value === "vertical" ? (a(), s("span", {
244
+ key: 1,
245
+ class: h(["nm-nav-menu__expand-icon", { "nm-nav-menu__expand-icon--expanded": t(k)(e.key) }]),
246
+ "aria-hidden": "true"
247
+ }, [...i[4] || (i[4] = [
248
+ l("svg", {
249
+ width: "12",
250
+ height: "12",
251
+ viewBox: "0 0 24 24",
252
+ fill: "none",
253
+ stroke: "currentColor",
254
+ "stroke-width": "2",
255
+ "stroke-linecap": "round",
256
+ "stroke-linejoin": "round"
257
+ }, [
258
+ l("path", { d: "M9 18l6-6-6-6" })
259
+ ], -1)
260
+ ])], 2)) : d("", !0)
261
+ ]),
262
+ M.value && r.value === "horizontal" && t(b)(e.key) ? (a(), s("span", ge)) : d("", !0),
263
+ (R = e.children) != null && R.length && r.value === "vertical" && t(k)(e.key) ? (a(), s("ul", {
264
+ key: 1,
265
+ class: "nm-nav-menu__submenu",
266
+ role: "menu",
267
+ "aria-label": e.label
268
+ }, [
269
+ (a(!0), s(f, null, z(e.children, (n) => (a(), s("li", {
270
+ key: n.key,
271
+ class: h(["nm-nav-menu__item nm-nav-menu__item--sub", {
272
+ "nm-nav-menu__item--active": t(b)(n.key),
273
+ "nm-nav-menu__item--disabled": n.disabled
274
+ }]),
275
+ role: "menuitem",
276
+ "aria-disabled": n.disabled ?? !1,
277
+ tabindex: n.disabled ? -1 : 0,
278
+ onClick: w((_) => t(y)(n), ["stop"]),
279
+ onMouseenter: (_) => t(C)(n)
280
+ }, [
281
+ l("div", Ce, [
282
+ n.icon ? (a(), s("span", $e, m(n.icon), 1)) : d("", !0),
283
+ l("span", Ne, m(n.label), 1)
284
+ ])
285
+ ], 42, Me))), 128))
286
+ ], 8, xe)) : d("", !0)
287
+ ], 42, be)) : d("", !0)
288
+ ], 64);
289
+ }), 128)),
290
+ g.items.length === 0 ? (a(), s("li", ze, "No navigation items")) : d("", !0)
291
+ ], 8, ie)
292
+ ], 34));
293
+ }
294
+ }), Le = /* @__PURE__ */ se(Ie, [["__scopeId", "data-v-4432c2e6"]]);
295
+ export {
296
+ Le as N
297
+ };
@@ -0,0 +1,162 @@
1
+ import { defineComponent as $, computed as l, openBlock as u, createElementBlock as d, unref as i, normalizeClass as f, toDisplayString as h, createCommentVNode as _, createElementVNode as n, Fragment as D, renderList as M, renderSlot as j, createTextVNode as P } from "vue";
2
+ import { useLocale as E } from "../composables/useLocale.js";
3
+ import { usePagination as F } from "../composables/usePagination.js";
4
+ import { u as I } from "./createComponent-jnXBYqCm.js";
5
+ import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ import '../NeumorphismPagination.css';const A = ["aria-label"], G = {
7
+ key: 0,
8
+ class: "nm-pagination__total"
9
+ }, H = { class: "nm-pagination__list" }, K = ["disabled", "aria-label"], O = {
10
+ key: 0,
11
+ class: "nm-pagination__ellipsis",
12
+ "aria-hidden": "true"
13
+ }, Q = ["aria-label", "aria-current", "onClick"], R = ["disabled", "aria-label"], U = {
14
+ key: 1,
15
+ class: "nm-pagination__jumper"
16
+ }, W = ["max", "value", "disabled"], X = /* @__PURE__ */ $({
17
+ __name: "NeumorphismPagination",
18
+ props: {
19
+ modelValue: { default: 1 },
20
+ total: { default: 0 },
21
+ pageSize: { default: 10 },
22
+ size: { default: "medium" },
23
+ showTotal: { type: Boolean, default: !1 },
24
+ showJumper: { type: Boolean, default: !1 },
25
+ maxVisiblePages: { default: 7 },
26
+ disabled: { type: Boolean, default: !1 },
27
+ prevLabel: { default: "上一页" },
28
+ nextLabel: { default: "下一页" },
29
+ totalLabel: { default: "共" }
30
+ },
31
+ emits: ["update:modelValue", "change"],
32
+ setup(o, { emit: V }) {
33
+ const s = o, { config: r, resolveProp: m } = I(), x = l(
34
+ () => {
35
+ var e;
36
+ return m(s.size, (e = r.value.pagination) == null ? void 0 : e.size, "medium");
37
+ }
38
+ ), k = l(
39
+ () => {
40
+ var e;
41
+ return m(s.showTotal, (e = r.value.pagination) == null ? void 0 : e.showTotal, !1);
42
+ }
43
+ ), w = l(
44
+ () => {
45
+ var e;
46
+ return m(s.showJumper, (e = r.value.pagination) == null ? void 0 : e.showJumper, !1);
47
+ }
48
+ ), y = l(
49
+ () => {
50
+ var e;
51
+ return m(s.maxVisiblePages, (e = r.value.pagination) == null ? void 0 : e.maxVisiblePages, 7);
52
+ }
53
+ ), S = l(
54
+ () => {
55
+ var e;
56
+ return m(s.pageSize, (e = r.value.pagination) == null ? void 0 : e.pageSize, 10);
57
+ }
58
+ ), p = V, C = l({
59
+ get: () => s.modelValue,
60
+ set: (e) => {
61
+ p("update:modelValue", e), p("change", e);
62
+ }
63
+ }), { totalPages: z, visiblePages: L, changePage: g, prevPage: b, nextPage: c, isPrevDisabled: N, isNextDisabled: B } = F({
64
+ modelValue: C,
65
+ total: l(() => s.total),
66
+ pageSize: l(() => S.value),
67
+ maxVisiblePages: l(() => y.value),
68
+ disabled: l(() => s.disabled)
69
+ }), T = l(() => [
70
+ "nm-pagination",
71
+ `nm-pagination--${x.value}`,
72
+ { "nm-pagination--disabled": s.disabled }
73
+ ]);
74
+ function J(e) {
75
+ g(Number(e.target.value));
76
+ }
77
+ const { t: v } = E();
78
+ return (e, t) => (u(), d("nav", {
79
+ class: f(T.value),
80
+ role: "navigation",
81
+ "aria-label": i(v)("paginationLabel")
82
+ }, [
83
+ k.value ? (u(), d("span", G, h(i(v)("paginationTotal", { total: o.total })), 1)) : _("", !0),
84
+ n("ul", H, [
85
+ n("li", null, [
86
+ n("button", {
87
+ class: "nm-pagination__btn",
88
+ disabled: i(N),
89
+ "aria-label": o.prevLabel,
90
+ type: "button",
91
+ onClick: t[0] || (t[0] = //@ts-ignore
92
+ (...a) => i(b) && i(b)(...a))
93
+ }, [...t[2] || (t[2] = [
94
+ n("svg", {
95
+ width: "16",
96
+ height: "16",
97
+ viewBox: "0 0 24 24",
98
+ fill: "none",
99
+ stroke: "currentColor",
100
+ "stroke-width": "2"
101
+ }, [
102
+ n("path", { d: "M15 18l-6-6 6-6" })
103
+ ], -1)
104
+ ])], 8, K)
105
+ ]),
106
+ (u(!0), d(D, null, M(i(L), (a) => j(e.$slots, "page-item", {
107
+ key: String(a),
108
+ page: a,
109
+ active: a === o.modelValue
110
+ }, () => [
111
+ n("li", null, [
112
+ typeof a == "string" ? (u(), d("span", O, "...")) : (u(), d("button", {
113
+ key: 1,
114
+ class: f(["nm-pagination__btn", { "nm-pagination__btn--active": a === o.modelValue }]),
115
+ "aria-label": `第 ${a} 页`,
116
+ "aria-current": a === o.modelValue ? "page" : void 0,
117
+ type: "button",
118
+ onClick: (Y) => i(g)(a)
119
+ }, h(a), 11, Q))
120
+ ])
121
+ ], !0)), 128)),
122
+ n("li", null, [
123
+ n("button", {
124
+ class: "nm-pagination__btn",
125
+ disabled: i(B),
126
+ "aria-label": o.nextLabel,
127
+ type: "button",
128
+ onClick: t[1] || (t[1] = //@ts-ignore
129
+ (...a) => i(c) && i(c)(...a))
130
+ }, [...t[3] || (t[3] = [
131
+ n("svg", {
132
+ width: "16",
133
+ height: "16",
134
+ viewBox: "0 0 24 24",
135
+ fill: "none",
136
+ stroke: "currentColor",
137
+ "stroke-width": "2"
138
+ }, [
139
+ n("path", { d: "M9 18l6-6-6-6" })
140
+ ], -1)
141
+ ])], 8, R)
142
+ ])
143
+ ]),
144
+ w.value ? (u(), d("div", U, [
145
+ t[4] || (t[4] = P(" 跳至 ", -1)),
146
+ n("input", {
147
+ class: "nm-pagination__jumper-input",
148
+ type: "number",
149
+ min: 1,
150
+ max: i(z),
151
+ value: o.modelValue,
152
+ disabled: o.disabled,
153
+ onChange: J
154
+ }, null, 40, W),
155
+ t[5] || (t[5] = P(" 页 ", -1))
156
+ ])) : _("", !0)
157
+ ], 10, A));
158
+ }
159
+ }), ie = /* @__PURE__ */ q(X, [["__scopeId", "data-v-85a91c0d"]]);
160
+ export {
161
+ ie as N
162
+ };
@@ -0,0 +1,197 @@
1
+ import { defineComponent as G, useCssVars as J, computed as u, ref as b, onMounted as Q, onBeforeUnmount as Z, watch as M, nextTick as k, openBlock as y, createElementBlock as T, normalizeClass as R, renderSlot as S, createBlock as ee, Teleport as te, createVNode as oe, Transition as ne, withCtx as ie, unref as x, normalizeStyle as re, createElementVNode as se, toDisplayString as ae, createCommentVNode as W } from "vue";
2
+ import { usePopover as le } from "../composables/usePopover.js";
3
+ import { u as ue } from "./createComponent-jnXBYqCm.js";
4
+ import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ import '../NeumorphismPopover.css';const de = ["aria-hidden"], fe = { class: "nm-popover__text" }, ve = {
6
+ key: 0,
7
+ class: "nm-popover__arrow"
8
+ }, pe = /* @__PURE__ */ G({
9
+ __name: "NeumorphismPopover",
10
+ props: {
11
+ position: { default: "auto" },
12
+ trigger: { default: "click" },
13
+ disabled: { type: Boolean, default: !1 },
14
+ offset: { default: 8 },
15
+ width: { default: "auto" },
16
+ content: {},
17
+ showArrow: { type: Boolean, default: !0 }
18
+ },
19
+ emits: ["visible-change"],
20
+ setup(m, { expose: K, emit: z }) {
21
+ J((n) => ({
22
+ v1e7eeb51: X.value
23
+ }));
24
+ const c = m, B = z, { resolveProp: v } = ue(), r = u(
25
+ () => v(c.position, void 0, "auto")
26
+ ), a = u(
27
+ () => v(c.trigger, void 0, "click")
28
+ ), w = u(() => v(c.offset, void 0, 8)), $ = u(() => v(c.width, void 0, "auto")), F = u(() => v(c.showArrow, void 0, !0)), {
29
+ isOpen: s,
30
+ show: h,
31
+ hide: d,
32
+ toggle: P,
33
+ handleKeydown: H
34
+ } = le({
35
+ trigger: a,
36
+ disabled: u(() => c.disabled)
37
+ }), f = b(), p = b(), _ = b(
38
+ r.value === "auto" ? "bottom" : r.value
39
+ ), E = b({});
40
+ function V() {
41
+ const n = f.value;
42
+ if (!n || typeof window > "u")
43
+ return r.value === "auto" ? "bottom" : r.value;
44
+ const t = n.getBoundingClientRect(), e = p.value, i = (e == null ? void 0 : e.offsetHeight) ?? 120, o = (e == null ? void 0 : e.offsetWidth) ?? 200, l = w.value;
45
+ if (r.value === "auto") {
46
+ const j = ["bottom", "top", "right", "left"];
47
+ for (const q of j)
48
+ switch (q) {
49
+ case "bottom":
50
+ if (t.bottom + i + l + 8 <= window.innerHeight) return "bottom";
51
+ break;
52
+ case "top":
53
+ if (t.top - i - l - 8 >= 0) return "top";
54
+ break;
55
+ case "right":
56
+ if (t.right + o + l + 8 <= window.innerWidth) return "right";
57
+ break;
58
+ case "left":
59
+ if (t.left - o - l - 8 >= 0) return "left";
60
+ break;
61
+ }
62
+ return "bottom";
63
+ }
64
+ switch (r.value) {
65
+ case "top":
66
+ if (t.top < i + l + 8) return "bottom";
67
+ break;
68
+ case "bottom":
69
+ if (t.bottom + i + l + 8 > window.innerHeight) return "top";
70
+ break;
71
+ case "left":
72
+ if (t.left < o + l + 8) return "right";
73
+ break;
74
+ case "right":
75
+ if (t.right + o + l + 8 > window.innerWidth) return "left";
76
+ break;
77
+ }
78
+ return r.value;
79
+ }
80
+ function C() {
81
+ if (typeof window > "u") return;
82
+ const n = f.value;
83
+ if (!n) return;
84
+ const t = V();
85
+ _.value = t;
86
+ const e = n.getBoundingClientRect(), i = w.value, o = {};
87
+ switch (t) {
88
+ case "top":
89
+ o.top = `${e.top + window.scrollY - i}px`, o.left = `${e.left + window.scrollX + e.width / 2}px`, o.transform = "translate(-50%, -100%)";
90
+ break;
91
+ case "bottom":
92
+ o.top = `${e.bottom + window.scrollY + i}px`, o.left = `${e.left + window.scrollX + e.width / 2}px`, o.transform = "translate(-50%, 0)";
93
+ break;
94
+ case "left":
95
+ o.top = `${e.top + window.scrollY + e.height / 2}px`, o.left = `${e.left + window.scrollX - i}px`, o.transform = "translate(-100%, -50%)";
96
+ break;
97
+ case "right":
98
+ o.top = `${e.top + window.scrollY + e.height / 2}px`, o.left = `${e.right + window.scrollX + i}px`, o.transform = "translate(0, -50%)";
99
+ break;
100
+ }
101
+ $.value === "trigger" ? o.width = `${e.width}px` : typeof $.value == "number" && (o.width = `${$.value}px`), E.value = o;
102
+ }
103
+ function g() {
104
+ s.value && C();
105
+ }
106
+ function L(n) {
107
+ var e, i;
108
+ if (!s.value || c.disabled) return;
109
+ const t = n.target;
110
+ (e = f.value) != null && e.contains(t) || (i = p.value) != null && i.contains(t) || d();
111
+ }
112
+ Q(() => {
113
+ typeof document > "u" || document.addEventListener("click", L, !0);
114
+ }), Z(() => {
115
+ typeof document > "u" || document.removeEventListener("click", L, !0);
116
+ }), M(s, (n) => {
117
+ n ? (B("visible-change", !0), k(() => {
118
+ C(), typeof window < "u" && (window.addEventListener("scroll", g, { passive: !0 }), window.addEventListener("resize", g));
119
+ })) : (B("visible-change", !1), _.value = r.value === "auto" ? "bottom" : r.value, typeof window < "u" && (window.removeEventListener("scroll", g), window.removeEventListener("resize", g)));
120
+ }), M(w, () => {
121
+ s.value && k(C);
122
+ });
123
+ const X = u(() => `${w.value}px`), Y = u(() => [
124
+ "nm-popover",
125
+ `nm-popover--${_.value}`,
126
+ { "nm-popover--visible": s.value }
127
+ ]);
128
+ function N(n) {
129
+ H(n), n.key === "Tab" && s.value && k(() => {
130
+ var e, i;
131
+ if (typeof document > "u") return;
132
+ const t = document.activeElement;
133
+ t instanceof Node && !((e = f.value) != null && e.contains(t)) && !((i = p.value) != null && i.contains(t)) && d();
134
+ });
135
+ }
136
+ function A() {
137
+ a.value === "hover" && h();
138
+ }
139
+ function O() {
140
+ a.value === "hover" && d();
141
+ }
142
+ function D() {
143
+ a.value === "click" && P();
144
+ }
145
+ function I() {
146
+ a.value === "focus" && h();
147
+ }
148
+ K({ show: h, hide: d, toggle: P, isOpen: s });
149
+ function U(n) {
150
+ a.value === "focus" && k(() => {
151
+ var e, i;
152
+ const t = document.activeElement;
153
+ !((e = f.value) != null && e.contains(t)) && !((i = p.value) != null && i.contains(t)) && d();
154
+ });
155
+ }
156
+ return (n, t) => (y(), T("div", {
157
+ ref_key: "triggerRef",
158
+ ref: f,
159
+ class: R(["nm-popover-wrapper", { "nm-popover-wrapper--disabled": m.disabled }]),
160
+ onMouseenter: A,
161
+ onMouseleave: O,
162
+ onClick: D,
163
+ onFocusin: I,
164
+ onFocusout: U,
165
+ onKeydown: N
166
+ }, [
167
+ S(n.$slots, "default", {}, void 0, !0),
168
+ (y(), ee(te, { to: "body" }, [
169
+ oe(ne, { name: "nm-popover-fade" }, {
170
+ default: ie(() => [
171
+ x(s) && (m.content || n.$slots.content) ? (y(), T("div", {
172
+ key: 0,
173
+ ref_key: "popoverRef",
174
+ ref: p,
175
+ class: R(Y.value),
176
+ role: "dialog",
177
+ "aria-hidden": !x(s),
178
+ style: re(E.value),
179
+ onKeydown: N,
180
+ onMouseenter: t[0] || (t[0] = (e) => a.value === "hover" ? x(h)() : void 0),
181
+ onMouseleave: t[1] || (t[1] = (e) => a.value === "hover" ? x(d)() : void 0)
182
+ }, [
183
+ S(n.$slots, "content", {}, () => [
184
+ se("span", fe, ae(m.content), 1)
185
+ ], !0),
186
+ F.value ? (y(), T("span", ve)) : W("", !0)
187
+ ], 46, de)) : W("", !0)
188
+ ]),
189
+ _: 3
190
+ })
191
+ ]))
192
+ ], 34));
193
+ }
194
+ }), be = /* @__PURE__ */ ce(pe, [["__scopeId", "data-v-37f044a3"]]);
195
+ export {
196
+ be as N
197
+ };