@shwfed/config 3.0.6 → 3.0.8

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 (260) 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/config.vue +109 -3
  18. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +1 -0
  19. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.js +2 -1
  20. package/dist/runtime/components/actions/utils/ai-button-tools.d.ts +29 -0
  21. package/dist/runtime/components/actions/utils/ai-button-tools.js +664 -0
  22. package/dist/runtime/components/actions/utils/resolve.d.ts +22 -0
  23. package/dist/runtime/components/actions/utils/resolve.js +23 -1
  24. package/dist/runtime/components/config/ai-generate.d.vue.ts +7 -0
  25. package/dist/runtime/components/config/ai-generate.system.md +39 -0
  26. package/dist/runtime/components/{table → config}/ai-generate.vue +55 -32
  27. package/dist/runtime/components/config/ai-generate.vue.d.ts +7 -0
  28. package/dist/runtime/components/config/ai-page-slot.l1.md +25 -0
  29. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +6 -0
  30. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.js +4 -0
  31. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +6 -0
  32. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.js +4 -0
  33. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +1 -0
  34. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.js +1 -0
  35. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +44 -44
  36. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +44 -44
  37. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +44 -44
  38. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +44 -44
  39. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +28 -22
  40. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.js +4 -0
  41. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +7 -0
  42. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.js +4 -0
  43. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.d.ts +1 -0
  44. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.js +1 -0
  45. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.d.ts +1 -0
  46. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.js +1 -0
  47. package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.d.ts +6 -0
  48. package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.js +4 -0
  49. package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.icon/schema.d.ts +1 -0
  50. package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.icon/schema.js +1 -0
  51. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.d.vue.ts +18 -18
  52. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.vue.d.ts +18 -18
  53. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.d.vue.ts +18 -18
  54. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue.d.ts +18 -18
  55. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.d.ts +6 -0
  56. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.js +4 -0
  57. package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/schema.d.ts +7 -0
  58. package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/schema.js +4 -0
  59. package/dist/runtime/components/config/config.vue +24 -3
  60. package/dist/runtime/components/config/history-picker.vue +6 -4
  61. package/dist/runtime/components/config/prune-dialog.vue +15 -4
  62. package/dist/runtime/components/config/use-editor.d.ts +1 -0
  63. package/dist/runtime/components/config/use-editor.js +20 -2
  64. package/dist/runtime/components/config/utils/ai-cursor.d.ts +21 -0
  65. package/dist/runtime/components/config/utils/ai-cursor.js +827 -0
  66. package/dist/runtime/components/config/utils/ai-host-manuals.d.ts +2 -0
  67. package/dist/runtime/components/config/utils/ai-host-manuals.js +19 -0
  68. package/dist/runtime/components/config/utils/linkage.d.ts +15 -6
  69. package/dist/runtime/components/config/utils/linkage.js +23 -7
  70. package/dist/runtime/components/config/utils/resolve.d.ts +19 -0
  71. package/dist/runtime/components/config/utils/resolve.js +25 -2
  72. package/dist/runtime/components/form/ai-l1.md +22 -0
  73. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +1 -0
  74. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.js +1 -0
  75. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +1 -0
  76. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +1 -0
  77. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +1 -0
  78. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +1 -0
  79. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +7 -0
  80. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.js +4 -0
  81. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +1 -0
  82. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +1 -0
  83. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +1 -0
  84. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +1 -0
  85. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +1 -0
  86. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +1 -0
  87. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +1 -0
  88. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +1 -0
  89. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +1 -0
  90. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.js +1 -0
  91. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +1 -0
  92. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js +1 -0
  93. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +1 -0
  94. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +1 -0
  95. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +1 -0
  96. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js +1 -0
  97. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +1 -0
  98. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +1 -0
  99. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +1 -0
  100. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +1 -0
  101. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/prompt.md +8 -0
  102. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +7 -0
  103. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +4 -0
  104. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +1 -0
  105. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.js +1 -0
  106. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +1 -0
  107. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.js +1 -0
  108. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/prompt.md +12 -0
  109. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +6 -0
  110. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.js +4 -0
  111. package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.d.ts +6 -0
  112. package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.js +4 -0
  113. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +26 -26
  114. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +26 -26
  115. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +1 -0
  116. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js +1 -0
  117. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +1 -0
  118. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.js +1 -0
  119. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +26 -26
  120. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +26 -26
  121. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +26 -26
  122. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +26 -26
  123. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +26 -26
  124. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +26 -26
  125. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/prompt.md +7 -0
  126. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +1 -0
  127. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.js +1 -0
  128. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +26 -26
  129. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +26 -26
  130. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/prompt.md +7 -0
  131. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +1 -0
  132. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.js +1 -0
  133. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +26 -26
  134. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +26 -26
  135. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/prompt.md +9 -0
  136. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +1 -0
  137. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js +1 -0
  138. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +26 -26
  139. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +26 -26
  140. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/prompt.md +11 -0
  141. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +1 -0
  142. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js +1 -0
  143. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/prompt.md +12 -0
  144. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +1 -0
  145. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.js +1 -0
  146. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/prompt.md +14 -0
  147. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +1 -0
  148. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.js +1 -0
  149. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/prompt.md +19 -0
  150. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +1 -0
  151. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.js +1 -0
  152. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.d.ts +7 -0
  153. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.js +4 -0
  154. package/dist/runtime/components/form/fields/2026-07-13/com.shwfed.form.field.dynamic/prompt.md +14 -0
  155. package/dist/runtime/components/form/fields/2026-07-13/com.shwfed.form.field.dynamic/schema.d.ts +1 -0
  156. package/dist/runtime/components/form/fields/2026-07-13/com.shwfed.form.field.dynamic/schema.js +1 -0
  157. package/dist/runtime/components/form/unit-config.vue +2 -2
  158. package/dist/runtime/components/form/utils/ai-field-tools.d.ts +2 -2
  159. package/dist/runtime/components/form/utils/ai-field-tools.js +47 -30
  160. package/dist/runtime/components/form/utils/resolve.d.ts +11 -0
  161. package/dist/runtime/components/form/utils/resolve.js +13 -1
  162. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.d.ts +1 -0
  163. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.js +2 -1
  164. package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.d.ts +1 -0
  165. package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.js +1 -0
  166. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts +1 -0
  167. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.js +2 -1
  168. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.d.ts +1 -0
  169. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.js +2 -1
  170. package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/schema.d.ts +1 -0
  171. package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/schema.js +2 -1
  172. package/dist/runtime/components/operations/utils/resolve.d.ts +17 -0
  173. package/dist/runtime/components/operations/utils/resolve.js +18 -1
  174. package/dist/runtime/components/table/ai-l1.md +38 -0
  175. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +7 -0
  176. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.js +5 -1
  177. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +1 -0
  178. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js +2 -1
  179. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +1 -0
  180. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js +2 -1
  181. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +1 -0
  182. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.js +2 -1
  183. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +1 -0
  184. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js +2 -1
  185. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.d.ts +1 -0
  186. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.js +2 -1
  187. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +1 -0
  188. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js +2 -1
  189. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +1 -0
  190. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.js +2 -1
  191. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +1 -0
  192. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.js +2 -1
  193. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +1 -0
  194. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.js +2 -1
  195. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +1 -0
  196. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.js +2 -1
  197. package/dist/runtime/components/table/columns/2026-05-21/com.shwfed.table.column.drag-handle/schema.d.ts +1 -0
  198. package/dist/runtime/components/table/columns/2026-05-21/com.shwfed.table.column.drag-handle/schema.js +2 -1
  199. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  200. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  201. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  202. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  203. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  204. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  205. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  206. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  207. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/prompt.md +12 -0
  208. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
  209. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.js +1 -0
  210. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/prompt.md +16 -0
  211. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
  212. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.js +1 -0
  213. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  214. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  215. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
  216. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.js +1 -0
  217. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  218. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  219. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
  220. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.js +1 -0
  221. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +1 -0
  222. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +2 -1
  223. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +1 -0
  224. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +2 -1
  225. package/dist/runtime/components/table/columns/2026-07-12/com.shwfed.table.column.dynamic/prompt.md +15 -0
  226. package/dist/runtime/components/table/config.d.vue.ts +3 -3
  227. package/dist/runtime/components/table/config.vue +3 -35
  228. package/dist/runtime/components/table/config.vue.d.ts +3 -3
  229. package/dist/runtime/components/table/row-provider.vue +7 -1
  230. package/dist/runtime/components/table/schema.d.ts +44 -44
  231. package/dist/runtime/components/table/utils/ai-tools.js +16 -7
  232. package/dist/runtime/components/table/utils/resolve.d.ts +5 -0
  233. package/dist/runtime/components/table/utils/resolve.js +12 -1
  234. package/dist/runtime/share/clipboard.d.ts +15 -9
  235. package/dist/runtime/share/clipboard.js +22 -10
  236. package/dist/runtime/share/define-registry.d.ts +66 -0
  237. package/dist/runtime/share/define-registry.js +37 -1
  238. package/dist/runtime/share/use-persisted-chat.d.ts +11 -9
  239. package/dist/runtime/share/use-persisted-chat.js +3 -3
  240. package/dist/runtime/utils/ai/index.d.ts +1 -1
  241. package/dist/runtime/utils/ai/index.js +18 -11
  242. package/dist/runtime/utils/cel-catalog.d.ts +1 -0
  243. package/dist/runtime/utils/cel-catalog.js +10 -0
  244. package/dist/runtime/utils/cel-catalog.md +42 -0
  245. package/dist/runtime/utils/cel-context.d.ts +15 -0
  246. package/dist/runtime/utils/cel-context.js +8 -0
  247. package/dist/runtime/vendor/cel-js/CLAUDE.md +7 -2
  248. package/dist/runtime/vendor/cel-js/PROMPT.md +27 -0
  249. package/dist/runtime/vendor/cel-js/lib/evaluator.js +2 -0
  250. package/dist/runtime/vendor/cel-js/lib/globals.d.ts +2 -0
  251. package/dist/runtime/vendor/cel-js/lib/globals.js +10 -0
  252. package/dist/runtime/vendor/cel-js/lib/map-builtins.d.ts +2 -0
  253. package/dist/runtime/vendor/cel-js/lib/map-builtins.js +80 -0
  254. package/dist/runtime/vendor/cel-js/lib/operators.js +2 -12
  255. package/package.json +1 -1
  256. package/dist/runtime/components/table/ai-generate.d.vue.ts +0 -16
  257. package/dist/runtime/components/table/ai-generate.system.md +0 -101
  258. package/dist/runtime/components/table/ai-generate.vue.d.ts +0 -16
  259. /package/dist/runtime/components/{table → config}/ai-generate.system.d.ts +0 -0
  260. /package/dist/runtime/components/{table → config}/ai-generate.system.js +0 -0
@@ -7,7 +7,8 @@ export const type = "com.shwfed.table.column.select";
7
7
  export const compatibilityDate = "2026-04-14";
8
8
  export const metadata = {
9
9
  name: "\u9009\u62E9",
10
- icon: "fluent:checkbox-checked-20-regular"
10
+ icon: "fluent:checkbox-checked-20-regular",
11
+ description: "\u884C\u9009\u62E9\u5217\uFF08\u5355\u9009 / \u591A\u9009\u52FE\u9009\u6846\uFF09\uFF0C\u53EF\u6309 CEL \u63A7\u5236\u884C\u662F\u5426\u53EF\u9009"
11
12
  };
12
13
  export function schema(configure) {
13
14
  const CelRowSelectionPredicate = Expression({
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-04-14";
7
7
  export declare const metadata: {
8
8
  readonly name: "文本";
9
9
  readonly icon: "fluent:text-field-20-regular";
10
+ readonly description: "文本只读列(最常用),支持等宽模式与一键复制";
10
11
  };
11
12
  export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
12
13
  align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
@@ -4,7 +4,8 @@ export const type = "com.shwfed.table.column.text";
4
4
  export const compatibilityDate = "2026-04-14";
5
5
  export const metadata = {
6
6
  name: "\u6587\u672C",
7
- icon: "fluent:text-field-20-regular"
7
+ icon: "fluent:text-field-20-regular",
8
+ description: "\u6587\u672C\u53EA\u8BFB\u5217\uFF08\u6700\u5E38\u7528\uFF09\uFF0C\u652F\u6301\u7B49\u5BBD\u6A21\u5F0F\u4E0E\u4E00\u952E\u590D\u5236"
8
9
  };
9
10
  const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
10
11
  export function schema(configure) {
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-05-13";
7
7
  export declare const metadata: {
8
8
  readonly name: "开关(远程)";
9
9
  readonly icon: "fluent:toggle-left-20-regular";
10
+ readonly description: "可编辑的开关单元格,切换时发起 HTTP 请求,按响应决定是否生效";
10
11
  };
11
12
  export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
12
13
  align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
@@ -6,7 +6,8 @@ export const type = "com.shwfed.table.column.switch.remote";
6
6
  export const compatibilityDate = "2026-05-13";
7
7
  export const metadata = {
8
8
  name: "\u5F00\u5173\uFF08\u8FDC\u7A0B\uFF09",
9
- icon: "fluent:toggle-left-20-regular"
9
+ icon: "fluent:toggle-left-20-regular",
10
+ description: "\u53EF\u7F16\u8F91\u7684\u5F00\u5173\u5355\u5143\u683C\uFF0C\u5207\u6362\u65F6\u53D1\u8D77 HTTP \u8BF7\u6C42\uFF0C\u6309\u54CD\u5E94\u51B3\u5B9A\u662F\u5426\u751F\u6548"
10
11
  };
11
12
  export function schema(configure) {
12
13
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-05-20";
7
7
  export declare const metadata: {
8
8
  readonly name: "数值输入";
9
9
  readonly icon: "fluent:number-symbol-20-regular";
10
+ readonly description: "可编辑的数值输入单元格,值写回行数据";
10
11
  };
11
12
  export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
12
13
  align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
@@ -7,7 +7,8 @@ export const type = "com.shwfed.table.column.number-input";
7
7
  export const compatibilityDate = "2026-05-20";
8
8
  export const metadata = {
9
9
  name: "\u6570\u503C\u8F93\u5165",
10
- icon: "fluent:number-symbol-20-regular"
10
+ icon: "fluent:number-symbol-20-regular",
11
+ description: "\u53EF\u7F16\u8F91\u7684\u6570\u503C\u8F93\u5165\u5355\u5143\u683C\uFF0C\u503C\u5199\u56DE\u884C\u6570\u636E"
11
12
  };
12
13
  function AddonActions(configure) {
13
14
  const configureWithRow = (env) => {
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-05-20";
7
7
  export declare const metadata: {
8
8
  readonly name: "开关";
9
9
  readonly icon: "fluent:toggle-left-20-regular";
10
+ readonly description: "可编辑的开关单元格,切换即写回行数据(本地,不发请求)";
10
11
  };
11
12
  export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
12
13
  align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
@@ -6,7 +6,8 @@ export const type = "com.shwfed.table.column.switch.local";
6
6
  export const compatibilityDate = "2026-05-20";
7
7
  export const metadata = {
8
8
  name: "\u5F00\u5173",
9
- icon: "fluent:toggle-left-20-regular"
9
+ icon: "fluent:toggle-left-20-regular",
10
+ description: "\u53EF\u7F16\u8F91\u7684\u5F00\u5173\u5355\u5143\u683C\uFF0C\u5207\u6362\u5373\u5199\u56DE\u884C\u6570\u636E\uFF08\u672C\u5730\uFF0C\u4E0D\u53D1\u8BF7\u6C42\uFF09"
10
11
  };
11
12
  export function schema(configure) {
12
13
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-05-20";
7
7
  export declare const metadata: {
8
8
  readonly name: "文本输入";
9
9
  readonly icon: "fluent:text-field-20-regular";
10
+ readonly description: "可编辑的文本输入单元格,值写回行数据";
10
11
  };
11
12
  export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
12
13
  align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
@@ -7,7 +7,8 @@ export const type = "com.shwfed.table.column.text-input";
7
7
  export const compatibilityDate = "2026-05-20";
8
8
  export const metadata = {
9
9
  name: "\u6587\u672C\u8F93\u5165",
10
- icon: "fluent:text-field-20-regular"
10
+ icon: "fluent:text-field-20-regular",
11
+ description: "\u53EF\u7F16\u8F91\u7684\u6587\u672C\u8F93\u5165\u5355\u5143\u683C\uFF0C\u503C\u5199\u56DE\u884C\u6570\u636E"
11
12
  };
12
13
  function AddonActions(configure) {
13
14
  const configureWithRow = (env) => {
@@ -6,6 +6,7 @@ export declare const compatibilityDate: "2026-05-21";
6
6
  export declare const metadata: {
7
7
  readonly name: "拖拽";
8
8
  readonly icon: "fluent:re-order-dots-vertical-20-regular";
9
+ readonly description: "行拖拽手柄列,允许用户上下拖拽调整行顺序";
9
10
  };
10
11
  export declare function schema(_configure: (env: Environment) => void): Schema.Struct<{
11
12
  id: Schema.refine<string, typeof Schema.String>;
@@ -6,7 +6,8 @@ export const type = "com.shwfed.table.column.drag-handle";
6
6
  export const compatibilityDate = "2026-05-21";
7
7
  export const metadata = {
8
8
  name: "\u62D6\u62FD",
9
- icon: "fluent:re-order-dots-vertical-20-regular"
9
+ icon: "fluent:re-order-dots-vertical-20-regular",
10
+ description: "\u884C\u62D6\u62FD\u624B\u67C4\u5217\uFF0C\u5141\u8BB8\u7528\u6237\u4E0A\u4E0B\u62D6\u62FD\u8C03\u6574\u884C\u987A\u5E8F"
10
11
  };
11
12
  export function schema(_configure) {
12
13
  return Schema.Struct({
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  readonly message: string;
35
35
  }[]] | undefined;
36
36
  readonly readonly?: string | undefined;
37
+ readonly dataSource: {
38
+ readonly data: string;
39
+ readonly request?: string | undefined;
40
+ };
37
41
  readonly binding: string;
38
42
  readonly derived?: {
39
43
  readonly mode: "formula" | "prefill";
40
44
  readonly expression: string;
41
45
  } | undefined;
42
- readonly dataSource: {
43
- readonly data: string;
44
- readonly request?: string | undefined;
45
- };
46
46
  readonly nodeKey: string;
47
47
  readonly nodeChildren: string;
48
48
  readonly nodeLabel: readonly [{
@@ -97,15 +97,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
97
97
  readonly message: string;
98
98
  }[]] | undefined;
99
99
  readonly readonly?: string | undefined;
100
+ readonly dataSource: {
101
+ readonly data: string;
102
+ readonly request?: string | undefined;
103
+ };
100
104
  readonly binding: string;
101
105
  readonly derived?: {
102
106
  readonly mode: "formula" | "prefill";
103
107
  readonly expression: string;
104
108
  } | undefined;
105
- readonly dataSource: {
106
- readonly data: string;
107
- readonly request?: string | undefined;
108
- };
109
109
  readonly nodeKey: string;
110
110
  readonly nodeChildren: string;
111
111
  readonly nodeLabel: readonly [{
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  readonly message: string;
35
35
  }[]] | undefined;
36
36
  readonly readonly?: string | undefined;
37
+ readonly dataSource: {
38
+ readonly data: string;
39
+ readonly request?: string | undefined;
40
+ };
37
41
  readonly binding: string;
38
42
  readonly derived?: {
39
43
  readonly mode: "formula" | "prefill";
40
44
  readonly expression: string;
41
45
  } | undefined;
42
- readonly dataSource: {
43
- readonly data: string;
44
- readonly request?: string | undefined;
45
- };
46
46
  readonly nodeKey: string;
47
47
  readonly nodeChildren: string;
48
48
  readonly nodeLabel: readonly [{
@@ -97,15 +97,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
97
97
  readonly message: string;
98
98
  }[]] | undefined;
99
99
  readonly readonly?: string | undefined;
100
+ readonly dataSource: {
101
+ readonly data: string;
102
+ readonly request?: string | undefined;
103
+ };
100
104
  readonly binding: string;
101
105
  readonly derived?: {
102
106
  readonly mode: "formula" | "prefill";
103
107
  readonly expression: string;
104
108
  } | undefined;
105
- readonly dataSource: {
106
- readonly data: string;
107
- readonly request?: string | undefined;
108
- };
109
109
  readonly nodeKey: string;
110
110
  readonly nodeChildren: string;
111
111
  readonly nodeLabel: readonly [{
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  readonly message: string;
35
35
  }[]] | undefined;
36
36
  readonly readonly?: string | undefined;
37
+ readonly dataSource: {
38
+ readonly data: string;
39
+ readonly request?: string | undefined;
40
+ };
37
41
  readonly binding: string;
38
42
  readonly derived?: {
39
43
  readonly mode: "formula" | "prefill";
40
44
  readonly expression: string;
41
45
  } | undefined;
42
- readonly dataSource: {
43
- readonly data: string;
44
- readonly request?: string | undefined;
45
- };
46
46
  readonly nodeKey: string;
47
47
  readonly nodeChildren: string;
48
48
  readonly nodeLabel: readonly [{
@@ -96,15 +96,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
96
96
  readonly message: string;
97
97
  }[]] | undefined;
98
98
  readonly readonly?: string | undefined;
99
+ readonly dataSource: {
100
+ readonly data: string;
101
+ readonly request?: string | undefined;
102
+ };
99
103
  readonly binding: string;
100
104
  readonly derived?: {
101
105
  readonly mode: "formula" | "prefill";
102
106
  readonly expression: string;
103
107
  } | undefined;
104
- readonly dataSource: {
105
- readonly data: string;
106
- readonly request?: string | undefined;
107
- };
108
108
  readonly nodeKey: string;
109
109
  readonly nodeChildren: string;
110
110
  readonly nodeLabel: readonly [{
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
34
34
  readonly message: string;
35
35
  }[]] | undefined;
36
36
  readonly readonly?: string | undefined;
37
+ readonly dataSource: {
38
+ readonly data: string;
39
+ readonly request?: string | undefined;
40
+ };
37
41
  readonly binding: string;
38
42
  readonly derived?: {
39
43
  readonly mode: "formula" | "prefill";
40
44
  readonly expression: string;
41
45
  } | undefined;
42
- readonly dataSource: {
43
- readonly data: string;
44
- readonly request?: string | undefined;
45
- };
46
46
  readonly nodeKey: string;
47
47
  readonly nodeChildren: string;
48
48
  readonly nodeLabel: readonly [{
@@ -96,15 +96,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
96
96
  readonly message: string;
97
97
  }[]] | undefined;
98
98
  readonly readonly?: string | undefined;
99
+ readonly dataSource: {
100
+ readonly data: string;
101
+ readonly request?: string | undefined;
102
+ };
99
103
  readonly binding: string;
100
104
  readonly derived?: {
101
105
  readonly mode: "formula" | "prefill";
102
106
  readonly expression: string;
103
107
  } | undefined;
104
- readonly dataSource: {
105
- readonly data: string;
106
- readonly request?: string | undefined;
107
- };
108
108
  readonly nodeKey: string;
109
109
  readonly nodeChildren: string;
110
110
  readonly nodeLabel: readonly [{
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
35
35
  }[]] | undefined;
36
36
  readonly keywords?: string | undefined;
37
37
  readonly readonly?: string | undefined;
38
+ readonly dataSource: {
39
+ readonly data: string;
40
+ readonly request?: string | undefined;
41
+ };
38
42
  readonly binding: string;
39
43
  readonly derived?: {
40
44
  readonly mode: "formula" | "prefill";
41
45
  readonly expression: string;
42
46
  } | undefined;
43
- readonly dataSource: {
44
- readonly data: string;
45
- readonly request?: string | undefined;
46
- };
47
47
  readonly nodeKey: string;
48
48
  readonly nodeChildren: string;
49
49
  readonly nodeLabel: readonly [{
@@ -99,15 +99,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
99
99
  }[]] | undefined;
100
100
  readonly keywords?: string | undefined;
101
101
  readonly readonly?: string | undefined;
102
+ readonly dataSource: {
103
+ readonly data: string;
104
+ readonly request?: string | undefined;
105
+ };
102
106
  readonly binding: string;
103
107
  readonly derived?: {
104
108
  readonly mode: "formula" | "prefill";
105
109
  readonly expression: string;
106
110
  } | undefined;
107
- readonly dataSource: {
108
- readonly data: string;
109
- readonly request?: string | undefined;
110
- };
111
111
  readonly nodeKey: string;
112
112
  readonly nodeChildren: string;
113
113
  readonly nodeLabel: readonly [{
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
35
35
  }[]] | undefined;
36
36
  readonly keywords?: string | undefined;
37
37
  readonly readonly?: string | undefined;
38
+ readonly dataSource: {
39
+ readonly data: string;
40
+ readonly request?: string | undefined;
41
+ };
38
42
  readonly binding: string;
39
43
  readonly derived?: {
40
44
  readonly mode: "formula" | "prefill";
41
45
  readonly expression: string;
42
46
  } | undefined;
43
- readonly dataSource: {
44
- readonly data: string;
45
- readonly request?: string | undefined;
46
- };
47
47
  readonly nodeKey: string;
48
48
  readonly nodeChildren: string;
49
49
  readonly nodeLabel: readonly [{
@@ -99,15 +99,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
99
99
  }[]] | undefined;
100
100
  readonly keywords?: string | undefined;
101
101
  readonly readonly?: string | undefined;
102
+ readonly dataSource: {
103
+ readonly data: string;
104
+ readonly request?: string | undefined;
105
+ };
102
106
  readonly binding: string;
103
107
  readonly derived?: {
104
108
  readonly mode: "formula" | "prefill";
105
109
  readonly expression: string;
106
110
  } | undefined;
107
- readonly dataSource: {
108
- readonly data: string;
109
- readonly request?: string | undefined;
110
- };
111
111
  readonly nodeKey: string;
112
112
  readonly nodeChildren: string;
113
113
  readonly nodeLabel: readonly [{
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
35
35
  }[]] | undefined;
36
36
  readonly keywords?: string | undefined;
37
37
  readonly readonly?: string | undefined;
38
+ readonly dataSource: {
39
+ readonly data: string;
40
+ readonly request?: string | undefined;
41
+ };
38
42
  readonly binding: string;
39
43
  readonly derived?: {
40
44
  readonly mode: "formula" | "prefill";
41
45
  readonly expression: string;
42
46
  } | undefined;
43
- readonly dataSource: {
44
- readonly data: string;
45
- readonly request?: string | undefined;
46
- };
47
47
  readonly nodeKey: string;
48
48
  readonly nodeChildren: string;
49
49
  readonly nodeLabel: readonly [{
@@ -98,15 +98,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
98
98
  }[]] | undefined;
99
99
  readonly keywords?: string | undefined;
100
100
  readonly readonly?: string | undefined;
101
+ readonly dataSource: {
102
+ readonly data: string;
103
+ readonly request?: string | undefined;
104
+ };
101
105
  readonly binding: string;
102
106
  readonly derived?: {
103
107
  readonly mode: "formula" | "prefill";
104
108
  readonly expression: string;
105
109
  } | undefined;
106
- readonly dataSource: {
107
- readonly data: string;
108
- readonly request?: string | undefined;
109
- };
110
110
  readonly nodeKey: string;
111
111
  readonly nodeChildren: string;
112
112
  readonly nodeLabel: readonly [{
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
35
35
  }[]] | undefined;
36
36
  readonly keywords?: string | undefined;
37
37
  readonly readonly?: string | undefined;
38
+ readonly dataSource: {
39
+ readonly data: string;
40
+ readonly request?: string | undefined;
41
+ };
38
42
  readonly binding: string;
39
43
  readonly derived?: {
40
44
  readonly mode: "formula" | "prefill";
41
45
  readonly expression: string;
42
46
  } | undefined;
43
- readonly dataSource: {
44
- readonly data: string;
45
- readonly request?: string | undefined;
46
- };
47
47
  readonly nodeKey: string;
48
48
  readonly nodeChildren: string;
49
49
  readonly nodeLabel: readonly [{
@@ -98,15 +98,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
98
98
  }[]] | undefined;
99
99
  readonly keywords?: string | undefined;
100
100
  readonly readonly?: string | undefined;
101
+ readonly dataSource: {
102
+ readonly data: string;
103
+ readonly request?: string | undefined;
104
+ };
101
105
  readonly binding: string;
102
106
  readonly derived?: {
103
107
  readonly mode: "formula" | "prefill";
104
108
  readonly expression: string;
105
109
  } | undefined;
106
- readonly dataSource: {
107
- readonly data: string;
108
- readonly request?: string | undefined;
109
- };
110
110
  readonly nodeKey: string;
111
111
  readonly nodeChildren: string;
112
112
  readonly nodeLabel: readonly [{
@@ -0,0 +1,12 @@
1
+ **何时用我**:表格单元格里做**多选下拉**——把后端的一组编码回显成多个标签,或行内多选可编辑单元格。与「单选」列同构,差别是值为数组。
2
+
3
+ **配置配方**
4
+
5
+ - `options` 判别联合:`{ kind: 'static', items }`(每项 `{ label(纯文本 Locale), value: { kind: 'text'|'number', value } }`)或 `{ kind: 'remote', options, optionLabel, optionValue?, ... }`(CEL / 远端产出,`options` 可访问 `json`,`optionLabel` / `optionValue` 可访问 `option`)。
6
+ - `write`:`{ kind: 'binding', binding }` 行内读写行上 dot-prop 路径;或 `{ kind: 'remote', accessor, onChange?, ... }` 只读回显 + 选择后请求写服务端。
7
+
8
+ **坑**
9
+
10
+ - 静态项 `value` 是判别对象 `{ kind, value }`。
11
+ - 多选 `remote` 的 `optionValue` 默认整个 `option`,通常设成标量(如 `option.value`)。
12
+ - 纯回显用 `write: { kind: 'remote', accessor }` 即可。选项映射不确定时**向用户询问**。
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-06-14";
7
7
  export declare const metadata: {
8
8
  readonly name: "多选";
9
9
  readonly icon: "fluent:chevron-down-20-regular";
10
+ readonly description: "可编辑的下拉多选单元格,选中值写回行数据;选项可静态配置或远程加载";
10
11
  readonly selection: true;
11
12
  };
12
13
  export declare function itemSchema(configure: (env: Environment) => void): Schema.Struct<{
@@ -18,6 +18,7 @@ export const compatibilityDate = "2026-06-14";
18
18
  export const metadata = {
19
19
  name: "\u591A\u9009",
20
20
  icon: "fluent:chevron-down-20-regular",
21
+ description: "\u53EF\u7F16\u8F91\u7684\u4E0B\u62C9\u591A\u9009\u5355\u5143\u683C\uFF0C\u9009\u4E2D\u503C\u5199\u56DE\u884C\u6570\u636E\uFF1B\u9009\u9879\u53EF\u9759\u6001\u914D\u7F6E\u6216\u8FDC\u7A0B\u52A0\u8F7D",
21
22
  // Publishes its resolved options (array) to the per-row `selections` registry
22
23
  // (runtime.vue), readable via `selections["<id>"]`.
23
24
  selection: true
@@ -0,0 +1,16 @@
1
+ **何时用我**:表格单元格里做**单选下拉**——把后端的编码回显成标签(如状态码 → 状态名),或行内单选可编辑单元格。
2
+
3
+ **配置配方**
4
+
5
+ - `options` 判别联合(与表单下拉同构):
6
+ - `{ kind: 'static', items: [...] }`:手配 `{ label(纯文本 Locale), value: { kind: 'text'|'number', value } }`。
7
+ - `{ kind: 'remote', ... }`:`options`(提取数组,可访问 `json`)、`optionLabel`(可访问 `option`)、`optionValue`(默认 `option`)等。
8
+ - `write` 判别联合决定值从哪来、往哪去:
9
+ - `{ kind: 'binding', binding }`:行内可编辑,读写行上同一 dot-prop 路径(如 `status`)。
10
+ - `{ kind: 'remote', accessor, onChange?, successMessage?, triggers? }`:`accessor` 只读回显(如 `row.?status`),选择后由 `onChange` 请求写服务端(`value` 为新值)。
11
+
12
+ **坑**
13
+
14
+ - 静态项 `value` 是判别对象 `{ kind, value }`,不是裸值。
15
+ - 回显场景常只需 `write: { kind: 'remote', accessor }`(把编码 map 成标签),不必配 `onChange`。
16
+ - 选项映射(编码↔标签)不确定时**向用户询问**。
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-06-14";
7
7
  export declare const metadata: {
8
8
  readonly name: "单选";
9
9
  readonly icon: "fluent:chevron-down-20-regular";
10
+ readonly description: "可编辑的下拉单选单元格,选中值写回行数据;选项可静态配置或远程加载";
10
11
  readonly selection: true;
11
12
  };
12
13
  export declare function itemSchema(configure: (env: Environment) => void): Schema.Struct<{
@@ -18,6 +18,7 @@ export const compatibilityDate = "2026-06-14";
18
18
  export const metadata = {
19
19
  name: "\u5355\u9009",
20
20
  icon: "fluent:chevron-down-20-regular",
21
+ description: "\u53EF\u7F16\u8F91\u7684\u4E0B\u62C9\u5355\u9009\u5355\u5143\u683C\uFF0C\u9009\u4E2D\u503C\u5199\u56DE\u884C\u6570\u636E\uFF1B\u9009\u9879\u53EF\u9759\u6001\u914D\u7F6E\u6216\u8FDC\u7A0B\u52A0\u8F7D",
21
22
  // Publishes its resolved option (the source record) to the per-row
22
23
  // `selections` registry (runtime.vue), readable via `selections["<id>"]`.
23
24
  selection: true
@@ -36,15 +36,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
36
36
  }[]] | undefined;
37
37
  readonly keywords?: string | undefined;
38
38
  readonly readonly?: string | undefined;
39
+ readonly dataSource: {
40
+ readonly data: string;
41
+ readonly request?: string | undefined;
42
+ };
39
43
  readonly binding: string;
40
44
  readonly derived?: {
41
45
  readonly mode: "formula" | "prefill";
42
46
  readonly expression: string;
43
47
  } | undefined;
44
- readonly dataSource: {
45
- readonly data: string;
46
- readonly request?: string | undefined;
47
- };
48
48
  readonly nodeKey: string;
49
49
  readonly nodeChildren: string;
50
50
  readonly nodeLabel: string;
@@ -95,15 +95,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
95
95
  }[]] | undefined;
96
96
  readonly keywords?: string | undefined;
97
97
  readonly readonly?: string | undefined;
98
+ readonly dataSource: {
99
+ readonly data: string;
100
+ readonly request?: string | undefined;
101
+ };
98
102
  readonly binding: string;
99
103
  readonly derived?: {
100
104
  readonly mode: "formula" | "prefill";
101
105
  readonly expression: string;
102
106
  } | undefined;
103
- readonly dataSource: {
104
- readonly data: string;
105
- readonly request?: string | undefined;
106
- };
107
107
  readonly nodeKey: string;
108
108
  readonly nodeChildren: string;
109
109
  readonly nodeLabel: string;
@@ -36,15 +36,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
36
36
  }[]] | undefined;
37
37
  readonly keywords?: string | undefined;
38
38
  readonly readonly?: string | undefined;
39
+ readonly dataSource: {
40
+ readonly data: string;
41
+ readonly request?: string | undefined;
42
+ };
39
43
  readonly binding: string;
40
44
  readonly derived?: {
41
45
  readonly mode: "formula" | "prefill";
42
46
  readonly expression: string;
43
47
  } | undefined;
44
- readonly dataSource: {
45
- readonly data: string;
46
- readonly request?: string | undefined;
47
- };
48
48
  readonly nodeKey: string;
49
49
  readonly nodeChildren: string;
50
50
  readonly nodeLabel: string;
@@ -95,15 +95,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
95
95
  }[]] | undefined;
96
96
  readonly keywords?: string | undefined;
97
97
  readonly readonly?: string | undefined;
98
+ readonly dataSource: {
99
+ readonly data: string;
100
+ readonly request?: string | undefined;
101
+ };
98
102
  readonly binding: string;
99
103
  readonly derived?: {
100
104
  readonly mode: "formula" | "prefill";
101
105
  readonly expression: string;
102
106
  } | undefined;
103
- readonly dataSource: {
104
- readonly data: string;
105
- readonly request?: string | undefined;
106
- };
107
107
  readonly nodeKey: string;
108
108
  readonly nodeChildren: string;
109
109
  readonly nodeLabel: string;
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-06-14";
7
7
  export declare const metadata: {
8
8
  readonly name: "下拉树(多选)";
9
9
  readonly icon: "fluent:tree-evergreen-20-regular";
10
+ readonly description: "可编辑的下拉树多选单元格,选中节点写回行数据";
10
11
  readonly selection: true;
11
12
  };
12
13
  export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
@@ -17,6 +17,7 @@ export const compatibilityDate = "2026-06-14";
17
17
  export const metadata = {
18
18
  name: "\u4E0B\u62C9\u6811\uFF08\u591A\u9009\uFF09",
19
19
  icon: "fluent:tree-evergreen-20-regular",
20
+ description: "\u53EF\u7F16\u8F91\u7684\u4E0B\u62C9\u6811\u591A\u9009\u5355\u5143\u683C\uFF0C\u9009\u4E2D\u8282\u70B9\u5199\u56DE\u884C\u6570\u636E",
20
21
  // Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
21
22
  selection: true
22
23
  };