@shwfed/config 2.12.4 → 2.12.6

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 (250) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +5 -0
  3. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue +9 -2
  4. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +8 -2
  5. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.js +3 -3
  6. package/dist/runtime/components/actions/components/group.vue +3 -1
  7. package/dist/runtime/components/actions/schema.d.ts +16 -4
  8. package/dist/runtime/components/actions/schema.js +5 -5
  9. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +68 -68
  10. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +68 -68
  11. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +68 -68
  12. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +68 -68
  13. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +34 -34
  14. package/dist/runtime/components/config/footer.d.vue.ts +4 -0
  15. package/dist/runtime/components/config/footer.vue +25 -12
  16. package/dist/runtime/components/config/footer.vue.d.ts +4 -0
  17. package/dist/runtime/components/config/history-picker.d.vue.ts +15 -0
  18. package/dist/runtime/components/config/history-picker.vue +155 -0
  19. package/dist/runtime/components/config/history-picker.vue.d.ts +15 -0
  20. package/dist/runtime/components/config/index.d.vue.ts +4 -0
  21. package/dist/runtime/components/config/index.vue +31 -4
  22. package/dist/runtime/components/config/index.vue.d.ts +4 -0
  23. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +5 -3
  24. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +8 -2
  25. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +2 -2
  26. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +5 -3
  27. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +8 -2
  28. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +2 -2
  29. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
  30. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
  31. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.js +1 -1
  32. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +5 -3
  33. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +8 -2
  34. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +2 -2
  35. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +6 -6
  36. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +6 -6
  37. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +5 -3
  38. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +8 -2
  39. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +2 -2
  40. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +2 -2
  41. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +2 -2
  42. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +5 -3
  43. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +8 -2
  44. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +2 -2
  45. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +8 -8
  46. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +8 -8
  47. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +5 -3
  48. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +8 -2
  49. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +2 -2
  50. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.d.vue.ts +2 -2
  51. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue.d.ts +2 -2
  52. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue +5 -3
  53. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +8 -2
  54. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.js +2 -2
  55. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +4 -4
  56. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +4 -4
  57. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue +5 -3
  58. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +8 -2
  59. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js +2 -2
  60. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +2 -2
  61. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +2 -2
  62. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +5 -3
  63. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +8 -2
  64. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +2 -2
  65. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +2 -2
  66. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +2 -2
  67. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue +5 -3
  68. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +8 -2
  69. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js +2 -2
  70. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue +5 -3
  71. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +8 -2
  72. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +2 -2
  73. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
  74. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
  75. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.js +1 -1
  76. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +5 -3
  77. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +8 -2
  78. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.js +1 -1
  79. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue +4 -3
  80. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +8 -2
  81. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +1 -1
  82. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +2 -2
  83. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +2 -2
  84. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +5 -3
  85. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +9 -3
  86. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +2 -2
  87. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue +4 -3
  88. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +8 -2
  89. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.js +1 -1
  90. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue +4 -3
  91. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +8 -2
  92. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.js +1 -1
  93. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/runtime.vue +5 -3
  94. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +8 -2
  95. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.js +2 -1
  96. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +18 -18
  97. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +18 -18
  98. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue +4 -3
  99. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts +8 -2
  100. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.js +1 -1
  101. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue +5 -3
  102. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +8 -2
  103. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js +2 -2
  104. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +6 -6
  105. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +6 -6
  106. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue +5 -3
  107. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +8 -2
  108. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.js +2 -2
  109. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue +4 -3
  110. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.d.ts +8 -2
  111. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.js +1 -1
  112. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +18 -18
  113. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +18 -18
  114. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue +4 -3
  115. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +8 -2
  116. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.js +1 -1
  117. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +18 -18
  118. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +18 -18
  119. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue +4 -3
  120. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.d.ts +8 -2
  121. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.js +1 -1
  122. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/runtime.vue +4 -3
  123. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.d.ts +8 -2
  124. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.js +1 -1
  125. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
  126. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
  127. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.js +1 -1
  128. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +18 -18
  129. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +18 -18
  130. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue +4 -3
  131. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +8 -2
  132. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.js +1 -1
  133. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +18 -18
  134. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +18 -18
  135. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue +4 -3
  136. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +8 -2
  137. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.js +1 -1
  138. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +18 -18
  139. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +18 -18
  140. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue +4 -3
  141. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +8 -2
  142. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js +1 -1
  143. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +18 -18
  144. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +18 -18
  145. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue +4 -3
  146. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +8 -2
  147. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js +1 -1
  148. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue +5 -3
  149. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +8 -2
  150. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.js +1 -1
  151. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.vue +5 -3
  152. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +8 -2
  153. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.js +1 -1
  154. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
  155. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
  156. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.js +1 -1
  157. package/dist/runtime/components/sidebar/index.d.vue.ts +22 -3
  158. package/dist/runtime/components/sidebar/index.vue +66 -5
  159. package/dist/runtime/components/sidebar/index.vue.d.ts +22 -3
  160. package/dist/runtime/components/sidebar/node.d.vue.ts +1 -1
  161. package/dist/runtime/components/sidebar/node.vue +33 -13
  162. package/dist/runtime/components/sidebar/node.vue.d.ts +1 -1
  163. package/dist/runtime/components/sidebar/tree.vue +113 -83
  164. package/dist/runtime/components/sidebar/types.d.ts +8 -0
  165. package/dist/runtime/components/sidebar/types.js +1 -0
  166. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
  167. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
  168. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
  169. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
  170. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
  171. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
  172. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
  173. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
  174. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
  175. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
  176. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
  177. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
  178. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  179. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  180. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  181. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  182. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  183. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  184. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  185. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  186. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  187. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  188. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  189. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  190. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  191. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue +224 -133
  192. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  193. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  194. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue +224 -133
  195. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  196. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  197. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  198. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  199. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  200. package/dist/runtime/components/table/customization.d.vue.ts +15 -0
  201. package/dist/runtime/components/table/customization.vue +633 -0
  202. package/dist/runtime/components/table/customization.vue.d.ts +15 -0
  203. package/dist/runtime/components/table/index.vue +69 -6
  204. package/dist/runtime/components/table/schema.d.ts +68 -68
  205. package/dist/runtime/components/table/utils/customization.d.ts +158 -0
  206. package/dist/runtime/components/table/utils/customization.js +315 -0
  207. package/dist/runtime/components/table/utils/row-reorder.d.ts +3 -2
  208. package/dist/runtime/components/table/utils/row-reorder.js +1 -12
  209. package/dist/runtime/components/tabs/index.d.vue.ts +9 -0
  210. package/dist/runtime/components/tabs/index.vue +92 -0
  211. package/dist/runtime/components/tabs/index.vue.d.ts +9 -0
  212. package/dist/runtime/components/tabs/tab.d.vue.ts +22 -0
  213. package/dist/runtime/components/tabs/tab.vue +85 -0
  214. package/dist/runtime/components/tabs/tab.vue.d.ts +22 -0
  215. package/dist/runtime/components/tabs/types.d.ts +19 -0
  216. package/dist/runtime/components/tabs/types.js +0 -0
  217. package/dist/runtime/components/tabs/use-reorder.d.ts +10 -0
  218. package/dist/runtime/components/tabs/use-reorder.js +90 -0
  219. package/dist/runtime/components/tabs/use-tabs.d.ts +46 -0
  220. package/dist/runtime/components/tabs/use-tabs.js +101 -0
  221. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  222. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  223. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  224. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  225. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  226. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  227. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  228. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  229. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +1 -1
  230. package/dist/runtime/components/ui/sidebar/index.js +2 -2
  231. package/dist/runtime/share/reorder.d.ts +2 -0
  232. package/dist/runtime/share/reorder.js +12 -0
  233. package/dist/runtime/utils/nav-registry.d.ts +19 -0
  234. package/dist/runtime/utils/nav-registry.js +14 -0
  235. package/dist/runtime/utils/page-title-registry.d.ts +3 -0
  236. package/dist/runtime/utils/page-title-registry.js +11 -0
  237. package/dist/runtime/vendor/cel-js/CLAUDE.md +6 -5
  238. package/dist/runtime/vendor/cel-js/PROMPT.md +97 -19
  239. package/dist/runtime/vendor/cel-js/lib/decimal.d.ts +4 -0
  240. package/dist/runtime/vendor/cel-js/lib/decimal.js +35 -0
  241. package/dist/runtime/vendor/cel-js/lib/evaluator.js +2 -0
  242. package/dist/runtime/vendor/cel-js/lib/functions.js +107 -134
  243. package/dist/runtime/vendor/cel-js/lib/macros.js +125 -16
  244. package/dist/runtime/vendor/cel-js/lib/math-builtins.d.ts +2 -0
  245. package/dist/runtime/vendor/cel-js/lib/math-builtins.js +39 -0
  246. package/dist/runtime/vendor/cel-js/lib/optional.d.ts +4 -0
  247. package/dist/runtime/vendor/cel-js/lib/optional.js +73 -21
  248. package/dist/runtime/vendor/cel-js/lib/parser.js +2 -6
  249. package/dist/runtime/vendor/cel-js/lib/registry.js +2 -2
  250. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { Expression } from "../../../../../share/expression.js";
2
+ import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
3
3
  import { Locale } from "../../../../../share/locale.js";
4
4
  import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
5
5
  export const type = "com.shwfed.form.field.numberrange";
@@ -39,7 +39,7 @@ export function schema(configure) {
39
39
  title: "\u7ED3\u675F\u5360\u4F4D\u7B26",
40
40
  description: "\u672A\u8F93\u5165\u7ED3\u675F\u6570\u503C\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
41
41
  })),
42
- tooltip: Schema.optional(Locale.annotations({
42
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
43
43
  title: "\u63D0\u793A",
44
44
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
45
45
  })),
@@ -5,6 +5,7 @@ import { useI18n } from "vue-i18n";
5
5
  import { cel as _rawCel } from "../../../../../utils/cel";
6
6
  import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
7
7
  import { getLocalizedText } from "../../../../../share/locale";
8
+ import { interpolateMarkdown } from "../../../../table/utils/runtime";
8
9
  import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
9
10
  import { Markdown } from "../../../../ui/markdown";
10
11
  import { Switch } from "../../../../ui/switch";
@@ -22,9 +23,10 @@ const formScope = useFormScope();
22
23
  const inherited = injectCELContext();
23
24
  const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
24
25
  const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
25
- const tooltipText = computed(
26
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
27
- );
26
+ const tooltipText = computed(() => {
27
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
28
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
29
+ });
28
30
  const trueText = computed(
29
31
  () => getLocalizedText(props.config.trueLabel, locale.value) || "\u662F"
30
32
  );
@@ -30,7 +30,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
30
30
  readonly locale: "en" | "ja" | "ko";
31
31
  readonly message: string;
32
32
  }[]], never>>;
33
- tooltip: Schema.optional<Schema.suspend<readonly [{
33
+ tooltip: Schema.optional<Schema.refine<readonly [{
34
+ readonly locale: "zh";
35
+ readonly message: string;
36
+ }, ...{
37
+ readonly locale: "en" | "ja" | "ko";
38
+ readonly message: string;
39
+ }[]], Schema.suspend<readonly [{
34
40
  readonly locale: "zh";
35
41
  readonly message: string;
36
42
  }, ...{
@@ -42,7 +48,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
42
48
  }, ...{
43
49
  readonly locale: "en" | "ja" | "ko";
44
50
  readonly message: string;
45
- }[]], never>>;
51
+ }[]], never>>>;
46
52
  trueLabel: Schema.optional<Schema.suspend<readonly [{
47
53
  readonly locale: "zh";
48
54
  readonly message: string;
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { Expression } from "../../../../../share/expression.js";
2
+ import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
3
3
  import { Locale } from "../../../../../share/locale.js";
4
4
  import { commonFieldFields, derivedField } from "../../../utils/common.js";
5
5
  export const type = "com.shwfed.form.field.switch";
@@ -20,7 +20,7 @@ export function schema(configure) {
20
20
  title: "\u6807\u7B7E",
21
21
  description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
22
22
  })),
23
- tooltip: Schema.optional(Locale.annotations({
23
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
24
24
  title: "\u63D0\u793A",
25
25
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
26
26
  })),
@@ -55,9 +55,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
55
55
  const placeholderText = computed(
56
56
  () => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : t("combobox-single-placeholder")
57
57
  );
58
- const tooltipText = computed(
59
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
60
- );
58
+ const tooltipText = computed(() => {
59
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
60
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
61
+ });
61
62
  function evalBool(expression, label) {
62
63
  if (!expression) return false;
63
64
  try {
@@ -92,7 +92,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
92
92
  readonly locale: "en" | "ja" | "ko";
93
93
  readonly message: string;
94
94
  }[]], never>>;
95
- tooltip: Schema.optional<Schema.suspend<readonly [{
95
+ tooltip: Schema.optional<Schema.refine<readonly [{
96
+ readonly locale: "zh";
97
+ readonly message: string;
98
+ }, ...{
99
+ readonly locale: "en" | "ja" | "ko";
100
+ readonly message: string;
101
+ }[]], Schema.suspend<readonly [{
96
102
  readonly locale: "zh";
97
103
  readonly message: string;
98
104
  }, ...{
@@ -104,7 +110,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
104
110
  }, ...{
105
111
  readonly locale: "en" | "ja" | "ko";
106
112
  readonly message: string;
107
- }[]], never>>;
113
+ }[]], never>>>;
108
114
  orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
109
115
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
110
116
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
@@ -55,7 +55,7 @@ export function schema(configure) {
55
55
  title: "\u5360\u4F4D\u7B26",
56
56
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
57
57
  })),
58
- tooltip: Schema.optional(Locale.annotations({
58
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
59
59
  title: "\u63D0\u793A",
60
60
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
61
61
  })),
@@ -8,6 +8,7 @@ import { toast } from "vue-sonner";
8
8
  import { cel as _rawCel } from "../../../../../utils/cel";
9
9
  import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
10
10
  import { getLocalizedText } from "../../../../../share/locale";
11
+ import { interpolateMarkdown } from "../../../../table/utils/runtime";
11
12
  import { Button } from "../../../../ui/button";
12
13
  import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
13
14
  import { Markdown } from "../../../../ui/markdown";
@@ -113,9 +114,10 @@ const labelText = computed(
113
114
  const descriptionText = computed(
114
115
  () => props.config.description ? getLocalizedText(props.config.description, locale.value) : void 0
115
116
  );
116
- const tooltipText = computed(
117
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
118
- );
117
+ const tooltipText = computed(() => {
118
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
119
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
120
+ });
119
121
  const templateLabelText = computed(
120
122
  () => (props.config.templateLabel ? getLocalizedText(props.config.templateLabel, locale.value) : void 0) ?? "\u4E0B\u8F7D\u6A21\u677F"
121
123
  );
@@ -68,7 +68,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
68
68
  readonly locale: "en" | "ja" | "ko";
69
69
  readonly message: string;
70
70
  }[]], never>>;
71
- tooltip: Schema.optional<Schema.suspend<readonly [{
71
+ tooltip: Schema.optional<Schema.refine<readonly [{
72
+ readonly locale: "zh";
73
+ readonly message: string;
74
+ }, ...{
75
+ readonly locale: "en" | "ja" | "ko";
76
+ readonly message: string;
77
+ }[]], Schema.suspend<readonly [{
72
78
  readonly locale: "zh";
73
79
  readonly message: string;
74
80
  }, ...{
@@ -80,7 +86,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
80
86
  }, ...{
81
87
  readonly locale: "en" | "ja" | "ko";
82
88
  readonly message: string;
83
- }[]], never>>;
89
+ }[]], never>>>;
84
90
  orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
85
91
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
86
92
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
@@ -42,7 +42,7 @@ export function schema(configure) {
42
42
  title: "\u5360\u4F4D\u7B26",
43
43
  description: "\u4E0A\u4F20\u533A\u57DF\u4E3A\u7A7A\u65F6\u7684\u63D0\u793A\u6587\u672C"
44
44
  })),
45
- tooltip: Schema.optional(Locale.annotations({
45
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
46
46
  title: "\u63D0\u793A",
47
47
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
48
48
  })),
@@ -59,9 +59,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
59
59
  const placeholderText = computed(
60
60
  () => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : void 0
61
61
  );
62
- const tooltipText = computed(
63
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
64
- );
62
+ const tooltipText = computed(() => {
63
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
64
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
65
+ });
65
66
  function evalBool(expression, label) {
66
67
  if (!expression) return false;
67
68
  try {
@@ -53,7 +53,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]], never>>;
56
- tooltip: Schema.optional<Schema.suspend<readonly [{
56
+ tooltip: Schema.optional<Schema.refine<readonly [{
57
+ readonly locale: "zh";
58
+ readonly message: string;
59
+ }, ...{
60
+ readonly locale: "en" | "ja" | "ko";
61
+ readonly message: string;
62
+ }[]], Schema.suspend<readonly [{
57
63
  readonly locale: "zh";
58
64
  readonly message: string;
59
65
  }, ...{
@@ -65,7 +71,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
65
71
  }, ...{
66
72
  readonly locale: "en" | "ja" | "ko";
67
73
  readonly message: string;
68
- }[]], never>>;
74
+ }[]], never>>>;
69
75
  orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
70
76
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
71
77
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
@@ -51,7 +51,7 @@ export function schema(configure) {
51
51
  title: "\u5360\u4F4D\u7B26",
52
52
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
53
53
  })),
54
- tooltip: Schema.optional(Locale.annotations({
54
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
55
55
  title: "\u63D0\u793A",
56
56
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
57
57
  })),
@@ -32,8 +32,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
32
32
  }[]] | undefined;
33
33
  readonly displayName?: string | undefined;
34
34
  readonly max?: number | undefined;
35
- readonly compatibilityDate: "2026-05-13";
36
35
  readonly min?: number | undefined;
36
+ readonly compatibilityDate: "2026-05-13";
37
37
  readonly unit: Readonly<{
38
38
  fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
39
39
  layouts: readonly Readonly<{
@@ -101,8 +101,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
101
101
  }[]] | undefined;
102
102
  readonly displayName?: string | undefined;
103
103
  readonly max?: number | undefined;
104
- readonly compatibilityDate: "2026-05-13";
105
104
  readonly min?: number | undefined;
105
+ readonly compatibilityDate: "2026-05-13";
106
106
  readonly unit: Readonly<{
107
107
  fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
108
108
  layouts: readonly Readonly<{
@@ -32,8 +32,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
32
32
  }[]] | undefined;
33
33
  readonly displayName?: string | undefined;
34
34
  readonly max?: number | undefined;
35
- readonly compatibilityDate: "2026-05-13";
36
35
  readonly min?: number | undefined;
36
+ readonly compatibilityDate: "2026-05-13";
37
37
  readonly unit: Readonly<{
38
38
  fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
39
39
  layouts: readonly Readonly<{
@@ -101,8 +101,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
101
101
  }[]] | undefined;
102
102
  readonly displayName?: string | undefined;
103
103
  readonly max?: number | undefined;
104
- readonly compatibilityDate: "2026-05-13";
105
104
  readonly min?: number | undefined;
105
+ readonly compatibilityDate: "2026-05-13";
106
106
  readonly unit: Readonly<{
107
107
  fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
108
108
  layouts: readonly Readonly<{
@@ -7,6 +7,7 @@ import { cel as _rawCel } from "../../../../../utils/cel";
7
7
  import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
8
8
  import { interpolate } from "../../../../../utils/interpolate";
9
9
  import { getLocalizedText } from "../../../../../share/locale";
10
+ import { interpolateMarkdown } from "../../../../table/utils/runtime";
10
11
  import {
11
12
  useTreeDnd
12
13
  } from "../../../../../composables/useTreeDnd";
@@ -28,9 +29,10 @@ const formScope = useFormScope();
28
29
  const inherited = injectCELContext();
29
30
  const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
30
31
  const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
31
- const tooltipText = computed(
32
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
33
- );
32
+ const tooltipText = computed(() => {
33
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
34
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
35
+ });
34
36
  const addLabelText = computed(
35
37
  () => getLocalizedText(props.config.addLabel, locale.value) || "\u65B0\u589E"
36
38
  );
@@ -47,8 +47,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.re
47
47
  }[]] | undefined;
48
48
  readonly displayName?: string | undefined;
49
49
  readonly max?: number | undefined;
50
- readonly compatibilityDate: "2026-05-13";
51
50
  readonly min?: number | undefined;
51
+ readonly compatibilityDate: "2026-05-13";
52
52
  readonly unit: Readonly<{
53
53
  fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
54
54
  layouts: ReadonlyArray<import("../../../schema.js").LayoutSetValue>;
@@ -95,7 +95,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.re
95
95
  readonly locale: "en" | "ja" | "ko";
96
96
  readonly message: string;
97
97
  }[]], never>>;
98
- tooltip: Schema.optional<Schema.suspend<readonly [{
98
+ tooltip: Schema.optional<Schema.refine<readonly [{
99
+ readonly locale: "zh";
100
+ readonly message: string;
101
+ }, ...{
102
+ readonly locale: "en" | "ja" | "ko";
103
+ readonly message: string;
104
+ }[]], Schema.suspend<readonly [{
99
105
  readonly locale: "zh";
100
106
  readonly message: string;
101
107
  }, ...{
@@ -107,7 +113,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.re
107
113
  }, ...{
108
114
  readonly locale: "en" | "ja" | "ko";
109
115
  readonly message: string;
110
- }[]], never>>;
116
+ }[]], never>>>;
111
117
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
112
118
  addLabel: Schema.optional<Schema.suspend<readonly [{
113
119
  readonly locale: "zh";
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import { Expression } from "../../../../../share/expression.js";
2
+ import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
3
3
  import { Locale } from "../../../../../share/locale.js";
4
4
  import { FormUnit } from "../../../schema.js";
5
5
  import { commonFieldFields } from "../../../utils/common.js";
@@ -35,7 +35,7 @@ export function schema(configure) {
35
35
  title: "\u6807\u7B7E",
36
36
  description: "\u5217\u8868\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
37
37
  })),
38
- tooltip: Schema.optional(Locale.annotations({
38
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
39
39
  title: "\u63D0\u793A",
40
40
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
41
41
  })),
@@ -30,9 +30,10 @@ const formScope = useFormScope();
30
30
  const inherited = injectCELContext();
31
31
  const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
32
32
  const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
33
- const tooltipText = computed(
34
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
35
- );
33
+ const tooltipText = computed(() => {
34
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
35
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
36
+ });
36
37
  function evalBool(expression, label) {
37
38
  if (!expression) return false;
38
39
  try {
@@ -78,7 +78,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
78
78
  readonly locale: "en" | "ja" | "ko";
79
79
  readonly message: string;
80
80
  }[]], never>>;
81
- tooltip: Schema.optional<Schema.suspend<readonly [{
81
+ tooltip: Schema.optional<Schema.refine<readonly [{
82
+ readonly locale: "zh";
83
+ readonly message: string;
84
+ }, ...{
85
+ readonly locale: "en" | "ja" | "ko";
86
+ readonly message: string;
87
+ }[]], Schema.suspend<readonly [{
82
88
  readonly locale: "zh";
83
89
  readonly message: string;
84
90
  }, ...{
@@ -90,7 +96,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
90
96
  }, ...{
91
97
  readonly locale: "en" | "ja" | "ko";
92
98
  readonly message: string;
93
- }[]], never>>;
99
+ }[]], never>>>;
94
100
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
95
101
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
96
102
  readonly: Schema.optional<Schema.Schema<string, string, never>>;
@@ -50,7 +50,7 @@ export function schema(configure) {
50
50
  title: "\u6807\u7B7E",
51
51
  description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
52
52
  })),
53
- tooltip: Schema.optional(Locale.annotations({
53
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
54
54
  title: "\u63D0\u793A",
55
55
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
56
56
  })),
@@ -30,9 +30,10 @@ const formScope = useFormScope();
30
30
  const inherited = injectCELContext();
31
31
  const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
32
32
  const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
33
- const tooltipText = computed(
34
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
35
- );
33
+ const tooltipText = computed(() => {
34
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
35
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
36
+ });
36
37
  function evalBool(expression, label) {
37
38
  if (!expression) return false;
38
39
  try {
@@ -78,7 +78,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
78
78
  readonly locale: "en" | "ja" | "ko";
79
79
  readonly message: string;
80
80
  }[]], never>>;
81
- tooltip: Schema.optional<Schema.suspend<readonly [{
81
+ tooltip: Schema.optional<Schema.refine<readonly [{
82
+ readonly locale: "zh";
83
+ readonly message: string;
84
+ }, ...{
85
+ readonly locale: "en" | "ja" | "ko";
86
+ readonly message: string;
87
+ }[]], Schema.suspend<readonly [{
82
88
  readonly locale: "zh";
83
89
  readonly message: string;
84
90
  }, ...{
@@ -90,7 +96,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
90
96
  }, ...{
91
97
  readonly locale: "en" | "ja" | "ko";
92
98
  readonly message: string;
93
- }[]], never>>;
99
+ }[]], never>>>;
94
100
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
95
101
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
96
102
  readonly: Schema.optional<Schema.Schema<string, string, never>>;
@@ -50,7 +50,7 @@ export function schema(configure) {
50
50
  title: "\u6807\u7B7E",
51
51
  description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
52
52
  })),
53
- tooltip: Schema.optional(Locale.annotations({
53
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
54
54
  title: "\u63D0\u793A",
55
55
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
56
56
  })),
@@ -4,6 +4,7 @@ import { useI18n } from "vue-i18n";
4
4
  import { cel as _rawCel } from "../../../../../utils/cel";
5
5
  import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
6
6
  import { getLocalizedText } from "../../../../../share/locale";
7
+ import { interpolateMarkdown } from "../../../../table/utils/runtime";
7
8
  import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
8
9
  import { Markdown } from "../../../../ui/markdown";
9
10
  import { useFieldValidation } from "../../../utils/validation";
@@ -25,9 +26,10 @@ const { isRequired, errors, warnings, visible } = useFieldValidation({
25
26
  locale: () => locale.value
26
27
  });
27
28
  const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
28
- const tooltipText = computed(
29
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
30
- );
29
+ const tooltipText = computed(() => {
30
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
31
+ return raw ? interpolateMarkdown(raw, $cel, {}) : void 0;
32
+ });
31
33
  const tableConfig = computed(() => {
32
34
  const { dataSource: _omit, ...rest } = props.config.table;
33
35
  return rest;
@@ -32,7 +32,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
32
32
  readonly locale: "en" | "ja" | "ko";
33
33
  readonly message: string;
34
34
  }[]], never>>;
35
- tooltip: Schema.optional<Schema.suspend<readonly [{
35
+ tooltip: Schema.optional<Schema.refine<readonly [{
36
+ readonly locale: "zh";
37
+ readonly message: string;
38
+ }, ...{
39
+ readonly locale: "en" | "ja" | "ko";
40
+ readonly message: string;
41
+ }[]], Schema.suspend<readonly [{
36
42
  readonly locale: "zh";
37
43
  readonly message: string;
38
44
  }, ...{
@@ -44,7 +50,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
44
50
  }, ...{
45
51
  readonly locale: "en" | "ja" | "ko";
46
52
  readonly message: string;
47
- }[]], never>>;
53
+ }[]], never>>>;
48
54
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
49
55
  table: Schema.suspend<Readonly<{
50
56
  kind: "shwfed.component.table";
@@ -1,5 +1,6 @@
1
1
  import { Schema } from "effect";
2
2
  import { Locale } from "../../../../../share/locale.js";
3
+ import { LocaleMarkdown } from "../../../../../share/expression.js";
3
4
  import { TableConfig, defaultTableConfig } from "../../../../table/schema.js";
4
5
  import { commonFieldFields } from "../../../utils/common.js";
5
6
  export const type = "com.shwfed.form.field.table";
@@ -25,7 +26,7 @@ export function schema(configure) {
25
26
  title: "\u6807\u7B7E",
26
27
  description: "\u8868\u683C\u4E0A\u65B9\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
27
28
  })),
28
- tooltip: Schema.optional(Locale.annotations({
29
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
29
30
  title: "\u63D0\u793A",
30
31
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E\uFF0C\u652F\u6301 Markdown"
31
32
  })),
@@ -56,6 +56,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
56
56
  readonly message: string;
57
57
  }[]];
58
58
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
59
+ readonly nodeTooltip?: readonly [{
60
+ readonly locale: "zh";
61
+ readonly message: string;
62
+ }, ...{
63
+ readonly locale: "en" | "ja" | "ko";
64
+ readonly message: string;
65
+ }[]] | undefined;
66
+ readonly nodeSelectable?: string | undefined;
67
+ readonly expandAll: boolean;
59
68
  readonly validations?: readonly {
60
69
  readonly message: readonly [{
61
70
  readonly locale: "zh";
@@ -67,15 +76,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
76
  readonly warning?: boolean | undefined;
68
77
  readonly when: string;
69
78
  }[] | undefined;
70
- readonly nodeTooltip?: readonly [{
71
- readonly locale: "zh";
72
- readonly message: string;
73
- }, ...{
74
- readonly locale: "en" | "ja" | "ko";
75
- readonly message: string;
76
- }[]] | undefined;
77
- readonly nodeSelectable?: string | undefined;
78
- readonly expandAll: boolean;
79
79
  }) => any;
80
80
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
81
81
  "onUpdate:modelValue"?: ((value: {
@@ -131,6 +131,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
131
131
  readonly message: string;
132
132
  }[]];
133
133
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
134
+ readonly nodeTooltip?: readonly [{
135
+ readonly locale: "zh";
136
+ readonly message: string;
137
+ }, ...{
138
+ readonly locale: "en" | "ja" | "ko";
139
+ readonly message: string;
140
+ }[]] | undefined;
141
+ readonly nodeSelectable?: string | undefined;
142
+ readonly expandAll: boolean;
134
143
  readonly validations?: readonly {
135
144
  readonly message: readonly [{
136
145
  readonly locale: "zh";
@@ -142,15 +151,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
142
151
  readonly warning?: boolean | undefined;
143
152
  readonly when: string;
144
153
  }[] | undefined;
145
- readonly nodeTooltip?: readonly [{
146
- readonly locale: "zh";
147
- readonly message: string;
148
- }, ...{
149
- readonly locale: "en" | "ja" | "ko";
150
- readonly message: string;
151
- }[]] | undefined;
152
- readonly nodeSelectable?: string | undefined;
153
- readonly expandAll: boolean;
154
154
  }) => any) | undefined;
155
155
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
156
156
  declare const _default: typeof __VLS_export;