@shwfed/config 1.0.0

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