@shwfed/config 2.11.5 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -0
  3. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +13 -7
  4. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue +1 -0
  5. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +13 -7
  6. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.d.ts +13 -7
  7. package/dist/runtime/components/actions/config.vue +2 -0
  8. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +13 -7
  9. package/dist/runtime/components/actions/schema.d.ts +82 -52
  10. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +5 -5
  11. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +13 -7
  12. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +62 -38
  13. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +26 -14
  14. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.d.ts +39 -21
  15. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.d.ts +13 -7
  16. package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.d.ts +26 -14
  17. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.d.ts +44 -26
  18. package/dist/runtime/components/config/schema.d.ts +13 -7
  19. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +26 -14
  20. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +57 -33
  21. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +52 -28
  22. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +18 -12
  23. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +65 -35
  24. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +78 -42
  25. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +91 -49
  26. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +78 -42
  27. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +91 -49
  28. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +39 -21
  29. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +39 -21
  30. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +57 -33
  31. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +65 -35
  32. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +65 -35
  33. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +104 -56
  34. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +78 -42
  35. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +65 -35
  36. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +78 -42
  37. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +91 -49
  38. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +91 -49
  39. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +39 -21
  40. package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.d.ts +13 -7
  41. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
  42. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
  43. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts +78 -42
  44. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +78 -42
  45. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +91 -49
  46. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.d.ts +65 -35
  47. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
  48. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
  49. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +78 -42
  50. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
  51. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
  52. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.d.ts +78 -42
  53. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.d.ts +169 -91
  54. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.d.ts +169 -91
  55. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
  56. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
  57. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +78 -42
  58. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
  59. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
  60. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +78 -42
  61. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
  62. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
  63. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +78 -42
  64. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +22 -22
  65. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +22 -22
  66. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +78 -42
  67. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +78 -42
  68. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +130 -70
  69. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +130 -70
  70. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.d.ts +26 -14
  71. package/dist/runtime/components/form/utils/common.d.ts +26 -14
  72. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.d.ts +13 -7
  73. package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.d.ts +13 -7
  74. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts +13 -7
  75. package/dist/runtime/components/table/ai-generate.d.vue.ts +16 -0
  76. package/dist/runtime/components/table/ai-generate.system.d.ts +1 -0
  77. package/dist/runtime/components/table/ai-generate.system.js +10 -0
  78. package/dist/runtime/components/table/ai-generate.system.md +95 -0
  79. package/dist/runtime/components/table/ai-generate.vue +172 -0
  80. package/dist/runtime/components/table/ai-generate.vue.d.ts +16 -0
  81. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +18 -12
  82. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +26 -14
  83. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue +3 -4
  84. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +26 -14
  85. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +3 -3
  86. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +39 -21
  87. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +26 -14
  88. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +2 -2
  89. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +2 -2
  90. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +26 -14
  91. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue +5 -6
  92. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +26 -14
  93. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/runtime.vue +5 -6
  94. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +26 -14
  95. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  96. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/schema.d.ts +91 -49
  97. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/runtime.vue +2 -2
  98. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +44 -26
  99. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/runtime.vue +2 -2
  100. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/schema.d.ts +52 -28
  101. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/runtime.vue +2 -2
  102. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +52 -28
  103. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue +2 -2
  104. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +44 -26
  105. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/runtime.vue +2 -2
  106. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.d.ts +52 -28
  107. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue +2 -2
  108. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +91 -49
  109. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  110. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.d.ts +91 -49
  111. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue +2 -2
  112. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +52 -28
  113. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue +2 -2
  114. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +91 -49
  115. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  116. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.d.ts +156 -84
  117. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue +2 -2
  118. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +156 -84
  119. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  120. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.d.ts +156 -84
  121. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.vue +2 -2
  122. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +156 -84
  123. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
  124. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +65 -35
  125. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
  126. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.d.ts +65 -35
  127. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  128. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +156 -84
  129. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  130. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +156 -84
  131. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
  132. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +65 -35
  133. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
  134. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.d.ts +65 -35
  135. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  136. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +117 -63
  137. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  138. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +117 -63
  139. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
  140. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +52 -28
  141. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
  142. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +52 -28
  143. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +3 -3
  144. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +70 -40
  145. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue +4 -4
  146. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +78 -42
  147. package/dist/runtime/components/table/config.d.vue.ts +3 -3
  148. package/dist/runtime/components/table/config.vue +38 -3
  149. package/dist/runtime/components/table/config.vue.d.ts +3 -3
  150. package/dist/runtime/components/table/row-provider.vue +2 -2
  151. package/dist/runtime/components/table/schema.d.ts +114 -66
  152. package/dist/runtime/components/table/utils/ai-tools.d.ts +11 -0
  153. package/dist/runtime/components/table/utils/ai-tools.js +458 -0
  154. package/dist/runtime/components/table/utils/resolve.d.ts +23 -0
  155. package/dist/runtime/components/table/utils/resolve.js +3 -0
  156. package/dist/runtime/components/table/utils/shared.d.ts +65 -35
  157. package/dist/runtime/components/table/utils/shared.js +16 -17
  158. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +1 -1
  159. package/dist/runtime/components/ui/chat/ChatMessage.d.vue.ts +7 -0
  160. package/dist/runtime/components/ui/chat/ChatMessage.vue +35 -0
  161. package/dist/runtime/components/ui/chat/ChatMessage.vue.d.ts +7 -0
  162. package/dist/runtime/components/ui/chat/ChatMessagePart.d.vue.ts +7 -0
  163. package/dist/runtime/components/ui/chat/ChatMessagePart.vue +43 -0
  164. package/dist/runtime/components/ui/chat/ChatMessagePart.vue.d.ts +7 -0
  165. package/dist/runtime/components/ui/chat/ChatMessages.d.vue.ts +18 -0
  166. package/dist/runtime/components/ui/chat/ChatMessages.vue +63 -0
  167. package/dist/runtime/components/ui/chat/ChatMessages.vue.d.ts +18 -0
  168. package/dist/runtime/components/ui/chat/ChatPrompt.d.vue.ts +24 -0
  169. package/dist/runtime/components/ui/chat/ChatPrompt.vue +43 -0
  170. package/dist/runtime/components/ui/chat/ChatPrompt.vue.d.ts +24 -0
  171. package/dist/runtime/components/ui/chat/ChatPromptSubmit.d.vue.ts +18 -0
  172. package/dist/runtime/components/ui/chat/ChatPromptSubmit.vue +41 -0
  173. package/dist/runtime/components/ui/chat/ChatPromptSubmit.vue.d.ts +18 -0
  174. package/dist/runtime/components/ui/chat/ChatReasoning.d.vue.ts +7 -0
  175. package/dist/runtime/components/ui/chat/ChatReasoning.vue +33 -0
  176. package/dist/runtime/components/ui/chat/ChatReasoning.vue.d.ts +7 -0
  177. package/dist/runtime/components/ui/chat/ChatToolCall.d.vue.ts +10 -0
  178. package/dist/runtime/components/ui/chat/ChatToolCall.vue +92 -0
  179. package/dist/runtime/components/ui/chat/ChatToolCall.vue.d.ts +10 -0
  180. package/dist/runtime/components/ui/chat/index.d.ts +9 -0
  181. package/dist/runtime/components/ui/chat/index.js +8 -0
  182. package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.d.vue.ts +15 -0
  183. package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.vue +22 -0
  184. package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.vue.d.ts +15 -0
  185. package/dist/runtime/components/ui/stream-markdown/index.d.ts +1 -0
  186. package/dist/runtime/components/ui/stream-markdown/index.js +1 -0
  187. package/dist/runtime/share/coerce-from-string.d.ts +62 -0
  188. package/dist/runtime/share/coerce-from-string.js +154 -0
  189. package/dist/runtime/share/locale.d.ts +13 -7
  190. package/dist/runtime/share/locale.js +27 -5
  191. package/dist/runtime/share/use-persisted-chat.d.ts +30 -0
  192. package/dist/runtime/share/use-persisted-chat.js +34 -0
  193. package/dist/runtime/utils/ai/index.d.ts +10 -0
  194. package/dist/runtime/utils/ai/index.js +123 -33
  195. package/dist/runtime/utils/ai/parts.d.ts +30 -0
  196. package/dist/runtime/utils/ai/parts.js +9 -0
  197. package/dist/runtime/utils/cel-context.d.ts +1 -0
  198. package/dist/runtime/utils/cel-context.js +28 -0
  199. package/package.json +4 -8
  200. package/dist/mcp.mjs +0 -102434
  201. package/dist/preview/assets/FieldGroup.vue_vue_type_script_setup_true_lang-BK4nj6mF.js +0 -1
  202. package/dist/preview/assets/badge-Df9KgnrB.js +0 -1
  203. package/dist/preview/assets/config-B3NwVBxT.js +0 -1
  204. package/dist/preview/assets/config-BrtNnMlJ.js +0 -1
  205. package/dist/preview/assets/config-CUJNegvX.js +0 -1
  206. package/dist/preview/assets/config-ChrXUmKf.js +0 -1
  207. package/dist/preview/assets/config-CmEXMpIU.js +0 -1
  208. package/dist/preview/assets/config-CrBoFiYB.js +0 -1
  209. package/dist/preview/assets/config-D-Hf0dls.js +0 -1
  210. package/dist/preview/assets/config-D4cXwy75.js +0 -1
  211. package/dist/preview/assets/config-DCj5Qyiq.js +0 -1
  212. package/dist/preview/assets/config-DPfx03nM.js +0 -1
  213. package/dist/preview/assets/config-DWF0bcmF.js +0 -1
  214. package/dist/preview/assets/config-Do4K9hI7.js +0 -1
  215. package/dist/preview/assets/config-DwblM1r8.js +0 -1
  216. package/dist/preview/assets/config-MW5Hs8yE.js +0 -1
  217. package/dist/preview/assets/config-uNoNEc-1.js +0 -1
  218. package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-CbtpddWK.js +0 -1
  219. package/dist/preview/assets/index-Bm7I4Tr0.css +0 -1
  220. package/dist/preview/assets/index-CkyV576r.js +0 -775
  221. package/dist/preview/assets/index-CtW2E0ME.js +0 -1
  222. package/dist/preview/assets/index-xDmBF3zO.js +0 -1
  223. package/dist/preview/assets/item-D0e9Cx1Q.js +0 -1
  224. package/dist/preview/assets/runtime-3tGIbclh.js +0 -1
  225. package/dist/preview/assets/runtime-BCePD3XR.js +0 -1
  226. package/dist/preview/assets/runtime-BMyFUaSM.js +0 -1
  227. package/dist/preview/assets/runtime-BXZU3EqA.js +0 -1
  228. package/dist/preview/assets/runtime-BySNFNSO.js +0 -1
  229. package/dist/preview/assets/runtime-CI02gDFj.js +0 -1
  230. package/dist/preview/assets/runtime-DCo1Qp8a.js +0 -1
  231. package/dist/preview/assets/runtime-DDSKV70N.js +0 -1
  232. package/dist/preview/assets/runtime-Dc7pytUy.js +0 -1
  233. package/dist/preview/assets/runtime-ckLrkTMm.js +0 -1
  234. package/dist/preview/assets/runtime-y4oJ8VkY.js +0 -1
  235. package/dist/preview/assets/schema-meta-D0y0sKal.js +0 -1
  236. package/dist/preview/index.html +0 -19
@@ -0,0 +1,30 @@
1
+ export interface TextUIPart {
2
+ type: 'text';
3
+ text: string;
4
+ state?: 'streaming' | 'done';
5
+ }
6
+ export interface ReasoningUIPart {
7
+ type: 'reasoning';
8
+ text: string;
9
+ state?: 'streaming' | 'done';
10
+ }
11
+ export interface StepStartUIPart {
12
+ type: 'step-start';
13
+ }
14
+ export interface ToolUIPart {
15
+ type: `tool-${string}`;
16
+ toolCallId: string;
17
+ state: 'input-streaming' | 'input-available' | 'output-available' | 'output-error';
18
+ input?: unknown;
19
+ output?: unknown;
20
+ errorText?: string;
21
+ }
22
+ export type UIMessagePart = TextUIPart | ReasoningUIPart | StepStartUIPart | ToolUIPart;
23
+ export interface UIMessage {
24
+ id: string;
25
+ role: 'user' | 'assistant';
26
+ parts: UIMessagePart[];
27
+ }
28
+ export declare function isToolUIPart(part: UIMessagePart): part is ToolUIPart;
29
+ export declare function toolNameOf(part: ToolUIPart): string;
30
+ export declare function createMessageId(): string;
@@ -0,0 +1,9 @@
1
+ export function isToolUIPart(part) {
2
+ return part.type.startsWith("tool-");
3
+ }
4
+ export function toolNameOf(part) {
5
+ return part.type.slice("tool-".length);
6
+ }
7
+ export function createMessageId() {
8
+ return crypto.randomUUID();
9
+ }
@@ -122,3 +122,4 @@ export declare function provideStepRoster(roster: Ref<ReadonlyArray<StepRef>>):
122
122
  */
123
123
  export declare function useStepRoster(): Ref<ReadonlyArray<StepRef>>;
124
124
  export declare function celBindings(context: CELContext): Record<string, unknown>;
125
+ export declare function celScope(context: CELContext, locals?: Record<string, unknown>): Record<string, unknown>;
@@ -69,3 +69,31 @@ export function celBindings(context) {
69
69
  }
70
70
  return out;
71
71
  }
72
+ function resolveCelVar(entry) {
73
+ if (entry === void 0) return void 0;
74
+ const value = entry.value;
75
+ return typeof value === "function" ? value() : value;
76
+ }
77
+ export function celScope(context, locals) {
78
+ return new Proxy(/* @__PURE__ */ Object.create(null), {
79
+ get(_target, key) {
80
+ if (typeof key !== "string") return void 0;
81
+ if (locals && key in locals) return locals[key];
82
+ return resolveCelVar(context[key]);
83
+ },
84
+ has(_target, key) {
85
+ if (typeof key !== "string") return false;
86
+ return !!locals && key in locals || key in context;
87
+ },
88
+ ownKeys() {
89
+ return [.../* @__PURE__ */ new Set([...Object.keys(context), ...Object.keys(locals ?? {})])];
90
+ },
91
+ getOwnPropertyDescriptor(_target, key) {
92
+ if (typeof key !== "string") return void 0;
93
+ if (locals && key in locals || key in context) {
94
+ return { enumerable: true, configurable: true, writable: true, value: void 0 };
95
+ }
96
+ return void 0;
97
+ }
98
+ });
99
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/config",
3
- "version": "2.11.5",
3
+ "version": "2.12.0",
4
4
  "description": "Configurable UI for SHWFED",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -13,9 +13,6 @@
13
13
  }
14
14
  },
15
15
  "main": "./dist/module.mjs",
16
- "bin": {
17
- "config": "./dist/mcp.mjs"
18
- },
19
16
  "typesVersions": {
20
17
  "*": {
21
18
  ".": [
@@ -31,7 +28,7 @@
31
28
  ],
32
29
  "scripts": {
33
30
  "prepare": "husky && nuxt prepare",
34
- "prepack": "nuxt-module-build build && vite build --config vite.mcp.config.ts && vite build --config vite.preview.config.ts && chmod +x dist/mcp.mjs",
31
+ "prepack": "nuxt-module-build build",
35
32
  "dev": "npm run dev:prepare && nuxt dev playground",
36
33
  "dev:build": "nuxt build playground",
37
34
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
@@ -53,7 +50,6 @@
53
50
  "@internationalized/date": "^3.12.1",
54
51
  "@intlify/unplugin-vue-i18n": "^11.2.3",
55
52
  "@lezer/highlight": "^1.2.3",
56
- "@modelcontextprotocol/sdk": "^1.29.0",
57
53
  "@number-flow/vue": "^0.5.0",
58
54
  "@nuxt/kit": "^4.4.5",
59
55
  "@tailwindcss/typography": "^0.5.19",
@@ -72,12 +68,12 @@
72
68
  "fx-fetch": "^1.1.2",
73
69
  "markdown-it": "^14.1.1",
74
70
  "reka-ui": "^2.9.7",
71
+ "remend": "^1.3.0",
75
72
  "tailwind-merge": "^3.6.0",
76
73
  "tailwindcss": "^4.3.0",
77
74
  "vaul-vue": "^0.4.1",
78
75
  "vue-i18n": "^11.4.4",
79
- "vue-sonner": "^2.0.0",
80
- "zod": "^4.4.3"
76
+ "vue-sonner": "^2.0.0"
81
77
  },
82
78
  "devDependencies": {
83
79
  "@commitlint/cli": "^21.0.0",