@shwfed/config 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/dist/mcp.mjs +128 -27
  2. package/dist/module.json +1 -1
  3. package/dist/preview/assets/{config-Bxkq2ZRm.js → config-BkytEQN5.js} +1 -1
  4. package/dist/preview/assets/{config-BdFIFUa_.js → config-CK011_jJ.js} +1 -1
  5. package/dist/preview/assets/{config-BcQQl4v6.js → config-C_bBX0wD.js} +1 -1
  6. package/dist/preview/assets/{config-CHHX7vhb.js → config-Cbn8o9BY.js} +1 -1
  7. package/dist/preview/assets/{config-CZ0f5xdI.js → config-DYL6kHr3.js} +1 -1
  8. package/dist/preview/assets/{config-Ddh8pxIi.js → config-Dx0zHfGt.js} +1 -1
  9. package/dist/preview/assets/{config-D9xGgFnF.js → config-E-DM6b5t.js} +1 -1
  10. package/dist/preview/assets/{config-C32yfrlg.js → config-PjseWUbC.js} +1 -1
  11. package/dist/preview/assets/{config-Bi9F-Jdh.js → config-dwcdYHd4.js} +1 -1
  12. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-C_cjxvm1.js → definition.vue_vue_type_script_setup_true_lang-uJFJXxli.js} +1 -1
  13. package/dist/preview/assets/index-7MVXgV5n.css +1 -0
  14. package/dist/preview/assets/index-CmPiZG_4.js +1 -0
  15. package/dist/preview/assets/index-x-77enex.js +668 -0
  16. package/dist/preview/assets/runtime-BRMGkqSr.js +1 -0
  17. package/dist/preview/assets/runtime-CHLboM_z.js +1 -0
  18. package/dist/preview/assets/runtime-CeHdesjP.js +1 -0
  19. package/dist/preview/assets/runtime-D4_9FCLy.js +1 -0
  20. package/dist/preview/assets/runtime-DHBTDws7.js +1 -0
  21. package/dist/preview/assets/runtime-DJHpCLnr.js +1 -0
  22. package/dist/preview/assets/runtime-DKq86fZU.js +1 -0
  23. package/dist/preview/assets/runtime-DjpjaNec.js +1 -0
  24. package/dist/preview/assets/runtime-ZQryOEKm.js +1 -0
  25. package/dist/preview/index.html +2 -2
  26. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/runtime.vue +7 -4
  27. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/runtime.vue +6 -0
  28. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +1 -1
  29. package/dist/runtime/components/form/ValidationRulesField.d.vue.ts +16 -0
  30. package/dist/runtime/components/form/ValidationRulesField.vue +207 -0
  31. package/dist/runtime/components/form/ValidationRulesField.vue.d.ts +16 -0
  32. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.d.vue.ts +24 -0
  33. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/config.vue.d.ts +24 -0
  34. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +18 -0
  35. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +24 -0
  36. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue +38 -0
  37. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +24 -0
  38. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +18 -2
  39. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +18 -0
  40. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.d.vue.ts +24 -0
  41. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue +38 -0
  42. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/config.vue.d.ts +24 -0
  43. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +18 -2
  44. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +18 -0
  45. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.d.vue.ts +24 -0
  46. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue.d.ts +24 -0
  47. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +18 -0
  48. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +24 -0
  49. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +24 -0
  50. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +18 -0
  51. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +24 -0
  52. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue +38 -0
  53. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +24 -0
  54. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +18 -2
  55. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +18 -0
  56. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +24 -0
  57. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue +38 -0
  58. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +24 -0
  59. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +18 -2
  60. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +18 -0
  61. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +24 -0
  62. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue +38 -0
  63. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +24 -0
  64. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +18 -2
  65. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +18 -0
  66. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +24 -0
  67. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue +38 -0
  68. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +24 -0
  69. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +18 -2
  70. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +18 -0
  71. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.d.vue.ts +24 -0
  72. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue +38 -0
  73. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue.d.ts +24 -0
  74. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue +18 -2
  75. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +18 -0
  76. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +24 -0
  77. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue +38 -0
  78. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +24 -0
  79. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue +18 -2
  80. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +18 -0
  81. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +24 -0
  82. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue +38 -0
  83. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +24 -0
  84. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +18 -2
  85. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +18 -0
  86. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +24 -0
  87. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue +38 -0
  88. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +24 -0
  89. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue +18 -2
  90. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +18 -0
  91. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +24 -0
  92. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue +38 -0
  93. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +24 -0
  94. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue +18 -2
  95. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +18 -0
  96. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.d.vue.ts +24 -0
  97. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/config.vue.d.ts +24 -0
  98. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +18 -0
  99. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.d.vue.ts +24 -0
  100. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue +38 -0
  101. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/config.vue.d.ts +24 -0
  102. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +18 -2
  103. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +18 -0
  104. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +24 -0
  105. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue +38 -0
  106. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +24 -0
  107. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue +18 -2
  108. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +18 -0
  109. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +24 -0
  110. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue +38 -0
  111. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +24 -0
  112. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +18 -2
  113. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +30 -0
  114. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.d.vue.ts +24 -0
  115. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.vue +38 -0
  116. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/config.vue.d.ts +24 -0
  117. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue +18 -2
  118. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +18 -0
  119. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.d.vue.ts +24 -0
  120. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue +38 -0
  121. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/config.vue.d.ts +24 -0
  122. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue +18 -2
  123. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +18 -0
  124. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/config.d.vue.ts +24 -0
  125. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/config.vue +51 -9
  126. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/config.vue.d.ts +24 -0
  127. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/runtime.vue +22 -2
  128. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +18 -0
  129. package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/runtime.vue +26 -0
  130. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +24 -0
  131. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +24 -0
  132. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts +18 -0
  133. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +24 -0
  134. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue +38 -0
  135. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +24 -0
  136. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue +18 -2
  137. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +18 -0
  138. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +24 -0
  139. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue +38 -0
  140. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +24 -0
  141. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue +18 -2
  142. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +18 -0
  143. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +24 -0
  144. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +24 -0
  145. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.d.ts +18 -0
  146. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +24 -0
  147. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +24 -0
  148. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +18 -0
  149. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +24 -0
  150. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +24 -0
  151. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.d.ts +18 -0
  152. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.d.vue.ts +24 -0
  153. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.vue +38 -0
  154. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.vue.d.ts +24 -0
  155. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/runtime.vue +18 -2
  156. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.d.ts +18 -0
  157. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/config.d.vue.ts +24 -0
  158. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/config.vue +38 -0
  159. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/config.vue.d.ts +24 -0
  160. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue +18 -2
  161. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.d.ts +18 -0
  162. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +24 -0
  163. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue +38 -0
  164. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +24 -0
  165. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue +18 -2
  166. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +18 -0
  167. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +24 -0
  168. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue +38 -0
  169. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +24 -0
  170. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue +18 -2
  171. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +18 -0
  172. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +24 -0
  173. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue +38 -0
  174. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +24 -0
  175. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue +18 -2
  176. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +18 -0
  177. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +24 -0
  178. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue +38 -0
  179. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +24 -0
  180. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue +18 -2
  181. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +18 -0
  182. package/dist/runtime/components/form/index.d.vue.ts +1 -0
  183. package/dist/runtime/components/form/index.vue +14 -18
  184. package/dist/runtime/components/form/index.vue.d.ts +1 -0
  185. package/dist/runtime/components/form/schema.d.ts +2 -10
  186. package/dist/runtime/components/form/schema.js +2 -5
  187. package/dist/runtime/components/form/utils/cel-scope.d.ts +12 -3
  188. package/dist/runtime/components/form/utils/cel-scope.js +17 -18
  189. package/dist/runtime/components/form/utils/common.d.ts +42 -0
  190. package/dist/runtime/components/form/utils/common.js +40 -2
  191. package/dist/runtime/components/form/utils/form-vars.d.ts +19 -0
  192. package/dist/runtime/components/form/utils/form-vars.js +5 -0
  193. package/dist/runtime/components/form/utils/validation.d.ts +85 -0
  194. package/dist/runtime/components/form/utils/validation.js +113 -0
  195. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/config.vue +20 -8
  196. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +1 -0
  197. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/config.vue +20 -8
  198. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +1 -0
  199. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/config.vue +20 -8
  200. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +1 -0
  201. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/config.vue +20 -8
  202. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +1 -0
  203. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/config.vue +20 -8
  204. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +1 -0
  205. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/config.vue +20 -8
  206. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +1 -0
  207. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -0
  208. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue +20 -8
  209. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -0
  210. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
  211. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/config.vue +20 -7
  212. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +1 -0
  213. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/config.vue +20 -8
  214. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/schema.d.ts +1 -0
  215. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/config.vue +20 -8
  216. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +1 -0
  217. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/config.vue +20 -8
  218. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +1 -0
  219. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -0
  220. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue +20 -8
  221. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -0
  222. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.d.ts +1 -0
  223. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -0
  224. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue +20 -8
  225. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -0
  226. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +1 -0
  227. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -0
  228. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue +20 -8
  229. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -0
  230. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
  231. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -0
  232. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue +20 -8
  233. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -0
  234. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +1 -0
  235. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -0
  236. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue +20 -8
  237. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -0
  238. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +1 -0
  239. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -0
  240. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue +20 -8
  241. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -0
  242. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
  243. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -0
  244. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue +20 -8
  245. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -0
  246. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +1 -0
  247. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -0
  248. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue +20 -8
  249. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -0
  250. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
  251. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -0
  252. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue +20 -8
  253. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -0
  254. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +1 -0
  255. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -0
  256. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue +20 -7
  257. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -0
  258. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
  259. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -0
  260. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue +20 -7
  261. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -0
  262. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
  263. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -0
  264. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue +20 -8
  265. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -0
  266. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
  267. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.js +2 -1
  268. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -0
  269. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue +20 -8
  270. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -0
  271. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
  272. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.js +2 -1
  273. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -0
  274. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue +20 -7
  275. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -0
  276. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
  277. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -0
  278. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue +20 -7
  279. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -0
  280. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
  281. package/dist/runtime/components/table/config.d.vue.ts +4 -2
  282. package/dist/runtime/components/table/config.vue +25 -45
  283. package/dist/runtime/components/table/config.vue.d.ts +4 -2
  284. package/dist/runtime/components/table/index.vue +22 -2
  285. package/dist/runtime/components/table/schema.d.ts +4 -2
  286. package/dist/runtime/components/table/schema.js +69 -13
  287. package/dist/runtime/components/table/utils/shared.d.ts +2 -0
  288. package/dist/runtime/components/table/utils/shared.js +12 -4
  289. package/dist/runtime/components/ui/field/FieldError.vue +1 -1
  290. package/dist/runtime/components/ui/field/FieldMessages.d.vue.ts +9 -0
  291. package/dist/runtime/components/ui/field/FieldMessages.vue +21 -0
  292. package/dist/runtime/components/ui/field/FieldMessages.vue.d.ts +9 -0
  293. package/dist/runtime/components/ui/field/FieldWarning.d.vue.ts +20 -0
  294. package/dist/runtime/components/ui/field/FieldWarning.vue +51 -0
  295. package/dist/runtime/components/ui/field/FieldWarning.vue.d.ts +20 -0
  296. package/dist/runtime/components/ui/field/index.d.ts +2 -0
  297. package/dist/runtime/components/ui/field/index.js +10 -4
  298. package/dist/runtime/components/ui/locale/Locale.d.vue.ts +2 -0
  299. package/dist/runtime/components/ui/locale/Locale.vue +165 -155
  300. package/dist/runtime/components/ui/locale/Locale.vue.d.ts +2 -0
  301. package/dist/runtime/share/form-validate.d.ts +18 -0
  302. package/dist/runtime/share/form-validate.js +8 -0
  303. package/package.json +1 -1
  304. package/dist/preview/assets/index-BqOX70Hd.css +0 -1
  305. package/dist/preview/assets/index-D-VR1i8D.js +0 -659
  306. package/dist/preview/assets/index-ihZGlPdX.js +0 -1
  307. package/dist/preview/assets/runtime-Bn8mqeDH.js +0 -1
  308. package/dist/preview/assets/runtime-Cc_Wk3o-.js +0 -1
  309. package/dist/preview/assets/runtime-CttAjIgg.js +0 -1
  310. package/dist/preview/assets/runtime-Cx4f2UTl.js +0 -1
  311. package/dist/preview/assets/runtime-D1dESjXR.js +0 -1
  312. package/dist/preview/assets/runtime-DIEP1Xbh.js +0 -1
  313. package/dist/preview/assets/runtime-DKceWuBx.js +0 -1
  314. package/dist/preview/assets/runtime-Dhid9O5c.js +0 -1
  315. package/dist/preview/assets/runtime-YMiqi6WY.js +0 -1
@@ -4,7 +4,6 @@ import { Icon } from "@iconify/vue";
4
4
  import { Button } from "../../../../ui/button";
5
5
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../../../ui/dropdown-menu";
6
6
  import { ExpressionEditor } from "../../../../ui/expression-editor";
7
- import { Switch } from "../../../../ui/switch";
8
7
  import { Separator } from "../../../../ui/separator";
9
8
  import { Field, FieldLabel } from "../../../../ui/field";
10
9
  import { Locale } from "../../../../ui/locale";
@@ -507,14 +506,10 @@ function setItemTooltip(index, tooltip) {
507
506
  <Separator />
508
507
  <div class="flex flex-wrap gap-x-8 gap-y-3">
509
508
  <Field
510
- orientation="horizontal"
511
- class="w-auto gap-2"
509
+ orientation="vertical"
510
+ class="w-full max-w-xs"
512
511
  >
513
- <Switch
514
- :model-value="value.enableSorting ?? false"
515
- @update:model-value="(v) => value = { ...value, enableSorting: v }"
516
- />
517
- <FieldLabel class="text-sm text-zinc-600">
512
+ <FieldLabel class="text-xs text-zinc-500">
518
513
  <template
519
514
  v-if="fieldDescription('enableSorting')"
520
515
  #tooltip
@@ -527,6 +522,23 @@ function setItemTooltip(index, tooltip) {
527
522
  </template>
528
523
  {{ fieldTitle("enableSorting") }}
529
524
  </FieldLabel>
525
+ <InputGroup>
526
+ <InputGroupInput
527
+ :model-value="value.sortKey"
528
+ placeholder="例:created_at"
529
+ @update:model-value="(v) => value = { ...value, sortKey: v || void 0 }"
530
+ />
531
+ <InputGroupAddon align="inline-end">
532
+ <InputGroupButton
533
+ :variant="value.enableSorting ? 'primary' : 'ghost'"
534
+ size="xs"
535
+ @click="value = { ...value, enableSorting: !value.enableSorting }"
536
+ >
537
+ <Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
538
+ {{ fieldTitle("enableSorting") }}
539
+ </InputGroupButton>
540
+ </InputGroupAddon>
541
+ </InputGroup>
530
542
  </Field>
531
543
  </div>
532
544
  </div>
@@ -64,6 +64,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
64
  readonly expression: string;
65
65
  } | undefined;
66
66
  readonly enableSorting?: boolean | undefined;
67
+ readonly sortKey?: string | undefined;
67
68
  }) => any;
68
69
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
69
70
  "onUpdate:modelValue"?: ((value: {
@@ -127,6 +128,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
127
128
  readonly expression: string;
128
129
  } | undefined;
129
130
  readonly enableSorting?: boolean | undefined;
131
+ readonly sortKey?: string | undefined;
130
132
  }) => any) | undefined;
131
133
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
132
134
  declare const _default: typeof __VLS_export;
@@ -106,6 +106,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
106
106
  }>]>;
107
107
  binding: Schema.refine<string, typeof Schema.String>;
108
108
  enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
109
+ sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
109
110
  size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
110
111
  grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
111
112
  tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
@@ -449,14 +449,10 @@ function onValueAsStringChange(next) {
449
449
  <Separator />
450
450
  <div class="flex flex-wrap gap-x-8 gap-y-3">
451
451
  <Field
452
- orientation="horizontal"
453
- class="w-auto gap-2"
452
+ orientation="vertical"
453
+ class="w-full max-w-xs"
454
454
  >
455
- <Switch
456
- :model-value="value.enableSorting ?? false"
457
- @update:model-value="(v) => value.enableSorting = v"
458
- />
459
- <FieldLabel class="text-sm text-zinc-600">
455
+ <FieldLabel class="text-xs text-zinc-500">
460
456
  <template
461
457
  v-if="fieldDescription('enableSorting')"
462
458
  #tooltip
@@ -469,6 +465,23 @@ function onValueAsStringChange(next) {
469
465
  </template>
470
466
  {{ fieldTitle("enableSorting") }}
471
467
  </FieldLabel>
468
+ <InputGroup>
469
+ <InputGroupInput
470
+ :model-value="value.sortKey"
471
+ placeholder="例:created_at"
472
+ @update:model-value="(v) => value.sortKey = v || void 0"
473
+ />
474
+ <InputGroupAddon align="inline-end">
475
+ <InputGroupButton
476
+ :variant="value.enableSorting ? 'primary' : 'ghost'"
477
+ size="xs"
478
+ @click="value.enableSorting = !value.enableSorting"
479
+ >
480
+ <Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
481
+ {{ fieldTitle("enableSorting") }}
482
+ </InputGroupButton>
483
+ </InputGroupAddon>
484
+ </InputGroup>
472
485
  </Field>
473
486
  </div>
474
487
  </div>
@@ -38,6 +38,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
38
38
  }>]>;
39
39
  binding: Schema.refine<string, typeof Schema.String>;
40
40
  enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
41
+ sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
41
42
  size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
42
43
  grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
43
44
  tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
@@ -2,7 +2,6 @@
2
2
  import { computed } from "vue";
3
3
  import { Icon } from "@iconify/vue";
4
4
  import { ExpressionEditor } from "../../../../ui/expression-editor";
5
- import { Switch } from "../../../../ui/switch";
6
5
  import { Separator } from "../../../../ui/separator";
7
6
  import { Field, FieldLabel } from "../../../../ui/field";
8
7
  import { Locale } from "../../../../ui/locale";
@@ -284,14 +283,10 @@ const derivedModel = computed({
284
283
  <Separator />
285
284
  <div class="flex flex-wrap gap-x-8 gap-y-3">
286
285
  <Field
287
- orientation="horizontal"
288
- class="w-auto gap-2"
286
+ orientation="vertical"
287
+ class="w-full max-w-xs"
289
288
  >
290
- <Switch
291
- :model-value="value.enableSorting ?? false"
292
- @update:model-value="(v) => value.enableSorting = v"
293
- />
294
- <FieldLabel class="text-sm text-zinc-600">
289
+ <FieldLabel class="text-xs text-zinc-500">
295
290
  <template
296
291
  v-if="fieldDescription('enableSorting')"
297
292
  #tooltip
@@ -304,6 +299,23 @@ const derivedModel = computed({
304
299
  </template>
305
300
  {{ fieldTitle("enableSorting") }}
306
301
  </FieldLabel>
302
+ <InputGroup>
303
+ <InputGroupInput
304
+ :model-value="value.sortKey"
305
+ placeholder="例:created_at"
306
+ @update:model-value="(v) => value.sortKey = v || void 0"
307
+ />
308
+ <InputGroupAddon align="inline-end">
309
+ <InputGroupButton
310
+ :variant="value.enableSorting ? 'primary' : 'ghost'"
311
+ size="xs"
312
+ @click="value.enableSorting = !value.enableSorting"
313
+ >
314
+ <Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
315
+ {{ fieldTitle("enableSorting") }}
316
+ </InputGroupButton>
317
+ </InputGroupAddon>
318
+ </InputGroup>
307
319
  </Field>
308
320
  </div>
309
321
  </div>
@@ -39,6 +39,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
39
39
  }>]>;
40
40
  binding: Schema.refine<string, typeof Schema.String>;
41
41
  enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
42
+ sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
42
43
  size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
43
44
  grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
44
45
  tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
@@ -2,7 +2,6 @@
2
2
  import { computed } from "vue";
3
3
  import { Icon } from "@iconify/vue";
4
4
  import { ExpressionEditor } from "../../../../ui/expression-editor";
5
- import { Switch } from "../../../../ui/switch";
6
5
  import { Separator } from "../../../../ui/separator";
7
6
  import { Field, FieldLabel } from "../../../../ui/field";
8
7
  import { Locale } from "../../../../ui/locale";
@@ -284,14 +283,10 @@ const derivedModel = computed({
284
283
  <Separator />
285
284
  <div class="flex flex-wrap gap-x-8 gap-y-3">
286
285
  <Field
287
- orientation="horizontal"
288
- class="w-auto gap-2"
286
+ orientation="vertical"
287
+ class="w-full max-w-xs"
289
288
  >
290
- <Switch
291
- :model-value="value.enableSorting ?? false"
292
- @update:model-value="(v) => value.enableSorting = v"
293
- />
294
- <FieldLabel class="text-sm text-zinc-600">
289
+ <FieldLabel class="text-xs text-zinc-500">
295
290
  <template
296
291
  v-if="fieldDescription('enableSorting')"
297
292
  #tooltip
@@ -304,6 +299,23 @@ const derivedModel = computed({
304
299
  </template>
305
300
  {{ fieldTitle("enableSorting") }}
306
301
  </FieldLabel>
302
+ <InputGroup>
303
+ <InputGroupInput
304
+ :model-value="value.sortKey"
305
+ placeholder="例:created_at"
306
+ @update:model-value="(v) => value.sortKey = v || void 0"
307
+ />
308
+ <InputGroupAddon align="inline-end">
309
+ <InputGroupButton
310
+ :variant="value.enableSorting ? 'primary' : 'ghost'"
311
+ size="xs"
312
+ @click="value.enableSorting = !value.enableSorting"
313
+ >
314
+ <Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
315
+ {{ fieldTitle("enableSorting") }}
316
+ </InputGroupButton>
317
+ </InputGroupAddon>
318
+ </InputGroup>
307
319
  </Field>
308
320
  </div>
309
321
  </div>
@@ -39,6 +39,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
39
39
  }>]>;
40
40
  binding: Schema.refine<string, typeof Schema.String>;
41
41
  enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
42
+ sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
42
43
  size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
43
44
  grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
44
45
  tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
@@ -2,7 +2,6 @@
2
2
  import { computed } from "vue";
3
3
  import { Icon } from "@iconify/vue";
4
4
  import { ExpressionEditor } from "../../../../ui/expression-editor";
5
- import { Switch } from "../../../../ui/switch";
6
5
  import { Separator } from "../../../../ui/separator";
7
6
  import { Field, FieldLabel } from "../../../../ui/field";
8
7
  import { Locale } from "../../../../ui/locale";
@@ -266,14 +265,10 @@ const derivedModel = computed({
266
265
  <Separator />
267
266
  <div class="flex flex-wrap gap-x-8 gap-y-3">
268
267
  <Field
269
- orientation="horizontal"
270
- class="w-auto gap-2"
268
+ orientation="vertical"
269
+ class="w-full max-w-xs"
271
270
  >
272
- <Switch
273
- :model-value="value.enableSorting ?? false"
274
- @update:model-value="(v) => value.enableSorting = v"
275
- />
276
- <FieldLabel class="text-sm text-zinc-600">
271
+ <FieldLabel class="text-xs text-zinc-500">
277
272
  <template
278
273
  v-if="fieldDescription('enableSorting')"
279
274
  #tooltip
@@ -286,6 +281,23 @@ const derivedModel = computed({
286
281
  </template>
287
282
  {{ fieldTitle("enableSorting") }}
288
283
  </FieldLabel>
284
+ <InputGroup>
285
+ <InputGroupInput
286
+ :model-value="value.sortKey"
287
+ placeholder="例:created_at"
288
+ @update:model-value="(v) => value.sortKey = v || void 0"
289
+ />
290
+ <InputGroupAddon align="inline-end">
291
+ <InputGroupButton
292
+ :variant="value.enableSorting ? 'primary' : 'ghost'"
293
+ size="xs"
294
+ @click="value.enableSorting = !value.enableSorting"
295
+ >
296
+ <Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
297
+ {{ fieldTitle("enableSorting") }}
298
+ </InputGroupButton>
299
+ </InputGroupAddon>
300
+ </InputGroup>
289
301
  </Field>
290
302
  </div>
291
303
  </div>
@@ -32,6 +32,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
32
32
  }>]>;
33
33
  binding: Schema.refine<string, typeof Schema.String>;
34
34
  enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
35
+ sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
35
36
  size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
36
37
  grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
37
38
  tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
@@ -51,6 +51,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
51
  readonly locale: "en" | "ja" | "ko";
52
52
  readonly message: string;
53
53
  }[]];
54
+ readonly sortKey?: string | undefined;
54
55
  readonly successMessage?: string | undefined;
55
56
  }) => any;
56
57
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]];
106
+ readonly sortKey?: string | undefined;
105
107
  readonly successMessage?: string | undefined;
106
108
  }) => any) | undefined;
107
109
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -2,7 +2,6 @@
2
2
  import { computed } from "vue";
3
3
  import { Icon } from "@iconify/vue";
4
4
  import { ExpressionEditor } from "../../../../ui/expression-editor";
5
- import { Switch } from "../../../../ui/switch";
6
5
  import { Separator } from "../../../../ui/separator";
7
6
  import { Field, FieldLabel } from "../../../../ui/field";
8
7
  import { Locale } from "../../../../ui/locale";
@@ -400,14 +399,10 @@ function updateTriggers(next) {
400
399
  <Separator />
401
400
  <div class="flex flex-wrap gap-x-8 gap-y-3">
402
401
  <Field
403
- orientation="horizontal"
404
- class="w-auto gap-2"
402
+ orientation="vertical"
403
+ class="w-full max-w-xs"
405
404
  >
406
- <Switch
407
- :model-value="value.enableSorting ?? false"
408
- @update:model-value="(v) => value = { ...value, enableSorting: v }"
409
- />
410
- <FieldLabel class="text-sm text-zinc-600">
405
+ <FieldLabel class="text-xs text-zinc-500">
411
406
  <template
412
407
  v-if="fieldDescription('enableSorting')"
413
408
  #tooltip
@@ -420,6 +415,23 @@ function updateTriggers(next) {
420
415
  </template>
421
416
  {{ fieldTitle("enableSorting") }}
422
417
  </FieldLabel>
418
+ <InputGroup>
419
+ <InputGroupInput
420
+ :model-value="value.sortKey"
421
+ placeholder="例:created_at"
422
+ @update:model-value="(v) => value = { ...value, sortKey: v || void 0 }"
423
+ />
424
+ <InputGroupAddon align="inline-end">
425
+ <InputGroupButton
426
+ :variant="value.enableSorting ? 'primary' : 'ghost'"
427
+ size="xs"
428
+ @click="value = { ...value, enableSorting: !value.enableSorting }"
429
+ >
430
+ <Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
431
+ {{ fieldTitle("enableSorting") }}
432
+ </InputGroupButton>
433
+ </InputGroupAddon>
434
+ </InputGroup>
423
435
  </Field>
424
436
  </div>
425
437
  </div>
@@ -51,6 +51,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
51
  readonly locale: "en" | "ja" | "ko";
52
52
  readonly message: string;
53
53
  }[]];
54
+ readonly sortKey?: string | undefined;
54
55
  readonly successMessage?: string | undefined;
55
56
  }) => any;
56
57
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]];
106
+ readonly sortKey?: string | undefined;
105
107
  readonly successMessage?: string | undefined;
106
108
  }) => any) | undefined;
107
109
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -67,6 +67,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
67
67
  }>]>;
68
68
  accessor: Schema.Schema<string, string, never>;
69
69
  enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
70
+ sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
70
71
  size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
71
72
  grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
72
73
  tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
@@ -65,6 +65,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
65
65
  readonly grow?: boolean | undefined;
66
66
  readonly accessor: string;
67
67
  readonly enableSorting?: boolean | undefined;
68
+ readonly sortKey?: string | undefined;
68
69
  readonly successMessage?: string | undefined;
69
70
  }) => any;
70
71
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -130,6 +131,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
130
131
  readonly grow?: boolean | undefined;
131
132
  readonly accessor: string;
132
133
  readonly enableSorting?: boolean | undefined;
134
+ readonly sortKey?: string | undefined;
133
135
  readonly successMessage?: string | undefined;
134
136
  }) => any) | undefined;
135
137
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -4,7 +4,6 @@ import { Icon } from "@iconify/vue";
4
4
  import { Button } from "../../../../ui/button";
5
5
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../../../ui/dropdown-menu";
6
6
  import { ExpressionEditor } from "../../../../ui/expression-editor";
7
- import { Switch } from "../../../../ui/switch";
8
7
  import { Separator } from "../../../../ui/separator";
9
8
  import { Field, FieldLabel } from "../../../../ui/field";
10
9
  import { Locale } from "../../../../ui/locale";
@@ -560,14 +559,10 @@ function setItemTooltip(index, tooltip) {
560
559
  <Separator />
561
560
  <div class="flex flex-wrap gap-x-8 gap-y-3">
562
561
  <Field
563
- orientation="horizontal"
564
- class="w-auto gap-2"
562
+ orientation="vertical"
563
+ class="w-full max-w-xs"
565
564
  >
566
- <Switch
567
- :model-value="value.enableSorting ?? false"
568
- @update:model-value="(v) => value = { ...value, enableSorting: v }"
569
- />
570
- <FieldLabel class="text-sm text-zinc-600">
565
+ <FieldLabel class="text-xs text-zinc-500">
571
566
  <template
572
567
  v-if="fieldDescription('enableSorting')"
573
568
  #tooltip
@@ -580,6 +575,23 @@ function setItemTooltip(index, tooltip) {
580
575
  </template>
581
576
  {{ fieldTitle("enableSorting") }}
582
577
  </FieldLabel>
578
+ <InputGroup>
579
+ <InputGroupInput
580
+ :model-value="value.sortKey"
581
+ placeholder="例:created_at"
582
+ @update:model-value="(v) => value = { ...value, sortKey: v || void 0 }"
583
+ />
584
+ <InputGroupAddon align="inline-end">
585
+ <InputGroupButton
586
+ :variant="value.enableSorting ? 'primary' : 'ghost'"
587
+ size="xs"
588
+ @click="value = { ...value, enableSorting: !value.enableSorting }"
589
+ >
590
+ <Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
591
+ {{ fieldTitle("enableSorting") }}
592
+ </InputGroupButton>
593
+ </InputGroupAddon>
594
+ </InputGroup>
583
595
  </Field>
584
596
  </div>
585
597
  </div>
@@ -65,6 +65,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
65
65
  readonly grow?: boolean | undefined;
66
66
  readonly accessor: string;
67
67
  readonly enableSorting?: boolean | undefined;
68
+ readonly sortKey?: string | undefined;
68
69
  readonly successMessage?: string | undefined;
69
70
  }) => any;
70
71
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -130,6 +131,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
130
131
  readonly grow?: boolean | undefined;
131
132
  readonly accessor: string;
132
133
  readonly enableSorting?: boolean | undefined;
134
+ readonly sortKey?: string | undefined;
133
135
  readonly successMessage?: string | undefined;
134
136
  }) => any) | undefined;
135
137
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -108,6 +108,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
108
108
  }>]>;
109
109
  accessor: Schema.Schema<string, string, never>;
110
110
  enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
111
+ sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
111
112
  size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
112
113
  grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
113
114
  tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
@@ -64,6 +64,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
64
  readonly expression: string;
65
65
  } | undefined;
66
66
  readonly enableSorting?: boolean | undefined;
67
+ readonly sortKey?: string | undefined;
67
68
  }) => any;
68
69
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
69
70
  "onUpdate:modelValue"?: ((value: {
@@ -127,6 +128,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
127
128
  readonly expression: string;
128
129
  } | undefined;
129
130
  readonly enableSorting?: boolean | undefined;
131
+ readonly sortKey?: string | undefined;
130
132
  }) => any) | undefined;
131
133
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
132
134
  declare const _default: typeof __VLS_export;
@@ -4,7 +4,6 @@ import { Icon } from "@iconify/vue";
4
4
  import { Button } from "../../../../ui/button";
5
5
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../../../ui/dropdown-menu";
6
6
  import { ExpressionEditor } from "../../../../ui/expression-editor";
7
- import { Switch } from "../../../../ui/switch";
8
7
  import { Separator } from "../../../../ui/separator";
9
8
  import { Field, FieldLabel } from "../../../../ui/field";
10
9
  import { Locale } from "../../../../ui/locale";
@@ -507,14 +506,10 @@ function setItemTooltip(index, tooltip) {
507
506
  <Separator />
508
507
  <div class="flex flex-wrap gap-x-8 gap-y-3">
509
508
  <Field
510
- orientation="horizontal"
511
- class="w-auto gap-2"
509
+ orientation="vertical"
510
+ class="w-full max-w-xs"
512
511
  >
513
- <Switch
514
- :model-value="value.enableSorting ?? false"
515
- @update:model-value="(v) => value = { ...value, enableSorting: v }"
516
- />
517
- <FieldLabel class="text-sm text-zinc-600">
512
+ <FieldLabel class="text-xs text-zinc-500">
518
513
  <template
519
514
  v-if="fieldDescription('enableSorting')"
520
515
  #tooltip
@@ -527,6 +522,23 @@ function setItemTooltip(index, tooltip) {
527
522
  </template>
528
523
  {{ fieldTitle("enableSorting") }}
529
524
  </FieldLabel>
525
+ <InputGroup>
526
+ <InputGroupInput
527
+ :model-value="value.sortKey"
528
+ placeholder="例:created_at"
529
+ @update:model-value="(v) => value = { ...value, sortKey: v || void 0 }"
530
+ />
531
+ <InputGroupAddon align="inline-end">
532
+ <InputGroupButton
533
+ :variant="value.enableSorting ? 'primary' : 'ghost'"
534
+ size="xs"
535
+ @click="value = { ...value, enableSorting: !value.enableSorting }"
536
+ >
537
+ <Icon :icon="value.enableSorting ? 'fluent:arrow-sort-up-16-regular' : 'fluent:arrow-sort-16-regular'" />
538
+ {{ fieldTitle("enableSorting") }}
539
+ </InputGroupButton>
540
+ </InputGroupAddon>
541
+ </InputGroup>
530
542
  </Field>
531
543
  </div>
532
544
  </div>
@@ -64,6 +64,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
64
  readonly expression: string;
65
65
  } | undefined;
66
66
  readonly enableSorting?: boolean | undefined;
67
+ readonly sortKey?: string | undefined;
67
68
  }) => any;
68
69
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
69
70
  "onUpdate:modelValue"?: ((value: {
@@ -127,6 +128,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
127
128
  readonly expression: string;
128
129
  } | undefined;
129
130
  readonly enableSorting?: boolean | undefined;
131
+ readonly sortKey?: string | undefined;
130
132
  }) => any) | undefined;
131
133
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
132
134
  declare const _default: typeof __VLS_export;
@@ -106,6 +106,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
106
106
  }>]>;
107
107
  binding: Schema.refine<string, typeof Schema.String>;
108
108
  enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
109
+ sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
109
110
  size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
110
111
  grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
111
112
  tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
@@ -51,6 +51,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
51
  readonly locale: "en" | "ja" | "ko";
52
52
  readonly message: string;
53
53
  }[]];
54
+ readonly sortKey?: string | undefined;
54
55
  readonly successMessage?: string | undefined;
55
56
  }) => any;
56
57
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -102,6 +103,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
103
  readonly locale: "en" | "ja" | "ko";
103
104
  readonly message: string;
104
105
  }[]];
106
+ readonly sortKey?: string | undefined;
105
107
  readonly successMessage?: string | undefined;
106
108
  }) => any) | undefined;
107
109
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;