@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,243 @@
1
+ import { ComputedRef, InjectionKey } from 'vue';
2
+
3
+ export interface NeumorphismGlobalConfig {
4
+ /** Default button props applied to all NeumorphismButton instances */
5
+ button?: {
6
+ variant?: 'raised' | 'flat' | 'pressed';
7
+ size?: 'small' | 'medium' | 'large';
8
+ shape?: 'rounded' | 'pill' | 'circle';
9
+ };
10
+ /** Default input props applied to all NeumorphismInput instances */
11
+ input?: {
12
+ size?: 'small' | 'medium' | 'large';
13
+ };
14
+ /** Default date picker props */
15
+ datePicker?: {
16
+ size?: 'small' | 'medium' | 'large';
17
+ format?: string;
18
+ clearable?: boolean;
19
+ firstDayOfWeek?: number;
20
+ placeholder?: string;
21
+ };
22
+ /** Default select props */
23
+ select?: {
24
+ size?: 'small' | 'medium' | 'large';
25
+ clearable?: boolean;
26
+ emptyText?: string;
27
+ placeholder?: string;
28
+ };
29
+ /** Default modal props */
30
+ modal?: {
31
+ size?: 'small' | 'medium' | 'large';
32
+ maskClosable?: boolean;
33
+ closable?: boolean;
34
+ showClose?: boolean;
35
+ destroyOnClose?: boolean;
36
+ };
37
+ /** Default toast props */
38
+ toast?: {
39
+ position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center';
40
+ maxCount?: number;
41
+ };
42
+ /** Default tooltip props */
43
+ tooltip?: {
44
+ position?: 'top' | 'bottom' | 'left' | 'right';
45
+ trigger?: 'hover' | 'click' | 'focus';
46
+ offset?: number;
47
+ delay?: number;
48
+ };
49
+ /** Default tabs props */
50
+ tabs?: {
51
+ position?: 'top' | 'left' | 'right';
52
+ size?: 'small' | 'medium' | 'large';
53
+ };
54
+ /** Default pagination props */
55
+ pagination?: {
56
+ size?: 'small' | 'medium' | 'large';
57
+ showTotal?: boolean;
58
+ showJumper?: boolean;
59
+ maxVisiblePages?: number;
60
+ pageSize?: number;
61
+ };
62
+ /** Default collapse props */
63
+ collapse?: {
64
+ size?: 'small' | 'medium' | 'large';
65
+ accordion?: boolean;
66
+ };
67
+ /** Default form props */
68
+ form?: {
69
+ size?: 'small' | 'medium' | 'large';
70
+ labelWidth?: string;
71
+ direction?: 'horizontal' | 'vertical';
72
+ };
73
+ /** Default tag props */
74
+ tag?: {
75
+ variant?: 'default' | 'primary' | 'success' | 'warning' | 'error' | 'info';
76
+ size?: 'small' | 'medium' | 'large';
77
+ rounded?: boolean;
78
+ };
79
+ /** Default progress props */
80
+ progress?: {
81
+ variant?: 'primary' | 'success' | 'warning' | 'error';
82
+ size?: 'small' | 'medium' | 'large';
83
+ showLabel?: boolean;
84
+ };
85
+ /** Default avatar props */
86
+ avatar?: {
87
+ size?: 'small' | 'medium' | 'large';
88
+ shape?: 'circle' | 'rounded';
89
+ };
90
+ /** Default tree props */
91
+ tree?: {
92
+ showSearch?: boolean;
93
+ multiple?: boolean;
94
+ searchPlaceholder?: string;
95
+ };
96
+ /** Default switch props */
97
+ switch?: {
98
+ size?: 'small' | 'medium' | 'large';
99
+ };
100
+ /** Default table props */
101
+ table?: {
102
+ size?: 'small' | 'medium' | 'large';
103
+ striped?: boolean;
104
+ hoverable?: boolean;
105
+ };
106
+ /** Default card props */
107
+ card?: {
108
+ radius?: 'small' | 'medium' | 'large' | 'xl';
109
+ hoverable?: boolean | 'bulge' | 'sink';
110
+ };
111
+ /** Default badge props */
112
+ badge?: {
113
+ max?: number;
114
+ dot?: boolean;
115
+ showZero?: boolean;
116
+ };
117
+ /** Default breadcrumb props */
118
+ breadcrumb?: {
119
+ size?: 'small' | 'medium' | 'large';
120
+ separator?: string;
121
+ };
122
+ /** Default checkbox props */
123
+ checkbox?: {
124
+ size?: 'small' | 'medium' | 'large';
125
+ };
126
+ /** Default radio props */
127
+ radio?: {
128
+ size?: 'small' | 'medium' | 'large';
129
+ };
130
+ /** Default radio group props */
131
+ radioGroup?: {
132
+ size?: 'small' | 'medium' | 'large';
133
+ direction?: 'horizontal' | 'vertical';
134
+ };
135
+ /** Default textarea props */
136
+ textarea?: {
137
+ size?: 'small' | 'medium' | 'large';
138
+ rows?: number;
139
+ autoResize?: boolean;
140
+ showCount?: boolean;
141
+ };
142
+ /** Default divider props */
143
+ divider?: {
144
+ direction?: 'horizontal' | 'vertical';
145
+ align?: 'left' | 'center' | 'right';
146
+ dashed?: boolean;
147
+ inset?: boolean;
148
+ };
149
+ /** Default container props */
150
+ container?: {
151
+ mode?: 'fixed' | 'fluid';
152
+ noPadding?: boolean;
153
+ };
154
+ /** Default layout props */
155
+ layout?: {
156
+ showHeader?: boolean;
157
+ showSider?: boolean;
158
+ siderWidth?: number;
159
+ collapsible?: boolean;
160
+ collapsedWidth?: number;
161
+ mobileAutoCollapse?: boolean;
162
+ };
163
+ /** Default theme toggle props */
164
+ themeToggle?: {
165
+ size?: 'small' | 'medium' | 'large';
166
+ disableAuto?: boolean;
167
+ };
168
+ /** Default canvas props */
169
+ canvas?: {
170
+ showGrid?: boolean;
171
+ gridSize?: number;
172
+ showControls?: boolean;
173
+ };
174
+ /** Default skeleton props */
175
+ skeleton?: {
176
+ variant?: 'text' | 'circle' | 'rect';
177
+ animation?: 'pulse' | 'wave' | 'none';
178
+ };
179
+ /** Default grid props */
180
+ grid?: {
181
+ gutter?: number | [number, number];
182
+ justify?: 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly';
183
+ align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
184
+ wrap?: boolean;
185
+ };
186
+ /** Default field props */
187
+ field?: {
188
+ labelWidth?: string;
189
+ };
190
+ /** Default slider props */
191
+ slider?: {
192
+ size?: 'small' | 'medium' | 'large';
193
+ showTooltip?: boolean;
194
+ showStops?: boolean;
195
+ };
196
+ /** Default steps props */
197
+ steps?: {
198
+ direction?: 'horizontal' | 'vertical';
199
+ size?: 'small' | 'medium' | 'large';
200
+ center?: boolean;
201
+ };
202
+ /** Default upload props */
203
+ upload?: {
204
+ size?: 'small' | 'medium' | 'large';
205
+ drag?: boolean;
206
+ showUploadList?: boolean;
207
+ listType?: 'text' | 'picture' | 'picture-card';
208
+ autoUpload?: boolean;
209
+ };
210
+ /** Default list props */
211
+ list?: {
212
+ bordered?: boolean;
213
+ split?: boolean;
214
+ size?: 'small' | 'medium' | 'large';
215
+ hoverable?: boolean;
216
+ };
217
+ /** Locale configuration */
218
+ locale?: 'zh-CN' | 'en-US';
219
+ /** Custom locale messages (overrides built-in locale) */
220
+ localeMessages?: import('../locales/types').LocaleMessages;
221
+ /** Default theme config */
222
+ theme?: {
223
+ defaultTheme?: 'light' | 'dark' | 'auto';
224
+ storageKey?: string;
225
+ followSystem?: boolean;
226
+ };
227
+ /** Whether to use RTL (right-to-left) direction */
228
+ rtl?: boolean;
229
+ /** Extension: consumers can add custom component config sections. */
230
+ [configSection: string]: unknown;
231
+ }
232
+ export declare const ConfigKey: InjectionKey<ComputedRef<NeumorphismGlobalConfig>>;
233
+ /**
234
+ * Returns the global config merged with component-level defaults.
235
+ * Components should use this to resolve their props.
236
+ *
237
+ * @example
238
+ * ```ts
239
+ * const config = useConfig()
240
+ * const size = props.size ?? config.value.button?.size ?? 'medium'
241
+ * ```
242
+ */
243
+ export declare function useConfig(): ComputedRef<NeumorphismGlobalConfig>;
@@ -0,0 +1,12 @@
1
+ import { inject as o, computed as n } from "vue";
2
+ const c = Symbol("nm-global-config"), t = {};
3
+ function e() {
4
+ return o(
5
+ c,
6
+ n(() => t)
7
+ );
8
+ }
9
+ export {
10
+ c as ConfigKey,
11
+ e as useConfig
12
+ };
@@ -0,0 +1,73 @@
1
+ import { Ref, ComputedRef } from 'vue';
2
+
3
+ /** A single day cell in the calendar grid */
4
+ export interface DayCell {
5
+ /** Full Date object for this cell */
6
+ date: Date;
7
+ /** Day of month (1-31) */
8
+ day: number;
9
+ /** Whether this cell belongs to the currently displayed month */
10
+ isCurrentMonth: boolean;
11
+ /** Whether this cell represents today */
12
+ isToday: boolean;
13
+ /** Whether this cell is currently selected */
14
+ isSelected: boolean;
15
+ /** Whether this cell is disabled (outside min/max bounds) */
16
+ isDisabled: boolean;
17
+ /** Whether this cell falls within a selected range (for future range support) */
18
+ isInRange: boolean;
19
+ }
20
+ export interface UseDatePickerOptions {
21
+ /** v-model value — the selected date */
22
+ modelValue: Ref<Date | null>;
23
+ /** Minimum selectable date */
24
+ minDate?: Ref<Date | undefined> | Date;
25
+ /** Maximum selectable date */
26
+ maxDate?: Ref<Date | undefined> | Date;
27
+ /** Display format string (e.g. 'yyyy-MM-dd') */
28
+ format?: Ref<string | undefined> | string;
29
+ /** First day of week (0 = Sunday, 1 = Monday) */
30
+ firstDayOfWeek?: Ref<number | undefined> | number;
31
+ }
32
+ export interface UseDatePickerReturn {
33
+ /** Currently displayed year */
34
+ currentYear: Ref<number>;
35
+ /** Currently displayed month (1-based) */
36
+ currentMonth: Ref<number>;
37
+ /** Flat array of 42 day cells for the calendar grid (6 rows x 7 cols) */
38
+ calendarDays: ComputedRef<DayCell[]>;
39
+ /** Array of weekday header labels */
40
+ weekdays: ComputedRef<string[]>;
41
+ /** The currently selected date (from modelValue) */
42
+ selectedDate: ComputedRef<Date | null>;
43
+ /** Select a date */
44
+ selectDate: (date: Date) => void;
45
+ /** Navigate to previous month */
46
+ prevMonth: () => void;
47
+ /** Navigate to next month */
48
+ nextMonth: () => void;
49
+ /** Navigate to previous year */
50
+ prevYear: () => void;
51
+ /** Navigate to next year */
52
+ nextYear: () => void;
53
+ /** Check if a date is the selected date */
54
+ isSelected: (date: Date) => boolean;
55
+ /** Check if a date is today */
56
+ isToday: (date: Date) => boolean;
57
+ /** Check if a date falls within a potential range (for future range support) */
58
+ isInRange: (date: Date) => boolean;
59
+ /** Check if a date is disabled (outside min/max bounds) */
60
+ isDisabled: (date: Date) => boolean;
61
+ /** Format a date to display string using the configured format */
62
+ formatDate: (date: Date | null) => string;
63
+ /** Navigate to today's month/year */
64
+ goToToday: () => void;
65
+ }
66
+ /**
67
+ * Headless date picker — encapsulates calendar state, navigation, day cell
68
+ * computation, date validation, and formatting without any rendering.
69
+ *
70
+ * Use with your own UI. The `NeumorphismDatePicker` component provides
71
+ * a ready-to-use neumorphism-styled implementation.
72
+ */
73
+ export declare function useDatePicker(opts: UseDatePickerOptions): UseDatePickerReturn;
@@ -0,0 +1,118 @@
1
+ import { computed as i, ref as Y } from "vue";
2
+ function F(t, n, d) {
3
+ const r = new Date(t, n - 1, d);
4
+ return r.setHours(0, 0, 0, 0), r;
5
+ }
6
+ function f(t) {
7
+ const n = new Date(t.getTime());
8
+ return n.setHours(0, 0, 0, 0), n;
9
+ }
10
+ function D(t, n) {
11
+ return !t || !n ? !1 : t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate();
12
+ }
13
+ function G(t, n) {
14
+ return (t.getDay() - n + 7) % 7;
15
+ }
16
+ function J(t, n) {
17
+ const d = t.getFullYear(), r = t.getMonth() + 1, v = t.getDate();
18
+ return n.replace(/yyyy/g, String(d)).replace(/yy/g, String(d).slice(-2)).replace(/MM/g, String(r).padStart(2, "0")).replace(/M/g, String(r)).replace(/dd/g, String(v).padStart(2, "0")).replace(/d/g, String(v));
19
+ }
20
+ const N = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"];
21
+ function Z(t) {
22
+ const { modelValue: n } = t, d = i(() => {
23
+ const e = t.format;
24
+ return typeof e == "object" && "value" in e ? e.value : e ?? "yyyy-MM-dd";
25
+ }), r = i(() => {
26
+ const e = t.firstDayOfWeek;
27
+ return typeof e == "object" && "value" in e ? e.value : e ?? 0;
28
+ }), v = i(() => {
29
+ const e = t.minDate;
30
+ if (e)
31
+ return e instanceof Date ? e : e.value;
32
+ }), M = i(() => {
33
+ const e = t.maxDate;
34
+ if (e)
35
+ return e instanceof Date ? e : e.value;
36
+ }), y = i(() => n.value), h = n.value ? f(n.value) : /* @__PURE__ */ new Date(), c = Y(h.getFullYear()), o = Y(h.getMonth() + 1), T = i(() => {
37
+ const e = c.value, a = o.value, s = r.value ?? 0, u = /* @__PURE__ */ new Date();
38
+ u.setHours(0, 0, 0, 0);
39
+ const C = y.value, S = v.value, p = M.value, _ = F(e, a, 1), K = G(_, s), I = [];
40
+ for (let g = 0; g < 42; g++) {
41
+ const L = g - K, l = F(e, a, 1 + L), P = l.getMonth() + 1, U = l.getFullYear(), V = P === a && U === e, q = D(l, u), z = D(l, C), B = (S ? l < f(S) : !1) || (p ? l > f(p) : !1);
42
+ I.push({
43
+ date: l,
44
+ day: l.getDate(),
45
+ isCurrentMonth: V,
46
+ isToday: q,
47
+ isSelected: z,
48
+ isDisabled: B,
49
+ isInRange: !1
50
+ });
51
+ }
52
+ return I;
53
+ }), w = i(() => {
54
+ const e = r.value ?? 0, a = [];
55
+ for (let s = 0; s < 7; s++) {
56
+ const u = (e + s) % 7;
57
+ a.push(N[u]);
58
+ }
59
+ return a;
60
+ });
61
+ function x() {
62
+ o.value === 1 ? (o.value = 12, c.value--) : o.value--;
63
+ }
64
+ function O() {
65
+ o.value === 12 ? (o.value = 1, c.value++) : o.value++;
66
+ }
67
+ function k() {
68
+ c.value--;
69
+ }
70
+ function R() {
71
+ c.value++;
72
+ }
73
+ function W() {
74
+ const e = /* @__PURE__ */ new Date();
75
+ c.value = e.getFullYear(), o.value = e.getMonth() + 1;
76
+ }
77
+ function H(e) {
78
+ m(e) || (n.value = f(e));
79
+ }
80
+ function b(e) {
81
+ return D(e, y.value);
82
+ }
83
+ function j(e) {
84
+ const a = /* @__PURE__ */ new Date();
85
+ return a.setHours(0, 0, 0, 0), D(e, a);
86
+ }
87
+ function E(e) {
88
+ return !1;
89
+ }
90
+ function m(e) {
91
+ const a = v.value, s = M.value, u = f(e);
92
+ return !!(a && u < f(a) || s && u > f(s));
93
+ }
94
+ function A(e) {
95
+ return e ? J(e, d.value ?? "yyyy-MM-dd") : "";
96
+ }
97
+ return {
98
+ currentYear: c,
99
+ currentMonth: o,
100
+ calendarDays: T,
101
+ weekdays: w,
102
+ selectedDate: y,
103
+ selectDate: H,
104
+ prevMonth: x,
105
+ nextMonth: O,
106
+ prevYear: k,
107
+ nextYear: R,
108
+ isSelected: b,
109
+ isToday: j,
110
+ isInRange: E,
111
+ isDisabled: m,
112
+ formatDate: A,
113
+ goToToday: W
114
+ };
115
+ }
116
+ export {
117
+ Z as useDatePicker
118
+ };
@@ -0,0 +1,34 @@
1
+ import { Ref } from 'vue';
2
+
3
+ export type DrawerPosition = 'left' | 'right' | 'top' | 'bottom';
4
+ export interface UseDrawerOptions {
5
+ /** v-model visibility */
6
+ modelValue: Ref<boolean>;
7
+ /** Whether clicking the mask closes the drawer */
8
+ maskClosable?: Ref<boolean>;
9
+ /** Whether the drawer can be closed at all (Escape / close button) */
10
+ closable?: Ref<boolean>;
11
+ /** Whether to destroy DOM when closed */
12
+ destroyOnClose?: Ref<boolean>;
13
+ }
14
+ export interface UseDrawerReturn {
15
+ /** Whether the drawer is currently visible (for transitions) */
16
+ isOpen: Ref<boolean>;
17
+ /** Whether the drawer DOM should be rendered */
18
+ rendered: Ref<boolean>;
19
+ /** Open the drawer */
20
+ open: () => void;
21
+ /** Close the drawer */
22
+ close: () => void;
23
+ /** Handle keydown for Escape and focus trap */
24
+ handleKeydown: (event: KeyboardEvent, drawerEl: HTMLElement | undefined) => void;
25
+ /** Handle mask click — closes when maskClosable and closable */
26
+ handleMaskClick: () => void;
27
+ /** Focus the first focusable element inside the drawer (call after drawer mounts) */
28
+ focusDrawer: (drawerEl: HTMLElement | undefined) => void;
29
+ }
30
+ /**
31
+ * Headless drawer — encapsulates open/close, body scroll lock, focus trap,
32
+ * Escape handling, and mask click dismissal. Use with your own UI rendering.
33
+ */
34
+ export declare function useDrawer(opts: UseDrawerOptions): UseDrawerReturn;
@@ -0,0 +1,97 @@
1
+ import { ref as l, watch as W, nextTick as h, onMounted as D, onBeforeUnmount as E } from "vue";
2
+ const v = /* @__PURE__ */ new WeakMap();
3
+ function k(n) {
4
+ return v.get(n) ?? 0;
5
+ }
6
+ function p(n, o) {
7
+ o <= 0 ? v.delete(n) : v.set(n, o);
8
+ }
9
+ function L() {
10
+ return typeof window > "u" ? 0 : window.innerWidth - document.documentElement.clientWidth;
11
+ }
12
+ function B(n) {
13
+ const { modelValue: o } = n, g = n.maskClosable ?? l(!0), f = n.closable ?? l(!0), x = n.destroyOnClose ?? l(!1), c = l(o.value), i = l(o.value), r = l(null);
14
+ let d;
15
+ function C() {
16
+ if (typeof document > "u") return;
17
+ const e = k(document);
18
+ if (p(document, e + 1), e === 0) {
19
+ const t = L();
20
+ t > 0 && (document.body.style.paddingRight = `${t}px`), document.body.style.overflow = "hidden";
21
+ }
22
+ }
23
+ function b() {
24
+ if (typeof document > "u") return;
25
+ const e = k(document), t = Math.max(0, e - 1);
26
+ p(document, t), t === 0 && (document.body.style.overflow = "", document.body.style.paddingRight = "");
27
+ }
28
+ W(
29
+ () => o.value,
30
+ (e) => {
31
+ var t;
32
+ if (e) {
33
+ i.value = !0;
34
+ const u = document.activeElement;
35
+ r.value = u instanceof HTMLElement ? u : null, C(), h(() => {
36
+ c.value = !0;
37
+ });
38
+ } else
39
+ c.value = !1, clearTimeout(d), x.value && (d = setTimeout(() => {
40
+ i.value = !1;
41
+ }, 200)), b(), (t = r.value) == null || t.focus();
42
+ }
43
+ );
44
+ function w() {
45
+ o.value = !0;
46
+ }
47
+ function m() {
48
+ f.value && (o.value = !1);
49
+ }
50
+ function T() {
51
+ g.value && f.value && m();
52
+ }
53
+ function y(e) {
54
+ return e ? Array.from(
55
+ e.querySelectorAll(
56
+ 'button:not([disabled]), [href]:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), [contenteditable]:not([contenteditable="false"])'
57
+ )
58
+ ) : [];
59
+ }
60
+ function S(e) {
61
+ if (!e) return;
62
+ e.focus();
63
+ const t = y(e);
64
+ t.length > 0 && t[0].focus();
65
+ }
66
+ function M(e, t) {
67
+ if (e.key === "Escape" && f.value) {
68
+ m();
69
+ return;
70
+ }
71
+ if (e.key === "Tab" && t) {
72
+ const u = y(t);
73
+ if (u.length === 0) return;
74
+ const a = u[0], s = u[u.length - 1];
75
+ e.shiftKey ? document.activeElement === a && (e.preventDefault(), s == null || s.focus()) : document.activeElement === s && (e.preventDefault(), a == null || a.focus());
76
+ }
77
+ }
78
+ return D(() => {
79
+ o.value && (i.value = !0, h(() => {
80
+ c.value = !0;
81
+ }));
82
+ }), E(() => {
83
+ var e;
84
+ clearTimeout(d), b(), c.value && ((e = r.value) == null || e.focus());
85
+ }), {
86
+ isOpen: c,
87
+ rendered: i,
88
+ open: w,
89
+ close: m,
90
+ handleKeydown: M,
91
+ handleMaskClick: T,
92
+ focusDrawer: S
93
+ };
94
+ }
95
+ export {
96
+ B as useDrawer
97
+ };
@@ -0,0 +1,24 @@
1
+ export type FieldSize = 'small' | 'medium' | 'large';
2
+ export interface FormFieldConfig {
3
+ /** 组件 props */
4
+ id?: string;
5
+ size: 'small' | 'medium' | 'large';
6
+ disabled: boolean;
7
+ error?: string | boolean;
8
+ /** generateId 前缀 */
9
+ prefix: 'input' | 'textarea' | 'select' | 'datepicker';
10
+ }
11
+ /**
12
+ * Input/Textarea/Select 共享表单字段逻辑
13
+ */
14
+ export declare function useFormField(config: () => FormFieldConfig): {
15
+ isFocused: import('vue').Ref<boolean, boolean>;
16
+ fieldId: string;
17
+ errorMessage: import('vue').ComputedRef<string>;
18
+ hasError: import('vue').ComputedRef<boolean>;
19
+ baseClassList: (baseClass: string) => import('vue').ComputedRef<(string | {
20
+ [x: string]: boolean;
21
+ })[]>;
22
+ handleFocus: (event: FocusEvent, emit: (e: "focus", ev: FocusEvent) => void) => void;
23
+ handleBlur: (event: FocusEvent, emit: (e: "blur", ev: FocusEvent) => void) => void;
24
+ };
@@ -0,0 +1,34 @@
1
+ import { ref as v, computed as u } from "vue";
2
+ import { generateId as m } from "../utils/index.js";
3
+ function g(n) {
4
+ const o = v(!1), r = u(n), i = n(), c = i.id || m(`nm-${i.prefix}`), f = u(() => typeof r.value.error == "string" ? r.value.error : ""), l = u(() => !!r.value.error);
5
+ function d(e) {
6
+ return u(() => [
7
+ e,
8
+ `${e}--${r.value.size}`,
9
+ {
10
+ [`${e}--focused`]: o.value,
11
+ [`${e}--disabled`]: r.value.disabled,
12
+ [`${e}--error`]: l.value
13
+ }
14
+ ]);
15
+ }
16
+ function a(e, t) {
17
+ o.value = !0, t("focus", e);
18
+ }
19
+ function s(e, t) {
20
+ o.value = !1, t("blur", e);
21
+ }
22
+ return {
23
+ isFocused: o,
24
+ fieldId: c,
25
+ errorMessage: f,
26
+ hasError: l,
27
+ baseClassList: d,
28
+ handleFocus: a,
29
+ handleBlur: s
30
+ };
31
+ }
32
+ export {
33
+ g as useFormField
34
+ };
@@ -0,0 +1,18 @@
1
+ import { LocaleMessages } from '../locales/types';
2
+
3
+ export interface FormRule {
4
+ required?: boolean;
5
+ message?: string;
6
+ pattern?: RegExp;
7
+ min?: number;
8
+ max?: number;
9
+ minLength?: number;
10
+ maxLength?: number;
11
+ validator?: (value: unknown) => boolean | string;
12
+ /** @internal Reserved for future per-rule trigger support. Not yet implemented. */
13
+ trigger?: 'change' | 'blur' | 'input';
14
+ }
15
+ /**
16
+ * 验证单个字段值,返回错误消息(空字符串表示通过)
17
+ */
18
+ export declare function validateFieldValue(value: unknown, rules: FormRule[], localeMessages?: Partial<LocaleMessages>): string;