@shwfed/config 2.12.3 → 2.12.5

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 (222) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue +9 -2
  3. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +8 -2
  4. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.js +3 -3
  5. package/dist/runtime/components/actions/components/group.vue +3 -1
  6. package/dist/runtime/components/actions/schema.d.ts +16 -4
  7. package/dist/runtime/components/actions/schema.js +5 -5
  8. package/dist/runtime/components/config/footer.d.vue.ts +4 -0
  9. package/dist/runtime/components/config/footer.vue +25 -12
  10. package/dist/runtime/components/config/footer.vue.d.ts +4 -0
  11. package/dist/runtime/components/config/history-picker.d.vue.ts +15 -0
  12. package/dist/runtime/components/config/history-picker.vue +155 -0
  13. package/dist/runtime/components/config/history-picker.vue.d.ts +15 -0
  14. package/dist/runtime/components/config/index.d.vue.ts +4 -0
  15. package/dist/runtime/components/config/index.vue +8 -1
  16. package/dist/runtime/components/config/index.vue.d.ts +4 -0
  17. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +22 -22
  18. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +22 -22
  19. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +5 -3
  20. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +8 -2
  21. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +2 -2
  22. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +5 -3
  23. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +8 -2
  24. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +2 -2
  25. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
  26. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
  27. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
  28. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
  29. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.js +1 -1
  30. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +16 -16
  31. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +16 -16
  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 +24 -24
  36. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +24 -24
  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 +18 -18
  41. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +18 -18
  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 +26 -26
  46. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +26 -26
  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 +30 -30
  61. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +30 -30
  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 +8 -8
  66. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +8 -8
  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/config.d.vue.ts +22 -22
  71. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +22 -22
  72. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue +5 -3
  73. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +8 -2
  74. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +2 -2
  75. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
  76. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
  77. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.js +1 -1
  78. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +5 -3
  79. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +8 -2
  80. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.js +1 -1
  81. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
  82. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
  83. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue +4 -3
  84. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +8 -2
  85. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +1 -1
  86. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +2 -2
  87. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +2 -2
  88. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue +6 -1
  89. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +5 -3
  90. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +9 -3
  91. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +2 -2
  92. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue +4 -3
  93. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +8 -2
  94. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.js +1 -1
  95. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue +4 -3
  96. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +8 -2
  97. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.js +1 -1
  98. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/runtime.vue +5 -3
  99. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +8 -2
  100. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.js +2 -1
  101. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +10 -10
  102. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +10 -10
  103. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue +4 -3
  104. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts +8 -2
  105. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.js +1 -1
  106. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +16 -16
  107. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +16 -16
  108. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue +5 -3
  109. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +8 -2
  110. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js +2 -2
  111. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +24 -24
  112. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +24 -24
  113. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue +5 -3
  114. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +8 -2
  115. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.js +2 -2
  116. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
  117. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
  118. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue +4 -3
  119. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.d.ts +8 -2
  120. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.js +1 -1
  121. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +10 -10
  122. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +10 -10
  123. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue +4 -3
  124. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +8 -2
  125. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.js +1 -1
  126. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +10 -10
  127. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +10 -10
  128. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue +4 -3
  129. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.d.ts +8 -2
  130. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.js +1 -1
  131. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/runtime.vue +4 -3
  132. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.d.ts +8 -2
  133. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.js +1 -1
  134. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
  135. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
  136. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.js +1 -1
  137. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +10 -10
  138. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +10 -10
  139. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue +4 -3
  140. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +8 -2
  141. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.js +1 -1
  142. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +10 -10
  143. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +10 -10
  144. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue +4 -3
  145. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +8 -2
  146. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.js +1 -1
  147. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +10 -10
  148. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +10 -10
  149. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue +4 -3
  150. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +8 -2
  151. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js +1 -1
  152. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +10 -10
  153. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +10 -10
  154. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue +4 -3
  155. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +8 -2
  156. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js +1 -1
  157. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue +5 -3
  158. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +8 -2
  159. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.js +1 -1
  160. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.vue +5 -3
  161. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +8 -2
  162. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.js +1 -1
  163. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
  164. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
  165. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.js +1 -1
  166. package/dist/runtime/components/form/index.vue +5 -1
  167. package/dist/runtime/components/form/utils/derived.d.ts +9 -0
  168. package/dist/runtime/components/form/utils/derived.js +1 -1
  169. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  170. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  171. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +6 -6
  172. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +6 -6
  173. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  174. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  175. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +6 -6
  176. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +6 -6
  177. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  178. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  179. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  180. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  181. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
  182. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
  183. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
  184. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
  185. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
  186. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
  187. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
  188. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
  189. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue +224 -133
  190. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue +224 -133
  191. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
  192. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
  193. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
  194. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
  195. package/dist/runtime/components/table/customization.d.vue.ts +15 -0
  196. package/dist/runtime/components/table/customization.vue +633 -0
  197. package/dist/runtime/components/table/customization.vue.d.ts +15 -0
  198. package/dist/runtime/components/table/index.vue +69 -6
  199. package/dist/runtime/components/table/utils/customization.d.ts +158 -0
  200. package/dist/runtime/components/table/utils/customization.js +315 -0
  201. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  202. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  203. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  204. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  205. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  206. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  207. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  208. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  209. package/dist/runtime/vendor/cel-js/CLAUDE.md +6 -5
  210. package/dist/runtime/vendor/cel-js/PROMPT.md +97 -19
  211. package/dist/runtime/vendor/cel-js/lib/decimal.d.ts +4 -0
  212. package/dist/runtime/vendor/cel-js/lib/decimal.js +35 -0
  213. package/dist/runtime/vendor/cel-js/lib/evaluator.js +2 -0
  214. package/dist/runtime/vendor/cel-js/lib/functions.js +107 -134
  215. package/dist/runtime/vendor/cel-js/lib/macros.js +125 -16
  216. package/dist/runtime/vendor/cel-js/lib/math-builtins.d.ts +2 -0
  217. package/dist/runtime/vendor/cel-js/lib/math-builtins.js +39 -0
  218. package/dist/runtime/vendor/cel-js/lib/optional.d.ts +4 -0
  219. package/dist/runtime/vendor/cel-js/lib/optional.js +73 -21
  220. package/dist/runtime/vendor/cel-js/lib/parser.js +2 -6
  221. package/dist/runtime/vendor/cel-js/lib/registry.js +2 -2
  222. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  <script setup>
2
- import { computed } from "vue";
2
+ import { computed, ref } from "vue";
3
3
  import { Icon } from "@iconify/vue";
4
+ import { useI18n } from "vue-i18n";
4
5
  import { Button } from "../../../../ui/button";
5
6
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../../../ui/dropdown-menu";
6
7
  import { ExpressionEditor } from "../../../../ui/expression-editor";
@@ -17,12 +18,17 @@ import {
17
18
  InputGroupNumberField
18
19
  } from "../../../../ui/input-group";
19
20
  import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../../../ui/tabs";
21
+ import { getLocalizedText } from "../../../../../share/locale";
22
+ import {
23
+ useTreeDnd
24
+ } from "../../../../../composables/useTreeDnd";
20
25
  import { getStructFieldDescription, getStructFieldTitle } from "../../../utils/schema-meta";
21
26
  import { Markdown } from "../../../../ui/markdown";
22
27
  import TriggersField from "../../../../actions/components/triggers-field.vue";
23
28
  import { itemSchema, remoteOptionsSchema, schema, writeSchema } from "./schema";
24
29
  defineOptions({ name: "ShwfedTableComboboxMultiConfig" });
25
30
  const value = defineModel({ type: null, ...{ required: true } });
31
+ const { locale } = useI18n();
26
32
  const fieldSchema = schema(() => {
27
33
  });
28
34
  const fieldTitle = (field) => getStructFieldTitle(fieldSchema, field) ?? field;
@@ -221,6 +227,19 @@ const optionKeywordsModel = computed({
221
227
  }
222
228
  }
223
229
  });
230
+ const expandedIds = ref(/* @__PURE__ */ new Set());
231
+ function isExpanded(id) {
232
+ return expandedIds.value.has(id);
233
+ }
234
+ function toggleExpanded(id) {
235
+ const next = new Set(expandedIds.value);
236
+ if (next.has(id)) next.delete(id);
237
+ else next.add(id);
238
+ expandedIds.value = next;
239
+ }
240
+ function summaryFor(item) {
241
+ return getLocalizedText(item.label, locale.value) || "\u672A\u547D\u540D\u9009\u9879";
242
+ }
224
243
  function newId() {
225
244
  return typeof crypto !== "undefined" && "randomUUID" in crypto ? crypto.randomUUID() : "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
226
245
  const r = Math.random() * 16 | 0;
@@ -245,7 +264,9 @@ function patchItem(index, patch) {
245
264
  }
246
265
  function addItem() {
247
266
  if (value.value.options.kind !== "static") return;
248
- patchStatic({ items: [...value.value.options.items, newItem()] });
267
+ const item = newItem();
268
+ patchStatic({ items: [...value.value.options.items, item] });
269
+ expandedIds.value = new Set(expandedIds.value).add(item.id);
249
270
  }
250
271
  function removeItem(index) {
251
272
  if (value.value.options.kind !== "static") return;
@@ -253,6 +274,39 @@ function removeItem(index) {
253
274
  next.splice(index, 1);
254
275
  patchStatic({ items: next });
255
276
  }
277
+ function moveItem(from, to) {
278
+ if (value.value.options.kind !== "static") return;
279
+ const next = [...value.value.options.items];
280
+ if (from < 0 || to < 0 || from >= next.length || to >= next.length) return;
281
+ const [m] = next.splice(from, 1);
282
+ if (!m) return;
283
+ next.splice(to, 0, m);
284
+ patchStatic({ items: next });
285
+ }
286
+ const ROW_KIND = "combobox-multi-option";
287
+ function onRowDrop(e) {
288
+ if (e.source.kind !== ROW_KIND || e.target.kind !== ROW_KIND) return;
289
+ const from = items.value.findIndex((it) => it.id === e.source.id);
290
+ const to = items.value.findIndex((it) => it.id === e.target.id);
291
+ if (from < 0 || to < 0) return;
292
+ if (e.instruction === "reorder-above") moveItem(from, from < to ? to - 1 : to);
293
+ else if (e.instruction === "reorder-below") moveItem(from, from <= to ? to : to + 1);
294
+ }
295
+ const dnd = useTreeDnd({ onRowDrop });
296
+ const pickDragHandle = (el) => el.querySelector(".drag-handle");
297
+ function rowConfig(index) {
298
+ const id = items.value[index]?.id ?? `idx-${index}`;
299
+ return {
300
+ kind: ROW_KIND,
301
+ canDrop: (src) => src.kind === ROW_KIND,
302
+ blockInstructions: (src) => {
303
+ const block = ["make-child", "reparent"];
304
+ if (src.id === id) block.push("reorder-above", "reorder-below");
305
+ return block;
306
+ },
307
+ dragHandle: pickDragHandle
308
+ };
309
+ }
256
310
  function setItemKind(index, kind) {
257
311
  if (value.value.options.kind !== "static") return;
258
312
  const cur = value.value.options.items[index];
@@ -456,146 +510,179 @@ function setItemKeywords(index, text) {
456
510
  <div
457
511
  v-for="(item, index) in items"
458
512
  :key="item.id"
513
+ :ref="dnd.rowRef(item.id, rowConfig(index))"
459
514
  data-slot="combobox-multi-item"
460
- class="relative pt-8 grid grid-cols-2 gap-3 rounded border border-zinc-200 bg-zinc-50/40 p-3"
515
+ class="relative rounded border border-zinc-200 bg-zinc-50/40"
516
+ :data-instruction="dnd.instructionFor(item.id) ?? void 0"
461
517
  >
462
- <InputGroupButton
463
- variant="destructive"
464
- size="icon-xs"
465
- data-slot="combobox-multi-item-delete"
466
- aria-label="删除选项"
467
- class="absolute right-2 top-2 z-10"
468
- @click="removeItem(index)"
518
+ <div class="flex items-center gap-2 p-2">
519
+ <Icon
520
+ icon="fluent:re-order-dots-vertical-20-regular"
521
+ class="drag-handle size-4 shrink-0 cursor-grab text-zinc-400"
522
+ data-slot="combobox-multi-item-drag-handle"
523
+ />
524
+ <InputGroupButton
525
+ size="icon-xs"
526
+ class="shrink-0"
527
+ data-slot="combobox-multi-item-collapse"
528
+ :aria-expanded="isExpanded(item.id)"
529
+ :aria-label="isExpanded(item.id) ? '\u6298\u53E0' : '\u5C55\u5F00'"
530
+ @click="toggleExpanded(item.id)"
531
+ >
532
+ <Icon
533
+ :icon="isExpanded(item.id) ? 'fluent:chevron-down-20-regular' : 'fluent:chevron-right-20-regular'"
534
+ />
535
+ </InputGroupButton>
536
+ <div
537
+ class="min-w-0 flex-1 truncate text-sm text-zinc-700"
538
+ data-slot="combobox-multi-item-summary"
539
+ >
540
+ {{ summaryFor(item) }}
541
+ </div>
542
+ <InputGroupButton
543
+ variant="destructive"
544
+ size="icon-xs"
545
+ data-slot="combobox-multi-item-delete"
546
+ aria-label="删除选项"
547
+ class="shrink-0"
548
+ @click="removeItem(index)"
549
+ >
550
+ <Icon icon="fluent:delete-20-regular" />
551
+ </InputGroupButton>
552
+ </div>
553
+
554
+ <div
555
+ v-show="isExpanded(item.id)"
556
+ class="grid grid-cols-2 gap-3 px-3 pb-3"
557
+ data-slot="combobox-multi-item-content"
469
558
  >
470
- <Icon icon="fluent:delete-20-regular" />
471
- </InputGroupButton>
559
+ <Field orientation="vertical">
560
+ <FieldLabel class="text-xs text-zinc-500">
561
+ <template
562
+ v-if="itemFieldDescription('label')"
563
+ #tooltip
564
+ >
565
+ <Markdown
566
+ :source="itemFieldDescription('label')"
567
+ block
568
+ class="prose prose-sm prose-zinc"
569
+ />
570
+ </template>
571
+ {{ itemFieldTitle("label") }}
572
+ </FieldLabel>
573
+ <Locale
574
+ translate-hint="combobox option label"
575
+ :model-value="item.label"
576
+ @update:model-value="(v) => setItemLabel(index, v)"
577
+ />
578
+ </Field>
472
579
 
473
- <Field orientation="vertical">
474
- <FieldLabel class="text-xs text-zinc-500">
475
- <template
476
- v-if="itemFieldDescription('label')"
477
- #tooltip
478
- >
479
- <Markdown
480
- :source="itemFieldDescription('label')"
481
- block
482
- class="prose prose-sm prose-zinc"
483
- />
484
- </template>
485
- {{ itemFieldTitle("label") }}
486
- </FieldLabel>
487
- <Locale
488
- translate-hint="combobox option label"
489
- :model-value="item.label"
490
- @update:model-value="(v) => setItemLabel(index, v)"
491
- />
492
- </Field>
580
+ <Field orientation="vertical">
581
+ <FieldLabel class="text-xs text-zinc-500">
582
+ <template
583
+ v-if="itemFieldDescription('value')"
584
+ #tooltip
585
+ >
586
+ <Markdown
587
+ :source="itemFieldDescription('value')"
588
+ block
589
+ class="prose prose-sm prose-zinc"
590
+ />
591
+ </template>
592
+ {{ itemFieldTitle("value") }}
593
+ </FieldLabel>
594
+ <InputGroup>
595
+ <InputGroupAddon align="inline-start">
596
+ <DropdownMenu>
597
+ <DropdownMenuTrigger as-child>
598
+ <InputGroupButton
599
+ size="icon-sm"
600
+ as-child
601
+ >
602
+ <button
603
+ type="button"
604
+ data-slot="combobox-multi-item-kind-trigger"
605
+ class="text-zinc-500 transition-colors hover:text-zinc-700 [&_svg:not([class*='size-'])]:size-3.5"
606
+ aria-label="切换值类型"
607
+ >
608
+ <Icon
609
+ :icon="item.value.kind === 'number' ? 'fluent:number-symbol-20-regular' : 'fluent:textbox-20-regular'"
610
+ />
611
+ </button>
612
+ </InputGroupButton>
613
+ </DropdownMenuTrigger>
614
+ <DropdownMenuContent align="start">
615
+ <DropdownMenuItem @select="setItemKind(index, 'text')">
616
+ <Icon icon="fluent:textbox-20-regular" />
617
+ <span>文本</span>
618
+ </DropdownMenuItem>
619
+ <DropdownMenuItem @select="setItemKind(index, 'number')">
620
+ <Icon icon="fluent:number-symbol-20-regular" />
621
+ <span>数字</span>
622
+ </DropdownMenuItem>
623
+ </DropdownMenuContent>
624
+ </DropdownMenu>
625
+ </InputGroupAddon>
493
626
 
494
- <Field orientation="vertical">
495
- <FieldLabel class="text-xs text-zinc-500">
496
- <template
497
- v-if="itemFieldDescription('value')"
498
- #tooltip
499
- >
500
- <Markdown
501
- :source="itemFieldDescription('value')"
502
- block
503
- class="prose prose-sm prose-zinc"
627
+ <InputGroupInput
628
+ v-if="item.value.kind === 'text'"
629
+ :model-value="item.value.value"
630
+ placeholder="例:admin"
631
+ @update:model-value="(v) => setItemTextValue(index, String(v ?? ''))"
504
632
  />
505
- </template>
506
- {{ itemFieldTitle("value") }}
507
- </FieldLabel>
508
- <InputGroup>
509
- <InputGroupAddon align="inline-start">
510
- <DropdownMenu>
511
- <DropdownMenuTrigger as-child>
512
- <InputGroupButton
513
- size="icon-sm"
514
- as-child
515
- >
516
- <button
517
- type="button"
518
- data-slot="combobox-multi-item-kind-trigger"
519
- class="text-zinc-500 transition-colors hover:text-zinc-700 [&_svg:not([class*='size-'])]:size-3.5"
520
- aria-label="切换值类型"
521
- >
522
- <Icon
523
- :icon="item.value.kind === 'number' ? 'fluent:number-symbol-20-regular' : 'fluent:textbox-20-regular'"
524
- />
525
- </button>
526
- </InputGroupButton>
527
- </DropdownMenuTrigger>
528
- <DropdownMenuContent align="start">
529
- <DropdownMenuItem @select="setItemKind(index, 'text')">
530
- <Icon icon="fluent:textbox-20-regular" />
531
- <span>文本</span>
532
- </DropdownMenuItem>
533
- <DropdownMenuItem @select="setItemKind(index, 'number')">
534
- <Icon icon="fluent:number-symbol-20-regular" />
535
- <span>数字</span>
536
- </DropdownMenuItem>
537
- </DropdownMenuContent>
538
- </DropdownMenu>
539
- </InputGroupAddon>
633
+ <InputGroupNumberField
634
+ v-else
635
+ :model-value="item.value.value"
636
+ @update:model-value="(v) => setItemNumberValue(index, v)"
637
+ />
638
+ </InputGroup>
639
+ </Field>
540
640
 
541
- <InputGroupInput
542
- v-if="item.value.kind === 'text'"
543
- :model-value="item.value.value"
544
- placeholder="例:admin"
545
- @update:model-value="(v) => setItemTextValue(index, String(v ?? ''))"
546
- />
547
- <InputGroupNumberField
548
- v-else
549
- :model-value="item.value.value"
550
- @update:model-value="(v) => setItemNumberValue(index, v)"
641
+ <Field orientation="vertical">
642
+ <FieldLabel class="text-xs text-zinc-500">
643
+ <template
644
+ v-if="itemFieldDescription('tooltip')"
645
+ #tooltip
646
+ >
647
+ <Markdown
648
+ :source="itemFieldDescription('tooltip')"
649
+ block
650
+ class="prose prose-sm prose-zinc"
651
+ />
652
+ </template>
653
+ {{ itemFieldTitle("tooltip") }}
654
+ </FieldLabel>
655
+ <Locale
656
+ markdown
657
+ translate-hint="combobox option tooltip"
658
+ :model-value="item.tooltip"
659
+ @update:model-value="(v) => setItemTooltip(index, v)"
551
660
  />
552
- </InputGroup>
553
- </Field>
554
-
555
- <Field orientation="vertical">
556
- <FieldLabel class="text-xs text-zinc-500">
557
- <template
558
- v-if="itemFieldDescription('tooltip')"
559
- #tooltip
560
- >
561
- <Markdown
562
- :source="itemFieldDescription('tooltip')"
563
- block
564
- class="prose prose-sm prose-zinc"
565
- />
566
- </template>
567
- {{ itemFieldTitle("tooltip") }}
568
- </FieldLabel>
569
- <Locale
570
- markdown
571
- translate-hint="combobox option tooltip"
572
- :model-value="item.tooltip"
573
- @update:model-value="(v) => setItemTooltip(index, v)"
574
- />
575
- </Field>
661
+ </Field>
576
662
 
577
- <Field orientation="vertical">
578
- <FieldLabel class="text-xs text-zinc-500">
579
- <template
580
- v-if="itemFieldDescription('keywords')"
581
- #tooltip
582
- >
583
- <Markdown
584
- :source="itemFieldDescription('keywords')"
585
- block
586
- class="prose prose-sm prose-zinc"
587
- />
588
- </template>
589
- {{ itemFieldTitle("keywords") }}
590
- </FieldLabel>
591
- <Textarea
592
- data-slot="combobox-multi-item-keywords"
593
- :model-value="keywordsText(item)"
594
- placeholder="每行一个关键词"
595
- :rows="2"
596
- @update:model-value="(v) => setItemKeywords(index, String(v ?? ''))"
597
- />
598
- </Field>
663
+ <Field orientation="vertical">
664
+ <FieldLabel class="text-xs text-zinc-500">
665
+ <template
666
+ v-if="itemFieldDescription('keywords')"
667
+ #tooltip
668
+ >
669
+ <Markdown
670
+ :source="itemFieldDescription('keywords')"
671
+ block
672
+ class="prose prose-sm prose-zinc"
673
+ />
674
+ </template>
675
+ {{ itemFieldTitle("keywords") }}
676
+ </FieldLabel>
677
+ <Textarea
678
+ data-slot="combobox-multi-item-keywords"
679
+ :model-value="keywordsText(item)"
680
+ placeholder="每行一个关键词"
681
+ :rows="2"
682
+ @update:model-value="(v) => setItemKeywords(index, String(v ?? ''))"
683
+ />
684
+ </Field>
685
+ </div>
599
686
  </div>
600
687
 
601
688
  <Button
@@ -979,3 +1066,7 @@ function setItemKeywords(index, text) {
979
1066
  </div>
980
1067
  </div>
981
1068
  </template>
1069
+
1070
+ <style scoped>
1071
+ [data-instruction=reorder-above]:before,[data-instruction=reorder-below]:after{background:var(--primary,#2563eb);content:"";height:2px;left:0;pointer-events:none;position:absolute;right:0;z-index:1}[data-instruction=reorder-above]:before{top:-7px}[data-instruction=reorder-below]:after{bottom:-7px}
1072
+ </style>