@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
@@ -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;
@@ -49,9 +49,10 @@ const formScope = useFormScope();
49
49
  const inherited = injectCELContext();
50
50
  const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
51
51
  const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
52
- const tooltipText = computed(
53
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
54
- );
52
+ const tooltipText = computed(() => {
53
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
54
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
55
+ });
55
56
  function evalBool(expression, label) {
56
57
  if (!expression) return false;
57
58
  try {
@@ -33,7 +33,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
33
33
  readonly locale: "en" | "ja" | "ko";
34
34
  readonly message: string;
35
35
  }[]], never>>;
36
- tooltip: Schema.optional<Schema.suspend<readonly [{
36
+ tooltip: Schema.optional<Schema.refine<readonly [{
37
+ readonly locale: "zh";
38
+ readonly message: string;
39
+ }, ...{
40
+ readonly locale: "en" | "ja" | "ko";
41
+ readonly message: string;
42
+ }[]], Schema.suspend<readonly [{
37
43
  readonly locale: "zh";
38
44
  readonly message: string;
39
45
  }, ...{
@@ -45,7 +51,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
45
51
  }, ...{
46
52
  readonly locale: "en" | "ja" | "ko";
47
53
  readonly message: string;
48
- }[]], never>>;
54
+ }[]], never>>>;
49
55
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
50
56
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
51
57
  readonly: Schema.optional<Schema.Schema<string, string, never>>;
@@ -51,7 +51,7 @@ export function schema(configure) {
51
51
  title: "\u6807\u7B7E",
52
52
  description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
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
  })),
@@ -55,6 +55,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
55
55
  readonly locale: "en" | "ja" | "ko";
56
56
  readonly message: string;
57
57
  }[]];
58
+ readonly nodeTooltip?: readonly [{
59
+ readonly locale: "zh";
60
+ readonly message: string;
61
+ }, ...{
62
+ readonly locale: "en" | "ja" | "ko";
63
+ readonly message: string;
64
+ }[]] | undefined;
65
+ readonly nodeSelectable?: string | undefined;
66
+ readonly expandAll: boolean;
58
67
  readonly validations?: readonly {
59
68
  readonly message: readonly [{
60
69
  readonly locale: "zh";
@@ -66,15 +75,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
66
75
  readonly warning?: boolean | undefined;
67
76
  readonly when: string;
68
77
  }[] | undefined;
69
- readonly nodeTooltip?: readonly [{
70
- readonly locale: "zh";
71
- readonly message: string;
72
- }, ...{
73
- readonly locale: "en" | "ja" | "ko";
74
- readonly message: string;
75
- }[]] | undefined;
76
- readonly nodeSelectable?: string | undefined;
77
- readonly expandAll: boolean;
78
78
  }) => any;
79
79
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
80
80
  "onUpdate:modelValue"?: ((value: {
@@ -129,6 +129,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
129
129
  readonly locale: "en" | "ja" | "ko";
130
130
  readonly message: string;
131
131
  }[]];
132
+ readonly nodeTooltip?: readonly [{
133
+ readonly locale: "zh";
134
+ readonly message: string;
135
+ }, ...{
136
+ readonly locale: "en" | "ja" | "ko";
137
+ readonly message: string;
138
+ }[]] | undefined;
139
+ readonly nodeSelectable?: string | undefined;
140
+ readonly expandAll: boolean;
132
141
  readonly validations?: readonly {
133
142
  readonly message: readonly [{
134
143
  readonly locale: "zh";
@@ -140,15 +149,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
140
149
  readonly warning?: boolean | undefined;
141
150
  readonly when: string;
142
151
  }[] | undefined;
143
- readonly nodeTooltip?: readonly [{
144
- readonly locale: "zh";
145
- readonly message: string;
146
- }, ...{
147
- readonly locale: "en" | "ja" | "ko";
148
- readonly message: string;
149
- }[]] | undefined;
150
- readonly nodeSelectable?: string | undefined;
151
- readonly expandAll: boolean;
152
152
  }) => any) | undefined;
153
153
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
154
154
  declare const _default: typeof __VLS_export;
@@ -55,6 +55,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
55
55
  readonly locale: "en" | "ja" | "ko";
56
56
  readonly message: string;
57
57
  }[]];
58
+ readonly nodeTooltip?: readonly [{
59
+ readonly locale: "zh";
60
+ readonly message: string;
61
+ }, ...{
62
+ readonly locale: "en" | "ja" | "ko";
63
+ readonly message: string;
64
+ }[]] | undefined;
65
+ readonly nodeSelectable?: string | undefined;
66
+ readonly expandAll: boolean;
58
67
  readonly validations?: readonly {
59
68
  readonly message: readonly [{
60
69
  readonly locale: "zh";
@@ -66,15 +75,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
66
75
  readonly warning?: boolean | undefined;
67
76
  readonly when: string;
68
77
  }[] | undefined;
69
- readonly nodeTooltip?: readonly [{
70
- readonly locale: "zh";
71
- readonly message: string;
72
- }, ...{
73
- readonly locale: "en" | "ja" | "ko";
74
- readonly message: string;
75
- }[]] | undefined;
76
- readonly nodeSelectable?: string | undefined;
77
- readonly expandAll: boolean;
78
78
  }) => any;
79
79
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
80
80
  "onUpdate:modelValue"?: ((value: {
@@ -129,6 +129,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
129
129
  readonly locale: "en" | "ja" | "ko";
130
130
  readonly message: string;
131
131
  }[]];
132
+ readonly nodeTooltip?: readonly [{
133
+ readonly locale: "zh";
134
+ readonly message: string;
135
+ }, ...{
136
+ readonly locale: "en" | "ja" | "ko";
137
+ readonly message: string;
138
+ }[]] | undefined;
139
+ readonly nodeSelectable?: string | undefined;
140
+ readonly expandAll: boolean;
132
141
  readonly validations?: readonly {
133
142
  readonly message: readonly [{
134
143
  readonly locale: "zh";
@@ -140,15 +149,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
140
149
  readonly warning?: boolean | undefined;
141
150
  readonly when: string;
142
151
  }[] | undefined;
143
- readonly nodeTooltip?: readonly [{
144
- readonly locale: "zh";
145
- readonly message: string;
146
- }, ...{
147
- readonly locale: "en" | "ja" | "ko";
148
- readonly message: string;
149
- }[]] | undefined;
150
- readonly nodeSelectable?: string | undefined;
151
- readonly expandAll: boolean;
152
152
  }) => any) | undefined;
153
153
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
154
154
  declare const _default: typeof __VLS_export;
@@ -45,9 +45,10 @@ const formScope = useFormScope();
45
45
  const inherited = injectCELContext();
46
46
  const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
47
47
  const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
48
- const tooltipText = computed(
49
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
50
- );
48
+ const tooltipText = computed(() => {
49
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
50
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
51
+ });
51
52
  function evalBool(expression, label) {
52
53
  if (!expression) return false;
53
54
  try {
@@ -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
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
50
56
  readonly: Schema.optional<Schema.Schema<string, string, never>>;
@@ -47,7 +47,7 @@ export function schema(configure) {
47
47
  title: "\u6807\u7B7E",
48
48
  description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
49
49
  })),
50
- tooltip: Schema.optional(Locale.annotations({
50
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
51
51
  title: "\u63D0\u793A",
52
52
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
53
53
  })),
@@ -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";
@@ -119,9 +120,10 @@ const labelText = computed(
119
120
  const descriptionText = computed(
120
121
  () => props.config.description ? getLocalizedText(props.config.description, locale.value) : void 0
121
122
  );
122
- const tooltipText = computed(
123
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
124
- );
123
+ const tooltipText = computed(() => {
124
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
125
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
126
+ });
125
127
  function evalBool(expression, label) {
126
128
  if (!expression) return false;
127
129
  try {
@@ -83,7 +83,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
83
83
  readonly locale: "en" | "ja" | "ko";
84
84
  readonly message: string;
85
85
  }[]], never>>;
86
- tooltip: Schema.optional<Schema.suspend<readonly [{
86
+ tooltip: Schema.optional<Schema.refine<readonly [{
87
+ readonly locale: "zh";
88
+ readonly message: string;
89
+ }, ...{
90
+ readonly locale: "en" | "ja" | "ko";
91
+ readonly message: string;
92
+ }[]], Schema.suspend<readonly [{
87
93
  readonly locale: "zh";
88
94
  readonly message: string;
89
95
  }, ...{
@@ -95,7 +101,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
95
101
  }, ...{
96
102
  readonly locale: "en" | "ja" | "ko";
97
103
  readonly message: string;
98
- }[]], never>>;
104
+ }[]], never>>>;
99
105
  orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
100
106
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
101
107
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
@@ -60,7 +60,7 @@ export function schema(configure) {
60
60
  title: "\u5360\u4F4D\u7B26",
61
61
  description: "\u4E0A\u4F20\u533A\u57DF\u4E3A\u7A7A\u65F6\u7684\u63D0\u793A\u6587\u672C"
62
62
  })),
63
- tooltip: Schema.optional(Locale.annotations({
63
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
64
64
  title: "\u63D0\u793A",
65
65
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
66
66
  })),
@@ -10,6 +10,7 @@ import { cel as _rawCel } from "../../../../../utils/cel";
10
10
  import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
11
11
  import { publishOptions, publishSelection } from "../../../../../utils/selections-registry";
12
12
  import { getLocalizedText } from "../../../../../share/locale";
13
+ import { interpolateMarkdown } from "../../../../table/utils/runtime";
13
14
  import {
14
15
  Command,
15
16
  CommandEmpty,
@@ -62,9 +63,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
62
63
  const placeholderText = computed(
63
64
  () => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : t("combobox-multi-placeholder")
64
65
  );
65
- const tooltipText = computed(
66
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
67
- );
66
+ const tooltipText = computed(() => {
67
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
68
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
69
+ });
68
70
  function evalBool(expression, label) {
69
71
  if (!expression) return false;
70
72
  try {
@@ -155,7 +155,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
155
155
  readonly locale: "en" | "ja" | "ko";
156
156
  readonly message: string;
157
157
  }[]], never>>;
158
- tooltip: Schema.optional<Schema.suspend<readonly [{
158
+ tooltip: Schema.optional<Schema.refine<readonly [{
159
+ readonly locale: "zh";
160
+ readonly message: string;
161
+ }, ...{
162
+ readonly locale: "en" | "ja" | "ko";
163
+ readonly message: string;
164
+ }[]], Schema.suspend<readonly [{
159
165
  readonly locale: "zh";
160
166
  readonly message: string;
161
167
  }, ...{
@@ -167,7 +173,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
167
173
  }, ...{
168
174
  readonly locale: "en" | "ja" | "ko";
169
175
  readonly message: string;
170
- }[]], never>>;
176
+ }[]], never>>>;
171
177
  orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
172
178
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
173
179
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
@@ -126,7 +126,7 @@ export function schema(configure) {
126
126
  title: "\u5360\u4F4D\u7B26",
127
127
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
128
128
  })),
129
- tooltip: Schema.optional(Locale.annotations({
129
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
130
130
  title: "\u63D0\u793A",
131
131
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
132
132
  })),
@@ -63,9 +63,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
63
63
  const placeholderText = computed(
64
64
  () => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : t("combobox-single-placeholder")
65
65
  );
66
- const tooltipText = computed(
67
- () => props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0
68
- );
66
+ const tooltipText = computed(() => {
67
+ const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
68
+ return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
69
+ });
69
70
  function evalBool(expression, label) {
70
71
  if (!expression) return false;
71
72
  try {
@@ -155,7 +155,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
155
155
  readonly locale: "en" | "ja" | "ko";
156
156
  readonly message: string;
157
157
  }[]], never>>;
158
- tooltip: Schema.optional<Schema.suspend<readonly [{
158
+ tooltip: Schema.optional<Schema.refine<readonly [{
159
+ readonly locale: "zh";
160
+ readonly message: string;
161
+ }, ...{
162
+ readonly locale: "en" | "ja" | "ko";
163
+ readonly message: string;
164
+ }[]], Schema.suspend<readonly [{
159
165
  readonly locale: "zh";
160
166
  readonly message: string;
161
167
  }, ...{
@@ -167,7 +173,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
167
173
  }, ...{
168
174
  readonly locale: "en" | "ja" | "ko";
169
175
  readonly message: string;
170
- }[]], never>>;
176
+ }[]], never>>>;
171
177
  orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
172
178
  binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
173
179
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
@@ -126,7 +126,7 @@ export function schema(configure) {
126
126
  title: "\u5360\u4F4D\u7B26",
127
127
  description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
128
128
  })),
129
- tooltip: Schema.optional(Locale.annotations({
129
+ tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
130
130
  title: "\u63D0\u793A",
131
131
  description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
132
132
  })),
@@ -15,7 +15,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
15
15
  "update:config": (value: Readonly<{
16
16
  kind: "shwfed.component.sidebar";
17
17
  dataSource: Readonly<{
18
- request?: string;
18
+ request
19
+ /**
20
+ * `ShwfedSidebar` — a standalone, data-driven navigation sidebar. A PEER of
21
+ * `ShwfedConfig` (the page body), not a block inside it: its own serializable
22
+ * config (`v-model:config`), its own ⌘/Ctrl-click editor modal, its own CEL
23
+ * context. The navigation tree is data-driven (see `schema.ts` / `tree.vue`).
24
+ *
25
+ * Wrapped in `<ClientOnly>`: the data fetch and localStorage-backed favorites /
26
+ * open-state are client concerns, so SSR would only hydrate-mismatch.
27
+ */
28
+ ?: string;
19
29
  data: string;
20
30
  }>;
21
31
  nodeKey: string;
@@ -30,7 +40,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
30
40
  "onUpdate:config"?: ((value: Readonly<{
31
41
  kind: "shwfed.component.sidebar";
32
42
  dataSource: Readonly<{
33
- request?: string;
43
+ request
44
+ /**
45
+ * `ShwfedSidebar` — a standalone, data-driven navigation sidebar. A PEER of
46
+ * `ShwfedConfig` (the page body), not a block inside it: its own serializable
47
+ * config (`v-model:config`), its own ⌘/Ctrl-click editor modal, its own CEL
48
+ * context. The navigation tree is data-driven (see `schema.ts` / `tree.vue`).
49
+ *
50
+ * Wrapped in `<ClientOnly>`: the data fetch and localStorage-backed favorites /
51
+ * open-state are client concerns, so SSR would only hydrate-mismatch.
52
+ */
53
+ ?: string;
34
54
  data: string;
35
55
  }>;
36
56
  nodeKey: string;
@@ -44,7 +64,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
44
64
  }>, {
45
65
  width: string;
46
66
  collapsible: "offcanvas" | "icon" | "none";
47
- storageKey: string;
48
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
68
  declare const _default: typeof __VLS_export;
50
69
  export default _default;
@@ -1,5 +1,7 @@
1
1
  <script setup>
2
2
  import { computed, ref, watch } from "vue";
3
+ import { useLocalStorage } from "@vueuse/core";
4
+ import { useRuntimeConfig } from "#app";
3
5
  import { injectCELContext } from "../../utils/cel-context";
4
6
  import { Sidebar, SidebarProvider } from "../ui/sidebar";
5
7
  import ShwfedModal from "../modal.vue";
@@ -19,10 +21,54 @@ const config = computed({
19
21
  const props = defineProps({
20
22
  configure: { type: Function, required: false },
21
23
  editable: { type: Boolean, required: false },
22
- storageKey: { type: String, required: false, default: "shwfed-sidebar" },
24
+ storageKey: { type: String, required: false },
23
25
  collapsible: { type: String, required: false, default: "none" },
24
26
  width: { type: String, required: false, default: "13rem" }
25
27
  });
28
+ const runtimeConfig = useRuntimeConfig();
29
+ const job = runtimeConfig.public.shwfed.ci.job;
30
+ const resolvedStorageKey = props.storageKey ?? `shwfed:sidebar:${job ?? "default"}`;
31
+ const MIN_WIDTH = 200;
32
+ const MAX_WIDTH = 480;
33
+ function toPx(w) {
34
+ const rem = /^([\d.]+)rem$/.exec(w);
35
+ if (rem?.[1]) return Math.round(Number.parseFloat(rem[1]) * 16);
36
+ const px = /^([\d.]+)px$/.exec(w);
37
+ if (px?.[1]) return Math.round(Number.parseFloat(px[1]));
38
+ return 240;
39
+ }
40
+ function clampWidth(px) {
41
+ return Math.min(MAX_WIDTH, Math.max(MIN_WIDTH, Math.round(px)));
42
+ }
43
+ const sidebarWidth = useLocalStorage(`${resolvedStorageKey}:width`, clampWidth(toPx(props.width)));
44
+ const widthStyle = computed(() => `${clampWidth(sidebarWidth.value)}px`);
45
+ const dragging = ref(false);
46
+ const previewX = ref(0);
47
+ let sidebarLeft = 0;
48
+ function startResize(event) {
49
+ event.preventDefault();
50
+ const rect = event.currentTarget.getBoundingClientRect();
51
+ sidebarLeft = rect.left + rect.width / 2 - sidebarWidth.value;
52
+ previewX.value = clampWidth(event.clientX - sidebarLeft);
53
+ dragging.value = true;
54
+ const prevSelect = document.body.style.userSelect;
55
+ const prevCursor = document.body.style.cursor;
56
+ document.body.style.userSelect = "none";
57
+ document.body.style.cursor = "col-resize";
58
+ const onMove = (e) => {
59
+ previewX.value = clampWidth(e.clientX - sidebarLeft);
60
+ };
61
+ const onUp = () => {
62
+ window.removeEventListener("pointermove", onMove);
63
+ window.removeEventListener("pointerup", onUp);
64
+ document.body.style.userSelect = prevSelect;
65
+ document.body.style.cursor = prevCursor;
66
+ dragging.value = false;
67
+ sidebarWidth.value = previewX.value;
68
+ };
69
+ window.addEventListener("pointermove", onMove);
70
+ window.addEventListener("pointerup", onUp);
71
+ }
26
72
  const inheritedCEL = injectCELContext();
27
73
  const hostConfigure = props.configure ?? (() => {
28
74
  });
@@ -60,19 +106,34 @@ function onRootClick(event) {
60
106
  @click.capture="onRootClick"
61
107
  >
62
108
  <SidebarProvider
63
- class="w-fit"
64
- :style="{ '--sidebar-width': width }"
109
+ class="relative w-fit"
110
+ :style="{ '--sidebar-width': widthStyle }"
65
111
  >
66
112
  <Sidebar
67
113
  :collapsible="collapsible"
68
- class="sticky h-full"
114
+ class="sticky h-full border-r border-zinc-200"
69
115
  >
70
116
  <SidebarTree
71
117
  :config="config"
72
118
  :configure="mergedConfigure"
73
- :storage-key="storageKey"
119
+ :storage-key="resolvedStorageKey"
74
120
  />
121
+ <!-- Resize: a wide, invisible hit area straddling the border, with a
122
+ thin line that only faintly appears on hover. -->
123
+ <div
124
+ class="group/resize absolute inset-y-0 right-0 z-20 w-3 translate-x-1/2 cursor-col-resize touch-none"
125
+ @pointerdown="startResize"
126
+ >
127
+ <div class="mx-auto h-full w-px transition-colors group-hover/resize:bg-zinc-300" />
128
+ </div>
75
129
  </Sidebar>
130
+ <!-- Drag preview — moved purely via `transform` (no reflow); the real
131
+ width snaps to it on release. -->
132
+ <div
133
+ v-if="dragging"
134
+ class="pointer-events-none absolute inset-y-0 left-0 z-30 w-0.5 bg-(--primary) will-change-transform"
135
+ :style="{ transform: `translateX(${previewX}px)` }"
136
+ />
76
137
  </SidebarProvider>
77
138
  </div>
78
139
 
@@ -15,7 +15,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
15
15
  "update:config": (value: Readonly<{
16
16
  kind: "shwfed.component.sidebar";
17
17
  dataSource: Readonly<{
18
- request?: string;
18
+ request
19
+ /**
20
+ * `ShwfedSidebar` — a standalone, data-driven navigation sidebar. A PEER of
21
+ * `ShwfedConfig` (the page body), not a block inside it: its own serializable
22
+ * config (`v-model:config`), its own ⌘/Ctrl-click editor modal, its own CEL
23
+ * context. The navigation tree is data-driven (see `schema.ts` / `tree.vue`).
24
+ *
25
+ * Wrapped in `<ClientOnly>`: the data fetch and localStorage-backed favorites /
26
+ * open-state are client concerns, so SSR would only hydrate-mismatch.
27
+ */
28
+ ?: string;
19
29
  data: string;
20
30
  }>;
21
31
  nodeKey: string;
@@ -30,7 +40,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
30
40
  "onUpdate:config"?: ((value: Readonly<{
31
41
  kind: "shwfed.component.sidebar";
32
42
  dataSource: Readonly<{
33
- request?: string;
43
+ request
44
+ /**
45
+ * `ShwfedSidebar` — a standalone, data-driven navigation sidebar. A PEER of
46
+ * `ShwfedConfig` (the page body), not a block inside it: its own serializable
47
+ * config (`v-model:config`), its own ⌘/Ctrl-click editor modal, its own CEL
48
+ * context. The navigation tree is data-driven (see `schema.ts` / `tree.vue`).
49
+ *
50
+ * Wrapped in `<ClientOnly>`: the data fetch and localStorage-backed favorites /
51
+ * open-state are client concerns, so SSR would only hydrate-mismatch.
52
+ */
53
+ ?: string;
34
54
  data: string;
35
55
  }>;
36
56
  nodeKey: string;
@@ -44,7 +64,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
44
64
  }>, {
45
65
  width: string;
46
66
  collapsible: "offcanvas" | "icon" | "none";
47
- storageKey: string;
48
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
49
68
  declare const _default: typeof __VLS_export;
50
69
  export default _default;