@shwfed/config 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1263) hide show
  1. package/README.md +36 -0
  2. package/dist/chunks/index.mjs +212742 -0
  3. package/dist/module.d.mts +44 -0
  4. package/dist/module.json +9 -0
  5. package/dist/module.mjs +23 -0
  6. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.d.vue.ts +23 -0
  7. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue +107 -0
  8. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue.d.ts +23 -0
  9. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.d.vue.ts +8 -0
  10. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue +30 -0
  11. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue.d.ts +8 -0
  12. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.d.ts +16 -0
  13. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.js +48 -0
  14. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.d.vue.ts +41 -0
  15. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue +170 -0
  16. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue.d.ts +41 -0
  17. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.d.vue.ts +8 -0
  18. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue +37 -0
  19. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue.d.ts +8 -0
  20. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +25 -0
  21. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.js +62 -0
  22. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.d.vue.ts +17 -0
  23. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue +62 -0
  24. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue.d.ts +17 -0
  25. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.d.vue.ts +8 -0
  26. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.vue +17 -0
  27. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/runtime.vue.d.ts +8 -0
  28. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.d.ts +13 -0
  29. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.js +16 -0
  30. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.d.vue.ts +21 -0
  31. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.vue +84 -0
  32. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/config.vue.d.ts +21 -0
  33. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.d.vue.ts +8 -0
  34. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.vue +29 -0
  35. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/runtime.vue.d.ts +8 -0
  36. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/schema.d.ts +15 -0
  37. package/dist/runtime/components/actions/buttons/2026-04-21/com.shwfed.actions.button.navigation/schema.js +27 -0
  38. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/config.d.vue.ts +17 -0
  39. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/config.vue +10 -0
  40. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/config.vue.d.ts +17 -0
  41. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/runtime.d.vue.ts +8 -0
  42. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/runtime.vue +25 -0
  43. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/runtime.vue.d.ts +8 -0
  44. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/schema.d.ts +13 -0
  45. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.reset/schema.js +16 -0
  46. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.d.vue.ts +17 -0
  47. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.vue +10 -0
  48. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/config.vue.d.ts +17 -0
  49. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/runtime.d.vue.ts +8 -0
  50. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/runtime.vue +21 -0
  51. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/runtime.vue.d.ts +8 -0
  52. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/schema.d.ts +13 -0
  53. package/dist/runtime/components/actions/buttons/2026-04-27/com.shwfed.actions.button.table.search/schema.js +16 -0
  54. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.d.vue.ts +80 -0
  55. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue +325 -0
  56. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/config.vue.d.ts +80 -0
  57. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.d.vue.ts +10 -0
  58. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue +56 -0
  59. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue.d.ts +10 -0
  60. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +77 -0
  61. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.js +46 -0
  62. package/dist/runtime/components/actions/components/definition.d.vue.ts +22 -0
  63. package/dist/runtime/components/actions/components/definition.vue +64 -0
  64. package/dist/runtime/components/actions/components/definition.vue.d.ts +22 -0
  65. package/dist/runtime/components/actions/components/group.d.vue.ts +160 -0
  66. package/dist/runtime/components/actions/components/group.vue +519 -0
  67. package/dist/runtime/components/actions/components/group.vue.d.ts +160 -0
  68. package/dist/runtime/components/actions/config.d.vue.ts +158 -0
  69. package/dist/runtime/components/actions/config.vue +1549 -0
  70. package/dist/runtime/components/actions/config.vue.d.ts +158 -0
  71. package/dist/runtime/components/actions/schema.d.ts +294 -0
  72. package/dist/runtime/components/actions/schema.js +210 -0
  73. package/dist/runtime/components/actions/utils/button-registry.d.ts +25 -0
  74. package/dist/runtime/components/actions/utils/button-registry.js +1 -0
  75. package/dist/runtime/components/actions/utils/resolve.d.ts +27 -0
  76. package/dist/runtime/components/actions/utils/resolve.js +80 -0
  77. package/dist/runtime/components/ai/byok-button.d.vue.ts +3 -0
  78. package/dist/runtime/components/ai/byok-button.vue +48 -0
  79. package/dist/runtime/components/ai/byok-button.vue.d.ts +3 -0
  80. package/dist/runtime/components/ai/byok-settings.d.vue.ts +3 -0
  81. package/dist/runtime/components/ai/byok-settings.vue +282 -0
  82. package/dist/runtime/components/ai/byok-settings.vue.d.ts +3 -0
  83. package/dist/runtime/components/app.d.vue.ts +13 -0
  84. package/dist/runtime/components/app.vue +202 -0
  85. package/dist/runtime/components/app.vue.d.ts +13 -0
  86. package/dist/runtime/components/block-layout-editor/index.d.vue.ts +90 -0
  87. package/dist/runtime/components/block-layout-editor/index.vue +1312 -0
  88. package/dist/runtime/components/block-layout-editor/index.vue.d.ts +90 -0
  89. package/dist/runtime/components/block-layout-editor/meta-strip.d.vue.ts +23 -0
  90. package/dist/runtime/components/block-layout-editor/meta-strip.vue +84 -0
  91. package/dist/runtime/components/block-layout-editor/meta-strip.vue.d.ts +23 -0
  92. package/dist/runtime/components/block-layout-editor/sidebar.d.vue.ts +39 -0
  93. package/dist/runtime/components/block-layout-editor/sidebar.vue +170 -0
  94. package/dist/runtime/components/block-layout-editor/sidebar.vue.d.ts +39 -0
  95. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.d.vue.ts +153 -0
  96. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue +18 -0
  97. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue.d.ts +153 -0
  98. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.d.vue.ts +158 -0
  99. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue +22 -0
  100. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue.d.ts +158 -0
  101. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +98 -0
  102. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.js +28 -0
  103. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +68 -0
  104. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue +22 -0
  105. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +68 -0
  106. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +72 -0
  107. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue +24 -0
  108. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +72 -0
  109. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +84 -0
  110. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.js +30 -0
  111. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.d.vue.ts +35 -0
  112. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.vue +66 -0
  113. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/config.vue.d.ts +35 -0
  114. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.d.vue.ts +35 -0
  115. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue +19 -0
  116. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue.d.ts +35 -0
  117. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +35 -0
  118. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.js +31 -0
  119. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +350 -0
  120. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue +22 -0
  121. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +350 -0
  122. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +345 -0
  123. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue +17 -0
  124. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +345 -0
  125. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +393 -0
  126. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.js +28 -0
  127. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.d.vue.ts +86 -0
  128. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue +498 -0
  129. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/config.vue.d.ts +86 -0
  130. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.d.vue.ts +86 -0
  131. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue +62 -0
  132. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/runtime.vue.d.ts +86 -0
  133. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +155 -0
  134. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.js +94 -0
  135. package/dist/runtime/components/config/breadcrumb-extension.d.ts +15 -0
  136. package/dist/runtime/components/config/breadcrumb-extension.js +1 -0
  137. package/dist/runtime/components/config/breadcrumb.d.vue.ts +7 -0
  138. package/dist/runtime/components/config/breadcrumb.vue +61 -0
  139. package/dist/runtime/components/config/breadcrumb.vue.d.ts +7 -0
  140. package/dist/runtime/components/config/config.d.vue.ts +7 -0
  141. package/dist/runtime/components/config/config.vue +139 -0
  142. package/dist/runtime/components/config/config.vue.d.ts +7 -0
  143. package/dist/runtime/components/config/footer.d.vue.ts +11 -0
  144. package/dist/runtime/components/config/footer.vue +64 -0
  145. package/dist/runtime/components/config/footer.vue.d.ts +11 -0
  146. package/dist/runtime/components/config/index.d.vue.ts +37 -0
  147. package/dist/runtime/components/config/index.vue +81 -0
  148. package/dist/runtime/components/config/index.vue.d.ts +37 -0
  149. package/dist/runtime/components/config/schema.d.ts +102 -0
  150. package/dist/runtime/components/config/schema.js +23 -0
  151. package/dist/runtime/components/config/use-editor.d.ts +102 -0
  152. package/dist/runtime/components/config/use-editor.js +388 -0
  153. package/dist/runtime/components/config/utils/block-ref-cache.d.ts +9 -0
  154. package/dist/runtime/components/config/utils/block-ref-cache.js +14 -0
  155. package/dist/runtime/components/config/utils/resolve.d.ts +39 -0
  156. package/dist/runtime/components/config/utils/resolve.js +62 -0
  157. package/dist/runtime/components/form/config.d.vue.ts +16 -0
  158. package/dist/runtime/components/form/config.vue +111 -0
  159. package/dist/runtime/components/form/config.vue.d.ts +16 -0
  160. package/dist/runtime/components/form/field-layout.d.ts +5 -0
  161. package/dist/runtime/components/form/field-layout.js +1 -0
  162. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.d.vue.ts +37 -0
  163. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.vue +87 -0
  164. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.vue.d.ts +37 -0
  165. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.d.vue.ts +8 -0
  166. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue +22 -0
  167. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue.d.ts +8 -0
  168. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +33 -0
  169. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.js +25 -0
  170. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +73 -0
  171. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue +247 -0
  172. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +73 -0
  173. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.d.vue.ts +8 -0
  174. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +118 -0
  175. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue.d.ts +8 -0
  176. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +51 -0
  177. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +48 -0
  178. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.d.vue.ts +75 -0
  179. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue +288 -0
  180. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue.d.ts +75 -0
  181. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.d.vue.ts +8 -0
  182. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +93 -0
  183. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue.d.ts +8 -0
  184. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +53 -0
  185. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +52 -0
  186. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.d.vue.ts +149 -0
  187. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue +97 -0
  188. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue.d.ts +149 -0
  189. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.d.vue.ts +8 -0
  190. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue +26 -0
  191. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/runtime.vue.d.ts +8 -0
  192. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +95 -0
  193. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.js +28 -0
  194. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +91 -0
  195. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue +308 -0
  196. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +91 -0
  197. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.d.vue.ts +8 -0
  198. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue +240 -0
  199. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue.d.ts +8 -0
  200. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +75 -0
  201. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.js +70 -0
  202. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +99 -0
  203. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue +472 -0
  204. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +99 -0
  205. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.d.vue.ts +8 -0
  206. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +115 -0
  207. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue.d.ts +8 -0
  208. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +75 -0
  209. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +77 -0
  210. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +119 -0
  211. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue +578 -0
  212. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +119 -0
  213. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.d.vue.ts +8 -0
  214. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +136 -0
  215. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue.d.ts +8 -0
  216. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +87 -0
  217. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +96 -0
  218. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +103 -0
  219. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue +554 -0
  220. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +103 -0
  221. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.d.vue.ts +8 -0
  222. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +117 -0
  223. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue.d.ts +8 -0
  224. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +87 -0
  225. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +95 -0
  226. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +123 -0
  227. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue +662 -0
  228. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +123 -0
  229. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.d.vue.ts +8 -0
  230. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +138 -0
  231. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue.d.ts +8 -0
  232. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +99 -0
  233. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +114 -0
  234. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.d.vue.ts +65 -0
  235. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue +361 -0
  236. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue.d.ts +65 -0
  237. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.d.vue.ts +8 -0
  238. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue +91 -0
  239. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue.d.ts +8 -0
  240. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +57 -0
  241. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.js +66 -0
  242. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +67 -0
  243. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue +389 -0
  244. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +67 -0
  245. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.d.vue.ts +8 -0
  246. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue +103 -0
  247. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue.d.ts +8 -0
  248. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +59 -0
  249. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js +73 -0
  250. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +83 -0
  251. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue +405 -0
  252. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +83 -0
  253. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.d.vue.ts +8 -0
  254. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +163 -0
  255. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue.d.ts +8 -0
  256. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +56 -0
  257. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +69 -0
  258. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +99 -0
  259. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue +457 -0
  260. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +99 -0
  261. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.d.vue.ts +8 -0
  262. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue +238 -0
  263. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue.d.ts +8 -0
  264. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +65 -0
  265. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js +80 -0
  266. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +85 -0
  267. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue +226 -0
  268. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +85 -0
  269. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.d.vue.ts +8 -0
  270. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue +93 -0
  271. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue.d.ts +8 -0
  272. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +57 -0
  273. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +51 -0
  274. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.d.vue.ts +121 -0
  275. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue +469 -0
  276. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue.d.ts +121 -0
  277. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.d.vue.ts +8 -0
  278. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue +257 -0
  279. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue.d.ts +8 -0
  280. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +140 -0
  281. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.js +143 -0
  282. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.d.vue.ts +115 -0
  283. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue +609 -0
  284. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue.d.ts +115 -0
  285. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.d.vue.ts +8 -0
  286. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +367 -0
  287. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue.d.ts +8 -0
  288. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +79 -0
  289. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.js +86 -0
  290. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +93 -0
  291. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue +330 -0
  292. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +93 -0
  293. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.d.vue.ts +8 -0
  294. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue +281 -0
  295. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue.d.ts +8 -0
  296. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +74 -0
  297. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +83 -0
  298. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +105 -0
  299. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue +332 -0
  300. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +105 -0
  301. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.d.vue.ts +16 -0
  302. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue +119 -0
  303. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue.d.ts +16 -0
  304. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.d.vue.ts +8 -0
  305. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +218 -0
  306. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue.d.ts +8 -0
  307. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +111 -0
  308. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +78 -0
  309. package/dist/runtime/components/form/index.d.vue.ts +22 -0
  310. package/dist/runtime/components/form/index.vue +175 -0
  311. package/dist/runtime/components/form/index.vue.d.ts +22 -0
  312. package/dist/runtime/components/form/schema.d.ts +164 -0
  313. package/dist/runtime/components/form/schema.js +77 -0
  314. package/dist/runtime/components/form/unit-config.d.vue.ts +63 -0
  315. package/dist/runtime/components/form/unit-config.vue +498 -0
  316. package/dist/runtime/components/form/unit-config.vue.d.ts +63 -0
  317. package/dist/runtime/components/form/utils/common.d.ts +15 -0
  318. package/dist/runtime/components/form/utils/common.js +26 -0
  319. package/dist/runtime/components/form/utils/resolve.d.ts +77 -0
  320. package/dist/runtime/components/form/utils/resolve.js +74 -0
  321. package/dist/runtime/components/form/utils/schema-meta.d.ts +5 -0
  322. package/dist/runtime/components/form/utils/schema-meta.js +48 -0
  323. package/dist/runtime/components/form/utils/state.d.ts +11 -0
  324. package/dist/runtime/components/form/utils/state.js +26 -0
  325. package/dist/runtime/components/modal.d.vue.ts +56 -0
  326. package/dist/runtime/components/modal.vue +153 -0
  327. package/dist/runtime/components/modal.vue.d.ts +56 -0
  328. package/dist/runtime/components/sidebar-takeover.d.ts +6 -0
  329. package/dist/runtime/components/sidebar-takeover.js +1 -0
  330. package/dist/runtime/components/table/ai/columns-button.d.vue.ts +12 -0
  331. package/dist/runtime/components/table/ai/columns-button.vue +499 -0
  332. package/dist/runtime/components/table/ai/columns-button.vue.d.ts +12 -0
  333. package/dist/runtime/components/table/ai/columns-task.md +44 -0
  334. package/dist/runtime/components/table/ai/data-source-button.d.vue.ts +20 -0
  335. package/dist/runtime/components/table/ai/data-source-button.vue +332 -0
  336. package/dist/runtime/components/table/ai/data-source-button.vue.d.ts +20 -0
  337. package/dist/runtime/components/table/ai/data-source-task.md +17 -0
  338. package/dist/runtime/components/table/column-layout.d.ts +5 -0
  339. package/dist/runtime/components/table/column-layout.js +1 -0
  340. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.d.vue.ts +10 -0
  341. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.vue +112 -0
  342. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/config.vue.d.ts +10 -0
  343. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.d.vue.ts +9 -0
  344. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue +28 -0
  345. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/runtime.vue.d.ts +9 -0
  346. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +94 -0
  347. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.js +45 -0
  348. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.d.vue.ts +10 -0
  349. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue +225 -0
  350. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue.d.ts +10 -0
  351. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.d.vue.ts +9 -0
  352. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.vue +32 -0
  353. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/runtime.vue.d.ts +9 -0
  354. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +40 -0
  355. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js +42 -0
  356. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.d.vue.ts +10 -0
  357. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue +215 -0
  358. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue.d.ts +10 -0
  359. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.d.vue.ts +9 -0
  360. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue +46 -0
  361. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue.d.ts +9 -0
  362. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +40 -0
  363. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js +45 -0
  364. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.d.vue.ts +10 -0
  365. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.vue +180 -0
  366. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/config.vue.d.ts +10 -0
  367. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.d.vue.ts +9 -0
  368. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +68 -0
  369. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue.d.ts +9 -0
  370. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +51 -0
  371. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.js +51 -0
  372. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.d.vue.ts +10 -0
  373. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue +293 -0
  374. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue.d.ts +10 -0
  375. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.d.vue.ts +9 -0
  376. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.vue +97 -0
  377. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/runtime.vue.d.ts +9 -0
  378. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +44 -0
  379. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js +50 -0
  380. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.d.vue.ts +10 -0
  381. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.vue +141 -0
  382. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/config.vue.d.ts +10 -0
  383. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.d.vue.ts +9 -0
  384. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.vue +60 -0
  385. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/header.vue.d.ts +9 -0
  386. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.d.vue.ts +9 -0
  387. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +117 -0
  388. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue.d.ts +9 -0
  389. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.d.ts +23 -0
  390. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.js +50 -0
  391. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.d.vue.ts +10 -0
  392. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue +255 -0
  393. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue.d.ts +10 -0
  394. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.d.vue.ts +9 -0
  395. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +54 -0
  396. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue.d.ts +9 -0
  397. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +43 -0
  398. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js +48 -0
  399. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.d.vue.ts +10 -0
  400. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.vue +280 -0
  401. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.vue.d.ts +10 -0
  402. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.d.vue.ts +9 -0
  403. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue +82 -0
  404. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue.d.ts +9 -0
  405. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +42 -0
  406. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.js +65 -0
  407. package/dist/runtime/components/table/config.d.vue.ts +16 -0
  408. package/dist/runtime/components/table/config.vue +1581 -0
  409. package/dist/runtime/components/table/config.vue.d.ts +16 -0
  410. package/dist/runtime/components/table/index.d.vue.ts +93 -0
  411. package/dist/runtime/components/table/index.vue +895 -0
  412. package/dist/runtime/components/table/index.vue.d.ts +93 -0
  413. package/dist/runtime/components/table/schema.d.ts +633 -0
  414. package/dist/runtime/components/table/schema.js +258 -0
  415. package/dist/runtime/components/table/utils/host.d.ts +9 -0
  416. package/dist/runtime/components/table/utils/host.js +8 -0
  417. package/dist/runtime/components/table/utils/resolve.d.ts +32 -0
  418. package/dist/runtime/components/table/utils/resolve.js +50 -0
  419. package/dist/runtime/components/table/utils/runtime.d.ts +6 -0
  420. package/dist/runtime/components/table/utils/runtime.js +28 -0
  421. package/dist/runtime/components/table/utils/schema-meta.d.ts +5 -0
  422. package/dist/runtime/components/table/utils/schema-meta.js +48 -0
  423. package/dist/runtime/components/table/utils/shared.d.ts +40 -0
  424. package/dist/runtime/components/table/utils/shared.js +67 -0
  425. package/dist/runtime/components/ui/alert-dialog/AlertDialog.d.vue.ts +21 -0
  426. package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue +20 -0
  427. package/dist/runtime/components/ui/alert-dialog/AlertDialog.vue.d.ts +21 -0
  428. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.d.vue.ts +18 -0
  429. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue +21 -0
  430. package/dist/runtime/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +18 -0
  431. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.d.vue.ts +18 -0
  432. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +21 -0
  433. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +18 -0
  434. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.d.vue.ts +32 -0
  435. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
  436. package/dist/runtime/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +32 -0
  437. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.d.vue.ts +18 -0
  438. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue +22 -0
  439. package/dist/runtime/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +18 -0
  440. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.d.vue.ts +17 -0
  441. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +15 -0
  442. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +17 -0
  443. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.d.vue.ts +17 -0
  444. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue +15 -0
  445. package/dist/runtime/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +17 -0
  446. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.d.vue.ts +18 -0
  447. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue +22 -0
  448. package/dist/runtime/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +18 -0
  449. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.d.vue.ts +14 -0
  450. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue +16 -0
  451. package/dist/runtime/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +14 -0
  452. package/dist/runtime/components/ui/alert-dialog/index.d.ts +9 -0
  453. package/dist/runtime/components/ui/alert-dialog/index.js +9 -0
  454. package/dist/runtime/components/ui/badge/Badge.d.vue.ts +20 -0
  455. package/dist/runtime/components/ui/badge/Badge.vue +24 -0
  456. package/dist/runtime/components/ui/badge/Badge.vue.d.ts +20 -0
  457. package/dist/runtime/components/ui/badge/index.d.ts +6 -0
  458. package/dist/runtime/components/ui/badge/index.js +18 -0
  459. package/dist/runtime/components/ui/breadcrumb/Breadcrumb.d.vue.ts +17 -0
  460. package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue +17 -0
  461. package/dist/runtime/components/ui/breadcrumb/Breadcrumb.vue.d.ts +17 -0
  462. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.d.vue.ts +7 -0
  463. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue +23 -0
  464. package/dist/runtime/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +7 -0
  465. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.d.vue.ts +17 -0
  466. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue +16 -0
  467. package/dist/runtime/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +17 -0
  468. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.d.vue.ts +20 -0
  469. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue +28 -0
  470. package/dist/runtime/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +20 -0
  471. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.d.vue.ts +17 -0
  472. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue +21 -0
  473. package/dist/runtime/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +17 -0
  474. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.d.vue.ts +17 -0
  475. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue +19 -0
  476. package/dist/runtime/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +17 -0
  477. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.d.vue.ts +17 -0
  478. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue +21 -0
  479. package/dist/runtime/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +17 -0
  480. package/dist/runtime/components/ui/breadcrumb/index.d.ts +7 -0
  481. package/dist/runtime/components/ui/breadcrumb/index.js +7 -0
  482. package/dist/runtime/components/ui/button/Button.d.vue.ts +27 -0
  483. package/dist/runtime/components/ui/button/Button.vue +28 -0
  484. package/dist/runtime/components/ui/button/Button.vue.d.ts +27 -0
  485. package/dist/runtime/components/ui/button/index.d.ts +7 -0
  486. package/dist/runtime/components/ui/button/index.js +25 -0
  487. package/dist/runtime/components/ui/button-group/ButtonGroup.d.vue.ts +19 -0
  488. package/dist/runtime/components/ui/button-group/ButtonGroup.vue +19 -0
  489. package/dist/runtime/components/ui/button-group/ButtonGroup.vue.d.ts +19 -0
  490. package/dist/runtime/components/ui/button-group/ButtonGroupText.d.vue.ts +22 -0
  491. package/dist/runtime/components/ui/button-group/ButtonGroupText.vue +23 -0
  492. package/dist/runtime/components/ui/button-group/ButtonGroupText.vue.d.ts +22 -0
  493. package/dist/runtime/components/ui/button-group/index.d.ts +7 -0
  494. package/dist/runtime/components/ui/button-group/index.js +17 -0
  495. package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +35 -0
  496. package/dist/runtime/components/ui/calendar/Calendar.vue +196 -0
  497. package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +35 -0
  498. package/dist/runtime/components/ui/calendar/CalendarCell.d.vue.ts +18 -0
  499. package/dist/runtime/components/ui/calendar/CalendarCell.vue +23 -0
  500. package/dist/runtime/components/ui/calendar/CalendarCell.vue.d.ts +18 -0
  501. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.d.vue.ts +20 -0
  502. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue +39 -0
  503. package/dist/runtime/components/ui/calendar/CalendarCellTrigger.vue.d.ts +20 -0
  504. package/dist/runtime/components/ui/calendar/CalendarGrid.d.vue.ts +18 -0
  505. package/dist/runtime/components/ui/calendar/CalendarGrid.vue +22 -0
  506. package/dist/runtime/components/ui/calendar/CalendarGrid.vue.d.ts +18 -0
  507. package/dist/runtime/components/ui/calendar/CalendarGridBody.d.vue.ts +14 -0
  508. package/dist/runtime/components/ui/calendar/CalendarGridBody.vue +16 -0
  509. package/dist/runtime/components/ui/calendar/CalendarGridBody.vue.d.ts +14 -0
  510. package/dist/runtime/components/ui/calendar/CalendarGridHead.d.vue.ts +18 -0
  511. package/dist/runtime/components/ui/calendar/CalendarGridHead.vue +17 -0
  512. package/dist/runtime/components/ui/calendar/CalendarGridHead.vue.d.ts +18 -0
  513. package/dist/runtime/components/ui/calendar/CalendarGridRow.d.vue.ts +18 -0
  514. package/dist/runtime/components/ui/calendar/CalendarGridRow.vue +22 -0
  515. package/dist/runtime/components/ui/calendar/CalendarGridRow.vue.d.ts +18 -0
  516. package/dist/runtime/components/ui/calendar/CalendarHeadCell.d.vue.ts +18 -0
  517. package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue +22 -0
  518. package/dist/runtime/components/ui/calendar/CalendarHeadCell.vue.d.ts +18 -0
  519. package/dist/runtime/components/ui/calendar/CalendarHeader.d.vue.ts +18 -0
  520. package/dist/runtime/components/ui/calendar/CalendarHeader.vue +22 -0
  521. package/dist/runtime/components/ui/calendar/CalendarHeader.vue.d.ts +18 -0
  522. package/dist/runtime/components/ui/calendar/CalendarHeading.d.vue.ts +19 -0
  523. package/dist/runtime/components/ui/calendar/CalendarHeading.vue +27 -0
  524. package/dist/runtime/components/ui/calendar/CalendarHeading.vue.d.ts +19 -0
  525. package/dist/runtime/components/ui/calendar/CalendarNextButton.d.vue.ts +18 -0
  526. package/dist/runtime/components/ui/calendar/CalendarNextButton.vue +31 -0
  527. package/dist/runtime/components/ui/calendar/CalendarNextButton.vue.d.ts +18 -0
  528. package/dist/runtime/components/ui/calendar/CalendarPrevButton.d.vue.ts +18 -0
  529. package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue +31 -0
  530. package/dist/runtime/components/ui/calendar/CalendarPrevButton.vue.d.ts +18 -0
  531. package/dist/runtime/components/ui/calendar/index.d.ts +13 -0
  532. package/dist/runtime/components/ui/calendar/index.js +12 -0
  533. package/dist/runtime/components/ui/checkbox/Checkbox.d.vue.ts +25 -0
  534. package/dist/runtime/components/ui/checkbox/Checkbox.vue +54 -0
  535. package/dist/runtime/components/ui/checkbox/Checkbox.vue.d.ts +25 -0
  536. package/dist/runtime/components/ui/checkbox/index.d.ts +1 -0
  537. package/dist/runtime/components/ui/checkbox/index.js +1 -0
  538. package/dist/runtime/components/ui/collapsible/Collapsible.d.vue.ts +20 -0
  539. package/dist/runtime/components/ui/collapsible/Collapsible.vue +24 -0
  540. package/dist/runtime/components/ui/collapsible/Collapsible.vue.d.ts +20 -0
  541. package/dist/runtime/components/ui/collapsible/CollapsibleContent.d.vue.ts +14 -0
  542. package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue +17 -0
  543. package/dist/runtime/components/ui/collapsible/CollapsibleContent.vue.d.ts +14 -0
  544. package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.d.vue.ts +14 -0
  545. package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue +16 -0
  546. package/dist/runtime/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +14 -0
  547. package/dist/runtime/components/ui/collapsible/index.d.ts +3 -0
  548. package/dist/runtime/components/ui/collapsible/index.js +3 -0
  549. package/dist/runtime/components/ui/color-picker/ColorPicker.d.vue.ts +18 -0
  550. package/dist/runtime/components/ui/color-picker/ColorPicker.vue +51 -0
  551. package/dist/runtime/components/ui/color-picker/ColorPicker.vue.d.ts +18 -0
  552. package/dist/runtime/components/ui/color-picker/index.d.ts +1 -0
  553. package/dist/runtime/components/ui/color-picker/index.js +1 -0
  554. package/dist/runtime/components/ui/command/Command.d.vue.ts +36 -0
  555. package/dist/runtime/components/ui/command/Command.vue +82 -0
  556. package/dist/runtime/components/ui/command/Command.vue.d.ts +36 -0
  557. package/dist/runtime/components/ui/command/CommandDialog.d.vue.ts +28 -0
  558. package/dist/runtime/components/ui/command/CommandDialog.vue +34 -0
  559. package/dist/runtime/components/ui/command/CommandDialog.vue.d.ts +28 -0
  560. package/dist/runtime/components/ui/command/CommandEmpty.d.vue.ts +18 -0
  561. package/dist/runtime/components/ui/command/CommandEmpty.vue +28 -0
  562. package/dist/runtime/components/ui/command/CommandEmpty.vue.d.ts +18 -0
  563. package/dist/runtime/components/ui/command/CommandGroup.d.vue.ts +19 -0
  564. package/dist/runtime/components/ui/command/CommandGroup.vue +48 -0
  565. package/dist/runtime/components/ui/command/CommandGroup.vue.d.ts +19 -0
  566. package/dist/runtime/components/ui/command/CommandInput.d.vue.ts +8 -0
  567. package/dist/runtime/components/ui/command/CommandInput.vue +40 -0
  568. package/dist/runtime/components/ui/command/CommandInput.vue.d.ts +8 -0
  569. package/dist/runtime/components/ui/command/CommandItem.d.vue.ts +22 -0
  570. package/dist/runtime/components/ui/command/CommandItem.vue +65 -0
  571. package/dist/runtime/components/ui/command/CommandItem.vue.d.ts +22 -0
  572. package/dist/runtime/components/ui/command/CommandList.d.vue.ts +18 -0
  573. package/dist/runtime/components/ui/command/CommandList.vue +24 -0
  574. package/dist/runtime/components/ui/command/CommandList.vue.d.ts +18 -0
  575. package/dist/runtime/components/ui/command/CommandSeparator.d.vue.ts +18 -0
  576. package/dist/runtime/components/ui/command/CommandSeparator.vue +23 -0
  577. package/dist/runtime/components/ui/command/CommandSeparator.vue.d.ts +18 -0
  578. package/dist/runtime/components/ui/command/CommandShortcut.d.vue.ts +17 -0
  579. package/dist/runtime/components/ui/command/CommandShortcut.vue +15 -0
  580. package/dist/runtime/components/ui/command/CommandShortcut.vue.d.ts +17 -0
  581. package/dist/runtime/components/ui/command/index.d.ts +90 -0
  582. package/dist/runtime/components/ui/command/index.js +12 -0
  583. package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.d.vue.ts +12 -0
  584. package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.vue +152 -0
  585. package/dist/runtime/components/ui/config-toolbar/ConfigToolbar.vue.d.ts +12 -0
  586. package/dist/runtime/components/ui/config-toolbar/index.d.ts +1 -0
  587. package/dist/runtime/components/ui/config-toolbar/index.js +1 -0
  588. package/dist/runtime/components/ui/context-menu/ContextMenu.d.vue.ts +18 -0
  589. package/dist/runtime/components/ui/context-menu/ContextMenu.vue +19 -0
  590. package/dist/runtime/components/ui/context-menu/ContextMenu.vue.d.ts +18 -0
  591. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.d.vue.ts +26 -0
  592. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue +41 -0
  593. package/dist/runtime/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +26 -0
  594. package/dist/runtime/components/ui/context-menu/ContextMenuContent.d.vue.ts +31 -0
  595. package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue +48 -0
  596. package/dist/runtime/components/ui/context-menu/ContextMenuContent.vue.d.ts +31 -0
  597. package/dist/runtime/components/ui/context-menu/ContextMenuGroup.d.vue.ts +14 -0
  598. package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue +16 -0
  599. package/dist/runtime/components/ui/context-menu/ContextMenuGroup.vue.d.ts +14 -0
  600. package/dist/runtime/components/ui/context-menu/ContextMenuItem.d.vue.ts +23 -0
  601. package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue +27 -0
  602. package/dist/runtime/components/ui/context-menu/ContextMenuItem.vue.d.ts +23 -0
  603. package/dist/runtime/components/ui/context-menu/ContextMenuLabel.d.vue.ts +19 -0
  604. package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue +23 -0
  605. package/dist/runtime/components/ui/context-menu/ContextMenuLabel.vue.d.ts +19 -0
  606. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.d.vue.ts +18 -0
  607. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue +19 -0
  608. package/dist/runtime/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +18 -0
  609. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.d.vue.ts +25 -0
  610. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue +45 -0
  611. package/dist/runtime/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +25 -0
  612. package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.d.vue.ts +8 -0
  613. package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue +19 -0
  614. package/dist/runtime/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +8 -0
  615. package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.d.vue.ts +17 -0
  616. package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue +15 -0
  617. package/dist/runtime/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +17 -0
  618. package/dist/runtime/components/ui/context-menu/ContextMenuSub.d.vue.ts +18 -0
  619. package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue +18 -0
  620. package/dist/runtime/components/ui/context-menu/ContextMenuSub.vue.d.ts +18 -0
  621. package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.d.vue.ts +34 -0
  622. package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue +41 -0
  623. package/dist/runtime/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +34 -0
  624. package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.d.vue.ts +19 -0
  625. package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue +31 -0
  626. package/dist/runtime/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +19 -0
  627. package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.d.vue.ts +14 -0
  628. package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue +18 -0
  629. package/dist/runtime/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +14 -0
  630. package/dist/runtime/components/ui/context-menu/index.d.ts +14 -0
  631. package/dist/runtime/components/ui/context-menu/index.js +14 -0
  632. package/dist/runtime/components/ui/date-picker/DatePicker.d.vue.ts +50 -0
  633. package/dist/runtime/components/ui/date-picker/DatePicker.vue +257 -0
  634. package/dist/runtime/components/ui/date-picker/DatePicker.vue.d.ts +50 -0
  635. package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.d.vue.ts +14 -0
  636. package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.vue +37 -0
  637. package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.vue.d.ts +14 -0
  638. package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.d.vue.ts +20 -0
  639. package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.vue +147 -0
  640. package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.vue.d.ts +20 -0
  641. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +31 -0
  642. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue +117 -0
  643. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +31 -0
  644. package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.d.vue.ts +14 -0
  645. package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.vue +38 -0
  646. package/dist/runtime/components/ui/date-picker/DatePickerMonthPanel.vue.d.ts +14 -0
  647. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +29 -0
  648. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue +106 -0
  649. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +29 -0
  650. package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.d.vue.ts +14 -0
  651. package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.vue +38 -0
  652. package/dist/runtime/components/ui/date-picker/DatePickerYearPanel.vue.d.ts +14 -0
  653. package/dist/runtime/components/ui/date-picker/PickerShortcuts.d.vue.ts +28 -0
  654. package/dist/runtime/components/ui/date-picker/PickerShortcuts.vue +37 -0
  655. package/dist/runtime/components/ui/date-picker/PickerShortcuts.vue.d.ts +28 -0
  656. package/dist/runtime/components/ui/date-picker/index.d.ts +10 -0
  657. package/dist/runtime/components/ui/date-picker/index.js +9 -0
  658. package/dist/runtime/components/ui/date-picker/types.d.ts +5 -0
  659. package/dist/runtime/components/ui/date-picker/types.js +7 -0
  660. package/dist/runtime/components/ui/date-range-picker/DateRangePicker.d.vue.ts +54 -0
  661. package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue +304 -0
  662. package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue.d.ts +54 -0
  663. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.d.vue.ts +15 -0
  664. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.vue +27 -0
  665. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDatePanel.vue.d.ts +15 -0
  666. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.d.vue.ts +23 -0
  667. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.vue +151 -0
  668. package/dist/runtime/components/ui/date-range-picker/DateRangePickerDateTimePanel.vue.d.ts +23 -0
  669. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +36 -0
  670. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue +169 -0
  671. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +36 -0
  672. package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.d.vue.ts +14 -0
  673. package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.vue +73 -0
  674. package/dist/runtime/components/ui/date-range-picker/DateRangePickerMonthPanel.vue.d.ts +14 -0
  675. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +34 -0
  676. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue +148 -0
  677. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +34 -0
  678. package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.d.vue.ts +14 -0
  679. package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.vue +73 -0
  680. package/dist/runtime/components/ui/date-range-picker/DateRangePickerYearPanel.vue.d.ts +14 -0
  681. package/dist/runtime/components/ui/date-range-picker/index.d.ts +9 -0
  682. package/dist/runtime/components/ui/date-range-picker/index.js +8 -0
  683. package/dist/runtime/components/ui/date-range-picker/types.d.ts +5 -0
  684. package/dist/runtime/components/ui/date-range-picker/types.js +7 -0
  685. package/dist/runtime/components/ui/dialog/Dialog.d.vue.ts +21 -0
  686. package/dist/runtime/components/ui/dialog/Dialog.vue +21 -0
  687. package/dist/runtime/components/ui/dialog/Dialog.vue.d.ts +21 -0
  688. package/dist/runtime/components/ui/dialog/DialogClose.d.vue.ts +14 -0
  689. package/dist/runtime/components/ui/dialog/DialogClose.vue +16 -0
  690. package/dist/runtime/components/ui/dialog/DialogClose.vue.d.ts +14 -0
  691. package/dist/runtime/components/ui/dialog/DialogContent.d.vue.ts +37 -0
  692. package/dist/runtime/components/ui/dialog/DialogContent.vue +164 -0
  693. package/dist/runtime/components/ui/dialog/DialogContent.vue.d.ts +37 -0
  694. package/dist/runtime/components/ui/dialog/DialogDescription.d.vue.ts +18 -0
  695. package/dist/runtime/components/ui/dialog/DialogDescription.vue +22 -0
  696. package/dist/runtime/components/ui/dialog/DialogDescription.vue.d.ts +18 -0
  697. package/dist/runtime/components/ui/dialog/DialogFooter.d.vue.ts +17 -0
  698. package/dist/runtime/components/ui/dialog/DialogFooter.vue +15 -0
  699. package/dist/runtime/components/ui/dialog/DialogFooter.vue.d.ts +17 -0
  700. package/dist/runtime/components/ui/dialog/DialogHeader.d.vue.ts +17 -0
  701. package/dist/runtime/components/ui/dialog/DialogHeader.vue +15 -0
  702. package/dist/runtime/components/ui/dialog/DialogHeader.vue.d.ts +17 -0
  703. package/dist/runtime/components/ui/dialog/DialogOverlay.d.vue.ts +18 -0
  704. package/dist/runtime/components/ui/dialog/DialogOverlay.vue +22 -0
  705. package/dist/runtime/components/ui/dialog/DialogOverlay.vue.d.ts +18 -0
  706. package/dist/runtime/components/ui/dialog/DialogScrollContent.d.vue.ts +38 -0
  707. package/dist/runtime/components/ui/dialog/DialogScrollContent.vue +174 -0
  708. package/dist/runtime/components/ui/dialog/DialogScrollContent.vue.d.ts +38 -0
  709. package/dist/runtime/components/ui/dialog/DialogTitle.d.vue.ts +18 -0
  710. package/dist/runtime/components/ui/dialog/DialogTitle.vue +22 -0
  711. package/dist/runtime/components/ui/dialog/DialogTitle.vue.d.ts +18 -0
  712. package/dist/runtime/components/ui/dialog/DialogTrigger.d.vue.ts +14 -0
  713. package/dist/runtime/components/ui/dialog/DialogTrigger.vue +16 -0
  714. package/dist/runtime/components/ui/dialog/DialogTrigger.vue.d.ts +14 -0
  715. package/dist/runtime/components/ui/dialog/index.d.ts +10 -0
  716. package/dist/runtime/components/ui/dialog/index.js +10 -0
  717. package/dist/runtime/components/ui/drawer/Drawer.d.vue.ts +31 -0
  718. package/dist/runtime/components/ui/drawer/Drawer.vue +39 -0
  719. package/dist/runtime/components/ui/drawer/Drawer.vue.d.ts +31 -0
  720. package/dist/runtime/components/ui/drawer/DrawerClose.d.vue.ts +14 -0
  721. package/dist/runtime/components/ui/drawer/DrawerClose.vue +19 -0
  722. package/dist/runtime/components/ui/drawer/DrawerClose.vue.d.ts +14 -0
  723. package/dist/runtime/components/ui/drawer/DrawerContent.d.vue.ts +24 -0
  724. package/dist/runtime/components/ui/drawer/DrawerContent.vue +183 -0
  725. package/dist/runtime/components/ui/drawer/DrawerContent.vue.d.ts +24 -0
  726. package/dist/runtime/components/ui/drawer/DrawerDescription.d.vue.ts +18 -0
  727. package/dist/runtime/components/ui/drawer/DrawerDescription.vue +26 -0
  728. package/dist/runtime/components/ui/drawer/DrawerDescription.vue.d.ts +18 -0
  729. package/dist/runtime/components/ui/drawer/DrawerFooter.d.vue.ts +17 -0
  730. package/dist/runtime/components/ui/drawer/DrawerFooter.vue +15 -0
  731. package/dist/runtime/components/ui/drawer/DrawerFooter.vue.d.ts +17 -0
  732. package/dist/runtime/components/ui/drawer/DrawerHeader.d.vue.ts +17 -0
  733. package/dist/runtime/components/ui/drawer/DrawerHeader.vue +15 -0
  734. package/dist/runtime/components/ui/drawer/DrawerHeader.vue.d.ts +17 -0
  735. package/dist/runtime/components/ui/drawer/DrawerOverlay.d.vue.ts +7 -0
  736. package/dist/runtime/components/ui/drawer/DrawerOverlay.vue +19 -0
  737. package/dist/runtime/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
  738. package/dist/runtime/components/ui/drawer/DrawerTitle.d.vue.ts +18 -0
  739. package/dist/runtime/components/ui/drawer/DrawerTitle.vue +26 -0
  740. package/dist/runtime/components/ui/drawer/DrawerTitle.vue.d.ts +18 -0
  741. package/dist/runtime/components/ui/drawer/DrawerTrigger.d.vue.ts +14 -0
  742. package/dist/runtime/components/ui/drawer/DrawerTrigger.vue +19 -0
  743. package/dist/runtime/components/ui/drawer/DrawerTrigger.vue.d.ts +14 -0
  744. package/dist/runtime/components/ui/drawer/index.d.ts +8 -0
  745. package/dist/runtime/components/ui/drawer/index.js +8 -0
  746. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.d.vue.ts +20 -0
  747. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue +21 -0
  748. package/dist/runtime/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +20 -0
  749. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.d.vue.ts +32 -0
  750. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue +52 -0
  751. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +32 -0
  752. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.d.vue.ts +26 -0
  753. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue +29 -0
  754. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
  755. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.d.vue.ts +14 -0
  756. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue +18 -0
  757. package/dist/runtime/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +14 -0
  758. package/dist/runtime/components/ui/dropdown-menu/index.d.ts +4 -0
  759. package/dist/runtime/components/ui/dropdown-menu/index.js +4 -0
  760. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +22 -0
  761. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +150 -0
  762. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +22 -0
  763. package/dist/runtime/components/ui/expression-editor/index.d.ts +1 -0
  764. package/dist/runtime/components/ui/expression-editor/index.js +1 -0
  765. package/dist/runtime/components/ui/field/Field.d.vue.ts +19 -0
  766. package/dist/runtime/components/ui/field/Field.vue +23 -0
  767. package/dist/runtime/components/ui/field/Field.vue.d.ts +19 -0
  768. package/dist/runtime/components/ui/field/FieldContent.d.vue.ts +17 -0
  769. package/dist/runtime/components/ui/field/FieldContent.vue +18 -0
  770. package/dist/runtime/components/ui/field/FieldContent.vue.d.ts +17 -0
  771. package/dist/runtime/components/ui/field/FieldDescription.d.vue.ts +17 -0
  772. package/dist/runtime/components/ui/field/FieldDescription.vue +20 -0
  773. package/dist/runtime/components/ui/field/FieldDescription.vue.d.ts +17 -0
  774. package/dist/runtime/components/ui/field/FieldError.d.vue.ts +20 -0
  775. package/dist/runtime/components/ui/field/FieldError.vue +51 -0
  776. package/dist/runtime/components/ui/field/FieldError.vue.d.ts +20 -0
  777. package/dist/runtime/components/ui/field/FieldGroup.d.vue.ts +17 -0
  778. package/dist/runtime/components/ui/field/FieldGroup.vue +18 -0
  779. package/dist/runtime/components/ui/field/FieldGroup.vue.d.ts +17 -0
  780. package/dist/runtime/components/ui/field/FieldLabel.d.vue.ts +19 -0
  781. package/dist/runtime/components/ui/field/FieldLabel.vue +29 -0
  782. package/dist/runtime/components/ui/field/FieldLabel.vue.d.ts +19 -0
  783. package/dist/runtime/components/ui/field/FieldLegend.d.vue.ts +18 -0
  784. package/dist/runtime/components/ui/field/FieldLegend.vue +22 -0
  785. package/dist/runtime/components/ui/field/FieldLegend.vue.d.ts +18 -0
  786. package/dist/runtime/components/ui/field/FieldSeparator.d.vue.ts +17 -0
  787. package/dist/runtime/components/ui/field/FieldSeparator.vue +27 -0
  788. package/dist/runtime/components/ui/field/FieldSeparator.vue.d.ts +17 -0
  789. package/dist/runtime/components/ui/field/FieldSet.d.vue.ts +17 -0
  790. package/dist/runtime/components/ui/field/FieldSet.vue +15 -0
  791. package/dist/runtime/components/ui/field/FieldSet.vue.d.ts +17 -0
  792. package/dist/runtime/components/ui/field/FieldTitle.d.vue.ts +17 -0
  793. package/dist/runtime/components/ui/field/FieldTitle.vue +18 -0
  794. package/dist/runtime/components/ui/field/FieldTitle.vue.d.ts +17 -0
  795. package/dist/runtime/components/ui/field/index.d.ts +15 -0
  796. package/dist/runtime/components/ui/field/index.js +61 -0
  797. package/dist/runtime/components/ui/icon-picker/IconPicker.d.vue.ts +12 -0
  798. package/dist/runtime/components/ui/icon-picker/IconPicker.vue +48 -0
  799. package/dist/runtime/components/ui/icon-picker/IconPicker.vue.d.ts +12 -0
  800. package/dist/runtime/components/ui/icon-picker/index.d.ts +1 -0
  801. package/dist/runtime/components/ui/icon-picker/index.js +1 -0
  802. package/dist/runtime/components/ui/input/Input.d.vue.ts +15 -0
  803. package/dist/runtime/components/ui/input/Input.vue +31 -0
  804. package/dist/runtime/components/ui/input/Input.vue.d.ts +15 -0
  805. package/dist/runtime/components/ui/input/index.d.ts +1 -0
  806. package/dist/runtime/components/ui/input/index.js +1 -0
  807. package/dist/runtime/components/ui/input-group/InputGroup.d.vue.ts +17 -0
  808. package/dist/runtime/components/ui/input-group/InputGroup.vue +34 -0
  809. package/dist/runtime/components/ui/input-group/InputGroup.vue.d.ts +17 -0
  810. package/dist/runtime/components/ui/input-group/InputGroupAddon.d.vue.ts +21 -0
  811. package/dist/runtime/components/ui/input-group/InputGroupAddon.vue +33 -0
  812. package/dist/runtime/components/ui/input-group/InputGroupAddon.vue.d.ts +21 -0
  813. package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +24 -0
  814. package/dist/runtime/components/ui/input-group/InputGroupButton.vue +20 -0
  815. package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +24 -0
  816. package/dist/runtime/components/ui/input-group/InputGroupCombobox.d.vue.ts +28 -0
  817. package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue +90 -0
  818. package/dist/runtime/components/ui/input-group/InputGroupCombobox.vue.d.ts +28 -0
  819. package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.d.vue.ts +10 -0
  820. package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue +27 -0
  821. package/dist/runtime/components/ui/input-group/InputGroupComboboxInput.vue.d.ts +10 -0
  822. package/dist/runtime/components/ui/input-group/InputGroupInput.d.vue.ts +8 -0
  823. package/dist/runtime/components/ui/input-group/InputGroupInput.vue +20 -0
  824. package/dist/runtime/components/ui/input-group/InputGroupInput.vue.d.ts +8 -0
  825. package/dist/runtime/components/ui/input-group/InputGroupNumberField.d.vue.ts +18 -0
  826. package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue +57 -0
  827. package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue.d.ts +18 -0
  828. package/dist/runtime/components/ui/input-group/InputGroupText.d.vue.ts +17 -0
  829. package/dist/runtime/components/ui/input-group/InputGroupText.vue +17 -0
  830. package/dist/runtime/components/ui/input-group/InputGroupText.vue.d.ts +17 -0
  831. package/dist/runtime/components/ui/input-group/InputGroupTextarea.d.vue.ts +7 -0
  832. package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue +17 -0
  833. package/dist/runtime/components/ui/input-group/InputGroupTextarea.vue.d.ts +7 -0
  834. package/dist/runtime/components/ui/input-group/index.d.ts +19 -0
  835. package/dist/runtime/components/ui/input-group/index.js +43 -0
  836. package/dist/runtime/components/ui/label/Label.d.vue.ts +18 -0
  837. package/dist/runtime/components/ui/label/Label.vue +50 -0
  838. package/dist/runtime/components/ui/label/Label.vue.d.ts +18 -0
  839. package/dist/runtime/components/ui/label/index.d.ts +1 -0
  840. package/dist/runtime/components/ui/label/index.js +1 -0
  841. package/dist/runtime/components/ui/locale/Locale.d.vue.ts +28 -0
  842. package/dist/runtime/components/ui/locale/Locale.vue +350 -0
  843. package/dist/runtime/components/ui/locale/Locale.vue.d.ts +28 -0
  844. package/dist/runtime/components/ui/locale/index.d.ts +1 -0
  845. package/dist/runtime/components/ui/locale/index.js +1 -0
  846. package/dist/runtime/components/ui/markdown/Markdown.d.vue.ts +26 -0
  847. package/dist/runtime/components/ui/markdown/Markdown.vue +109 -0
  848. package/dist/runtime/components/ui/markdown/Markdown.vue.d.ts +26 -0
  849. package/dist/runtime/components/ui/markdown/index.d.ts +1 -0
  850. package/dist/runtime/components/ui/markdown/index.js +1 -0
  851. package/dist/runtime/components/ui/native-select/NativeSelect.d.vue.ts +23 -0
  852. package/dist/runtime/components/ui/native-select/NativeSelect.vue +42 -0
  853. package/dist/runtime/components/ui/native-select/NativeSelect.vue.d.ts +23 -0
  854. package/dist/runtime/components/ui/native-select/index.d.ts +1 -0
  855. package/dist/runtime/components/ui/native-select/index.js +1 -0
  856. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.d.vue.ts +27 -0
  857. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue +41 -0
  858. package/dist/runtime/components/ui/navigation-menu/NavigationMenu.vue.d.ts +27 -0
  859. package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.d.vue.ts +28 -0
  860. package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue +32 -0
  861. package/dist/runtime/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +28 -0
  862. package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.d.vue.ts +8 -0
  863. package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue +23 -0
  864. package/dist/runtime/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +8 -0
  865. package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.d.vue.ts +18 -0
  866. package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue +22 -0
  867. package/dist/runtime/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +18 -0
  868. package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.d.vue.ts +26 -0
  869. package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue +27 -0
  870. package/dist/runtime/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +26 -0
  871. package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.d.vue.ts +18 -0
  872. package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue +27 -0
  873. package/dist/runtime/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +18 -0
  874. package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.d.vue.ts +18 -0
  875. package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue +33 -0
  876. package/dist/runtime/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +18 -0
  877. package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.d.vue.ts +8 -0
  878. package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue +32 -0
  879. package/dist/runtime/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +8 -0
  880. package/dist/runtime/components/ui/navigation-menu/index.d.ts +9 -0
  881. package/dist/runtime/components/ui/navigation-menu/index.js +12 -0
  882. package/dist/runtime/components/ui/number-field/NumberField.d.vue.ts +26 -0
  883. package/dist/runtime/components/ui/number-field/NumberField.vue +39 -0
  884. package/dist/runtime/components/ui/number-field/NumberField.vue.d.ts +26 -0
  885. package/dist/runtime/components/ui/number-field/NumberFieldContent.d.vue.ts +17 -0
  886. package/dist/runtime/components/ui/number-field/NumberFieldContent.vue +12 -0
  887. package/dist/runtime/components/ui/number-field/NumberFieldContent.vue.d.ts +17 -0
  888. package/dist/runtime/components/ui/number-field/NumberFieldDecrement.d.vue.ts +18 -0
  889. package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue +29 -0
  890. package/dist/runtime/components/ui/number-field/NumberFieldDecrement.vue.d.ts +18 -0
  891. package/dist/runtime/components/ui/number-field/NumberFieldIncrement.d.vue.ts +18 -0
  892. package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue +29 -0
  893. package/dist/runtime/components/ui/number-field/NumberFieldIncrement.vue.d.ts +18 -0
  894. package/dist/runtime/components/ui/number-field/NumberFieldInput.d.vue.ts +7 -0
  895. package/dist/runtime/components/ui/number-field/NumberFieldInput.vue +14 -0
  896. package/dist/runtime/components/ui/number-field/NumberFieldInput.vue.d.ts +7 -0
  897. package/dist/runtime/components/ui/number-field/index.d.ts +5 -0
  898. package/dist/runtime/components/ui/number-field/index.js +5 -0
  899. package/dist/runtime/components/ui/popover/Popover.d.vue.ts +21 -0
  900. package/dist/runtime/components/ui/popover/Popover.vue +21 -0
  901. package/dist/runtime/components/ui/popover/Popover.vue.d.ts +21 -0
  902. package/dist/runtime/components/ui/popover/PopoverAnchor.d.vue.ts +14 -0
  903. package/dist/runtime/components/ui/popover/PopoverAnchor.vue +17 -0
  904. package/dist/runtime/components/ui/popover/PopoverAnchor.vue.d.ts +14 -0
  905. package/dist/runtime/components/ui/popover/PopoverContent.d.vue.ts +36 -0
  906. package/dist/runtime/components/ui/popover/PopoverContent.vue +58 -0
  907. package/dist/runtime/components/ui/popover/PopoverContent.vue.d.ts +36 -0
  908. package/dist/runtime/components/ui/popover/PopoverTrigger.d.vue.ts +14 -0
  909. package/dist/runtime/components/ui/popover/PopoverTrigger.vue +16 -0
  910. package/dist/runtime/components/ui/popover/PopoverTrigger.vue.d.ts +14 -0
  911. package/dist/runtime/components/ui/popover/index.d.ts +4 -0
  912. package/dist/runtime/components/ui/popover/index.js +4 -0
  913. package/dist/runtime/components/ui/range-calendar/RangeCalendar.d.vue.ts +18 -0
  914. package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +100 -0
  915. package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +18 -0
  916. package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.d.vue.ts +18 -0
  917. package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue +49 -0
  918. package/dist/runtime/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +18 -0
  919. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.d.vue.ts +20 -0
  920. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue +45 -0
  921. package/dist/runtime/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +20 -0
  922. package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.d.vue.ts +18 -0
  923. package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue +22 -0
  924. package/dist/runtime/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +18 -0
  925. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.d.vue.ts +14 -0
  926. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue +16 -0
  927. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +14 -0
  928. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.d.vue.ts +14 -0
  929. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue +16 -0
  930. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +14 -0
  931. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.d.vue.ts +18 -0
  932. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue +22 -0
  933. package/dist/runtime/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +18 -0
  934. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.d.vue.ts +18 -0
  935. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue +22 -0
  936. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +18 -0
  937. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.d.vue.ts +18 -0
  938. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue +22 -0
  939. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +18 -0
  940. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.d.vue.ts +19 -0
  941. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue +26 -0
  942. package/dist/runtime/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +19 -0
  943. package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.d.vue.ts +18 -0
  944. package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +32 -0
  945. package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +18 -0
  946. package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.d.vue.ts +18 -0
  947. package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +32 -0
  948. package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +18 -0
  949. package/dist/runtime/components/ui/range-calendar/index.d.ts +12 -0
  950. package/dist/runtime/components/ui/range-calendar/index.js +12 -0
  951. package/dist/runtime/components/ui/scroll-area/ScrollArea.d.vue.ts +18 -0
  952. package/dist/runtime/components/ui/scroll-area/ScrollArea.vue +37 -0
  953. package/dist/runtime/components/ui/scroll-area/ScrollArea.vue.d.ts +18 -0
  954. package/dist/runtime/components/ui/scroll-area/ScrollBar.d.vue.ts +10 -0
  955. package/dist/runtime/components/ui/scroll-area/ScrollBar.vue +32 -0
  956. package/dist/runtime/components/ui/scroll-area/ScrollBar.vue.d.ts +10 -0
  957. package/dist/runtime/components/ui/scroll-area/index.d.ts +2 -0
  958. package/dist/runtime/components/ui/scroll-area/index.js +2 -0
  959. package/dist/runtime/components/ui/select/Select.d.vue.ts +24 -0
  960. package/dist/runtime/components/ui/select/Select.vue +29 -0
  961. package/dist/runtime/components/ui/select/Select.vue.d.ts +24 -0
  962. package/dist/runtime/components/ui/select/SelectContent.d.vue.ts +28 -0
  963. package/dist/runtime/components/ui/select/SelectContent.vue +68 -0
  964. package/dist/runtime/components/ui/select/SelectContent.vue.d.ts +28 -0
  965. package/dist/runtime/components/ui/select/SelectGroup.d.vue.ts +14 -0
  966. package/dist/runtime/components/ui/select/SelectGroup.vue +17 -0
  967. package/dist/runtime/components/ui/select/SelectGroup.vue.d.ts +14 -0
  968. package/dist/runtime/components/ui/select/SelectItem.d.vue.ts +20 -0
  969. package/dist/runtime/components/ui/select/SelectItem.vue +48 -0
  970. package/dist/runtime/components/ui/select/SelectItem.vue.d.ts +20 -0
  971. package/dist/runtime/components/ui/select/SelectItemText.d.vue.ts +14 -0
  972. package/dist/runtime/components/ui/select/SelectItemText.vue +17 -0
  973. package/dist/runtime/components/ui/select/SelectItemText.vue.d.ts +14 -0
  974. package/dist/runtime/components/ui/select/SelectLabel.d.vue.ts +18 -0
  975. package/dist/runtime/components/ui/select/SelectLabel.vue +20 -0
  976. package/dist/runtime/components/ui/select/SelectLabel.vue.d.ts +18 -0
  977. package/dist/runtime/components/ui/select/SelectScrollDownButton.d.vue.ts +18 -0
  978. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue +29 -0
  979. package/dist/runtime/components/ui/select/SelectScrollDownButton.vue.d.ts +18 -0
  980. package/dist/runtime/components/ui/select/SelectScrollUpButton.d.vue.ts +18 -0
  981. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue +29 -0
  982. package/dist/runtime/components/ui/select/SelectScrollUpButton.vue.d.ts +18 -0
  983. package/dist/runtime/components/ui/select/SelectSeparator.d.vue.ts +8 -0
  984. package/dist/runtime/components/ui/select/SelectSeparator.vue +20 -0
  985. package/dist/runtime/components/ui/select/SelectSeparator.vue.d.ts +8 -0
  986. package/dist/runtime/components/ui/select/SelectTrigger.d.vue.ts +21 -0
  987. package/dist/runtime/components/ui/select/SelectTrigger.vue +38 -0
  988. package/dist/runtime/components/ui/select/SelectTrigger.vue.d.ts +21 -0
  989. package/dist/runtime/components/ui/select/SelectValue.d.vue.ts +14 -0
  990. package/dist/runtime/components/ui/select/SelectValue.vue +18 -0
  991. package/dist/runtime/components/ui/select/SelectValue.vue.d.ts +14 -0
  992. package/dist/runtime/components/ui/select/index.d.ts +11 -0
  993. package/dist/runtime/components/ui/select/index.js +11 -0
  994. package/dist/runtime/components/ui/separator/Separator.d.vue.ts +11 -0
  995. package/dist/runtime/components/ui/separator/Separator.vue +27 -0
  996. package/dist/runtime/components/ui/separator/Separator.vue.d.ts +11 -0
  997. package/dist/runtime/components/ui/separator/index.d.ts +1 -0
  998. package/dist/runtime/components/ui/separator/index.js +1 -0
  999. package/dist/runtime/components/ui/sheet/Sheet.d.vue.ts +21 -0
  1000. package/dist/runtime/components/ui/sheet/Sheet.vue +21 -0
  1001. package/dist/runtime/components/ui/sheet/Sheet.vue.d.ts +21 -0
  1002. package/dist/runtime/components/ui/sheet/SheetClose.d.vue.ts +14 -0
  1003. package/dist/runtime/components/ui/sheet/SheetClose.vue +16 -0
  1004. package/dist/runtime/components/ui/sheet/SheetClose.vue.d.ts +14 -0
  1005. package/dist/runtime/components/ui/sheet/SheetContent.d.vue.ts +35 -0
  1006. package/dist/runtime/components/ui/sheet/SheetContent.vue +53 -0
  1007. package/dist/runtime/components/ui/sheet/SheetContent.vue.d.ts +35 -0
  1008. package/dist/runtime/components/ui/sheet/SheetDescription.d.vue.ts +18 -0
  1009. package/dist/runtime/components/ui/sheet/SheetDescription.vue +21 -0
  1010. package/dist/runtime/components/ui/sheet/SheetDescription.vue.d.ts +18 -0
  1011. package/dist/runtime/components/ui/sheet/SheetFooter.d.vue.ts +17 -0
  1012. package/dist/runtime/components/ui/sheet/SheetFooter.vue +17 -0
  1013. package/dist/runtime/components/ui/sheet/SheetFooter.vue.d.ts +17 -0
  1014. package/dist/runtime/components/ui/sheet/SheetHeader.d.vue.ts +17 -0
  1015. package/dist/runtime/components/ui/sheet/SheetHeader.vue +15 -0
  1016. package/dist/runtime/components/ui/sheet/SheetHeader.vue.d.ts +17 -0
  1017. package/dist/runtime/components/ui/sheet/SheetOverlay.d.vue.ts +18 -0
  1018. package/dist/runtime/components/ui/sheet/SheetOverlay.vue +22 -0
  1019. package/dist/runtime/components/ui/sheet/SheetOverlay.vue.d.ts +18 -0
  1020. package/dist/runtime/components/ui/sheet/SheetTitle.d.vue.ts +18 -0
  1021. package/dist/runtime/components/ui/sheet/SheetTitle.vue +21 -0
  1022. package/dist/runtime/components/ui/sheet/SheetTitle.vue.d.ts +18 -0
  1023. package/dist/runtime/components/ui/sheet/SheetTrigger.d.vue.ts +14 -0
  1024. package/dist/runtime/components/ui/sheet/SheetTrigger.vue +16 -0
  1025. package/dist/runtime/components/ui/sheet/SheetTrigger.vue.d.ts +14 -0
  1026. package/dist/runtime/components/ui/sheet/index.d.ts +8 -0
  1027. package/dist/runtime/components/ui/sheet/index.js +8 -0
  1028. package/dist/runtime/components/ui/sidebar/Sidebar.d.vue.ts +22 -0
  1029. package/dist/runtime/components/ui/sidebar/Sidebar.vue +93 -0
  1030. package/dist/runtime/components/ui/sidebar/Sidebar.vue.d.ts +22 -0
  1031. package/dist/runtime/components/ui/sidebar/SidebarContent.d.vue.ts +17 -0
  1032. package/dist/runtime/components/ui/sidebar/SidebarContent.vue +16 -0
  1033. package/dist/runtime/components/ui/sidebar/SidebarContent.vue.d.ts +17 -0
  1034. package/dist/runtime/components/ui/sidebar/SidebarFooter.d.vue.ts +17 -0
  1035. package/dist/runtime/components/ui/sidebar/SidebarFooter.vue +16 -0
  1036. package/dist/runtime/components/ui/sidebar/SidebarFooter.vue.d.ts +17 -0
  1037. package/dist/runtime/components/ui/sidebar/SidebarGroup.d.vue.ts +17 -0
  1038. package/dist/runtime/components/ui/sidebar/SidebarGroup.vue +16 -0
  1039. package/dist/runtime/components/ui/sidebar/SidebarGroup.vue.d.ts +17 -0
  1040. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.d.vue.ts +18 -0
  1041. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue +26 -0
  1042. package/dist/runtime/components/ui/sidebar/SidebarGroupAction.vue.d.ts +18 -0
  1043. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.d.vue.ts +17 -0
  1044. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue +16 -0
  1045. package/dist/runtime/components/ui/sidebar/SidebarGroupContent.vue.d.ts +17 -0
  1046. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.d.vue.ts +18 -0
  1047. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue +25 -0
  1048. package/dist/runtime/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +18 -0
  1049. package/dist/runtime/components/ui/sidebar/SidebarHeader.d.vue.ts +17 -0
  1050. package/dist/runtime/components/ui/sidebar/SidebarHeader.vue +16 -0
  1051. package/dist/runtime/components/ui/sidebar/SidebarHeader.vue.d.ts +17 -0
  1052. package/dist/runtime/components/ui/sidebar/SidebarInput.d.vue.ts +17 -0
  1053. package/dist/runtime/components/ui/sidebar/SidebarInput.vue +20 -0
  1054. package/dist/runtime/components/ui/sidebar/SidebarInput.vue.d.ts +17 -0
  1055. package/dist/runtime/components/ui/sidebar/SidebarInset.d.vue.ts +17 -0
  1056. package/dist/runtime/components/ui/sidebar/SidebarInset.vue +19 -0
  1057. package/dist/runtime/components/ui/sidebar/SidebarInset.vue.d.ts +17 -0
  1058. package/dist/runtime/components/ui/sidebar/SidebarMenu.d.vue.ts +17 -0
  1059. package/dist/runtime/components/ui/sidebar/SidebarMenu.vue +16 -0
  1060. package/dist/runtime/components/ui/sidebar/SidebarMenu.vue.d.ts +17 -0
  1061. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.d.vue.ts +21 -0
  1062. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +31 -0
  1063. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue.d.ts +21 -0
  1064. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.d.vue.ts +17 -0
  1065. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue +24 -0
  1066. package/dist/runtime/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +17 -0
  1067. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.d.vue.ts +24 -0
  1068. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue +50 -0
  1069. package/dist/runtime/components/ui/sidebar/SidebarMenuButton.vue.d.ts +24 -0
  1070. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.d.vue.ts +26 -0
  1071. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue +28 -0
  1072. package/dist/runtime/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +26 -0
  1073. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.d.vue.ts +17 -0
  1074. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue +16 -0
  1075. package/dist/runtime/components/ui/sidebar/SidebarMenuItem.vue.d.ts +17 -0
  1076. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.d.vue.ts +8 -0
  1077. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue +32 -0
  1078. package/dist/runtime/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +8 -0
  1079. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.d.vue.ts +17 -0
  1080. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue +20 -0
  1081. package/dist/runtime/components/ui/sidebar/SidebarMenuSub.vue.d.ts +17 -0
  1082. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.d.vue.ts +23 -0
  1083. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue +32 -0
  1084. package/dist/runtime/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +23 -0
  1085. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.d.vue.ts +17 -0
  1086. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue +16 -0
  1087. package/dist/runtime/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +17 -0
  1088. package/dist/runtime/components/ui/sidebar/SidebarProvider.d.vue.ts +26 -0
  1089. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue +61 -0
  1090. package/dist/runtime/components/ui/sidebar/SidebarProvider.vue.d.ts +26 -0
  1091. package/dist/runtime/components/ui/sidebar/SidebarRail.d.vue.ts +17 -0
  1092. package/dist/runtime/components/ui/sidebar/SidebarRail.vue +30 -0
  1093. package/dist/runtime/components/ui/sidebar/SidebarRail.vue.d.ts +17 -0
  1094. package/dist/runtime/components/ui/sidebar/SidebarSeparator.d.vue.ts +17 -0
  1095. package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue +17 -0
  1096. package/dist/runtime/components/ui/sidebar/SidebarSeparator.vue.d.ts +17 -0
  1097. package/dist/runtime/components/ui/sidebar/SidebarTrigger.d.vue.ts +7 -0
  1098. package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue +23 -0
  1099. package/dist/runtime/components/ui/sidebar/SidebarTrigger.vue.d.ts +7 -0
  1100. package/dist/runtime/components/ui/sidebar/index.d.ts +37 -0
  1101. package/dist/runtime/components/ui/sidebar/index.js +45 -0
  1102. package/dist/runtime/components/ui/sidebar/utils.d.ts +56 -0
  1103. package/dist/runtime/components/ui/sidebar/utils.js +8 -0
  1104. package/dist/runtime/components/ui/skeleton/Skeleton.d.vue.ts +7 -0
  1105. package/dist/runtime/components/ui/skeleton/Skeleton.vue +14 -0
  1106. package/dist/runtime/components/ui/skeleton/Skeleton.vue.d.ts +7 -0
  1107. package/dist/runtime/components/ui/skeleton/index.d.ts +1 -0
  1108. package/dist/runtime/components/ui/skeleton/index.js +1 -0
  1109. package/dist/runtime/components/ui/switch/Switch.d.vue.ts +29 -0
  1110. package/dist/runtime/components/ui/switch/Switch.vue +58 -0
  1111. package/dist/runtime/components/ui/switch/Switch.vue.d.ts +29 -0
  1112. package/dist/runtime/components/ui/switch/index.d.ts +1 -0
  1113. package/dist/runtime/components/ui/switch/index.js +1 -0
  1114. package/dist/runtime/components/ui/tabs/Tabs.d.vue.ts +24 -0
  1115. package/dist/runtime/components/ui/tabs/Tabs.vue +31 -0
  1116. package/dist/runtime/components/ui/tabs/Tabs.vue.d.ts +24 -0
  1117. package/dist/runtime/components/ui/tabs/TabsContent.d.vue.ts +18 -0
  1118. package/dist/runtime/components/ui/tabs/TabsContent.vue +23 -0
  1119. package/dist/runtime/components/ui/tabs/TabsContent.vue.d.ts +18 -0
  1120. package/dist/runtime/components/ui/tabs/TabsList.d.vue.ts +18 -0
  1121. package/dist/runtime/components/ui/tabs/TabsList.vue +86 -0
  1122. package/dist/runtime/components/ui/tabs/TabsList.vue.d.ts +18 -0
  1123. package/dist/runtime/components/ui/tabs/TabsTrigger.d.vue.ts +18 -0
  1124. package/dist/runtime/components/ui/tabs/TabsTrigger.vue +32 -0
  1125. package/dist/runtime/components/ui/tabs/TabsTrigger.vue.d.ts +18 -0
  1126. package/dist/runtime/components/ui/tabs/index.d.ts +4 -0
  1127. package/dist/runtime/components/ui/tabs/index.js +4 -0
  1128. package/dist/runtime/components/ui/textarea/Textarea.d.vue.ts +14 -0
  1129. package/dist/runtime/components/ui/textarea/Textarea.vue +29 -0
  1130. package/dist/runtime/components/ui/textarea/Textarea.vue.d.ts +14 -0
  1131. package/dist/runtime/components/ui/textarea/index.d.ts +1 -0
  1132. package/dist/runtime/components/ui/textarea/index.js +1 -0
  1133. package/dist/runtime/components/ui/toggle/Toggle.d.vue.ts +34 -0
  1134. package/dist/runtime/components/ui/toggle/Toggle.vue +33 -0
  1135. package/dist/runtime/components/ui/toggle/Toggle.vue.d.ts +34 -0
  1136. package/dist/runtime/components/ui/toggle/index.d.ts +7 -0
  1137. package/dist/runtime/components/ui/toggle/index.js +23 -0
  1138. package/dist/runtime/components/ui/toggle-group/ToggleGroup.d.vue.ts +28 -0
  1139. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue +41 -0
  1140. package/dist/runtime/components/ui/toggle-group/ToggleGroup.vue.d.ts +28 -0
  1141. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.d.vue.ts +21 -0
  1142. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue +33 -0
  1143. package/dist/runtime/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +21 -0
  1144. package/dist/runtime/components/ui/toggle-group/index.d.ts +8 -0
  1145. package/dist/runtime/components/ui/toggle-group/index.js +3 -0
  1146. package/dist/runtime/components/ui/tooltip/Tooltip.d.vue.ts +20 -0
  1147. package/dist/runtime/components/ui/tooltip/Tooltip.vue +27 -0
  1148. package/dist/runtime/components/ui/tooltip/Tooltip.vue.d.ts +20 -0
  1149. package/dist/runtime/components/ui/tooltip/TooltipContent.d.vue.ts +27 -0
  1150. package/dist/runtime/components/ui/tooltip/TooltipContent.vue +59 -0
  1151. package/dist/runtime/components/ui/tooltip/TooltipContent.vue.d.ts +27 -0
  1152. package/dist/runtime/components/ui/tooltip/TooltipTrigger.d.vue.ts +14 -0
  1153. package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue +17 -0
  1154. package/dist/runtime/components/ui/tooltip/TooltipTrigger.vue.d.ts +14 -0
  1155. package/dist/runtime/components/ui/tooltip/index.d.ts +3 -0
  1156. package/dist/runtime/components/ui/tooltip/index.js +3 -0
  1157. package/dist/runtime/composables/useCel.d.ts +16 -0
  1158. package/dist/runtime/composables/useCel.js +8 -0
  1159. package/dist/runtime/composables/useDragging.d.ts +25 -0
  1160. package/dist/runtime/composables/useDragging.js +76 -0
  1161. package/dist/runtime/composables/useInfinitePlane.d.ts +30 -0
  1162. package/dist/runtime/composables/useInfinitePlane.js +24 -0
  1163. package/dist/runtime/composables/useOverlay.d.ts +110 -0
  1164. package/dist/runtime/composables/useOverlay.js +268 -0
  1165. package/dist/runtime/composables/useTranslateLocale.d.ts +11 -0
  1166. package/dist/runtime/composables/useTranslateLocale.js +66 -0
  1167. package/dist/runtime/composables/useTreeDnd.d.ts +52 -0
  1168. package/dist/runtime/composables/useTreeDnd.js +211 -0
  1169. package/dist/runtime/middleware/token.d.ts +2 -0
  1170. package/dist/runtime/middleware/token.js +20 -0
  1171. package/dist/runtime/plugins/ai/cel-prompt.d.ts +11 -0
  1172. package/dist/runtime/plugins/ai/cel-prompt.js +27 -0
  1173. package/dist/runtime/plugins/ai/gate.d.ts +1 -0
  1174. package/dist/runtime/plugins/ai/gate.js +8 -0
  1175. package/dist/runtime/plugins/ai/index.d.ts +48 -0
  1176. package/dist/runtime/plugins/ai/index.js +522 -0
  1177. package/dist/runtime/plugins/ai/settings-state.d.ts +1 -0
  1178. package/dist/runtime/plugins/ai/settings-state.js +2 -0
  1179. package/dist/runtime/plugins/ai/store.d.ts +17 -0
  1180. package/dist/runtime/plugins/ai/store.js +40 -0
  1181. package/dist/runtime/plugins/cel/context.d.ts +10 -0
  1182. package/dist/runtime/plugins/cel/context.js +17 -0
  1183. package/dist/runtime/plugins/cel/http.d.ts +8 -0
  1184. package/dist/runtime/plugins/cel/http.js +49 -0
  1185. package/dist/runtime/plugins/cel/index.d.ts +9 -0
  1186. package/dist/runtime/plugins/cel/index.js +52 -0
  1187. package/dist/runtime/plugins/http/builder.d.ts +14 -0
  1188. package/dist/runtime/plugins/http/builder.js +109 -0
  1189. package/dist/runtime/plugins/http/index.d.ts +19 -0
  1190. package/dist/runtime/plugins/http/index.js +35 -0
  1191. package/dist/runtime/plugins/i18n/index.d.ts +2 -0
  1192. package/dist/runtime/plugins/i18n/index.js +14 -0
  1193. package/dist/runtime/plugins/toast/index.d.ts +108 -0
  1194. package/dist/runtime/plugins/toast/index.js +10 -0
  1195. package/dist/runtime/share/define-registry.d.ts +57 -0
  1196. package/dist/runtime/share/define-registry.js +63 -0
  1197. package/dist/runtime/share/expression.d.ts +15 -0
  1198. package/dist/runtime/share/expression.js +132 -0
  1199. package/dist/runtime/share/layout.d.ts +122 -0
  1200. package/dist/runtime/share/layout.js +219 -0
  1201. package/dist/runtime/share/locale.d.ts +11 -0
  1202. package/dist/runtime/share/locale.js +37 -0
  1203. package/dist/runtime/share/markdown.d.ts +9 -0
  1204. package/dist/runtime/share/markdown.js +6 -0
  1205. package/dist/runtime/share/slot-renderer.d.vue.ts +50 -0
  1206. package/dist/runtime/share/slot-renderer.vue +116 -0
  1207. package/dist/runtime/share/slot-renderer.vue.d.ts +50 -0
  1208. package/dist/runtime/share/use-active-tab-id.d.ts +13 -0
  1209. package/dist/runtime/share/use-active-tab-id.js +34 -0
  1210. package/dist/runtime/shims.d.ts +4 -0
  1211. package/dist/runtime/style.css +1 -0
  1212. package/dist/runtime/types.d.ts +23 -0
  1213. package/dist/runtime/utils/cn.d.ts +2 -0
  1214. package/dist/runtime/utils/cn.js +3 -0
  1215. package/dist/runtime/utils/config-clipboard.d.ts +4 -0
  1216. package/dist/runtime/utils/config-clipboard.js +12 -0
  1217. package/dist/runtime/utils/markdown-tooltip.d.ts +4 -0
  1218. package/dist/runtime/utils/markdown-tooltip.js +55 -0
  1219. package/dist/runtime/utils/markdown.d.ts +5 -0
  1220. package/dist/runtime/utils/markdown.js +6 -0
  1221. package/dist/runtime/vendor/cel-js/CLAUDE.md +74 -0
  1222. package/dist/runtime/vendor/cel-js/LICENSE +21 -0
  1223. package/dist/runtime/vendor/cel-js/PROMPT.md +311 -0
  1224. package/dist/runtime/vendor/cel-js/VENDORED +3 -0
  1225. package/dist/runtime/vendor/cel-js/__tests__/helpers.d.ts +8 -0
  1226. package/dist/runtime/vendor/cel-js/__tests__/helpers.js +18 -0
  1227. package/dist/runtime/vendor/cel-js/lib/decimal.d.ts +31 -0
  1228. package/dist/runtime/vendor/cel-js/lib/decimal.js +208 -0
  1229. package/dist/runtime/vendor/cel-js/lib/errors.d.ts +50 -0
  1230. package/dist/runtime/vendor/cel-js/lib/errors.js +112 -0
  1231. package/dist/runtime/vendor/cel-js/lib/evaluator.d.ts +37 -0
  1232. package/dist/runtime/vendor/cel-js/lib/evaluator.js +163 -0
  1233. package/dist/runtime/vendor/cel-js/lib/functions.d.ts +2 -0
  1234. package/dist/runtime/vendor/cel-js/lib/functions.js +340 -0
  1235. package/dist/runtime/vendor/cel-js/lib/globals.d.ts +27 -0
  1236. package/dist/runtime/vendor/cel-js/lib/globals.js +31 -0
  1237. package/dist/runtime/vendor/cel-js/lib/http-builtins.d.ts +16 -0
  1238. package/dist/runtime/vendor/cel-js/lib/http-builtins.js +15 -0
  1239. package/dist/runtime/vendor/cel-js/lib/index.d.ts +3 -0
  1240. package/dist/runtime/vendor/cel-js/lib/index.js +3 -0
  1241. package/dist/runtime/vendor/cel-js/lib/macros.d.ts +2 -0
  1242. package/dist/runtime/vendor/cel-js/lib/macros.js +268 -0
  1243. package/dist/runtime/vendor/cel-js/lib/operators.d.ts +29 -0
  1244. package/dist/runtime/vendor/cel-js/lib/operators.js +673 -0
  1245. package/dist/runtime/vendor/cel-js/lib/optional.d.ts +5 -0
  1246. package/dist/runtime/vendor/cel-js/lib/optional.js +111 -0
  1247. package/dist/runtime/vendor/cel-js/lib/options.d.ts +15 -0
  1248. package/dist/runtime/vendor/cel-js/lib/options.js +37 -0
  1249. package/dist/runtime/vendor/cel-js/lib/overloads.d.ts +2 -0
  1250. package/dist/runtime/vendor/cel-js/lib/overloads.js +170 -0
  1251. package/dist/runtime/vendor/cel-js/lib/parser.d.ts +83 -0
  1252. package/dist/runtime/vendor/cel-js/lib/parser.js +787 -0
  1253. package/dist/runtime/vendor/cel-js/lib/registry.d.ts +209 -0
  1254. package/dist/runtime/vendor/cel-js/lib/registry.js +1326 -0
  1255. package/dist/runtime/vendor/cel-js/lib/serialize.d.ts +3 -0
  1256. package/dist/runtime/vendor/cel-js/lib/serialize.js +168 -0
  1257. package/dist/runtime/vendor/cel-js/lib/type-checker.d.ts +15 -0
  1258. package/dist/runtime/vendor/cel-js/lib/type-checker.js +56 -0
  1259. package/dist/runtime/vendor/cel-js/lib/types.d.ts +192 -0
  1260. package/dist/runtime/vendor/cel-js/lib/types.js +0 -0
  1261. package/dist/shared/config.DW2OtAXe.mjs +86529 -0
  1262. package/dist/types.d.mts +3 -0
  1263. package/package.json +105 -0
@@ -0,0 +1,1312 @@
1
+ <script setup>
2
+ import { Icon } from "@iconify/vue";
3
+ import { useEventListener } from "@vueuse/core";
4
+ import { computed, onMounted, ref, watch } from "vue";
5
+ import { Button } from "../ui/button";
6
+ import { CommandGroup, CommandItem } from "../ui/command";
7
+ import {
8
+ ContextMenu,
9
+ ContextMenuContent,
10
+ ContextMenuItem,
11
+ ContextMenuRadioGroup,
12
+ ContextMenuRadioItem,
13
+ ContextMenuSeparator,
14
+ ContextMenuTrigger
15
+ } from "../ui/context-menu";
16
+ import { Tooltip, TooltipContent, TooltipTrigger } from "../ui/tooltip";
17
+ import {
18
+ InputGroup,
19
+ InputGroupAddon,
20
+ InputGroupCombobox,
21
+ InputGroupNumberField
22
+ } from "../ui/input-group";
23
+ import { Field, FieldLabel } from "../ui/field";
24
+ import useInfinitePlane from "../../composables/useInfinitePlane";
25
+ import { findFreePlacement } from "../../share/layout";
26
+ defineOptions({ name: "ShwfedBlockLayoutEditor" });
27
+ const layouts = defineModel({ type: Array, ...{ required: true } });
28
+ const activeIndex = defineModel("activeIndex", { type: Number, ...{ default: 0 } });
29
+ const selectedItemIds = defineModel("selectedItemIds", { type: Array, ...{ default: () => [] } });
30
+ const selectedSet = computed(() => new Set(selectedItemIds.value));
31
+ function isSelected(id) {
32
+ return selectedSet.value.has(id);
33
+ }
34
+ function setSelection(ids) {
35
+ const seen = /* @__PURE__ */ new Set();
36
+ const out = [];
37
+ for (const id of ids) {
38
+ if (seen.has(id)) continue;
39
+ seen.add(id);
40
+ out.push(id);
41
+ }
42
+ selectedItemIds.value = out;
43
+ }
44
+ function addToSelection(ids) {
45
+ setSelection([...selectedItemIds.value, ...ids]);
46
+ }
47
+ function onItemClick(itemId, e) {
48
+ if (dragJustEnded) return;
49
+ if (e.shiftKey) addToSelection([itemId]);
50
+ else setSelection([itemId]);
51
+ }
52
+ function onItemContextMenu(itemId) {
53
+ if (!isSelected(itemId)) setSelection([itemId]);
54
+ }
55
+ const props = defineProps({
56
+ items: { type: Array, required: true },
57
+ findEntry: { type: Function, required: true },
58
+ getItemLabel: { type: Function, required: false },
59
+ itemNoun: { type: String, required: false },
60
+ pickerEntries: { type: Array, required: false },
61
+ canDelete: { type: Boolean, required: false }
62
+ });
63
+ const emit = defineEmits(["add-new", "drill-down", "delete-item", "delete-items"]);
64
+ let pendingAddSilent = false;
65
+ function captureAddModifiers(e) {
66
+ pendingAddSilent = e.metaKey || e.ctrlKey;
67
+ }
68
+ function emitAddNew(entry) {
69
+ const silent = pendingAddSilent;
70
+ pendingAddSilent = false;
71
+ emit("add-new", entry, { silent });
72
+ }
73
+ const itemNoun = computed(() => props.itemNoun ?? "\u5757");
74
+ const CANVAS_STEP_PX = 24;
75
+ const activeLayout = computed(() => layouts.value[activeIndex.value]);
76
+ const GAP_DEFAULT = 4;
77
+ const editorGaps = ref(/* @__PURE__ */ new Map());
78
+ function getGap(i) {
79
+ const cached = editorGaps.value.get(i);
80
+ if (cached !== void 0) return cached;
81
+ return layouts.value[i]?.layout.gap ?? GAP_DEFAULT;
82
+ }
83
+ const activeGap = computed(() => getGap(activeIndex.value));
84
+ const stepPx = computed(() => CANVAS_STEP_PX);
85
+ function setGap(value) {
86
+ const n = typeof value === "number" ? value : Number(value);
87
+ if (!Number.isFinite(n) || n < 0) return;
88
+ const next = new Map(editorGaps.value);
89
+ next.set(activeIndex.value, Math.floor(n));
90
+ editorGaps.value = next;
91
+ writeTracks(activeIndex.value);
92
+ }
93
+ function frameSize(ls) {
94
+ let cols = 0;
95
+ let rows = 0;
96
+ for (const p of Object.values(ls.layout.placements)) {
97
+ const [, [x2, y2]] = p.area;
98
+ if (x2 - 1 > cols) cols = x2 - 1;
99
+ if (y2 - 1 > rows) rows = y2 - 1;
100
+ }
101
+ return { cols, rows };
102
+ }
103
+ const activeFrame = computed(() => activeLayout.value ? frameSize(activeLayout.value) : { cols: 0, rows: 0 });
104
+ function setLayout(i, updater) {
105
+ const ls = layouts.value[i];
106
+ if (!ls) return;
107
+ const next = [...layouts.value];
108
+ next[i] = updater(ls);
109
+ layouts.value = next;
110
+ }
111
+ function writeTracks(i, nextPlacements) {
112
+ const gap = getGap(i);
113
+ const current = layouts.value[i];
114
+ if (!current) return;
115
+ const source = nextPlacements ?? current.layout.placements;
116
+ let minX = Infinity;
117
+ let minY = Infinity;
118
+ for (const p of Object.values(source)) {
119
+ if (p.area[0][0] < minX) minX = p.area[0][0];
120
+ if (p.area[0][1] < minY) minY = p.area[0][1];
121
+ }
122
+ const sx = Number.isFinite(minX) && minX !== 1 ? 1 - minX : 0;
123
+ const sy = Number.isFinite(minY) && minY !== 1 ? 1 - minY : 0;
124
+ const placements = sx || sy ? Object.fromEntries(
125
+ Object.entries(source).map(([id, p]) => {
126
+ const [[ax, ay], [bx, by]] = p.area;
127
+ return [id, { ...p, area: [[ax + sx, ay + sy], [bx + sx, by + sy]] }];
128
+ })
129
+ ) : source;
130
+ if (sx || sy) {
131
+ coordinate.value = {
132
+ x: coordinate.value.x - sx * stepPx.value,
133
+ y: coordinate.value.y - sy * stepPx.value
134
+ };
135
+ }
136
+ setLayout(i, (ls) => {
137
+ let cols = 0;
138
+ let rows = 0;
139
+ for (const p of Object.values(placements)) {
140
+ const [, [x2, y2]] = p.area;
141
+ if (x2 - 1 > cols) cols = x2 - 1;
142
+ if (y2 - 1 > rows) rows = y2 - 1;
143
+ }
144
+ const nextLayout = {
145
+ ...ls.layout,
146
+ placements,
147
+ columns: Math.max(1, cols),
148
+ rows: Math.max(1, rows),
149
+ ...gap > 0 ? { gap } : {}
150
+ };
151
+ if (gap === 0 && "gap" in nextLayout) delete nextLayout.gap;
152
+ return { ...ls, layout: nextLayout };
153
+ });
154
+ }
155
+ const isSpaceHeld = ref(false);
156
+ function isTextInput(el) {
157
+ if (!(el instanceof HTMLElement)) return false;
158
+ const tag = el.tagName;
159
+ if (tag === "INPUT" || tag === "TEXTAREA" || tag === "SELECT") return true;
160
+ if (el.isContentEditable) return true;
161
+ return false;
162
+ }
163
+ useEventListener("keydown", (e) => {
164
+ if (e.code !== "Space") return;
165
+ if (isTextInput(e.target)) return;
166
+ isSpaceHeld.value = true;
167
+ e.preventDefault();
168
+ });
169
+ useEventListener("keyup", (e) => {
170
+ if (e.code !== "Space") return;
171
+ isSpaceHeld.value = false;
172
+ });
173
+ useEventListener(() => window, "blur", () => {
174
+ isSpaceHeld.value = false;
175
+ });
176
+ const { planeRef, coordinate, bgStyle, isDragging: isPanning } = useInfinitePlane({
177
+ gap: CANVAS_STEP_PX,
178
+ enabled: isSpaceHeld
179
+ });
180
+ onMounted(() => recenterSoon());
181
+ function recenter() {
182
+ const el = planeRef.value;
183
+ if (!el) return;
184
+ const rect = el.getBoundingClientRect();
185
+ const frame = activeFrame.value;
186
+ const frameW = frame.cols * stepPx.value;
187
+ const frameH = frame.rows * stepPx.value;
188
+ coordinate.value = {
189
+ x: Math.round((rect.width - frameW) / 2),
190
+ y: Math.round((rect.height - frameH) / 2)
191
+ };
192
+ }
193
+ function recenterSoon() {
194
+ requestAnimationFrame(() => recenter());
195
+ }
196
+ watch(activeIndex, () => recenterSoon());
197
+ const placementEntries = computed(() => {
198
+ const ls = activeLayout.value;
199
+ if (!ls) return [];
200
+ return Object.entries(ls.layout.placements).map(([itemId, placement]) => ({ itemId, placement }));
201
+ });
202
+ const MARQUEE_THRESHOLD_PX = 3;
203
+ const marquee = ref(null);
204
+ function placementPxRect(p) {
205
+ const s = stepPx.value;
206
+ const inset = s * BLOCK_INSET_UNITS;
207
+ const [[x1, y1], [x2, y2]] = p.area;
208
+ return {
209
+ x: (x1 - 1) * s + inset + coordinate.value.x,
210
+ y: (y1 - 1) * s + inset + coordinate.value.y,
211
+ w: Math.max(0, (x2 - x1) * s - 2 * inset),
212
+ h: Math.max(0, (y2 - y1) * s - 2 * inset)
213
+ };
214
+ }
215
+ function marqueeCanvasBox(m) {
216
+ const r = canvasRef.value?.getBoundingClientRect();
217
+ if (!r) return null;
218
+ const ax = Math.min(m.origin.cx, m.current.cx) - r.left;
219
+ const ay = Math.min(m.origin.cy, m.current.cy) - r.top;
220
+ const bx = Math.max(m.origin.cx, m.current.cx) - r.left;
221
+ const by = Math.max(m.origin.cy, m.current.cy) - r.top;
222
+ return { x: ax, y: ay, w: bx - ax, h: by - ay };
223
+ }
224
+ const marqueeStyle = computed(() => {
225
+ const m = marquee.value;
226
+ if (!m || !m.active) return null;
227
+ const b = marqueeCanvasBox(m);
228
+ if (!b) return null;
229
+ return {
230
+ top: "0",
231
+ left: "0",
232
+ width: `${b.w}px`,
233
+ height: `${b.h}px`,
234
+ transform: `translate3d(${b.x}px, ${b.y}px, 0)`
235
+ };
236
+ });
237
+ function onPlaneMouseDown(e) {
238
+ if (e.button !== 0) return;
239
+ if (isSpaceHeld.value) return;
240
+ marquee.value = {
241
+ origin: { cx: e.clientX, cy: e.clientY },
242
+ current: { cx: e.clientX, cy: e.clientY },
243
+ shiftKey: e.shiftKey,
244
+ addBase: e.shiftKey ? [...selectedItemIds.value] : [],
245
+ active: false
246
+ };
247
+ }
248
+ useEventListener("mousemove", (e) => {
249
+ const m = marquee.value;
250
+ if (!m) return;
251
+ m.current = { cx: e.clientX, cy: e.clientY };
252
+ if (!m.active) {
253
+ const dx = Math.abs(m.current.cx - m.origin.cx);
254
+ const dy = Math.abs(m.current.cy - m.origin.cy);
255
+ if (dx >= MARQUEE_THRESHOLD_PX || dy >= MARQUEE_THRESHOLD_PX) m.active = true;
256
+ }
257
+ });
258
+ useEventListener("mouseup", () => {
259
+ const m = marquee.value;
260
+ if (!m) return;
261
+ marquee.value = null;
262
+ if (!m.active) {
263
+ if (!m.shiftKey) setSelection([]);
264
+ return;
265
+ }
266
+ const ls = activeLayout.value;
267
+ if (!ls) return;
268
+ const box = marqueeCanvasBox(m);
269
+ if (!box) return;
270
+ const hits = [];
271
+ for (const [id, p] of Object.entries(ls.layout.placements)) {
272
+ const pr = placementPxRect(p);
273
+ if (pr.x < box.x + box.w && pr.x + pr.w > box.x && pr.y < box.y + box.h && pr.y + pr.h > box.y) {
274
+ hits.push(id);
275
+ }
276
+ }
277
+ setSelection(m.shiftKey ? [...m.addBase, ...hits] : hits);
278
+ });
279
+ function getItem(itemId) {
280
+ return props.items.find((it) => it.id === itemId);
281
+ }
282
+ function resolveItemLabel(itemId) {
283
+ const it = getItem(itemId);
284
+ if (!it) return `\u672A\u77E5${itemNoun.value}`;
285
+ if (props.getItemLabel) return props.getItemLabel(it);
286
+ const fa = it;
287
+ if (typeof fa.displayName === "string" && fa.displayName.length > 0) return fa.displayName;
288
+ if (typeof fa.name === "string" && fa.name.length > 0) return fa.name;
289
+ return `\u672A\u547D\u540D${itemNoun.value}`;
290
+ }
291
+ function getItemIcon(itemId) {
292
+ const it = getItem(itemId);
293
+ if (!it) return "fluent:square-20-regular";
294
+ const entry = props.findEntry(it.type, it.compatibilityDate);
295
+ return entry?.metadata.icon ?? "fluent:square-20-regular";
296
+ }
297
+ const BLOCK_INSET_UNITS = 0.25;
298
+ const drag = ref(null);
299
+ let dragJustEnded = false;
300
+ const UNBOUNDED = { minW: 1, maxW: Infinity, minH: 1, maxH: Infinity };
301
+ function resolveBounds(itemId, start) {
302
+ const it = getItem(itemId);
303
+ if (!it) return UNBOUNDED;
304
+ const entry = props.findEntry(it.type, it.compatibilityDate);
305
+ if (!entry) return UNBOUNDED;
306
+ const { w, h } = entry.metadata;
307
+ const [[x1, y1], [x2, y2]] = start.area;
308
+ const spanW = x2 - x1;
309
+ const spanH = y2 - y1;
310
+ return {
311
+ minW: Math.min(w.min, spanW),
312
+ maxW: Math.max(w.max, spanW),
313
+ minH: Math.min(h.min, spanH),
314
+ maxH: Math.max(h.max, spanH)
315
+ };
316
+ }
317
+ function blockStyle(entry) {
318
+ const s = stepPx.value;
319
+ const inset = s * BLOCK_INSET_UNITS;
320
+ const d = drag.value;
321
+ const placement = d && d.starts[entry.itemId] ? applyDelta(d, entry.itemId) : entry.placement;
322
+ const [[x1, y1], [x2, y2]] = placement.area;
323
+ const cellX = (x1 - 1) * s + inset + coordinate.value.x;
324
+ const cellY = (y1 - 1) * s + inset + coordinate.value.y;
325
+ const cellW = Math.max(0, (x2 - x1) * s - 2 * inset);
326
+ const cellH = Math.max(0, (y2 - y1) * s - 2 * inset);
327
+ return {
328
+ top: "0",
329
+ left: "0",
330
+ width: `${cellW}px`,
331
+ height: `${cellH}px`,
332
+ transform: `translate3d(${cellX}px, ${cellY}px, 0)`
333
+ };
334
+ }
335
+ function blockInnerStyle(entry) {
336
+ const d = drag.value;
337
+ const placement = d && d.starts[entry.itemId] ? applyDelta(d, entry.itemId) : entry.placement;
338
+ const toFlex = (a) => a === "start" ? "flex-start" : a === "end" ? "flex-end" : "center";
339
+ return `justify-content: ${toFlex(placement.h)}; align-items: ${toFlex(placement.v)}`;
340
+ }
341
+ function blockPillStyle(entry) {
342
+ const d = drag.value;
343
+ const placement = d && d.starts[entry.itemId] ? applyDelta(d, entry.itemId) : entry.placement;
344
+ const parts = [];
345
+ if (!placement.h || placement.h === "stretch") parts.push("width: 100%");
346
+ if (!placement.v || placement.v === "stretch") parts.push("height: 100%");
347
+ return parts.join("; ");
348
+ }
349
+ function areasOverlap(a, b) {
350
+ return a[0][0] < b[1][0] && a[1][0] > b[0][0] && a[0][1] < b[1][1] && a[1][1] > b[0][1];
351
+ }
352
+ function hideItem(itemId) {
353
+ const i = activeIndex.value;
354
+ const ls = layouts.value[i];
355
+ if (!ls) return;
356
+ if (!ls.layout.placements[itemId]) return;
357
+ const { [itemId]: _removed, ...rest } = ls.layout.placements;
358
+ writeTracks(i, rest);
359
+ }
360
+ function emitDeleteMany(itemIds) {
361
+ emit("delete-items", [...itemIds]);
362
+ }
363
+ function hideItems(itemIds) {
364
+ const i = activeIndex.value;
365
+ const ls = layouts.value[i];
366
+ if (!ls) return;
367
+ const drop = new Set(itemIds);
368
+ const rest = {};
369
+ let changed = false;
370
+ for (const [id, p] of Object.entries(ls.layout.placements)) {
371
+ if (drop.has(id)) {
372
+ changed = true;
373
+ continue;
374
+ }
375
+ rest[id] = p;
376
+ }
377
+ if (!changed) return;
378
+ writeTracks(i, rest);
379
+ }
380
+ const alignItemClass = "inline-flex size-7 cursor-pointer items-center justify-center rounded-sm text-zinc-600 outline-none transition-colors hover:bg-zinc-100 hover:text-zinc-900 data-[state=checked]:bg-[color-mix(in_srgb,var(--primary)_12%,white)] data-[state=checked]:text-(--primary) [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0";
381
+ function setAlignment(itemId, patch) {
382
+ setAlignmentMany([itemId], patch);
383
+ }
384
+ function setAlignmentMany(itemIds, patch) {
385
+ if (itemIds.length === 0) return;
386
+ setLayout(activeIndex.value, (ls) => {
387
+ const placements = { ...ls.layout.placements };
388
+ let changed = false;
389
+ for (const itemId of itemIds) {
390
+ const prev = placements[itemId];
391
+ if (!prev) continue;
392
+ const next = { ...prev, ...patch };
393
+ if (next.h === "stretch") delete next.h;
394
+ if (next.v === "stretch") delete next.v;
395
+ placements[itemId] = next;
396
+ changed = true;
397
+ }
398
+ if (!changed) return ls;
399
+ return { ...ls, layout: { ...ls.layout, placements } };
400
+ });
401
+ }
402
+ function sharedAlignment(axis) {
403
+ const ls = activeLayout.value;
404
+ if (!ls) return void 0;
405
+ let value;
406
+ let initialized = false;
407
+ for (const id of selectedItemIds.value) {
408
+ const p = ls.layout.placements[id];
409
+ if (!p) continue;
410
+ const v = p[axis] ?? "stretch";
411
+ if (!initialized) {
412
+ value = v;
413
+ initialized = true;
414
+ } else if (value !== v) return void 0;
415
+ }
416
+ return initialized ? value : void 0;
417
+ }
418
+ function beginDrag(kind, itemId, e) {
419
+ if (e.button !== 0) return;
420
+ const entry = placementEntries.value.find((p) => p.itemId === itemId);
421
+ if (!entry) return;
422
+ e.preventDefault();
423
+ e.stopPropagation();
424
+ let itemIds;
425
+ if (kind === "move" && isSelected(itemId) && selectedItemIds.value.length > 1) {
426
+ itemIds = [...selectedItemIds.value];
427
+ } else {
428
+ itemIds = [itemId];
429
+ if (kind === "move") setSelection([itemId]);
430
+ }
431
+ const starts = {};
432
+ for (const id of itemIds) {
433
+ const p = placementEntries.value.find((x) => x.itemId === id);
434
+ if (p) starts[id] = p.placement;
435
+ }
436
+ drag.value = {
437
+ kind,
438
+ itemIds,
439
+ anchorId: itemId,
440
+ origin: { x: e.clientX, y: e.clientY },
441
+ starts,
442
+ delta: { x: 0, y: 0, w: 0, h: 0 },
443
+ bounds: resolveBounds(itemId, entry.placement)
444
+ };
445
+ }
446
+ function applyDelta(d, itemId) {
447
+ const start = d.starts[itemId] ?? d.starts[d.anchorId];
448
+ const [[x1, y1], [x2, y2]] = start.area;
449
+ const spanW = x2 - x1;
450
+ const spanH = y2 - y1;
451
+ const clamp = (v, lo, hi) => Math.min(hi, Math.max(lo, v));
452
+ const { minW, maxW, minH, maxH } = d.bounds;
453
+ let area;
454
+ switch (d.kind) {
455
+ case "move": {
456
+ const nx1 = x1 + d.delta.x;
457
+ const ny1 = y1 + d.delta.y;
458
+ area = [[nx1, ny1], [nx1 + spanW, ny1 + spanH]];
459
+ break;
460
+ }
461
+ case "resize-e": {
462
+ const w = clamp(spanW + d.delta.w, minW, maxW);
463
+ area = [[x1, y1], [x1 + w, y2]];
464
+ break;
465
+ }
466
+ case "resize-s": {
467
+ const h = clamp(spanH + d.delta.h, minH, maxH);
468
+ area = [[x1, y1], [x2, y1 + h]];
469
+ break;
470
+ }
471
+ case "resize-w": {
472
+ const w = clamp(spanW + d.delta.w, minW, maxW);
473
+ area = [[x2 - w, y1], [x2, y2]];
474
+ break;
475
+ }
476
+ case "resize-n": {
477
+ const h = clamp(spanH + d.delta.h, minH, maxH);
478
+ area = [[x1, y2 - h], [x2, y2]];
479
+ break;
480
+ }
481
+ case "resize-se": {
482
+ const w = clamp(spanW + d.delta.w, minW, maxW);
483
+ const h = clamp(spanH + d.delta.h, minH, maxH);
484
+ area = [[x1, y1], [x1 + w, y1 + h]];
485
+ break;
486
+ }
487
+ case "resize-sw": {
488
+ const w = clamp(spanW + d.delta.w, minW, maxW);
489
+ const h = clamp(spanH + d.delta.h, minH, maxH);
490
+ area = [[x2 - w, y1], [x2, y1 + h]];
491
+ break;
492
+ }
493
+ case "resize-ne": {
494
+ const w = clamp(spanW + d.delta.w, minW, maxW);
495
+ const h = clamp(spanH + d.delta.h, minH, maxH);
496
+ area = [[x1, y2 - h], [x1 + w, y2]];
497
+ break;
498
+ }
499
+ case "resize-nw": {
500
+ const w = clamp(spanW + d.delta.w, minW, maxW);
501
+ const h = clamp(spanH + d.delta.h, minH, maxH);
502
+ area = [[x2 - w, y2 - h], [x2, y2]];
503
+ break;
504
+ }
505
+ }
506
+ return { ...start, area };
507
+ }
508
+ useEventListener("mousemove", (e) => {
509
+ const d = drag.value;
510
+ if (!d) return;
511
+ const s = stepPx.value;
512
+ const dx = Math.round((e.clientX - d.origin.x) / s);
513
+ const dy = Math.round((e.clientY - d.origin.y) / s);
514
+ switch (d.kind) {
515
+ case "move":
516
+ d.delta = { x: dx, y: dy, w: 0, h: 0 };
517
+ break;
518
+ case "resize-e":
519
+ d.delta = { x: 0, y: 0, w: dx, h: 0 };
520
+ break;
521
+ case "resize-s":
522
+ d.delta = { x: 0, y: 0, w: 0, h: dy };
523
+ break;
524
+ case "resize-w":
525
+ d.delta = { x: 0, y: 0, w: -dx, h: 0 };
526
+ break;
527
+ case "resize-n":
528
+ d.delta = { x: 0, y: 0, w: 0, h: -dy };
529
+ break;
530
+ case "resize-se":
531
+ d.delta = { x: 0, y: 0, w: dx, h: dy };
532
+ break;
533
+ case "resize-sw":
534
+ d.delta = { x: 0, y: 0, w: -dx, h: dy };
535
+ break;
536
+ case "resize-ne":
537
+ d.delta = { x: 0, y: 0, w: dx, h: -dy };
538
+ break;
539
+ case "resize-nw":
540
+ d.delta = { x: 0, y: 0, w: -dx, h: -dy };
541
+ break;
542
+ }
543
+ });
544
+ const dragInvalid = computed(() => {
545
+ const d = drag.value;
546
+ if (!d) return false;
547
+ const ls = activeLayout.value;
548
+ if (!ls) return false;
549
+ const moving = new Set(d.itemIds);
550
+ for (const id of d.itemIds) {
551
+ const cand = applyDelta(d, id).area;
552
+ for (const [otherId, p] of Object.entries(ls.layout.placements)) {
553
+ if (moving.has(otherId)) continue;
554
+ if (areasOverlap(cand, p.area)) return true;
555
+ }
556
+ }
557
+ return false;
558
+ });
559
+ const frameStyle = computed(() => {
560
+ const ls = activeLayout.value;
561
+ if (!ls) return null;
562
+ const placements = { ...ls.layout.placements };
563
+ const d = drag.value;
564
+ if (d) {
565
+ for (const id of d.itemIds) {
566
+ if (placements[id]) placements[id] = applyDelta(d, id);
567
+ }
568
+ }
569
+ let minX = Infinity;
570
+ let minY = Infinity;
571
+ let maxX = -Infinity;
572
+ let maxY = -Infinity;
573
+ for (const p of Object.values(placements)) {
574
+ if (p.area[0][0] < minX) minX = p.area[0][0];
575
+ if (p.area[0][1] < minY) minY = p.area[0][1];
576
+ if (p.area[1][0] > maxX) maxX = p.area[1][0];
577
+ if (p.area[1][1] > maxY) maxY = p.area[1][1];
578
+ }
579
+ if (!Number.isFinite(minX)) return null;
580
+ const s = stepPx.value;
581
+ const tx = (minX - 1) * s + coordinate.value.x;
582
+ const ty = (minY - 1) * s + coordinate.value.y;
583
+ const w = (maxX - minX) * s;
584
+ const h = (maxY - minY) * s;
585
+ return {
586
+ top: "0",
587
+ left: "0",
588
+ width: `${w}px`,
589
+ height: `${h}px`,
590
+ transform: `translate3d(${tx}px, ${ty}px, 0)`
591
+ };
592
+ });
593
+ const frameOfOthers = computed(() => {
594
+ const ls = activeLayout.value;
595
+ if (!ls) return null;
596
+ const skip = new Set(drag.value?.itemIds ?? []);
597
+ let minX = Infinity;
598
+ let minY = Infinity;
599
+ let maxX = -Infinity;
600
+ let maxY = -Infinity;
601
+ for (const [id, p] of Object.entries(ls.layout.placements)) {
602
+ if (skip.has(id)) continue;
603
+ if (p.area[0][0] < minX) minX = p.area[0][0];
604
+ if (p.area[0][1] < minY) minY = p.area[0][1];
605
+ if (p.area[1][0] > maxX) maxX = p.area[1][0];
606
+ if (p.area[1][1] > maxY) maxY = p.area[1][1];
607
+ }
608
+ if (!Number.isFinite(minX)) return null;
609
+ return { minX, minY, maxX, maxY };
610
+ });
611
+ const distanceIndicators = computed(() => {
612
+ const d = drag.value;
613
+ if (!d || d.kind !== "move") return [];
614
+ const ls = activeLayout.value;
615
+ if (!ls) return [];
616
+ let mx1 = Infinity;
617
+ let my1 = Infinity;
618
+ let mx2 = -Infinity;
619
+ let my2 = -Infinity;
620
+ for (const id of d.itemIds) {
621
+ if (!d.starts[id]) continue;
622
+ const [[ax, ay], [bx, by]] = applyDelta(d, id).area;
623
+ if (ax < mx1) mx1 = ax;
624
+ if (ay < my1) my1 = ay;
625
+ if (bx > mx2) mx2 = bx;
626
+ if (by > my2) my2 = by;
627
+ }
628
+ if (!Number.isFinite(mx1)) return [];
629
+ const moving = new Set(d.itemIds);
630
+ const others = [];
631
+ for (const [id, p] of Object.entries(ls.layout.placements)) {
632
+ if (moving.has(id)) continue;
633
+ others.push(p.area);
634
+ }
635
+ const fo = frameOfOthers.value;
636
+ if (others.length === 0 && !fo) return [];
637
+ const s = stepPx.value;
638
+ const cx = coordinate.value.x;
639
+ const cy = coordinate.value.y;
640
+ const out = [];
641
+ const pushVertical = (dir) => {
642
+ let bestUnits = Infinity;
643
+ let overlap = null;
644
+ let occupied = false;
645
+ for (const a of others) {
646
+ const [[ox1, oy1], [ox2, oy2]] = a;
647
+ if (ox2 <= mx1 || ox1 >= mx2) continue;
648
+ const u = dir === "top" ? my1 - oy2 : oy1 - my2;
649
+ if (u < 0) {
650
+ occupied = true;
651
+ continue;
652
+ }
653
+ if (u >= bestUnits) continue;
654
+ bestUnits = u;
655
+ overlap = { lo: Math.max(ox1, mx1), hi: Math.min(ox2, mx2) };
656
+ }
657
+ let units;
658
+ let midX;
659
+ if (Number.isFinite(bestUnits)) {
660
+ units = bestUnits;
661
+ midX = (overlap.lo + overlap.hi) / 2;
662
+ } else if (occupied || !fo) return;
663
+ else {
664
+ units = dir === "top" ? my1 - fo.minY : fo.maxY - my2;
665
+ midX = (mx1 + mx2) / 2;
666
+ }
667
+ if (units <= 1) return;
668
+ const pxX = (midX - 1) * s + cx;
669
+ const pxY = ((dir === "top" ? my1 - units : my2) - 1) * s + cy;
670
+ out.push({ dir, pxX, pxY, length: units * s, units });
671
+ };
672
+ const pushHorizontal = (dir) => {
673
+ let bestUnits = Infinity;
674
+ let overlap = null;
675
+ let occupied = false;
676
+ for (const a of others) {
677
+ const [[ox1, oy1], [ox2, oy2]] = a;
678
+ if (oy2 <= my1 || oy1 >= my2) continue;
679
+ const u = dir === "left" ? mx1 - ox2 : ox1 - mx2;
680
+ if (u < 0) {
681
+ occupied = true;
682
+ continue;
683
+ }
684
+ if (u >= bestUnits) continue;
685
+ bestUnits = u;
686
+ overlap = { lo: Math.max(oy1, my1), hi: Math.min(oy2, my2) };
687
+ }
688
+ let units;
689
+ let midY;
690
+ if (Number.isFinite(bestUnits)) {
691
+ units = bestUnits;
692
+ midY = (overlap.lo + overlap.hi) / 2;
693
+ } else if (occupied || !fo) return;
694
+ else {
695
+ units = dir === "left" ? mx1 - fo.minX : fo.maxX - mx2;
696
+ midY = (my1 + my2) / 2;
697
+ }
698
+ if (units <= 1) return;
699
+ const pxX = ((dir === "left" ? mx1 - units : mx2) - 1) * s + cx;
700
+ const pxY = (midY - 1) * s + cy;
701
+ out.push({ dir, pxX, pxY, length: units * s, units });
702
+ };
703
+ pushVertical("top");
704
+ pushVertical("bottom");
705
+ pushHorizontal("left");
706
+ pushHorizontal("right");
707
+ return out;
708
+ });
709
+ function indicatorStyle(ind) {
710
+ const isVertical = ind.dir === "top" || ind.dir === "bottom";
711
+ const w = isVertical ? 0 : ind.length;
712
+ const h = isVertical ? ind.length : 0;
713
+ return `top: 0; left: 0; width: ${w}px; height: ${h}px; transform: translate3d(${ind.pxX}px, ${ind.pxY}px, 0)`;
714
+ }
715
+ useEventListener("mouseup", () => {
716
+ const d = drag.value;
717
+ if (!d) return;
718
+ const moved = d.delta.x !== 0 || d.delta.y !== 0 || d.delta.w !== 0 || d.delta.h !== 0;
719
+ if (moved) {
720
+ dragJustEnded = true;
721
+ queueMicrotask(() => {
722
+ dragJustEnded = false;
723
+ });
724
+ }
725
+ if (dragInvalid.value) {
726
+ drag.value = null;
727
+ return;
728
+ }
729
+ if (!moved) {
730
+ drag.value = null;
731
+ return;
732
+ }
733
+ const ids = d.itemIds;
734
+ const next = { ...activeLayout.value.layout.placements };
735
+ for (const id of ids) {
736
+ if (!next[id]) continue;
737
+ next[id] = applyDelta(d, id);
738
+ }
739
+ drag.value = null;
740
+ writeTracks(activeIndex.value, next);
741
+ });
742
+ const unplacedItems = computed(() => {
743
+ const ls = activeLayout.value;
744
+ if (!ls) return [];
745
+ const placed = new Set(Object.keys(ls.layout.placements));
746
+ const out = [];
747
+ for (const it of props.items) {
748
+ if (placed.has(it.id)) continue;
749
+ const entry = props.findEntry(it.type, it.compatibilityDate);
750
+ if (!entry) continue;
751
+ out.push({
752
+ item: it,
753
+ label: resolveItemLabel(it.id),
754
+ icon: entry.metadata.icon,
755
+ initialW: entry.metadata.w.initial,
756
+ initialH: entry.metadata.h.initial
757
+ });
758
+ }
759
+ return out;
760
+ });
761
+ function placeUnplacedItem(entry) {
762
+ const i = activeIndex.value;
763
+ const ls = layouts.value[i];
764
+ if (!ls) return;
765
+ const placement = findFreePlacement(ls.layout.placements, entry.initialW, entry.initialH);
766
+ writeTracks(i, { ...ls.layout.placements, [entry.item.id]: placement });
767
+ }
768
+ const showPickerNewGroup = computed(
769
+ () => !!props.pickerEntries && props.pickerEntries.length > 0
770
+ );
771
+ const canvasRef = ref(null);
772
+ const isFullscreen = ref(false);
773
+ useEventListener(() => document, "fullscreenchange", () => {
774
+ isFullscreen.value = document.fullscreenElement === canvasRef.value;
775
+ recenterSoon();
776
+ });
777
+ function toggleFullscreen() {
778
+ const el = canvasRef.value;
779
+ if (!el) return;
780
+ if (document.fullscreenElement === el) {
781
+ document.exitFullscreen();
782
+ } else {
783
+ el.requestFullscreen();
784
+ }
785
+ }
786
+ </script>
787
+
788
+ <template>
789
+ <div
790
+ ref="canvasRef"
791
+ class="relative overflow-hidden rounded border border-zinc-200 bg-zinc-50 select-none"
792
+ :class="[isFullscreen ? 'h-screen' : 'h-full']"
793
+ >
794
+ <div
795
+ ref="planeRef"
796
+ class="absolute inset-0"
797
+ :class="[isPanning ? 'cursor-grabbing' : isSpaceHeld ? 'cursor-grab' : '']"
798
+ :style="bgStyle"
799
+ @mousedown="onPlaneMouseDown"
800
+ />
801
+
802
+ <div
803
+ v-if="marqueeStyle"
804
+ class="absolute z-50 pointer-events-none rounded-sm border border-(--primary) bg-(--primary)/10"
805
+ :style="marqueeStyle"
806
+ />
807
+
808
+ <div
809
+ class="absolute top-3 right-3"
810
+ @mousedown.stop
811
+ >
812
+ <Button
813
+ variant="default"
814
+ size="sm"
815
+ :title="isFullscreen ? '\u9000\u51FA\u5168\u5C4F' : '\u5168\u5C4F'"
816
+ @click="toggleFullscreen"
817
+ >
818
+ <Icon :icon="isFullscreen ? 'fluent:full-screen-minimize-20-regular' : 'fluent:full-screen-maximize-20-regular'" />
819
+ </Button>
820
+ </div>
821
+
822
+ <div
823
+ v-if="frameStyle"
824
+ class="frame-outline absolute pointer-events-none rounded-md"
825
+ :style="frameStyle"
826
+ />
827
+
828
+ <ContextMenu
829
+ v-for="entry in placementEntries"
830
+ :key="entry.itemId"
831
+ >
832
+ <ContextMenuTrigger as-child>
833
+ <div
834
+ class="field-block rounded-md"
835
+ :class="[
836
+ drag && drag.itemIds.includes(entry.itemId) ? ['shadow-sm backdrop-blur-sm z-50', dragInvalid ? 'bg-red-200/50' : 'bg-white/50'] : ['shadow-xs bg-white'],
837
+ isSelected(entry.itemId) ? 'is-selected' : ''
838
+ ]"
839
+ :style="blockStyle(entry)"
840
+ @mousedown="beginDrag('move', entry.itemId, $event)"
841
+ @click="onItemClick(entry.itemId, $event)"
842
+ @contextmenu="onItemContextMenu(entry.itemId)"
843
+ @dblclick.stop="emit('drill-down', entry.itemId)"
844
+ >
845
+ <div
846
+ class="flex h-full p-1 pointer-events-none"
847
+ :style="blockInnerStyle(entry)"
848
+ >
849
+ <div
850
+ class="flex items-center justify-center gap-1.5 rounded-sm bg-zinc-100 px-1.5 py-0.5 text-sm text-zinc-700"
851
+ :style="blockPillStyle(entry)"
852
+ >
853
+ <Icon
854
+ :icon="getItemIcon(entry.itemId)"
855
+ class="size-4 shrink-0 text-zinc-400"
856
+ />
857
+ <span class="truncate">{{ resolveItemLabel(entry.itemId) }}</span>
858
+ </div>
859
+ </div>
860
+
861
+ <button
862
+ type="button"
863
+ class="drill-button"
864
+ :title="`\u7F16\u8F91${itemNoun}`"
865
+ @mousedown.stop
866
+ @click.stop="emit('drill-down', entry.itemId)"
867
+ >
868
+ <Icon
869
+ icon="fluent:arrow-up-right-20-regular"
870
+ class="size-3.5"
871
+ />
872
+ </button>
873
+
874
+ <template v-if="selectedItemIds.length === 1 && isSelected(entry.itemId)">
875
+ <div
876
+ class="resize-handle handle-n"
877
+ @mousedown="beginDrag('resize-n', entry.itemId, $event)"
878
+ />
879
+ <div
880
+ class="resize-handle handle-e"
881
+ @mousedown="beginDrag('resize-e', entry.itemId, $event)"
882
+ />
883
+ <div
884
+ class="resize-handle handle-s"
885
+ @mousedown="beginDrag('resize-s', entry.itemId, $event)"
886
+ />
887
+ <div
888
+ class="resize-handle handle-w"
889
+ @mousedown="beginDrag('resize-w', entry.itemId, $event)"
890
+ />
891
+ <div
892
+ class="resize-handle handle-nw"
893
+ @mousedown="beginDrag('resize-nw', entry.itemId, $event)"
894
+ />
895
+ <div
896
+ class="resize-handle handle-ne"
897
+ @mousedown="beginDrag('resize-ne', entry.itemId, $event)"
898
+ />
899
+ <div
900
+ class="resize-handle handle-sw"
901
+ @mousedown="beginDrag('resize-sw', entry.itemId, $event)"
902
+ />
903
+ <div
904
+ class="resize-handle handle-se"
905
+ @mousedown="beginDrag('resize-se', entry.itemId, $event)"
906
+ />
907
+ </template>
908
+ </div>
909
+ </ContextMenuTrigger>
910
+ <ContextMenuContent
911
+ class="min-w-auto p-1.5"
912
+ :to="isFullscreen ? canvasRef : null"
913
+ >
914
+ <template v-if="selectedItemIds.length > 1 && isSelected(entry.itemId)">
915
+ <ContextMenuRadioGroup
916
+ :model-value="sharedAlignment('h') ?? ''"
917
+ class="my-1 flex items-center justify-center gap-0.5"
918
+ @update:model-value="(v) => v && setAlignmentMany(selectedItemIds, { h: v })"
919
+ >
920
+ <Tooltip>
921
+ <TooltipTrigger as-child>
922
+ <ContextMenuRadioItem
923
+ value="start"
924
+ hide-indicator
925
+ :class="alignItemClass"
926
+ @select.prevent
927
+ >
928
+ <Icon icon="fluent:align-left-20-regular" />
929
+ </ContextMenuRadioItem>
930
+ </TooltipTrigger>
931
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
932
+ 左对齐
933
+ </TooltipContent>
934
+ </Tooltip>
935
+ <Tooltip>
936
+ <TooltipTrigger as-child>
937
+ <ContextMenuRadioItem
938
+ value="center"
939
+ hide-indicator
940
+ :class="alignItemClass"
941
+ @select.prevent
942
+ >
943
+ <Icon icon="fluent:align-center-horizontal-20-regular" />
944
+ </ContextMenuRadioItem>
945
+ </TooltipTrigger>
946
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
947
+ 水平居中
948
+ </TooltipContent>
949
+ </Tooltip>
950
+ <Tooltip>
951
+ <TooltipTrigger as-child>
952
+ <ContextMenuRadioItem
953
+ value="end"
954
+ hide-indicator
955
+ :class="alignItemClass"
956
+ @select.prevent
957
+ >
958
+ <Icon icon="fluent:align-right-20-regular" />
959
+ </ContextMenuRadioItem>
960
+ </TooltipTrigger>
961
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
962
+ 右对齐
963
+ </TooltipContent>
964
+ </Tooltip>
965
+ <Tooltip>
966
+ <TooltipTrigger as-child>
967
+ <ContextMenuRadioItem
968
+ value="stretch"
969
+ hide-indicator
970
+ :class="alignItemClass"
971
+ @select.prevent
972
+ >
973
+ <Icon icon="fluent:arrow-autofit-width-20-regular" />
974
+ </ContextMenuRadioItem>
975
+ </TooltipTrigger>
976
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
977
+ 水平撑满
978
+ </TooltipContent>
979
+ </Tooltip>
980
+ </ContextMenuRadioGroup>
981
+ <ContextMenuRadioGroup
982
+ :model-value="sharedAlignment('v') ?? ''"
983
+ class="my-1 flex items-center justify-center gap-0.5"
984
+ @update:model-value="(v) => v && setAlignmentMany(selectedItemIds, { v })"
985
+ >
986
+ <Tooltip>
987
+ <TooltipTrigger as-child>
988
+ <ContextMenuRadioItem
989
+ value="start"
990
+ hide-indicator
991
+ :class="alignItemClass"
992
+ @select.prevent
993
+ >
994
+ <Icon icon="fluent:align-top-20-regular" />
995
+ </ContextMenuRadioItem>
996
+ </TooltipTrigger>
997
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
998
+ 顶部对齐
999
+ </TooltipContent>
1000
+ </Tooltip>
1001
+ <Tooltip>
1002
+ <TooltipTrigger as-child>
1003
+ <ContextMenuRadioItem
1004
+ value="center"
1005
+ hide-indicator
1006
+ :class="alignItemClass"
1007
+ @select.prevent
1008
+ >
1009
+ <Icon icon="fluent:align-center-vertical-20-regular" />
1010
+ </ContextMenuRadioItem>
1011
+ </TooltipTrigger>
1012
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1013
+ 垂直居中
1014
+ </TooltipContent>
1015
+ </Tooltip>
1016
+ <Tooltip>
1017
+ <TooltipTrigger as-child>
1018
+ <ContextMenuRadioItem
1019
+ value="end"
1020
+ hide-indicator
1021
+ :class="alignItemClass"
1022
+ @select.prevent
1023
+ >
1024
+ <Icon icon="fluent:align-bottom-20-regular" />
1025
+ </ContextMenuRadioItem>
1026
+ </TooltipTrigger>
1027
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1028
+ 底部对齐
1029
+ </TooltipContent>
1030
+ </Tooltip>
1031
+ <Tooltip>
1032
+ <TooltipTrigger as-child>
1033
+ <ContextMenuRadioItem
1034
+ value="stretch"
1035
+ hide-indicator
1036
+ :class="alignItemClass"
1037
+ @select.prevent
1038
+ >
1039
+ <Icon icon="fluent:arrow-autofit-height-20-regular" />
1040
+ </ContextMenuRadioItem>
1041
+ </TooltipTrigger>
1042
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1043
+ 垂直撑满
1044
+ </TooltipContent>
1045
+ </Tooltip>
1046
+ </ContextMenuRadioGroup>
1047
+ <ContextMenuSeparator />
1048
+ <ContextMenuItem @select="hideItems(selectedItemIds)">
1049
+ <Icon icon="fluent:eye-off-20-regular" />
1050
+ <span>从当前布局移除 ({{ selectedItemIds.length }})</span>
1051
+ </ContextMenuItem>
1052
+ <ContextMenuItem
1053
+ v-if="props.canDelete"
1054
+ class="text-red-500 focus:text-red-600 hover:text-red-600 focus:bg-red-50 hover:bg-red-50 [&_svg:not([class*='text-'])]:text-red-400"
1055
+ @select="emitDeleteMany(selectedItemIds)"
1056
+ >
1057
+ <Icon icon="fluent:delete-20-regular" />
1058
+ <span>彻底删除 ({{ selectedItemIds.length }})</span>
1059
+ </ContextMenuItem>
1060
+ </template>
1061
+ <template v-else>
1062
+ <ContextMenuRadioGroup
1063
+ :model-value="entry.placement.h ?? 'stretch'"
1064
+ class="my-1 flex items-center justify-center gap-0.5"
1065
+ @update:model-value="(v) => v && setAlignment(entry.itemId, { h: v })"
1066
+ >
1067
+ <Tooltip>
1068
+ <TooltipTrigger as-child>
1069
+ <ContextMenuRadioItem
1070
+ value="start"
1071
+ hide-indicator
1072
+ :class="alignItemClass"
1073
+ @select.prevent
1074
+ >
1075
+ <Icon icon="fluent:align-left-20-regular" />
1076
+ </ContextMenuRadioItem>
1077
+ </TooltipTrigger>
1078
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1079
+ 左对齐
1080
+ </TooltipContent>
1081
+ </Tooltip>
1082
+ <Tooltip>
1083
+ <TooltipTrigger as-child>
1084
+ <ContextMenuRadioItem
1085
+ value="center"
1086
+ hide-indicator
1087
+ :class="alignItemClass"
1088
+ @select.prevent
1089
+ >
1090
+ <Icon icon="fluent:align-center-horizontal-20-regular" />
1091
+ </ContextMenuRadioItem>
1092
+ </TooltipTrigger>
1093
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1094
+ 水平居中
1095
+ </TooltipContent>
1096
+ </Tooltip>
1097
+ <Tooltip>
1098
+ <TooltipTrigger as-child>
1099
+ <ContextMenuRadioItem
1100
+ value="end"
1101
+ hide-indicator
1102
+ :class="alignItemClass"
1103
+ @select.prevent
1104
+ >
1105
+ <Icon icon="fluent:align-right-20-regular" />
1106
+ </ContextMenuRadioItem>
1107
+ </TooltipTrigger>
1108
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1109
+ 右对齐
1110
+ </TooltipContent>
1111
+ </Tooltip>
1112
+ <Tooltip>
1113
+ <TooltipTrigger as-child>
1114
+ <ContextMenuRadioItem
1115
+ value="stretch"
1116
+ hide-indicator
1117
+ :class="alignItemClass"
1118
+ @select.prevent
1119
+ >
1120
+ <Icon icon="fluent:arrow-autofit-width-20-regular" />
1121
+ </ContextMenuRadioItem>
1122
+ </TooltipTrigger>
1123
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1124
+ 水平撑满
1125
+ </TooltipContent>
1126
+ </Tooltip>
1127
+ </ContextMenuRadioGroup>
1128
+ <ContextMenuRadioGroup
1129
+ :model-value="entry.placement.v ?? 'stretch'"
1130
+ class="my-1 flex items-center justify-center gap-0.5"
1131
+ @update:model-value="(v) => v && setAlignment(entry.itemId, { v })"
1132
+ >
1133
+ <Tooltip>
1134
+ <TooltipTrigger as-child>
1135
+ <ContextMenuRadioItem
1136
+ value="start"
1137
+ hide-indicator
1138
+ :class="alignItemClass"
1139
+ @select.prevent
1140
+ >
1141
+ <Icon icon="fluent:align-top-20-regular" />
1142
+ </ContextMenuRadioItem>
1143
+ </TooltipTrigger>
1144
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1145
+ 顶部对齐
1146
+ </TooltipContent>
1147
+ </Tooltip>
1148
+ <Tooltip>
1149
+ <TooltipTrigger as-child>
1150
+ <ContextMenuRadioItem
1151
+ value="center"
1152
+ hide-indicator
1153
+ :class="alignItemClass"
1154
+ @select.prevent
1155
+ >
1156
+ <Icon icon="fluent:align-center-vertical-20-regular" />
1157
+ </ContextMenuRadioItem>
1158
+ </TooltipTrigger>
1159
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1160
+ 垂直居中
1161
+ </TooltipContent>
1162
+ </Tooltip>
1163
+ <Tooltip>
1164
+ <TooltipTrigger as-child>
1165
+ <ContextMenuRadioItem
1166
+ value="end"
1167
+ hide-indicator
1168
+ :class="alignItemClass"
1169
+ @select.prevent
1170
+ >
1171
+ <Icon icon="fluent:align-bottom-20-regular" />
1172
+ </ContextMenuRadioItem>
1173
+ </TooltipTrigger>
1174
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1175
+ 底部对齐
1176
+ </TooltipContent>
1177
+ </Tooltip>
1178
+ <Tooltip>
1179
+ <TooltipTrigger as-child>
1180
+ <ContextMenuRadioItem
1181
+ value="stretch"
1182
+ hide-indicator
1183
+ :class="alignItemClass"
1184
+ @select.prevent
1185
+ >
1186
+ <Icon icon="fluent:arrow-autofit-height-20-regular" />
1187
+ </ContextMenuRadioItem>
1188
+ </TooltipTrigger>
1189
+ <TooltipContent :to="isFullscreen ? canvasRef : null">
1190
+ 垂直撑满
1191
+ </TooltipContent>
1192
+ </Tooltip>
1193
+ </ContextMenuRadioGroup>
1194
+ <ContextMenuSeparator />
1195
+ <ContextMenuItem @select="hideItem(entry.itemId)">
1196
+ <Icon icon="fluent:eye-off-20-regular" />
1197
+ <span>从当前布局移除</span>
1198
+ </ContextMenuItem>
1199
+ <ContextMenuItem
1200
+ v-if="props.canDelete"
1201
+ class="text-red-500 focus:text-red-600 hover:text-red-600 focus:bg-red-50 hover:bg-red-50 [&_svg:not([class*='text-'])]:text-red-400"
1202
+ @select="emit('delete-item', entry.itemId)"
1203
+ >
1204
+ <Icon icon="fluent:delete-20-regular" />
1205
+ <span>彻底删除</span>
1206
+ </ContextMenuItem>
1207
+ </template>
1208
+ </ContextMenuContent>
1209
+ </ContextMenu>
1210
+
1211
+ <template v-if="drag?.kind === 'move'">
1212
+ <div
1213
+ v-for="ind in distanceIndicators"
1214
+ :key="ind.dir"
1215
+ class="dist-indicator absolute pointer-events-none"
1216
+ :class="`dist-${ind.dir}`"
1217
+ :style="indicatorStyle(ind)"
1218
+ >
1219
+ <span class="dist-line" />
1220
+ <span class="dist-label">{{ ind.units }}</span>
1221
+ <span class="dist-line" />
1222
+ </div>
1223
+ </template>
1224
+
1225
+ <div
1226
+ v-if="activeLayout"
1227
+ class="absolute bottom-3 left-3 flex items-center gap-3 rounded-md bg-transparent px-3 py-2 font-mono text-sm opacity-50 transition-[opacity,background-color,backdrop-filter] hover:bg-white/95 hover:opacity-100 hover:backdrop-blur focus-within:bg-white/95 focus-within:opacity-100 focus-within:backdrop-blur"
1228
+ @mousedown.stop
1229
+ >
1230
+ <Field
1231
+ orientation="horizontal"
1232
+ class="items-center gap-2"
1233
+ >
1234
+ <FieldLabel class="text-sm text-zinc-500">
1235
+ 间距
1236
+ </FieldLabel>
1237
+ <div class="gap-input w-20">
1238
+ <InputGroup class="h-7">
1239
+ <InputGroupNumberField
1240
+ :model-value="activeGap"
1241
+ :min="0"
1242
+ :step="1"
1243
+ class="font-mono"
1244
+ @update:model-value="setGap"
1245
+ />
1246
+ </InputGroup>
1247
+ </div>
1248
+ </Field>
1249
+ </div>
1250
+
1251
+ <div
1252
+ v-if="activeLayout && (showPickerNewGroup || unplacedItems.length > 0)"
1253
+ class="absolute bottom-3 right-3 w-60 rounded-md bg-white/95 backdrop-blur"
1254
+ @mousedown.stop
1255
+ @click.capture="captureAddModifiers"
1256
+ @keydown.capture="captureAddModifiers"
1257
+ >
1258
+ <InputGroup>
1259
+ <InputGroupAddon align="inline-start">
1260
+ <Icon icon="fluent:add-20-regular" />
1261
+ </InputGroupAddon>
1262
+ <InputGroupCombobox
1263
+ :placeholder="`\u6DFB\u52A0${itemNoun}`"
1264
+ :to="isFullscreen ? canvasRef : null"
1265
+ >
1266
+ <CommandGroup
1267
+ v-if="unplacedItems.length > 0"
1268
+ heading="未放置"
1269
+ >
1270
+ <CommandItem
1271
+ v-for="entry in unplacedItems"
1272
+ :key="`existing:${entry.item.id}`"
1273
+ :value="`existing:${entry.item.id}`"
1274
+ @select="placeUnplacedItem(entry)"
1275
+ >
1276
+ <Icon
1277
+ :icon="entry.icon"
1278
+ class="size-4 shrink-0 text-zinc-400"
1279
+ />
1280
+ <span class="flex-1 truncate">{{ entry.label }}</span>
1281
+ <span class="ml-auto text-[10px] tabular-nums text-zinc-400">
1282
+ {{ entry.initialW }} × {{ entry.initialH }}
1283
+ </span>
1284
+ </CommandItem>
1285
+ </CommandGroup>
1286
+ <CommandGroup
1287
+ v-if="showPickerNewGroup"
1288
+ heading="组件"
1289
+ >
1290
+ <CommandItem
1291
+ v-for="entry in props.pickerEntries"
1292
+ :key="`new:${entry.type}@${entry.compatibilityDate}`"
1293
+ :value="`new:${entry.type}@${entry.compatibilityDate}`"
1294
+ @select="emitAddNew(entry)"
1295
+ >
1296
+ <Icon
1297
+ :icon="entry.icon"
1298
+ class="size-4 shrink-0"
1299
+ />
1300
+ <span class="flex-1 truncate">{{ entry.name }}</span>
1301
+ <span class="ml-auto text-[10px] tabular-nums text-zinc-400">{{ entry.compatibilityDate }}</span>
1302
+ </CommandItem>
1303
+ </CommandGroup>
1304
+ </InputGroupCombobox>
1305
+ </InputGroup>
1306
+ </div>
1307
+ </div>
1308
+ </template>
1309
+
1310
+ <style scoped>
1311
+ .field-block{border:1px solid #e4e4e7;cursor:move;position:absolute}.field-block.is-selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.frame-outline{border:1px dashed hsla(240,5%,84%,.7)}.resize-handle{background:transparent;position:absolute}.handle-n{top:-3px}.handle-n,.handle-s{cursor:ns-resize;height:6px;left:12px;right:12px}.handle-s{bottom:-3px}.handle-e{right:-3px}.handle-e,.handle-w{bottom:12px;cursor:ew-resize;top:12px;width:6px}.handle-w{left:-3px}.handle-nw{cursor:nwse-resize;left:-3px}.handle-ne,.handle-nw{height:10px;top:-3px;width:10px}.handle-ne{cursor:nesw-resize;right:-3px}.handle-sw{cursor:nesw-resize;left:-3px}.handle-se,.handle-sw{bottom:-3px;height:10px;width:10px}.handle-se{cursor:nwse-resize;right:-3px}.drill-button{align-items:center;background:transparent;border-radius:4px;color:#71717a;cursor:pointer;display:inline-flex;height:22px;justify-content:center;opacity:0;position:absolute;right:4px;top:4px;transition:opacity .12s ease,background-color .12s ease,color .12s ease;width:22px;z-index:5}.drill-button:focus-visible,.field-block:hover .drill-button{opacity:1}.drill-button:hover{background:#f4f4f5;color:var(--primary)}.gap-input :deep(input){text-align:center}.dist-indicator{align-items:center;color:#f87171;display:flex;justify-content:center;z-index:40}.dist-bottom,.dist-top{flex-direction:column}.dist-left,.dist-right{flex-direction:row}.dist-line{background:currentColor;flex:1 1 0}.dist-bottom .dist-line,.dist-top .dist-line{width:1px}.dist-left .dist-line,.dist-right .dist-line{height:1px}.dist-label{background:#fafafa;border-radius:2px;color:#f87171;font-size:10px;font-variant-numeric:tabular-nums;line-height:1;padding:1px 4px}
1312
+ </style>