@shwfed/config 2.11.6 → 2.12.1

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 (256) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -0
  3. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +13 -7
  4. package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +13 -7
  5. package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.d.ts +13 -7
  6. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +13 -7
  7. package/dist/runtime/components/actions/schema.d.ts +82 -52
  8. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +5 -5
  9. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +13 -7
  10. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +68 -68
  11. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +68 -68
  12. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +68 -68
  13. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +68 -68
  14. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +96 -72
  15. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +26 -14
  16. package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.d.ts +39 -21
  17. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.d.ts +13 -7
  18. package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.d.ts +26 -14
  19. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.d.ts +44 -26
  20. package/dist/runtime/components/config/schema.d.ts +13 -7
  21. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +26 -14
  22. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +22 -22
  23. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +22 -22
  24. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +57 -33
  25. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +52 -28
  26. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +18 -12
  27. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
  28. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
  29. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +65 -35
  30. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +18 -16
  31. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue +22 -0
  32. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +18 -16
  33. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +5 -0
  34. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +79 -42
  35. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +12 -0
  36. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +20 -18
  37. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue +22 -0
  38. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +20 -18
  39. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +5 -0
  40. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +92 -49
  41. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +12 -0
  42. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +18 -16
  43. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue +22 -0
  44. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +18 -16
  45. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +5 -0
  46. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +79 -42
  47. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +12 -0
  48. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +20 -18
  49. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue +22 -0
  50. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +20 -18
  51. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +5 -0
  52. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +92 -49
  53. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +12 -0
  54. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +39 -21
  55. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +39 -21
  56. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +28 -28
  57. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +28 -28
  58. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +57 -33
  59. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +6 -6
  60. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +6 -6
  61. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +65 -35
  62. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +22 -22
  63. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +22 -22
  64. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +65 -35
  65. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +104 -56
  66. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +78 -42
  67. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
  68. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
  69. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +65 -35
  70. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +78 -42
  71. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +91 -49
  72. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +91 -49
  73. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +39 -21
  74. package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.d.ts +13 -7
  75. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +30 -30
  76. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +30 -30
  77. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts +78 -42
  78. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +18 -16
  79. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue +22 -0
  80. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +18 -16
  81. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue +5 -0
  82. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +79 -42
  83. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js +12 -0
  84. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +20 -18
  85. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue +22 -0
  86. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +20 -18
  87. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue +5 -0
  88. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +92 -49
  89. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.js +12 -0
  90. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
  91. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
  92. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.d.ts +65 -35
  93. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +30 -30
  94. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +30 -30
  95. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +78 -42
  96. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +30 -30
  97. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +30 -30
  98. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.d.ts +78 -42
  99. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.d.ts +169 -91
  100. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.d.ts +169 -91
  101. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +30 -30
  102. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +30 -30
  103. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +78 -42
  104. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +30 -30
  105. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +30 -30
  106. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +78 -42
  107. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +30 -30
  108. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +30 -30
  109. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +78 -42
  110. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +30 -30
  111. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +30 -30
  112. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +78 -42
  113. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +78 -42
  114. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +130 -70
  115. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +130 -70
  116. package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.d.ts +26 -14
  117. package/dist/runtime/components/form/utils/ai-field-tools.d.ts +11 -0
  118. package/dist/runtime/components/form/utils/ai-field-tools.js +282 -0
  119. package/dist/runtime/components/form/utils/common.d.ts +26 -14
  120. package/dist/runtime/components/form/utils/resolve.d.ts +15 -0
  121. package/dist/runtime/components/form/utils/resolve.js +13 -0
  122. package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.d.ts +13 -7
  123. package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.d.ts +13 -7
  124. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts +13 -7
  125. package/dist/runtime/components/table/ai-generate.d.vue.ts +16 -0
  126. package/dist/runtime/components/table/ai-generate.system.d.ts +1 -0
  127. package/dist/runtime/components/table/ai-generate.system.js +10 -0
  128. package/dist/runtime/components/table/ai-generate.system.md +101 -0
  129. package/dist/runtime/components/table/ai-generate.vue +173 -0
  130. package/dist/runtime/components/table/ai-generate.vue.d.ts +16 -0
  131. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +18 -12
  132. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +26 -14
  133. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +26 -14
  134. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +39 -21
  135. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +26 -14
  136. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +26 -14
  137. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +26 -14
  138. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +26 -14
  139. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/schema.d.ts +91 -49
  140. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +44 -26
  141. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/schema.d.ts +52 -28
  142. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +52 -28
  143. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +44 -26
  144. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +6 -6
  145. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +6 -6
  146. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.d.ts +52 -28
  147. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
  148. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
  149. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +91 -49
  150. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.d.ts +91 -49
  151. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +6 -6
  152. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +6 -6
  153. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +52 -28
  154. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
  155. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
  156. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +91 -49
  157. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.d.ts +156 -84
  158. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
  159. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
  160. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +156 -84
  161. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.d.ts +156 -84
  162. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
  163. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
  164. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +156 -84
  165. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  166. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  167. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +65 -35
  168. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  169. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  170. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.d.ts +65 -35
  171. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  172. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  173. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +156 -84
  174. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  175. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  176. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +156 -84
  177. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  178. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  179. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +65 -35
  180. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  181. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  182. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.d.ts +65 -35
  183. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  184. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  185. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +117 -63
  186. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  187. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  188. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +117 -63
  189. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  190. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  191. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +52 -28
  192. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  193. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  194. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +52 -28
  195. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +33 -0
  196. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +5 -0
  197. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +71 -40
  198. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +6 -1
  199. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue +33 -0
  200. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue +5 -0
  201. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +79 -42
  202. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +6 -1
  203. package/dist/runtime/components/table/config.d.vue.ts +3 -3
  204. package/dist/runtime/components/table/config.vue +37 -3
  205. package/dist/runtime/components/table/config.vue.d.ts +3 -3
  206. package/dist/runtime/components/table/schema.d.ts +182 -134
  207. package/dist/runtime/components/table/utils/ai-tools.d.ts +11 -0
  208. package/dist/runtime/components/table/utils/ai-tools.js +507 -0
  209. package/dist/runtime/components/table/utils/resolve.d.ts +23 -0
  210. package/dist/runtime/components/table/utils/resolve.js +3 -0
  211. package/dist/runtime/components/table/utils/shared.d.ts +66 -35
  212. package/dist/runtime/components/table/utils/shared.js +26 -17
  213. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +1 -1
  214. package/dist/runtime/components/ui/chat/ChatMessage.d.vue.ts +7 -0
  215. package/dist/runtime/components/ui/chat/ChatMessage.vue +35 -0
  216. package/dist/runtime/components/ui/chat/ChatMessage.vue.d.ts +7 -0
  217. package/dist/runtime/components/ui/chat/ChatMessagePart.d.vue.ts +7 -0
  218. package/dist/runtime/components/ui/chat/ChatMessagePart.vue +43 -0
  219. package/dist/runtime/components/ui/chat/ChatMessagePart.vue.d.ts +7 -0
  220. package/dist/runtime/components/ui/chat/ChatMessages.d.vue.ts +18 -0
  221. package/dist/runtime/components/ui/chat/ChatMessages.vue +63 -0
  222. package/dist/runtime/components/ui/chat/ChatMessages.vue.d.ts +18 -0
  223. package/dist/runtime/components/ui/chat/ChatPrompt.d.vue.ts +34 -0
  224. package/dist/runtime/components/ui/chat/ChatPrompt.vue +53 -0
  225. package/dist/runtime/components/ui/chat/ChatPrompt.vue.d.ts +34 -0
  226. package/dist/runtime/components/ui/chat/ChatPromptSubmit.d.vue.ts +18 -0
  227. package/dist/runtime/components/ui/chat/ChatPromptSubmit.vue +41 -0
  228. package/dist/runtime/components/ui/chat/ChatPromptSubmit.vue.d.ts +18 -0
  229. package/dist/runtime/components/ui/chat/ChatReasoning.d.vue.ts +7 -0
  230. package/dist/runtime/components/ui/chat/ChatReasoning.vue +33 -0
  231. package/dist/runtime/components/ui/chat/ChatReasoning.vue.d.ts +7 -0
  232. package/dist/runtime/components/ui/chat/ChatToolCall.d.vue.ts +10 -0
  233. package/dist/runtime/components/ui/chat/ChatToolCall.vue +92 -0
  234. package/dist/runtime/components/ui/chat/ChatToolCall.vue.d.ts +10 -0
  235. package/dist/runtime/components/ui/chat/index.d.ts +9 -0
  236. package/dist/runtime/components/ui/chat/index.js +8 -0
  237. package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.d.vue.ts +15 -0
  238. package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.vue +22 -0
  239. package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.vue.d.ts +15 -0
  240. package/dist/runtime/components/ui/stream-markdown/index.d.ts +1 -0
  241. package/dist/runtime/components/ui/stream-markdown/index.js +1 -0
  242. package/dist/runtime/share/coerce-from-string.d.ts +62 -0
  243. package/dist/runtime/share/coerce-from-string.js +154 -0
  244. package/dist/runtime/share/disabled-date.d.ts +34 -0
  245. package/dist/runtime/share/disabled-date.js +13 -0
  246. package/dist/runtime/share/locale.d.ts +13 -7
  247. package/dist/runtime/share/locale.js +27 -5
  248. package/dist/runtime/share/use-persisted-chat.d.ts +30 -0
  249. package/dist/runtime/share/use-persisted-chat.js +34 -0
  250. package/dist/runtime/utils/ai/index.d.ts +10 -0
  251. package/dist/runtime/utils/ai/index.js +145 -32
  252. package/dist/runtime/utils/ai/parts.d.ts +30 -0
  253. package/dist/runtime/utils/ai/parts.js +9 -0
  254. package/dist/runtime/utils/disabled-date.d.ts +26 -0
  255. package/dist/runtime/utils/disabled-date.js +21 -0
  256. package/package.json +2 -1
@@ -35,6 +35,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
35
35
  readonly numberOfMonths?: number | undefined;
36
36
  readonly format?: string | undefined;
37
37
  readonly valueFormat?: string | undefined;
38
+ readonly disabledDate?: string | undefined;
38
39
  readonly rangeSeparatorIcon?: string | undefined;
39
40
  readonly startPlaceholder?: readonly [{
40
41
  readonly locale: "zh";
@@ -50,28 +51,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
51
  readonly locale: "en" | "ja" | "ko";
51
52
  readonly message: string;
52
53
  }[]] | undefined;
53
- readonly presets?: readonly {
54
- readonly label: readonly [{
54
+ readonly validations?: readonly {
55
+ readonly message: readonly [{
55
56
  readonly locale: "zh";
56
57
  readonly message: string;
57
58
  }, ...{
58
59
  readonly locale: "en" | "ja" | "ko";
59
60
  readonly message: string;
60
61
  }[]];
61
- readonly id: string;
62
- readonly end: string;
63
- readonly start: string;
62
+ readonly warning?: boolean | undefined;
63
+ readonly when: string;
64
64
  }[] | undefined;
65
- readonly validations?: readonly {
66
- readonly message: readonly [{
65
+ readonly presets?: readonly {
66
+ readonly label: readonly [{
67
67
  readonly locale: "zh";
68
68
  readonly message: string;
69
69
  }, ...{
70
70
  readonly locale: "en" | "ja" | "ko";
71
71
  readonly message: string;
72
72
  }[]];
73
- readonly warning?: boolean | undefined;
74
- readonly when: string;
73
+ readonly id: string;
74
+ readonly end: string;
75
+ readonly start: string;
75
76
  }[] | undefined;
76
77
  }) => any;
77
78
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -107,6 +108,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
107
108
  readonly numberOfMonths?: number | undefined;
108
109
  readonly format?: string | undefined;
109
110
  readonly valueFormat?: string | undefined;
111
+ readonly disabledDate?: string | undefined;
110
112
  readonly rangeSeparatorIcon?: string | undefined;
111
113
  readonly startPlaceholder?: readonly [{
112
114
  readonly locale: "zh";
@@ -122,28 +124,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
122
124
  readonly locale: "en" | "ja" | "ko";
123
125
  readonly message: string;
124
126
  }[]] | undefined;
125
- readonly presets?: readonly {
126
- readonly label: readonly [{
127
+ readonly validations?: readonly {
128
+ readonly message: readonly [{
127
129
  readonly locale: "zh";
128
130
  readonly message: string;
129
131
  }, ...{
130
132
  readonly locale: "en" | "ja" | "ko";
131
133
  readonly message: string;
132
134
  }[]];
133
- readonly id: string;
134
- readonly end: string;
135
- readonly start: string;
135
+ readonly warning?: boolean | undefined;
136
+ readonly when: string;
136
137
  }[] | undefined;
137
- readonly validations?: readonly {
138
- readonly message: readonly [{
138
+ readonly presets?: readonly {
139
+ readonly label: readonly [{
139
140
  readonly locale: "zh";
140
141
  readonly message: string;
141
142
  }, ...{
142
143
  readonly locale: "en" | "ja" | "ko";
143
144
  readonly message: string;
144
145
  }[]];
145
- readonly warning?: boolean | undefined;
146
- readonly when: string;
146
+ readonly id: string;
147
+ readonly end: string;
148
+ readonly start: string;
147
149
  }[] | undefined;
148
150
  }) => any) | undefined;
149
151
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -5,6 +5,7 @@ import { computed, ref } from "vue";
5
5
  import { useI18n } from "vue-i18n";
6
6
  import { cel as _rawCel } from "../../../../../utils/cel";
7
7
  import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
8
+ import { makeDisabledDatePredicate } from "../../../../../utils/disabled-date";
8
9
  import { getLocalizedText } from "../../../../../share/locale";
9
10
  import { DATE_RANGE_PICKER_DEFAULT_FORMATS, DateRangePicker } from "../../../../ui/date-range-picker";
10
11
  import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
@@ -71,6 +72,9 @@ const shortcuts = computed(() => {
71
72
  }
72
73
  }));
73
74
  });
75
+ const disabledDate = computed(
76
+ () => makeDisabledDatePredicate(props.config.disabledDate, (input) => Effect.runSync($cel(props.config.disabledDate, { form: formScope.state.value ?? {}, input })))
77
+ );
74
78
  function asRange(raw) {
75
79
  if (!Array.isArray(raw) || raw.length !== 2) return void 0;
76
80
  const [a, b] = raw;
@@ -163,6 +167,7 @@ const readonlyText = computed(() => {
163
167
  :range-separator-icon="config.rangeSeparatorIcon"
164
168
  :number-of-months="config.numberOfMonths"
165
169
  :disabled="isDisabled"
170
+ :disabled-date="disabledDate"
166
171
  :shortcuts="shortcuts"
167
172
  />
168
173
  <FieldMessages
@@ -18,49 +18,80 @@ export declare const metadata: {
18
18
  };
19
19
  export declare function presetSchema(configure: (env: Environment) => void): Schema.Struct<{
20
20
  id: Schema.refine<string, typeof Schema.String>;
21
- label: Schema.TupleType<readonly [Schema.Struct<{
22
- locale: Schema.Literal<["zh"]>;
23
- message: Schema.SchemaClass<string, string, never>;
24
- }>], [Schema.Struct<{
25
- locale: Schema.Literal<["ja", "en", "ko"]>;
26
- message: Schema.SchemaClass<string, string, never>;
27
- }>]>;
21
+ label: Schema.suspend<readonly [{
22
+ readonly locale: "zh";
23
+ readonly message: string;
24
+ }, ...{
25
+ readonly locale: "en" | "ja" | "ko";
26
+ readonly message: string;
27
+ }[]], string | readonly [{
28
+ readonly locale: "zh";
29
+ readonly message: string;
30
+ }, ...{
31
+ readonly locale: "en" | "ja" | "ko";
32
+ readonly message: string;
33
+ }[]], never>;
28
34
  start: Schema.Schema<string, string, never>;
29
35
  end: Schema.Schema<string, string, never>;
30
36
  }>;
31
37
  export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
32
- label: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
33
- locale: Schema.Literal<["zh"]>;
34
- message: Schema.SchemaClass<string, string, never>;
35
- }>], [Schema.Struct<{
36
- locale: Schema.Literal<["ja", "en", "ko"]>;
37
- message: Schema.SchemaClass<string, string, never>;
38
- }>]>>;
39
- startPlaceholder: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
40
- locale: Schema.Literal<["zh"]>;
41
- message: Schema.SchemaClass<string, string, never>;
42
- }>], [Schema.Struct<{
43
- locale: Schema.Literal<["ja", "en", "ko"]>;
44
- message: Schema.SchemaClass<string, string, never>;
45
- }>]>>;
46
- endPlaceholder: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
47
- locale: Schema.Literal<["zh"]>;
48
- message: Schema.SchemaClass<string, string, never>;
49
- }>], [Schema.Struct<{
50
- locale: Schema.Literal<["ja", "en", "ko"]>;
51
- message: Schema.SchemaClass<string, string, never>;
52
- }>]>>;
53
- tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
54
- locale: Schema.Literal<["zh"]>;
55
- message: Schema.SchemaClass<string, string, never>;
56
- }>], [Schema.Struct<{
57
- locale: Schema.Literal<["ja", "en", "ko"]>;
58
- message: Schema.SchemaClass<string, string, never>;
59
- }>]>>;
38
+ label: Schema.optional<Schema.suspend<readonly [{
39
+ readonly locale: "zh";
40
+ readonly message: string;
41
+ }, ...{
42
+ readonly locale: "en" | "ja" | "ko";
43
+ readonly message: string;
44
+ }[]], string | readonly [{
45
+ readonly locale: "zh";
46
+ readonly message: string;
47
+ }, ...{
48
+ readonly locale: "en" | "ja" | "ko";
49
+ readonly message: string;
50
+ }[]], never>>;
51
+ startPlaceholder: Schema.optional<Schema.suspend<readonly [{
52
+ readonly locale: "zh";
53
+ readonly message: string;
54
+ }, ...{
55
+ readonly locale: "en" | "ja" | "ko";
56
+ readonly message: string;
57
+ }[]], string | readonly [{
58
+ readonly locale: "zh";
59
+ readonly message: string;
60
+ }, ...{
61
+ readonly locale: "en" | "ja" | "ko";
62
+ readonly message: string;
63
+ }[]], never>>;
64
+ endPlaceholder: Schema.optional<Schema.suspend<readonly [{
65
+ readonly locale: "zh";
66
+ readonly message: string;
67
+ }, ...{
68
+ readonly locale: "en" | "ja" | "ko";
69
+ readonly message: string;
70
+ }[]], string | readonly [{
71
+ readonly locale: "zh";
72
+ readonly message: string;
73
+ }, ...{
74
+ readonly locale: "en" | "ja" | "ko";
75
+ readonly message: string;
76
+ }[]], never>>;
77
+ tooltip: Schema.optional<Schema.suspend<readonly [{
78
+ readonly locale: "zh";
79
+ readonly message: string;
80
+ }, ...{
81
+ readonly locale: "en" | "ja" | "ko";
82
+ readonly message: string;
83
+ }[]], string | readonly [{
84
+ readonly locale: "zh";
85
+ readonly message: string;
86
+ }, ...{
87
+ readonly locale: "en" | "ja" | "ko";
88
+ readonly message: string;
89
+ }[]], never>>;
60
90
  orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
61
91
  binding: Schema.optional<Schema.Union<[Schema.filter<typeof Schema.String>, Schema.filter<Schema.Tuple2<Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.String>>>]>>;
62
92
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
63
93
  readonly: Schema.optional<Schema.Schema<string, string, never>>;
94
+ disabledDate: Schema.optional<Schema.Schema<string, string, never>>;
64
95
  derived: Schema.optional<Schema.Struct<{
65
96
  mode: Schema.Literal<["formula", "prefill"]>;
66
97
  expression: Schema.Schema<string, string, never>;
@@ -71,13 +102,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
71
102
  numberOfMonths: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
72
103
  presets: Schema.optional<Schema.Array$<Schema.Struct<{
73
104
  id: Schema.refine<string, typeof Schema.String>;
74
- label: Schema.TupleType<readonly [Schema.Struct<{
75
- locale: Schema.Literal<["zh"]>;
76
- message: Schema.SchemaClass<string, string, never>;
77
- }>], [Schema.Struct<{
78
- locale: Schema.Literal<["ja", "en", "ko"]>;
79
- message: Schema.SchemaClass<string, string, never>;
80
- }>]>;
105
+ label: Schema.suspend<readonly [{
106
+ readonly locale: "zh";
107
+ readonly message: string;
108
+ }, ...{
109
+ readonly locale: "en" | "ja" | "ko";
110
+ readonly message: string;
111
+ }[]], string | readonly [{
112
+ readonly locale: "zh";
113
+ readonly message: string;
114
+ }, ...{
115
+ readonly locale: "en" | "ja" | "ko";
116
+ readonly message: string;
117
+ }[]], never>;
81
118
  start: Schema.Schema<string, string, never>;
82
119
  end: Schema.Schema<string, string, never>;
83
120
  }>>>;
@@ -94,13 +131,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
94
131
  }, ...{
95
132
  readonly locale: "en" | "ja" | "ko";
96
133
  readonly message: string;
97
- }[]], Schema.TupleType<readonly [Schema.Struct<{
98
- locale: Schema.Literal<["zh"]>;
99
- message: Schema.SchemaClass<string, string, never>;
100
- }>], [Schema.Struct<{
101
- locale: Schema.Literal<["ja", "en", "ko"]>;
102
- message: Schema.SchemaClass<string, string, never>;
103
- }>]>>;
134
+ }[]], Schema.suspend<readonly [{
135
+ readonly locale: "zh";
136
+ readonly message: string;
137
+ }, ...{
138
+ readonly locale: "en" | "ja" | "ko";
139
+ readonly message: string;
140
+ }[]], string | readonly [{
141
+ readonly locale: "zh";
142
+ readonly message: string;
143
+ }, ...{
144
+ readonly locale: "en" | "ja" | "ko";
145
+ readonly message: string;
146
+ }[]], never>>;
104
147
  }>>>;
105
148
  type: Schema.Literal<["com.shwfed.form.field.daterange"]>;
106
149
  compatibilityDate: Schema.Literal<["2026-04-27"]>;
@@ -1,4 +1,5 @@
1
1
  import { Schema } from "effect";
2
+ import { DISABLE_DATE_RESULT, registerInputDateIfAbsent } from "../../../../../share/disabled-date.js";
2
3
  import { Expression } from "../../../../../share/expression.js";
3
4
  import { Locale } from "../../../../../share/locale.js";
4
5
  import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
@@ -42,6 +43,13 @@ export function presetSchema(configure) {
42
43
  }
43
44
  export function schema(configure) {
44
45
  const CelBool = Expression({ configure, resultType: "bool" });
46
+ const DisabledDate = Expression({
47
+ configure: (env) => {
48
+ configure(env);
49
+ registerInputDateIfAbsent(env);
50
+ },
51
+ resultType: DISABLE_DATE_RESULT
52
+ });
45
53
  const Preset = presetSchema(configure);
46
54
  return Schema.Struct({
47
55
  type: Schema.Literal(type),
@@ -73,6 +81,10 @@ export function schema(configure) {
73
81
  title: "\u53EA\u8BFB\u6761\u4EF6",
74
82
  description: "\u8FD4\u56DE `true` \u65F6\u4EC5\u4EE5\u7EAF\u6587\u672C\u5C55\u793A\u5F53\u524D\u503C"
75
83
  })),
84
+ disabledDate: Schema.optional(DisabledDate.annotations({
85
+ title: "\u7981\u7528\u65E5\u671F",
86
+ description: "\u9010\u4E2A\u65E5\u671F\u5224\u5B9A\u662F\u5426\u53EF\u9009\uFF1B\u53D8\u91CF `input` \u4E3A\u5019\u9009\u65E5\u671F\u3002\u8FD4\u56DE `true` \u65F6\u7981\u7528\u8BE5\u65E5\u671F\uFF0C\u8FD4\u56DE `false`\u3001\u7A7A\u503C\u6216\u4E0D\u586B\u65F6\u53EF\u9009"
87
+ })),
76
88
  derived: derivedField(configure, "dyn"),
77
89
  format: Schema.optional(Schema.String.pipe(Schema.minLength(1)).annotations({
78
90
  title: "\u5C55\u793A\u683C\u5F0F",
@@ -42,28 +42,29 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
42
42
  readonly hourCycle?: 12 | 24 | undefined;
43
43
  readonly format?: string | undefined;
44
44
  readonly valueFormat?: string | undefined;
45
+ readonly disabledDate?: string | undefined;
45
46
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
46
- readonly presets?: readonly {
47
- readonly label: readonly [{
47
+ readonly validations?: readonly {
48
+ readonly message: readonly [{
48
49
  readonly locale: "zh";
49
50
  readonly message: string;
50
51
  }, ...{
51
52
  readonly locale: "en" | "ja" | "ko";
52
53
  readonly message: string;
53
54
  }[]];
54
- readonly id: string;
55
- readonly value: string;
55
+ readonly warning?: boolean | undefined;
56
+ readonly when: string;
56
57
  }[] | undefined;
57
- readonly validations?: readonly {
58
- readonly message: readonly [{
58
+ readonly presets?: readonly {
59
+ readonly label: readonly [{
59
60
  readonly locale: "zh";
60
61
  readonly message: string;
61
62
  }, ...{
62
63
  readonly locale: "en" | "ja" | "ko";
63
64
  readonly message: string;
64
65
  }[]];
65
- readonly warning?: boolean | undefined;
66
- readonly when: string;
66
+ readonly id: string;
67
+ readonly value: string;
67
68
  }[] | undefined;
68
69
  }) => any;
69
70
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -106,28 +107,29 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
107
  readonly hourCycle?: 12 | 24 | undefined;
107
108
  readonly format?: string | undefined;
108
109
  readonly valueFormat?: string | undefined;
110
+ readonly disabledDate?: string | undefined;
109
111
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
110
- readonly presets?: readonly {
111
- readonly label: readonly [{
112
+ readonly validations?: readonly {
113
+ readonly message: readonly [{
112
114
  readonly locale: "zh";
113
115
  readonly message: string;
114
116
  }, ...{
115
117
  readonly locale: "en" | "ja" | "ko";
116
118
  readonly message: string;
117
119
  }[]];
118
- readonly id: string;
119
- readonly value: string;
120
+ readonly warning?: boolean | undefined;
121
+ readonly when: string;
120
122
  }[] | undefined;
121
- readonly validations?: readonly {
122
- readonly message: readonly [{
123
+ readonly presets?: readonly {
124
+ readonly label: readonly [{
123
125
  readonly locale: "zh";
124
126
  readonly message: string;
125
127
  }, ...{
126
128
  readonly locale: "en" | "ja" | "ko";
127
129
  readonly message: string;
128
130
  }[]];
129
- readonly warning?: boolean | undefined;
130
- readonly when: string;
131
+ readonly id: string;
132
+ readonly value: string;
131
133
  }[] | undefined;
132
134
  }) => any) | undefined;
133
135
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -2,6 +2,7 @@
2
2
  import { Icon } from "@iconify/vue";
3
3
  import { computed } from "vue";
4
4
  import { format as formatDate } from "date-fns";
5
+ import { DISABLE_DATE_EDITOR_RESULT, INPUT_DATE_VARS } from "../../../../../share/disabled-date";
5
6
  import { Button } from "../../../../ui/button";
6
7
  import { ExpressionEditor } from "../../../../ui/expression-editor";
7
8
  import DerivedValueEditor from "../../../DerivedValueEditor.vue";
@@ -574,6 +575,27 @@ const valueFormatExample = computed(() => previewFormat(value.value.valueFormat
574
575
  </Field>
575
576
  </div>
576
577
 
578
+ <Field orientation="vertical">
579
+ <FieldLabel class="text-xs text-zinc-500">
580
+ <template #tooltip>
581
+ <Markdown
582
+ :source="fieldDescription('disabledDate')"
583
+ block
584
+ class="prose prose-sm prose-zinc"
585
+ />
586
+ </template>
587
+ {{ fieldTitle("disabledDate") }}
588
+ </FieldLabel>
589
+ <ExpressionEditor
590
+ :model-value="value.disabledDate ?? ''"
591
+ placeholder="例:input.format('i') == '6' || input.format('i') == '7'"
592
+ :result-type="[...DISABLE_DATE_EDITOR_RESULT]"
593
+ :extra-vars="INPUT_DATE_VARS"
594
+ class="min-h-10"
595
+ @update:model-value="(v) => value = { ...value, disabledDate: v.length > 0 ? v : void 0 }"
596
+ />
597
+ </Field>
598
+
577
599
  <Field orientation="vertical">
578
600
  <FieldLabel class="text-xs text-zinc-500">
579
601
  <template #tooltip>
@@ -42,28 +42,29 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
42
42
  readonly hourCycle?: 12 | 24 | undefined;
43
43
  readonly format?: string | undefined;
44
44
  readonly valueFormat?: string | undefined;
45
+ readonly disabledDate?: string | undefined;
45
46
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
46
- readonly presets?: readonly {
47
- readonly label: readonly [{
47
+ readonly validations?: readonly {
48
+ readonly message: readonly [{
48
49
  readonly locale: "zh";
49
50
  readonly message: string;
50
51
  }, ...{
51
52
  readonly locale: "en" | "ja" | "ko";
52
53
  readonly message: string;
53
54
  }[]];
54
- readonly id: string;
55
- readonly value: string;
55
+ readonly warning?: boolean | undefined;
56
+ readonly when: string;
56
57
  }[] | undefined;
57
- readonly validations?: readonly {
58
- readonly message: readonly [{
58
+ readonly presets?: readonly {
59
+ readonly label: readonly [{
59
60
  readonly locale: "zh";
60
61
  readonly message: string;
61
62
  }, ...{
62
63
  readonly locale: "en" | "ja" | "ko";
63
64
  readonly message: string;
64
65
  }[]];
65
- readonly warning?: boolean | undefined;
66
- readonly when: string;
66
+ readonly id: string;
67
+ readonly value: string;
67
68
  }[] | undefined;
68
69
  }) => any;
69
70
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -106,28 +107,29 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
107
  readonly hourCycle?: 12 | 24 | undefined;
107
108
  readonly format?: string | undefined;
108
109
  readonly valueFormat?: string | undefined;
110
+ readonly disabledDate?: string | undefined;
109
111
  readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
110
- readonly presets?: readonly {
111
- readonly label: readonly [{
112
+ readonly validations?: readonly {
113
+ readonly message: readonly [{
112
114
  readonly locale: "zh";
113
115
  readonly message: string;
114
116
  }, ...{
115
117
  readonly locale: "en" | "ja" | "ko";
116
118
  readonly message: string;
117
119
  }[]];
118
- readonly id: string;
119
- readonly value: string;
120
+ readonly warning?: boolean | undefined;
121
+ readonly when: string;
120
122
  }[] | undefined;
121
- readonly validations?: readonly {
122
- readonly message: readonly [{
123
+ readonly presets?: readonly {
124
+ readonly label: readonly [{
123
125
  readonly locale: "zh";
124
126
  readonly message: string;
125
127
  }, ...{
126
128
  readonly locale: "en" | "ja" | "ko";
127
129
  readonly message: string;
128
130
  }[]];
129
- readonly warning?: boolean | undefined;
130
- readonly when: string;
131
+ readonly id: string;
132
+ readonly value: string;
131
133
  }[] | undefined;
132
134
  }) => any) | undefined;
133
135
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -5,6 +5,7 @@ import { computed, ref } from "vue";
5
5
  import { useI18n } from "vue-i18n";
6
6
  import { cel as _rawCel } from "../../../../../utils/cel";
7
7
  import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
8
+ import { makeDisabledDatePredicate } from "../../../../../utils/disabled-date";
8
9
  import { getLocalizedText } from "../../../../../share/locale";
9
10
  import { DATE_PICKER_DEFAULT_FORMATS, DatePicker } from "../../../../ui/date-picker";
10
11
  import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
@@ -64,6 +65,9 @@ const shortcuts = computed(() => {
64
65
  }
65
66
  }));
66
67
  });
68
+ const disabledDate = computed(
69
+ () => makeDisabledDatePredicate(props.config.disabledDate, (input) => Effect.runSync($cel(props.config.disabledDate, { form: formScope.state.value ?? {}, input })))
70
+ );
67
71
  const uncontrolled = ref(void 0);
68
72
  const model = computed({
69
73
  get: () => {
@@ -132,6 +136,7 @@ const { isRequired, errors, warnings, visible } = useFieldValidation({
132
136
  :time-granularity="config.timeGranularity"
133
137
  :hour-cycle="config.hourCycle"
134
138
  :disabled="isDisabled"
139
+ :disabled-date="disabledDate"
135
140
  :shortcuts="shortcuts"
136
141
  />
137
142
  <FieldMessages