@shwfed/config 2.0.0 → 2.0.2

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