@shwfed/config 2.0.0 → 2.0.2

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 (1278) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.d.vue.ts +55 -0
  3. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue +144 -0
  4. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue.d.ts +55 -0
  5. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.d.vue.ts +8 -0
  6. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue +36 -0
  7. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue.d.ts +8 -0
  8. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.d.ts +32 -0
  9. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.js +67 -0
  10. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.d.vue.ts +73 -0
  11. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue +204 -0
  12. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue.d.ts +73 -0
  13. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.d.vue.ts +8 -0
  14. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue +43 -0
  15. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue.d.ts +8 -0
  16. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +41 -0
  17. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.js +80 -0
  18. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.d.vue.ts +17 -0
  19. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue +63 -0
  20. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue.d.ts +17 -0
  21. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.d.vue.ts +8 -0
  22. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.vue +17 -0
  23. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.vue.d.ts +8 -0
  24. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.d.ts +13 -0
  25. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.js +16 -0
  26. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.d.vue.ts +21 -0
  27. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.vue +84 -0
  28. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.vue.d.ts +21 -0
  29. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.d.vue.ts +8 -0
  30. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.vue +28 -0
  31. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.vue.d.ts +8 -0
  32. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/schema.d.ts +15 -0
  33. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/schema.js +27 -0
  34. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.d.vue.ts +80 -0
  35. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue +359 -0
  36. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue.d.ts +80 -0
  37. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.d.vue.ts +10 -0
  38. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue +73 -0
  39. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue.d.ts +10 -0
  40. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +82 -0
  41. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.js +49 -0
  42. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/config.d.vue.ts +25 -0
  43. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/config.vue +32 -0
  44. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/config.vue.d.ts +25 -0
  45. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/runtime.d.vue.ts +8 -0
  46. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/runtime.vue +19 -0
  47. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/runtime.vue.d.ts +8 -0
  48. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +17 -0
  49. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.js +18 -0
  50. package/dist/runtime/components/actions/components/definition.d.vue.ts +22 -0
  51. package/dist/runtime/components/actions/components/definition.vue +64 -0
  52. package/dist/runtime/components/actions/components/definition.vue.d.ts +22 -0
  53. package/dist/runtime/components/actions/components/group.d.vue.ts +160 -0
  54. package/dist/runtime/components/actions/components/group.vue +518 -0
  55. package/dist/runtime/components/actions/components/group.vue.d.ts +160 -0
  56. package/dist/runtime/components/actions/components/triggers-field.d.vue.ts +17 -0
  57. package/dist/runtime/components/actions/components/triggers-field.vue +209 -0
  58. package/dist/runtime/components/actions/components/triggers-field.vue.d.ts +17 -0
  59. package/dist/runtime/components/actions/config.d.vue.ts +158 -0
  60. package/dist/runtime/components/actions/config.vue +1599 -0
  61. package/dist/runtime/components/actions/config.vue.d.ts +158 -0
  62. package/dist/runtime/components/actions/schema.d.ts +298 -0
  63. package/dist/runtime/components/actions/schema.js +216 -0
  64. package/dist/runtime/components/actions/utils/button-registry.d.ts +25 -0
  65. package/dist/runtime/components/actions/utils/button-registry.js +1 -0
  66. package/dist/runtime/components/actions/utils/resolve.d.ts +51 -0
  67. package/dist/runtime/components/actions/utils/resolve.js +110 -0
  68. package/dist/runtime/components/app.d.vue.ts +13 -0
  69. package/dist/runtime/components/app.vue +202 -0
  70. package/dist/runtime/components/app.vue.d.ts +13 -0
  71. package/dist/runtime/components/block-layout-editor/index.d.vue.ts +90 -0
  72. package/dist/runtime/components/block-layout-editor/index.vue +1312 -0
  73. package/dist/runtime/components/block-layout-editor/index.vue.d.ts +90 -0
  74. package/dist/runtime/components/block-layout-editor/meta-strip.d.vue.ts +23 -0
  75. package/dist/runtime/components/block-layout-editor/meta-strip.vue +83 -0
  76. package/dist/runtime/components/block-layout-editor/meta-strip.vue.d.ts +23 -0
  77. package/dist/runtime/components/block-layout-editor/sidebar.d.vue.ts +39 -0
  78. package/dist/runtime/components/block-layout-editor/sidebar.vue +166 -0
  79. package/dist/runtime/components/block-layout-editor/sidebar.vue.d.ts +39 -0
  80. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.d.vue.ts +153 -0
  81. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue +18 -0
  82. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue.d.ts +153 -0
  83. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.d.vue.ts +158 -0
  84. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue +22 -0
  85. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue.d.ts +158 -0
  86. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +98 -0
  87. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.js +28 -0
  88. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +70 -0
  89. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue +22 -0
  90. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +70 -0
  91. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +74 -0
  92. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue +24 -0
  93. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +74 -0
  94. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +86 -0
  95. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.js +30 -0
  96. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.d.vue.ts +35 -0
  97. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.vue +66 -0
  98. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.vue.d.ts +35 -0
  99. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.d.vue.ts +35 -0
  100. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue +19 -0
  101. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue.d.ts +35 -0
  102. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +35 -0
  103. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.js +31 -0
  104. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +356 -0
  105. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue +22 -0
  106. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +356 -0
  107. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +351 -0
  108. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue +17 -0
  109. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +351 -0
  110. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +400 -0
  111. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.js +28 -0
  112. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.d.vue.ts +86 -0
  113. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue +512 -0
  114. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue.d.ts +86 -0
  115. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.d.vue.ts +86 -0
  116. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue +63 -0
  117. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue.d.ts +86 -0
  118. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +164 -0
  119. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.js +98 -0
  120. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/config.d.vue.ts +77 -0
  121. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/config.vue +535 -0
  122. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/config.vue.d.ts +77 -0
  123. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/runtime.d.vue.ts +77 -0
  124. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/runtime.vue +233 -0
  125. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/runtime.vue.d.ts +77 -0
  126. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/schema.d.ts +134 -0
  127. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.line/schema.js +142 -0
  128. package/dist/runtime/components/config/breadcrumb-extension.d.ts +15 -0
  129. package/dist/runtime/components/config/breadcrumb-extension.js +1 -0
  130. package/dist/runtime/components/config/breadcrumb.d.vue.ts +7 -0
  131. package/dist/runtime/components/config/breadcrumb.vue +61 -0
  132. package/dist/runtime/components/config/breadcrumb.vue.d.ts +7 -0
  133. package/dist/runtime/components/config/config.d.vue.ts +7 -0
  134. package/dist/runtime/components/config/config.vue +139 -0
  135. package/dist/runtime/components/config/config.vue.d.ts +7 -0
  136. package/dist/runtime/components/config/footer.d.vue.ts +11 -0
  137. package/dist/runtime/components/config/footer.vue +62 -0
  138. package/dist/runtime/components/config/footer.vue.d.ts +11 -0
  139. package/dist/runtime/components/config/index.d.vue.ts +37 -0
  140. package/dist/runtime/components/config/index.vue +98 -0
  141. package/dist/runtime/components/config/index.vue.d.ts +37 -0
  142. package/dist/runtime/components/config/schema.d.ts +102 -0
  143. package/dist/runtime/components/config/schema.js +23 -0
  144. package/dist/runtime/components/config/use-editor.d.ts +102 -0
  145. package/dist/runtime/components/config/use-editor.js +389 -0
  146. package/dist/runtime/components/config/utils/block-ref-cache.d.ts +9 -0
  147. package/dist/runtime/components/config/utils/block-ref-cache.js +14 -0
  148. package/dist/runtime/components/config/utils/resolve.d.ts +39 -0
  149. package/dist/runtime/components/config/utils/resolve.js +62 -0
  150. package/dist/runtime/components/form/DerivedValueEditor.d.vue.ts +19 -0
  151. package/dist/runtime/components/form/DerivedValueEditor.vue +77 -0
  152. package/dist/runtime/components/form/DerivedValueEditor.vue.d.ts +19 -0
  153. package/dist/runtime/components/form/config.d.vue.ts +16 -0
  154. package/dist/runtime/components/form/config.vue +145 -0
  155. package/dist/runtime/components/form/config.vue.d.ts +16 -0
  156. package/dist/runtime/components/form/field-layout.d.ts +5 -0
  157. package/dist/runtime/components/form/field-layout.js +1 -0
  158. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.d.vue.ts +37 -0
  159. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.vue +87 -0
  160. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.vue.d.ts +37 -0
  161. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.d.vue.ts +8 -0
  162. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue +22 -0
  163. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue.d.ts +8 -0
  164. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +33 -0
  165. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.js +25 -0
  166. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +81 -0
  167. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue +268 -0
  168. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +81 -0
  169. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.d.vue.ts +8 -0
  170. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +116 -0
  171. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue.d.ts +8 -0
  172. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +55 -0
  173. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +49 -0
  174. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.d.vue.ts +83 -0
  175. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue +309 -0
  176. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue.d.ts +83 -0
  177. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.d.vue.ts +8 -0
  178. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +91 -0
  179. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue.d.ts +8 -0
  180. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +57 -0
  181. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +53 -0
  182. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.d.vue.ts +149 -0
  183. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue +97 -0
  184. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue.d.ts +149 -0
  185. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.d.vue.ts +8 -0
  186. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue +26 -0
  187. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue.d.ts +8 -0
  188. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +95 -0
  189. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.js +28 -0
  190. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +99 -0
  191. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue +329 -0
  192. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +99 -0
  193. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.d.vue.ts +8 -0
  194. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue +248 -0
  195. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue.d.ts +8 -0
  196. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +79 -0
  197. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.js +71 -0
  198. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +107 -0
  199. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue +493 -0
  200. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +107 -0
  201. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.d.vue.ts +8 -0
  202. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +123 -0
  203. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue.d.ts +8 -0
  204. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +79 -0
  205. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +78 -0
  206. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +127 -0
  207. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue +674 -0
  208. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +127 -0
  209. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.d.vue.ts +8 -0
  210. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +156 -0
  211. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue.d.ts +8 -0
  212. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +91 -0
  213. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +104 -0
  214. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +111 -0
  215. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue +575 -0
  216. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +111 -0
  217. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.d.vue.ts +8 -0
  218. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +125 -0
  219. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue.d.ts +8 -0
  220. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +91 -0
  221. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +96 -0
  222. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +131 -0
  223. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue +758 -0
  224. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +131 -0
  225. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.d.vue.ts +8 -0
  226. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +158 -0
  227. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue.d.ts +8 -0
  228. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +103 -0
  229. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +122 -0
  230. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.d.vue.ts +73 -0
  231. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue +382 -0
  232. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue.d.ts +73 -0
  233. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.d.vue.ts +8 -0
  234. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue +99 -0
  235. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue.d.ts +8 -0
  236. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +61 -0
  237. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.js +67 -0
  238. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +75 -0
  239. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue +486 -0
  240. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +75 -0
  241. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.d.vue.ts +8 -0
  242. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue +123 -0
  243. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue.d.ts +8 -0
  244. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +63 -0
  245. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js +81 -0
  246. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +91 -0
  247. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue +426 -0
  248. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +91 -0
  249. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.d.vue.ts +8 -0
  250. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +162 -0
  251. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue.d.ts +8 -0
  252. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +60 -0
  253. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +70 -0
  254. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +107 -0
  255. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue +478 -0
  256. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +107 -0
  257. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.d.vue.ts +8 -0
  258. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue +249 -0
  259. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue.d.ts +8 -0
  260. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +69 -0
  261. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js +81 -0
  262. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +93 -0
  263. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue +247 -0
  264. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +93 -0
  265. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.d.vue.ts +8 -0
  266. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue +101 -0
  267. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue.d.ts +8 -0
  268. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +61 -0
  269. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +52 -0
  270. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.d.vue.ts +129 -0
  271. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue +490 -0
  272. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue.d.ts +129 -0
  273. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.d.vue.ts +8 -0
  274. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue +264 -0
  275. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue.d.ts +8 -0
  276. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +144 -0
  277. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.js +144 -0
  278. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.d.vue.ts +115 -0
  279. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue +613 -0
  280. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue.d.ts +115 -0
  281. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.d.vue.ts +8 -0
  282. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +380 -0
  283. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue.d.ts +8 -0
  284. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +79 -0
  285. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.js +86 -0
  286. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +101 -0
  287. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue +354 -0
  288. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +101 -0
  289. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.d.vue.ts +8 -0
  290. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue +339 -0
  291. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue.d.ts +8 -0
  292. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +88 -0
  293. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +92 -0
  294. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +105 -0
  295. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue +333 -0
  296. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +105 -0
  297. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.d.vue.ts +16 -0
  298. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue +136 -0
  299. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue.d.ts +16 -0
  300. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.d.vue.ts +8 -0
  301. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +221 -0
  302. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue.d.ts +8 -0
  303. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +111 -0
  304. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +84 -0
  305. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.d.vue.ts +113 -0
  306. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.vue +426 -0
  307. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.vue.d.ts +113 -0
  308. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.d.vue.ts +8 -0
  309. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue +176 -0
  310. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue.d.ts +8 -0
  311. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +121 -0
  312. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.js +78 -0
  313. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.d.vue.ts +113 -0
  314. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue +426 -0
  315. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue.d.ts +113 -0
  316. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.d.vue.ts +8 -0
  317. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue +159 -0
  318. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue.d.ts +8 -0
  319. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +121 -0
  320. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.js +78 -0
  321. package/dist/runtime/components/form/index.d.vue.ts +28 -0
  322. package/dist/runtime/components/form/index.vue +210 -0
  323. package/dist/runtime/components/form/index.vue.d.ts +28 -0
  324. package/dist/runtime/components/form/schema.d.ts +168 -0
  325. package/dist/runtime/components/form/schema.js +89 -0
  326. package/dist/runtime/components/form/unit-config.d.vue.ts +60 -0
  327. package/dist/runtime/components/form/unit-config.vue +492 -0
  328. package/dist/runtime/components/form/unit-config.vue.d.ts +60 -0
  329. package/dist/runtime/components/form/utils/commit-bus.d.ts +26 -0
  330. package/dist/runtime/components/form/utils/commit-bus.js +27 -0
  331. package/dist/runtime/components/form/utils/common.d.ts +42 -0
  332. package/dist/runtime/components/form/utils/common.js +57 -0
  333. package/dist/runtime/components/form/utils/derived.d.ts +72 -0
  334. package/dist/runtime/components/form/utils/derived.js +116 -0
  335. package/dist/runtime/components/form/utils/field-value.d.ts +35 -0
  336. package/dist/runtime/components/form/utils/field-value.js +40 -0
  337. package/dist/runtime/components/form/utils/history.d.ts +36 -0
  338. package/dist/runtime/components/form/utils/history.js +74 -0
  339. package/dist/runtime/components/form/utils/readonly.d.ts +8 -0
  340. package/dist/runtime/components/form/utils/readonly.js +9 -0
  341. package/dist/runtime/components/form/utils/resolve.d.ts +77 -0
  342. package/dist/runtime/components/form/utils/resolve.js +74 -0
  343. package/dist/runtime/components/form/utils/schema-meta.d.ts +5 -0
  344. package/dist/runtime/components/form/utils/schema-meta.js +48 -0
  345. package/dist/runtime/components/form/utils/state.d.ts +37 -0
  346. package/dist/runtime/components/form/utils/state.js +34 -0
  347. package/dist/runtime/components/modal.d.vue.ts +56 -0
  348. package/dist/runtime/components/modal.vue +153 -0
  349. package/dist/runtime/components/modal.vue.d.ts +56 -0
  350. package/dist/runtime/components/sidebar-takeover.d.ts +6 -0
  351. package/dist/runtime/components/sidebar-takeover.js +1 -0
  352. package/dist/runtime/components/table/ai/columns-button.d.vue.ts +12 -0
  353. package/dist/runtime/components/table/ai/columns-button.vue +491 -0
  354. package/dist/runtime/components/table/ai/columns-button.vue.d.ts +12 -0
  355. package/dist/runtime/components/table/ai/columns-task.md +44 -0
  356. package/dist/runtime/components/table/ai/data-source-button.d.vue.ts +20 -0
  357. package/dist/runtime/components/table/ai/data-source-button.vue +324 -0
  358. package/dist/runtime/components/table/ai/data-source-button.vue.d.ts +20 -0
  359. package/dist/runtime/components/table/ai/data-source-task.md +17 -0
  360. package/dist/runtime/components/table/column-layout.d.ts +5 -0
  361. package/dist/runtime/components/table/column-layout.js +1 -0
  362. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.d.vue.ts +10 -0
  363. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.vue +112 -0
  364. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.vue.d.ts +10 -0
  365. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.d.vue.ts +9 -0
  366. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue +28 -0
  367. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue.d.ts +9 -0
  368. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +94 -0
  369. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.js +45 -0
  370. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.d.vue.ts +10 -0
  371. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue +225 -0
  372. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue.d.ts +10 -0
  373. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.d.vue.ts +9 -0
  374. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.vue +32 -0
  375. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.vue.d.ts +9 -0
  376. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +40 -0
  377. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js +42 -0
  378. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.d.vue.ts +10 -0
  379. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue +215 -0
  380. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue.d.ts +10 -0
  381. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.d.vue.ts +9 -0
  382. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue +45 -0
  383. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue.d.ts +9 -0
  384. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +40 -0
  385. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js +45 -0
  386. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.d.vue.ts +10 -0
  387. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.vue +180 -0
  388. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.vue.d.ts +10 -0
  389. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.d.vue.ts +9 -0
  390. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +67 -0
  391. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue.d.ts +9 -0
  392. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +51 -0
  393. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.js +51 -0
  394. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.d.vue.ts +10 -0
  395. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue +293 -0
  396. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue.d.ts +10 -0
  397. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.d.vue.ts +9 -0
  398. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.vue +97 -0
  399. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.vue.d.ts +9 -0
  400. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +44 -0
  401. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js +50 -0
  402. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.d.vue.ts +10 -0
  403. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.vue +141 -0
  404. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.vue.d.ts +10 -0
  405. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.d.vue.ts +9 -0
  406. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.vue +60 -0
  407. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.vue.d.ts +9 -0
  408. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.d.vue.ts +9 -0
  409. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +116 -0
  410. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue.d.ts +9 -0
  411. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.d.ts +23 -0
  412. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.js +50 -0
  413. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.d.vue.ts +10 -0
  414. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue +255 -0
  415. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue.d.ts +10 -0
  416. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.d.vue.ts +9 -0
  417. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +53 -0
  418. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue.d.ts +9 -0
  419. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +43 -0
  420. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js +48 -0
  421. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.d.vue.ts +10 -0
  422. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.vue +280 -0
  423. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.vue.d.ts +10 -0
  424. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.d.vue.ts +9 -0
  425. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue +87 -0
  426. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue.d.ts +9 -0
  427. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +42 -0
  428. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.js +65 -0
  429. package/dist/runtime/components/table/config.d.vue.ts +16 -0
  430. package/dist/runtime/components/table/config.vue +1625 -0
  431. package/dist/runtime/components/table/config.vue.d.ts +16 -0
  432. package/dist/runtime/components/table/index.d.vue.ts +97 -0
  433. package/dist/runtime/components/table/index.vue +903 -0
  434. package/dist/runtime/components/table/index.vue.d.ts +97 -0
  435. package/dist/runtime/components/table/schema.d.ts +666 -0
  436. package/dist/runtime/components/table/schema.js +279 -0
  437. package/dist/runtime/components/table/utils/instance.d.ts +2 -0
  438. package/dist/runtime/components/table/utils/instance.js +8 -0
  439. package/dist/runtime/components/table/utils/resolve.d.ts +32 -0
  440. package/dist/runtime/components/table/utils/resolve.js +50 -0
  441. package/dist/runtime/components/table/utils/runtime.d.ts +6 -0
  442. package/dist/runtime/components/table/utils/runtime.js +28 -0
  443. package/dist/runtime/components/table/utils/schema-meta.d.ts +5 -0
  444. package/dist/runtime/components/table/utils/schema-meta.js +48 -0
  445. package/dist/runtime/components/table/utils/shared.d.ts +40 -0
  446. package/dist/runtime/components/table/utils/shared.js +67 -0
  447. package/dist/runtime/components/ui/alert-dialog/AlertDialog.d.vue.ts +21 -0
  448. package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +20 -0
  449. package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +21 -0
  450. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.d.vue.ts +18 -0
  451. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +21 -0
  452. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +18 -0
  453. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.d.vue.ts +18 -0
  454. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +21 -0
  455. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +18 -0
  456. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +32 -0
  457. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
  458. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +32 -0
  459. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.d.vue.ts +18 -0
  460. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +22 -0
  461. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +18 -0
  462. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.d.vue.ts +17 -0
  463. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +15 -0
  464. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +17 -0
  465. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.d.vue.ts +17 -0
  466. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +15 -0
  467. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +17 -0
  468. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.d.vue.ts +18 -0
  469. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +22 -0
  470. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +18 -0
  471. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.d.vue.ts +14 -0
  472. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +16 -0
  473. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +14 -0
  474. package/dist/runtime/components/ui/alert-dialog/index.d.ts +9 -0
  475. package/dist/runtime/components/ui/alert-dialog/index.js +9 -0
  476. package/dist/runtime/components/ui/badge/Badge.d.vue.ts +20 -0
  477. package/dist/runtime/components/ui/badge/Badge.vue +24 -0
  478. package/dist/runtime/components/ui/badge/Badge.vue.d.ts +20 -0
  479. package/dist/runtime/components/ui/badge/index.d.ts +6 -0
  480. package/dist/runtime/components/ui/badge/index.js +18 -0
  481. package/dist/runtime/components/ui/breadcrumb/Breadcrumb.d.vue.ts +17 -0
  482. package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue +17 -0
  483. package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue.d.ts +17 -0
  484. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.d.vue.ts +7 -0
  485. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +23 -0
  486. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +7 -0
  487. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.d.vue.ts +17 -0
  488. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +16 -0
  489. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +17 -0
  490. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.d.vue.ts +20 -0
  491. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +28 -0
  492. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +20 -0
  493. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.d.vue.ts +17 -0
  494. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +21 -0
  495. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +17 -0
  496. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.d.vue.ts +17 -0
  497. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +19 -0
  498. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +17 -0
  499. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.d.vue.ts +17 -0
  500. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +21 -0
  501. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +17 -0
  502. package/dist/runtime/components/ui/breadcrumb/index.d.ts +7 -0
  503. package/dist/runtime/components/ui/breadcrumb/index.js +7 -0
  504. package/dist/runtime/components/ui/button/Button.d.vue.ts +27 -0
  505. package/dist/runtime/components/ui/button/Button.vue +28 -0
  506. package/dist/runtime/components/ui/button/Button.vue.d.ts +27 -0
  507. package/dist/runtime/components/ui/button/index.d.ts +7 -0
  508. package/dist/runtime/components/ui/button/index.js +25 -0
  509. package/dist/runtime/components/ui/button-group/ButtonGroup.d.vue.ts +19 -0
  510. package/dist/runtime/components/ui/button-group/ButtonGroup.vue +19 -0
  511. package/dist/runtime/components/ui/button-group/ButtonGroup.vue.d.ts +19 -0
  512. package/dist/runtime/components/ui/button-group/ButtonGroupText.d.vue.ts +22 -0
  513. package/dist/runtime/components/ui/button-group/ButtonGroupText.vue +23 -0
  514. package/dist/runtime/components/ui/button-group/ButtonGroupText.vue.d.ts +22 -0
  515. package/dist/runtime/components/ui/button-group/index.d.ts +7 -0
  516. package/dist/runtime/components/ui/button-group/index.js +17 -0
  517. package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +35 -0
  518. package/dist/runtime/components/ui/calendar/Calendar.vue +196 -0
  519. package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +35 -0
  520. package/dist/runtime/components/ui/calendar/CalendarCell.d.vue.ts +18 -0
  521. package/dist/runtime/components/ui/calendar/CalendarCell.vue +23 -0
  522. package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +18 -0
  523. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +20 -0
  524. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +39 -0
  525. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +20 -0
  526. package/dist/runtime/components/ui/calendar/CalendarGrid.d.vue.ts +18 -0
  527. package/dist/runtime/components/ui/calendar/CalendarGrid.vue +22 -0
  528. package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +18 -0
  529. package/dist/runtime/components/ui/calendar/CalendarGridBody.d.vue.ts +14 -0
  530. package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +16 -0
  531. package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +14 -0
  532. package/dist/runtime/components/ui/calendar/CalendarGridHead.d.vue.ts +18 -0
  533. package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +17 -0
  534. package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +18 -0
  535. package/dist/runtime/components/ui/calendar/CalendarGridRow.d.vue.ts +18 -0
  536. package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +22 -0
  537. package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +18 -0
  538. package/dist/runtime/components/ui/calendar/CalendarHeadCell.d.vue.ts +18 -0
  539. package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +22 -0
  540. package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +18 -0
  541. package/dist/runtime/components/ui/calendar/CalendarHeader.d.vue.ts +18 -0
  542. package/dist/runtime/components/ui/calendar/CalendarHeader.vue +22 -0
  543. package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +18 -0
  544. package/dist/runtime/components/ui/calendar/CalendarHeading.d.vue.ts +19 -0
  545. package/dist/runtime/components/ui/calendar/CalendarHeading.vue +27 -0
  546. package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +19 -0
  547. package/dist/runtime/components/ui/calendar/CalendarNextButton.d.vue.ts +18 -0
  548. package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +31 -0
  549. package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +18 -0
  550. package/dist/runtime/components/ui/calendar/CalendarPrevButton.d.vue.ts +18 -0
  551. package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +31 -0
  552. package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +18 -0
  553. package/dist/runtime/components/ui/calendar/index.d.ts +13 -0
  554. package/dist/runtime/components/ui/calendar/index.js +12 -0
  555. package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +25 -0
  556. package/dist/runtime/components/ui/checkbox/Checkbox.vue +54 -0
  557. package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +25 -0
  558. package/dist/runtime/components/ui/checkbox/index.d.ts +1 -0
  559. package/dist/runtime/components/ui/checkbox/index.js +1 -0
  560. package/dist/runtime/components/ui/collapsible/Collapsible.d.vue.ts +20 -0
  561. package/dist/runtime/components/ui/collapsible/Collapsible.vue +24 -0
  562. package/dist/runtime/components/ui/collapsible/Collapsible.vue.d.ts +20 -0
  563. package/dist/runtime/components/ui/collapsible/CollapsibleContent.d.vue.ts +14 -0
  564. package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue +17 -0
  565. package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue.d.ts +14 -0
  566. package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.d.vue.ts +14 -0
  567. package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue +16 -0
  568. package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +14 -0
  569. package/dist/runtime/components/ui/collapsible/index.d.ts +3 -0
  570. package/dist/runtime/components/ui/collapsible/index.js +3 -0
  571. package/dist/runtime/components/ui/color-picker/ColorPicker.d.vue.ts +18 -0
  572. package/dist/runtime/components/ui/color-picker/ColorPicker.vue +51 -0
  573. package/dist/runtime/components/ui/color-picker/ColorPicker.vue.d.ts +18 -0
  574. package/dist/runtime/components/ui/color-picker/index.d.ts +1 -0
  575. package/dist/runtime/components/ui/color-picker/index.js +1 -0
  576. package/dist/runtime/components/ui/command/Command.d.vue.ts +36 -0
  577. package/dist/runtime/components/ui/command/Command.vue +82 -0
  578. package/dist/runtime/components/ui/command/Command.vue.d.ts +36 -0
  579. package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +28 -0
  580. package/dist/runtime/components/ui/command/CommandDialog.vue +34 -0
  581. package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +28 -0
  582. package/dist/runtime/components/ui/command/CommandEmpty.d.vue.ts +18 -0
  583. package/dist/runtime/components/ui/command/CommandEmpty.vue +28 -0
  584. package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +18 -0
  585. package/dist/runtime/components/ui/command/CommandGroup.d.vue.ts +19 -0
  586. package/dist/runtime/components/ui/command/CommandGroup.vue +48 -0
  587. package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +19 -0
  588. package/dist/runtime/components/ui/command/CommandInput.d.vue.ts +8 -0
  589. package/dist/runtime/components/ui/command/CommandInput.vue +40 -0
  590. package/dist/runtime/components/ui/command/CommandInput.vue.d.ts +8 -0
  591. package/dist/runtime/components/ui/command/CommandItem.d.vue.ts +22 -0
  592. package/dist/runtime/components/ui/command/CommandItem.vue +65 -0
  593. package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +22 -0
  594. package/dist/runtime/components/ui/command/CommandList.d.vue.ts +18 -0
  595. package/dist/runtime/components/ui/command/CommandList.vue +24 -0
  596. package/dist/runtime/components/ui/command/CommandList.vue.d.ts +18 -0
  597. package/dist/runtime/components/ui/command/CommandSeparator.d.vue.ts +18 -0
  598. package/dist/runtime/components/ui/command/CommandSeparator.vue +23 -0
  599. package/dist/runtime/components/ui/command/CommandSeparator.vue.d.ts +18 -0
  600. package/dist/runtime/components/ui/command/CommandShortcut.d.vue.ts +17 -0
  601. package/dist/runtime/components/ui/command/CommandShortcut.vue +15 -0
  602. package/dist/runtime/components/ui/command/CommandShortcut.vue.d.ts +17 -0
  603. package/dist/runtime/components/ui/command/index.d.ts +90 -0
  604. package/dist/runtime/components/ui/command/index.js +12 -0
  605. package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.d.vue.ts +12 -0
  606. package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.vue +152 -0
  607. package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.vue.d.ts +12 -0
  608. package/dist/runtime/components/ui/config-toolbar/index.d.ts +1 -0
  609. package/dist/runtime/components/ui/config-toolbar/index.js +1 -0
  610. package/dist/runtime/components/ui/context-menu/ContextMenu.d.vue.ts +18 -0
  611. package/dist/runtime/components/ui/context-menu/ContextMenu.vue +19 -0
  612. package/dist/runtime/components/ui/context-menu/ContextMenu.vue.d.ts +18 -0
  613. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.d.vue.ts +26 -0
  614. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +41 -0
  615. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +26 -0
  616. package/dist/runtime/components/ui/context-menu/ContextMenuContent.d.vue.ts +31 -0
  617. package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +48 -0
  618. package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue.d.ts +31 -0
  619. package/dist/runtime/components/ui/context-menu/ContextMenuGroup.d.vue.ts +14 -0
  620. package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue +16 -0
  621. package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue.d.ts +14 -0
  622. package/dist/runtime/components/ui/context-menu/ContextMenuItem.d.vue.ts +23 -0
  623. package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +27 -0
  624. package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue.d.ts +23 -0
  625. package/dist/runtime/components/ui/context-menu/ContextMenuLabel.d.vue.ts +19 -0
  626. package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue +23 -0
  627. package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue.d.ts +19 -0
  628. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.d.vue.ts +18 -0
  629. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue +19 -0
  630. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +18 -0
  631. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.d.vue.ts +25 -0
  632. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +45 -0
  633. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +25 -0
  634. package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.d.vue.ts +8 -0
  635. package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue +19 -0
  636. package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +8 -0
  637. package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.d.vue.ts +17 -0
  638. package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue +15 -0
  639. package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +17 -0
  640. package/dist/runtime/components/ui/context-menu/ContextMenuSub.d.vue.ts +18 -0
  641. package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue +18 -0
  642. package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue.d.ts +18 -0
  643. package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.d.vue.ts +34 -0
  644. package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +41 -0
  645. package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +34 -0
  646. package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.d.vue.ts +19 -0
  647. package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +31 -0
  648. package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +19 -0
  649. package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.d.vue.ts +14 -0
  650. package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue +18 -0
  651. package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +14 -0
  652. package/dist/runtime/components/ui/context-menu/index.d.ts +14 -0
  653. package/dist/runtime/components/ui/context-menu/index.js +14 -0
  654. package/dist/runtime/components/ui/date-picker/DatePicker.d.vue.ts +50 -0
  655. package/dist/runtime/components/ui/date-picker/DatePicker.vue +257 -0
  656. package/dist/runtime/components/ui/date-picker/DatePicker.vue.d.ts +50 -0
  657. package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.d.vue.ts +14 -0
  658. package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.vue +37 -0
  659. package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.vue.d.ts +14 -0
  660. package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.d.vue.ts +20 -0
  661. package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.vue +147 -0
  662. package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.vue.d.ts +20 -0
  663. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +31 -0
  664. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue +117 -0
  665. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +31 -0
  666. package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.d.vue.ts +14 -0
  667. package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.vue +38 -0
  668. package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.vue.d.ts +14 -0
  669. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +29 -0
  670. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue +106 -0
  671. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +29 -0
  672. package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.d.vue.ts +14 -0
  673. package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.vue +38 -0
  674. package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.vue.d.ts +14 -0
  675. package/dist/runtime/components/ui/date-picker/PickerShortcuts.d.vue.ts +28 -0
  676. package/dist/runtime/components/ui/date-picker/PickerShortcuts.vue +37 -0
  677. package/dist/runtime/components/ui/date-picker/PickerShortcuts.vue.d.ts +28 -0
  678. package/dist/runtime/components/ui/date-picker/index.d.ts +10 -0
  679. package/dist/runtime/components/ui/date-picker/index.js +9 -0
  680. package/dist/runtime/components/ui/date-picker/types.d.ts +5 -0
  681. package/dist/runtime/components/ui/date-picker/types.js +7 -0
  682. package/dist/runtime/components/ui/date-range-picker/DateRangePicker.d.vue.ts +54 -0
  683. package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue +304 -0
  684. package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue.d.ts +54 -0
  685. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.d.vue.ts +15 -0
  686. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.vue +27 -0
  687. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.vue.d.ts +15 -0
  688. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.d.vue.ts +23 -0
  689. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.vue +151 -0
  690. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.vue.d.ts +23 -0
  691. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +36 -0
  692. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue +169 -0
  693. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +36 -0
  694. package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.d.vue.ts +14 -0
  695. package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.vue +73 -0
  696. package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.vue.d.ts +14 -0
  697. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +34 -0
  698. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue +148 -0
  699. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +34 -0
  700. package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.d.vue.ts +14 -0
  701. package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.vue +73 -0
  702. package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.vue.d.ts +14 -0
  703. package/dist/runtime/components/ui/date-range-picker/index.d.ts +9 -0
  704. package/dist/runtime/components/ui/date-range-picker/index.js +8 -0
  705. package/dist/runtime/components/ui/date-range-picker/types.d.ts +5 -0
  706. package/dist/runtime/components/ui/date-range-picker/types.js +7 -0
  707. package/dist/runtime/components/ui/dialog/Dialog.d.vue.ts +21 -0
  708. package/dist/runtime/components/ui/dialog/Dialog.vue +21 -0
  709. package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +21 -0
  710. package/dist/runtime/components/ui/dialog/DialogClose.d.vue.ts +14 -0
  711. package/dist/runtime/components/ui/dialog/DialogClose.vue +16 -0
  712. package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +14 -0
  713. package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +37 -0
  714. package/dist/runtime/components/ui/dialog/DialogContent.vue +164 -0
  715. package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +37 -0
  716. package/dist/runtime/components/ui/dialog/DialogDescription.d.vue.ts +18 -0
  717. package/dist/runtime/components/ui/dialog/DialogDescription.vue +22 -0
  718. package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +18 -0
  719. package/dist/runtime/components/ui/dialog/DialogFooter.d.vue.ts +17 -0
  720. package/dist/runtime/components/ui/dialog/DialogFooter.vue +15 -0
  721. package/dist/runtime/components/ui/dialog/DialogFooter.vue.d.ts +17 -0
  722. package/dist/runtime/components/ui/dialog/DialogHeader.d.vue.ts +17 -0
  723. package/dist/runtime/components/ui/dialog/DialogHeader.vue +15 -0
  724. package/dist/runtime/components/ui/dialog/DialogHeader.vue.d.ts +17 -0
  725. package/dist/runtime/components/ui/dialog/DialogOverlay.d.vue.ts +18 -0
  726. package/dist/runtime/components/ui/dialog/DialogOverlay.vue +22 -0
  727. package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +18 -0
  728. package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +38 -0
  729. package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +174 -0
  730. package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +38 -0
  731. package/dist/runtime/components/ui/dialog/DialogTitle.d.vue.ts +18 -0
  732. package/dist/runtime/components/ui/dialog/DialogTitle.vue +22 -0
  733. package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +18 -0
  734. package/dist/runtime/components/ui/dialog/DialogTrigger.d.vue.ts +14 -0
  735. package/dist/runtime/components/ui/dialog/DialogTrigger.vue +16 -0
  736. package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +14 -0
  737. package/dist/runtime/components/ui/dialog/index.d.ts +10 -0
  738. package/dist/runtime/components/ui/dialog/index.js +10 -0
  739. package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +31 -0
  740. package/dist/runtime/components/ui/drawer/Drawer.vue +39 -0
  741. package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +31 -0
  742. package/dist/runtime/components/ui/drawer/DrawerClose.d.vue.ts +14 -0
  743. package/dist/runtime/components/ui/drawer/DrawerClose.vue +19 -0
  744. package/dist/runtime/components/ui/drawer/DrawerClose.vue.d.ts +14 -0
  745. package/dist/runtime/components/ui/drawer/DrawerContent.d.vue.ts +24 -0
  746. package/dist/runtime/components/ui/drawer/DrawerContent.vue +183 -0
  747. package/dist/runtime/components/ui/drawer/DrawerContent.vue.d.ts +24 -0
  748. package/dist/runtime/components/ui/drawer/DrawerDescription.d.vue.ts +18 -0
  749. package/dist/runtime/components/ui/drawer/DrawerDescription.vue +26 -0
  750. package/dist/runtime/components/ui/drawer/DrawerDescription.vue.d.ts +18 -0
  751. package/dist/runtime/components/ui/drawer/DrawerFooter.d.vue.ts +17 -0
  752. package/dist/runtime/components/ui/drawer/DrawerFooter.vue +15 -0
  753. package/dist/runtime/components/ui/drawer/DrawerFooter.vue.d.ts +17 -0
  754. package/dist/runtime/components/ui/drawer/DrawerHeader.d.vue.ts +17 -0
  755. package/dist/runtime/components/ui/drawer/DrawerHeader.vue +15 -0
  756. package/dist/runtime/components/ui/drawer/DrawerHeader.vue.d.ts +17 -0
  757. package/dist/runtime/components/ui/drawer/DrawerOverlay.d.vue.ts +7 -0
  758. package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +19 -0
  759. package/dist/runtime/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
  760. package/dist/runtime/components/ui/drawer/DrawerTitle.d.vue.ts +18 -0
  761. package/dist/runtime/components/ui/drawer/DrawerTitle.vue +26 -0
  762. package/dist/runtime/components/ui/drawer/DrawerTitle.vue.d.ts +18 -0
  763. package/dist/runtime/components/ui/drawer/DrawerTrigger.d.vue.ts +14 -0
  764. package/dist/runtime/components/ui/drawer/DrawerTrigger.vue +19 -0
  765. package/dist/runtime/components/ui/drawer/DrawerTrigger.vue.d.ts +14 -0
  766. package/dist/runtime/components/ui/drawer/index.d.ts +8 -0
  767. package/dist/runtime/components/ui/drawer/index.js +8 -0
  768. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +20 -0
  769. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +21 -0
  770. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +20 -0
  771. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +32 -0
  772. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +52 -0
  773. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +32 -0
  774. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +26 -0
  775. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +29 -0
  776. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
  777. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.d.vue.ts +14 -0
  778. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +18 -0
  779. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +14 -0
  780. package/dist/runtime/components/ui/dropdown-menu/index.d.ts +4 -0
  781. package/dist/runtime/components/ui/dropdown-menu/index.js +4 -0
  782. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +34 -0
  783. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +158 -0
  784. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +34 -0
  785. package/dist/runtime/components/ui/expression-editor/index.d.ts +1 -0
  786. package/dist/runtime/components/ui/expression-editor/index.js +1 -0
  787. package/dist/runtime/components/ui/field/Field.d.vue.ts +19 -0
  788. package/dist/runtime/components/ui/field/Field.vue +23 -0
  789. package/dist/runtime/components/ui/field/Field.vue.d.ts +19 -0
  790. package/dist/runtime/components/ui/field/FieldContent.d.vue.ts +17 -0
  791. package/dist/runtime/components/ui/field/FieldContent.vue +18 -0
  792. package/dist/runtime/components/ui/field/FieldContent.vue.d.ts +17 -0
  793. package/dist/runtime/components/ui/field/FieldDescription.d.vue.ts +17 -0
  794. package/dist/runtime/components/ui/field/FieldDescription.vue +20 -0
  795. package/dist/runtime/components/ui/field/FieldDescription.vue.d.ts +17 -0
  796. package/dist/runtime/components/ui/field/FieldError.d.vue.ts +20 -0
  797. package/dist/runtime/components/ui/field/FieldError.vue +51 -0
  798. package/dist/runtime/components/ui/field/FieldError.vue.d.ts +20 -0
  799. package/dist/runtime/components/ui/field/FieldGroup.d.vue.ts +17 -0
  800. package/dist/runtime/components/ui/field/FieldGroup.vue +18 -0
  801. package/dist/runtime/components/ui/field/FieldGroup.vue.d.ts +17 -0
  802. package/dist/runtime/components/ui/field/FieldLabel.d.vue.ts +19 -0
  803. package/dist/runtime/components/ui/field/FieldLabel.vue +29 -0
  804. package/dist/runtime/components/ui/field/FieldLabel.vue.d.ts +19 -0
  805. package/dist/runtime/components/ui/field/FieldLegend.d.vue.ts +18 -0
  806. package/dist/runtime/components/ui/field/FieldLegend.vue +22 -0
  807. package/dist/runtime/components/ui/field/FieldLegend.vue.d.ts +18 -0
  808. package/dist/runtime/components/ui/field/FieldSeparator.d.vue.ts +17 -0
  809. package/dist/runtime/components/ui/field/FieldSeparator.vue +27 -0
  810. package/dist/runtime/components/ui/field/FieldSeparator.vue.d.ts +17 -0
  811. package/dist/runtime/components/ui/field/FieldSet.d.vue.ts +17 -0
  812. package/dist/runtime/components/ui/field/FieldSet.vue +15 -0
  813. package/dist/runtime/components/ui/field/FieldSet.vue.d.ts +17 -0
  814. package/dist/runtime/components/ui/field/FieldTitle.d.vue.ts +17 -0
  815. package/dist/runtime/components/ui/field/FieldTitle.vue +18 -0
  816. package/dist/runtime/components/ui/field/FieldTitle.vue.d.ts +17 -0
  817. package/dist/runtime/components/ui/field/index.d.ts +15 -0
  818. package/dist/runtime/components/ui/field/index.js +61 -0
  819. package/dist/runtime/components/ui/icon-picker/IconPicker.d.vue.ts +12 -0
  820. package/dist/runtime/components/ui/icon-picker/IconPicker.vue +48 -0
  821. package/dist/runtime/components/ui/icon-picker/IconPicker.vue.d.ts +12 -0
  822. package/dist/runtime/components/ui/icon-picker/index.d.ts +1 -0
  823. package/dist/runtime/components/ui/icon-picker/index.js +1 -0
  824. package/dist/runtime/components/ui/input/Input.d.vue.ts +15 -0
  825. package/dist/runtime/components/ui/input/Input.vue +31 -0
  826. package/dist/runtime/components/ui/input/Input.vue.d.ts +15 -0
  827. package/dist/runtime/components/ui/input/index.d.ts +1 -0
  828. package/dist/runtime/components/ui/input/index.js +1 -0
  829. package/dist/runtime/components/ui/input-group/InputGroup.d.vue.ts +17 -0
  830. package/dist/runtime/components/ui/input-group/InputGroup.vue +34 -0
  831. package/dist/runtime/components/ui/input-group/InputGroup.vue.d.ts +17 -0
  832. package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +21 -0
  833. package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +33 -0
  834. package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +21 -0
  835. package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +24 -0
  836. package/dist/runtime/components/ui/input-group/InputGroupButton.vue +20 -0
  837. package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +24 -0
  838. package/dist/runtime/components/ui/input-group/InputGroupCombobox.d.vue.ts +28 -0
  839. package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue +90 -0
  840. package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue.d.ts +28 -0
  841. package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.d.vue.ts +10 -0
  842. package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue +27 -0
  843. package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue.d.ts +10 -0
  844. package/dist/runtime/components/ui/input-group/InputGroupInput.d.vue.ts +8 -0
  845. package/dist/runtime/components/ui/input-group/InputGroupInput.vue +20 -0
  846. package/dist/runtime/components/ui/input-group/InputGroupInput.vue.d.ts +8 -0
  847. package/dist/runtime/components/ui/input-group/InputGroupNumberField.d.vue.ts +18 -0
  848. package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue +57 -0
  849. package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue.d.ts +18 -0
  850. package/dist/runtime/components/ui/input-group/InputGroupText.d.vue.ts +17 -0
  851. package/dist/runtime/components/ui/input-group/InputGroupText.vue +17 -0
  852. package/dist/runtime/components/ui/input-group/InputGroupText.vue.d.ts +17 -0
  853. package/dist/runtime/components/ui/input-group/InputGroupTextarea.d.vue.ts +7 -0
  854. package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +17 -0
  855. package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue.d.ts +7 -0
  856. package/dist/runtime/components/ui/input-group/index.d.ts +19 -0
  857. package/dist/runtime/components/ui/input-group/index.js +43 -0
  858. package/dist/runtime/components/ui/label/Label.d.vue.ts +18 -0
  859. package/dist/runtime/components/ui/label/Label.vue +50 -0
  860. package/dist/runtime/components/ui/label/Label.vue.d.ts +18 -0
  861. package/dist/runtime/components/ui/label/index.d.ts +1 -0
  862. package/dist/runtime/components/ui/label/index.js +1 -0
  863. package/dist/runtime/components/ui/locale/Locale.d.vue.ts +28 -0
  864. package/dist/runtime/components/ui/locale/Locale.vue +350 -0
  865. package/dist/runtime/components/ui/locale/Locale.vue.d.ts +28 -0
  866. package/dist/runtime/components/ui/locale/index.d.ts +1 -0
  867. package/dist/runtime/components/ui/locale/index.js +1 -0
  868. package/dist/runtime/components/ui/markdown/Markdown.d.vue.ts +26 -0
  869. package/dist/runtime/components/ui/markdown/Markdown.vue +109 -0
  870. package/dist/runtime/components/ui/markdown/Markdown.vue.d.ts +26 -0
  871. package/dist/runtime/components/ui/markdown/index.d.ts +1 -0
  872. package/dist/runtime/components/ui/markdown/index.js +1 -0
  873. package/dist/runtime/components/ui/native-select/NativeSelect.d.vue.ts +23 -0
  874. package/dist/runtime/components/ui/native-select/NativeSelect.vue +42 -0
  875. package/dist/runtime/components/ui/native-select/NativeSelect.vue.d.ts +23 -0
  876. package/dist/runtime/components/ui/native-select/index.d.ts +1 -0
  877. package/dist/runtime/components/ui/native-select/index.js +1 -0
  878. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.d.vue.ts +27 -0
  879. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +41 -0
  880. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue.d.ts +27 -0
  881. package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.d.vue.ts +28 -0
  882. package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +32 -0
  883. package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +28 -0
  884. package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.d.vue.ts +8 -0
  885. package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +23 -0
  886. package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +8 -0
  887. package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.d.vue.ts +18 -0
  888. package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue +22 -0
  889. package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +18 -0
  890. package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.d.vue.ts +26 -0
  891. package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +27 -0
  892. package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +26 -0
  893. package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.d.vue.ts +18 -0
  894. package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +27 -0
  895. package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +18 -0
  896. package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.d.vue.ts +18 -0
  897. package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +33 -0
  898. package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +18 -0
  899. package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.d.vue.ts +8 -0
  900. package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +32 -0
  901. package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +8 -0
  902. package/dist/runtime/components/ui/navigation-menu/index.d.ts +9 -0
  903. package/dist/runtime/components/ui/navigation-menu/index.js +12 -0
  904. package/dist/runtime/components/ui/number-field/NumberField.d.vue.ts +26 -0
  905. package/dist/runtime/components/ui/number-field/NumberField.vue +39 -0
  906. package/dist/runtime/components/ui/number-field/NumberField.vue.d.ts +26 -0
  907. package/dist/runtime/components/ui/number-field/NumberFieldContent.d.vue.ts +17 -0
  908. package/dist/runtime/components/ui/number-field/NumberFieldContent.vue +12 -0
  909. package/dist/runtime/components/ui/number-field/NumberFieldContent.vue.d.ts +17 -0
  910. package/dist/runtime/components/ui/number-field/NumberFieldDecrement.d.vue.ts +18 -0
  911. package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue +29 -0
  912. package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue.d.ts +18 -0
  913. package/dist/runtime/components/ui/number-field/NumberFieldIncrement.d.vue.ts +18 -0
  914. package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue +29 -0
  915. package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue.d.ts +18 -0
  916. package/dist/runtime/components/ui/number-field/NumberFieldInput.d.vue.ts +7 -0
  917. package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +14 -0
  918. package/dist/runtime/components/ui/number-field/NumberFieldInput.vue.d.ts +7 -0
  919. package/dist/runtime/components/ui/number-field/index.d.ts +5 -0
  920. package/dist/runtime/components/ui/number-field/index.js +5 -0
  921. package/dist/runtime/components/ui/popover/Popover.d.vue.ts +21 -0
  922. package/dist/runtime/components/ui/popover/Popover.vue +21 -0
  923. package/dist/runtime/components/ui/popover/Popover.vue.d.ts +21 -0
  924. package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +14 -0
  925. package/dist/runtime/components/ui/popover/PopoverAnchor.vue +17 -0
  926. package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +14 -0
  927. package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +36 -0
  928. package/dist/runtime/components/ui/popover/PopoverContent.vue +58 -0
  929. package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +36 -0
  930. package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +14 -0
  931. package/dist/runtime/components/ui/popover/PopoverTrigger.vue +16 -0
  932. package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +14 -0
  933. package/dist/runtime/components/ui/popover/index.d.ts +4 -0
  934. package/dist/runtime/components/ui/popover/index.js +4 -0
  935. package/dist/runtime/components/ui/radio-group/RadioGroup.d.vue.ts +22 -0
  936. package/dist/runtime/components/ui/radio-group/RadioGroup.vue +32 -0
  937. package/dist/runtime/components/ui/radio-group/RadioGroup.vue.d.ts +22 -0
  938. package/dist/runtime/components/ui/radio-group/RadioGroupItem.d.vue.ts +8 -0
  939. package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue +36 -0
  940. package/dist/runtime/components/ui/radio-group/RadioGroupItem.vue.d.ts +8 -0
  941. package/dist/runtime/components/ui/radio-group/index.d.ts +2 -0
  942. package/dist/runtime/components/ui/radio-group/index.js +2 -0
  943. package/dist/runtime/components/ui/range-calendar/RangeCalendar.d.vue.ts +18 -0
  944. package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +100 -0
  945. package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +18 -0
  946. package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.d.vue.ts +18 -0
  947. package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +49 -0
  948. package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +18 -0
  949. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.d.vue.ts +20 -0
  950. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +45 -0
  951. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +20 -0
  952. package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.d.vue.ts +18 -0
  953. package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +22 -0
  954. package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +18 -0
  955. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.d.vue.ts +14 -0
  956. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue +16 -0
  957. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +14 -0
  958. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.d.vue.ts +14 -0
  959. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue +16 -0
  960. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +14 -0
  961. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.d.vue.ts +18 -0
  962. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +22 -0
  963. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +18 -0
  964. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.d.vue.ts +18 -0
  965. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +22 -0
  966. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +18 -0
  967. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.d.vue.ts +18 -0
  968. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +22 -0
  969. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +18 -0
  970. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.d.vue.ts +19 -0
  971. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +26 -0
  972. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +19 -0
  973. package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.d.vue.ts +18 -0
  974. package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +32 -0
  975. package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +18 -0
  976. package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.d.vue.ts +18 -0
  977. package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +32 -0
  978. package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +18 -0
  979. package/dist/runtime/components/ui/range-calendar/index.d.ts +12 -0
  980. package/dist/runtime/components/ui/range-calendar/index.js +12 -0
  981. package/dist/runtime/components/ui/scroll-area/ScrollArea.d.vue.ts +18 -0
  982. package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +37 -0
  983. package/dist/runtime/components/ui/scroll-area/ScrollArea.vue.d.ts +18 -0
  984. package/dist/runtime/components/ui/scroll-area/ScrollBar.d.vue.ts +10 -0
  985. package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +32 -0
  986. package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +10 -0
  987. package/dist/runtime/components/ui/scroll-area/index.d.ts +2 -0
  988. package/dist/runtime/components/ui/scroll-area/index.js +2 -0
  989. package/dist/runtime/components/ui/select/Select.d.vue.ts +24 -0
  990. package/dist/runtime/components/ui/select/Select.vue +29 -0
  991. package/dist/runtime/components/ui/select/Select.vue.d.ts +24 -0
  992. package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +28 -0
  993. package/dist/runtime/components/ui/select/SelectContent.vue +68 -0
  994. package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +28 -0
  995. package/dist/runtime/components/ui/select/SelectGroup.d.vue.ts +14 -0
  996. package/dist/runtime/components/ui/select/SelectGroup.vue +17 -0
  997. package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +14 -0
  998. package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +20 -0
  999. package/dist/runtime/components/ui/select/SelectItem.vue +48 -0
  1000. package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +20 -0
  1001. package/dist/runtime/components/ui/select/SelectItemText.d.vue.ts +14 -0
  1002. package/dist/runtime/components/ui/select/SelectItemText.vue +17 -0
  1003. package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +14 -0
  1004. package/dist/runtime/components/ui/select/SelectLabel.d.vue.ts +18 -0
  1005. package/dist/runtime/components/ui/select/SelectLabel.vue +20 -0
  1006. package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +18 -0
  1007. package/dist/runtime/components/ui/select/SelectScrollDownButton.d.vue.ts +18 -0
  1008. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +29 -0
  1009. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +18 -0
  1010. package/dist/runtime/components/ui/select/SelectScrollUpButton.d.vue.ts +18 -0
  1011. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +29 -0
  1012. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +18 -0
  1013. package/dist/runtime/components/ui/select/SelectSeparator.d.vue.ts +8 -0
  1014. package/dist/runtime/components/ui/select/SelectSeparator.vue +20 -0
  1015. package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +8 -0
  1016. package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +21 -0
  1017. package/dist/runtime/components/ui/select/SelectTrigger.vue +38 -0
  1018. package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +21 -0
  1019. package/dist/runtime/components/ui/select/SelectValue.d.vue.ts +14 -0
  1020. package/dist/runtime/components/ui/select/SelectValue.vue +18 -0
  1021. package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +14 -0
  1022. package/dist/runtime/components/ui/select/index.d.ts +11 -0
  1023. package/dist/runtime/components/ui/select/index.js +11 -0
  1024. package/dist/runtime/components/ui/separator/Separator.d.vue.ts +11 -0
  1025. package/dist/runtime/components/ui/separator/Separator.vue +27 -0
  1026. package/dist/runtime/components/ui/separator/Separator.vue.d.ts +11 -0
  1027. package/dist/runtime/components/ui/separator/index.d.ts +1 -0
  1028. package/dist/runtime/components/ui/separator/index.js +1 -0
  1029. package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +21 -0
  1030. package/dist/runtime/components/ui/sheet/Sheet.vue +21 -0
  1031. package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +21 -0
  1032. package/dist/runtime/components/ui/sheet/SheetClose.d.vue.ts +14 -0
  1033. package/dist/runtime/components/ui/sheet/SheetClose.vue +16 -0
  1034. package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +14 -0
  1035. package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +35 -0
  1036. package/dist/runtime/components/ui/sheet/SheetContent.vue +53 -0
  1037. package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +35 -0
  1038. package/dist/runtime/components/ui/sheet/SheetDescription.d.vue.ts +18 -0
  1039. package/dist/runtime/components/ui/sheet/SheetDescription.vue +21 -0
  1040. package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +18 -0
  1041. package/dist/runtime/components/ui/sheet/SheetFooter.d.vue.ts +17 -0
  1042. package/dist/runtime/components/ui/sheet/SheetFooter.vue +17 -0
  1043. package/dist/runtime/components/ui/sheet/SheetFooter.vue.d.ts +17 -0
  1044. package/dist/runtime/components/ui/sheet/SheetHeader.d.vue.ts +17 -0
  1045. package/dist/runtime/components/ui/sheet/SheetHeader.vue +15 -0
  1046. package/dist/runtime/components/ui/sheet/SheetHeader.vue.d.ts +17 -0
  1047. package/dist/runtime/components/ui/sheet/SheetOverlay.d.vue.ts +18 -0
  1048. package/dist/runtime/components/ui/sheet/SheetOverlay.vue +22 -0
  1049. package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +18 -0
  1050. package/dist/runtime/components/ui/sheet/SheetTitle.d.vue.ts +18 -0
  1051. package/dist/runtime/components/ui/sheet/SheetTitle.vue +21 -0
  1052. package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +18 -0
  1053. package/dist/runtime/components/ui/sheet/SheetTrigger.d.vue.ts +14 -0
  1054. package/dist/runtime/components/ui/sheet/SheetTrigger.vue +16 -0
  1055. package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +14 -0
  1056. package/dist/runtime/components/ui/sheet/index.d.ts +8 -0
  1057. package/dist/runtime/components/ui/sheet/index.js +8 -0
  1058. package/dist/runtime/components/ui/sidebar/Sidebar.d.vue.ts +22 -0
  1059. package/dist/runtime/components/ui/sidebar/Sidebar.vue +93 -0
  1060. package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +22 -0
  1061. package/dist/runtime/components/ui/sidebar/SidebarContent.d.vue.ts +17 -0
  1062. package/dist/runtime/components/ui/sidebar/SidebarContent.vue +16 -0
  1063. package/dist/runtime/components/ui/sidebar/SidebarContent.vue.d.ts +17 -0
  1064. package/dist/runtime/components/ui/sidebar/SidebarFooter.d.vue.ts +17 -0
  1065. package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +16 -0
  1066. package/dist/runtime/components/ui/sidebar/SidebarFooter.vue.d.ts +17 -0
  1067. package/dist/runtime/components/ui/sidebar/SidebarGroup.d.vue.ts +17 -0
  1068. package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +16 -0
  1069. package/dist/runtime/components/ui/sidebar/SidebarGroup.vue.d.ts +17 -0
  1070. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.d.vue.ts +18 -0
  1071. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +26 -0
  1072. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue.d.ts +18 -0
  1073. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.d.vue.ts +17 -0
  1074. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +16 -0
  1075. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue.d.ts +17 -0
  1076. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.d.vue.ts +18 -0
  1077. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +25 -0
  1078. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +18 -0
  1079. package/dist/runtime/components/ui/sidebar/SidebarHeader.d.vue.ts +17 -0
  1080. package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +16 -0
  1081. package/dist/runtime/components/ui/sidebar/SidebarHeader.vue.d.ts +17 -0
  1082. package/dist/runtime/components/ui/sidebar/SidebarInput.d.vue.ts +17 -0
  1083. package/dist/runtime/components/ui/sidebar/SidebarInput.vue +20 -0
  1084. package/dist/runtime/components/ui/sidebar/SidebarInput.vue.d.ts +17 -0
  1085. package/dist/runtime/components/ui/sidebar/SidebarInset.d.vue.ts +17 -0
  1086. package/dist/runtime/components/ui/sidebar/SidebarInset.vue +19 -0
  1087. package/dist/runtime/components/ui/sidebar/SidebarInset.vue.d.ts +17 -0
  1088. package/dist/runtime/components/ui/sidebar/SidebarMenu.d.vue.ts +17 -0
  1089. package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +16 -0
  1090. package/dist/runtime/components/ui/sidebar/SidebarMenu.vue.d.ts +17 -0
  1091. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.d.vue.ts +21 -0
  1092. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +31 -0
  1093. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue.d.ts +21 -0
  1094. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.d.vue.ts +17 -0
  1095. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +24 -0
  1096. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +17 -0
  1097. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +24 -0
  1098. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue +50 -0
  1099. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +24 -0
  1100. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +26 -0
  1101. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +28 -0
  1102. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +26 -0
  1103. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.d.vue.ts +17 -0
  1104. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +16 -0
  1105. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue.d.ts +17 -0
  1106. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.d.vue.ts +8 -0
  1107. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +32 -0
  1108. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +8 -0
  1109. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.d.vue.ts +17 -0
  1110. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +20 -0
  1111. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue.d.ts +17 -0
  1112. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.d.vue.ts +23 -0
  1113. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +32 -0
  1114. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +23 -0
  1115. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.d.vue.ts +17 -0
  1116. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +16 -0
  1117. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +17 -0
  1118. package/dist/runtime/components/ui/sidebar/SidebarProvider.d.vue.ts +26 -0
  1119. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +61 -0
  1120. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +26 -0
  1121. package/dist/runtime/components/ui/sidebar/SidebarRail.d.vue.ts +17 -0
  1122. package/dist/runtime/components/ui/sidebar/SidebarRail.vue +30 -0
  1123. package/dist/runtime/components/ui/sidebar/SidebarRail.vue.d.ts +17 -0
  1124. package/dist/runtime/components/ui/sidebar/SidebarSeparator.d.vue.ts +17 -0
  1125. package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +17 -0
  1126. package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue.d.ts +17 -0
  1127. package/dist/runtime/components/ui/sidebar/SidebarTrigger.d.vue.ts +7 -0
  1128. package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +23 -0
  1129. package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue.d.ts +7 -0
  1130. package/dist/runtime/components/ui/sidebar/index.d.ts +37 -0
  1131. package/dist/runtime/components/ui/sidebar/index.js +45 -0
  1132. package/dist/runtime/components/ui/sidebar/utils.d.ts +56 -0
  1133. package/dist/runtime/components/ui/sidebar/utils.js +8 -0
  1134. package/dist/runtime/components/ui/skeleton/Skeleton.d.vue.ts +7 -0
  1135. package/dist/runtime/components/ui/skeleton/Skeleton.vue +14 -0
  1136. package/dist/runtime/components/ui/skeleton/Skeleton.vue.d.ts +7 -0
  1137. package/dist/runtime/components/ui/skeleton/index.d.ts +1 -0
  1138. package/dist/runtime/components/ui/skeleton/index.js +1 -0
  1139. package/dist/runtime/components/ui/switch/Switch.d.vue.ts +29 -0
  1140. package/dist/runtime/components/ui/switch/Switch.vue +58 -0
  1141. package/dist/runtime/components/ui/switch/Switch.vue.d.ts +29 -0
  1142. package/dist/runtime/components/ui/switch/index.d.ts +1 -0
  1143. package/dist/runtime/components/ui/switch/index.js +1 -0
  1144. package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +24 -0
  1145. package/dist/runtime/components/ui/tabs/Tabs.vue +31 -0
  1146. package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +24 -0
  1147. package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +18 -0
  1148. package/dist/runtime/components/ui/tabs/TabsContent.vue +23 -0
  1149. package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +18 -0
  1150. package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +18 -0
  1151. package/dist/runtime/components/ui/tabs/TabsList.vue +86 -0
  1152. package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +18 -0
  1153. package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +18 -0
  1154. package/dist/runtime/components/ui/tabs/TabsTrigger.vue +32 -0
  1155. package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +18 -0
  1156. package/dist/runtime/components/ui/tabs/index.d.ts +4 -0
  1157. package/dist/runtime/components/ui/tabs/index.js +4 -0
  1158. package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +14 -0
  1159. package/dist/runtime/components/ui/textarea/Textarea.vue +29 -0
  1160. package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +14 -0
  1161. package/dist/runtime/components/ui/textarea/index.d.ts +1 -0
  1162. package/dist/runtime/components/ui/textarea/index.js +1 -0
  1163. package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +34 -0
  1164. package/dist/runtime/components/ui/toggle/Toggle.vue +33 -0
  1165. package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +34 -0
  1166. package/dist/runtime/components/ui/toggle/index.d.ts +7 -0
  1167. package/dist/runtime/components/ui/toggle/index.js +23 -0
  1168. package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +28 -0
  1169. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +41 -0
  1170. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +28 -0
  1171. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +21 -0
  1172. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +33 -0
  1173. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +21 -0
  1174. package/dist/runtime/components/ui/toggle-group/index.d.ts +8 -0
  1175. package/dist/runtime/components/ui/toggle-group/index.js +3 -0
  1176. package/dist/runtime/components/ui/tooltip/Tooltip.d.vue.ts +20 -0
  1177. package/dist/runtime/components/ui/tooltip/Tooltip.vue +27 -0
  1178. package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +20 -0
  1179. package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +27 -0
  1180. package/dist/runtime/components/ui/tooltip/TooltipContent.vue +59 -0
  1181. package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +27 -0
  1182. package/dist/runtime/components/ui/tooltip/TooltipTrigger.d.vue.ts +14 -0
  1183. package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue +17 -0
  1184. package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue.d.ts +14 -0
  1185. package/dist/runtime/components/ui/tooltip/index.d.ts +3 -0
  1186. package/dist/runtime/components/ui/tooltip/index.js +3 -0
  1187. package/dist/runtime/composables/useDragging.d.ts +25 -0
  1188. package/dist/runtime/composables/useDragging.js +76 -0
  1189. package/dist/runtime/composables/useInfinitePlane.d.ts +30 -0
  1190. package/dist/runtime/composables/useInfinitePlane.js +24 -0
  1191. package/dist/runtime/composables/useOverlay.d.ts +106 -0
  1192. package/dist/runtime/composables/useOverlay.js +269 -0
  1193. package/dist/runtime/composables/useTranslateLocale.d.ts +11 -0
  1194. package/dist/runtime/composables/useTranslateLocale.js +65 -0
  1195. package/dist/runtime/composables/useTreeDnd.d.ts +52 -0
  1196. package/dist/runtime/composables/useTreeDnd.js +211 -0
  1197. package/dist/runtime/plugins/i18n/index.d.ts +2 -0
  1198. package/dist/runtime/plugins/i18n/index.js +14 -0
  1199. package/dist/runtime/share/define-registry.d.ts +57 -0
  1200. package/dist/runtime/share/define-registry.js +63 -0
  1201. package/dist/runtime/share/event-bus.d.ts +118 -0
  1202. package/dist/runtime/share/event-bus.js +55 -0
  1203. package/dist/runtime/share/expression.d.ts +22 -0
  1204. package/dist/runtime/share/expression.js +134 -0
  1205. package/dist/runtime/share/layout.d.ts +123 -0
  1206. package/dist/runtime/share/layout.js +220 -0
  1207. package/dist/runtime/share/locale.d.ts +11 -0
  1208. package/dist/runtime/share/locale.js +37 -0
  1209. package/dist/runtime/share/markdown.d.ts +9 -0
  1210. package/dist/runtime/share/markdown.js +6 -0
  1211. package/dist/runtime/share/slot-renderer.d.vue.ts +50 -0
  1212. package/dist/runtime/share/slot-renderer.vue +118 -0
  1213. package/dist/runtime/share/slot-renderer.vue.d.ts +50 -0
  1214. package/dist/runtime/share/use-active-tab-id.d.ts +13 -0
  1215. package/dist/runtime/share/use-active-tab-id.js +34 -0
  1216. package/dist/runtime/shims.d.ts +4 -0
  1217. package/dist/runtime/style.css +1 -0
  1218. package/dist/runtime/utils/ai/cel-prompt.d.ts +11 -0
  1219. package/dist/runtime/utils/ai/cel-prompt.js +27 -0
  1220. package/dist/runtime/utils/ai/index.d.ts +39 -0
  1221. package/dist/runtime/utils/ai/index.js +257 -0
  1222. package/dist/runtime/utils/cel-context.d.ts +10 -0
  1223. package/dist/runtime/utils/cel-context.js +16 -0
  1224. package/dist/runtime/utils/cel.d.ts +5 -0
  1225. package/dist/runtime/utils/cel.js +42 -0
  1226. package/dist/runtime/utils/cn.d.ts +2 -0
  1227. package/dist/runtime/utils/cn.js +3 -0
  1228. package/dist/runtime/utils/config-clipboard.d.ts +4 -0
  1229. package/dist/runtime/utils/config-clipboard.js +12 -0
  1230. package/dist/runtime/utils/markdown-tooltip.d.ts +4 -0
  1231. package/dist/runtime/utils/markdown-tooltip.js +55 -0
  1232. package/dist/runtime/utils/markdown.d.ts +5 -0
  1233. package/dist/runtime/utils/markdown.js +6 -0
  1234. package/dist/runtime/vendor/cel-js/CLAUDE.md +80 -0
  1235. package/dist/runtime/vendor/cel-js/LICENSE +21 -0
  1236. package/dist/runtime/vendor/cel-js/PROMPT.md +344 -0
  1237. package/dist/runtime/vendor/cel-js/VENDORED +3 -0
  1238. package/dist/runtime/vendor/cel-js/__tests__/helpers.d.ts +8 -0
  1239. package/dist/runtime/vendor/cel-js/__tests__/helpers.js +18 -0
  1240. package/dist/runtime/vendor/cel-js/lib/decimal.d.ts +31 -0
  1241. package/dist/runtime/vendor/cel-js/lib/decimal.js +208 -0
  1242. package/dist/runtime/vendor/cel-js/lib/errors.d.ts +50 -0
  1243. package/dist/runtime/vendor/cel-js/lib/errors.js +112 -0
  1244. package/dist/runtime/vendor/cel-js/lib/evaluator.d.ts +37 -0
  1245. package/dist/runtime/vendor/cel-js/lib/evaluator.js +163 -0
  1246. package/dist/runtime/vendor/cel-js/lib/functions.d.ts +2 -0
  1247. package/dist/runtime/vendor/cel-js/lib/functions.js +402 -0
  1248. package/dist/runtime/vendor/cel-js/lib/globals.d.ts +27 -0
  1249. package/dist/runtime/vendor/cel-js/lib/globals.js +31 -0
  1250. package/dist/runtime/vendor/cel-js/lib/http-builder.d.ts +35 -0
  1251. package/dist/runtime/vendor/cel-js/lib/http-builder.js +111 -0
  1252. package/dist/runtime/vendor/cel-js/lib/http-builtins.d.ts +15 -0
  1253. package/dist/runtime/vendor/cel-js/lib/http-builtins.js +55 -0
  1254. package/dist/runtime/vendor/cel-js/lib/index.d.ts +3 -0
  1255. package/dist/runtime/vendor/cel-js/lib/index.js +3 -0
  1256. package/dist/runtime/vendor/cel-js/lib/macros.d.ts +2 -0
  1257. package/dist/runtime/vendor/cel-js/lib/macros.js +268 -0
  1258. package/dist/runtime/vendor/cel-js/lib/operators.d.ts +29 -0
  1259. package/dist/runtime/vendor/cel-js/lib/operators.js +673 -0
  1260. package/dist/runtime/vendor/cel-js/lib/optional.d.ts +5 -0
  1261. package/dist/runtime/vendor/cel-js/lib/optional.js +111 -0
  1262. package/dist/runtime/vendor/cel-js/lib/options.d.ts +15 -0
  1263. package/dist/runtime/vendor/cel-js/lib/options.js +37 -0
  1264. package/dist/runtime/vendor/cel-js/lib/overloads.d.ts +2 -0
  1265. package/dist/runtime/vendor/cel-js/lib/overloads.js +170 -0
  1266. package/dist/runtime/vendor/cel-js/lib/parser.d.ts +83 -0
  1267. package/dist/runtime/vendor/cel-js/lib/parser.js +787 -0
  1268. package/dist/runtime/vendor/cel-js/lib/registry.d.ts +212 -0
  1269. package/dist/runtime/vendor/cel-js/lib/registry.js +1332 -0
  1270. package/dist/runtime/vendor/cel-js/lib/serialize.d.ts +3 -0
  1271. package/dist/runtime/vendor/cel-js/lib/serialize.js +168 -0
  1272. package/dist/runtime/vendor/cel-js/lib/type-checker.d.ts +15 -0
  1273. package/dist/runtime/vendor/cel-js/lib/type-checker.js +56 -0
  1274. package/dist/runtime/vendor/cel-js/lib/types.d.ts +192 -0
  1275. package/dist/runtime/vendor/cel-js/lib/types.js +0 -0
  1276. package/dist/types.d.mts +6 -10
  1277. package/package.json +1 -1
  1278. package/dist/module.d.cts +0 -2
@@ -0,0 +1,1332 @@
1
+ import { EvaluationError, evaluationError } from "./errors.js";
2
+ import { Decimal } from "./decimal.js";
3
+ import { Option } from "effect";
4
+ import { optionalOf } from "./optional.js";
5
+ import { isAsync, hasOwn, objFreeze, objKeys, objEntries, RESERVED } from "./globals.js";
6
+ export class Type {
7
+ #name;
8
+ constructor(name) {
9
+ this.#name = name;
10
+ objFreeze(this);
11
+ }
12
+ get name() {
13
+ return this.#name;
14
+ }
15
+ get [Symbol.toStringTag]() {
16
+ return `Type<${this.#name}>`;
17
+ }
18
+ toString() {
19
+ return `Type<${this.#name}>`;
20
+ }
21
+ }
22
+ export const TYPES = {
23
+ string: new Type("string"),
24
+ bool: new Type("bool"),
25
+ number: new Type("number"),
26
+ map: new Type("map"),
27
+ list: new Type("list"),
28
+ bytes: new Type("bytes"),
29
+ null_type: new Type("null"),
30
+ type: new Type("type")
31
+ };
32
+ const valueTypeMatchers = {
33
+ dyn(v, ev) {
34
+ switch (typeof v) {
35
+ case "string":
36
+ case "number":
37
+ case "bigint":
38
+ case "boolean":
39
+ return true;
40
+ case "object":
41
+ if (v instanceof Decimal) return true;
42
+ switch (v ? v.constructor : v) {
43
+ case null:
44
+ case void 0:
45
+ case Object:
46
+ case Map:
47
+ case Array:
48
+ case Set:
49
+ return true;
50
+ default:
51
+ if (ev.objectTypesByConstructor.get(v.constructor)) return true;
52
+ }
53
+ }
54
+ return !!ev.debugType(v);
55
+ },
56
+ string(v) {
57
+ return typeof v === "string";
58
+ },
59
+ number(v) {
60
+ return v instanceof Decimal || typeof v === "number" || typeof v === "bigint";
61
+ },
62
+ bool(v) {
63
+ return typeof v === "boolean";
64
+ },
65
+ null(v) {
66
+ return v === null;
67
+ },
68
+ bytes(v) {
69
+ return v instanceof Uint8Array;
70
+ },
71
+ type(v) {
72
+ return v instanceof Type;
73
+ },
74
+ list(v) {
75
+ switch (v?.constructor) {
76
+ case Array:
77
+ case Set:
78
+ return true;
79
+ default:
80
+ return false;
81
+ }
82
+ },
83
+ map(v) {
84
+ switch (typeof v === "object" && v ? v.constructor : null) {
85
+ case void 0:
86
+ case Object:
87
+ case Map:
88
+ return true;
89
+ default:
90
+ return false;
91
+ }
92
+ },
93
+ optional(v) {
94
+ return Option.isOption(v);
95
+ },
96
+ message(v, ev) {
97
+ return this === ev.debugType(v);
98
+ }
99
+ };
100
+ valueTypeMatchers.param = valueTypeMatchers.dyn;
101
+ export class TypeDeclaration {
102
+ #matchesCache = /* @__PURE__ */ new WeakMap();
103
+ kind;
104
+ type;
105
+ name;
106
+ keyType;
107
+ valueType;
108
+ unwrappedType;
109
+ wrappedType;
110
+ hasDynType;
111
+ hasPlaceholderType;
112
+ matchesValueType;
113
+ fieldLazy;
114
+ constructor({ kind, type, name, keyType, valueType }) {
115
+ this.kind = kind;
116
+ this.type = type;
117
+ this.name = name;
118
+ this.keyType = keyType;
119
+ this.valueType = valueType;
120
+ this.unwrappedType = kind === "dyn" && valueType ? valueType.unwrappedType : this;
121
+ this.wrappedType = kind === "dyn" ? this : _createDynType(this.unwrappedType);
122
+ this.hasDynType = this.kind === "dyn" || this.valueType?.hasDynType || this.keyType?.hasDynType || false;
123
+ this.hasPlaceholderType = this.kind === "param" || this.keyType?.hasPlaceholderType || this.valueType?.hasPlaceholderType || false;
124
+ this.fieldLazy = (_obj, _key, _ast, _ev) => void 0;
125
+ if (kind === "list") this.fieldLazy = this.#getListField.bind(this);
126
+ else if (kind === "map") this.fieldLazy = this.#getMapField.bind(this);
127
+ else if (kind === "message") this.fieldLazy = this.#getMessageField.bind(this);
128
+ else if (kind === "optional") this.fieldLazy = this.#getOptionalField.bind(this);
129
+ this.matchesValueType = valueTypeMatchers[name] || valueTypeMatchers[kind];
130
+ objFreeze(this);
131
+ }
132
+ isDynOrBool() {
133
+ return this.type === "bool" || this.kind === "dyn";
134
+ }
135
+ isEmpty() {
136
+ return !!(this.valueType && this.valueType.kind === "param");
137
+ }
138
+ unify(r, t2) {
139
+ if (this === t2 || this.kind === "dyn" || t2.kind === "param") return this;
140
+ if (t2.kind === "dyn" || this.kind === "param") return t2;
141
+ if (this.kind !== t2.kind) return null;
142
+ if (!(this.hasPlaceholderType || t2.hasPlaceholderType || this.hasDynType || t2.hasDynType))
143
+ return null;
144
+ const valueType = this.valueType.unify(r, t2.valueType);
145
+ if (!valueType) return null;
146
+ switch (this.kind) {
147
+ case "optional":
148
+ return r.getOptionalType(valueType);
149
+ case "list":
150
+ return r.getListType(valueType);
151
+ case "map": {
152
+ const keyType = this.keyType.unify(r, t2.keyType);
153
+ return keyType ? r.getMapType(keyType, valueType) : null;
154
+ }
155
+ }
156
+ return null;
157
+ }
158
+ templated(r, bind) {
159
+ if (!this.hasPlaceholderType) return this;
160
+ switch (this.kind) {
161
+ case "dyn":
162
+ return this.valueType.templated(r, bind);
163
+ case "param":
164
+ return bind?.get(this.name) || this;
165
+ case "map":
166
+ return r.getMapType(this.keyType.templated(r, bind), this.valueType.templated(r, bind));
167
+ case "list":
168
+ return r.getListType(this.valueType.templated(r, bind));
169
+ case "optional":
170
+ return r.getOptionalType(this.valueType.templated(r, bind));
171
+ default:
172
+ return this;
173
+ }
174
+ }
175
+ toString() {
176
+ return this.name;
177
+ }
178
+ #getOptionalField(obj, key, ast, ev) {
179
+ const unwrapped = Option.isOption(obj) ? Option.getOrUndefined(obj) : obj;
180
+ if (unwrapped === void 0) return Option.none();
181
+ const type = ev.debugType(unwrapped);
182
+ try {
183
+ return optionalOf(type.fieldLazy(unwrapped, key, ast, ev));
184
+ } catch (e) {
185
+ if (e instanceof EvaluationError) return Option.none();
186
+ throw e;
187
+ }
188
+ }
189
+ #getMessageField(obj, key, ast, ev) {
190
+ const ctor = obj && typeof obj === "object" ? obj.constructor : void 0;
191
+ const message = ctor ? ev.objectTypesByConstructor.get(ctor) : void 0;
192
+ if (!message) return void 0;
193
+ const type = message.fields ? message.fields[key] : dynType;
194
+ if (!type) return void 0;
195
+ const value = obj instanceof Map ? obj.get(key) : obj[key];
196
+ if (value === void 0) return void 0;
197
+ if (type.matchesValueType(value, ev)) return value;
198
+ throw evaluationError(
199
+ "field_type_mismatch",
200
+ `Field '${key}' is not of type '${type}', got '${ev.debugType(value)}'`,
201
+ ast
202
+ );
203
+ }
204
+ #getMapField(obj, key, ast, ev) {
205
+ const value = obj instanceof Map ? obj.get(key) : obj && hasOwn(obj, key) ? obj[key] : void 0;
206
+ if (value === void 0) return void 0;
207
+ if (this.valueType.matchesValueType(value, ev)) return value;
208
+ throw evaluationError(
209
+ "field_type_mismatch",
210
+ `Field '${key}' is not of type '${this.valueType}', got '${ev.debugType(value)}'`,
211
+ ast
212
+ );
213
+ }
214
+ #getListElementAtIndex(list, pos) {
215
+ switch (list?.constructor) {
216
+ case Array:
217
+ return list[pos];
218
+ case Set: {
219
+ let i = 0;
220
+ for (const item of list) {
221
+ if (i++ !== pos) continue;
222
+ return item;
223
+ }
224
+ }
225
+ }
226
+ return void 0;
227
+ }
228
+ #getListField(obj, key, ast, ev) {
229
+ let keyNum;
230
+ if (key instanceof Decimal) keyNum = key.toNumber();
231
+ else if (typeof key === "bigint") keyNum = Number(key);
232
+ else if (typeof key === "number") keyNum = key;
233
+ else return void 0;
234
+ const value = this.#getListElementAtIndex(obj, keyNum);
235
+ if (value === void 0) {
236
+ if (!obj) return void 0;
237
+ const sized = obj;
238
+ throw evaluationError(
239
+ "index_out_of_bounds",
240
+ `No such key: index out of bounds, index ${keyNum} ${keyNum < 0 ? "< 0" : `>= size ${sized.length ?? sized.size}`}`,
241
+ ast
242
+ );
243
+ }
244
+ if (this.valueType.matchesValueType(value, ev)) return value;
245
+ throw evaluationError(
246
+ "list_item_type_mismatch",
247
+ `List item with index '${keyNum}' is not of type '${this.valueType}', got '${ev.debugType(value)}'`,
248
+ ast
249
+ );
250
+ }
251
+ field(obj, key, ast, ev) {
252
+ const v = this.fieldLazy(obj, key, ast, ev);
253
+ if (v !== void 0) return v;
254
+ throw evaluationError("no_such_key", `No such key: ${key}`, ast);
255
+ }
256
+ matchesBoth(other) {
257
+ return this.matches(other) && other.matches(this);
258
+ }
259
+ matches(o) {
260
+ const s = this.unwrappedType;
261
+ o = o.unwrappedType;
262
+ if (s === o || s.kind === "dyn" || o.kind === "dyn" || o.kind === "param") return true;
263
+ return this.#matchesCache.get(o) ?? this.#matchesCache.set(o, this.#matches(s, o)).get(o);
264
+ }
265
+ #matches(s, o) {
266
+ switch (s.kind) {
267
+ case "dyn":
268
+ case "param":
269
+ return true;
270
+ case "list":
271
+ return o.kind === "list" && s.valueType.matches(o.valueType);
272
+ case "map":
273
+ return o.kind === "map" && s.keyType.matches(o.keyType) && s.valueType.matches(o.valueType);
274
+ case "optional":
275
+ return o.kind === "optional" && s.valueType.matches(o.valueType);
276
+ default:
277
+ return s.name === o.name;
278
+ }
279
+ }
280
+ }
281
+ const macroEvaluateErr = `have a .callAst property or .evaluate(checker, macro, ctx) method.`;
282
+ const macroTypeCheckErr = `have a .callAst property or .typeCheck(checker, macro, ctx) method.`;
283
+ function wrapMacroExpander(name, handler) {
284
+ const p = `Macro '${name}' must`;
285
+ return function macroExpander(opts) {
286
+ const macro = handler(opts);
287
+ if (!macro || typeof macro !== "object") throw new Error(`${p} return an object.`);
288
+ if (macro.callAst) return macro;
289
+ if (!macro.evaluate) throw new Error(`${p} ${macroEvaluateErr}`);
290
+ if (!macro.typeCheck) throw new Error(`${p} ${macroTypeCheckErr}`);
291
+ return macro;
292
+ };
293
+ }
294
+ export class VariableDeclaration {
295
+ name;
296
+ type;
297
+ description;
298
+ label;
299
+ constant;
300
+ value;
301
+ constructor(name, type, description, value, label) {
302
+ this.name = name;
303
+ this.type = type;
304
+ this.description = description ?? null;
305
+ this.label = label ?? null;
306
+ this.constant = value !== void 0;
307
+ this.value = value;
308
+ objFreeze(this);
309
+ }
310
+ }
311
+ export class FunctionDeclaration {
312
+ name;
313
+ async;
314
+ receiverType;
315
+ returnType;
316
+ description;
317
+ params;
318
+ argTypes;
319
+ macro;
320
+ signature;
321
+ handler;
322
+ partitionKey;
323
+ hasPlaceholderType;
324
+ constructor({ name, receiverType, returnType, handler, description, params, async: isAsync_ }) {
325
+ if (typeof name !== "string") throw new Error("name must be a string");
326
+ if (handler !== void 0 && typeof handler !== "function") throw new Error("handler must be a function");
327
+ const effectiveHandler = handler || ((..._args) => {
328
+ throw new Error(`Function '${name}' has no runtime implementation (type-checking stub)`);
329
+ });
330
+ this.name = name;
331
+ this.async = handler ? isAsync(handler, isAsync_) : false;
332
+ this.receiverType = receiverType ?? null;
333
+ this.returnType = returnType;
334
+ this.description = description ?? null;
335
+ this.params = params;
336
+ this.argTypes = this.params.map((p) => p.type);
337
+ this.macro = this.argTypes.includes(astType);
338
+ const receiverString = receiverType ? `${receiverType}.` : "";
339
+ this.signature = `${receiverString}${name}(${this.argTypes.join(", ")}): ${returnType}`;
340
+ this.handler = this.macro ? wrapMacroExpander(this.signature, effectiveHandler) : effectiveHandler;
341
+ this.partitionKey = `${receiverType ? "rcall" : "call"}:${name}:${params.length}`;
342
+ this.hasPlaceholderType = this.returnType.hasPlaceholderType || this.receiverType?.hasPlaceholderType || this.argTypes.some((t) => t.hasPlaceholderType) || false;
343
+ objFreeze(this);
344
+ }
345
+ matchesArgs(argTypes) {
346
+ return argTypes.length === this.argTypes.length && this.argTypes.every((t, i) => t.matches(argTypes[i])) ? this : null;
347
+ }
348
+ }
349
+ export class OperatorDeclaration {
350
+ operator;
351
+ leftType;
352
+ rightType;
353
+ handler;
354
+ async;
355
+ returnType;
356
+ signature;
357
+ hasPlaceholderType;
358
+ constructor({ op, leftType, rightType, handler, returnType, async: isAsync_ }) {
359
+ this.operator = op;
360
+ this.leftType = leftType;
361
+ this.rightType = rightType || null;
362
+ this.handler = handler;
363
+ this.async = isAsync(handler, isAsync_);
364
+ this.returnType = returnType;
365
+ if (rightType) this.signature = `${leftType} ${op} ${rightType}: ${returnType}`;
366
+ else this.signature = `${op}${leftType}: ${returnType}`;
367
+ this.hasPlaceholderType = this.leftType.hasPlaceholderType || this.rightType?.hasPlaceholderType || false;
368
+ objFreeze(this);
369
+ }
370
+ equals(other) {
371
+ return this.operator === other.operator && this.leftType === other.leftType && this.rightType === other.rightType;
372
+ }
373
+ }
374
+ function _createListType(valueType) {
375
+ return new TypeDeclaration({
376
+ kind: "list",
377
+ name: `list<${valueType}>`,
378
+ type: "list",
379
+ valueType
380
+ });
381
+ }
382
+ function _createPrimitiveType(name) {
383
+ return new TypeDeclaration({ kind: "primitive", name, type: name });
384
+ }
385
+ function _createMessageType(name) {
386
+ return new TypeDeclaration({ kind: "message", name, type: name });
387
+ }
388
+ function _createDynType(valueType) {
389
+ const name = valueType ? `dyn<${valueType}>` : "dyn";
390
+ return new TypeDeclaration({ kind: "dyn", name, type: name, valueType });
391
+ }
392
+ function _createOptionalType(valueType) {
393
+ const name = `optional<${valueType}>`;
394
+ return new TypeDeclaration({ kind: "optional", name, type: "optional", valueType });
395
+ }
396
+ function _createMapType(keyType, valueType) {
397
+ return new TypeDeclaration({
398
+ kind: "map",
399
+ name: `map<${keyType}, ${valueType}>`,
400
+ type: "map",
401
+ keyType,
402
+ valueType
403
+ });
404
+ }
405
+ function _createPlaceholderType(name) {
406
+ return new TypeDeclaration({ kind: "param", name, type: name });
407
+ }
408
+ const dynType = _createDynType();
409
+ const astType = _createPrimitiveType("ast");
410
+ const listType = _createListType(dynType);
411
+ const mapType = _createMapType(dynType, dynType);
412
+ export const celTypes = {
413
+ "string": _createPrimitiveType("string"),
414
+ "bool": _createPrimitiveType("bool"),
415
+ "number": _createPrimitiveType("number"),
416
+ "bytes": _createPrimitiveType("bytes"),
417
+ "dyn": dynType,
418
+ "null": _createPrimitiveType("null"),
419
+ "type": _createPrimitiveType("type"),
420
+ "optional": _createOptionalType(dynType),
421
+ "list": listType,
422
+ "list<dyn>": listType,
423
+ "map": mapType,
424
+ "map<dyn, dyn>": mapType
425
+ };
426
+ for (const t of [celTypes.string, celTypes.number]) {
427
+ const list = _createListType(t);
428
+ const map = _createMapType(celTypes.string, t);
429
+ celTypes[list.name] = list;
430
+ celTypes[map.name] = map;
431
+ }
432
+ Object.freeze(celTypes);
433
+ class Candidates {
434
+ returnType = null;
435
+ async = false;
436
+ macro = false;
437
+ #matchCache = null;
438
+ #checkCache = null;
439
+ declarations = [];
440
+ registry;
441
+ constructor(registry) {
442
+ this.registry = registry;
443
+ }
444
+ [Symbol.iterator]() {
445
+ return this.declarations[Symbol.iterator]();
446
+ }
447
+ add(decl) {
448
+ this.returnType = (this.returnType || decl.returnType).unify(this.registry, decl.returnType) || dynType;
449
+ if (decl instanceof FunctionDeclaration && decl.macro) this.macro = decl;
450
+ if (decl.async && !this.async) this.async = true;
451
+ this.declarations.push(decl);
452
+ this.#matchCache?.clear();
453
+ this.#checkCache?.clear();
454
+ }
455
+ findFunction(argTypes, receiverType = null) {
456
+ for (let i = 0; i < this.declarations.length; i++) {
457
+ const decl = this.declarations[i];
458
+ if (!(decl instanceof FunctionDeclaration)) continue;
459
+ const match = this.#matchesFunction(decl, argTypes, receiverType);
460
+ if (match) return match;
461
+ }
462
+ return null;
463
+ }
464
+ findUnaryOverload(left) {
465
+ const cached = (this.#matchCache ??= /* @__PURE__ */ new Map()).get(left);
466
+ if (cached !== void 0) return cached;
467
+ let value = false;
468
+ for (const decl of this.declarations) {
469
+ if (!(decl instanceof OperatorDeclaration)) continue;
470
+ if (decl.leftType !== left) continue;
471
+ value = decl;
472
+ break;
473
+ }
474
+ this.#matchCache.set(left, value);
475
+ return value;
476
+ }
477
+ findBinaryOverload(left, right) {
478
+ if (left.kind === "dyn" && left.valueType) right = right.wrappedType;
479
+ else if (right.kind === "dyn" && right.valueType) left = left.wrappedType;
480
+ const binaryCache = this.#matchCache;
481
+ return binaryCache?.get(left)?.get(right) ?? this.#cacheBinaryMatch(
482
+ this.#matchCache ??= /* @__PURE__ */ new Map(),
483
+ left,
484
+ right,
485
+ this.#findBinaryUncached(left, right)
486
+ );
487
+ }
488
+ checkBinaryOverload(left, right) {
489
+ return (this.#checkCache ??= /* @__PURE__ */ new Map()).get(left)?.get(right) ?? this.#cacheBinary(this.#checkCache, left, right, this.#checkBinaryUncached(left, right));
490
+ }
491
+ #cacheBinary(c, l, r, v) {
492
+ return (c.get(l) ?? (c.set(l, /* @__PURE__ */ new Map()), c.get(l))).set(r, v), v;
493
+ }
494
+ #cacheBinaryMatch(c, l, r, v) {
495
+ return (c.get(l) ?? (c.set(l, /* @__PURE__ */ new Map()), c.get(l))).set(r, v), v;
496
+ }
497
+ #findBinaryUncached(left, right) {
498
+ const ops = this.#findBinaryOverloads(left, right);
499
+ if (ops.length === 0) return false;
500
+ if (ops.length === 1) return ops[0];
501
+ throw new Error(`Operator overload '${ops[0].signature}' overlaps with '${ops[1].signature}'.`);
502
+ }
503
+ #checkBinaryUncached(left, right) {
504
+ const ops = this.#findBinaryOverloads(left, right);
505
+ if (ops.length === 0) return false;
506
+ let rt = ops[0].returnType;
507
+ for (let i = 1; i < ops.length; i++) rt = rt.unify(this.registry, ops[i].returnType) || dynType;
508
+ return rt;
509
+ }
510
+ #findBinaryOverloads(leftType, rightType) {
511
+ const nonexactMatches = [];
512
+ for (const decl of this.declarations) {
513
+ if (!(decl instanceof OperatorDeclaration)) continue;
514
+ if (decl.leftType === leftType && decl.rightType === rightType) return [decl];
515
+ const secondary = this.#matchBinaryOverload(decl, leftType, rightType);
516
+ if (secondary) nonexactMatches.push(secondary);
517
+ }
518
+ if (nonexactMatches.length === 0) {
519
+ const first = this.declarations.find((d) => d instanceof OperatorDeclaration);
520
+ const op = first?.operator;
521
+ if ((op === "==" || op === "!=") && leftType.kind === "dyn") {
522
+ return fallbackDynEqualityMatchers[op];
523
+ }
524
+ }
525
+ return nonexactMatches;
526
+ }
527
+ #matchBinaryOverload(decl, actualLeft, actualRight) {
528
+ const bindings = decl.hasPlaceholderType ? /* @__PURE__ */ new Map() : null;
529
+ const leftType = this.#matchTypeWithPlaceholders(decl.leftType, actualLeft, bindings);
530
+ if (!leftType) return false;
531
+ const rightType = decl.rightType ? this.#matchTypeWithPlaceholders(decl.rightType, actualRight, bindings) : null;
532
+ if (decl.rightType && !rightType) return false;
533
+ if ((decl.operator === "==" || decl.operator === "!=") && decl.leftType.kind === "dyn" && decl.leftType.valueType && actualLeft.kind !== "dyn" && actualRight.kind !== "dyn")
534
+ return false;
535
+ return decl.hasPlaceholderType ? {
536
+ async: decl.async,
537
+ signature: decl.signature,
538
+ handler: decl.handler,
539
+ leftType,
540
+ rightType: rightType ?? void 0,
541
+ returnType: decl.returnType.templated(this.registry, bindings)
542
+ } : decl;
543
+ }
544
+ #matchesFunction(fn, argTypes, receiverType) {
545
+ if (fn.hasPlaceholderType) return this.#matchWithPlaceholders(fn, argTypes, receiverType);
546
+ if (receiverType && fn.receiverType && !receiverType.matches(fn.receiverType)) return null;
547
+ return fn.matchesArgs(argTypes);
548
+ }
549
+ #matchWithPlaceholders(fn, argTypes, receiverType) {
550
+ const bindings = /* @__PURE__ */ new Map();
551
+ if (receiverType && fn.receiverType) {
552
+ if (!this.#matchTypeWithPlaceholders(fn.receiverType, receiverType, bindings)) {
553
+ return null;
554
+ }
555
+ }
556
+ for (let i = 0; i < argTypes.length; i++) {
557
+ if (!this.#matchTypeWithPlaceholders(fn.argTypes[i], argTypes[i], bindings)) {
558
+ return null;
559
+ }
560
+ }
561
+ return {
562
+ async: fn.async,
563
+ handler: fn.handler,
564
+ signature: fn.signature,
565
+ returnType: fn.returnType.templated(this.registry, bindings)
566
+ };
567
+ }
568
+ #matchTypeWithPlaceholders(declared, actual, bindings) {
569
+ if (!declared.hasPlaceholderType) return actual.matches(declared) ? actual : null;
570
+ const treatAsDyn = actual.kind === "dyn";
571
+ if (!this.#collectPlaceholderBindings(declared, actual, bindings, treatAsDyn)) return null;
572
+ if (treatAsDyn) return actual;
573
+ return actual.matches(declared.templated(this.registry, bindings)) ? actual : null;
574
+ }
575
+ #collectPlaceholderBindings(dec, act, bind, fromDyn = false) {
576
+ if (!dec.hasPlaceholderType) return true;
577
+ if (!act) return false;
578
+ const asDyn = fromDyn || act.kind === "dyn";
579
+ act = act.unwrappedType;
580
+ switch (dec.kind) {
581
+ case "param": {
582
+ const type = asDyn ? dynType : act;
583
+ const existing = bind.get(dec.name);
584
+ if (!existing) return bind.set(dec.name, type) && true;
585
+ return existing.kind === "dyn" || type.kind === "dyn" ? true : existing.matchesBoth(type);
586
+ }
587
+ case "list": {
588
+ if (act.name === "dyn") act = dec;
589
+ if (act.kind !== "list") return false;
590
+ return this.#collectPlaceholderBindings(dec.valueType, act.valueType, bind, asDyn);
591
+ }
592
+ case "map": {
593
+ if (act.name === "dyn") act = dec;
594
+ if (act.kind !== "map") return false;
595
+ return this.#collectPlaceholderBindings(dec.keyType, act.keyType, bind, asDyn) && this.#collectPlaceholderBindings(dec.valueType, act.valueType, bind, asDyn);
596
+ }
597
+ case "optional": {
598
+ if (act.name === "dyn") act = dec;
599
+ if (act.kind !== "optional") return false;
600
+ return this.#collectPlaceholderBindings(dec.valueType, act.valueType, bind, asDyn);
601
+ }
602
+ }
603
+ return true;
604
+ }
605
+ }
606
+ function splitByComma(str) {
607
+ const parts = [];
608
+ let current = "";
609
+ let depth = 0;
610
+ for (const char of str) {
611
+ if (char === "<") depth++;
612
+ else if (char === ">") depth--;
613
+ else if (char === "," && depth === 0) {
614
+ parts.push(current.trim());
615
+ current = "";
616
+ continue;
617
+ }
618
+ current += char;
619
+ }
620
+ if (current) parts.push(current.trim());
621
+ return parts;
622
+ }
623
+ const objTypesDecls = [
624
+ [Decimal, "number", TYPES.number, celTypes.number],
625
+ [Type, "type", TYPES.type, celTypes.type],
626
+ [Uint8Array, "bytes", TYPES.bytes, celTypes.bytes],
627
+ ...typeof Buffer !== "undefined" ? [[Buffer, "bytes", TYPES.bytes, celTypes.bytes]] : []
628
+ ].map((entry) => {
629
+ const [ctor, name, typeType, type] = entry;
630
+ return Object.freeze({ name, typeType, type, ctor });
631
+ });
632
+ const objTypes = objTypesDecls.map((t) => [t.name, t]);
633
+ const objTypesCtor = objTypesDecls.map((t) => [t.ctor, t]);
634
+ const invalidVar = (postfix) => new Error(`Invalid variable declaration: ${postfix}`);
635
+ const invalidType = (postfix) => new Error(`Invalid type declaration: ${postfix}`);
636
+ const fallbackDynEqualityMatchers = {
637
+ "==": [{ handler: (a, b) => a === b, returnType: celTypes.bool }],
638
+ "!=": [{ handler: (a, b) => a !== b, returnType: celTypes.bool }]
639
+ };
640
+ export class Registry {
641
+ #parent = null;
642
+ #typeDeclarations;
643
+ #ownsVariables = true;
644
+ #operators = null;
645
+ #functions = null;
646
+ #operatorsByOp = null;
647
+ #functionsByKey = null;
648
+ #listTypes = null;
649
+ #mapTypes = null;
650
+ #optionalTypes = null;
651
+ #others = null;
652
+ #locked = false;
653
+ objectTypes;
654
+ objectTypesByConstructor;
655
+ variables;
656
+ unlistedVariablesAreDyn;
657
+ constructor(opts = {}) {
658
+ this.unlistedVariablesAreDyn = opts.unlistedVariablesAreDyn ?? false;
659
+ const parent = opts.parent instanceof Registry ? opts.parent : null;
660
+ if (parent) {
661
+ this.#parent = parent;
662
+ let opParent = parent;
663
+ while (opParent && !opParent.#operators) opParent = opParent.#parent;
664
+ let fnParent = parent;
665
+ while (fnParent && !fnParent.#functions) fnParent = fnParent.#parent;
666
+ this.#operatorsByOp = parent.#operatorsByOp;
667
+ this.#functionsByKey = parent.#functionsByKey;
668
+ this.#others = { operators: opParent.#operators, functions: fnParent.#functions };
669
+ this.objectTypes = new Map(parent.objectTypes);
670
+ this.objectTypesByConstructor = new Map(parent.objectTypesByConstructor);
671
+ this.variables = parent.variables;
672
+ this.#ownsVariables = false;
673
+ this.#typeDeclarations = parent.#typeDeclarations;
674
+ this.#listTypes = parent.#listTypes;
675
+ this.#mapTypes = parent.#mapTypes;
676
+ this.#optionalTypes = parent.#optionalTypes;
677
+ if (this.unlistedVariablesAreDyn !== parent.unlistedVariablesAreDyn) {
678
+ this.#ensureOwnVariables();
679
+ }
680
+ } else {
681
+ this.#operators = [];
682
+ this.#functions = [];
683
+ this.objectTypes = new Map(objTypes);
684
+ this.objectTypesByConstructor = new Map(objTypesCtor);
685
+ this.#typeDeclarations = new Map(objEntries(celTypes));
686
+ this.#listTypes = /* @__PURE__ */ new Map();
687
+ this.#mapTypes = /* @__PURE__ */ new Map();
688
+ this.#optionalTypes = /* @__PURE__ */ new Map();
689
+ this.variables = /* @__PURE__ */ new Map();
690
+ this.variables.dyn = this.unlistedVariablesAreDyn;
691
+ for (const n in TYPES) this.registerConstant(n, "type", TYPES[n]);
692
+ }
693
+ }
694
+ #ensureOwnVariables() {
695
+ if (this.#ownsVariables) return;
696
+ this.variables = new Map(this.variables);
697
+ this.variables.dyn = this.unlistedVariablesAreDyn;
698
+ this.#ownsVariables = true;
699
+ }
700
+ deleteVariable(name) {
701
+ this.#ensureOwnVariables();
702
+ this.variables.delete(name);
703
+ }
704
+ #pushOperator(decl) {
705
+ if (!this.#operators) this.#operatorsByOp = null;
706
+ this.operatorCandidates(decl.operator).add(decl);
707
+ this.#operators.push(decl);
708
+ }
709
+ #pushFunction(decl) {
710
+ if (!this.#functions) this.#functionsByKey = null;
711
+ this.#functionCandidates(decl.partitionKey).add(decl);
712
+ this.#functions.push(decl);
713
+ }
714
+ #ensureCandiate(c, key) {
715
+ return c.get(key) || c.set(key, new Candidates(this)).get(key);
716
+ }
717
+ #getOperators() {
718
+ if (this.#operators) return this.#operators;
719
+ return this.#operators = [...this.#others.operators];
720
+ }
721
+ #getFunctions() {
722
+ if (this.#functions) return this.#functions;
723
+ return this.#functions = [...this.#others.functions];
724
+ }
725
+ operatorCandidates(op) {
726
+ if (this.#operatorsByOp) return this.#ensureCandiate(this.#operatorsByOp, op);
727
+ const c = this.#operatorsByOp = /* @__PURE__ */ new Map();
728
+ for (const decl of this.#getOperators()) this.#ensureCandiate(c, decl.operator).add(decl);
729
+ return this.#ensureCandiate(c, op);
730
+ }
731
+ functionCandidates(rec, name, argLen) {
732
+ return this.#functionCandidates(`${rec ? "rcall" : "call"}:${name}:${argLen}`);
733
+ }
734
+ #functionCandidates(key) {
735
+ if (this.#functionsByKey) return this.#ensureCandiate(this.#functionsByKey, key);
736
+ const c = this.#functionsByKey = /* @__PURE__ */ new Map();
737
+ for (const decl of this.#getFunctions()) this.#ensureCandiate(c, decl.partitionKey).add(decl);
738
+ return this.#ensureCandiate(c, key);
739
+ }
740
+ registerVariable(name, type, opts) {
741
+ if (this.#locked) throw new Error("Cannot modify frozen registry");
742
+ let description = opts?.description;
743
+ let label = opts?.label;
744
+ let value;
745
+ if (typeof name === "string" && typeof type === "object" && !(type instanceof TypeDeclaration)) {
746
+ description = type.description;
747
+ label = type.label;
748
+ value = type.value;
749
+ if (type.schema) type = this.registerType({ name: `$${name}`, schema: type.schema }).type;
750
+ else type = type.type;
751
+ } else if (typeof name === "object") {
752
+ if (name.schema) type = this.registerType({ name: `$${name.name}`, schema: name.schema }).type;
753
+ else type = name.type;
754
+ description = name.description;
755
+ label = name.label;
756
+ value = name.value;
757
+ name = name.name;
758
+ }
759
+ if (typeof name !== "string" || !name) throw invalidVar(`name must be a string`);
760
+ if (RESERVED.has(name)) throw invalidVar(`'${name}' is a reserved name`);
761
+ if (this.variables.get(name) !== void 0) throw invalidVar(`'${name}' is already registered`);
762
+ if (typeof type === "string") type = this.getType(type);
763
+ else if (!(type instanceof TypeDeclaration)) throw invalidVar(`type is required`);
764
+ this.#ensureOwnVariables();
765
+ this.variables.set(name, new VariableDeclaration(name, type, description, value, label));
766
+ return this;
767
+ }
768
+ #registerSchemaAsType(name, schema) {
769
+ const fields = /* @__PURE__ */ Object.create(null);
770
+ for (const key of objKeys(schema)) {
771
+ const def = schema[key];
772
+ if (typeof def === "object" && def) {
773
+ fields[key] = this.registerType({ name: `${name}.${key}`, schema: def }).type.name;
774
+ } else if (typeof def === "string") {
775
+ fields[key] = def;
776
+ } else {
777
+ throw new TypeError(`Invalid field definition for '${name}.${key}'`);
778
+ }
779
+ }
780
+ return fields;
781
+ }
782
+ registerConstant(name, type, value) {
783
+ if (typeof name === "object") this.registerVariable(name);
784
+ else this.registerVariable({ name, type, value });
785
+ return this;
786
+ }
787
+ getType(typename) {
788
+ return this.#parseTypeString(typename, true);
789
+ }
790
+ getListType(type) {
791
+ return this.#listTypes.get(type) || this.#listTypes.set(type, this.#parseTypeString(`list<${type}>`, true)).get(type);
792
+ }
793
+ getMapType(a, b) {
794
+ return this.#mapTypes.get(a)?.get(b) || (this.#mapTypes.get(a) ?? (this.#mapTypes.set(a, /* @__PURE__ */ new Map()), this.#mapTypes.get(a))).set(b, this.#parseTypeString(`map<${a}, ${b}>`, true)).get(b);
795
+ }
796
+ getOptionalType(type) {
797
+ return this.#optionalTypes.get(type) || this.#optionalTypes.set(type, this.#parseTypeString(`optional<${type}>`, true)).get(type);
798
+ }
799
+ assertType(typename, type, signature) {
800
+ try {
801
+ return this.#parseTypeString(typename, true);
802
+ } catch (e) {
803
+ e.message = `Invalid ${type} '${e.unknownType || typename}' in '${signature}'`;
804
+ throw e;
805
+ }
806
+ }
807
+ /**
808
+ * Declare a type name for compile-time type checking only.
809
+ * Creates a TypeDeclaration so the type can be used in function signatures
810
+ * and variable declarations, without requiring a constructor (no objectType entry).
811
+ * Call `registerType(name, ctor)` later to provide the full runtime definition.
812
+ */
813
+ declareType(name) {
814
+ return this.#parseTypeString(name, false);
815
+ }
816
+ getFunctionType(typename) {
817
+ if (typename === "ast") return astType;
818
+ const t = this.#parseTypeString(typename, true);
819
+ if (t.kind === "dyn" && t.valueType) throw new Error(`type '${t.name}' is not supported`);
820
+ return t;
821
+ }
822
+ registerType(name, _d) {
823
+ if (this.#locked) throw new Error("Cannot modify frozen registry");
824
+ if (typeof name === "object") {
825
+ _d = name;
826
+ name = _d.fullName || _d.name || _d.ctor?.name;
827
+ }
828
+ if (typeof name === "string" && name[0] === ".") name = name.slice(1);
829
+ if (typeof name !== "string" || name.length < 2 || RESERVED.has(name)) {
830
+ throw invalidType(`name '${name}' is not valid`);
831
+ }
832
+ if (this.objectTypes.has(name)) throw invalidType(`type '${name}' already registered`);
833
+ const type = this.#parseTypeString(name, false);
834
+ if (type.kind !== "message") throw invalidType(`type '${name}' is not valid`);
835
+ const dObj = _d;
836
+ const decl = {
837
+ name,
838
+ typeType: new Type(name),
839
+ type,
840
+ ctor: typeof _d === "function" ? _d : dObj?.ctor,
841
+ convert: typeof _d === "function" ? void 0 : dObj?.convert,
842
+ fields: typeof dObj?.schema === "object" ? this.#normalizeFields(name, this.#registerSchemaAsType(name, dObj.schema)) : this.#normalizeFields(name, typeof _d === "function" ? void 0 : dObj?.fields)
843
+ };
844
+ if (typeof decl.ctor !== "function") {
845
+ if (!decl.fields) throw invalidType(`type '${name}' requires a constructor or fields`);
846
+ Object.assign(decl, this.#createDefaultConvert(name, decl.fields));
847
+ }
848
+ this.objectTypes.set(name, Object.freeze(decl));
849
+ this.objectTypesByConstructor.set(decl.ctor, decl);
850
+ this.registerFunctionOverload(`type(${name}): type`, () => decl.typeType, { async: false });
851
+ return decl;
852
+ }
853
+ #parseTypeString(typeStr, requireKnownTypes = true) {
854
+ const cached = this.#typeDeclarations.get(typeStr);
855
+ if (cached) return cached;
856
+ if (typeof typeStr !== "string" || !typeStr.length) {
857
+ throw new Error(`Invalid type: must be a string`);
858
+ }
859
+ const singleMatch = typeStr.match(/^[A-Z]$/);
860
+ if (singleMatch) return this.#createDeclaration(_createPlaceholderType, typeStr, typeStr);
861
+ const complexMatch = typeStr.match(/^(dyn|list|map|optional)<(.+)>$/);
862
+ if (!complexMatch) {
863
+ if (requireKnownTypes) {
864
+ const err = new Error(`Unknown type: ${typeStr}`);
865
+ err.unknownType = typeStr;
866
+ throw err;
867
+ }
868
+ return this.#createDeclaration(_createMessageType, typeStr, typeStr);
869
+ }
870
+ const kind = complexMatch[1];
871
+ const inner = complexMatch[2].trim();
872
+ switch (kind) {
873
+ case "dyn": {
874
+ const type = this.#parseTypeString(inner, requireKnownTypes).wrappedType;
875
+ this.#typeDeclarations.set(type.name, type);
876
+ return type;
877
+ }
878
+ case "list": {
879
+ const vType = this.#parseTypeString(inner, requireKnownTypes);
880
+ return this.#createDeclaration(_createListType, `list<${vType}>`, vType);
881
+ }
882
+ case "map": {
883
+ const parts = splitByComma(inner);
884
+ if (parts.length !== 2) throw new Error(`Invalid map type: ${typeStr}`);
885
+ const kType = this.#parseTypeString(parts[0], requireKnownTypes);
886
+ const vType = this.#parseTypeString(parts[1], requireKnownTypes);
887
+ return this.#createDeclaration(_createMapType, `map<${kType}, ${vType}>`, kType, vType);
888
+ }
889
+ case "optional": {
890
+ const vType = this.#parseTypeString(inner, requireKnownTypes);
891
+ return this.#createDeclaration(_createOptionalType, `optional<${vType}>`, vType);
892
+ }
893
+ }
894
+ throw new Error(`Unknown type kind: ${kind}`);
895
+ }
896
+ #createDeclaration(creator, key, ...args) {
897
+ const fn = creator;
898
+ return this.#typeDeclarations.get(key) || this.#typeDeclarations.set(key, fn(...args)).get(key);
899
+ }
900
+ findMacro(name, hasReceiver, argLen) {
901
+ return this.functionCandidates(hasReceiver, name, argLen).macro;
902
+ }
903
+ findUnaryOverload(op, left) {
904
+ return this.operatorCandidates(op).findUnaryOverload(left);
905
+ }
906
+ findBinaryOverload(op, left, right) {
907
+ return this.operatorCandidates(op).findBinaryOverload(left, right);
908
+ }
909
+ #toCelFieldType(field) {
910
+ if (typeof field === "string") return { type: field };
911
+ if (field?.id) return protobufjsFieldToCelType(field);
912
+ return field;
913
+ }
914
+ #toCelFieldDeclaration(typename, fields, k, requireKnownTypes = false) {
915
+ try {
916
+ const field = this.#toCelFieldType(fields[k]);
917
+ if (typeof field?.type !== "string") throw new Error(`unsupported declaration`);
918
+ return this.#parseTypeString(field.type, requireKnownTypes);
919
+ } catch (e) {
920
+ e.message = `Field '${k}' in type '${typename}' has unsupported declaration: ${JSON.stringify(fields[k])}`;
921
+ throw e;
922
+ }
923
+ }
924
+ #normalizeFields(typename, fields) {
925
+ if (!fields) return void 0;
926
+ const all = /* @__PURE__ */ Object.create(null);
927
+ for (const k of objKeys(fields)) all[k] = this.#toCelFieldDeclaration(typename, fields, k);
928
+ return all;
929
+ }
930
+ #createDefaultConvert(name, fields) {
931
+ const keys = objKeys(fields);
932
+ const conversions = /* @__PURE__ */ Object.create(null);
933
+ for (const k of keys) {
934
+ const type = fields[k];
935
+ const decl = type.kind === "message" && this.objectTypes.get(type.name);
936
+ if (decl === false) conversions[k] = false;
937
+ else conversions[k] = decl && decl.convert ? decl : false;
938
+ }
939
+ const Ctor = {
940
+ [name]: class extends Map {
941
+ #raw;
942
+ constructor(v) {
943
+ super();
944
+ this.#raw = v;
945
+ }
946
+ [Symbol.iterator]() {
947
+ if (this.size !== keys.length) for (const k of keys) this.get(k);
948
+ return super[Symbol.iterator]();
949
+ }
950
+ get(field) {
951
+ let v = super.get(field);
952
+ if (v !== void 0 || this.has(field)) return v;
953
+ const dec = conversions[field];
954
+ if (dec === void 0) return void 0;
955
+ const raw = this.#raw;
956
+ v = raw instanceof Map ? raw.get(field) : raw?.[field];
957
+ if (dec && v && typeof v === "object") {
958
+ switch (v.constructor) {
959
+ case void 0:
960
+ case Object:
961
+ case Map:
962
+ v = dec.convert(v);
963
+ }
964
+ }
965
+ return super.set(field, v), v;
966
+ }
967
+ }
968
+ }[name];
969
+ return {
970
+ ctor: Ctor,
971
+ convert(v) {
972
+ if (!v) return void 0;
973
+ if (v.constructor === Ctor) return v;
974
+ return new Ctor(v);
975
+ }
976
+ };
977
+ }
978
+ clone(opts) {
979
+ this.#locked = true;
980
+ return new Registry({
981
+ parent: this,
982
+ unlistedVariablesAreDyn: opts.unlistedVariablesAreDyn
983
+ });
984
+ }
985
+ getDefinitions() {
986
+ const variables = [];
987
+ const functions = [];
988
+ for (const [, varDecl] of this.variables) {
989
+ if (!varDecl) continue;
990
+ variables.push({
991
+ name: varDecl.name,
992
+ description: varDecl.description || null,
993
+ label: varDecl.label || null,
994
+ type: varDecl.type.name
995
+ });
996
+ }
997
+ for (const decl of this.#getFunctions()) {
998
+ functions.push({
999
+ signature: decl.signature,
1000
+ name: decl.name,
1001
+ description: decl.description,
1002
+ receiverType: decl.receiverType ? decl.receiverType.name : null,
1003
+ returnType: decl.returnType.name,
1004
+ params: decl.params.map((p) => ({
1005
+ name: p.name,
1006
+ type: p.type.name,
1007
+ description: p.description
1008
+ }))
1009
+ });
1010
+ }
1011
+ return { variables, functions };
1012
+ }
1013
+ #parseSignature(signature) {
1014
+ if (typeof signature !== "string") throw new Error("Invalid signature: must be a string");
1015
+ const match = signature.match(/^(?:([a-z0-9.<>]+)\.)?(\w+)\((.*?)\):(.+)$/i);
1016
+ if (!match) throw new Error(`Invalid signature: ${signature}`);
1017
+ return {
1018
+ receiverType: match[1] || null,
1019
+ name: match[2],
1020
+ argTypes: splitByComma(match[3]),
1021
+ returnType: match[4].trim()
1022
+ };
1023
+ }
1024
+ #functionSignatureOverlaps(a, b) {
1025
+ if (a.name !== b.name) return false;
1026
+ if (a.argTypes.length !== b.argTypes.length) return false;
1027
+ if ((a.receiverType || b.receiverType) && (!a.receiverType || !b.receiverType)) return false;
1028
+ const isDifferentReceiver = a.receiverType !== b.receiverType && a.receiverType !== dynType && b.receiverType !== dynType;
1029
+ return !isDifferentReceiver && (!!b.macro || !!a.macro || b.argTypes.every((t, i) => {
1030
+ const o = a.argTypes[i];
1031
+ return t === o || t === dynType || o === dynType;
1032
+ }));
1033
+ }
1034
+ #checkOverlappingSignatures(newDec) {
1035
+ const fns = this.#getFunctions();
1036
+ for (let i = 0; i < fns.length; i++) {
1037
+ const decl = fns[i];
1038
+ if (!(decl instanceof FunctionDeclaration)) continue;
1039
+ if (!this.#functionSignatureOverlaps(decl, newDec)) continue;
1040
+ fns[i] = newDec;
1041
+ this.#functionsByKey = null;
1042
+ return true;
1043
+ }
1044
+ return false;
1045
+ }
1046
+ #normalizeParam(i, aType, param) {
1047
+ if (!param) return { type: this.getFunctionType(aType), name: `arg${i}`, description: null };
1048
+ const type = param.type || aType;
1049
+ if (!type) throw new Error(`params[${i}].type is required`);
1050
+ if (aType && type !== aType) throw new Error(`params[${i}].type not equal to signature type`);
1051
+ return {
1052
+ name: param.name || `arg${i}`,
1053
+ type: this.getFunctionType(type),
1054
+ description: param.description ?? null
1055
+ };
1056
+ }
1057
+ registerFunctionOverload(s, handler, opts) {
1058
+ if (this.#locked) throw new Error("Cannot modify frozen registry");
1059
+ if (typeof s === "object") opts = s;
1060
+ else if (typeof handler === "object") opts = handler;
1061
+ else if (!opts) opts = {};
1062
+ const sig = typeof s === "string" ? s : opts.signature;
1063
+ const parsed = sig !== void 0 ? this.#parseSignature(sig) : void 0;
1064
+ const name = parsed?.name || opts.name;
1065
+ const receiverType = parsed?.receiverType || opts.receiverType;
1066
+ const argTypes = parsed?.argTypes;
1067
+ const returnType = parsed?.returnType || opts.returnType;
1068
+ const params = opts.params;
1069
+ handler = typeof handler === "function" ? handler : opts.handler;
1070
+ let dec;
1071
+ try {
1072
+ if (!name) throw new Error(`signature or name are required`);
1073
+ if (!returnType) throw new Error(`must have a returnType`);
1074
+ if (params) {
1075
+ if (argTypes && params.length !== argTypes.length) {
1076
+ throw new Error(`mismatched length in params and args in signature`);
1077
+ }
1078
+ } else if (!argTypes) throw new Error(`signature or params are required`);
1079
+ dec = new FunctionDeclaration({
1080
+ name,
1081
+ async: opts?.async,
1082
+ receiverType: receiverType ? this.getType(receiverType) : null,
1083
+ returnType: this.getType(returnType),
1084
+ handler,
1085
+ description: opts.description,
1086
+ params: (argTypes || params).map(
1087
+ (_, i) => this.#normalizeParam(i, argTypes?.[i], params?.[i])
1088
+ )
1089
+ });
1090
+ } catch (e) {
1091
+ e.message = typeof sig === "string" ? `Invalid function declaration '${sig}': ${e.message}` : name ? `Invalid function declaration '${name}': ${e.message}` : `Invalid function declaration: ${e.message}`;
1092
+ throw e;
1093
+ }
1094
+ const replaced = this.#checkOverlappingSignatures(dec);
1095
+ if (!replaced) this.#pushFunction(dec);
1096
+ }
1097
+ registerOperatorOverload(string, handler, opts) {
1098
+ const unaryParts = string.match(/^([-!])([\w.<>]+)(?::\s*([\w.<>]+))?$/);
1099
+ if (unaryParts) {
1100
+ const [, op2, operandType, returnType2] = unaryParts;
1101
+ return this.unaryOverload(op2, operandType, handler, returnType2, opts?.async);
1102
+ }
1103
+ const parts = string.match(
1104
+ /^([\w.<>]+) ([-+*%/<>]|==|!=|<=|>=|in) ([\w.<>]+)(?::\s*([\w.<>]+))?$/
1105
+ );
1106
+ if (!parts) throw new Error(`Operator overload invalid: ${string}`);
1107
+ const [, leftType, op, rightType, returnType] = parts;
1108
+ return this.binaryOverload(leftType, op, rightType, handler, returnType);
1109
+ }
1110
+ unaryOverload(op, typeStr, handler, returnTypeStr, async_) {
1111
+ if (this.#locked) throw new Error("Cannot modify frozen registry");
1112
+ const leftType = this.assertType(typeStr, "type", `${op}${typeStr}`);
1113
+ const returnType = this.assertType(
1114
+ returnTypeStr || typeStr,
1115
+ "return type",
1116
+ `${op}${typeStr}: ${returnTypeStr || typeStr}`
1117
+ );
1118
+ const d = new OperatorDeclaration({ op: `${op}_`, leftType, returnType, handler, async: async_ });
1119
+ this.#pushOperator(this.#assertOverload(d));
1120
+ }
1121
+ #hasOverload(d) {
1122
+ for (const o of this.operatorCandidates(d.operator)) {
1123
+ if (o instanceof OperatorDeclaration && d.equals(o)) return true;
1124
+ }
1125
+ return false;
1126
+ }
1127
+ #assertOverload(decl) {
1128
+ if (!this.#hasOverload(decl)) return decl;
1129
+ throw new Error(`Operator overload already registered: ${decl.signature}`);
1130
+ }
1131
+ binaryOverload(leftTypeStr, op, rightTypeStr, handler, returnTypeStr, async_) {
1132
+ if (this.#locked) throw new Error("Cannot modify frozen registry");
1133
+ returnTypeStr ??= isRelational.has(op) ? "bool" : leftTypeStr;
1134
+ const sig = `${leftTypeStr} ${op} ${rightTypeStr}: ${returnTypeStr}`;
1135
+ let leftType = this.assertType(leftTypeStr, "left type", sig);
1136
+ let rightType = this.assertType(rightTypeStr, "right type", sig);
1137
+ const returnType = this.assertType(returnTypeStr, "return type", sig);
1138
+ if (leftType.kind === "dyn" && leftType.valueType) rightType = rightType.wrappedType;
1139
+ else if (rightType.kind === "dyn" && rightType.valueType) leftType = leftType.wrappedType;
1140
+ if (isRelational.has(op) && returnType.type !== "bool") {
1141
+ throw new Error(`Comparison operator '${op}' must return 'bool', got '${returnType.type}'`);
1142
+ }
1143
+ const dec = new OperatorDeclaration({ op, leftType, rightType, returnType, handler, async: async_ });
1144
+ if (dec.hasPlaceholderType && !(rightType.hasPlaceholderType && leftType.hasPlaceholderType)) {
1145
+ throw new Error(
1146
+ `Operator overload with placeholders must use them in both left and right types: ${sig}`
1147
+ );
1148
+ }
1149
+ this.#assertOverload(dec);
1150
+ if (op === "==") {
1151
+ const declarations = [
1152
+ new OperatorDeclaration({
1153
+ op: "!=",
1154
+ leftType,
1155
+ rightType,
1156
+ handler(a, b, ast, ev) {
1157
+ return !handler(a, b, ast, ev);
1158
+ },
1159
+ returnType,
1160
+ async: async_
1161
+ })
1162
+ ];
1163
+ if (leftType !== rightType) {
1164
+ declarations.push(
1165
+ new OperatorDeclaration({
1166
+ op: "==",
1167
+ leftType: rightType,
1168
+ rightType: leftType,
1169
+ handler(a, b, ast, ev) {
1170
+ return handler(b, a, ast, ev);
1171
+ },
1172
+ returnType,
1173
+ async: async_
1174
+ }),
1175
+ new OperatorDeclaration({
1176
+ op: "!=",
1177
+ leftType: rightType,
1178
+ rightType: leftType,
1179
+ handler(a, b, ast, ev) {
1180
+ return !handler(b, a, ast, ev);
1181
+ },
1182
+ returnType,
1183
+ async: async_
1184
+ })
1185
+ );
1186
+ }
1187
+ for (const decl of declarations) this.#assertOverload(decl);
1188
+ for (const decl of declarations) this.#pushOperator(decl);
1189
+ }
1190
+ this.#pushOperator(dec);
1191
+ }
1192
+ }
1193
+ const isRelational = /* @__PURE__ */ new Set(["<", "<=", ">", ">=", "==", "!=", "in"]);
1194
+ export function createRegistry(opts) {
1195
+ return new Registry(opts);
1196
+ }
1197
+ export class RootContext {
1198
+ #vars;
1199
+ #contextObj;
1200
+ #contextMap;
1201
+ #convertCache;
1202
+ constructor(registry, context) {
1203
+ this.#vars = registry.variables;
1204
+ if (context === void 0 || context === null) return;
1205
+ if (typeof context !== "object") {
1206
+ throw evaluationError("invalid_context", "Context must be an object");
1207
+ }
1208
+ if (context instanceof Map) this.#contextMap = context;
1209
+ else this.#contextObj = context;
1210
+ }
1211
+ getValue(key) {
1212
+ return this.#convertCache?.get(key) || (this.#contextObj ? this.#contextObj[key] : this.#contextMap?.get(key));
1213
+ }
1214
+ getVariable(name) {
1215
+ return this.#vars.get(name) ?? (this.#vars.dyn && !RESERVED.has(name) ? new VariableDeclaration(name, dynType) : void 0);
1216
+ }
1217
+ getCheckedValue(ev, ast) {
1218
+ const v = this.getValue(ast.args);
1219
+ if (v === void 0) throw evaluationError("unknown_variable", `Unknown variable: ${ast.args}`, ast);
1220
+ if (ast.checkedType.matchesValueType(v, ev)) return v;
1221
+ const type = ast.checkedType;
1222
+ const valueType = ev.debugType(v);
1223
+ if (type.kind === "message" && valueType.kind === "map") {
1224
+ const c = ev.objectTypes.get(type.name)?.convert?.(v);
1225
+ if (c) return (this.#convertCache ??= /* @__PURE__ */ new Map()).set(ast.args, c), c;
1226
+ }
1227
+ throw evaluationError(
1228
+ "variable_type_mismatch",
1229
+ `Variable '${ast.args}' is not of type '${type}', got '${valueType}'`,
1230
+ ast
1231
+ );
1232
+ }
1233
+ forkWithVariable(iterVar, iterType) {
1234
+ return new OverlayContext(this, iterVar, iterType);
1235
+ }
1236
+ }
1237
+ export class OverlayContext {
1238
+ #parent;
1239
+ accuType;
1240
+ accuValue;
1241
+ iterValue;
1242
+ iterVar;
1243
+ iterType;
1244
+ async;
1245
+ constructor(parent, iterVar, iterType) {
1246
+ this.#parent = parent;
1247
+ this.iterVar = iterVar;
1248
+ this.iterType = iterType;
1249
+ }
1250
+ forkWithVariable(iterVar, iterType) {
1251
+ return new OverlayContext(this, iterVar, iterType);
1252
+ }
1253
+ reuse(parent) {
1254
+ if (!this.async) return this.#parent = parent, this;
1255
+ const ctx = new OverlayContext(parent, this.iterVar, this.iterType);
1256
+ ctx.accuType = this.accuType;
1257
+ return ctx;
1258
+ }
1259
+ setIterValue(v, ev) {
1260
+ if (this.iterType.matchesValueType(v, ev)) return this.iterValue = v, this;
1261
+ const type = this.iterType;
1262
+ const valueType = ev.debugType(v);
1263
+ if (type.kind === "message" && valueType.kind === "map") {
1264
+ const c = ev.objectTypes.get(type.name)?.convert?.(v);
1265
+ if (c) return this.iterValue = c, this;
1266
+ }
1267
+ throw evaluationError(
1268
+ "variable_type_mismatch",
1269
+ `Variable '${this.iterVar}' is not of type '${type}', got '${valueType}'`
1270
+ );
1271
+ }
1272
+ setAccuType(type) {
1273
+ return this.accuType = type, this;
1274
+ }
1275
+ setAccuValue(v) {
1276
+ return this.accuValue = v, this;
1277
+ }
1278
+ getValue(key) {
1279
+ return this.iterVar === key ? this.iterValue : this.#parent.getValue(key);
1280
+ }
1281
+ getCheckedValue(ev, ast) {
1282
+ if (this.iterVar === ast.args) return this.iterValue;
1283
+ return this.#parent.getCheckedValue(ev, ast);
1284
+ }
1285
+ getVariable(name) {
1286
+ if (this.iterVar === name) return new VariableDeclaration(name, this.iterType);
1287
+ return this.#parent.getVariable(name);
1288
+ }
1289
+ }
1290
+ function protobufjsFieldToCelType(field) {
1291
+ let fieldType;
1292
+ if (field.map) {
1293
+ const keyType = protobufjsTypeToCelType(field.keyType, field.resolvedKeyType);
1294
+ const valueType = protobufjsTypeToCelType(field.type, field.resolvedType);
1295
+ fieldType = `map<${keyType}, ${valueType}>`;
1296
+ } else {
1297
+ fieldType = protobufjsTypeToCelType(field.type, field.resolvedType);
1298
+ }
1299
+ return { type: field.repeated ? `list<${fieldType}>` : fieldType };
1300
+ }
1301
+ function protobufjsTypeToCelType(protoType, resolvedType) {
1302
+ switch (protoType) {
1303
+ case "string":
1304
+ return "string";
1305
+ case "bytes":
1306
+ return "bytes";
1307
+ case "bool":
1308
+ return "bool";
1309
+ case "double":
1310
+ case "float":
1311
+ case "int32":
1312
+ case "int64":
1313
+ case "sint32":
1314
+ case "sint64":
1315
+ case "sfixed32":
1316
+ case "sfixed64":
1317
+ case "uint32":
1318
+ case "uint64":
1319
+ case "fixed32":
1320
+ case "fixed64":
1321
+ return "double";
1322
+ default:
1323
+ switch (resolvedType?.constructor?.name) {
1324
+ case "Type":
1325
+ return resolvedType.fullName.slice(1);
1326
+ case "Enum":
1327
+ return "int";
1328
+ }
1329
+ if (protoType?.includes(".")) return protoType;
1330
+ return "dyn";
1331
+ }
1332
+ }