@shwfed/config 3.0.7 → 3.0.9

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 (266) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/actions/ai-l1.md +24 -0
  3. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.d.ts +1 -0
  4. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.js +2 -1
  5. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/prompt.md +8 -0
  6. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +6 -0
  7. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.js +4 -0
  8. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/prompt.md +8 -0
  9. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +1 -0
  10. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.js +2 -1
  11. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/prompt.md +9 -0
  12. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.d.ts +1 -0
  13. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.js +2 -1
  14. package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/prompt.md +8 -0
  15. package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/schema.d.ts +1 -0
  16. package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/schema.js +2 -1
  17. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +1 -0
  18. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.js +2 -1
  19. package/dist/runtime/components/actions/utils/ai-button-tools.d.ts +29 -0
  20. package/dist/runtime/components/actions/utils/ai-button-tools.js +664 -0
  21. package/dist/runtime/components/actions/utils/resolve.d.ts +22 -0
  22. package/dist/runtime/components/actions/utils/resolve.js +23 -1
  23. package/dist/runtime/components/config/ai-generate.d.vue.ts +7 -0
  24. package/dist/runtime/components/config/ai-generate.system.md +40 -0
  25. package/dist/runtime/components/{table → config}/ai-generate.vue +55 -32
  26. package/dist/runtime/components/config/ai-generate.vue.d.ts +7 -0
  27. package/dist/runtime/components/config/ai-page-slot.l1.md +25 -0
  28. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +6 -0
  29. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.js +4 -0
  30. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +6 -0
  31. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.js +4 -0
  32. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +1 -0
  33. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.js +1 -0
  34. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +58 -58
  35. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +58 -58
  36. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +58 -58
  37. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +58 -58
  38. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +35 -29
  39. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.js +4 -0
  40. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +7 -0
  41. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.js +4 -0
  42. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.d.ts +1 -0
  43. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.js +1 -0
  44. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.d.ts +1 -0
  45. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.js +1 -0
  46. package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.d.ts +6 -0
  47. package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.js +4 -0
  48. package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.icon/schema.d.ts +1 -0
  49. package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.icon/schema.js +1 -0
  50. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.d.vue.ts +18 -18
  51. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.vue.d.ts +18 -18
  52. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.d.vue.ts +18 -18
  53. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue.d.ts +18 -18
  54. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.d.ts +6 -0
  55. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.js +4 -0
  56. package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/schema.d.ts +7 -0
  57. package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/schema.js +4 -0
  58. package/dist/runtime/components/config/config.vue +24 -3
  59. package/dist/runtime/components/config/use-editor.d.ts +1 -0
  60. package/dist/runtime/components/config/use-editor.js +18 -0
  61. package/dist/runtime/components/config/utils/ai-cursor.d.ts +21 -0
  62. package/dist/runtime/components/config/utils/ai-cursor.js +833 -0
  63. package/dist/runtime/components/config/utils/ai-host-manuals.d.ts +2 -0
  64. package/dist/runtime/components/config/utils/ai-host-manuals.js +19 -0
  65. package/dist/runtime/components/config/utils/linkage.d.ts +15 -6
  66. package/dist/runtime/components/config/utils/linkage.js +23 -7
  67. package/dist/runtime/components/config/utils/resolve.d.ts +19 -0
  68. package/dist/runtime/components/config/utils/resolve.js +25 -2
  69. package/dist/runtime/components/form/ai-l1.md +22 -0
  70. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +1 -0
  71. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.js +1 -0
  72. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +1 -0
  73. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +1 -0
  74. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +1 -0
  75. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +1 -0
  76. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +7 -0
  77. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.js +4 -0
  78. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +1 -0
  79. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +1 -0
  80. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +6 -6
  81. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +6 -6
  82. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +1 -0
  83. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +1 -0
  84. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +1 -0
  85. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +1 -0
  86. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +8 -8
  87. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +8 -8
  88. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +1 -0
  89. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +1 -0
  90. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +1 -0
  91. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.js +1 -0
  92. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
  93. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
  94. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +1 -0
  95. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js +1 -0
  96. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +1 -0
  97. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +1 -0
  98. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +1 -0
  99. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js +1 -0
  100. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +1 -0
  101. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +1 -0
  102. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +1 -0
  103. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +1 -0
  104. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/prompt.md +8 -0
  105. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +7 -0
  106. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +4 -0
  107. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +1 -0
  108. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.js +1 -0
  109. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +1 -0
  110. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.js +1 -0
  111. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/prompt.md +12 -0
  112. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +6 -0
  113. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.js +4 -0
  114. package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.d.ts +6 -0
  115. package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.js +4 -0
  116. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
  117. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
  118. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +1 -0
  119. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js +1 -0
  120. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +6 -6
  121. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +6 -6
  122. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +1 -0
  123. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.js +1 -0
  124. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
  125. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
  126. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
  127. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
  128. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
  129. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
  130. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/prompt.md +7 -0
  131. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +1 -0
  132. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.js +1 -0
  133. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
  134. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
  135. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/prompt.md +7 -0
  136. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +1 -0
  137. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.js +1 -0
  138. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
  139. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
  140. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/prompt.md +9 -0
  141. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +1 -0
  142. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js +1 -0
  143. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +8 -8
  144. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +8 -8
  145. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/prompt.md +11 -0
  146. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +1 -0
  147. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js +1 -0
  148. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/prompt.md +12 -0
  149. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +1 -0
  150. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.js +1 -0
  151. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/prompt.md +14 -0
  152. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +1 -0
  153. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.js +1 -0
  154. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/prompt.md +19 -0
  155. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +1 -0
  156. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.js +1 -0
  157. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.d.ts +7 -0
  158. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.js +4 -0
  159. package/dist/runtime/components/form/fields/2026-07-13/com.shwfed.form.field.dynamic/prompt.md +14 -0
  160. package/dist/runtime/components/form/fields/2026-07-13/com.shwfed.form.field.dynamic/schema.d.ts +1 -0
  161. package/dist/runtime/components/form/fields/2026-07-13/com.shwfed.form.field.dynamic/schema.js +1 -0
  162. package/dist/runtime/components/form/utils/ai-field-tools.d.ts +2 -2
  163. package/dist/runtime/components/form/utils/ai-field-tools.js +47 -30
  164. package/dist/runtime/components/form/utils/resolve.d.ts +11 -0
  165. package/dist/runtime/components/form/utils/resolve.js +13 -1
  166. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.d.ts +1 -0
  167. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.js +2 -1
  168. package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.d.ts +1 -0
  169. package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.js +1 -0
  170. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts +1 -0
  171. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.js +2 -1
  172. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.d.ts +1 -0
  173. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.js +2 -1
  174. package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/schema.d.ts +1 -0
  175. package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/schema.js +2 -1
  176. package/dist/runtime/components/operations/utils/resolve.d.ts +17 -0
  177. package/dist/runtime/components/operations/utils/resolve.js +18 -1
  178. package/dist/runtime/components/table/ai-l1.md +38 -0
  179. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +7 -0
  180. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.js +5 -1
  181. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +1 -0
  182. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js +2 -1
  183. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +1 -0
  184. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js +2 -1
  185. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +1 -0
  186. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.js +2 -1
  187. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +1 -0
  188. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js +2 -1
  189. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.d.ts +1 -0
  190. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.js +2 -1
  191. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +1 -0
  192. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js +2 -1
  193. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +1 -0
  194. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.js +2 -1
  195. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +1 -0
  196. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.js +2 -1
  197. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +1 -0
  198. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.js +2 -1
  199. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +1 -0
  200. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.js +2 -1
  201. package/dist/runtime/components/table/columns/2026-05-21/com.shwfed.table.column.drag-handle/schema.d.ts +1 -0
  202. package/dist/runtime/components/table/columns/2026-05-21/com.shwfed.table.column.drag-handle/schema.js +2 -1
  203. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  204. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  205. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  206. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  207. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  208. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  209. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  210. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  211. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/prompt.md +12 -0
  212. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
  213. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.js +1 -0
  214. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/prompt.md +16 -0
  215. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
  216. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.js +1 -0
  217. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  218. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  219. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
  220. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.js +1 -0
  221. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  222. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  223. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
  224. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.js +1 -0
  225. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +1 -0
  226. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +2 -1
  227. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +1 -0
  228. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +2 -1
  229. package/dist/runtime/components/table/columns/2026-07-12/com.shwfed.table.column.dynamic/prompt.md +15 -0
  230. package/dist/runtime/components/table/config.d.vue.ts +3 -3
  231. package/dist/runtime/components/table/config.vue +1 -33
  232. package/dist/runtime/components/table/config.vue.d.ts +3 -3
  233. package/dist/runtime/components/table/row-provider.vue +7 -1
  234. package/dist/runtime/components/table/schema.d.ts +58 -58
  235. package/dist/runtime/components/table/utils/ai-tools.js +16 -7
  236. package/dist/runtime/components/table/utils/resolve.d.ts +5 -0
  237. package/dist/runtime/components/table/utils/resolve.js +12 -1
  238. package/dist/runtime/components/tabs/index.vue +10 -2
  239. package/dist/runtime/components/ui/chat/ChatMessages.vue +30 -6
  240. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  241. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  242. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  243. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  244. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  245. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  246. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  247. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  248. package/dist/runtime/share/define-registry.d.ts +66 -0
  249. package/dist/runtime/share/define-registry.js +37 -1
  250. package/dist/runtime/share/use-persisted-chat.d.ts +11 -9
  251. package/dist/runtime/share/use-persisted-chat.js +3 -3
  252. package/dist/runtime/utils/ai/index.d.ts +1 -1
  253. package/dist/runtime/utils/ai/index.js +18 -11
  254. package/dist/runtime/utils/cel-catalog.d.ts +1 -0
  255. package/dist/runtime/utils/cel-catalog.js +10 -0
  256. package/dist/runtime/utils/cel-catalog.md +42 -0
  257. package/dist/runtime/utils/cel-context.d.ts +15 -0
  258. package/dist/runtime/utils/cel-context.js +8 -0
  259. package/dist/runtime/utils/disabled-date.d.ts +8 -2
  260. package/dist/runtime/utils/disabled-date.js +2 -1
  261. package/package.json +1 -1
  262. package/dist/runtime/components/table/ai-generate.d.vue.ts +0 -16
  263. package/dist/runtime/components/table/ai-generate.system.md +0 -101
  264. package/dist/runtime/components/table/ai-generate.vue.d.ts +0 -16
  265. /package/dist/runtime/components/{table → config}/ai-generate.system.d.ts +0 -0
  266. /package/dist/runtime/components/{table → config}/ai-generate.system.js +0 -0
@@ -0,0 +1,2 @@
1
+ /** The L1 manual for a host kind (`table` / `form` / `page-slot`), or undefined. */
2
+ export declare function getHostManual(kind: string): string | undefined;
@@ -0,0 +1,19 @@
1
+ import rawTable from "../../table/ai-l1.md?raw";
2
+ import rawForm from "../../form/ai-l1.md?raw";
3
+ import rawActions from "../../actions/ai-l1.md?raw";
4
+ import rawPageSlot from "../ai-page-slot.l1.md?raw";
5
+ const manuals = {
6
+ "table": rawTable,
7
+ "form": rawForm,
8
+ "actions": rawActions,
9
+ "page-slot": rawPageSlot
10
+ };
11
+ if (import.meta.hot) {
12
+ import.meta.hot.accept("../../table/ai-l1.md?raw", (m) => void (typeof m?.default === "string" && (manuals.table = m.default)));
13
+ import.meta.hot.accept("../../form/ai-l1.md?raw", (m) => void (typeof m?.default === "string" && (manuals.form = m.default)));
14
+ import.meta.hot.accept("../../actions/ai-l1.md?raw", (m) => void (typeof m?.default === "string" && (manuals.actions = m.default)));
15
+ import.meta.hot.accept("../ai-page-slot.l1.md?raw", (m) => void (typeof m?.default === "string" && (manuals["page-slot"] = m.default)));
16
+ }
17
+ export function getHostManual(kind) {
18
+ return manuals[kind];
19
+ }
@@ -1,7 +1,14 @@
1
1
  export type LinkageKind = 'operation' | 'step' | 'scope';
2
+ /**
3
+ * Why the linkage is bad. `missing` — the uuid is defined nowhere in the tree.
4
+ * `unreachable` — it is defined, but not on the reference's own chain of
5
+ * enclosing nodes (operation targets only; see the header).
6
+ */
7
+ export type LinkageFault = 'missing' | 'unreachable';
2
8
  export type DanglingLinkage = Readonly<{
3
9
  kind: LinkageKind;
4
- /** The referenced uuid that is not defined anywhere in the tree. */
10
+ fault: LinkageFault;
11
+ /** The referenced uuid. */
5
12
  id: string;
6
13
  /**
7
14
  * Property path from the config root to the offending reference
@@ -19,11 +26,13 @@ export type DanglingLinkage = Readonly<{
19
26
  */
20
27
  export declare function definedIds(node: unknown): Set<string>;
21
28
  /**
22
- * Find every linkage in `config` whose target uuid is not defined anywhere in
23
- * the tree. `PAGE_TARGET_ID` (the singleton page target sentinel) is always
24
- * valid — it names the outermost page, which carries no stored id. Each result
25
- * carries the property path from the config root to the offending reference, so
26
- * the caller can render a field-level breadcrumb (see `describePath`).
29
+ * Find every linkage in `config` that a save must refuse: one whose uuid is
30
+ * defined nowhere (`missing`), or an operation target that is defined but not on
31
+ * the trigger's own chain of enclosing nodes (`unreachable`). `PAGE_TARGET_ID`
32
+ * (the singleton page target sentinel) is always valid it names the outermost
33
+ * page, which carries no stored id and encloses everything. Each result carries
34
+ * the property path from the config root to the offending reference, so the
35
+ * caller can render a field-level breadcrumb (see `describePath`).
27
36
  */
28
37
  export declare function findDanglingLinkages(config: unknown): DanglingLinkage[];
29
38
  export declare const LINKAGE_KIND_LABEL: Record<LinkageKind, string>;
@@ -22,9 +22,9 @@ export function definedIds(node) {
22
22
  collectDefinedIds(node, out);
23
23
  return out;
24
24
  }
25
- function collectRefs(node, path, into) {
25
+ function collectRefs(node, path, enclosing, into) {
26
26
  if (Array.isArray(node)) {
27
- node.forEach((v, i) => collectRefs(v, [...path, i], into));
27
+ node.forEach((v, i) => collectRefs(v, [...path, i], enclosing, into));
28
28
  return;
29
29
  }
30
30
  if (!isObject(node)) {
@@ -35,22 +35,38 @@ function collectRefs(node, path, into) {
35
35
  return;
36
36
  }
37
37
  if (typeof node.target === "string" && typeof node.operation === "string" && UUID_RE.test(node.target)) {
38
- into.push({ kind: "operation", id: node.target, path: [...path, "target"] });
38
+ into.push({ kind: "operation", id: node.target, path: [...path, "target"], enclosing });
39
39
  }
40
- for (const [k, v] of Object.entries(node)) collectRefs(v, [...path, k], into);
40
+ const inner = typeof node.id === "string" && UUID_RE.test(node.id) ? [...enclosing, node.id] : enclosing;
41
+ for (const [k, v] of Object.entries(node)) collectRefs(v, [...path, k], inner, into);
41
42
  }
42
43
  export function findDanglingLinkages(config) {
43
44
  const defined = /* @__PURE__ */ new Set();
44
45
  collectDefinedIds(config, defined);
45
46
  const refs = [];
46
- collectRefs(config, [], refs);
47
- return refs.filter((r) => r.id !== PAGE_TARGET_ID && !defined.has(r.id));
47
+ collectRefs(config, [], [], refs);
48
+ const out = [];
49
+ for (const ref of refs) {
50
+ if (ref.id === PAGE_TARGET_ID) continue;
51
+ if (!defined.has(ref.id)) {
52
+ out.push({ kind: ref.kind, fault: "missing", id: ref.id, path: ref.path });
53
+ continue;
54
+ }
55
+ if (ref.enclosing && !ref.enclosing.includes(ref.id)) {
56
+ out.push({ kind: ref.kind, fault: "unreachable", id: ref.id, path: ref.path });
57
+ }
58
+ }
59
+ return out;
48
60
  }
49
61
  export const LINKAGE_KIND_LABEL = {
50
62
  operation: "\u89E6\u53D1\u64CD\u4F5C",
51
63
  step: "\u6B65\u9AA4\u5F15\u7528",
52
64
  scope: "\u8DE8\u5C42\u4F5C\u7528\u57DF\u5F15\u7528"
53
65
  };
66
+ const LINKAGE_FAULT_TEXT = {
67
+ missing: "\u5F15\u7528\u4E86\u5DF2\u5931\u6548\u7684\u8D44\u6E90\uFF08\u6765\u6E90\u4E0D\u5B58\u5728\u4E8E\u5F53\u524D\u914D\u7F6E\u4E2D\uFF09",
68
+ unreachable: "\u6307\u5411\u4E86\u5F53\u524D\u4F4D\u7F6E\u65E0\u6CD5\u8BBF\u95EE\u7684\u76EE\u6807\uFF08\u8BE5\u76EE\u6807\u5B58\u5728\uFF0C\u4F46\u4E0D\u662F\u5B83\u7684\u4E0A\u5C42\u7EC4\u4EF6\uFF0C\u901A\u5E38\u662F\u590D\u5236\u540E\u672A\u91CD\u65B0\u6307\u5411\uFF09"
69
+ };
54
70
  export function formatDanglingLinkages(dangling, rootData, blockLabelAt) {
55
71
  const first = dangling[0];
56
72
  if (!first) return "";
@@ -58,5 +74,5 @@ export function formatDanglingLinkages(dangling, rootData, blockLabelAt) {
58
74
  const segs = describePath(first.path, rootData, blockLabelAt);
59
75
  const where = segs.length > 0 ? `\u300C${segs.join(" \u203A ")}\u300D\u7684${kind}` : kind;
60
76
  const suffix = dangling.length > 1 ? `\uFF08\u8FD8\u6709 ${dangling.length - 1} \u4E2A\uFF09` : "";
61
- return `${where}\u5F15\u7528\u4E86\u5DF2\u5931\u6548\u7684\u8D44\u6E90\uFF08\u6765\u6E90\u4E0D\u5B58\u5728\u4E8E\u5F53\u524D\u914D\u7F6E\u4E2D\uFF09\uFF0C\u8BF7\u4FEE\u6B63\u540E\u518D\u4FDD\u5B58${suffix}`;
77
+ return `${where}${LINKAGE_FAULT_TEXT[first.fault]}\uFF0C\u8BF7\u4FEE\u6B63\u540E\u518D\u4FDD\u5B58${suffix}`;
62
78
  }
@@ -1,6 +1,7 @@
1
1
  import type { Component } from 'vue';
2
2
  import { Schema } from 'effect';
3
3
  import type { Environment } from '../../../vendor/cel-js/lib/index.js';
4
+ import { type RegistryEdge } from '../../../share/define-registry.js';
4
5
  type AnySchema = Schema.Schema<any, any, never>;
5
6
  /**
6
7
  * Container blocks (e.g. tabs) receive a recursive `blockRef` second arg so
@@ -32,6 +33,12 @@ export type BlockSizeRange = Readonly<{
32
33
  export type BlockMetadata = Readonly<{
33
34
  name: string;
34
35
  icon: string;
36
+ /**
37
+ * 一句话说明该块的适用场景;AI 在 `list_available_block_types` 工具里看到。
38
+ * **可选** —— 缺失时工具返回里省略该字段(人类 picker / 旧调用点不受影响)。
39
+ * 镜像 `ColumnMetadata.description`,把非列宿主的「一句话何时用我」补齐。
40
+ */
41
+ description?: string;
35
42
  w: BlockSizeRange;
36
43
  h: BlockSizeRange;
37
44
  /**
@@ -65,6 +72,10 @@ export type BlockEntry = Readonly<{
65
72
  defaultBody: () => Record<string, unknown>;
66
73
  config: Component;
67
74
  runtime: Component;
75
+ /** Recursion edges the AI scope cursor walks (empty for leaf blocks). */
76
+ edges: ReadonlyArray<RegistryEdge>;
77
+ /** The block's `prompt.md` (L2 fragment) raw text, when authored. */
78
+ prompt?: string;
68
79
  }>;
69
80
  export declare const BLOCKS: ReadonlyArray<BlockEntry>;
70
81
  /**
@@ -74,4 +85,12 @@ export declare const BLOCKS: ReadonlyArray<BlockEntry>;
74
85
  export declare function blockRef(configure: (env: Environment) => void): AnySchema;
75
86
  export declare function allBlockSchemas(configure: (env: Environment) => void): ReadonlyArray<AnySchema>;
76
87
  export declare function findBlock(type: string, compatibilityDate: string): BlockEntry | undefined;
88
+ export declare function latestBlockByType(): ReadonlyArray<BlockEntry>;
89
+ /**
90
+ * AI 工具可见的块集合:按 `type` 取最新 `compatibilityDate`。镜像
91
+ * `activeColumns()` / `activeFields()`;块目前没有 deprecation 机制(无
92
+ * `migrateFrom` / 废弃标记),所以「最新版本」即活跃集,无第二层过滤。人类
93
+ * picker 走 `BLOCKS`(`pickerEntries` 已自行 dedupe)。
94
+ */
95
+ export declare function activeBlocks(): ReadonlyArray<BlockEntry>;
77
96
  export {};
@@ -13,12 +13,22 @@ const runtimeModules = import.meta.glob(
13
13
  "../blocks/*/*/runtime.vue",
14
14
  { eager: true, import: "default", exhaustive: true }
15
15
  );
16
+ const promptModules = import.meta.glob(
17
+ "../blocks/*/*/prompt.md",
18
+ { eager: true, query: "?raw", import: "default", exhaustive: true }
19
+ );
16
20
  const registry = defineRegistry({
17
21
  hostName: "shwfed-config",
18
22
  dirSegment: "blocks",
19
23
  schemaModules,
20
24
  configModules,
21
- runtimeModules
25
+ runtimeModules,
26
+ promptModules,
27
+ // Build each edge-declaring block's schema with inert args (no-op configure,
28
+ // a stand-in `blockRef`) purely to verify each declared edge `key` is a real
29
+ // top-level field. Only invoked for blocks that declare `edges`.
30
+ buildSchemaForEdges: (mod) => mod.schema(() => {
31
+ }, Schema.Unknown)
22
32
  });
23
33
  export const BLOCKS = registry.ENTRIES.map((e) => ({
24
34
  type: e.type,
@@ -27,7 +37,9 @@ export const BLOCKS = registry.ENTRIES.map((e) => ({
27
37
  schema: e.module.schema,
28
38
  defaultBody: e.module.defaultBody,
29
39
  config: e.config,
30
- runtime: e.runtime
40
+ runtime: e.runtime,
41
+ edges: e.module.edges ?? [],
42
+ ...e.prompt !== void 0 ? { prompt: e.prompt } : {}
31
43
  }));
32
44
  const unionCache = /* @__PURE__ */ new WeakMap();
33
45
  function getOrBuildUnion(configure) {
@@ -61,4 +73,15 @@ export function allBlockSchemas(configure) {
61
73
  export function findBlock(type, compatibilityDate) {
62
74
  return BLOCKS.find((b) => b.type === type && b.compatibilityDate === compatibilityDate);
63
75
  }
76
+ export function latestBlockByType() {
77
+ const byType = /* @__PURE__ */ new Map();
78
+ for (const b of BLOCKS) {
79
+ const prev = byType.get(b.type);
80
+ if (!prev || b.compatibilityDate > prev.compatibilityDate) byType.set(b.type, b);
81
+ }
82
+ return [...byType.values()];
83
+ }
84
+ export function activeBlocks() {
85
+ return latestBlockByType();
86
+ }
64
87
  registerFindBlock(findBlock);
@@ -0,0 +1,22 @@
1
+ 你正在配置一个「表单块」内嵌的 Form。表单 = 一组字段 + 网格布局。发现式推进:`list_available_field_types` → `describe_specific_field_type` 看清字段类型与契约,再增改;配完 `leave_node` 返回页面。
2
+
3
+ ## 字段
4
+
5
+ - 用 `list_available_field_types`(一句话目录)→ `describe_specific_field_type`(完整字段契约 + 默认值 + 默认尺寸 `w`/`h` + 可能的 `guide`)选型。
6
+ - `insert_field` 新增(**不要**传 `id` / `compatibilityDate`,harness 分配)。字段创建后处于「未放置」态,不会渲染,直到 `place_field` 放入布局。
7
+ - `list_fields` 查看现有字段与放置,`delete_fields` 删除。
8
+
9
+ ## 绑定与取值
10
+
11
+ - 多数字段有 `binding`:字段值写入表单数据的键;同一表单里 `binding` 应唯一。
12
+ - 字段间引用用 CEL 变量 `form`(如 `form.startDate`)——先 `describe_form_settings` 查看该表单可用的 CEL 变量表与函数目录,再书写。
13
+ - 需要根据其它字段动态显示 / 计算时,用字段自带的可见性 / 默认值 / 派生表达式(见 `describe_specific_field_type` 的字段契约)。
14
+
15
+ ## 布局
16
+
17
+ - `place_field` 用 `w.initial` / `h.initial`(来自 describe)作为放置尺寸的宽高;`min`/`max` 界定可调范围。
18
+ - `area` 为 `[[x1,y1],[x2,y2]]`(1 基网格线,右下不含)。放置不要重叠,harness 会拒绝重叠并让你重试;列数会自动生长以容纳放置。
19
+
20
+ ## 校验
21
+
22
+ 字段可带校验规则(必填、格式、范围等),随字段契约暴露。按业务需要设置必填与格式约束;不确定的规则**向用户确认**,不要臆造。
@@ -5,6 +5,7 @@ export declare const compatibilityDate: "2026-04-22";
5
5
  export declare const metadata: {
6
6
  readonly name: "Markdown";
7
7
  readonly icon: "fluent:markdown-20-regular";
8
+ readonly description: "展示一段本地化 Markdown 文本(仅展示,不收集输入)";
8
9
  readonly w: {
9
10
  readonly initial: 8;
10
11
  readonly min: 2;
@@ -6,6 +6,7 @@ export const compatibilityDate = "2026-04-22";
6
6
  export const metadata = {
7
7
  name: "Markdown",
8
8
  icon: "fluent:markdown-20-regular",
9
+ description: "\u5C55\u793A\u4E00\u6BB5\u672C\u5730\u5316 Markdown \u6587\u672C\uFF08\u4EC5\u5C55\u793A\uFF0C\u4E0D\u6536\u96C6\u8F93\u5165\uFF09",
9
10
  w: { initial: 8, min: 2, max: Infinity },
10
11
  h: { initial: 2, min: 2, max: Infinity, grow: true }
11
12
  };
@@ -5,6 +5,7 @@ export declare const compatibilityDate: "2026-04-22";
5
5
  export declare const metadata: {
6
6
  readonly name: "文本输入";
7
7
  readonly icon: "fluent:text-field-20-regular";
8
+ readonly description: "单行文本输入";
8
9
  readonly w: {
9
10
  readonly initial: 8;
10
11
  readonly min: 4;
@@ -19,6 +19,7 @@ export const compatibilityDate = "2026-04-22";
19
19
  export const metadata = {
20
20
  name: "\u6587\u672C\u8F93\u5165",
21
21
  icon: "fluent:text-field-20-regular",
22
+ description: "\u5355\u884C\u6587\u672C\u8F93\u5165",
22
23
  w: { initial: 8, min: 4, max: Infinity },
23
24
  h: { initial: 2, min: 2, max: 2 }
24
25
  };
@@ -5,6 +5,7 @@ export declare const compatibilityDate: "2026-04-22";
5
5
  export declare const metadata: {
6
6
  readonly name: "多行文本输入";
7
7
  readonly icon: "fluent:text-description-20-regular";
8
+ readonly description: "多行文本输入";
8
9
  readonly w: {
9
10
  readonly initial: 8;
10
11
  readonly min: 4;
@@ -7,6 +7,7 @@ export const compatibilityDate = "2026-04-22";
7
7
  export const metadata = {
8
8
  name: "\u591A\u884C\u6587\u672C\u8F93\u5165",
9
9
  icon: "fluent:text-description-20-regular",
10
+ description: "\u591A\u884C\u6587\u672C\u8F93\u5165",
10
11
  w: { initial: 8, min: 4, max: Infinity },
11
12
  h: { initial: 3, min: 2, max: Infinity, grow: true }
12
13
  };
@@ -2,9 +2,16 @@ import { Schema } from 'effect';
2
2
  import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
3
3
  export declare const type: "com.shwfed.form.field.actions";
4
4
  export declare const compatibilityDate: "2026-04-24";
5
+ export declare const edges: readonly [{
6
+ readonly key: "items";
7
+ readonly host: "actions";
8
+ readonly label: "操作按钮";
9
+ readonly self: true;
10
+ }];
5
11
  export declare const metadata: {
6
12
  readonly name: "操作";
7
13
  readonly icon: "fluent:cursor-click-20-regular";
14
+ readonly description: "渲染一组操作按钮(仅展示,不参与表单提交)";
8
15
  readonly w: {
9
16
  readonly initial: 8;
10
17
  readonly min: 4;
@@ -3,9 +3,13 @@ import { ActionSchemaFields } from "../../../../actions/schema.js";
3
3
  import { commonFieldFields } from "../../../utils/common.js";
4
4
  export const type = "com.shwfed.form.field.actions";
5
5
  export const compatibilityDate = "2026-04-24";
6
+ export const edges = [
7
+ { key: "items", host: "actions", label: "\u64CD\u4F5C\u6309\u94AE", self: true }
8
+ ];
6
9
  export const metadata = {
7
10
  name: "\u64CD\u4F5C",
8
11
  icon: "fluent:cursor-click-20-regular",
12
+ description: "\u6E32\u67D3\u4E00\u7EC4\u64CD\u4F5C\u6309\u94AE\uFF08\u4EC5\u5C55\u793A\uFF0C\u4E0D\u53C2\u4E0E\u8868\u5355\u63D0\u4EA4\uFF09",
9
13
  w: { initial: 8, min: 4, max: Infinity },
10
14
  h: { initial: 2, min: 2, max: Infinity },
11
15
  // Drills into its own nested button layout editor — too complex for the
@@ -5,6 +5,7 @@ export declare const compatibilityDate: "2026-04-27";
5
5
  export declare const metadata: {
6
6
  readonly name: "日期";
7
7
  readonly icon: "fluent:calendar-ltr-20-regular";
8
+ readonly description: "选择一个日期";
8
9
  readonly w: {
9
10
  readonly initial: 8;
10
11
  readonly min: 4;
@@ -8,6 +8,7 @@ export const compatibilityDate = "2026-04-27";
8
8
  export const metadata = {
9
9
  name: "\u65E5\u671F",
10
10
  icon: "fluent:calendar-ltr-20-regular",
11
+ description: "\u9009\u62E9\u4E00\u4E2A\u65E5\u671F",
11
12
  w: { initial: 8, min: 4, max: Infinity },
12
13
  h: { initial: 2, min: 2, max: 2 }
13
14
  };
@@ -33,10 +33,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
33
  readonly expression: string;
34
34
  } | undefined;
35
35
  readonly numberOfMonths?: number | undefined;
36
- readonly format?: string | undefined;
37
- readonly valueFormat?: string | undefined;
38
- readonly disabledDate?: string | undefined;
39
36
  readonly rangeSeparatorIcon?: string | undefined;
37
+ readonly format?: string | undefined;
40
38
  readonly startPlaceholder?: readonly [{
41
39
  readonly locale: "zh";
42
40
  readonly message: string;
@@ -51,6 +49,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
49
  readonly locale: "en" | "ja" | "ko";
52
50
  readonly message: string;
53
51
  }[]] | undefined;
52
+ readonly valueFormat?: string | undefined;
53
+ readonly disabledDate?: string | undefined;
54
54
  readonly validations?: readonly {
55
55
  readonly message: readonly [{
56
56
  readonly locale: "zh";
@@ -106,10 +106,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly expression: string;
107
107
  } | undefined;
108
108
  readonly numberOfMonths?: number | undefined;
109
- readonly format?: string | undefined;
110
- readonly valueFormat?: string | undefined;
111
- readonly disabledDate?: string | undefined;
112
109
  readonly rangeSeparatorIcon?: string | undefined;
110
+ readonly format?: string | undefined;
113
111
  readonly startPlaceholder?: readonly [{
114
112
  readonly locale: "zh";
115
113
  readonly message: string;
@@ -124,6 +122,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
124
122
  readonly locale: "en" | "ja" | "ko";
125
123
  readonly message: string;
126
124
  }[]] | undefined;
125
+ readonly valueFormat?: string | undefined;
126
+ readonly disabledDate?: string | undefined;
127
127
  readonly validations?: readonly {
128
128
  readonly message: readonly [{
129
129
  readonly locale: "zh";
@@ -33,10 +33,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
33
  readonly expression: string;
34
34
  } | undefined;
35
35
  readonly numberOfMonths?: number | undefined;
36
- readonly format?: string | undefined;
37
- readonly valueFormat?: string | undefined;
38
- readonly disabledDate?: string | undefined;
39
36
  readonly rangeSeparatorIcon?: string | undefined;
37
+ readonly format?: string | undefined;
40
38
  readonly startPlaceholder?: readonly [{
41
39
  readonly locale: "zh";
42
40
  readonly message: string;
@@ -51,6 +49,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
49
  readonly locale: "en" | "ja" | "ko";
52
50
  readonly message: string;
53
51
  }[]] | undefined;
52
+ readonly valueFormat?: string | undefined;
53
+ readonly disabledDate?: string | undefined;
54
54
  readonly validations?: readonly {
55
55
  readonly message: readonly [{
56
56
  readonly locale: "zh";
@@ -106,10 +106,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly expression: string;
107
107
  } | undefined;
108
108
  readonly numberOfMonths?: number | undefined;
109
- readonly format?: string | undefined;
110
- readonly valueFormat?: string | undefined;
111
- readonly disabledDate?: string | undefined;
112
109
  readonly rangeSeparatorIcon?: string | undefined;
110
+ readonly format?: string | undefined;
113
111
  readonly startPlaceholder?: readonly [{
114
112
  readonly locale: "zh";
115
113
  readonly message: string;
@@ -124,6 +122,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
124
122
  readonly locale: "en" | "ja" | "ko";
125
123
  readonly message: string;
126
124
  }[]] | undefined;
125
+ readonly valueFormat?: string | undefined;
126
+ readonly disabledDate?: string | undefined;
127
127
  readonly validations?: readonly {
128
128
  readonly message: readonly [{
129
129
  readonly locale: "zh";
@@ -5,6 +5,7 @@ export declare const compatibilityDate: "2026-04-27";
5
5
  export declare const metadata: {
6
6
  readonly name: "日期范围";
7
7
  readonly icon: "fluent:calendar-arrow-right-20-regular";
8
+ readonly description: "选择一个日期区间";
8
9
  readonly w: {
9
10
  readonly initial: 10;
10
11
  readonly min: 10;
@@ -18,6 +18,7 @@ const bindingSchema = Schema.Union(BindingPath, SplitBinding).annotations({
18
18
  export const metadata = {
19
19
  name: "\u65E5\u671F\u8303\u56F4",
20
20
  icon: "fluent:calendar-arrow-right-20-regular",
21
+ description: "\u9009\u62E9\u4E00\u4E2A\u65E5\u671F\u533A\u95F4",
21
22
  w: { initial: 10, min: 10, max: Infinity },
22
23
  h: { initial: 2, min: 2, max: 2 }
23
24
  };
@@ -5,6 +5,7 @@ export declare const compatibilityDate: "2026-04-27";
5
5
  export declare const metadata: {
6
6
  readonly name: "日期时间";
7
7
  readonly icon: "fluent:calendar-clock-20-regular";
8
+ readonly description: "选择一个日期时间";
8
9
  readonly w: {
9
10
  readonly initial: 8;
10
11
  readonly min: 4;
@@ -8,6 +8,7 @@ export const compatibilityDate = "2026-04-27";
8
8
  export const metadata = {
9
9
  name: "\u65E5\u671F\u65F6\u95F4",
10
10
  icon: "fluent:calendar-clock-20-regular",
11
+ description: "\u9009\u62E9\u4E00\u4E2A\u65E5\u671F\u65F6\u95F4",
11
12
  w: { initial: 8, min: 4, max: Infinity },
12
13
  h: { initial: 2, min: 2, max: 2 }
13
14
  };
@@ -34,11 +34,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  } | undefined;
35
35
  readonly numberOfMonths?: number | undefined;
36
36
  readonly hourCycle?: 12 | 24 | undefined;
37
- readonly format?: string | undefined;
38
- readonly valueFormat?: string | undefined;
39
- readonly disabledDate?: string | undefined;
40
- readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
41
37
  readonly rangeSeparatorIcon?: string | undefined;
38
+ readonly format?: string | undefined;
42
39
  readonly startPlaceholder?: readonly [{
43
40
  readonly locale: "zh";
44
41
  readonly message: string;
@@ -53,6 +50,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
50
  readonly locale: "en" | "ja" | "ko";
54
51
  readonly message: string;
55
52
  }[]] | undefined;
53
+ readonly valueFormat?: string | undefined;
54
+ readonly disabledDate?: string | undefined;
55
+ readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
56
56
  readonly validations?: readonly {
57
57
  readonly message: readonly [{
58
58
  readonly locale: "zh";
@@ -109,11 +109,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
109
109
  } | undefined;
110
110
  readonly numberOfMonths?: number | undefined;
111
111
  readonly hourCycle?: 12 | 24 | undefined;
112
- readonly format?: string | undefined;
113
- readonly valueFormat?: string | undefined;
114
- readonly disabledDate?: string | undefined;
115
- readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
116
112
  readonly rangeSeparatorIcon?: string | undefined;
113
+ readonly format?: string | undefined;
117
114
  readonly startPlaceholder?: readonly [{
118
115
  readonly locale: "zh";
119
116
  readonly message: string;
@@ -128,6 +125,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
128
125
  readonly locale: "en" | "ja" | "ko";
129
126
  readonly message: string;
130
127
  }[]] | undefined;
128
+ readonly valueFormat?: string | undefined;
129
+ readonly disabledDate?: string | undefined;
130
+ readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
131
131
  readonly validations?: readonly {
132
132
  readonly message: readonly [{
133
133
  readonly locale: "zh";
@@ -34,11 +34,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  } | undefined;
35
35
  readonly numberOfMonths?: number | undefined;
36
36
  readonly hourCycle?: 12 | 24 | undefined;
37
- readonly format?: string | undefined;
38
- readonly valueFormat?: string | undefined;
39
- readonly disabledDate?: string | undefined;
40
- readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
41
37
  readonly rangeSeparatorIcon?: string | undefined;
38
+ readonly format?: string | undefined;
42
39
  readonly startPlaceholder?: readonly [{
43
40
  readonly locale: "zh";
44
41
  readonly message: string;
@@ -53,6 +50,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
50
  readonly locale: "en" | "ja" | "ko";
54
51
  readonly message: string;
55
52
  }[]] | undefined;
53
+ readonly valueFormat?: string | undefined;
54
+ readonly disabledDate?: string | undefined;
55
+ readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
56
56
  readonly validations?: readonly {
57
57
  readonly message: readonly [{
58
58
  readonly locale: "zh";
@@ -109,11 +109,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
109
109
  } | undefined;
110
110
  readonly numberOfMonths?: number | undefined;
111
111
  readonly hourCycle?: 12 | 24 | undefined;
112
- readonly format?: string | undefined;
113
- readonly valueFormat?: string | undefined;
114
- readonly disabledDate?: string | undefined;
115
- readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
116
112
  readonly rangeSeparatorIcon?: string | undefined;
113
+ readonly format?: string | undefined;
117
114
  readonly startPlaceholder?: readonly [{
118
115
  readonly locale: "zh";
119
116
  readonly message: string;
@@ -128,6 +125,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
128
125
  readonly locale: "en" | "ja" | "ko";
129
126
  readonly message: string;
130
127
  }[]] | undefined;
128
+ readonly valueFormat?: string | undefined;
129
+ readonly disabledDate?: string | undefined;
130
+ readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
131
131
  readonly validations?: readonly {
132
132
  readonly message: readonly [{
133
133
  readonly locale: "zh";
@@ -5,6 +5,7 @@ export declare const compatibilityDate: "2026-04-27";
5
5
  export declare const metadata: {
6
6
  readonly name: "日期时间范围";
7
7
  readonly icon: "fluent:calendar-clock-20-regular";
8
+ readonly description: "选择一个日期时间区间";
8
9
  readonly w: {
9
10
  readonly initial: 14;
10
11
  readonly min: 14;
@@ -18,6 +18,7 @@ const bindingSchema = Schema.Union(BindingPath, SplitBinding).annotations({
18
18
  export const metadata = {
19
19
  name: "\u65E5\u671F\u65F6\u95F4\u8303\u56F4",
20
20
  icon: "fluent:calendar-clock-20-regular",
21
+ description: "\u9009\u62E9\u4E00\u4E2A\u65E5\u671F\u65F6\u95F4\u533A\u95F4",
21
22
  w: { initial: 14, min: 14, max: Infinity },
22
23
  h: { initial: 2, min: 2, max: 2 }
23
24
  };
@@ -5,6 +5,7 @@ export declare const compatibilityDate: "2026-04-27";
5
5
  export declare const metadata: {
6
6
  readonly name: "时间";
7
7
  readonly icon: "fluent:clock-20-regular";
8
+ readonly description: "选择一个时间";
8
9
  readonly w: {
9
10
  readonly initial: 8;
10
11
  readonly min: 4;
@@ -7,6 +7,7 @@ export const compatibilityDate = "2026-04-27";
7
7
  export const metadata = {
8
8
  name: "\u65F6\u95F4",
9
9
  icon: "fluent:clock-20-regular",
10
+ description: "\u9009\u62E9\u4E00\u4E2A\u65F6\u95F4",
10
11
  w: { initial: 8, min: 4, max: Infinity },
11
12
  h: { initial: 2, min: 2, max: 2 }
12
13
  };
@@ -33,9 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
33
  readonly expression: string;
34
34
  } | undefined;
35
35
  readonly hourCycle?: 12 | 24 | undefined;
36
+ readonly rangeSeparatorIcon?: string | undefined;
36
37
  readonly valueFormat?: string | undefined;
37
38
  readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
38
- readonly rangeSeparatorIcon?: string | undefined;
39
39
  readonly validations?: readonly {
40
40
  readonly message: readonly [{
41
41
  readonly locale: "zh";
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
79
79
  readonly expression: string;
80
80
  } | undefined;
81
81
  readonly hourCycle?: 12 | 24 | undefined;
82
+ readonly rangeSeparatorIcon?: string | undefined;
82
83
  readonly valueFormat?: string | undefined;
83
84
  readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
84
- readonly rangeSeparatorIcon?: string | undefined;
85
85
  readonly validations?: readonly {
86
86
  readonly message: readonly [{
87
87
  readonly locale: "zh";