@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,1581 @@
1
+ <script setup>
2
+ import { computed, defineComponent, inject, onBeforeUnmount, provide, ref, watch } from "vue";
3
+ import { provideCELContext } from "../../plugins/cel/context";
4
+ import { BREADCRUMB_EXTENSION_KEY } from "../config/breadcrumb-extension";
5
+ import { TABLE_COLUMN_LAYOUT_KEY } from "./column-layout";
6
+ import { Icon } from "@iconify/vue";
7
+ import { ParseResult, Schema } from "effect";
8
+ import { TableConfig, Pagination, ColumnGroup, DataSource } from "./schema";
9
+ import { COLUMNS, findColumn as findColumnEntry } from "./utils/resolve";
10
+ import {
11
+ useTreeDnd
12
+ } from "../../composables/useTreeDnd";
13
+ import { getStructFieldDescription, getStructFieldTitle } from "./utils/schema-meta";
14
+ import { Markdown } from "../ui/markdown";
15
+ import { Badge } from "../ui/badge";
16
+ import { ScrollArea } from "../ui/scroll-area";
17
+ import { Input } from "../ui/input";
18
+ import { Textarea } from "../ui/textarea";
19
+ import { Separator } from "../ui/separator";
20
+ import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip";
21
+ import { ExpressionEditor } from "../ui/expression-editor";
22
+ import { Field, FieldLabel } from "../ui/field";
23
+ import { Locale } from "../ui/locale";
24
+ import { CommandItem, CommandGroup } from "../ui/command";
25
+ import {
26
+ InputGroup,
27
+ InputGroupAddon,
28
+ InputGroupCombobox,
29
+ InputGroupNumberField
30
+ } from "../ui/input-group";
31
+ import ActionsConfigEditor from "../actions/config.vue";
32
+ import ShwfedFormConfig from "../form/config.vue";
33
+ import { defaultFormConfig } from "../form/schema";
34
+ import TableAiColumnsButton from "./ai/columns-button.vue";
35
+ import TableAiDataSourceButton from "./ai/data-source-button.vue";
36
+ import { Environment } from "../../vendor/cel-js/lib/index";
37
+ defineOptions({ name: "ShwfedTableConfig" });
38
+ const CellStyleCELContext = defineComponent({
39
+ name: "CellStyleCELContext",
40
+ setup(_, { slots }) {
41
+ provideCELContext({
42
+ row: {
43
+ type: "dyn",
44
+ label: "\u5F53\u524D\u884C",
45
+ description: "\u5F53\u524D\u6E32\u67D3\u7684\u6574\u884C\u6570\u636E\uFF0C\u7C7B\u578B\u5728\u914D\u7F6E\u65F6\u672A\u77E5\uFF08`dyn`\uFF09\uFF0C\u5177\u4F53\u5B57\u6BB5\u53D6\u51B3\u4E8E\u63A5\u5165\u6570\u636E\u6E90\u3002",
46
+ value: void 0
47
+ },
48
+ index: {
49
+ type: "number",
50
+ label: "\u884C\u5E8F\u53F7",
51
+ description: "\u5F53\u524D\u884C\u5728\u6240\u6709\u6570\u636E\u4E2D\u7684\u5E8F\u53F7\uFF0C\u4ECE `0` \u5F00\u59CB\u3002",
52
+ value: 0
53
+ },
54
+ id: {
55
+ type: "string",
56
+ label: "\u5217 ID",
57
+ description: "\u5F53\u524D\u5355\u5143\u683C\u6240\u5728\u5217\u7684 `id`\u3002",
58
+ value: ""
59
+ },
60
+ selected: {
61
+ type: "bool",
62
+ label: "\u662F\u5426\u9009\u4E2D",
63
+ description: "\u5F53\u524D\u884C\u662F\u5426\u88AB\u52FE\u9009\u3002",
64
+ value: false
65
+ },
66
+ pinned: {
67
+ type: "string",
68
+ label: "\u5217\u56FA\u5B9A\u65B9\u5411",
69
+ description: "\u5217\u7684\u56FA\u5B9A\u65B9\u5411\uFF1A`left`\u3001`right`\uFF0C\u672A\u56FA\u5B9A\u65F6\u4E3A `false`\u3002",
70
+ value: false
71
+ }
72
+ });
73
+ return () => slots.default?.();
74
+ }
75
+ });
76
+ const RequestCELContext = defineComponent({
77
+ name: "RequestCELContext",
78
+ setup(_, { slots }) {
79
+ provideCELContext({
80
+ pageIndex: {
81
+ type: "number",
82
+ label: "\u5F53\u524D\u9875\u7801",
83
+ description: "\u4ECE `0` \u5F00\u59CB\uFF1B\u672A\u542F\u7528\u5206\u9875\u65F6\u4E3A `0`\u3002",
84
+ value: 0
85
+ },
86
+ pageSize: {
87
+ type: "number",
88
+ label: "\u6BCF\u9875\u884C\u6570",
89
+ description: "\u5F53\u524D\u6BCF\u9875\u884C\u6570\uFF1B\u672A\u542F\u7528\u5206\u9875\u65F6\u4E3A `0`\u3002",
90
+ value: 0
91
+ },
92
+ query: {
93
+ type: "dyn",
94
+ label: "\u641C\u7D22\u6761\u4EF6",
95
+ description: "\u641C\u7D22\u6761\u4EF6\u5F53\u524D\u72B6\u6001\uFF1B\u672A\u914D\u7F6E\u65F6\u4E3A\u7A7A\u5BF9\u8C61\u3002",
96
+ value: {}
97
+ }
98
+ });
99
+ return () => slots.default?.();
100
+ }
101
+ });
102
+ const JsonCELContext = defineComponent({
103
+ name: "JsonCELContext",
104
+ setup(_, { slots }) {
105
+ provideCELContext({
106
+ json: {
107
+ type: "optional<dyn>",
108
+ label: "HTTP \u54CD\u5E94\u4F53",
109
+ description: "\u5DF2\u89E3\u6790\u7684 JSON \u54CD\u5E94\uFF1B\u672A\u914D\u7F6E `request` \u65F6\u4E3A `none`\u3002",
110
+ value: void 0
111
+ }
112
+ });
113
+ return () => slots.default?.();
114
+ }
115
+ });
116
+ const TableActionsCELContext = defineComponent({
117
+ name: "TableActionsCELContext",
118
+ setup(_, { slots }) {
119
+ provideCELContext({
120
+ selected: {
121
+ type: "list<dyn>",
122
+ label: "\u5DF2\u9009\u884C",
123
+ description: "\u5F53\u524D\u5DF2\u52FE\u9009\u7684\u6240\u6709\u884C\uFF08`row` \u7684\u6570\u7EC4\uFF09\u3002",
124
+ value: []
125
+ }
126
+ });
127
+ return () => slots.default?.();
128
+ }
129
+ });
130
+ const config = defineModel({ type: Object, ...{ required: true } });
131
+ const props = defineProps({
132
+ configure: { type: Function, required: false }
133
+ });
134
+ const configure = props.configure ?? (() => {
135
+ });
136
+ function configureTableActions(env) {
137
+ configure(env);
138
+ env.registerVariable("selected", "list<dyn>", {
139
+ description: "\u5F53\u524D\u5DF2\u52FE\u9009\u7684\u6240\u6709\u884C\uFF08`row` \u7684\u6570\u7EC4\uFF09"
140
+ });
141
+ }
142
+ function configureTableQuery(env) {
143
+ configure(env);
144
+ }
145
+ const tableConfigSchema = TableConfig(configure);
146
+ const dataSourceSchema = DataSource(configure);
147
+ const advertisedHostContext = (() => {
148
+ const probe = new Environment({ unlistedVariablesAreDyn: false });
149
+ const baseline = new Set(probe.getDefinitions().variables.map((v) => v.name));
150
+ configure(probe);
151
+ const out = {};
152
+ for (const v of probe.getDefinitions().variables) {
153
+ if (baseline.has(v.name)) continue;
154
+ out[v.name] = {
155
+ type: v.type,
156
+ label: v.name,
157
+ description: v.description ?? void 0,
158
+ value: void 0
159
+ };
160
+ }
161
+ return out;
162
+ })();
163
+ provideCELContext(advertisedHostContext);
164
+ const generalFieldTitle = (f) => getStructFieldTitle(tableConfigSchema, f) ?? f;
165
+ const generalFieldDescription = (f) => getStructFieldDescription(tableConfigSchema, f);
166
+ const paginationFieldTitle = (f) => getStructFieldTitle(Pagination, f) ?? f;
167
+ const paginationFieldDescription = (f) => getStructFieldDescription(Pagination, f);
168
+ const groupFieldTitle = (f) => getStructFieldTitle(ColumnGroup, f) ?? f;
169
+ const groupFieldDescription = (f) => getStructFieldDescription(ColumnGroup, f);
170
+ const dataSourceFieldTitle = (f) => getStructFieldTitle(dataSourceSchema, f) ?? f;
171
+ const dataSourceFieldDescription = (f) => getStructFieldDescription(dataSourceSchema, f);
172
+ const GROUP_DRAG_KIND = "group";
173
+ const COLUMN_DRAG_KIND = "column";
174
+ const editingColumns = computed({
175
+ get: () => config.value.columns ?? [],
176
+ set: (next) => {
177
+ config.value = { ...config.value, columns: next };
178
+ }
179
+ });
180
+ const editingGroups = computed({
181
+ get: () => config.value.groups ?? [],
182
+ set: (next) => {
183
+ config.value = { ...config.value, groups: next };
184
+ }
185
+ });
186
+ function snapshot() {
187
+ return {
188
+ columns: [...config.value.columns ?? []],
189
+ groups: [...config.value.groups ?? []],
190
+ initialState: config.value.initialState ? { ...config.value.initialState } : void 0
191
+ };
192
+ }
193
+ function commit(w) {
194
+ const next = {
195
+ ...config.value,
196
+ columns: w.columns,
197
+ groups: w.groups
198
+ };
199
+ if (w.initialState && Object.keys(w.initialState).length > 0) {
200
+ next.initialState = w.initialState;
201
+ } else {
202
+ delete next.initialState;
203
+ }
204
+ config.value = next;
205
+ }
206
+ function normalizeForEmit(general) {
207
+ const out = { ...general };
208
+ const ds = out.dataSource;
209
+ const nextDs = { ...ds ?? {} };
210
+ if (typeof nextDs.request === "string" && nextDs.request.trim() === "") delete nextDs.request;
211
+ if (typeof nextDs.total === "string" && nextDs.total.trim() === "") delete nextDs.total;
212
+ out.dataSource = nextDs;
213
+ const pagination = out.pagination;
214
+ const p = { ...pagination ?? {} };
215
+ const hasPageSize = typeof p.pageSize === "number" && Number.isFinite(p.pageSize) && p.pageSize > 0;
216
+ const hasPageSizes = Array.isArray(p.pageSizes) && p.pageSizes.length > 0;
217
+ const hasTotal = nextDs.total !== void 0;
218
+ if (!hasPageSize && !hasPageSizes && !hasTotal) {
219
+ delete out.pagination;
220
+ } else {
221
+ out.pagination = p;
222
+ }
223
+ const query = out.query;
224
+ if (query && (!Array.isArray(query.fields) || query.fields.length === 0)) {
225
+ delete out.query;
226
+ }
227
+ return out;
228
+ }
229
+ function readGeneral() {
230
+ const { columns: _c, groups: _g, kind: _k, ...general } = config.value ?? {};
231
+ const cloned = JSON.parse(JSON.stringify(general));
232
+ if (!cloned.pagination) cloned.pagination = {};
233
+ if (!cloned.dataSource) cloned.dataSource = { data: "" };
234
+ return cloned;
235
+ }
236
+ function writeGeneralPatch(patch) {
237
+ const next = normalizeForEmit({ ...readGeneral(), ...patch });
238
+ config.value = {
239
+ ...config.value,
240
+ ...next
241
+ };
242
+ }
243
+ const editingGeneralConfig = computed(() => readGeneral());
244
+ const selected = ref({ kind: "general" });
245
+ const fieldErrors = ref({});
246
+ watch(
247
+ config,
248
+ (value) => {
249
+ fieldErrors.value = {};
250
+ const result = Schema.decodeUnknownEither(tableConfigSchema)(value);
251
+ if (result._tag === "Left") {
252
+ const issues = ParseResult.ArrayFormatter.formatErrorSync(result.left);
253
+ for (const issue of issues) {
254
+ const pathKey = issue.path.map(String).join(".");
255
+ if (!fieldErrors.value[pathKey]) {
256
+ fieldErrors.value[pathKey] = issue.message;
257
+ }
258
+ }
259
+ }
260
+ },
261
+ { immediate: true, deep: true }
262
+ );
263
+ const selectedGeneral = computed(() => selected.value.kind === "general");
264
+ const selectedActions = computed(() => selected.value.kind === "actions");
265
+ const selectedQuery = computed(() => selected.value.kind === "query");
266
+ const columnFullPane = ref(false);
267
+ provide(TABLE_COLUMN_LAYOUT_KEY, { fullPane: columnFullPane });
268
+ const isDrilled = computed(
269
+ () => selectedActions.value || selectedQuery.value || columnFullPane.value
270
+ );
271
+ function findGroup(id) {
272
+ return editingGroups.value.find((g) => g.id === id) ?? null;
273
+ }
274
+ function findColumn(id) {
275
+ return editingColumns.value.find((c) => c.id === id) ?? null;
276
+ }
277
+ const selectedGroupRef = computed(() => {
278
+ if (selected.value.kind !== "group") return null;
279
+ return findGroup(selected.value.id);
280
+ });
281
+ const selectedColumnRef = computed(() => {
282
+ if (selected.value.kind !== "column") return null;
283
+ return findColumn(selected.value.id);
284
+ });
285
+ const selectedColumnEntry = computed(() => {
286
+ const c = selectedColumnRef.value;
287
+ if (!c) return void 0;
288
+ return findColumnEntry(c.type, c.compatibilityDate);
289
+ });
290
+ const pinnedLeftIds = computed(() => {
291
+ const ids = editingGeneralConfig.value.initialState?.columnPinning?.left;
292
+ return new Set(Array.isArray(ids) ? ids : []);
293
+ });
294
+ const pinnedRightIds = computed(() => {
295
+ const ids = editingGeneralConfig.value.initialState?.columnPinning?.right;
296
+ return new Set(Array.isArray(ids) ? ids : []);
297
+ });
298
+ function columnBand(id) {
299
+ if (pinnedLeftIds.value.has(id)) return "left";
300
+ if (pinnedRightIds.value.has(id)) return "right";
301
+ return "main";
302
+ }
303
+ function groupBand(groupId) {
304
+ const members = editingColumns.value.filter((c) => c.groupId === groupId);
305
+ if (members.length === 0) return "main";
306
+ const first = columnBand(members[0].id);
307
+ return members.every((m) => columnBand(m.id) === first) ? first : "main";
308
+ }
309
+ function sameArray(a, b) {
310
+ if (!b) return a.length === 0;
311
+ if (a.length !== b.length) return false;
312
+ for (let i = 0; i < a.length; i++) if (a[i] !== b[i]) return false;
313
+ return true;
314
+ }
315
+ function pinnedLeftSetOf(w) {
316
+ const arr = w.initialState?.columnPinning?.left;
317
+ return new Set(Array.isArray(arr) ? arr : []);
318
+ }
319
+ function pinnedRightSetOf(w) {
320
+ const arr = w.initialState?.columnPinning?.right;
321
+ return new Set(Array.isArray(arr) ? arr : []);
322
+ }
323
+ function writePinArraysW(w, nextLeft, nextRight) {
324
+ const prevLeft = w.initialState?.columnPinning?.left;
325
+ const prevRight = w.initialState?.columnPinning?.right;
326
+ if (sameArray(nextLeft, prevLeft) && sameArray(nextRight, prevRight)) return;
327
+ const initialState = { ...w.initialState ?? {} };
328
+ const pinning = { ...initialState.columnPinning ?? {} };
329
+ if (nextLeft.length > 0) pinning.left = nextLeft;
330
+ else delete pinning.left;
331
+ if (nextRight.length > 0) pinning.right = nextRight;
332
+ else delete pinning.right;
333
+ if (Object.keys(pinning).length > 0) initialState.columnPinning = pinning;
334
+ else delete initialState.columnPinning;
335
+ w.initialState = Object.keys(initialState).length > 0 ? initialState : void 0;
336
+ }
337
+ function reconcilePinningW(w) {
338
+ const cols = w.columns;
339
+ const leftSet = pinnedLeftSetOf(w);
340
+ const rightSet = pinnedRightSetOf(w);
341
+ const nextLeft = [];
342
+ let i = 0;
343
+ while (i < cols.length && leftSet.has(cols[i].id)) {
344
+ nextLeft.push(cols[i].id);
345
+ i++;
346
+ }
347
+ const tail = [];
348
+ let j = cols.length - 1;
349
+ while (j >= i && rightSet.has(cols[j].id)) {
350
+ tail.push(cols[j].id);
351
+ j--;
352
+ }
353
+ writePinArraysW(w, nextLeft, tail.reverse());
354
+ }
355
+ function setColumnPinW(w, id, side) {
356
+ const left = [...pinnedLeftSetOf(w)].filter((x) => x !== id);
357
+ const right = [...pinnedRightSetOf(w)].filter((x) => x !== id);
358
+ if (side === "left") left.push(id);
359
+ if (side === "right") right.push(id);
360
+ writePinArraysW(w, left, right);
361
+ }
362
+ function setGroupPinW(w, groupId, side) {
363
+ const members = w.columns.filter((c) => c.groupId === groupId);
364
+ const memberIds = new Set(members.map((m) => m.id));
365
+ const left = [...pinnedLeftSetOf(w)].filter((x) => !memberIds.has(x));
366
+ const right = [...pinnedRightSetOf(w)].filter((x) => !memberIds.has(x));
367
+ if (side === "left") for (const m of members) left.push(m.id);
368
+ if (side === "right") for (const m of members) right.push(m.id);
369
+ writePinArraysW(w, left, right);
370
+ }
371
+ const treeEntries = computed(() => {
372
+ const out = [];
373
+ let lastGid;
374
+ let lastBand;
375
+ for (const col of editingColumns.value) {
376
+ const gid = col.groupId && findGroup(col.groupId) ? col.groupId : void 0;
377
+ const band = pinnedLeftIds.value.has(col.id) ? "left" : pinnedRightIds.value.has(col.id) ? "right" : "main";
378
+ if (gid && (gid !== lastGid || band !== lastBand)) {
379
+ out.push({ kind: "group-header", groupId: gid, band });
380
+ }
381
+ out.push({ kind: "column", columnId: col.id, groupId: gid, band });
382
+ lastGid = gid;
383
+ lastBand = band;
384
+ }
385
+ return out;
386
+ });
387
+ const renderEntries = computed(() => {
388
+ const left = treeEntries.value.filter((e) => e.band === "left");
389
+ const main = treeEntries.value.filter((e) => e.band === "main");
390
+ const right = treeEntries.value.filter((e) => e.band === "right");
391
+ const out = [];
392
+ if (left.length > 0) {
393
+ out.push({ kind: "band-caption", band: "left", text: "\u56FA\u5B9A\u5728\u5DE6\u4FA7" });
394
+ out.push(...left);
395
+ }
396
+ if (left.length > 0 && (main.length > 0 || right.length > 0)) {
397
+ out.push({ kind: "band-separator", id: "sep-left" });
398
+ }
399
+ out.push(...main);
400
+ if (right.length > 0) {
401
+ if (main.length > 0 || left.length > 0) {
402
+ out.push({ kind: "band-separator", id: "sep-right" });
403
+ }
404
+ out.push({ kind: "band-caption", band: "right", text: "\u56FA\u5B9A\u5728\u53F3\u4FA7" });
405
+ out.push(...right);
406
+ }
407
+ return out;
408
+ });
409
+ function entryKey(entry) {
410
+ switch (entry.kind) {
411
+ case "group-header":
412
+ return `g-${entry.band}-${entry.groupId}`;
413
+ case "column":
414
+ return `c-${entry.columnId}`;
415
+ case "band-caption":
416
+ return `cap-${entry.band}`;
417
+ case "band-separator":
418
+ return entry.id;
419
+ }
420
+ }
421
+ function groupLabel(group) {
422
+ if (Array.isArray(group?.title)) {
423
+ const zh = group.title.find((t) => t.locale === "zh");
424
+ const msg = zh?.message || group.title[0]?.message;
425
+ if (msg) return msg;
426
+ }
427
+ return "\u672A\u547D\u540D\u5206\u7EC4";
428
+ }
429
+ function columnLabel(col) {
430
+ if (!col) return "(\u672A\u77E5)";
431
+ if (col.type === "com.shwfed.table.column.select") return "\u9009\u62E9\u5217";
432
+ if (!col.title) return "(\u65E0\u6807\u9898)";
433
+ if (Array.isArray(col.title)) {
434
+ const zh = col.title.find((t) => t.locale === "zh");
435
+ return zh?.message || col.title[0]?.message || "(\u65E0\u6807\u9898)";
436
+ }
437
+ return "(\u65E0\u6807\u9898)";
438
+ }
439
+ function getColumnTypeLabel(type, compatibilityDate) {
440
+ return findColumnEntry(type, compatibilityDate)?.metadata.name ?? type;
441
+ }
442
+ function getColumnDefaults(id, type, compatibilityDate) {
443
+ switch (type) {
444
+ case "com.shwfed.table.column.text":
445
+ return { id, type, compatibilityDate, title: [{ locale: "zh", message: "" }], accessor: "", size: 120 };
446
+ case "com.shwfed.table.column.date":
447
+ return { id, type, compatibilityDate, title: [{ locale: "zh", message: "" }], accessor: "", format: "yyyy-MM-dd", size: 120 };
448
+ case "com.shwfed.table.column.number":
449
+ return { id, type, compatibilityDate, title: [{ locale: "zh", message: "" }], accessor: "", size: 120, align: "right" };
450
+ case "com.shwfed.table.column.select":
451
+ return { id, type, compatibilityDate, mode: "checkbox" };
452
+ case "com.shwfed.table.column.markdown":
453
+ return { id, type, compatibilityDate, title: [{ locale: "zh", message: "" }], markdown: [{ locale: "zh", message: "" }], size: 120 };
454
+ case "com.shwfed.table.column.actions":
455
+ return { id, type, compatibilityDate, title: [{ locale: "zh", message: "" }], size: 200, groups: [], items: [] };
456
+ default:
457
+ return { id, type, compatibilityDate };
458
+ }
459
+ }
460
+ function addColumn(columnType, compatibilityDate) {
461
+ const col = getColumnDefaults(crypto.randomUUID(), columnType, compatibilityDate);
462
+ editingColumns.value = [...editingColumns.value, col];
463
+ selected.value = { kind: "column", id: col.id };
464
+ }
465
+ function pruneEmptyGroupW(w, groupId) {
466
+ const hasMembers = w.columns.some((c) => c.groupId === groupId);
467
+ if (hasMembers) return;
468
+ w.groups = w.groups.filter((g) => g.id !== groupId);
469
+ }
470
+ function deleteGroup(groupId) {
471
+ const w = snapshot();
472
+ w.columns = w.columns.map((c) => {
473
+ if (c.groupId !== groupId) return c;
474
+ const { groupId: _g, ...rest } = c;
475
+ return rest;
476
+ });
477
+ w.groups = w.groups.filter((g) => g.id !== groupId);
478
+ reconcilePinningW(w);
479
+ commit(w);
480
+ resolveSelection();
481
+ }
482
+ function deleteColumn(columnId) {
483
+ const w = snapshot();
484
+ const col = w.columns.find((c) => c.id === columnId);
485
+ w.columns = w.columns.filter((c) => c.id !== columnId);
486
+ if (col?.groupId) pruneEmptyGroupW(w, col.groupId);
487
+ reconcilePinningW(w);
488
+ commit(w);
489
+ resolveSelection();
490
+ }
491
+ function resolveSelection() {
492
+ const s = selected.value;
493
+ if (s.kind === "general") return;
494
+ if (s.kind === "actions") return;
495
+ if (s.kind === "query") return;
496
+ if (s.kind === "group" && findGroup(s.id)) return;
497
+ if (s.kind === "column" && findColumn(s.id)) return;
498
+ selected.value = { kind: "general" };
499
+ }
500
+ function selectGeneral() {
501
+ selected.value = { kind: "general" };
502
+ }
503
+ function selectActions() {
504
+ selected.value = { kind: "actions" };
505
+ }
506
+ function selectQuery() {
507
+ selected.value = { kind: "query" };
508
+ }
509
+ function selectGroup(id) {
510
+ selected.value = { kind: "group", id };
511
+ }
512
+ function selectColumn(id) {
513
+ selected.value = { kind: "column", id };
514
+ }
515
+ const breadcrumbExt = inject(BREADCRUMB_EXTENSION_KEY, null);
516
+ if (breadcrumbExt) {
517
+ const crumb = breadcrumbExt.add();
518
+ watch(
519
+ [selected, columnFullPane],
520
+ ([s, full]) => {
521
+ if (s.kind === "actions") {
522
+ crumb.label.value = generalFieldTitle("actions");
523
+ crumb.back.value = selectGeneral;
524
+ } else if (s.kind === "query") {
525
+ crumb.label.value = generalFieldTitle("query");
526
+ crumb.back.value = selectGeneral;
527
+ } else if (s.kind === "column" && full) {
528
+ const col = findColumn(s.id);
529
+ crumb.label.value = col ? `\u7F16\u8F91${columnLabel(col)}` : "\u7F16\u8F91\u5217";
530
+ crumb.back.value = selectGeneral;
531
+ } else {
532
+ crumb.label.value = null;
533
+ crumb.back.value = null;
534
+ }
535
+ },
536
+ { immediate: true }
537
+ );
538
+ onBeforeUnmount(() => {
539
+ crumb.dispose();
540
+ });
541
+ }
542
+ function patchColumn(id, patch) {
543
+ editingColumns.value = editingColumns.value.map(
544
+ (c) => c.id === id ? { ...c, ...patch } : c
545
+ );
546
+ }
547
+ function patchSelectedColumn(next) {
548
+ if (selected.value.kind !== "column") return;
549
+ patchColumn(selected.value.id, next);
550
+ }
551
+ function patchSelectedGroup(next) {
552
+ if (selected.value.kind !== "group") return;
553
+ const id = selected.value.id;
554
+ editingGroups.value = editingGroups.value.map(
555
+ (g) => g.id === id ? { ...g, ...next } : g
556
+ );
557
+ }
558
+ const PIN_LEFT_ZONE = "pin-left-zone";
559
+ const PIN_RIGHT_ZONE = "pin-right-zone";
560
+ function reorderColumnNextW(w, sourceId, targetId, edge) {
561
+ if (sourceId === targetId) return;
562
+ const src = w.columns.find((c) => c.id === sourceId);
563
+ const tgt = w.columns.find((c) => c.id === targetId);
564
+ if (!src || !tgt) return;
565
+ const nextGroupId = tgt.groupId;
566
+ const next = { ...src };
567
+ if (nextGroupId) next.groupId = nextGroupId;
568
+ else delete next.groupId;
569
+ const formerGroupId = src.groupId && src.groupId !== nextGroupId ? src.groupId : void 0;
570
+ const without = w.columns.filter((c) => c.id !== sourceId);
571
+ const tgtIdx = without.findIndex((c) => c.id === targetId);
572
+ if (tgtIdx < 0) {
573
+ w.columns = [...without, next];
574
+ } else {
575
+ const insertAt = edge === "reorder-above" ? tgtIdx : tgtIdx + 1;
576
+ const arr = [...without];
577
+ arr.splice(insertAt, 0, next);
578
+ w.columns = arr;
579
+ }
580
+ if (formerGroupId) pruneEmptyGroupW(w, formerGroupId);
581
+ }
582
+ function reorderColumnAroundGroupW(w, sourceId, targetGroupId, edge) {
583
+ const src = w.columns.find((c) => c.id === sourceId);
584
+ if (!src) return;
585
+ const formerGroupId = src.groupId;
586
+ const next = { ...src };
587
+ delete next.groupId;
588
+ const without = w.columns.filter((c) => c.id !== sourceId);
589
+ const memberIndices = [];
590
+ without.forEach((c, i) => {
591
+ if (c.groupId === targetGroupId) memberIndices.push(i);
592
+ });
593
+ if (memberIndices.length === 0) return;
594
+ const insertAt = edge === "reorder-above" ? memberIndices[0] : memberIndices[memberIndices.length - 1] + 1;
595
+ const arr = [...without];
596
+ arr.splice(insertAt, 0, next);
597
+ w.columns = arr;
598
+ if (formerGroupId && formerGroupId !== targetGroupId) pruneEmptyGroupW(w, formerGroupId);
599
+ }
600
+ function assignColumnToGroupW(w, sourceId, groupId) {
601
+ const src = w.columns.find((c) => c.id === sourceId);
602
+ if (!src || src.groupId === groupId) return;
603
+ const formerGroupId = src.groupId;
604
+ const next = { ...src, groupId };
605
+ const without = w.columns.filter((c) => c.id !== sourceId);
606
+ const firstMemberIdx = without.findIndex((c) => c.groupId === groupId);
607
+ const arr = [...without];
608
+ if (firstMemberIdx >= 0) arr.splice(firstMemberIdx, 0, next);
609
+ else arr.push(next);
610
+ w.columns = arr;
611
+ if (formerGroupId) pruneEmptyGroupW(w, formerGroupId);
612
+ }
613
+ function moveGroupBlockW(w, sourceGroupId, target, edge) {
614
+ const block = w.columns.filter((c) => c.groupId === sourceGroupId);
615
+ if (block.length === 0) return;
616
+ const rest = w.columns.filter((c) => c.groupId !== sourceGroupId);
617
+ let anchorIdx;
618
+ if (target.kind === "column") {
619
+ if (block.some((b) => b.id === target.id)) return;
620
+ anchorIdx = rest.findIndex((c) => c.id === target.id);
621
+ } else {
622
+ if (target.id === sourceGroupId) return;
623
+ const firstIdx = rest.findIndex((c) => c.groupId === target.id);
624
+ if (firstIdx < 0) return;
625
+ const size = rest.filter((c) => c.groupId === target.id).length;
626
+ anchorIdx = edge === "reorder-above" ? firstIdx : firstIdx + size - 1;
627
+ }
628
+ if (anchorIdx < 0) return;
629
+ const insertAt = edge === "reorder-above" ? anchorIdx : anchorIdx + 1;
630
+ const arr = [...rest];
631
+ arr.splice(insertAt, 0, ...block);
632
+ w.columns = arr;
633
+ }
634
+ function wrapColumnsInNewGroupW(w, sourceId, targetId) {
635
+ if (sourceId === targetId) return void 0;
636
+ const src = w.columns.find((c) => c.id === sourceId);
637
+ const tgt = w.columns.find((c) => c.id === targetId);
638
+ if (!src || !tgt) return void 0;
639
+ if (src.groupId || tgt.groupId) return void 0;
640
+ const newGroup = { id: crypto.randomUUID() };
641
+ w.groups = [...w.groups, newGroup];
642
+ const srcUpdated = { ...src, groupId: newGroup.id };
643
+ const tgtUpdated = { ...tgt, groupId: newGroup.id };
644
+ const without = w.columns.filter((c) => c.id !== sourceId);
645
+ const tgtIdx = without.findIndex((c) => c.id === targetId);
646
+ if (tgtIdx < 0) return void 0;
647
+ const arr = [...without];
648
+ arr[tgtIdx] = tgtUpdated;
649
+ arr.splice(tgtIdx, 0, srcUpdated);
650
+ w.columns = arr;
651
+ return newGroup.id;
652
+ }
653
+ function pinColumnToW(w, id, side) {
654
+ const col = w.columns.find((c) => c.id === id);
655
+ if (!col) return;
656
+ const formerGroupId = col.groupId;
657
+ const detached = { ...col };
658
+ if (detached.groupId) delete detached.groupId;
659
+ setColumnPinW(w, id, side);
660
+ const without = w.columns.filter((c) => c.id !== id);
661
+ const left = pinnedLeftSetOf(w);
662
+ const right = pinnedRightSetOf(w);
663
+ let insertAt;
664
+ if (side === "left") {
665
+ let last = -1;
666
+ for (let k = 0; k < without.length; k++) {
667
+ if (left.has(without[k].id)) last = k;
668
+ }
669
+ insertAt = last + 1;
670
+ } else {
671
+ let first = without.length;
672
+ for (let k = 0; k < without.length; k++) {
673
+ if (right.has(without[k].id)) {
674
+ first = k;
675
+ break;
676
+ }
677
+ }
678
+ insertAt = first;
679
+ }
680
+ const arr = [...without];
681
+ arr.splice(insertAt, 0, detached);
682
+ w.columns = arr;
683
+ if (formerGroupId) pruneEmptyGroupW(w, formerGroupId);
684
+ }
685
+ function pinGroupToW(w, groupId, side) {
686
+ const members = w.columns.filter((c) => c.groupId === groupId);
687
+ if (members.length === 0) return;
688
+ const memberIds = new Set(members.map((m) => m.id));
689
+ setGroupPinW(w, groupId, side);
690
+ const without = w.columns.filter((c) => !memberIds.has(c.id));
691
+ const left = pinnedLeftSetOf(w);
692
+ const right = pinnedRightSetOf(w);
693
+ let insertAt;
694
+ if (side === "left") {
695
+ let last = -1;
696
+ for (let k = 0; k < without.length; k++) {
697
+ if (left.has(without[k].id)) last = k;
698
+ }
699
+ insertAt = last + 1;
700
+ } else {
701
+ let first = without.length;
702
+ for (let k = 0; k < without.length; k++) {
703
+ if (right.has(without[k].id)) {
704
+ first = k;
705
+ break;
706
+ }
707
+ }
708
+ insertAt = first;
709
+ }
710
+ const arr = [...without];
711
+ arr.splice(insertAt, 0, ...members);
712
+ w.columns = arr;
713
+ }
714
+ function targetBand(target) {
715
+ return target.kind === GROUP_DRAG_KIND ? groupBand(target.id) : columnBand(target.id);
716
+ }
717
+ function bandToPin(band) {
718
+ return band === "main" ? void 0 : band;
719
+ }
720
+ function onRowDrop({ source, target, instruction }) {
721
+ if (source.kind === GROUP_DRAG_KIND) {
722
+ const w = snapshot();
723
+ if (instruction === "reorder-above" || instruction === "reorder-below") {
724
+ if (target.kind === GROUP_DRAG_KIND) {
725
+ moveGroupBlockW(w, source.id, { kind: "group", id: target.id }, instruction);
726
+ } else if (target.kind === COLUMN_DRAG_KIND) {
727
+ moveGroupBlockW(w, source.id, { kind: "column", id: target.id }, instruction);
728
+ }
729
+ setGroupPinW(w, source.id, bandToPin(targetBand(target)));
730
+ }
731
+ reconcilePinningW(w);
732
+ commit(w);
733
+ return;
734
+ }
735
+ if (source.kind === COLUMN_DRAG_KIND) {
736
+ if (target.kind === GROUP_DRAG_KIND) {
737
+ const w = snapshot();
738
+ if (instruction === "make-child") {
739
+ assignColumnToGroupW(w, source.id, target.id);
740
+ } else if (instruction === "reorder-above" || instruction === "reorder-below") {
741
+ reorderColumnAroundGroupW(w, source.id, target.id, instruction);
742
+ } else return;
743
+ setColumnPinW(w, source.id, bandToPin(groupBand(target.id)));
744
+ reconcilePinningW(w);
745
+ commit(w);
746
+ return;
747
+ }
748
+ if (target.kind === COLUMN_DRAG_KIND) {
749
+ const w = snapshot();
750
+ let newGroupId;
751
+ if (instruction === "make-child") {
752
+ newGroupId = wrapColumnsInNewGroupW(w, source.id, target.id);
753
+ setColumnPinW(w, source.id, bandToPin(columnBand(target.id)));
754
+ } else if (instruction === "reorder-above" || instruction === "reorder-below") {
755
+ reorderColumnNextW(w, source.id, target.id, instruction);
756
+ setColumnPinW(w, source.id, bandToPin(columnBand(target.id)));
757
+ }
758
+ reconcilePinningW(w);
759
+ commit(w);
760
+ if (newGroupId) selected.value = { kind: "group", id: newGroupId };
761
+ }
762
+ }
763
+ }
764
+ function onZoneDrop({ source, zoneId }) {
765
+ if (zoneId !== PIN_LEFT_ZONE && zoneId !== PIN_RIGHT_ZONE) return;
766
+ const side = zoneId === PIN_LEFT_ZONE ? "left" : "right";
767
+ const w = snapshot();
768
+ if (source.kind === COLUMN_DRAG_KIND) {
769
+ pinColumnToW(w, source.id, side);
770
+ } else if (source.kind === GROUP_DRAG_KIND) {
771
+ pinGroupToW(w, source.id, side);
772
+ }
773
+ commit(w);
774
+ }
775
+ const dnd = useTreeDnd({ onRowDrop, onZoneDrop });
776
+ const pickDragHandle = (el) => el.querySelector(".drag-handle");
777
+ function pinZoneConfig(side) {
778
+ return {
779
+ data: { side },
780
+ canDrop: (src) => {
781
+ if (src.kind === COLUMN_DRAG_KIND) {
782
+ return columnBand(src.id) !== side;
783
+ }
784
+ if (src.kind === GROUP_DRAG_KIND) {
785
+ return groupBand(src.id) !== side;
786
+ }
787
+ return false;
788
+ }
789
+ };
790
+ }
791
+ function groupRowConfig(groupId) {
792
+ const band = groupBand(groupId);
793
+ return {
794
+ kind: GROUP_DRAG_KIND,
795
+ data: { band },
796
+ canDrop: (src) => {
797
+ if (src.kind === GROUP_DRAG_KIND) return src.id !== groupId;
798
+ if (src.kind === COLUMN_DRAG_KIND) return true;
799
+ return false;
800
+ },
801
+ blockInstructions: (src) => {
802
+ const block = ["reparent"];
803
+ if (src.kind === GROUP_DRAG_KIND) {
804
+ block.push("make-child");
805
+ if (src.id === groupId) block.push("reorder-above", "reorder-below");
806
+ }
807
+ return block;
808
+ },
809
+ resolveInstruction: ({ input, element, source }) => {
810
+ const rect = element.getBoundingClientRect();
811
+ const relY = input.clientY - rect.top;
812
+ if (source.kind === COLUMN_DRAG_KIND) {
813
+ const third = rect.height / 3;
814
+ if (relY < third) return "reorder-above";
815
+ if (relY > third * 2) return "reorder-below";
816
+ return "make-child";
817
+ }
818
+ return relY < rect.height / 2 ? "reorder-above" : "reorder-below";
819
+ },
820
+ dragHandle: pickDragHandle
821
+ };
822
+ }
823
+ function columnRowConfig(columnId) {
824
+ const col = findColumn(columnId);
825
+ const colGroupId = col?.groupId;
826
+ const band = columnBand(columnId);
827
+ return {
828
+ kind: COLUMN_DRAG_KIND,
829
+ data: { groupId: colGroupId, band },
830
+ canDrop: (src) => {
831
+ if (src.kind === COLUMN_DRAG_KIND) return src.id !== columnId;
832
+ if (src.kind === GROUP_DRAG_KIND) {
833
+ return colGroupId !== src.id;
834
+ }
835
+ return false;
836
+ },
837
+ blockInstructions: (src) => {
838
+ const block = ["reparent"];
839
+ if (src.id === columnId) {
840
+ block.push("reorder-above", "reorder-below", "make-child");
841
+ return block;
842
+ }
843
+ const targetUngrouped = !colGroupId;
844
+ const sourceUngrouped = src.kind === COLUMN_DRAG_KIND && !src.data.groupId;
845
+ if (!(targetUngrouped && sourceUngrouped)) block.push("make-child");
846
+ return block;
847
+ },
848
+ resolveInstruction: ({ input, element, source }) => {
849
+ const rect = element.getBoundingClientRect();
850
+ const relY = input.clientY - rect.top;
851
+ const third = rect.height / 3;
852
+ const allowMakeChild = source.kind === COLUMN_DRAG_KIND && source.id !== columnId && !colGroupId && !source.data.groupId;
853
+ if (allowMakeChild) {
854
+ if (relY < third) return "reorder-above";
855
+ if (relY > third * 2) return "reorder-below";
856
+ return "make-child";
857
+ }
858
+ return relY < rect.height / 2 ? "reorder-above" : "reorder-below";
859
+ },
860
+ dragHandle: pickDragHandle
861
+ };
862
+ }
863
+ function parsePageSizes(value) {
864
+ return value.split(",").map((s) => Number.parseInt(s.trim(), 10)).filter((n) => !Number.isNaN(n) && n > 0);
865
+ }
866
+ function updateGeneralOptionalString(key, value) {
867
+ const cur = readGeneral();
868
+ if (value.trim() === "") {
869
+ const { [key]: _, ...rest } = cur;
870
+ config.value = {
871
+ ...config.value,
872
+ ...normalizeForEmit(rest)
873
+ };
874
+ if (key in config.value) {
875
+ const { [key]: _drop, ...rest2 } = config.value;
876
+ config.value = rest2;
877
+ }
878
+ } else {
879
+ writeGeneralPatch({ [key]: value });
880
+ }
881
+ }
882
+ function setDataSourceField(key, value) {
883
+ const cur = readGeneral();
884
+ const ds = { ...cur.dataSource ?? {} };
885
+ ds[key] = value;
886
+ writeGeneralPatch({ dataSource: ds });
887
+ }
888
+ function applyAiDataSource(value) {
889
+ const cur = readGeneral();
890
+ const ds = { ...cur.dataSource ?? {} };
891
+ if (value.data !== void 0) ds.data = value.data;
892
+ if (value.request !== void 0) {
893
+ if (value.request) ds.request = value.request;
894
+ else delete ds.request;
895
+ }
896
+ if (value.total !== void 0) {
897
+ if (value.total) ds.total = value.total;
898
+ else delete ds.total;
899
+ }
900
+ writeGeneralPatch({ dataSource: ds });
901
+ }
902
+ function applyAiColumns(value) {
903
+ const next = value.filter(
904
+ (c) => c?.type !== "com.shwfed.table.column.actions" && findColumnEntry(c?.type, c?.compatibilityDate)
905
+ );
906
+ const w = snapshot();
907
+ w.columns = next;
908
+ reconcilePinningW(w);
909
+ commit(w);
910
+ resolveSelection();
911
+ }
912
+ function updateDataSourceOptional(key, value) {
913
+ const cur = readGeneral();
914
+ const { [key]: _omit, ...rest } = cur.dataSource ?? {};
915
+ const ds = value.trim() === "" ? rest : { ...rest, [key]: value };
916
+ writeGeneralPatch({ dataSource: ds });
917
+ }
918
+ function setPageSize(value) {
919
+ const cur = readGeneral();
920
+ const p = { ...cur.pagination ?? {} };
921
+ const n = typeof value === "number" ? value : Number(value);
922
+ if (!Number.isFinite(n) || n <= 0) delete p.pageSize;
923
+ else p.pageSize = n;
924
+ writeGeneralPatch({ pagination: p });
925
+ }
926
+ function setPageSizes(value) {
927
+ const parsed = parsePageSizes(value);
928
+ const cur = readGeneral();
929
+ const p = { ...cur.pagination ?? {} };
930
+ if (parsed.length === 0) delete p.pageSizes;
931
+ else p.pageSizes = parsed;
932
+ writeGeneralPatch({ pagination: p });
933
+ }
934
+ function setPaginationLocale(key, value) {
935
+ const cur = readGeneral();
936
+ const p = { ...cur.pagination ?? {} };
937
+ if (value == null) {
938
+ if (key === "left") delete p.left;
939
+ else delete p.right;
940
+ } else p[key] = value;
941
+ writeGeneralPatch({ pagination: p });
942
+ }
943
+ function getError(fieldPath) {
944
+ return fieldErrors.value[fieldPath];
945
+ }
946
+ const tableActionsValue = computed({
947
+ get: () => {
948
+ const a = editingGeneralConfig.value.actions ?? {};
949
+ return {
950
+ kind: "shwfed.component.action",
951
+ size: a.size ?? "default",
952
+ gap: a.gap ?? 4,
953
+ style: a.style,
954
+ groups: a.groups ?? [],
955
+ items: a.items ?? []
956
+ };
957
+ },
958
+ set: (next) => {
959
+ const { size, gap, style, groups, items } = next;
960
+ const hasContent = groups && groups.length > 0 || items && items.length > 0 || typeof style === "string" && style.length > 0;
961
+ if (!hasContent) {
962
+ const cur = readGeneral();
963
+ const { actions: _drop, ...rest } = cur;
964
+ const merged = normalizeForEmit(rest);
965
+ const cleared = { ...config.value, ...merged };
966
+ delete cleared.actions;
967
+ config.value = cleared;
968
+ return;
969
+ }
970
+ const actions = { size, gap, groups, items };
971
+ if (style !== void 0) actions.style = style;
972
+ writeGeneralPatch({ actions });
973
+ }
974
+ });
975
+ const tableQueryValue = computed({
976
+ get: () => {
977
+ const q = editingGeneralConfig.value.query;
978
+ if (q) return q;
979
+ return defaultFormConfig();
980
+ },
981
+ set: (next) => {
982
+ if (!next.fields || next.fields.length === 0) {
983
+ const cur = readGeneral();
984
+ const { query: _drop, ...rest } = cur;
985
+ const merged = normalizeForEmit(rest);
986
+ const cleared = { ...config.value, ...merged };
987
+ delete cleared.query;
988
+ config.value = cleared;
989
+ return;
990
+ }
991
+ writeGeneralPatch({ query: next });
992
+ }
993
+ });
994
+ </script>
995
+
996
+ <template>
997
+ <div class="flex flex-col">
998
+ <div class="flex min-h-128 gap-6">
999
+ <div
1000
+ v-if="!isDrilled"
1001
+ class="flex w-64 shrink-0 flex-col"
1002
+ >
1003
+ <ScrollArea class="flex-1">
1004
+ <div class="flex flex-col gap-1">
1005
+ <div
1006
+ class="row general-row pl-2"
1007
+ :class="[
1008
+ selectedGeneral ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
1009
+ ]"
1010
+ @click.stop="selectGeneral()"
1011
+ >
1012
+ <Icon
1013
+ icon="fluent:settings-20-regular"
1014
+ class="size-4 shrink-0"
1015
+ />
1016
+ <span class="flex-1 truncate">通用配置</span>
1017
+ </div>
1018
+
1019
+ <div
1020
+ class="row general-row pl-2"
1021
+ :class="[
1022
+ selectedActions ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
1023
+ ]"
1024
+ @click.stop="selectActions()"
1025
+ >
1026
+ <Icon
1027
+ icon="fluent:slide-settings-20-regular"
1028
+ class="size-4 shrink-0"
1029
+ />
1030
+ <span class="flex-1 truncate">{{ generalFieldTitle("actions") }}</span>
1031
+ </div>
1032
+
1033
+ <div
1034
+ class="row general-row pl-2"
1035
+ :class="[
1036
+ selectedQuery ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
1037
+ ]"
1038
+ @click.stop="selectQuery()"
1039
+ >
1040
+ <Icon
1041
+ icon="fluent:form-new-20-regular"
1042
+ class="size-4 shrink-0"
1043
+ />
1044
+ <span class="flex-1 truncate">{{ generalFieldTitle("query") }}</span>
1045
+ </div>
1046
+ </div>
1047
+
1048
+ <Separator class="my-1" />
1049
+
1050
+ <div
1051
+ v-if="pinnedLeftIds.size === 0"
1052
+ :ref="dnd.zoneRef(PIN_LEFT_ZONE, pinZoneConfig('left'))"
1053
+ class="pin-zone"
1054
+ :data-active="dnd.isZoneActive(PIN_LEFT_ZONE) ? 'true' : void 0"
1055
+ >
1056
+ <Icon
1057
+ icon="fluent:pin-20-regular"
1058
+ class="size-3.5"
1059
+ />
1060
+ <span>固定到左侧</span>
1061
+ </div>
1062
+
1063
+ <template
1064
+ v-for="entry in renderEntries"
1065
+ :key="entryKey(entry)"
1066
+ >
1067
+ <p
1068
+ v-if="entry.kind === 'band-caption'"
1069
+ class="band-caption"
1070
+ >
1071
+ {{ entry.text }}
1072
+ </p>
1073
+
1074
+ <Separator
1075
+ v-else-if="entry.kind === 'band-separator'"
1076
+ class="my-1"
1077
+ />
1078
+
1079
+ <div
1080
+ v-else-if="entry.kind === 'group-header'"
1081
+ :ref="dnd.rowRef(entry.groupId, groupRowConfig(entry.groupId))"
1082
+ class="row group group-row pl-2"
1083
+ :class="[
1084
+ selected.kind === 'group' && selected.id === entry.groupId ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : ''
1085
+ ]"
1086
+ :data-instruction="dnd.instructionFor(entry.groupId) ?? void 0"
1087
+ @click.stop="selectGroup(entry.groupId)"
1088
+ >
1089
+ <Icon
1090
+ icon="fluent:re-order-dots-vertical-20-regular"
1091
+ class="drag-handle size-4 shrink-0 cursor-grab text-zinc-400"
1092
+ />
1093
+ <Icon
1094
+ icon="fluent:folder-20-regular"
1095
+ class="size-4 shrink-0 text-zinc-400"
1096
+ />
1097
+ <span class="flex-1 truncate">{{ groupLabel(findGroup(entry.groupId) ?? { id: entry.groupId }) }}</span>
1098
+ <Tooltip :delay-duration="180">
1099
+ <TooltipTrigger as-child>
1100
+ <button
1101
+ class="shrink-0 text-zinc-300 opacity-0 transition-opacity hover:text-red-500 group-hover:opacity-100"
1102
+ @click.stop="deleteGroup(entry.groupId)"
1103
+ >
1104
+ <Icon
1105
+ icon="fluent:delete-20-regular"
1106
+ class="size-3.5"
1107
+ />
1108
+ </button>
1109
+ </TooltipTrigger>
1110
+ <TooltipContent side="right">
1111
+ 移除该分组(其下的列将变为未分组)
1112
+ </TooltipContent>
1113
+ </Tooltip>
1114
+ </div>
1115
+
1116
+ <div
1117
+ v-else-if="entry.kind === 'column'"
1118
+ :ref="dnd.rowRef(entry.columnId, columnRowConfig(entry.columnId))"
1119
+ class="row group column-row"
1120
+ :class="[
1121
+ entry.groupId ? 'pl-6' : 'pl-2',
1122
+ selected.kind === 'column' && selected.id === entry.columnId ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
1123
+ ]"
1124
+ :data-instruction="dnd.instructionFor(entry.columnId) ?? void 0"
1125
+ @click.stop="selectColumn(entry.columnId)"
1126
+ >
1127
+ <Icon
1128
+ icon="fluent:re-order-dots-vertical-20-filled"
1129
+ class="drag-handle size-4 shrink-0 cursor-grab text-zinc-300"
1130
+ />
1131
+ <span class="flex-1 truncate">{{ columnLabel(findColumn(entry.columnId) ?? { id: entry.columnId }) }}</span>
1132
+ <Badge
1133
+ variant="secondary"
1134
+ class="shrink-0 text-[10px] leading-none"
1135
+ >
1136
+ {{ getColumnTypeLabel(findColumn(entry.columnId)?.type, findColumn(entry.columnId)?.compatibilityDate) }}
1137
+ </Badge>
1138
+ <Tooltip :delay-duration="180">
1139
+ <TooltipTrigger as-child>
1140
+ <button
1141
+ class="shrink-0 text-zinc-300 opacity-0 transition-opacity hover:text-red-500 group-hover:opacity-100"
1142
+ @click.stop="deleteColumn(entry.columnId)"
1143
+ >
1144
+ <Icon
1145
+ icon="fluent:delete-20-regular"
1146
+ class="size-3.5"
1147
+ />
1148
+ </button>
1149
+ </TooltipTrigger>
1150
+ <TooltipContent side="right">
1151
+ 从表格中移除该列
1152
+ </TooltipContent>
1153
+ </Tooltip>
1154
+ </div>
1155
+ </template>
1156
+
1157
+ <div
1158
+ v-if="pinnedRightIds.size === 0"
1159
+ :ref="dnd.zoneRef(PIN_RIGHT_ZONE, pinZoneConfig('right'))"
1160
+ class="pin-zone"
1161
+ :data-active="dnd.isZoneActive(PIN_RIGHT_ZONE) ? 'true' : void 0"
1162
+ >
1163
+ <Icon
1164
+ icon="fluent:pin-20-regular"
1165
+ class="size-3.5"
1166
+ />
1167
+ <span>固定到右侧</span>
1168
+ </div>
1169
+ </ScrollArea>
1170
+
1171
+ <div class="flex flex-col gap-2 border-t border-zinc-100 p-2">
1172
+ <InputGroup>
1173
+ <InputGroupAddon align="inline-start">
1174
+ <Icon icon="fluent:add-20-regular" />
1175
+ </InputGroupAddon>
1176
+ <InputGroupCombobox>
1177
+ <CommandGroup>
1178
+ <CommandItem
1179
+ v-for="entry in COLUMNS"
1180
+ :key="`${entry.type}@${entry.compatibilityDate}`"
1181
+ :value="`${entry.type}@${entry.compatibilityDate}`"
1182
+ @select="addColumn(entry.type, entry.compatibilityDate)"
1183
+ >
1184
+ <Icon
1185
+ :icon="entry.metadata.icon"
1186
+ class="size-4 text-zinc-500"
1187
+ />
1188
+ <span class="flex-1">{{ entry.metadata.name }}</span>
1189
+ <span class="ml-auto text-xs tabular-nums text-zinc-400">{{ entry.compatibilityDate }}</span>
1190
+ </CommandItem>
1191
+ </CommandGroup>
1192
+ </InputGroupCombobox>
1193
+ <InputGroupAddon align="inline-end">
1194
+ <TableAiColumnsButton
1195
+ :data-source="editingGeneralConfig.dataSource"
1196
+ :columns="editingColumns"
1197
+ @apply="applyAiColumns"
1198
+ />
1199
+ </InputGroupAddon>
1200
+ </InputGroup>
1201
+ </div>
1202
+ </div>
1203
+
1204
+ <div class="flex flex-1 flex-col">
1205
+ <ScrollArea class="flex-1">
1206
+ <div
1207
+ v-if="selectedGeneral"
1208
+ class="space-y-5"
1209
+ >
1210
+ <div class="flex items-center gap-2">
1211
+ <h3 class="text-xs font-medium text-zinc-500">
1212
+ {{ generalFieldTitle("dataSource") }}
1213
+ </h3>
1214
+ <TableAiDataSourceButton
1215
+ :data-source="editingGeneralConfig.dataSource"
1216
+ :columns="editingColumns"
1217
+ @apply="applyAiDataSource"
1218
+ />
1219
+ </div>
1220
+
1221
+ <div class="space-y-4">
1222
+ <Field orientation="vertical">
1223
+ <FieldLabel class="text-xs text-zinc-500">
1224
+ <template
1225
+ v-if="dataSourceFieldDescription('request')"
1226
+ #tooltip
1227
+ >
1228
+ <Markdown
1229
+ :source="dataSourceFieldDescription('request')"
1230
+ block
1231
+ class="prose prose-sm prose-zinc"
1232
+ />
1233
+ </template>
1234
+ {{ dataSourceFieldTitle("request") }}
1235
+ </FieldLabel>
1236
+ <RequestCELContext>
1237
+ <ExpressionEditor
1238
+ :model-value="editingGeneralConfig.dataSource?.request ?? ''"
1239
+ placeholder="如 http.get('/api/users').query('page', pageIndex)"
1240
+ result-type="HttpRequest"
1241
+ multiline
1242
+ class="min-h-20"
1243
+ @update:model-value="(v) => updateDataSourceOptional('request', v)"
1244
+ />
1245
+ </RequestCELContext>
1246
+ <p
1247
+ v-if="getError('dataSource.request')"
1248
+ class="text-xs text-red-500"
1249
+ >
1250
+ {{ getError("dataSource.request") }}
1251
+ </p>
1252
+ </Field>
1253
+
1254
+ <div class="grid grid-cols-2 gap-x-6 gap-y-4">
1255
+ <Field orientation="vertical">
1256
+ <FieldLabel class="text-xs text-zinc-500">
1257
+ <template
1258
+ v-if="dataSourceFieldDescription('data')"
1259
+ #tooltip
1260
+ >
1261
+ <Markdown
1262
+ :source="dataSourceFieldDescription('data')"
1263
+ block
1264
+ class="prose prose-sm prose-zinc"
1265
+ />
1266
+ </template>
1267
+ {{ dataSourceFieldTitle("data") }}
1268
+ </FieldLabel>
1269
+ <JsonCELContext>
1270
+ <ExpressionEditor
1271
+ :model-value="editingGeneralConfig.dataSource?.data ?? ''"
1272
+ placeholder="如 json.?value.items.orValue([])"
1273
+ result-type="list"
1274
+ @update:model-value="(v) => setDataSourceField('data', v)"
1275
+ />
1276
+ </JsonCELContext>
1277
+ <p
1278
+ v-if="getError('dataSource.data')"
1279
+ class="text-xs text-red-500"
1280
+ >
1281
+ {{ getError("dataSource.data") }}
1282
+ </p>
1283
+ </Field>
1284
+ <Field orientation="vertical">
1285
+ <FieldLabel class="text-xs text-zinc-500">
1286
+ <template
1287
+ v-if="dataSourceFieldDescription('total')"
1288
+ #tooltip
1289
+ >
1290
+ <Markdown
1291
+ :source="dataSourceFieldDescription('total')"
1292
+ block
1293
+ class="prose prose-sm prose-zinc"
1294
+ />
1295
+ </template>
1296
+ {{ dataSourceFieldTitle("total") }}
1297
+ </FieldLabel>
1298
+ <JsonCELContext>
1299
+ <ExpressionEditor
1300
+ :model-value="editingGeneralConfig.dataSource?.total ?? ''"
1301
+ placeholder="留空使用前端分页;如 json.?value.total.orValue(0)"
1302
+ result-type="number"
1303
+ @update:model-value="(v) => updateDataSourceOptional('total', v)"
1304
+ />
1305
+ </JsonCELContext>
1306
+ <p
1307
+ v-if="getError('dataSource.total')"
1308
+ class="text-xs text-red-500"
1309
+ >
1310
+ {{ getError("dataSource.total") }}
1311
+ </p>
1312
+ </Field>
1313
+ </div>
1314
+ </div>
1315
+
1316
+ <Separator />
1317
+
1318
+ <h3 class="text-xs font-medium text-zinc-500">
1319
+ {{ generalFieldTitle("pagination") }}
1320
+ </h3>
1321
+
1322
+ <div class="grid grid-cols-2 gap-x-6 gap-y-4">
1323
+ <Field orientation="vertical">
1324
+ <FieldLabel class="text-xs text-zinc-500">
1325
+ <template
1326
+ v-if="paginationFieldDescription('pageSize')"
1327
+ #tooltip
1328
+ >
1329
+ <Markdown
1330
+ :source="paginationFieldDescription('pageSize')"
1331
+ block
1332
+ class="prose prose-sm prose-zinc"
1333
+ />
1334
+ </template>
1335
+ {{ paginationFieldTitle("pageSize") }}
1336
+ </FieldLabel>
1337
+ <InputGroup>
1338
+ <InputGroupNumberField
1339
+ :model-value="editingGeneralConfig.pagination?.pageSize"
1340
+ :min="1"
1341
+ class="font-mono"
1342
+ @update:model-value="(v) => setPageSize(v)"
1343
+ />
1344
+ </InputGroup>
1345
+ <p
1346
+ v-if="getError('pagination.pageSize')"
1347
+ class="text-xs text-red-500"
1348
+ >
1349
+ {{ getError("pagination.pageSize") }}
1350
+ </p>
1351
+ </Field>
1352
+ <Field orientation="vertical">
1353
+ <FieldLabel class="text-xs text-zinc-500">
1354
+ <template
1355
+ v-if="paginationFieldDescription('pageSizes')"
1356
+ #tooltip
1357
+ >
1358
+ <Markdown
1359
+ :source="paginationFieldDescription('pageSizes')"
1360
+ block
1361
+ class="prose prose-sm prose-zinc"
1362
+ />
1363
+ </template>
1364
+ {{ paginationFieldTitle("pageSizes") }}
1365
+ </FieldLabel>
1366
+ <Input
1367
+ :model-value="(editingGeneralConfig.pagination?.pageSizes ?? []).join(', ')"
1368
+ placeholder="如 20, 50, 100, 200"
1369
+ class="font-mono text-xs"
1370
+ @update:model-value="(v) => setPageSizes(String(v))"
1371
+ />
1372
+ <p
1373
+ v-if="getError('pagination.pageSizes')"
1374
+ class="text-xs text-red-500"
1375
+ >
1376
+ {{ getError("pagination.pageSizes") }}
1377
+ </p>
1378
+ </Field>
1379
+ <Field orientation="vertical">
1380
+ <FieldLabel class="text-xs text-zinc-500">
1381
+ <template
1382
+ v-if="paginationFieldDescription('left')"
1383
+ #tooltip
1384
+ >
1385
+ <Markdown
1386
+ :source="paginationFieldDescription('left')"
1387
+ block
1388
+ class="prose prose-sm prose-zinc"
1389
+ />
1390
+ </template>
1391
+ {{ paginationFieldTitle("left") }}
1392
+ </FieldLabel>
1393
+ <Locale
1394
+ :model-value="editingGeneralConfig.pagination?.left"
1395
+ markdown
1396
+ @update:model-value="(v) => setPaginationLocale('left', v)"
1397
+ />
1398
+ </Field>
1399
+ <Field orientation="vertical">
1400
+ <FieldLabel class="text-xs text-zinc-500">
1401
+ <template
1402
+ v-if="paginationFieldDescription('right')"
1403
+ #tooltip
1404
+ >
1405
+ <Markdown
1406
+ :source="paginationFieldDescription('right')"
1407
+ block
1408
+ class="prose prose-sm prose-zinc"
1409
+ />
1410
+ </template>
1411
+ {{ paginationFieldTitle("right") }}
1412
+ </FieldLabel>
1413
+ <Locale
1414
+ :model-value="editingGeneralConfig.pagination?.right"
1415
+ markdown
1416
+ @update:model-value="(v) => setPaginationLocale('right', v)"
1417
+ />
1418
+ </Field>
1419
+ </div>
1420
+
1421
+ <Separator />
1422
+
1423
+ <h3 class="text-xs font-medium text-zinc-500">
1424
+ 样式
1425
+ </h3>
1426
+
1427
+ <div class="space-y-4">
1428
+ <Field orientation="vertical">
1429
+ <FieldLabel class="text-xs text-zinc-500">
1430
+ <template
1431
+ v-if="generalFieldDescription('cellStyle')"
1432
+ #tooltip
1433
+ >
1434
+ <Markdown
1435
+ :source="generalFieldDescription('cellStyle')"
1436
+ block
1437
+ class="prose prose-sm prose-zinc"
1438
+ />
1439
+ </template>
1440
+ {{ generalFieldTitle("cellStyle") }}
1441
+ </FieldLabel>
1442
+ <CellStyleCELContext>
1443
+ <ExpressionEditor
1444
+ :model-value="editingGeneralConfig.cellStyle ?? ''"
1445
+ placeholder="如 { 'color': 'red' }"
1446
+ result-type="map"
1447
+ multiline
1448
+ class="min-h-10"
1449
+ @update:model-value="(v) => updateGeneralOptionalString('cellStyle', v)"
1450
+ />
1451
+ </CellStyleCELContext>
1452
+ <p
1453
+ v-if="getError('cellStyle')"
1454
+ class="text-xs text-red-500"
1455
+ >
1456
+ {{ getError("cellStyle") }}
1457
+ </p>
1458
+ </Field>
1459
+
1460
+ <Field orientation="vertical">
1461
+ <FieldLabel class="text-xs text-zinc-500">
1462
+ <template
1463
+ v-if="generalFieldDescription('style')"
1464
+ #tooltip
1465
+ >
1466
+ <Markdown
1467
+ :source="generalFieldDescription('style')"
1468
+ block
1469
+ class="prose prose-sm prose-zinc"
1470
+ />
1471
+ </template>
1472
+ {{ generalFieldTitle("style") }}
1473
+ </FieldLabel>
1474
+ <Textarea
1475
+ :model-value="editingGeneralConfig.style ?? ''"
1476
+ placeholder="CSS 样式字符串"
1477
+ class="min-h-20 font-mono text-xs"
1478
+ @update:model-value="(v) => updateGeneralOptionalString('style', String(v))"
1479
+ />
1480
+ <p
1481
+ v-if="getError('style')"
1482
+ class="text-xs text-red-500"
1483
+ >
1484
+ {{ getError("style") }}
1485
+ </p>
1486
+ </Field>
1487
+ </div>
1488
+ </div>
1489
+
1490
+ <TableActionsCELContext v-else-if="selectedActions">
1491
+ <ActionsConfigEditor
1492
+ v-model="tableActionsValue"
1493
+ :configure="configureTableActions"
1494
+ />
1495
+ </TableActionsCELContext>
1496
+
1497
+ <ShwfedFormConfig
1498
+ v-else-if="selectedQuery"
1499
+ v-model="tableQueryValue"
1500
+ :configure="configureTableQuery"
1501
+ />
1502
+
1503
+ <div
1504
+ v-else-if="selectedGroupRef"
1505
+ class="grid grid-cols-2 gap-4"
1506
+ >
1507
+ <Field orientation="vertical">
1508
+ <FieldLabel class="text-xs text-zinc-500">
1509
+ <template
1510
+ v-if="groupFieldDescription('title')"
1511
+ #tooltip
1512
+ >
1513
+ <Markdown
1514
+ :source="groupFieldDescription('title')"
1515
+ block
1516
+ class="prose prose-sm prose-zinc"
1517
+ />
1518
+ </template>
1519
+ {{ groupFieldTitle("title") }}
1520
+ </FieldLabel>
1521
+ <Locale
1522
+ :model-value="selectedGroupRef.title"
1523
+ @update:model-value="(v) => patchSelectedGroup({ title: v })"
1524
+ />
1525
+ </Field>
1526
+
1527
+ <Field orientation="vertical">
1528
+ <FieldLabel class="text-xs text-zinc-500">
1529
+ <template
1530
+ v-if="groupFieldDescription('tooltip')"
1531
+ #tooltip
1532
+ >
1533
+ <Markdown
1534
+ :source="groupFieldDescription('tooltip')"
1535
+ block
1536
+ class="prose prose-sm prose-zinc"
1537
+ />
1538
+ </template>
1539
+ {{ groupFieldTitle("tooltip") }}
1540
+ </FieldLabel>
1541
+ <Locale
1542
+ :model-value="selectedGroupRef.tooltip"
1543
+ markdown
1544
+ @update:model-value="(v) => patchSelectedGroup({ tooltip: v })"
1545
+ />
1546
+ </Field>
1547
+ </div>
1548
+
1549
+ <div
1550
+ v-else-if="selectedColumnRef"
1551
+ :class="columnFullPane ? '' : 'space-y-5'"
1552
+ >
1553
+ <component
1554
+ :is="selectedColumnEntry.config"
1555
+ v-if="selectedColumnEntry"
1556
+ :model-value="selectedColumnRef"
1557
+ @update:model-value="(v) => patchSelectedColumn(v)"
1558
+ />
1559
+ <div
1560
+ v-else
1561
+ class="text-xs text-red-500"
1562
+ >
1563
+ 未知列类型:{{ selectedColumnRef.type }}@{{ selectedColumnRef.compatibilityDate }}
1564
+ </div>
1565
+ </div>
1566
+
1567
+ <div
1568
+ v-else
1569
+ class="flex min-h-112 items-center justify-center text-sm text-zinc-400"
1570
+ >
1571
+ 选择一项以编辑
1572
+ </div>
1573
+ </ScrollArea>
1574
+ </div>
1575
+ </div>
1576
+ </div>
1577
+ </template>
1578
+
1579
+ <style scoped>
1580
+ .row{align-items:center;border-radius:.25rem;cursor:pointer;display:flex;font-size:.875rem;gap:.375rem;padding-block:.375rem;padding-right:.5rem;position:relative;transition:background-color .1s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.group-row{color:#3f3f46;font-weight:500}.group-row:hover{background:#fafafa}.general-row{font-weight:500}[data-instruction=reorder-above]:before,[data-instruction=reorder-below]:after{background:var(--primary,#2563eb);content:"";height:2px;left:.5rem;pointer-events:none;position:absolute;right:.5rem;z-index:1}[data-instruction=reorder-above]:before{top:-1px}[data-instruction=reorder-below]:after{bottom:-1px}.column-row[data-instruction=make-child],.group-row[data-instruction=make-child]{background:color-mix(in srgb,var(--primary,#2563eb) 12%,#fff);border-radius:.25rem;outline:1px dashed var(--primary,#2563eb);outline-offset:-2px}.band-caption{color:#a1a1aa;font-size:.625rem;font-weight:500;letter-spacing:.04em;padding:.125rem .5rem;text-transform:uppercase}.pin-zone{align-items:center;border-radius:.25rem;color:transparent;display:flex;font-size:.75rem;gap:.25rem;height:.5rem;justify-content:center;margin:.125rem 0;pointer-events:auto;transition:height .12s ease,color .12s ease,background-color .12s ease}.pin-zone>*{pointer-events:none}.pin-zone[data-active=true]{background-color:color-mix(in srgb,var(--primary,#2563eb) 8%,#fff);color:var(--primary,#2563eb);height:1.75rem}
1581
+ </style>