nuxt-ui-tools 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 (1074) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +48 -0
  3. package/dist/module.d.mts +26 -0
  4. package/dist/module.json +13 -0
  5. package/dist/module.mjs +228 -0
  6. package/dist/runtime/form/components/actions/FormActions.d.vue.ts +14 -0
  7. package/dist/runtime/form/components/actions/FormActions.vue +172 -0
  8. package/dist/runtime/form/components/actions/FormActions.vue.d.ts +14 -0
  9. package/dist/runtime/form/components/layout/DrawerLayout.d.vue.ts +20 -0
  10. package/dist/runtime/form/components/layout/DrawerLayout.vue +48 -0
  11. package/dist/runtime/form/components/layout/DrawerLayout.vue.d.ts +20 -0
  12. package/dist/runtime/form/components/layout/FullscreenLayout.d.vue.ts +20 -0
  13. package/dist/runtime/form/components/layout/FullscreenLayout.vue +36 -0
  14. package/dist/runtime/form/components/layout/FullscreenLayout.vue.d.ts +20 -0
  15. package/dist/runtime/form/components/layout/ModalLayout.d.vue.ts +20 -0
  16. package/dist/runtime/form/components/layout/ModalLayout.vue +44 -0
  17. package/dist/runtime/form/components/layout/ModalLayout.vue.d.ts +20 -0
  18. package/dist/runtime/form/components/provider/FormOverlayHost.d.vue.ts +7 -0
  19. package/dist/runtime/form/components/provider/FormOverlayHost.vue +99 -0
  20. package/dist/runtime/form/components/provider/FormOverlayHost.vue.d.ts +7 -0
  21. package/dist/runtime/form/components/provider/FormProvider.d.vue.ts +13 -0
  22. package/dist/runtime/form/components/provider/FormProvider.vue +12 -0
  23. package/dist/runtime/form/components/provider/FormProvider.vue.d.ts +13 -0
  24. package/dist/runtime/form/components/renderer/FormFieldRenderer.d.vue.ts +9 -0
  25. package/dist/runtime/form/components/renderer/FormFieldRenderer.vue +166 -0
  26. package/dist/runtime/form/components/renderer/FormFieldRenderer.vue.d.ts +9 -0
  27. package/dist/runtime/form/components/renderer/FormFieldShell.d.vue.ts +38 -0
  28. package/dist/runtime/form/components/renderer/FormFieldShell.vue +135 -0
  29. package/dist/runtime/form/components/renderer/FormFieldShell.vue.d.ts +38 -0
  30. package/dist/runtime/form/components/root/Form.d.vue.ts +42 -0
  31. package/dist/runtime/form/components/root/Form.vue +310 -0
  32. package/dist/runtime/form/components/root/Form.vue.d.ts +42 -0
  33. package/dist/runtime/form/composables/use-field-control.d.ts +31 -0
  34. package/dist/runtime/form/composables/use-field-control.js +160 -0
  35. package/dist/runtime/form/composables/use-field-options.d.ts +26 -0
  36. package/dist/runtime/form/composables/use-field-options.js +285 -0
  37. package/dist/runtime/form/composables/use-form-actions.d.ts +6 -0
  38. package/dist/runtime/form/composables/use-form-actions.js +91 -0
  39. package/dist/runtime/form/composables/use-form-api.d.ts +3 -0
  40. package/dist/runtime/form/composables/use-form-api.js +154 -0
  41. package/dist/runtime/form/composables/use-form-context-resources.d.ts +7 -0
  42. package/dist/runtime/form/composables/use-form-context-resources.js +109 -0
  43. package/dist/runtime/form/composables/use-form-field-chrome.d.ts +3 -0
  44. package/dist/runtime/form/composables/use-form-field-chrome.js +8 -0
  45. package/dist/runtime/form/composables/use-form-focus.d.ts +15 -0
  46. package/dist/runtime/form/composables/use-form-focus.js +47 -0
  47. package/dist/runtime/form/composables/use-form-layout.d.ts +22 -0
  48. package/dist/runtime/form/composables/use-form-layout.js +59 -0
  49. package/dist/runtime/form/composables/use-form-option-registry.d.ts +7 -0
  50. package/dist/runtime/form/composables/use-form-option-registry.js +53 -0
  51. package/dist/runtime/form/composables/use-form-overlay-controller.d.ts +12 -0
  52. package/dist/runtime/form/composables/use-form-overlay-controller.js +84 -0
  53. package/dist/runtime/form/composables/use-form-overlay-layout.d.ts +7 -0
  54. package/dist/runtime/form/composables/use-form-overlay-layout.js +18 -0
  55. package/dist/runtime/form/composables/use-form-runtime.d.ts +6 -0
  56. package/dist/runtime/form/composables/use-form-runtime.js +403 -0
  57. package/dist/runtime/form/composables/use-form-state.d.ts +21 -0
  58. package/dist/runtime/form/composables/use-form-state.js +76 -0
  59. package/dist/runtime/form/composables/use-form-submit.d.ts +23 -0
  60. package/dist/runtime/form/composables/use-form-submit.js +71 -0
  61. package/dist/runtime/form/composables/use-form-ui.d.ts +12 -0
  62. package/dist/runtime/form/composables/use-form-ui.js +24 -0
  63. package/dist/runtime/form/composables/use-form-upload-registry.d.ts +5 -0
  64. package/dist/runtime/form/composables/use-form-upload-registry.js +15 -0
  65. package/dist/runtime/form/composables/use-form-validation.d.ts +22 -0
  66. package/dist/runtime/form/composables/use-form-validation.js +106 -0
  67. package/dist/runtime/form/composables/use-form.d.ts +2 -0
  68. package/dist/runtime/form/composables/use-form.js +164 -0
  69. package/dist/runtime/form/fields/array-list/component.d.vue.ts +8 -0
  70. package/dist/runtime/form/fields/array-list/component.vue +482 -0
  71. package/dist/runtime/form/fields/array-list/component.vue.d.ts +8 -0
  72. package/dist/runtime/form/fields/array-list/config.d.ts +12 -0
  73. package/dist/runtime/form/fields/array-list/config.js +7 -0
  74. package/dist/runtime/form/fields/array-list/index.d.ts +2 -0
  75. package/dist/runtime/form/fields/array-list/index.js +1 -0
  76. package/dist/runtime/form/fields/array-list/types.d.ts +43 -0
  77. package/dist/runtime/form/fields/array-list/types.js +0 -0
  78. package/dist/runtime/form/fields/array-table/component.d.vue.ts +8 -0
  79. package/dist/runtime/form/fields/array-table/component.vue +335 -0
  80. package/dist/runtime/form/fields/array-table/component.vue.d.ts +8 -0
  81. package/dist/runtime/form/fields/array-table/config.d.ts +12 -0
  82. package/dist/runtime/form/fields/array-table/config.js +7 -0
  83. package/dist/runtime/form/fields/array-table/types.d.ts +6 -0
  84. package/dist/runtime/form/fields/array-table/types.js +0 -0
  85. package/dist/runtime/form/fields/array-tabs/config.d.ts +12 -0
  86. package/dist/runtime/form/fields/array-tabs/config.js +7 -0
  87. package/dist/runtime/form/fields/array-tabs/index.d.ts +2 -0
  88. package/dist/runtime/form/fields/array-tabs/index.js +1 -0
  89. package/dist/runtime/form/fields/array-tabs/types.d.ts +17 -0
  90. package/dist/runtime/form/fields/array-tabs/types.js +0 -0
  91. package/dist/runtime/form/fields/array-variant/config.d.ts +12 -0
  92. package/dist/runtime/form/fields/array-variant/config.js +7 -0
  93. package/dist/runtime/form/fields/array-variant/index.d.ts +2 -0
  94. package/dist/runtime/form/fields/array-variant/index.js +1 -0
  95. package/dist/runtime/form/fields/array-variant/types.d.ts +38 -0
  96. package/dist/runtime/form/fields/array-variant/types.js +0 -0
  97. package/dist/runtime/form/fields/auto-complete/component.d.vue.ts +8 -0
  98. package/dist/runtime/form/fields/auto-complete/component.vue +110 -0
  99. package/dist/runtime/form/fields/auto-complete/component.vue.d.ts +8 -0
  100. package/dist/runtime/form/fields/auto-complete/config.d.ts +17 -0
  101. package/dist/runtime/form/fields/auto-complete/config.js +10 -0
  102. package/dist/runtime/form/fields/auto-complete/index.d.ts +2 -0
  103. package/dist/runtime/form/fields/auto-complete/index.js +1 -0
  104. package/dist/runtime/form/fields/auto-complete/types.d.ts +17 -0
  105. package/dist/runtime/form/fields/auto-complete/types.js +0 -0
  106. package/dist/runtime/form/fields/button/component.d.vue.ts +8 -0
  107. package/dist/runtime/form/fields/button/component.vue +30 -0
  108. package/dist/runtime/form/fields/button/component.vue.d.ts +8 -0
  109. package/dist/runtime/form/fields/button/config.d.ts +7 -0
  110. package/dist/runtime/form/fields/button/config.js +6 -0
  111. package/dist/runtime/form/fields/button/index.d.ts +2 -0
  112. package/dist/runtime/form/fields/button/index.js +1 -0
  113. package/dist/runtime/form/fields/button/types.d.ts +11 -0
  114. package/dist/runtime/form/fields/button/types.js +0 -0
  115. package/dist/runtime/form/fields/card/component.d.vue.ts +9 -0
  116. package/dist/runtime/form/fields/card/component.vue +69 -0
  117. package/dist/runtime/form/fields/card/component.vue.d.ts +9 -0
  118. package/dist/runtime/form/fields/card/config.d.ts +12 -0
  119. package/dist/runtime/form/fields/card/config.js +7 -0
  120. package/dist/runtime/form/fields/card/index.d.ts +2 -0
  121. package/dist/runtime/form/fields/card/index.js +1 -0
  122. package/dist/runtime/form/fields/card/types.d.ts +9 -0
  123. package/dist/runtime/form/fields/card/types.js +0 -0
  124. package/dist/runtime/form/fields/cascader/config.d.ts +17 -0
  125. package/dist/runtime/form/fields/cascader/config.js +10 -0
  126. package/dist/runtime/form/fields/cascader/types.d.ts +1 -0
  127. package/dist/runtime/form/fields/cascader/types.js +0 -0
  128. package/dist/runtime/form/fields/checkbox/component.d.vue.ts +8 -0
  129. package/dist/runtime/form/fields/checkbox/component.vue +40 -0
  130. package/dist/runtime/form/fields/checkbox/component.vue.d.ts +8 -0
  131. package/dist/runtime/form/fields/checkbox/config.d.ts +14 -0
  132. package/dist/runtime/form/fields/checkbox/config.js +9 -0
  133. package/dist/runtime/form/fields/checkbox/index.d.ts +2 -0
  134. package/dist/runtime/form/fields/checkbox/index.js +1 -0
  135. package/dist/runtime/form/fields/checkbox/types.d.ts +4 -0
  136. package/dist/runtime/form/fields/checkbox/types.js +0 -0
  137. package/dist/runtime/form/fields/checkbox-card/component.d.vue.ts +8 -0
  138. package/dist/runtime/form/fields/checkbox-card/component.vue +56 -0
  139. package/dist/runtime/form/fields/checkbox-card/component.vue.d.ts +8 -0
  140. package/dist/runtime/form/fields/checkbox-card/config.d.ts +17 -0
  141. package/dist/runtime/form/fields/checkbox-card/config.js +10 -0
  142. package/dist/runtime/form/fields/checkbox-card/index.d.ts +2 -0
  143. package/dist/runtime/form/fields/checkbox-card/index.js +1 -0
  144. package/dist/runtime/form/fields/checkbox-card/types.d.ts +6 -0
  145. package/dist/runtime/form/fields/checkbox-card/types.js +0 -0
  146. package/dist/runtime/form/fields/checkbox-group/component.d.vue.ts +8 -0
  147. package/dist/runtime/form/fields/checkbox-group/component.vue +56 -0
  148. package/dist/runtime/form/fields/checkbox-group/component.vue.d.ts +8 -0
  149. package/dist/runtime/form/fields/checkbox-group/config.d.ts +17 -0
  150. package/dist/runtime/form/fields/checkbox-group/config.js +10 -0
  151. package/dist/runtime/form/fields/checkbox-group/index.d.ts +2 -0
  152. package/dist/runtime/form/fields/checkbox-group/index.js +1 -0
  153. package/dist/runtime/form/fields/checkbox-group/types.d.ts +10 -0
  154. package/dist/runtime/form/fields/checkbox-group/types.js +0 -0
  155. package/dist/runtime/form/fields/color-picker/component.d.vue.ts +8 -0
  156. package/dist/runtime/form/fields/color-picker/component.vue +109 -0
  157. package/dist/runtime/form/fields/color-picker/component.vue.d.ts +8 -0
  158. package/dist/runtime/form/fields/color-picker/config.d.ts +14 -0
  159. package/dist/runtime/form/fields/color-picker/config.js +9 -0
  160. package/dist/runtime/form/fields/color-picker/index.d.ts +2 -0
  161. package/dist/runtime/form/fields/color-picker/index.js +1 -0
  162. package/dist/runtime/form/fields/color-picker/types.d.ts +9 -0
  163. package/dist/runtime/form/fields/color-picker/types.js +0 -0
  164. package/dist/runtime/form/fields/column/component.d.vue.ts +9 -0
  165. package/dist/runtime/form/fields/column/component.vue +19 -0
  166. package/dist/runtime/form/fields/column/component.vue.d.ts +9 -0
  167. package/dist/runtime/form/fields/column/config.d.ts +8 -0
  168. package/dist/runtime/form/fields/column/config.js +6 -0
  169. package/dist/runtime/form/fields/column/index.d.ts +2 -0
  170. package/dist/runtime/form/fields/column/index.js +1 -0
  171. package/dist/runtime/form/fields/column/types.d.ts +3 -0
  172. package/dist/runtime/form/fields/column/types.js +0 -0
  173. package/dist/runtime/form/fields/custom-component/component.d.vue.ts +8 -0
  174. package/dist/runtime/form/fields/custom-component/component.vue +21 -0
  175. package/dist/runtime/form/fields/custom-component/component.vue.d.ts +8 -0
  176. package/dist/runtime/form/fields/custom-component/config.d.ts +14 -0
  177. package/dist/runtime/form/fields/custom-component/config.js +9 -0
  178. package/dist/runtime/form/fields/custom-component/index.d.ts +2 -0
  179. package/dist/runtime/form/fields/custom-component/index.js +1 -0
  180. package/dist/runtime/form/fields/custom-component/types.d.ts +10 -0
  181. package/dist/runtime/form/fields/custom-component/types.js +0 -0
  182. package/dist/runtime/form/fields/date/component.d.vue.ts +8 -0
  183. package/dist/runtime/form/fields/date/component.vue +331 -0
  184. package/dist/runtime/form/fields/date/component.vue.d.ts +8 -0
  185. package/dist/runtime/form/fields/date/config.d.ts +14 -0
  186. package/dist/runtime/form/fields/date/config.js +9 -0
  187. package/dist/runtime/form/fields/date/index.d.ts +2 -0
  188. package/dist/runtime/form/fields/date/index.js +1 -0
  189. package/dist/runtime/form/fields/date/types.d.ts +22 -0
  190. package/dist/runtime/form/fields/date/types.js +0 -0
  191. package/dist/runtime/form/fields/date-family/component.d.vue.ts +8 -0
  192. package/dist/runtime/form/fields/date-family/component.vue +114 -0
  193. package/dist/runtime/form/fields/date-family/component.vue.d.ts +8 -0
  194. package/dist/runtime/form/fields/date-family/types.d.ts +28 -0
  195. package/dist/runtime/form/fields/date-family/types.js +0 -0
  196. package/dist/runtime/form/fields/date-range/config.d.ts +14 -0
  197. package/dist/runtime/form/fields/date-range/config.js +9 -0
  198. package/dist/runtime/form/fields/date-range/types.d.ts +1 -0
  199. package/dist/runtime/form/fields/date-range/types.js +0 -0
  200. package/dist/runtime/form/fields/date-time/config.d.ts +14 -0
  201. package/dist/runtime/form/fields/date-time/config.js +9 -0
  202. package/dist/runtime/form/fields/date-time/types.d.ts +1 -0
  203. package/dist/runtime/form/fields/date-time/types.js +0 -0
  204. package/dist/runtime/form/fields/date-time-range/config.d.ts +14 -0
  205. package/dist/runtime/form/fields/date-time-range/config.js +9 -0
  206. package/dist/runtime/form/fields/date-time-range/types.d.ts +1 -0
  207. package/dist/runtime/form/fields/date-time-range/types.js +0 -0
  208. package/dist/runtime/form/fields/divider/component.d.vue.ts +8 -0
  209. package/dist/runtime/form/fields/divider/component.vue +14 -0
  210. package/dist/runtime/form/fields/divider/component.vue.d.ts +8 -0
  211. package/dist/runtime/form/fields/divider/config.d.ts +7 -0
  212. package/dist/runtime/form/fields/divider/config.js +6 -0
  213. package/dist/runtime/form/fields/divider/index.d.ts +2 -0
  214. package/dist/runtime/form/fields/divider/index.js +1 -0
  215. package/dist/runtime/form/fields/divider/types.d.ts +5 -0
  216. package/dist/runtime/form/fields/divider/types.js +0 -0
  217. package/dist/runtime/form/fields/file/component.d.vue.ts +8 -0
  218. package/dist/runtime/form/fields/file/component.vue +43 -0
  219. package/dist/runtime/form/fields/file/component.vue.d.ts +8 -0
  220. package/dist/runtime/form/fields/file/config.d.ts +14 -0
  221. package/dist/runtime/form/fields/file/config.js +9 -0
  222. package/dist/runtime/form/fields/file/index.d.ts +2 -0
  223. package/dist/runtime/form/fields/file/index.js +1 -0
  224. package/dist/runtime/form/fields/file/types.d.ts +10 -0
  225. package/dist/runtime/form/fields/file/types.js +0 -0
  226. package/dist/runtime/form/fields/group/component.d.vue.ts +9 -0
  227. package/dist/runtime/form/fields/group/component.vue +32 -0
  228. package/dist/runtime/form/fields/group/component.vue.d.ts +9 -0
  229. package/dist/runtime/form/fields/group/config.d.ts +12 -0
  230. package/dist/runtime/form/fields/group/config.js +7 -0
  231. package/dist/runtime/form/fields/group/types.d.ts +4 -0
  232. package/dist/runtime/form/fields/group/types.js +0 -0
  233. package/dist/runtime/form/fields/hidden/component.d.vue.ts +8 -0
  234. package/dist/runtime/form/fields/hidden/component.vue +10 -0
  235. package/dist/runtime/form/fields/hidden/component.vue.d.ts +8 -0
  236. package/dist/runtime/form/fields/hidden/config.d.ts +6 -0
  237. package/dist/runtime/form/fields/hidden/config.js +7 -0
  238. package/dist/runtime/form/fields/hidden/index.d.ts +2 -0
  239. package/dist/runtime/form/fields/hidden/index.js +1 -0
  240. package/dist/runtime/form/fields/hidden/types.d.ts +5 -0
  241. package/dist/runtime/form/fields/hidden/types.js +0 -0
  242. package/dist/runtime/form/fields/hierarchy/component.d.vue.ts +8 -0
  243. package/dist/runtime/form/fields/hierarchy/component.vue +350 -0
  244. package/dist/runtime/form/fields/hierarchy/component.vue.d.ts +8 -0
  245. package/dist/runtime/form/fields/hierarchy/types.d.ts +56 -0
  246. package/dist/runtime/form/fields/hierarchy/types.js +0 -0
  247. package/dist/runtime/form/fields/index.d.ts +644 -0
  248. package/dist/runtime/form/fields/index.js +145 -0
  249. package/dist/runtime/form/fields/info/component.d.vue.ts +8 -0
  250. package/dist/runtime/form/fields/info/component.vue +28 -0
  251. package/dist/runtime/form/fields/info/component.vue.d.ts +8 -0
  252. package/dist/runtime/form/fields/info/config.d.ts +7 -0
  253. package/dist/runtime/form/fields/info/config.js +6 -0
  254. package/dist/runtime/form/fields/info/index.d.ts +2 -0
  255. package/dist/runtime/form/fields/info/index.js +1 -0
  256. package/dist/runtime/form/fields/info/types.d.ts +6 -0
  257. package/dist/runtime/form/fields/info/types.js +0 -0
  258. package/dist/runtime/form/fields/input-group/component.d.vue.ts +9 -0
  259. package/dist/runtime/form/fields/input-group/component.vue +55 -0
  260. package/dist/runtime/form/fields/input-group/component.vue.d.ts +9 -0
  261. package/dist/runtime/form/fields/input-group/config.d.ts +12 -0
  262. package/dist/runtime/form/fields/input-group/config.js +7 -0
  263. package/dist/runtime/form/fields/input-group/index.d.ts +2 -0
  264. package/dist/runtime/form/fields/input-group/index.js +1 -0
  265. package/dist/runtime/form/fields/input-group/types.d.ts +3 -0
  266. package/dist/runtime/form/fields/input-group/types.js +0 -0
  267. package/dist/runtime/form/fields/matrix/component.d.vue.ts +8 -0
  268. package/dist/runtime/form/fields/matrix/component.vue +129 -0
  269. package/dist/runtime/form/fields/matrix/component.vue.d.ts +8 -0
  270. package/dist/runtime/form/fields/matrix/config.d.ts +15 -0
  271. package/dist/runtime/form/fields/matrix/config.js +9 -0
  272. package/dist/runtime/form/fields/matrix/types.d.ts +15 -0
  273. package/dist/runtime/form/fields/matrix/types.js +0 -0
  274. package/dist/runtime/form/fields/month/config.d.ts +14 -0
  275. package/dist/runtime/form/fields/month/config.js +9 -0
  276. package/dist/runtime/form/fields/month/types.d.ts +1 -0
  277. package/dist/runtime/form/fields/month/types.js +0 -0
  278. package/dist/runtime/form/fields/month-range/config.d.ts +14 -0
  279. package/dist/runtime/form/fields/month-range/config.js +9 -0
  280. package/dist/runtime/form/fields/month-range/types.d.ts +1 -0
  281. package/dist/runtime/form/fields/month-range/types.js +0 -0
  282. package/dist/runtime/form/fields/number/component.d.vue.ts +9 -0
  283. package/dist/runtime/form/fields/number/component.vue +50 -0
  284. package/dist/runtime/form/fields/number/component.vue.d.ts +9 -0
  285. package/dist/runtime/form/fields/number/config.d.ts +14 -0
  286. package/dist/runtime/form/fields/number/config.js +9 -0
  287. package/dist/runtime/form/fields/number/index.d.ts +2 -0
  288. package/dist/runtime/form/fields/number/index.js +1 -0
  289. package/dist/runtime/form/fields/number/types.d.ts +8 -0
  290. package/dist/runtime/form/fields/number/types.js +0 -0
  291. package/dist/runtime/form/fields/object/component.d.vue.ts +9 -0
  292. package/dist/runtime/form/fields/object/component.vue +65 -0
  293. package/dist/runtime/form/fields/object/component.vue.d.ts +9 -0
  294. package/dist/runtime/form/fields/object/config.d.ts +13 -0
  295. package/dist/runtime/form/fields/object/config.js +8 -0
  296. package/dist/runtime/form/fields/object/index.d.ts +2 -0
  297. package/dist/runtime/form/fields/object/index.js +1 -0
  298. package/dist/runtime/form/fields/object/types.d.ts +6 -0
  299. package/dist/runtime/form/fields/object/types.js +0 -0
  300. package/dist/runtime/form/fields/one-time-code/component.d.vue.ts +8 -0
  301. package/dist/runtime/form/fields/one-time-code/component.vue +37 -0
  302. package/dist/runtime/form/fields/one-time-code/component.vue.d.ts +8 -0
  303. package/dist/runtime/form/fields/one-time-code/config.d.ts +14 -0
  304. package/dist/runtime/form/fields/one-time-code/config.js +9 -0
  305. package/dist/runtime/form/fields/one-time-code/index.d.ts +2 -0
  306. package/dist/runtime/form/fields/one-time-code/index.js +1 -0
  307. package/dist/runtime/form/fields/one-time-code/types.d.ts +9 -0
  308. package/dist/runtime/form/fields/one-time-code/types.js +0 -0
  309. package/dist/runtime/form/fields/password/component.d.vue.ts +9 -0
  310. package/dist/runtime/form/fields/password/component.vue +46 -0
  311. package/dist/runtime/form/fields/password/component.vue.d.ts +9 -0
  312. package/dist/runtime/form/fields/password/config.d.ts +14 -0
  313. package/dist/runtime/form/fields/password/config.js +9 -0
  314. package/dist/runtime/form/fields/password/index.d.ts +2 -0
  315. package/dist/runtime/form/fields/password/index.js +1 -0
  316. package/dist/runtime/form/fields/password/types.d.ts +5 -0
  317. package/dist/runtime/form/fields/password/types.js +0 -0
  318. package/dist/runtime/form/fields/phone-number/component.d.vue.ts +8 -0
  319. package/dist/runtime/form/fields/phone-number/component.vue +171 -0
  320. package/dist/runtime/form/fields/phone-number/component.vue.d.ts +8 -0
  321. package/dist/runtime/form/fields/phone-number/config.d.ts +14 -0
  322. package/dist/runtime/form/fields/phone-number/config.js +9 -0
  323. package/dist/runtime/form/fields/phone-number/index.d.ts +2 -0
  324. package/dist/runtime/form/fields/phone-number/index.js +1 -0
  325. package/dist/runtime/form/fields/phone-number/types.d.ts +20 -0
  326. package/dist/runtime/form/fields/phone-number/types.js +0 -0
  327. package/dist/runtime/form/fields/radio/component.d.vue.ts +8 -0
  328. package/dist/runtime/form/fields/radio/component.vue +38 -0
  329. package/dist/runtime/form/fields/radio/component.vue.d.ts +8 -0
  330. package/dist/runtime/form/fields/radio/config.d.ts +17 -0
  331. package/dist/runtime/form/fields/radio/config.js +10 -0
  332. package/dist/runtime/form/fields/radio/index.d.ts +2 -0
  333. package/dist/runtime/form/fields/radio/index.js +1 -0
  334. package/dist/runtime/form/fields/radio/types.d.ts +7 -0
  335. package/dist/runtime/form/fields/radio/types.js +0 -0
  336. package/dist/runtime/form/fields/radio-card/component.d.vue.ts +8 -0
  337. package/dist/runtime/form/fields/radio-card/component.vue +40 -0
  338. package/dist/runtime/form/fields/radio-card/component.vue.d.ts +8 -0
  339. package/dist/runtime/form/fields/radio-card/config.d.ts +17 -0
  340. package/dist/runtime/form/fields/radio-card/config.js +10 -0
  341. package/dist/runtime/form/fields/radio-card/index.d.ts +2 -0
  342. package/dist/runtime/form/fields/radio-card/index.js +1 -0
  343. package/dist/runtime/form/fields/radio-card/types.d.ts +8 -0
  344. package/dist/runtime/form/fields/radio-card/types.js +0 -0
  345. package/dist/runtime/form/fields/rating/component.d.vue.ts +8 -0
  346. package/dist/runtime/form/fields/rating/component.vue +54 -0
  347. package/dist/runtime/form/fields/rating/component.vue.d.ts +8 -0
  348. package/dist/runtime/form/fields/rating/config.d.ts +14 -0
  349. package/dist/runtime/form/fields/rating/config.js +9 -0
  350. package/dist/runtime/form/fields/rating/index.d.ts +2 -0
  351. package/dist/runtime/form/fields/rating/index.js +1 -0
  352. package/dist/runtime/form/fields/rating/types.d.ts +8 -0
  353. package/dist/runtime/form/fields/rating/types.js +0 -0
  354. package/dist/runtime/form/fields/select/component.d.vue.ts +9 -0
  355. package/dist/runtime/form/fields/select/component.vue +173 -0
  356. package/dist/runtime/form/fields/select/component.vue.d.ts +9 -0
  357. package/dist/runtime/form/fields/select/config.d.ts +17 -0
  358. package/dist/runtime/form/fields/select/config.js +10 -0
  359. package/dist/runtime/form/fields/select/index.d.ts +2 -0
  360. package/dist/runtime/form/fields/select/index.js +1 -0
  361. package/dist/runtime/form/fields/select/types.d.ts +22 -0
  362. package/dist/runtime/form/fields/select/types.js +0 -0
  363. package/dist/runtime/form/fields/slider/component.d.vue.ts +8 -0
  364. package/dist/runtime/form/fields/slider/component.vue +38 -0
  365. package/dist/runtime/form/fields/slider/component.vue.d.ts +8 -0
  366. package/dist/runtime/form/fields/slider/config.d.ts +14 -0
  367. package/dist/runtime/form/fields/slider/config.js +9 -0
  368. package/dist/runtime/form/fields/slider/index.d.ts +2 -0
  369. package/dist/runtime/form/fields/slider/index.js +1 -0
  370. package/dist/runtime/form/fields/slider/types.d.ts +12 -0
  371. package/dist/runtime/form/fields/slider/types.js +0 -0
  372. package/dist/runtime/form/fields/switch/component.d.vue.ts +8 -0
  373. package/dist/runtime/form/fields/switch/component.vue +48 -0
  374. package/dist/runtime/form/fields/switch/component.vue.d.ts +8 -0
  375. package/dist/runtime/form/fields/switch/config.d.ts +14 -0
  376. package/dist/runtime/form/fields/switch/config.js +9 -0
  377. package/dist/runtime/form/fields/switch/index.d.ts +2 -0
  378. package/dist/runtime/form/fields/switch/index.js +1 -0
  379. package/dist/runtime/form/fields/switch/types.d.ts +22 -0
  380. package/dist/runtime/form/fields/switch/types.js +0 -0
  381. package/dist/runtime/form/fields/switch-group/component.d.vue.ts +8 -0
  382. package/dist/runtime/form/fields/switch-group/component.vue +56 -0
  383. package/dist/runtime/form/fields/switch-group/component.vue.d.ts +8 -0
  384. package/dist/runtime/form/fields/switch-group/config.d.ts +17 -0
  385. package/dist/runtime/form/fields/switch-group/config.js +10 -0
  386. package/dist/runtime/form/fields/switch-group/index.d.ts +2 -0
  387. package/dist/runtime/form/fields/switch-group/index.js +1 -0
  388. package/dist/runtime/form/fields/switch-group/types.d.ts +10 -0
  389. package/dist/runtime/form/fields/switch-group/types.js +0 -0
  390. package/dist/runtime/form/fields/tag/component.d.vue.ts +8 -0
  391. package/dist/runtime/form/fields/tag/component.vue +34 -0
  392. package/dist/runtime/form/fields/tag/component.vue.d.ts +8 -0
  393. package/dist/runtime/form/fields/tag/config.d.ts +14 -0
  394. package/dist/runtime/form/fields/tag/config.js +9 -0
  395. package/dist/runtime/form/fields/tag/index.d.ts +2 -0
  396. package/dist/runtime/form/fields/tag/index.js +1 -0
  397. package/dist/runtime/form/fields/tag/types.d.ts +4 -0
  398. package/dist/runtime/form/fields/tag/types.js +0 -0
  399. package/dist/runtime/form/fields/text/component.d.vue.ts +9 -0
  400. package/dist/runtime/form/fields/text/component.vue +46 -0
  401. package/dist/runtime/form/fields/text/component.vue.d.ts +9 -0
  402. package/dist/runtime/form/fields/text/config.d.ts +14 -0
  403. package/dist/runtime/form/fields/text/config.js +9 -0
  404. package/dist/runtime/form/fields/text/index.d.ts +2 -0
  405. package/dist/runtime/form/fields/text/index.js +1 -0
  406. package/dist/runtime/form/fields/text/types.d.ts +6 -0
  407. package/dist/runtime/form/fields/text/types.js +0 -0
  408. package/dist/runtime/form/fields/textarea/component.d.vue.ts +8 -0
  409. package/dist/runtime/form/fields/textarea/component.vue +34 -0
  410. package/dist/runtime/form/fields/textarea/component.vue.d.ts +8 -0
  411. package/dist/runtime/form/fields/textarea/config.d.ts +14 -0
  412. package/dist/runtime/form/fields/textarea/config.js +9 -0
  413. package/dist/runtime/form/fields/textarea/index.d.ts +2 -0
  414. package/dist/runtime/form/fields/textarea/index.js +1 -0
  415. package/dist/runtime/form/fields/textarea/types.d.ts +5 -0
  416. package/dist/runtime/form/fields/textarea/types.js +0 -0
  417. package/dist/runtime/form/fields/time/component.d.vue.ts +8 -0
  418. package/dist/runtime/form/fields/time/component.vue +218 -0
  419. package/dist/runtime/form/fields/time/component.vue.d.ts +8 -0
  420. package/dist/runtime/form/fields/time/config.d.ts +14 -0
  421. package/dist/runtime/form/fields/time/config.js +9 -0
  422. package/dist/runtime/form/fields/time/index.d.ts +2 -0
  423. package/dist/runtime/form/fields/time/index.js +1 -0
  424. package/dist/runtime/form/fields/time/types.d.ts +10 -0
  425. package/dist/runtime/form/fields/time/types.js +0 -0
  426. package/dist/runtime/form/fields/tree/config.d.ts +17 -0
  427. package/dist/runtime/form/fields/tree/config.js +10 -0
  428. package/dist/runtime/form/fields/tree/types.d.ts +1 -0
  429. package/dist/runtime/form/fields/tree/types.js +0 -0
  430. package/dist/runtime/form/fields/tree-select/config.d.ts +17 -0
  431. package/dist/runtime/form/fields/tree-select/config.js +10 -0
  432. package/dist/runtime/form/fields/tree-select/types.d.ts +1 -0
  433. package/dist/runtime/form/fields/tree-select/types.js +0 -0
  434. package/dist/runtime/form/fields/upload/component.d.vue.ts +8 -0
  435. package/dist/runtime/form/fields/upload/component.vue +132 -0
  436. package/dist/runtime/form/fields/upload/component.vue.d.ts +8 -0
  437. package/dist/runtime/form/fields/upload/config.d.ts +17 -0
  438. package/dist/runtime/form/fields/upload/config.js +10 -0
  439. package/dist/runtime/form/fields/upload/index.d.ts +2 -0
  440. package/dist/runtime/form/fields/upload/index.js +1 -0
  441. package/dist/runtime/form/fields/upload/types.d.ts +28 -0
  442. package/dist/runtime/form/fields/upload/types.js +0 -0
  443. package/dist/runtime/form/fields/year/config.d.ts +14 -0
  444. package/dist/runtime/form/fields/year/config.js +9 -0
  445. package/dist/runtime/form/fields/year/types.d.ts +1 -0
  446. package/dist/runtime/form/fields/year/types.js +0 -0
  447. package/dist/runtime/form/index.d.ts +11 -0
  448. package/dist/runtime/form/index.js +13 -0
  449. package/dist/runtime/form/schema/index.d.ts +84 -0
  450. package/dist/runtime/form/schema/index.js +9 -0
  451. package/dist/runtime/form/types/actions.d.ts +70 -0
  452. package/dist/runtime/form/types/actions.js +0 -0
  453. package/dist/runtime/form/types/api.d.ts +149 -0
  454. package/dist/runtime/form/types/api.js +0 -0
  455. package/dist/runtime/form/types/callbacks.d.ts +16 -0
  456. package/dist/runtime/form/types/callbacks.js +0 -0
  457. package/dist/runtime/form/types/context.d.ts +31 -0
  458. package/dist/runtime/form/types/context.js +0 -0
  459. package/dist/runtime/form/types/controller.d.ts +198 -0
  460. package/dist/runtime/form/types/controller.js +0 -0
  461. package/dist/runtime/form/types/dependencies.d.ts +27 -0
  462. package/dist/runtime/form/types/dependencies.js +0 -0
  463. package/dist/runtime/form/types/field-base.d.ts +126 -0
  464. package/dist/runtime/form/types/field-base.js +0 -0
  465. package/dist/runtime/form/types/field-kind.d.ts +36 -0
  466. package/dist/runtime/form/types/field-kind.js +0 -0
  467. package/dist/runtime/form/types/field-output-utils.d.ts +40 -0
  468. package/dist/runtime/form/types/field-output-utils.js +0 -0
  469. package/dist/runtime/form/types/field-output.d.ts +104 -0
  470. package/dist/runtime/form/types/field-output.js +0 -0
  471. package/dist/runtime/form/types/field.d.ts +88 -0
  472. package/dist/runtime/form/types/field.js +0 -0
  473. package/dist/runtime/form/types/focus.d.ts +9 -0
  474. package/dist/runtime/form/types/focus.js +0 -0
  475. package/dist/runtime/form/types/form-api.d.ts +92 -0
  476. package/dist/runtime/form/types/form-api.js +0 -0
  477. package/dist/runtime/form/types/index.d.ts +25 -0
  478. package/dist/runtime/form/types/index.js +0 -0
  479. package/dist/runtime/form/types/layout.d.ts +32 -0
  480. package/dist/runtime/form/types/layout.js +0 -0
  481. package/dist/runtime/form/types/options-runtime.d.ts +42 -0
  482. package/dist/runtime/form/types/options-runtime.js +0 -0
  483. package/dist/runtime/form/types/options.d.ts +66 -0
  484. package/dist/runtime/form/types/options.js +0 -0
  485. package/dist/runtime/form/types/output.d.ts +91 -0
  486. package/dist/runtime/form/types/output.js +0 -0
  487. package/dist/runtime/form/types/overlay.d.ts +44 -0
  488. package/dist/runtime/form/types/overlay.js +0 -0
  489. package/dist/runtime/form/types/runtime.d.ts +90 -0
  490. package/dist/runtime/form/types/runtime.js +0 -0
  491. package/dist/runtime/form/types/schema.d.ts +163 -0
  492. package/dist/runtime/form/types/schema.js +0 -0
  493. package/dist/runtime/form/types/transform.d.ts +10 -0
  494. package/dist/runtime/form/types/transform.js +0 -0
  495. package/dist/runtime/form/types/ui.d.ts +167 -0
  496. package/dist/runtime/form/types/ui.js +0 -0
  497. package/dist/runtime/form/types/upload-runtime.d.ts +6 -0
  498. package/dist/runtime/form/types/upload-runtime.js +0 -0
  499. package/dist/runtime/form/types/utils.d.ts +64 -0
  500. package/dist/runtime/form/types/utils.js +0 -0
  501. package/dist/runtime/form/types/validation.d.ts +64 -0
  502. package/dist/runtime/form/types/validation.js +0 -0
  503. package/dist/runtime/form/utils/api.d.ts +2 -0
  504. package/dist/runtime/form/utils/api.js +12 -0
  505. package/dist/runtime/form/utils/array.d.ts +2 -0
  506. package/dist/runtime/form/utils/array.js +19 -0
  507. package/dist/runtime/form/utils/dependencies.d.ts +6 -0
  508. package/dist/runtime/form/utils/dependencies.js +23 -0
  509. package/dist/runtime/form/utils/field-instance.d.ts +68 -0
  510. package/dist/runtime/form/utils/field-instance.js +57 -0
  511. package/dist/runtime/form/utils/field-kind.d.ts +17 -0
  512. package/dist/runtime/form/utils/field-kind.js +3 -0
  513. package/dist/runtime/form/utils/focus.d.ts +5 -0
  514. package/dist/runtime/form/utils/focus.js +47 -0
  515. package/dist/runtime/form/utils/layout.d.ts +10 -0
  516. package/dist/runtime/form/utils/layout.js +31 -0
  517. package/dist/runtime/form/utils/options.d.ts +11 -0
  518. package/dist/runtime/form/utils/options.js +36 -0
  519. package/dist/runtime/form/utils/overlay.d.ts +8 -0
  520. package/dist/runtime/form/utils/overlay.js +34 -0
  521. package/dist/runtime/form/utils/path.d.ts +1 -0
  522. package/dist/runtime/form/utils/path.js +10 -0
  523. package/dist/runtime/form/utils/state.d.ts +34 -0
  524. package/dist/runtime/form/utils/state.js +480 -0
  525. package/dist/runtime/form/utils/text.d.ts +2 -0
  526. package/dist/runtime/form/utils/text.js +5 -0
  527. package/dist/runtime/form/utils/ui.d.ts +5 -0
  528. package/dist/runtime/form/utils/ui.js +62 -0
  529. package/dist/runtime/i18n/define-locale.d.ts +13 -0
  530. package/dist/runtime/i18n/define-locale.js +31 -0
  531. package/dist/runtime/i18n/index.d.ts +5 -0
  532. package/dist/runtime/i18n/index.js +4 -0
  533. package/dist/runtime/i18n/locales/en.d.ts +3 -0
  534. package/dist/runtime/i18n/locales/en.js +248 -0
  535. package/dist/runtime/i18n/locales/fr.d.ts +3 -0
  536. package/dist/runtime/i18n/locales/fr.js +248 -0
  537. package/dist/runtime/i18n/locales/index.d.ts +2 -0
  538. package/dist/runtime/i18n/locales/index.js +2 -0
  539. package/dist/runtime/i18n/provider.d.vue.ts +17 -0
  540. package/dist/runtime/i18n/provider.vue +12 -0
  541. package/dist/runtime/i18n/provider.vue.d.ts +17 -0
  542. package/dist/runtime/i18n/types.d.ts +259 -0
  543. package/dist/runtime/i18n/types.js +0 -0
  544. package/dist/runtime/i18n/use-locale.d.ts +6 -0
  545. package/dist/runtime/i18n/use-locale.js +37 -0
  546. package/dist/runtime/i18n/utils.d.ts +14 -0
  547. package/dist/runtime/i18n/utils.js +20 -0
  548. package/dist/runtime/query-state/client.d.ts +79 -0
  549. package/dist/runtime/query-state/client.js +165 -0
  550. package/dist/runtime/query-state/codecs.d.ts +45 -0
  551. package/dist/runtime/query-state/codecs.js +41 -0
  552. package/dist/runtime/query-state/composables.d.ts +185 -0
  553. package/dist/runtime/query-state/composables.js +191 -0
  554. package/dist/runtime/query-state/index.d.ts +3 -0
  555. package/dist/runtime/query-state/index.js +16 -0
  556. package/dist/runtime/server/tsconfig.json +3 -0
  557. package/dist/runtime/shared/composables/use-range-select.d.ts +14 -0
  558. package/dist/runtime/shared/composables/use-range-select.js +27 -0
  559. package/dist/runtime/shared/composables/use-responsive-value.d.ts +6 -0
  560. package/dist/runtime/shared/composables/use-responsive-value.js +42 -0
  561. package/dist/runtime/shared/index.d.ts +10 -0
  562. package/dist/runtime/shared/index.js +10 -0
  563. package/dist/runtime/shared/types/responsive.d.ts +12 -0
  564. package/dist/runtime/shared/types/responsive.js +0 -0
  565. package/dist/runtime/shared/types/utils.d.ts +75 -0
  566. package/dist/runtime/shared/types/utils.js +0 -0
  567. package/dist/runtime/shared/utils/object.d.ts +4 -0
  568. package/dist/runtime/shared/utils/object.js +66 -0
  569. package/dist/runtime/shared/utils/path.d.ts +9 -0
  570. package/dist/runtime/shared/utils/path.js +82 -0
  571. package/dist/runtime/shared/utils/predicate.d.ts +213 -0
  572. package/dist/runtime/shared/utils/predicate.js +170 -0
  573. package/dist/runtime/shared/utils/registry.d.ts +7 -0
  574. package/dist/runtime/shared/utils/registry.js +9 -0
  575. package/dist/runtime/shared/utils/render.d.ts +6 -0
  576. package/dist/runtime/shared/utils/render.js +13 -0
  577. package/dist/runtime/shared/utils/responsive.d.ts +17 -0
  578. package/dist/runtime/shared/utils/responsive.js +46 -0
  579. package/dist/runtime/spreadsheet/components/SpreadsheetImport.d.vue.ts +18 -0
  580. package/dist/runtime/spreadsheet/components/SpreadsheetImport.vue +253 -0
  581. package/dist/runtime/spreadsheet/components/SpreadsheetImport.vue.d.ts +18 -0
  582. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportFileBar.d.vue.ts +9 -0
  583. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportFileBar.vue +31 -0
  584. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportFileBar.vue.d.ts +9 -0
  585. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportFooter.d.vue.ts +24 -0
  586. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportFooter.vue +69 -0
  587. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportFooter.vue.d.ts +24 -0
  588. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportHeader.d.vue.ts +12 -0
  589. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportHeader.vue +36 -0
  590. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportHeader.vue.d.ts +12 -0
  591. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportSidebar.d.vue.ts +9 -0
  592. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportSidebar.vue +63 -0
  593. package/dist/runtime/spreadsheet/components/layout/SpreadsheetImportSidebar.vue.d.ts +9 -0
  594. package/dist/runtime/spreadsheet/components/shared/SpreadsheetObjectPreviewTable.d.vue.ts +6 -0
  595. package/dist/runtime/spreadsheet/components/shared/SpreadsheetObjectPreviewTable.vue +64 -0
  596. package/dist/runtime/spreadsheet/components/shared/SpreadsheetObjectPreviewTable.vue.d.ts +6 -0
  597. package/dist/runtime/spreadsheet/components/shared/SpreadsheetRawPreviewTable.d.vue.ts +7 -0
  598. package/dist/runtime/spreadsheet/components/shared/SpreadsheetRawPreviewTable.vue +41 -0
  599. package/dist/runtime/spreadsheet/components/shared/SpreadsheetRawPreviewTable.vue.d.ts +7 -0
  600. package/dist/runtime/spreadsheet/components/shared/SpreadsheetSummaryStats.d.vue.ts +10 -0
  601. package/dist/runtime/spreadsheet/components/shared/SpreadsheetSummaryStats.vue +25 -0
  602. package/dist/runtime/spreadsheet/components/shared/SpreadsheetSummaryStats.vue.d.ts +10 -0
  603. package/dist/runtime/spreadsheet/components/shared/SpreadsheetValuePreview.d.vue.ts +9 -0
  604. package/dist/runtime/spreadsheet/components/shared/SpreadsheetValuePreview.vue +194 -0
  605. package/dist/runtime/spreadsheet/components/shared/SpreadsheetValuePreview.vue.d.ts +9 -0
  606. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportMatchingStep.d.vue.ts +7 -0
  607. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportMatchingStep.vue +132 -0
  608. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportMatchingStep.vue.d.ts +7 -0
  609. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportReferencesStep.d.vue.ts +7 -0
  610. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportReferencesStep.vue +200 -0
  611. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportReferencesStep.vue.d.ts +7 -0
  612. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportReviewStep.d.vue.ts +7 -0
  613. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportReviewStep.vue +186 -0
  614. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportReviewStep.vue.d.ts +7 -0
  615. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportStructureStep.d.vue.ts +7 -0
  616. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportStructureStep.vue +62 -0
  617. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportStructureStep.vue.d.ts +7 -0
  618. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportUploadStep.d.vue.ts +8 -0
  619. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportUploadStep.vue +76 -0
  620. package/dist/runtime/spreadsheet/components/steps/SpreadsheetImportUploadStep.vue.d.ts +8 -0
  621. package/dist/runtime/spreadsheet/components/steps/matching/SpreadsheetMatchingSummary.d.vue.ts +11 -0
  622. package/dist/runtime/spreadsheet/components/steps/matching/SpreadsheetMatchingSummary.vue +32 -0
  623. package/dist/runtime/spreadsheet/components/steps/matching/SpreadsheetMatchingSummary.vue.d.ts +11 -0
  624. package/dist/runtime/spreadsheet/components/steps/matching/SpreadsheetMatchingTable.d.vue.ts +45 -0
  625. package/dist/runtime/spreadsheet/components/steps/matching/SpreadsheetMatchingTable.vue +213 -0
  626. package/dist/runtime/spreadsheet/components/steps/matching/SpreadsheetMatchingTable.vue.d.ts +45 -0
  627. package/dist/runtime/spreadsheet/components/steps/references/SpreadsheetReferencesAccordion.d.vue.ts +51 -0
  628. package/dist/runtime/spreadsheet/components/steps/references/SpreadsheetReferencesAccordion.vue +166 -0
  629. package/dist/runtime/spreadsheet/components/steps/references/SpreadsheetReferencesAccordion.vue.d.ts +51 -0
  630. package/dist/runtime/spreadsheet/components/steps/references/SpreadsheetReferencesSummary.d.vue.ts +11 -0
  631. package/dist/runtime/spreadsheet/components/steps/references/SpreadsheetReferencesSummary.vue +26 -0
  632. package/dist/runtime/spreadsheet/components/steps/references/SpreadsheetReferencesSummary.vue.d.ts +11 -0
  633. package/dist/runtime/spreadsheet/components/steps/review/SpreadsheetReviewInspection.d.vue.ts +41 -0
  634. package/dist/runtime/spreadsheet/components/steps/review/SpreadsheetReviewInspection.vue +388 -0
  635. package/dist/runtime/spreadsheet/components/steps/review/SpreadsheetReviewInspection.vue.d.ts +41 -0
  636. package/dist/runtime/spreadsheet/components/steps/review/SpreadsheetReviewOverflowAlert.d.vue.ts +12 -0
  637. package/dist/runtime/spreadsheet/components/steps/review/SpreadsheetReviewOverflowAlert.vue +43 -0
  638. package/dist/runtime/spreadsheet/components/steps/review/SpreadsheetReviewOverflowAlert.vue.d.ts +12 -0
  639. package/dist/runtime/spreadsheet/components/steps/review/SpreadsheetReviewStats.d.vue.ts +15 -0
  640. package/dist/runtime/spreadsheet/components/steps/review/SpreadsheetReviewStats.vue +40 -0
  641. package/dist/runtime/spreadsheet/components/steps/review/SpreadsheetReviewStats.vue.d.ts +15 -0
  642. package/dist/runtime/spreadsheet/components/steps/structure/SpreadsheetStructurePreviewTable.d.vue.ts +15 -0
  643. package/dist/runtime/spreadsheet/components/steps/structure/SpreadsheetStructurePreviewTable.vue +95 -0
  644. package/dist/runtime/spreadsheet/components/steps/structure/SpreadsheetStructurePreviewTable.vue.d.ts +15 -0
  645. package/dist/runtime/spreadsheet/components/steps/structure/SpreadsheetStructureSheetList.d.vue.ts +15 -0
  646. package/dist/runtime/spreadsheet/components/steps/structure/SpreadsheetStructureSheetList.vue +56 -0
  647. package/dist/runtime/spreadsheet/components/steps/structure/SpreadsheetStructureSheetList.vue.d.ts +15 -0
  648. package/dist/runtime/spreadsheet/components/types.d.ts +41 -0
  649. package/dist/runtime/spreadsheet/components/types.js +0 -0
  650. package/dist/runtime/spreadsheet/composables/index.d.ts +1 -0
  651. package/dist/runtime/spreadsheet/composables/index.js +1 -0
  652. package/dist/runtime/spreadsheet/composables/use-spreadsheet-column-matching.d.ts +18 -0
  653. package/dist/runtime/spreadsheet/composables/use-spreadsheet-column-matching.js +62 -0
  654. package/dist/runtime/spreadsheet/composables/use-spreadsheet-context.d.ts +49 -0
  655. package/dist/runtime/spreadsheet/composables/use-spreadsheet-context.js +35 -0
  656. package/dist/runtime/spreadsheet/composables/use-spreadsheet-import.d.ts +8 -0
  657. package/dist/runtime/spreadsheet/composables/use-spreadsheet-import.js +118 -0
  658. package/dist/runtime/spreadsheet/composables/use-spreadsheet-internals.d.ts +629 -0
  659. package/dist/runtime/spreadsheet/composables/use-spreadsheet-internals.js +72 -0
  660. package/dist/runtime/spreadsheet/composables/use-spreadsheet-references.d.ts +1 -0
  661. package/dist/runtime/spreadsheet/composables/use-spreadsheet-references.js +3 -0
  662. package/dist/runtime/spreadsheet/composables/use-spreadsheet-resolutions.d.ts +40 -0
  663. package/dist/runtime/spreadsheet/composables/use-spreadsheet-resolutions.js +95 -0
  664. package/dist/runtime/spreadsheet/composables/use-spreadsheet-review.d.ts +173 -0
  665. package/dist/runtime/spreadsheet/composables/use-spreadsheet-review.js +393 -0
  666. package/dist/runtime/spreadsheet/composables/use-spreadsheet-row-state.d.ts +24 -0
  667. package/dist/runtime/spreadsheet/composables/use-spreadsheet-row-state.js +70 -0
  668. package/dist/runtime/spreadsheet/composables/use-spreadsheet-rows.d.ts +32 -0
  669. package/dist/runtime/spreadsheet/composables/use-spreadsheet-rows.js +26 -0
  670. package/dist/runtime/spreadsheet/composables/use-spreadsheet-source.d.ts +27 -0
  671. package/dist/runtime/spreadsheet/composables/use-spreadsheet-source.js +105 -0
  672. package/dist/runtime/spreadsheet/composables/use-spreadsheet-view.d.ts +15 -0
  673. package/dist/runtime/spreadsheet/composables/use-spreadsheet-view.js +103 -0
  674. package/dist/runtime/spreadsheet/index.d.ts +4 -0
  675. package/dist/runtime/spreadsheet/index.js +3 -0
  676. package/dist/runtime/spreadsheet/schema/index.d.ts +32 -0
  677. package/dist/runtime/spreadsheet/schema/index.js +20 -0
  678. package/dist/runtime/spreadsheet/schema/normalize.d.ts +73 -0
  679. package/dist/runtime/spreadsheet/schema/normalize.js +127 -0
  680. package/dist/runtime/spreadsheet/types/columns.d.ts +298 -0
  681. package/dist/runtime/spreadsheet/types/columns.js +0 -0
  682. package/dist/runtime/spreadsheet/types/context.d.ts +9 -0
  683. package/dist/runtime/spreadsheet/types/context.js +0 -0
  684. package/dist/runtime/spreadsheet/types/import.d.ts +55 -0
  685. package/dist/runtime/spreadsheet/types/import.js +0 -0
  686. package/dist/runtime/spreadsheet/types/index.d.ts +15 -0
  687. package/dist/runtime/spreadsheet/types/index.js +0 -0
  688. package/dist/runtime/spreadsheet/types/inference.d.ts +83 -0
  689. package/dist/runtime/spreadsheet/types/inference.js +0 -0
  690. package/dist/runtime/spreadsheet/types/normalized.d.ts +50 -0
  691. package/dist/runtime/spreadsheet/types/normalized.js +0 -0
  692. package/dist/runtime/spreadsheet/types/options.d.ts +15 -0
  693. package/dist/runtime/spreadsheet/types/options.js +0 -0
  694. package/dist/runtime/spreadsheet/types/pipeline.d.ts +7 -0
  695. package/dist/runtime/spreadsheet/types/pipeline.js +0 -0
  696. package/dist/runtime/spreadsheet/types/reference-session.d.ts +42 -0
  697. package/dist/runtime/spreadsheet/types/reference-session.js +0 -0
  698. package/dist/runtime/spreadsheet/types/references.d.ts +31 -0
  699. package/dist/runtime/spreadsheet/types/references.js +0 -0
  700. package/dist/runtime/spreadsheet/types/resolution.d.ts +43 -0
  701. package/dist/runtime/spreadsheet/types/resolution.js +0 -0
  702. package/dist/runtime/spreadsheet/types/rows.d.ts +58 -0
  703. package/dist/runtime/spreadsheet/types/rows.js +0 -0
  704. package/dist/runtime/spreadsheet/types/schema.d.ts +87 -0
  705. package/dist/runtime/spreadsheet/types/schema.js +0 -0
  706. package/dist/runtime/spreadsheet/types/shared.d.ts +28 -0
  707. package/dist/runtime/spreadsheet/types/shared.js +0 -0
  708. package/dist/runtime/spreadsheet/types/source.d.ts +20 -0
  709. package/dist/runtime/spreadsheet/types/source.js +0 -0
  710. package/dist/runtime/spreadsheet/types/validation.d.ts +76 -0
  711. package/dist/runtime/spreadsheet/types/validation.js +0 -0
  712. package/dist/runtime/spreadsheet/utils/builders/core.d.ts +17 -0
  713. package/dist/runtime/spreadsheet/utils/builders/core.js +250 -0
  714. package/dist/runtime/spreadsheet/utils/builders/index.d.ts +1 -0
  715. package/dist/runtime/spreadsheet/utils/builders/index.js +1 -0
  716. package/dist/runtime/spreadsheet/utils/context.d.ts +20 -0
  717. package/dist/runtime/spreadsheet/utils/context.js +25 -0
  718. package/dist/runtime/spreadsheet/utils/display.d.ts +5 -0
  719. package/dist/runtime/spreadsheet/utils/display.js +16 -0
  720. package/dist/runtime/spreadsheet/utils/index.d.ts +6 -0
  721. package/dist/runtime/spreadsheet/utils/index.js +6 -0
  722. package/dist/runtime/spreadsheet/utils/object.d.ts +8 -0
  723. package/dist/runtime/spreadsheet/utils/object.js +63 -0
  724. package/dist/runtime/spreadsheet/utils/options.d.ts +8 -0
  725. package/dist/runtime/spreadsheet/utils/options.js +22 -0
  726. package/dist/runtime/spreadsheet/utils/references/candidates.d.ts +6 -0
  727. package/dist/runtime/spreadsheet/utils/references/candidates.js +22 -0
  728. package/dist/runtime/spreadsheet/utils/references/core.d.ts +3 -0
  729. package/dist/runtime/spreadsheet/utils/references/core.js +3 -0
  730. package/dist/runtime/spreadsheet/utils/references/guards.d.ts +4 -0
  731. package/dist/runtime/spreadsheet/utils/references/guards.js +24 -0
  732. package/dist/runtime/spreadsheet/utils/references/index.d.ts +1 -0
  733. package/dist/runtime/spreadsheet/utils/references/index.js +1 -0
  734. package/dist/runtime/spreadsheet/utils/references/resolutions.d.ts +17 -0
  735. package/dist/runtime/spreadsheet/utils/references/resolutions.js +153 -0
  736. package/dist/runtime/spreadsheet/utils/references/shared.d.ts +2 -0
  737. package/dist/runtime/spreadsheet/utils/references/shared.js +16 -0
  738. package/dist/runtime/spreadsheet/utils/references/sources.d.ts +9 -0
  739. package/dist/runtime/spreadsheet/utils/references/sources.js +34 -0
  740. package/dist/runtime/spreadsheet/utils/rows/core.d.ts +4 -0
  741. package/dist/runtime/spreadsheet/utils/rows/core.js +4 -0
  742. package/dist/runtime/spreadsheet/utils/rows/headers.d.ts +2 -0
  743. package/dist/runtime/spreadsheet/utils/rows/headers.js +9 -0
  744. package/dist/runtime/spreadsheet/utils/rows/index.d.ts +1 -0
  745. package/dist/runtime/spreadsheet/utils/rows/index.js +1 -0
  746. package/dist/runtime/spreadsheet/utils/rows/matching.d.ts +6 -0
  747. package/dist/runtime/spreadsheet/utils/rows/matching.js +169 -0
  748. package/dist/runtime/spreadsheet/utils/rows/parsing.d.ts +8 -0
  749. package/dist/runtime/spreadsheet/utils/rows/parsing.js +179 -0
  750. package/dist/runtime/spreadsheet/utils/rows/shared.d.ts +18 -0
  751. package/dist/runtime/spreadsheet/utils/rows/shared.js +259 -0
  752. package/dist/runtime/spreadsheet/utils/rows/summary.d.ts +2 -0
  753. package/dist/runtime/spreadsheet/utils/rows/summary.js +10 -0
  754. package/dist/runtime/spreadsheet/utils/source/core.d.ts +9 -0
  755. package/dist/runtime/spreadsheet/utils/source/core.js +54 -0
  756. package/dist/runtime/spreadsheet/utils/source/index.d.ts +1 -0
  757. package/dist/runtime/spreadsheet/utils/source/index.js +1 -0
  758. package/dist/runtime/spreadsheet/utils/validation/core.d.ts +16 -0
  759. package/dist/runtime/spreadsheet/utils/validation/core.js +192 -0
  760. package/dist/runtime/spreadsheet/utils/validation/index.d.ts +1 -0
  761. package/dist/runtime/spreadsheet/utils/validation/index.js +1 -0
  762. package/dist/runtime/table/builders/index.d.ts +7 -0
  763. package/dist/runtime/table/builders/index.js +83 -0
  764. package/dist/runtime/table/components/DataList.d.vue.ts +72 -0
  765. package/dist/runtime/table/components/DataList.vue +56 -0
  766. package/dist/runtime/table/components/DataList.vue.d.ts +72 -0
  767. package/dist/runtime/table/components/actions/RowActions.d.vue.ts +25 -0
  768. package/dist/runtime/table/components/actions/RowActions.vue +54 -0
  769. package/dist/runtime/table/components/actions/RowActions.vue.d.ts +25 -0
  770. package/dist/runtime/table/components/actions/TableRowScopeProvider.d.vue.ts +17 -0
  771. package/dist/runtime/table/components/actions/TableRowScopeProvider.vue +14 -0
  772. package/dist/runtime/table/components/actions/TableRowScopeProvider.vue.d.ts +17 -0
  773. package/dist/runtime/table/components/data-list/DataListAddFilter.d.vue.ts +27 -0
  774. package/dist/runtime/table/components/data-list/DataListAddFilter.vue +39 -0
  775. package/dist/runtime/table/components/data-list/DataListAddFilter.vue.d.ts +27 -0
  776. package/dist/runtime/table/components/data-list/DataListClearFilters.d.vue.ts +25 -0
  777. package/dist/runtime/table/components/data-list/DataListClearFilters.vue +38 -0
  778. package/dist/runtime/table/components/data-list/DataListClearFilters.vue.d.ts +25 -0
  779. package/dist/runtime/table/components/data-list/DataListColumnPanel.d.vue.ts +27 -0
  780. package/dist/runtime/table/components/data-list/DataListColumnPanel.vue +17 -0
  781. package/dist/runtime/table/components/data-list/DataListColumnPanel.vue.d.ts +27 -0
  782. package/dist/runtime/table/components/data-list/DataListContent.d.vue.ts +72 -0
  783. package/dist/runtime/table/components/data-list/DataListContent.vue +167 -0
  784. package/dist/runtime/table/components/data-list/DataListContent.vue.d.ts +72 -0
  785. package/dist/runtime/table/components/data-list/DataListDefault.d.vue.ts +60 -0
  786. package/dist/runtime/table/components/data-list/DataListDefault.vue +125 -0
  787. package/dist/runtime/table/components/data-list/DataListDefault.vue.d.ts +60 -0
  788. package/dist/runtime/table/components/data-list/DataListFilterPanel.d.vue.ts +27 -0
  789. package/dist/runtime/table/components/data-list/DataListFilterPanel.vue +17 -0
  790. package/dist/runtime/table/components/data-list/DataListFilterPanel.vue.d.ts +27 -0
  791. package/dist/runtime/table/components/data-list/DataListFilterTags.d.vue.ts +42 -0
  792. package/dist/runtime/table/components/data-list/DataListFilterTags.vue +54 -0
  793. package/dist/runtime/table/components/data-list/DataListFilterTags.vue.d.ts +42 -0
  794. package/dist/runtime/table/components/data-list/DataListGrid.d.vue.ts +18 -0
  795. package/dist/runtime/table/components/data-list/DataListGrid.vue +22 -0
  796. package/dist/runtime/table/components/data-list/DataListGrid.vue.d.ts +18 -0
  797. package/dist/runtime/table/components/data-list/DataListInfiniteLoader.d.vue.ts +52 -0
  798. package/dist/runtime/table/components/data-list/DataListInfiniteLoader.vue +94 -0
  799. package/dist/runtime/table/components/data-list/DataListInfiniteLoader.vue.d.ts +52 -0
  800. package/dist/runtime/table/components/data-list/DataListLayoutSwitch.d.vue.ts +27 -0
  801. package/dist/runtime/table/components/data-list/DataListLayoutSwitch.vue +60 -0
  802. package/dist/runtime/table/components/data-list/DataListLayoutSwitch.vue.d.ts +27 -0
  803. package/dist/runtime/table/components/data-list/DataListPagination.d.vue.ts +37 -0
  804. package/dist/runtime/table/components/data-list/DataListPagination.vue +26 -0
  805. package/dist/runtime/table/components/data-list/DataListPagination.vue.d.ts +37 -0
  806. package/dist/runtime/table/components/data-list/DataListRefresh.d.vue.ts +28 -0
  807. package/dist/runtime/table/components/data-list/DataListRefresh.vue +49 -0
  808. package/dist/runtime/table/components/data-list/DataListRefresh.vue.d.ts +28 -0
  809. package/dist/runtime/table/components/data-list/DataListResultCount.d.vue.ts +21 -0
  810. package/dist/runtime/table/components/data-list/DataListResultCount.vue +29 -0
  811. package/dist/runtime/table/components/data-list/DataListResultCount.vue.d.ts +21 -0
  812. package/dist/runtime/table/components/data-list/DataListRoot.d.vue.ts +31 -0
  813. package/dist/runtime/table/components/data-list/DataListRoot.vue +81 -0
  814. package/dist/runtime/table/components/data-list/DataListRoot.vue.d.ts +31 -0
  815. package/dist/runtime/table/components/data-list/DataListSearch.d.vue.ts +10 -0
  816. package/dist/runtime/table/components/data-list/DataListSearch.vue +36 -0
  817. package/dist/runtime/table/components/data-list/DataListSearch.vue.d.ts +10 -0
  818. package/dist/runtime/table/components/data-list/DataListSortMenu.d.vue.ts +34 -0
  819. package/dist/runtime/table/components/data-list/DataListSortMenu.vue +104 -0
  820. package/dist/runtime/table/components/data-list/DataListSortMenu.vue.d.ts +34 -0
  821. package/dist/runtime/table/components/data-list/DataListTable.d.vue.ts +18 -0
  822. package/dist/runtime/table/components/data-list/DataListTable.vue +22 -0
  823. package/dist/runtime/table/components/data-list/DataListTable.vue.d.ts +18 -0
  824. package/dist/runtime/table/components/drawers/ColumnPanel.d.vue.ts +26 -0
  825. package/dist/runtime/table/components/drawers/ColumnPanel.vue +379 -0
  826. package/dist/runtime/table/components/drawers/ColumnPanel.vue.d.ts +26 -0
  827. package/dist/runtime/table/components/filters/panel/BooleanFilterPanelField.d.vue.ts +7 -0
  828. package/dist/runtime/table/components/filters/panel/BooleanFilterPanelField.vue +108 -0
  829. package/dist/runtime/table/components/filters/panel/BooleanFilterPanelField.vue.d.ts +7 -0
  830. package/dist/runtime/table/components/filters/panel/DateFilterPanelField.d.vue.ts +7 -0
  831. package/dist/runtime/table/components/filters/panel/DateFilterPanelField.vue +188 -0
  832. package/dist/runtime/table/components/filters/panel/DateFilterPanelField.vue.d.ts +7 -0
  833. package/dist/runtime/table/components/filters/panel/FilterPanel.d.vue.ts +26 -0
  834. package/dist/runtime/table/components/filters/panel/FilterPanel.vue +132 -0
  835. package/dist/runtime/table/components/filters/panel/FilterPanel.vue.d.ts +26 -0
  836. package/dist/runtime/table/components/filters/panel/FilterPanelFieldShell.d.vue.ts +17 -0
  837. package/dist/runtime/table/components/filters/panel/FilterPanelFieldShell.vue +25 -0
  838. package/dist/runtime/table/components/filters/panel/FilterPanelFieldShell.vue.d.ts +17 -0
  839. package/dist/runtime/table/components/filters/panel/FilterPanelInputTrigger.d.vue.ts +8 -0
  840. package/dist/runtime/table/components/filters/panel/FilterPanelInputTrigger.vue +22 -0
  841. package/dist/runtime/table/components/filters/panel/FilterPanelInputTrigger.vue.d.ts +8 -0
  842. package/dist/runtime/table/components/filters/panel/NumberFilterPanelField.d.vue.ts +7 -0
  843. package/dist/runtime/table/components/filters/panel/NumberFilterPanelField.vue +151 -0
  844. package/dist/runtime/table/components/filters/panel/NumberFilterPanelField.vue.d.ts +7 -0
  845. package/dist/runtime/table/components/filters/panel/OptionFilterPanelField.d.vue.ts +7 -0
  846. package/dist/runtime/table/components/filters/panel/OptionFilterPanelField.vue +125 -0
  847. package/dist/runtime/table/components/filters/panel/OptionFilterPanelField.vue.d.ts +7 -0
  848. package/dist/runtime/table/components/filters/panel/TextFilterPanelField.d.vue.ts +7 -0
  849. package/dist/runtime/table/components/filters/panel/TextFilterPanelField.vue +86 -0
  850. package/dist/runtime/table/components/filters/panel/TextFilterPanelField.vue.d.ts +7 -0
  851. package/dist/runtime/table/components/filters/panel/registry.d.ts +3 -0
  852. package/dist/runtime/table/components/filters/panel/registry.js +15 -0
  853. package/dist/runtime/table/components/filters/shared/DynamicFilterPicker.d.vue.ts +36 -0
  854. package/dist/runtime/table/components/filters/shared/DynamicFilterPicker.vue +133 -0
  855. package/dist/runtime/table/components/filters/shared/DynamicFilterPicker.vue.d.ts +36 -0
  856. package/dist/runtime/table/components/filters/shared/FilterMatchModeButton.d.vue.ts +22 -0
  857. package/dist/runtime/table/components/filters/shared/FilterMatchModeButton.vue +34 -0
  858. package/dist/runtime/table/components/filters/shared/FilterMatchModeButton.vue.d.ts +22 -0
  859. package/dist/runtime/table/components/filters/shared/FilterOptionMultipleList.d.vue.ts +39 -0
  860. package/dist/runtime/table/components/filters/shared/FilterOptionMultipleList.vue +40 -0
  861. package/dist/runtime/table/components/filters/shared/FilterOptionMultipleList.vue.d.ts +39 -0
  862. package/dist/runtime/table/components/filters/shared/FilterOptionPickerContent.d.vue.ts +43 -0
  863. package/dist/runtime/table/components/filters/shared/FilterOptionPickerContent.vue +114 -0
  864. package/dist/runtime/table/components/filters/shared/FilterOptionPickerContent.vue.d.ts +43 -0
  865. package/dist/runtime/table/components/filters/shared/FilterOptionRow.d.vue.ts +12 -0
  866. package/dist/runtime/table/components/filters/shared/FilterOptionRow.vue +36 -0
  867. package/dist/runtime/table/components/filters/shared/FilterOptionRow.vue.d.ts +12 -0
  868. package/dist/runtime/table/components/filters/shared/FilterOptionSingleList.d.vue.ts +21 -0
  869. package/dist/runtime/table/components/filters/shared/FilterOptionSingleList.vue +49 -0
  870. package/dist/runtime/table/components/filters/shared/FilterOptionSingleList.vue.d.ts +21 -0
  871. package/dist/runtime/table/components/filters/shared/FilterOptionTreeContent.d.vue.ts +49 -0
  872. package/dist/runtime/table/components/filters/shared/FilterOptionTreeContent.vue +123 -0
  873. package/dist/runtime/table/components/filters/shared/FilterOptionTreeContent.vue.d.ts +49 -0
  874. package/dist/runtime/table/components/filters/shared/FilterSearchablePanel.d.vue.ts +32 -0
  875. package/dist/runtime/table/components/filters/shared/FilterSearchablePanel.vue +56 -0
  876. package/dist/runtime/table/components/filters/shared/FilterSearchablePanel.vue.d.ts +32 -0
  877. package/dist/runtime/table/components/filters/shared/FilterTriggerTag.d.vue.ts +24 -0
  878. package/dist/runtime/table/components/filters/shared/FilterTriggerTag.vue +138 -0
  879. package/dist/runtime/table/components/filters/shared/FilterTriggerTag.vue.d.ts +24 -0
  880. package/dist/runtime/table/components/filters/tags/BooleanFilterTag.d.vue.ts +35 -0
  881. package/dist/runtime/table/components/filters/tags/BooleanFilterTag.vue +211 -0
  882. package/dist/runtime/table/components/filters/tags/BooleanFilterTag.vue.d.ts +35 -0
  883. package/dist/runtime/table/components/filters/tags/DateFilterTag.d.vue.ts +35 -0
  884. package/dist/runtime/table/components/filters/tags/DateFilterTag.vue +460 -0
  885. package/dist/runtime/table/components/filters/tags/DateFilterTag.vue.d.ts +35 -0
  886. package/dist/runtime/table/components/filters/tags/FilterTagsBar.d.vue.ts +35 -0
  887. package/dist/runtime/table/components/filters/tags/FilterTagsBar.vue +110 -0
  888. package/dist/runtime/table/components/filters/tags/FilterTagsBar.vue.d.ts +35 -0
  889. package/dist/runtime/table/components/filters/tags/NumberFilterTag.d.vue.ts +35 -0
  890. package/dist/runtime/table/components/filters/tags/NumberFilterTag.vue +321 -0
  891. package/dist/runtime/table/components/filters/tags/NumberFilterTag.vue.d.ts +35 -0
  892. package/dist/runtime/table/components/filters/tags/OptionFilterTag.d.vue.ts +35 -0
  893. package/dist/runtime/table/components/filters/tags/OptionFilterTag.vue +254 -0
  894. package/dist/runtime/table/components/filters/tags/OptionFilterTag.vue.d.ts +35 -0
  895. package/dist/runtime/table/components/filters/tags/TextFilterTag.d.vue.ts +35 -0
  896. package/dist/runtime/table/components/filters/tags/TextFilterTag.vue +171 -0
  897. package/dist/runtime/table/components/filters/tags/TextFilterTag.vue.d.ts +35 -0
  898. package/dist/runtime/table/components/filters/tags/registry.d.ts +3 -0
  899. package/dist/runtime/table/components/filters/tags/registry.js +15 -0
  900. package/dist/runtime/table/components/grid/GridCard.d.vue.ts +6 -0
  901. package/dist/runtime/table/components/grid/GridCard.vue +44 -0
  902. package/dist/runtime/table/components/grid/GridCard.vue.d.ts +6 -0
  903. package/dist/runtime/table/components/grid/GridRenderer.d.vue.ts +20 -0
  904. package/dist/runtime/table/components/grid/GridRenderer.vue +526 -0
  905. package/dist/runtime/table/components/grid/GridRenderer.vue.d.ts +20 -0
  906. package/dist/runtime/table/components/grid/GridSkeleton.d.vue.ts +3 -0
  907. package/dist/runtime/table/components/grid/GridSkeleton.vue +46 -0
  908. package/dist/runtime/table/components/grid/GridSkeleton.vue.d.ts +3 -0
  909. package/dist/runtime/table/components/layout/TableFooter.d.vue.ts +50 -0
  910. package/dist/runtime/table/components/layout/TableFooter.vue +171 -0
  911. package/dist/runtime/table/components/layout/TableFooter.vue.d.ts +50 -0
  912. package/dist/runtime/table/components/layout/TableHeader.d.vue.ts +32 -0
  913. package/dist/runtime/table/components/layout/TableHeader.vue +96 -0
  914. package/dist/runtime/table/components/layout/TableHeader.vue.d.ts +32 -0
  915. package/dist/runtime/table/components/table/TableCellEllipsis.d.ts +33 -0
  916. package/dist/runtime/table/components/table/TableCellEllipsis.js +83 -0
  917. package/dist/runtime/table/components/table/TableEmptyState.d.vue.ts +6 -0
  918. package/dist/runtime/table/components/table/TableEmptyState.vue +21 -0
  919. package/dist/runtime/table/components/table/TableEmptyState.vue.d.ts +6 -0
  920. package/dist/runtime/table/components/table/TableLoadingState.d.vue.ts +6 -0
  921. package/dist/runtime/table/components/table/TableLoadingState.vue +68 -0
  922. package/dist/runtime/table/components/table/TableLoadingState.vue.d.ts +6 -0
  923. package/dist/runtime/table/components/table/TableRenderer.d.vue.ts +18 -0
  924. package/dist/runtime/table/components/table/TableRenderer.vue +148 -0
  925. package/dist/runtime/table/components/table/TableRenderer.vue.d.ts +18 -0
  926. package/dist/runtime/table/components/utils/SearchQueryInput.d.vue.ts +18 -0
  927. package/dist/runtime/table/components/utils/SearchQueryInput.vue +41 -0
  928. package/dist/runtime/table/components/utils/SearchQueryInput.vue.d.ts +18 -0
  929. package/dist/runtime/table/composables/index.d.ts +1 -0
  930. package/dist/runtime/table/composables/index.js +1 -0
  931. package/dist/runtime/table/composables/use-data-list-ui.d.ts +12 -0
  932. package/dist/runtime/table/composables/use-data-list-ui.js +24 -0
  933. package/dist/runtime/table/composables/use-data-list-viewport.d.ts +7 -0
  934. package/dist/runtime/table/composables/use-data-list-viewport.js +12 -0
  935. package/dist/runtime/table/composables/use-filter-tag-session.d.ts +19 -0
  936. package/dist/runtime/table/composables/use-filter-tag-session.js +59 -0
  937. package/dist/runtime/table/composables/use-grid-row.d.ts +2 -0
  938. package/dist/runtime/table/composables/use-grid-row.js +3 -0
  939. package/dist/runtime/table/composables/use-option-filter-editor-state.d.ts +95 -0
  940. package/dist/runtime/table/composables/use-option-filter-editor-state.js +257 -0
  941. package/dist/runtime/table/composables/use-query-state.d.ts +48 -0
  942. package/dist/runtime/table/composables/use-query-state.js +151 -0
  943. package/dist/runtime/table/composables/use-table-api.d.ts +22 -0
  944. package/dist/runtime/table/composables/use-table-api.js +133 -0
  945. package/dist/runtime/table/composables/use-table-columns.d.ts +208 -0
  946. package/dist/runtime/table/composables/use-table-columns.js +221 -0
  947. package/dist/runtime/table/composables/use-table-controls.d.ts +18 -0
  948. package/dist/runtime/table/composables/use-table-controls.js +25 -0
  949. package/dist/runtime/table/composables/use-table-data.d.ts +50 -0
  950. package/dist/runtime/table/composables/use-table-data.js +562 -0
  951. package/dist/runtime/table/composables/use-table-filter-options.d.ts +31 -0
  952. package/dist/runtime/table/composables/use-table-filter-options.js +251 -0
  953. package/dist/runtime/table/composables/use-table-filter-presentation.d.ts +67 -0
  954. package/dist/runtime/table/composables/use-table-filter-presentation.js +208 -0
  955. package/dist/runtime/table/composables/use-table-filters.d.ts +81 -0
  956. package/dist/runtime/table/composables/use-table-filters.js +231 -0
  957. package/dist/runtime/table/composables/use-table-grid.d.ts +20 -0
  958. package/dist/runtime/table/composables/use-table-grid.js +59 -0
  959. package/dist/runtime/table/composables/use-table-internals.d.ts +1475 -0
  960. package/dist/runtime/table/composables/use-table-internals.js +107 -0
  961. package/dist/runtime/table/composables/use-table-layout.d.ts +11 -0
  962. package/dist/runtime/table/composables/use-table-layout.js +32 -0
  963. package/dist/runtime/table/composables/use-table-pagination.d.ts +42 -0
  964. package/dist/runtime/table/composables/use-table-pagination.js +127 -0
  965. package/dist/runtime/table/composables/use-table-row-actions.d.ts +5 -0
  966. package/dist/runtime/table/composables/use-table-row-actions.js +8 -0
  967. package/dist/runtime/table/composables/use-table-search.d.ts +12 -0
  968. package/dist/runtime/table/composables/use-table-search.js +26 -0
  969. package/dist/runtime/table/composables/use-table-selection.d.ts +45 -0
  970. package/dist/runtime/table/composables/use-table-selection.js +152 -0
  971. package/dist/runtime/table/composables/use-table-startup.d.ts +11 -0
  972. package/dist/runtime/table/composables/use-table-startup.js +47 -0
  973. package/dist/runtime/table/composables/use-table-state.d.ts +52 -0
  974. package/dist/runtime/table/composables/use-table-state.js +20 -0
  975. package/dist/runtime/table/composables/use-table.d.ts +7 -0
  976. package/dist/runtime/table/composables/use-table.js +13 -0
  977. package/dist/runtime/table/constants/grid.d.ts +8 -0
  978. package/dist/runtime/table/constants/grid.js +8 -0
  979. package/dist/runtime/table/constants/query-state.d.ts +25 -0
  980. package/dist/runtime/table/constants/query-state.js +26 -0
  981. package/dist/runtime/table/index.d.ts +5 -0
  982. package/dist/runtime/table/index.js +4 -0
  983. package/dist/runtime/table/schema/index.d.ts +15 -0
  984. package/dist/runtime/table/schema/index.js +16 -0
  985. package/dist/runtime/table/types/actions.d.ts +32 -0
  986. package/dist/runtime/table/types/actions.js +0 -0
  987. package/dist/runtime/table/types/columns.d.ts +62 -0
  988. package/dist/runtime/table/types/columns.js +0 -0
  989. package/dist/runtime/table/types/context.d.ts +26 -0
  990. package/dist/runtime/table/types/context.js +0 -0
  991. package/dist/runtime/table/types/data-list.d.ts +246 -0
  992. package/dist/runtime/table/types/data-list.js +0 -0
  993. package/dist/runtime/table/types/filters.d.ts +636 -0
  994. package/dist/runtime/table/types/filters.js +0 -0
  995. package/dist/runtime/table/types/index.d.ts +12 -0
  996. package/dist/runtime/table/types/index.js +0 -0
  997. package/dist/runtime/table/types/layout.d.ts +60 -0
  998. package/dist/runtime/table/types/layout.js +0 -0
  999. package/dist/runtime/table/types/query-state.d.ts +64 -0
  1000. package/dist/runtime/table/types/query-state.js +0 -0
  1001. package/dist/runtime/table/types/schema.d.ts +53 -0
  1002. package/dist/runtime/table/types/schema.js +0 -0
  1003. package/dist/runtime/table/types/source.d.ts +108 -0
  1004. package/dist/runtime/table/types/source.js +0 -0
  1005. package/dist/runtime/table/types/state.d.ts +5 -0
  1006. package/dist/runtime/table/types/state.js +0 -0
  1007. package/dist/runtime/table/types/table-api.d.ts +142 -0
  1008. package/dist/runtime/table/types/table-api.js +0 -0
  1009. package/dist/runtime/table/types/utils.d.ts +82 -0
  1010. package/dist/runtime/table/types/utils.js +0 -0
  1011. package/dist/runtime/table/utils/actions.d.ts +28 -0
  1012. package/dist/runtime/table/utils/actions.js +101 -0
  1013. package/dist/runtime/table/utils/client-query.d.ts +25 -0
  1014. package/dist/runtime/table/utils/client-query.js +474 -0
  1015. package/dist/runtime/table/utils/columns/index.d.ts +5 -0
  1016. package/dist/runtime/table/utils/columns/index.js +5 -0
  1017. package/dist/runtime/table/utils/columns/menu.d.ts +47 -0
  1018. package/dist/runtime/table/utils/columns/menu.js +77 -0
  1019. package/dist/runtime/table/utils/columns/render.d.ts +158 -0
  1020. package/dist/runtime/table/utils/columns/render.js +432 -0
  1021. package/dist/runtime/table/utils/columns/schema.d.ts +31 -0
  1022. package/dist/runtime/table/utils/columns/schema.js +57 -0
  1023. package/dist/runtime/table/utils/columns/state.d.ts +189 -0
  1024. package/dist/runtime/table/utils/columns/state.js +204 -0
  1025. package/dist/runtime/table/utils/columns/types.d.ts +79 -0
  1026. package/dist/runtime/table/utils/columns/types.js +4 -0
  1027. package/dist/runtime/table/utils/data-list-ui.d.ts +3 -0
  1028. package/dist/runtime/table/utils/data-list-ui.js +4 -0
  1029. package/dist/runtime/table/utils/filters/common.d.ts +62 -0
  1030. package/dist/runtime/table/utils/filters/common.js +131 -0
  1031. package/dist/runtime/table/utils/filters/date.d.ts +28 -0
  1032. package/dist/runtime/table/utils/filters/date.js +233 -0
  1033. package/dist/runtime/table/utils/filters/index.d.ts +9 -0
  1034. package/dist/runtime/table/utils/filters/index.js +9 -0
  1035. package/dist/runtime/table/utils/filters/operators.d.ts +4 -0
  1036. package/dist/runtime/table/utils/filters/operators.js +6 -0
  1037. package/dist/runtime/table/utils/filters/options.d.ts +20 -0
  1038. package/dist/runtime/table/utils/filters/options.js +112 -0
  1039. package/dist/runtime/table/utils/filters/presentation.d.ts +3 -0
  1040. package/dist/runtime/table/utils/filters/presentation.js +18 -0
  1041. package/dist/runtime/table/utils/filters/preview/date-preview.d.ts +6 -0
  1042. package/dist/runtime/table/utils/filters/preview/date-preview.js +41 -0
  1043. package/dist/runtime/table/utils/filters/preview/index.d.ts +8 -0
  1044. package/dist/runtime/table/utils/filters/preview/index.js +38 -0
  1045. package/dist/runtime/table/utils/filters/preview/number-preview.d.ts +6 -0
  1046. package/dist/runtime/table/utils/filters/preview/number-preview.js +35 -0
  1047. package/dist/runtime/table/utils/filters/preview/option-preview.d.ts +7 -0
  1048. package/dist/runtime/table/utils/filters/preview/option-preview.js +61 -0
  1049. package/dist/runtime/table/utils/filters/preview/text-preview.d.ts +6 -0
  1050. package/dist/runtime/table/utils/filters/preview/text-preview.js +16 -0
  1051. package/dist/runtime/table/utils/filters/preview/types.d.ts +10 -0
  1052. package/dist/runtime/table/utils/filters/preview/types.js +0 -0
  1053. package/dist/runtime/table/utils/filters/preview.d.ts +2 -0
  1054. package/dist/runtime/table/utils/filters/preview.js +1 -0
  1055. package/dist/runtime/table/utils/filters/registry.d.ts +6 -0
  1056. package/dist/runtime/table/utils/filters/registry.js +28 -0
  1057. package/dist/runtime/table/utils/filters/tree.d.ts +21 -0
  1058. package/dist/runtime/table/utils/filters/tree.js +121 -0
  1059. package/dist/runtime/table/utils/filters/ui.d.ts +7 -0
  1060. package/dist/runtime/table/utils/filters/ui.js +444 -0
  1061. package/dist/runtime/table/utils/index.d.ts +10 -0
  1062. package/dist/runtime/table/utils/index.js +10 -0
  1063. package/dist/runtime/table/utils/pagination.d.ts +6 -0
  1064. package/dist/runtime/table/utils/pagination.js +20 -0
  1065. package/dist/runtime/table/utils/query-state.d.ts +29 -0
  1066. package/dist/runtime/table/utils/query-state.js +200 -0
  1067. package/dist/runtime/table/utils/resolved-filters.d.ts +7 -0
  1068. package/dist/runtime/table/utils/resolved-filters.js +68 -0
  1069. package/dist/runtime/table/utils/rows.d.ts +10 -0
  1070. package/dist/runtime/table/utils/rows.js +17 -0
  1071. package/dist/runtime/table/utils/schema.d.ts +14 -0
  1072. package/dist/runtime/table/utils/schema.js +29 -0
  1073. package/dist/types.d.mts +3 -0
  1074. package/package.json +163 -0
@@ -0,0 +1,169 @@
1
+ import {
2
+ applySpreadsheetNormalization,
3
+ isSpreadsheetColumnGroup,
4
+ isSpreadsheetDynamicCollectionItem,
5
+ isSpreadsheetDynamicCollectionColumn,
6
+ isSpreadsheetDynamicOptionGroupsColumn,
7
+ isSpreadsheetStaticColumn,
8
+ normalizeSpreadsheetText
9
+ } from "./shared.js";
10
+ const defaultHeaderModifiers = ["trim", "case-insensitive", "accent-insensitive"];
11
+ function getDefaultMatchDefinition(column) {
12
+ if (column.match) return column.match;
13
+ const from = column.from;
14
+ if (!from)
15
+ return {
16
+ headers: [column.key],
17
+ prefer: "first"
18
+ };
19
+ return {
20
+ headers: Array.isArray(from) ? from : [from],
21
+ prefer: "first"
22
+ };
23
+ }
24
+ function scoreHeaderMatcher(header, matcher) {
25
+ if (typeof matcher === "string") {
26
+ const left = applySpreadsheetNormalization(header.text, defaultHeaderModifiers);
27
+ const right = applySpreadsheetNormalization(matcher, defaultHeaderModifiers);
28
+ return left === right ? 1 : null;
29
+ }
30
+ if (matcher instanceof RegExp) return matcher.test(header.text) ? 0.95 : null;
31
+ return matcher({
32
+ header: {
33
+ index: header.index,
34
+ text: header.text,
35
+ normalized: normalizeSpreadsheetText(header.text)
36
+ }
37
+ });
38
+ }
39
+ function findHeaderMatch(headers, definition, usedHeaderIndexes) {
40
+ const candidates = headers.flatMap((header) => {
41
+ if (usedHeaderIndexes.has(header.index)) return [];
42
+ const scores = definition.headers.map((matcher) => scoreHeaderMatcher(header, matcher)).filter((score) => score !== null);
43
+ if (!scores.length) return [];
44
+ const bestScore = Math.max(...scores);
45
+ if (definition.minScore !== void 0 && bestScore < definition.minScore) return [];
46
+ return [{ header, score: bestScore }];
47
+ });
48
+ if (!candidates.length) return null;
49
+ if (definition.prefer !== "best-score") return candidates[0];
50
+ return candidates.slice().sort((left, right) => {
51
+ if (left.score !== right.score) return right.score - left.score;
52
+ return left.header.index - right.header.index;
53
+ })[0];
54
+ }
55
+ function getDynamicHeaderPatterns(column, source) {
56
+ const label = column.itemLabel?.(source) ?? column.itemKey?.(source) ?? column.key;
57
+ const strategy = column.header?.strategy ?? "exact";
58
+ if (strategy === "template" && column.header?.template)
59
+ return [column.header.template({ source })];
60
+ if (strategy === "patterns" && column.header?.patterns) return column.header.patterns({ source });
61
+ return [label];
62
+ }
63
+ function createOptionGroupsMatchDefinition(column, source) {
64
+ return {
65
+ headers: getDynamicHeaderPatterns(column, source),
66
+ prefer: "first"
67
+ };
68
+ }
69
+ export function flattenSpreadsheetStaticColumns(entries) {
70
+ return entries.flatMap((entry) => {
71
+ if (isSpreadsheetColumnGroup(entry)) return flattenSpreadsheetStaticColumns(entry.columns);
72
+ if (isSpreadsheetStaticColumn(entry)) return [entry];
73
+ return [];
74
+ });
75
+ }
76
+ export function matchSpreadsheetColumns(columns, headers, manualAssignments = {}) {
77
+ const usedHeaderIndexes = /* @__PURE__ */ new Set();
78
+ const matchedKeys = /* @__PURE__ */ new Set();
79
+ const manualMatches = Object.entries(manualAssignments).map(([headerIndex, key]) => {
80
+ const column = columns.find((entry) => entry.key === key);
81
+ const header = headers.find((entry) => entry.index === Number(headerIndex));
82
+ if (!column || !header) return null;
83
+ if (usedHeaderIndexes.has(header.index) || matchedKeys.has(column.key)) return null;
84
+ usedHeaderIndexes.add(header.index);
85
+ matchedKeys.add(column.key);
86
+ return {
87
+ key: column.key,
88
+ columnIndex: header.index,
89
+ header,
90
+ column
91
+ };
92
+ }).filter((match) => match !== null);
93
+ const automaticMatches = columns.flatMap((column) => {
94
+ if (matchedKeys.has(column.key)) return [];
95
+ const match = findHeaderMatch(headers, getDefaultMatchDefinition(column), usedHeaderIndexes);
96
+ if (!match) return [];
97
+ usedHeaderIndexes.add(match.header.index);
98
+ return [
99
+ {
100
+ key: column.key,
101
+ columnIndex: match.header.index,
102
+ header: match.header,
103
+ column
104
+ }
105
+ ];
106
+ });
107
+ return [...manualMatches, ...automaticMatches];
108
+ }
109
+ function matchCollectionColumn(column, headers, reservedHeaderIndexes) {
110
+ return column.items.flatMap((entry) => {
111
+ if (!isSpreadsheetDynamicCollectionItem(entry)) return [];
112
+ const item = entry;
113
+ const match = findHeaderMatch(headers, item.match, reservedHeaderIndexes);
114
+ if (!match) return [];
115
+ reservedHeaderIndexes.add(match.header.index);
116
+ return [
117
+ {
118
+ key: column.rootKey,
119
+ targetKey: item.id,
120
+ columnIndex: match.header.index,
121
+ header: match.header,
122
+ column,
123
+ source: item.source,
124
+ item
125
+ }
126
+ ];
127
+ });
128
+ }
129
+ function matchOptionGroupsColumn(column, headers, reservedHeaderIndexes) {
130
+ const sourceItems = column.source ?? [];
131
+ return sourceItems.flatMap((source) => {
132
+ const match = findHeaderMatch(
133
+ headers,
134
+ createOptionGroupsMatchDefinition(column, source),
135
+ reservedHeaderIndexes
136
+ );
137
+ if (!match) return [];
138
+ reservedHeaderIndexes.add(match.header.index);
139
+ return [
140
+ {
141
+ key: column.output.into,
142
+ targetKey: column.targetKey?.(source) ?? column.itemKey?.(source) ?? String(match.header.index),
143
+ columnIndex: match.header.index,
144
+ header: match.header,
145
+ column,
146
+ source
147
+ }
148
+ ];
149
+ });
150
+ }
151
+ export function matchSpreadsheetDynamicColumns(columns, headers, usedHeaderIndexes = []) {
152
+ const reservedHeaderIndexes = new Set(usedHeaderIndexes);
153
+ const matches = [];
154
+ for (const entry of columns) {
155
+ if (isSpreadsheetDynamicOptionGroupsColumn(entry)) {
156
+ matches.push(...matchOptionGroupsColumn(entry, headers, reservedHeaderIndexes));
157
+ continue;
158
+ }
159
+ if (isSpreadsheetDynamicCollectionColumn(entry))
160
+ matches.push(...matchCollectionColumn(entry, headers, reservedHeaderIndexes));
161
+ }
162
+ return matches;
163
+ }
164
+ export function getSpreadsheetUnmatchedColumns(columns, matches) {
165
+ const matchedKeys = new Set(matches.map((match) => match.key));
166
+ return columns.flatMap(
167
+ (column) => matchedKeys.has(column.key) ? [] : [{ key: column.key, column }]
168
+ );
169
+ }
@@ -0,0 +1,8 @@
1
+ import type { SpreadsheetColumnDefinition } from '../../types/index.js';
2
+ import type { SpreadsheetColumnMatch, SpreadsheetDynamicColumnMatch, SpreadsheetParsedRow } from '../../types/index.js';
3
+ export declare function parseSpreadsheetRows<TContext>(params: {
4
+ rows: readonly (readonly unknown[])[];
5
+ matches: readonly SpreadsheetColumnMatch<SpreadsheetColumnDefinition<string, unknown, boolean, TContext>>[];
6
+ dynamicMatches?: readonly SpreadsheetDynamicColumnMatch[];
7
+ context: TContext;
8
+ }): Promise<SpreadsheetParsedRow<Record<string, unknown>>[]>;
@@ -0,0 +1,179 @@
1
+ import { setSpreadsheetValueAtPath } from "../object.js";
2
+ import {
3
+ getSpreadsheetOptionLabel,
4
+ getSpreadsheetOptionValue,
5
+ resolveSpreadsheetOptionEntries
6
+ } from "../options.js";
7
+ import {
8
+ applySpreadsheetModifiers,
9
+ applySpreadsheetNormalization,
10
+ getSpreadsheetIssueText,
11
+ isSpreadsheetDynamicCollectionColumn,
12
+ parseSpreadsheetCellValue
13
+ } from "./shared.js";
14
+ function resolveOptionValue(params) {
15
+ const issueText = getSpreadsheetIssueText();
16
+ const text = String(params.raw ?? "").trim();
17
+ if (!text) return params.definition.mode === "multiple" ? [] : void 0;
18
+ const tokens = params.definition.mode === "multiple" ? text.split(params.definition.separator ?? ",").map((entry) => entry.trim()).filter(Boolean) : [text];
19
+ const resolvedValues = [];
20
+ for (const token of tokens) {
21
+ const normalizedToken = applySpreadsheetNormalization(token, params.definition.itemModifiers);
22
+ const match = params.definition.from.find((option) => {
23
+ const candidate = params.definition.matchBy === "value" ? String(getSpreadsheetOptionValue(option) ?? "") : getSpreadsheetOptionLabel(option);
24
+ return applySpreadsheetNormalization(candidate, params.definition.itemModifiers) === normalizedToken;
25
+ });
26
+ if (!match) {
27
+ params.issues.push({
28
+ level: "error",
29
+ code: "option.not_found",
30
+ message: issueText.unrecognizedValue(token),
31
+ rowIndex: params.rowIndex,
32
+ columnKey: params.columnKey,
33
+ columnIndex: params.columnIndex,
34
+ header: params.header
35
+ });
36
+ continue;
37
+ }
38
+ const value = getSpreadsheetOptionValue(match);
39
+ if (value === void 0) continue;
40
+ resolvedValues.push(value);
41
+ }
42
+ if (params.definition.mode === "multiple") return resolvedValues;
43
+ return resolvedValues[0];
44
+ }
45
+ function resolveCollectionCellValue(params) {
46
+ const item = params.match.item;
47
+ if (!item) return void 0;
48
+ const valueDefinition = item.value;
49
+ const text = String(params.raw ?? "").trim();
50
+ if (!text) return void 0;
51
+ if (valueDefinition.kind === "text")
52
+ return applySpreadsheetModifiers(text, valueDefinition.modifiers);
53
+ if (valueDefinition.kind === "number") return Number(text);
54
+ if (valueDefinition.kind === "date") return text;
55
+ if (valueDefinition.kind === "boolean") return ["true", "1", "yes"].includes(text.toLowerCase());
56
+ return resolveOptionValue({
57
+ definition: valueDefinition,
58
+ raw: params.raw,
59
+ issues: params.issues,
60
+ rowIndex: params.rowIndex,
61
+ columnIndex: params.match.columnIndex,
62
+ columnKey: item.id,
63
+ header: params.match.header.text
64
+ });
65
+ }
66
+ function applyCollectionValue(params) {
67
+ const item = params.match.item;
68
+ if (!item) return;
69
+ if (params.resolvedValue === void 0) return;
70
+ const builtValue = item.build ? item.build(
71
+ Array.isArray(params.resolvedValue) ? {
72
+ id: item.id,
73
+ source: params.match.source,
74
+ values: params.resolvedValue
75
+ } : {
76
+ id: item.id,
77
+ source: params.match.source,
78
+ value: params.resolvedValue
79
+ }
80
+ ) : params.resolvedValue;
81
+ if (params.column.as === "array") {
82
+ const existing = params.data[params.column.rootKey];
83
+ const nextItems = Array.isArray(existing) ? existing : [];
84
+ const nextValue = item.build ? builtValue : Array.isArray(params.resolvedValue) ? { id: item.id, values: params.resolvedValue } : { id: item.id, value: params.resolvedValue };
85
+ params.data[params.column.rootKey] = [...nextItems, nextValue];
86
+ return;
87
+ }
88
+ setSpreadsheetValueAtPath(params.data, `${params.column.rootKey}.${item.id}`, builtValue);
89
+ }
90
+ function resolveSpreadsheetDynamicCellValues(column, source, raw, issues, rowIndex, columnIndex, header) {
91
+ const issueText = getSpreadsheetIssueText();
92
+ const text = String(raw ?? "").trim();
93
+ if (!text) return [];
94
+ const valuesConfig = column.values;
95
+ const optionsConfig = column.options;
96
+ if (!valuesConfig || !optionsConfig) return [];
97
+ const tokens = valuesConfig.mode === "csv" ? text.split(valuesConfig.separator ?? ",").map((entry) => entry.trim()).filter(Boolean) : [text];
98
+ const options = resolveSpreadsheetOptionEntries(optionsConfig, source);
99
+ const resolvedValues = [];
100
+ for (const token of tokens) {
101
+ const normalizedToken = applySpreadsheetNormalization(token, valuesConfig.itemModifiers);
102
+ const match = options.find((option) => {
103
+ const candidate = valuesConfig.resolve === "label" ? getSpreadsheetOptionLabel(option) : String(getSpreadsheetOptionValue(option) ?? "");
104
+ return applySpreadsheetNormalization(candidate, valuesConfig.itemModifiers) === normalizedToken;
105
+ });
106
+ if (!match) {
107
+ issues.push({
108
+ level: "error",
109
+ code: "option.not_found",
110
+ message: issueText.unrecognizedValue(token),
111
+ rowIndex,
112
+ columnKey: column.key,
113
+ columnIndex,
114
+ header
115
+ });
116
+ continue;
117
+ }
118
+ resolvedValues.push(getSpreadsheetOptionValue(match));
119
+ }
120
+ return resolvedValues;
121
+ }
122
+ export async function parseSpreadsheetRows(params) {
123
+ const parsedRows = [];
124
+ for (const [rowIndex, source] of params.rows.entries()) {
125
+ const issues = [];
126
+ const data = {};
127
+ for (const match of params.matches) {
128
+ const raw = source[match.columnIndex];
129
+ const cell = {
130
+ text: String(raw ?? "").trim(),
131
+ raw,
132
+ header: match.header.text,
133
+ columnIndex: match.columnIndex,
134
+ rowIndex
135
+ };
136
+ const value = await parseSpreadsheetCellValue(match.column, cell, params.context, issues);
137
+ if (value !== void 0) setSpreadsheetValueAtPath(data, match.key, value);
138
+ }
139
+ for (const entry of params.dynamicMatches ?? []) {
140
+ const raw = source[entry.columnIndex];
141
+ if (entry.column.kind === "option-groups") {
142
+ const values = resolveSpreadsheetDynamicCellValues(
143
+ entry.column,
144
+ entry.source,
145
+ raw,
146
+ issues,
147
+ rowIndex,
148
+ entry.columnIndex,
149
+ entry.header.text
150
+ );
151
+ if (values.length)
152
+ setSpreadsheetValueAtPath(data, `${entry.key}.${entry.targetKey}`, values);
153
+ continue;
154
+ }
155
+ if (!isSpreadsheetDynamicCollectionColumn(entry.column)) continue;
156
+ const resolvedValue = resolveCollectionCellValue({
157
+ column: entry.column,
158
+ match: entry,
159
+ raw,
160
+ issues,
161
+ rowIndex
162
+ });
163
+ applyCollectionValue({
164
+ data,
165
+ column: entry.column,
166
+ match: entry,
167
+ resolvedValue
168
+ });
169
+ }
170
+ parsedRows.push({
171
+ index: rowIndex,
172
+ source,
173
+ data,
174
+ issues,
175
+ isValid: issues.every((issue) => issue.level !== "error")
176
+ });
177
+ }
178
+ return parsedRows;
179
+ }
@@ -0,0 +1,18 @@
1
+ import type { SpreadsheetColumnDefinition, SpreadsheetDynamicCollectionItemDefinition, SpreadsheetDynamicCollectionDefinition, SpreadsheetDynamicOptionGroupsDefinition } from '../../types/index.js';
2
+ import type { SpreadsheetCellValue, SpreadsheetModifier, SpreadsheetRowIssue, SpreadsheetStaticColumn, SpreadsheetStaticColumnGroup } from '../../types/index.js';
3
+ export declare function normalizeSpreadsheetText(value: unknown): string;
4
+ export declare function applySpreadsheetNormalization(value: unknown, normalize: readonly SpreadsheetModifier[] | undefined): string;
5
+ export declare function applySpreadsheetModifiers(value: unknown, modifiers: readonly string[] | undefined): string;
6
+ export declare function isSpreadsheetStaticColumn(value: unknown): value is SpreadsheetStaticColumn;
7
+ export declare function isSpreadsheetColumnGroup(value: unknown): value is SpreadsheetStaticColumnGroup;
8
+ export declare function isSpreadsheetDynamicOptionGroupsColumn(value: unknown): value is SpreadsheetDynamicOptionGroupsDefinition<string, string, unknown>;
9
+ export declare function isSpreadsheetDynamicCollectionColumn(value: unknown): value is SpreadsheetDynamicCollectionDefinition<string, 'array' | 'record'>;
10
+ export declare function isSpreadsheetDynamicCollectionItem(value: unknown): value is SpreadsheetDynamicCollectionItemDefinition;
11
+ export declare function getSpreadsheetIssueText(): {
12
+ unrecognizedValue: (value: string) => string;
13
+ invalidNumberInput: (value: string) => string;
14
+ invalidBooleanInput: (value: string) => string;
15
+ missingValue: (field: string) => string;
16
+ parseFailed: (field: string) => string;
17
+ };
18
+ export declare function parseSpreadsheetCellValue<TContext>(column: SpreadsheetColumnDefinition<string, unknown, boolean, TContext>, cell: SpreadsheetCellValue, context: TContext, issues: SpreadsheetRowIssue[]): Promise<unknown>;
@@ -0,0 +1,259 @@
1
+ import { useUiToolsLocale } from "#ui-tools/i18n";
2
+ import { isSpreadsheetRecord } from "../object.js";
3
+ import {
4
+ getSpreadsheetOptionLabel,
5
+ getSpreadsheetOptionValue,
6
+ resolveSpreadsheetOptionEntries
7
+ } from "../options.js";
8
+ import { executeSpreadsheetRules } from "../validation/index.js";
9
+ export function normalizeSpreadsheetText(value) {
10
+ return String(value ?? "").normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s*\*\s*$/g, "").replace(/\s*\(required\)\s*$/gi, "").trim().replace(/\s+/g, " ").toLowerCase();
11
+ }
12
+ export function applySpreadsheetNormalization(value, normalize) {
13
+ const nextValue = String(value ?? "").trim();
14
+ if (!normalize?.length) return nextValue;
15
+ return normalize.reduce((result, token) => {
16
+ if (token === "trim") return result.trim();
17
+ if (token === "case-insensitive") return result.toLowerCase();
18
+ if (token === "accent-insensitive")
19
+ return result.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
20
+ return result;
21
+ }, nextValue).replace(/\s*\*\s*$/g, "").replace(/\s*\(required\)\s*$/gi, "");
22
+ }
23
+ export function applySpreadsheetModifiers(value, modifiers) {
24
+ const nextValue = String(value ?? "");
25
+ if (!modifiers?.length) return nextValue;
26
+ return modifiers.reduce((result, modifier) => {
27
+ if (modifier === "trim") return result.trim();
28
+ if (modifier === "lowercase" || modifier === "case-insensitive") return result.toLowerCase();
29
+ if (modifier === "uppercase") return result.toUpperCase();
30
+ if (modifier === "normalizeSpaces") return result.replace(/\s+/g, " ");
31
+ if (modifier === "accent-insensitive")
32
+ return result.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
33
+ return result;
34
+ }, nextValue);
35
+ }
36
+ export function isSpreadsheetStaticColumn(value) {
37
+ return isSpreadsheetRecord(value) && "kind" in value && value.kind !== "group" && "key" in value;
38
+ }
39
+ export function isSpreadsheetColumnGroup(value) {
40
+ return isSpreadsheetRecord(value) && "kind" in value && value.kind === "group" && "columns" in value;
41
+ }
42
+ export function isSpreadsheetDynamicOptionGroupsColumn(value) {
43
+ return isSpreadsheetRecord(value) && "kind" in value && value.kind === "option-groups";
44
+ }
45
+ export function isSpreadsheetDynamicCollectionColumn(value) {
46
+ return isSpreadsheetRecord(value) && "kind" in value && value.kind === "collection";
47
+ }
48
+ export function isSpreadsheetDynamicCollectionItem(value) {
49
+ return isSpreadsheetRecord(value) && "id" in value && "match" in value && "value" in value;
50
+ }
51
+ function hasSpreadsheetColumnResolve(column) {
52
+ return "resolve" in column && Boolean(column.resolve);
53
+ }
54
+ function resolveSpreadsheetColumnOptionEntries(options, context) {
55
+ return resolveSpreadsheetOptionEntries(options, { context });
56
+ }
57
+ function resolveSpreadsheetMultipleConfig(multiple) {
58
+ if (!multiple) return void 0;
59
+ if (multiple === true) return {};
60
+ return multiple;
61
+ }
62
+ function splitSpreadsheetMultipleTokens(value, separator) {
63
+ return value.split(separator ?? ",").map((entry) => entry.trim()).filter(Boolean);
64
+ }
65
+ function parseSpreadsheetNumberValue(value) {
66
+ const nextValue = Number(value);
67
+ if (Number.isNaN(nextValue) || !Number.isFinite(nextValue)) return void 0;
68
+ return nextValue;
69
+ }
70
+ function parseSpreadsheetBooleanValue(value) {
71
+ const normalized = value.toLowerCase();
72
+ if (["true", "1", "yes"].includes(normalized)) return true;
73
+ if (["false", "0", "no"].includes(normalized)) return false;
74
+ return void 0;
75
+ }
76
+ function pushSpreadsheetParseIssue(params) {
77
+ params.issues.push({
78
+ level: "error",
79
+ code: params.code,
80
+ message: params.message,
81
+ rowIndex: params.rowIndex,
82
+ columnKey: params.columnKey,
83
+ columnIndex: params.columnIndex,
84
+ header: params.header
85
+ });
86
+ }
87
+ export function getSpreadsheetIssueText() {
88
+ const { t } = useUiToolsLocale();
89
+ return {
90
+ unrecognizedValue: (value) => t("spreadsheet.validation.unrecognizedValue", { value }),
91
+ invalidNumberInput: (value) => t("spreadsheet.validation.invalidNumberInput", { value }),
92
+ invalidBooleanInput: (value) => t("spreadsheet.validation.invalidBooleanInput", { value }),
93
+ missingValue: (field) => t("spreadsheet.validation.missingValue", { field }),
94
+ parseFailed: (field) => t("spreadsheet.validation.parseFailed", { field })
95
+ };
96
+ }
97
+ function parseSpreadsheetEnumColumnValue(column, token, cell, issues) {
98
+ const issueText = getSpreadsheetIssueText();
99
+ if (!token) return void 0;
100
+ const multipleConfig = resolveSpreadsheetMultipleConfig(column.multiple);
101
+ const normalizedToken = multipleConfig?.itemModifiers ? applySpreadsheetNormalization(token, multipleConfig.itemModifiers) : token;
102
+ const match = column.options.find((option) => {
103
+ const candidate = String(option);
104
+ if (!multipleConfig?.itemModifiers) return candidate === token;
105
+ return applySpreadsheetNormalization(candidate, multipleConfig.itemModifiers) === normalizedToken;
106
+ });
107
+ if (match !== void 0) return match;
108
+ pushSpreadsheetParseIssue({
109
+ issues,
110
+ code: "enum.not_found",
111
+ message: issueText.unrecognizedValue(token),
112
+ rowIndex: cell.rowIndex,
113
+ columnKey: column.key,
114
+ columnIndex: cell.columnIndex,
115
+ header: cell.header
116
+ });
117
+ return void 0;
118
+ }
119
+ function parseSpreadsheetOptionColumnValue(column, token, cell, context, issues) {
120
+ const issueText = getSpreadsheetIssueText();
121
+ if (!token) return void 0;
122
+ const options = resolveSpreadsheetColumnOptionEntries(column.options, context);
123
+ const multipleConfig = resolveSpreadsheetMultipleConfig(column.multiple);
124
+ const normalizedToken = multipleConfig?.itemModifiers ? applySpreadsheetNormalization(token, multipleConfig.itemModifiers) : token;
125
+ const match = options.find((option) => {
126
+ const label = getSpreadsheetOptionLabel(option);
127
+ const value = getSpreadsheetOptionValue(option);
128
+ const by = multipleConfig?.matchBy;
129
+ if (by === "label")
130
+ return (multipleConfig?.itemModifiers ? applySpreadsheetNormalization(label, multipleConfig.itemModifiers) : label) === normalizedToken;
131
+ if (by === "value")
132
+ return (multipleConfig?.itemModifiers ? applySpreadsheetNormalization(String(value ?? ""), multipleConfig.itemModifiers) : String(value ?? "")) === normalizedToken;
133
+ return token === label || token === String(value ?? "");
134
+ });
135
+ if (match === void 0) {
136
+ pushSpreadsheetParseIssue({
137
+ issues,
138
+ code: "option.not_found",
139
+ message: issueText.unrecognizedValue(token),
140
+ rowIndex: cell.rowIndex,
141
+ columnKey: column.key,
142
+ columnIndex: cell.columnIndex,
143
+ header: cell.header
144
+ });
145
+ return void 0;
146
+ }
147
+ return getSpreadsheetOptionValue(match);
148
+ }
149
+ function isSpreadsheetEnumColumn(column) {
150
+ return column.kind === "enum" && "options" in column && Array.isArray(column.options);
151
+ }
152
+ function isSpreadsheetOptionColumn(column) {
153
+ return column.kind === "option" && "options" in column;
154
+ }
155
+ function parseSpreadsheetSingleBuiltInValue(column, token, cell, context, issues) {
156
+ const issueText = getSpreadsheetIssueText();
157
+ if (column.kind === "text" || column.kind === "email" || column.kind === "date") return token;
158
+ if (column.kind === "number") {
159
+ const value = parseSpreadsheetNumberValue(token);
160
+ if (value !== void 0) return value;
161
+ pushSpreadsheetParseIssue({
162
+ issues,
163
+ code: "number.invalid",
164
+ message: issueText.invalidNumberInput(token),
165
+ rowIndex: cell.rowIndex,
166
+ columnKey: column.key,
167
+ columnIndex: cell.columnIndex,
168
+ header: cell.header
169
+ });
170
+ return void 0;
171
+ }
172
+ if (column.kind === "boolean") {
173
+ const value = parseSpreadsheetBooleanValue(token);
174
+ if (value !== void 0) return value;
175
+ pushSpreadsheetParseIssue({
176
+ issues,
177
+ code: "boolean.invalid",
178
+ message: issueText.invalidBooleanInput(token),
179
+ rowIndex: cell.rowIndex,
180
+ columnKey: column.key,
181
+ columnIndex: cell.columnIndex,
182
+ header: cell.header
183
+ });
184
+ return void 0;
185
+ }
186
+ if (isSpreadsheetEnumColumn(column))
187
+ return parseSpreadsheetEnumColumnValue(column, token, cell, issues);
188
+ if (isSpreadsheetOptionColumn(column))
189
+ return parseSpreadsheetOptionColumnValue(column, token, cell, context, issues);
190
+ return token;
191
+ }
192
+ function createSpreadsheetCellWithModifiers(cell, modifiers) {
193
+ if (!modifiers?.length) return cell;
194
+ return {
195
+ ...cell,
196
+ text: applySpreadsheetModifiers(cell.text, modifiers)
197
+ };
198
+ }
199
+ function parseSpreadsheetBuiltInCellValue(column, cell, context, issues) {
200
+ const nextCell = createSpreadsheetCellWithModifiers(cell, column.modifiers);
201
+ const multipleConfig = resolveSpreadsheetMultipleConfig(column.multiple);
202
+ if (!multipleConfig)
203
+ return parseSpreadsheetSingleBuiltInValue(column, nextCell.text, nextCell, context, issues);
204
+ if (!nextCell.text) return [];
205
+ return splitSpreadsheetMultipleTokens(nextCell.text, multipleConfig.separator).flatMap(
206
+ (token) => {
207
+ const nextToken = applySpreadsheetModifiers(token, multipleConfig.itemModifiers);
208
+ const value = parseSpreadsheetSingleBuiltInValue(column, nextToken, nextCell, context, issues);
209
+ return value === void 0 ? [] : [value];
210
+ }
211
+ );
212
+ }
213
+ export async function parseSpreadsheetCellValue(column, cell, context, issues) {
214
+ const issueText = getSpreadsheetIssueText();
215
+ const nextCell = createSpreadsheetCellWithModifiers(cell, column.modifiers);
216
+ const isEmpty = nextCell.text.trim() === "";
217
+ if (column.required && !hasSpreadsheetColumnResolve(column) && isEmpty) {
218
+ issues.push({
219
+ level: "error",
220
+ code: "cell.required",
221
+ message: issueText.missingValue(cell.header),
222
+ rowIndex: cell.rowIndex,
223
+ columnKey: column.key,
224
+ columnIndex: cell.columnIndex,
225
+ header: cell.header
226
+ });
227
+ }
228
+ try {
229
+ const value = column.parse ? await column.parse({ cell: nextCell, context }) : parseSpreadsheetBuiltInCellValue(column, cell, context, issues);
230
+ const validationIssues = hasSpreadsheetColumnResolve(column) ? [] : executeSpreadsheetRules({
231
+ value,
232
+ rules: column.rules
233
+ });
234
+ issues.push(
235
+ ...validationIssues.map(
236
+ (issue) => ({
237
+ ...issue,
238
+ rowIndex: cell.rowIndex,
239
+ columnKey: column.key,
240
+ columnIndex: cell.columnIndex,
241
+ header: cell.header
242
+ })
243
+ )
244
+ );
245
+ if (isEmpty && !column.parse) return void 0;
246
+ return value;
247
+ } catch (error) {
248
+ issues.push({
249
+ level: "error",
250
+ code: "cell.parse_failed",
251
+ message: error instanceof Error ? error.message : issueText.parseFailed(cell.header),
252
+ rowIndex: cell.rowIndex,
253
+ columnKey: column.key,
254
+ columnIndex: cell.columnIndex,
255
+ header: cell.header
256
+ });
257
+ return void 0;
258
+ }
259
+ }
@@ -0,0 +1,2 @@
1
+ import type { SpreadsheetParsedRow, SpreadsheetRowSummary } from '../../types/index.js';
2
+ export declare function createSpreadsheetRowSummary(rows: readonly SpreadsheetParsedRow[]): SpreadsheetRowSummary;
@@ -0,0 +1,10 @@
1
+ export function createSpreadsheetRowSummary(rows) {
2
+ const invalidRows = rows.filter((row) => !row.isValid).length;
3
+ const issueCount = rows.reduce((total, row) => total + row.issues.length, 0);
4
+ return {
5
+ totalRows: rows.length,
6
+ validRows: rows.length - invalidRows,
7
+ invalidRows,
8
+ issueCount
9
+ };
10
+ }
@@ -0,0 +1,9 @@
1
+ import type { SpreadsheetBinarySource, SpreadsheetWorkbookData, SpreadsheetWorkbookSheet } from '../../types/index.js';
2
+ export declare function parseSpreadsheetWorkbook(params: {
3
+ source: SpreadsheetBinarySource;
4
+ fileName?: string;
5
+ }): Promise<SpreadsheetWorkbookData>;
6
+ export declare function getDefaultSpreadsheetSheetName(workbook: SpreadsheetWorkbookData | null): string | undefined;
7
+ export declare function getSpreadsheetSheet(workbook: SpreadsheetWorkbookData | null, sheetName: string | undefined): SpreadsheetWorkbookSheet | null;
8
+ export declare function getSpreadsheetHeaders(sheet: SpreadsheetWorkbookSheet | null, headerRowIndex: number): readonly unknown[];
9
+ export declare function getSpreadsheetDataRows(sheet: SpreadsheetWorkbookSheet | null, headerRowIndex: number): (readonly unknown[])[];