@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.
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +13 -7
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +13 -7
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.d.ts +13 -7
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +13 -7
- package/dist/runtime/components/actions/schema.d.ts +82 -52
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +5 -5
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +13 -7
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +96 -72
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +26 -14
- package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.d.ts +39 -21
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.d.ts +13 -7
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.d.ts +26 -14
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.d.ts +44 -26
- package/dist/runtime/components/config/schema.d.ts +13 -7
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +26 -14
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +57 -33
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +52 -28
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +18 -12
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +65 -35
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +18 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue +22 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +18 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +5 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +79 -42
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +12 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +20 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue +22 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +20 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +5 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +92 -49
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +12 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +18 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue +22 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +18 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +5 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +79 -42
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +12 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +20 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue +22 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +20 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +5 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +92 -49
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +12 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +39 -21
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +39 -21
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +28 -28
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +28 -28
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +57 -33
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +65 -35
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +65 -35
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +104 -56
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +65 -35
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +91 -49
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +91 -49
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +39 -21
- package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.d.ts +13 -7
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +18 -16
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue +22 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +18 -16
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue +5 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +79 -42
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js +12 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +20 -18
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue +22 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +20 -18
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue +5 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +92 -49
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.js +12 -0
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.d.ts +65 -35
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.d.ts +169 -91
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.d.ts +169 -91
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +30 -30
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +130 -70
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +130 -70
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.d.ts +26 -14
- package/dist/runtime/components/form/utils/ai-field-tools.d.ts +11 -0
- package/dist/runtime/components/form/utils/ai-field-tools.js +282 -0
- package/dist/runtime/components/form/utils/common.d.ts +26 -14
- package/dist/runtime/components/form/utils/resolve.d.ts +15 -0
- package/dist/runtime/components/form/utils/resolve.js +13 -0
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.d.ts +13 -7
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.d.ts +13 -7
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts +13 -7
- package/dist/runtime/components/table/ai-generate.d.vue.ts +16 -0
- package/dist/runtime/components/table/ai-generate.system.d.ts +1 -0
- package/dist/runtime/components/table/ai-generate.system.js +10 -0
- package/dist/runtime/components/table/ai-generate.system.md +101 -0
- package/dist/runtime/components/table/ai-generate.vue +173 -0
- package/dist/runtime/components/table/ai-generate.vue.d.ts +16 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +18 -12
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +39 -21
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/schema.d.ts +91 -49
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +44 -26
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +44 -26
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +6 -6
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +6 -6
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +91 -49
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.d.ts +91 -49
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +6 -6
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +6 -6
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +91 -49
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +65 -35
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.d.ts +65 -35
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +65 -35
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.d.ts +65 -35
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +117 -63
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +117 -63
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +33 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +5 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +71 -40
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +6 -1
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue +33 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue +5 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +79 -42
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +6 -1
- package/dist/runtime/components/table/config.d.vue.ts +3 -3
- package/dist/runtime/components/table/config.vue +37 -3
- package/dist/runtime/components/table/config.vue.d.ts +3 -3
- package/dist/runtime/components/table/schema.d.ts +182 -134
- package/dist/runtime/components/table/utils/ai-tools.d.ts +11 -0
- package/dist/runtime/components/table/utils/ai-tools.js +507 -0
- package/dist/runtime/components/table/utils/resolve.d.ts +23 -0
- package/dist/runtime/components/table/utils/resolve.js +3 -0
- package/dist/runtime/components/table/utils/shared.d.ts +66 -35
- package/dist/runtime/components/table/utils/shared.js +26 -17
- package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +1 -1
- package/dist/runtime/components/ui/chat/ChatMessage.d.vue.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatMessage.vue +35 -0
- package/dist/runtime/components/ui/chat/ChatMessage.vue.d.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatMessagePart.d.vue.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatMessagePart.vue +43 -0
- package/dist/runtime/components/ui/chat/ChatMessagePart.vue.d.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatMessages.d.vue.ts +18 -0
- package/dist/runtime/components/ui/chat/ChatMessages.vue +63 -0
- package/dist/runtime/components/ui/chat/ChatMessages.vue.d.ts +18 -0
- package/dist/runtime/components/ui/chat/ChatPrompt.d.vue.ts +34 -0
- package/dist/runtime/components/ui/chat/ChatPrompt.vue +53 -0
- package/dist/runtime/components/ui/chat/ChatPrompt.vue.d.ts +34 -0
- package/dist/runtime/components/ui/chat/ChatPromptSubmit.d.vue.ts +18 -0
- package/dist/runtime/components/ui/chat/ChatPromptSubmit.vue +41 -0
- package/dist/runtime/components/ui/chat/ChatPromptSubmit.vue.d.ts +18 -0
- package/dist/runtime/components/ui/chat/ChatReasoning.d.vue.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatReasoning.vue +33 -0
- package/dist/runtime/components/ui/chat/ChatReasoning.vue.d.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatToolCall.d.vue.ts +10 -0
- package/dist/runtime/components/ui/chat/ChatToolCall.vue +92 -0
- package/dist/runtime/components/ui/chat/ChatToolCall.vue.d.ts +10 -0
- package/dist/runtime/components/ui/chat/index.d.ts +9 -0
- package/dist/runtime/components/ui/chat/index.js +8 -0
- package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.d.vue.ts +15 -0
- package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.vue +22 -0
- package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.vue.d.ts +15 -0
- package/dist/runtime/components/ui/stream-markdown/index.d.ts +1 -0
- package/dist/runtime/components/ui/stream-markdown/index.js +1 -0
- package/dist/runtime/share/coerce-from-string.d.ts +62 -0
- package/dist/runtime/share/coerce-from-string.js +154 -0
- package/dist/runtime/share/disabled-date.d.ts +34 -0
- package/dist/runtime/share/disabled-date.js +13 -0
- package/dist/runtime/share/locale.d.ts +13 -7
- package/dist/runtime/share/locale.js +27 -5
- package/dist/runtime/share/use-persisted-chat.d.ts +30 -0
- package/dist/runtime/share/use-persisted-chat.js +34 -0
- package/dist/runtime/utils/ai/index.d.ts +10 -0
- package/dist/runtime/utils/ai/index.js +145 -32
- package/dist/runtime/utils/ai/parts.d.ts +30 -0
- package/dist/runtime/utils/ai/parts.js +9 -0
- package/dist/runtime/utils/disabled-date.d.ts +26 -0
- package/dist/runtime/utils/disabled-date.js +21 -0
- package/package.json +2 -1
package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts
CHANGED
|
@@ -18,20 +18,32 @@ export declare const metadata: {
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
21
|
-
label: Schema.optional<Schema.
|
|
22
|
-
locale:
|
|
23
|
-
message:
|
|
24
|
-
}
|
|
25
|
-
locale:
|
|
26
|
-
message:
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
21
|
+
label: Schema.optional<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>>;
|
|
34
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
35
|
+
readonly locale: "zh";
|
|
36
|
+
readonly message: string;
|
|
37
|
+
}, ...{
|
|
38
|
+
readonly locale: "en" | "ja" | "ko";
|
|
39
|
+
readonly message: string;
|
|
40
|
+
}[]], string | readonly [{
|
|
41
|
+
readonly locale: "zh";
|
|
42
|
+
readonly message: string;
|
|
43
|
+
}, ...{
|
|
44
|
+
readonly locale: "en" | "ja" | "ko";
|
|
45
|
+
readonly message: string;
|
|
46
|
+
}[]], never>>;
|
|
35
47
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
36
48
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
37
49
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -51,26 +63,38 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
51
63
|
}, ...{
|
|
52
64
|
readonly locale: "en" | "ja" | "ko";
|
|
53
65
|
readonly message: string;
|
|
54
|
-
}[]], Schema.
|
|
55
|
-
locale:
|
|
56
|
-
message:
|
|
57
|
-
}
|
|
58
|
-
locale:
|
|
59
|
-
message:
|
|
60
|
-
}
|
|
66
|
+
}[]], Schema.suspend<readonly [{
|
|
67
|
+
readonly locale: "zh";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
}, ...{
|
|
70
|
+
readonly locale: "en" | "ja" | "ko";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}[]], string | readonly [{
|
|
73
|
+
readonly locale: "zh";
|
|
74
|
+
readonly message: string;
|
|
75
|
+
}, ...{
|
|
76
|
+
readonly locale: "en" | "ja" | "ko";
|
|
77
|
+
readonly message: string;
|
|
78
|
+
}[]], never>>;
|
|
61
79
|
nodeTooltip: Schema.optional<Schema.refine<readonly [{
|
|
62
80
|
readonly locale: "zh";
|
|
63
81
|
readonly message: string;
|
|
64
82
|
}, ...{
|
|
65
83
|
readonly locale: "en" | "ja" | "ko";
|
|
66
84
|
readonly message: string;
|
|
67
|
-
}[]], Schema.
|
|
68
|
-
locale:
|
|
69
|
-
message:
|
|
70
|
-
}
|
|
71
|
-
locale:
|
|
72
|
-
message:
|
|
73
|
-
}
|
|
85
|
+
}[]], Schema.suspend<readonly [{
|
|
86
|
+
readonly locale: "zh";
|
|
87
|
+
readonly message: string;
|
|
88
|
+
}, ...{
|
|
89
|
+
readonly locale: "en" | "ja" | "ko";
|
|
90
|
+
readonly message: string;
|
|
91
|
+
}[]], string | readonly [{
|
|
92
|
+
readonly locale: "zh";
|
|
93
|
+
readonly message: string;
|
|
94
|
+
}, ...{
|
|
95
|
+
readonly locale: "en" | "ja" | "ko";
|
|
96
|
+
readonly message: string;
|
|
97
|
+
}[]], never>>>;
|
|
74
98
|
nodeSelectable: Schema.optional<Schema.Schema<string, string, never>>;
|
|
75
99
|
cascade: Schema.optionalWith<Schema.Literal<["independent", "cascade-down", "cascade-both"]>, {
|
|
76
100
|
default: () => "cascade-both";
|
|
@@ -80,13 +104,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
80
104
|
}>;
|
|
81
105
|
filter: Schema.optional<Schema.Struct<{
|
|
82
106
|
enabled: Schema.SchemaClass<boolean, boolean, never>;
|
|
83
|
-
label: Schema.optional<Schema.
|
|
84
|
-
locale:
|
|
85
|
-
message:
|
|
86
|
-
}
|
|
87
|
-
locale:
|
|
88
|
-
message:
|
|
89
|
-
}
|
|
107
|
+
label: Schema.optional<Schema.suspend<readonly [{
|
|
108
|
+
readonly locale: "zh";
|
|
109
|
+
readonly message: string;
|
|
110
|
+
}, ...{
|
|
111
|
+
readonly locale: "en" | "ja" | "ko";
|
|
112
|
+
readonly message: string;
|
|
113
|
+
}[]], string | readonly [{
|
|
114
|
+
readonly locale: "zh";
|
|
115
|
+
readonly message: string;
|
|
116
|
+
}, ...{
|
|
117
|
+
readonly locale: "en" | "ja" | "ko";
|
|
118
|
+
readonly message: string;
|
|
119
|
+
}[]], never>>;
|
|
90
120
|
keywords: Schema.optional<Schema.Schema<string, string, never>>;
|
|
91
121
|
}>>;
|
|
92
122
|
id: Schema.refine<string, typeof Schema.String>;
|
|
@@ -102,13 +132,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
102
132
|
}, ...{
|
|
103
133
|
readonly locale: "en" | "ja" | "ko";
|
|
104
134
|
readonly message: string;
|
|
105
|
-
}[]], Schema.
|
|
106
|
-
locale:
|
|
107
|
-
message:
|
|
108
|
-
}
|
|
109
|
-
locale:
|
|
110
|
-
message:
|
|
111
|
-
}
|
|
135
|
+
}[]], Schema.suspend<readonly [{
|
|
136
|
+
readonly locale: "zh";
|
|
137
|
+
readonly message: string;
|
|
138
|
+
}, ...{
|
|
139
|
+
readonly locale: "en" | "ja" | "ko";
|
|
140
|
+
readonly message: string;
|
|
141
|
+
}[]], string | readonly [{
|
|
142
|
+
readonly locale: "zh";
|
|
143
|
+
readonly message: string;
|
|
144
|
+
}, ...{
|
|
145
|
+
readonly locale: "en" | "ja" | "ko";
|
|
146
|
+
readonly message: string;
|
|
147
|
+
}[]], never>>;
|
|
112
148
|
}>>>;
|
|
113
149
|
type: Schema.Literal<["com.shwfed.form.field.tree.multi"]>;
|
|
114
150
|
compatibilityDate: Schema.Literal<["2026-05-23"]>;
|
package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts
CHANGED
|
@@ -41,27 +41,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
41
41
|
} | undefined;
|
|
42
42
|
readonly format?: string | undefined;
|
|
43
43
|
readonly valueFormat?: string | undefined;
|
|
44
|
-
readonly
|
|
45
|
-
|
|
44
|
+
readonly disabledDate?: string | undefined;
|
|
45
|
+
readonly validations?: readonly {
|
|
46
|
+
readonly message: readonly [{
|
|
46
47
|
readonly locale: "zh";
|
|
47
48
|
readonly message: string;
|
|
48
49
|
}, ...{
|
|
49
50
|
readonly locale: "en" | "ja" | "ko";
|
|
50
51
|
readonly message: string;
|
|
51
52
|
}[]];
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
53
|
+
readonly warning?: boolean | undefined;
|
|
54
|
+
readonly when: string;
|
|
54
55
|
}[] | undefined;
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
56
|
+
readonly presets?: readonly {
|
|
57
|
+
readonly label: readonly [{
|
|
57
58
|
readonly locale: "zh";
|
|
58
59
|
readonly message: string;
|
|
59
60
|
}, ...{
|
|
60
61
|
readonly locale: "en" | "ja" | "ko";
|
|
61
62
|
readonly message: string;
|
|
62
63
|
}[]];
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
64
|
+
readonly id: string;
|
|
65
|
+
readonly value: string;
|
|
65
66
|
}[] | undefined;
|
|
66
67
|
}) => any;
|
|
67
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -103,27 +104,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
103
104
|
} | undefined;
|
|
104
105
|
readonly format?: string | undefined;
|
|
105
106
|
readonly valueFormat?: string | undefined;
|
|
106
|
-
readonly
|
|
107
|
-
|
|
107
|
+
readonly disabledDate?: string | undefined;
|
|
108
|
+
readonly validations?: readonly {
|
|
109
|
+
readonly message: readonly [{
|
|
108
110
|
readonly locale: "zh";
|
|
109
111
|
readonly message: string;
|
|
110
112
|
}, ...{
|
|
111
113
|
readonly locale: "en" | "ja" | "ko";
|
|
112
114
|
readonly message: string;
|
|
113
115
|
}[]];
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
+
readonly warning?: boolean | undefined;
|
|
117
|
+
readonly when: string;
|
|
116
118
|
}[] | undefined;
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
+
readonly presets?: readonly {
|
|
120
|
+
readonly label: readonly [{
|
|
119
121
|
readonly locale: "zh";
|
|
120
122
|
readonly message: string;
|
|
121
123
|
}, ...{
|
|
122
124
|
readonly locale: "en" | "ja" | "ko";
|
|
123
125
|
readonly message: string;
|
|
124
126
|
}[]];
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
127
|
+
readonly id: string;
|
|
128
|
+
readonly value: string;
|
|
127
129
|
}[] | undefined;
|
|
128
130
|
}) => any) | undefined;
|
|
129
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue
CHANGED
|
@@ -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";
|
|
@@ -492,6 +493,27 @@ const valueFormatExample = computed(() => previewFormat(value.value.valueFormat
|
|
|
492
493
|
</Field>
|
|
493
494
|
</div>
|
|
494
495
|
|
|
496
|
+
<Field orientation="vertical">
|
|
497
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
498
|
+
<template #tooltip>
|
|
499
|
+
<Markdown
|
|
500
|
+
:source="fieldDescription('disabledDate')"
|
|
501
|
+
block
|
|
502
|
+
class="prose prose-sm prose-zinc"
|
|
503
|
+
/>
|
|
504
|
+
</template>
|
|
505
|
+
{{ fieldTitle("disabledDate") }}
|
|
506
|
+
</FieldLabel>
|
|
507
|
+
<ExpressionEditor
|
|
508
|
+
:model-value="value.disabledDate ?? ''"
|
|
509
|
+
placeholder="例:input < now"
|
|
510
|
+
:result-type="[...DISABLE_DATE_EDITOR_RESULT]"
|
|
511
|
+
:extra-vars="INPUT_DATE_VARS"
|
|
512
|
+
class="min-h-10"
|
|
513
|
+
@update:model-value="(v) => value = { ...value, disabledDate: v.length > 0 ? v : void 0 }"
|
|
514
|
+
/>
|
|
515
|
+
</Field>
|
|
516
|
+
|
|
495
517
|
<Field orientation="vertical">
|
|
496
518
|
<FieldLabel class="text-xs text-zinc-500">
|
|
497
519
|
<template #tooltip>
|
package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts
CHANGED
|
@@ -41,27 +41,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
41
41
|
} | undefined;
|
|
42
42
|
readonly format?: string | undefined;
|
|
43
43
|
readonly valueFormat?: string | undefined;
|
|
44
|
-
readonly
|
|
45
|
-
|
|
44
|
+
readonly disabledDate?: string | undefined;
|
|
45
|
+
readonly validations?: readonly {
|
|
46
|
+
readonly message: readonly [{
|
|
46
47
|
readonly locale: "zh";
|
|
47
48
|
readonly message: string;
|
|
48
49
|
}, ...{
|
|
49
50
|
readonly locale: "en" | "ja" | "ko";
|
|
50
51
|
readonly message: string;
|
|
51
52
|
}[]];
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
53
|
+
readonly warning?: boolean | undefined;
|
|
54
|
+
readonly when: string;
|
|
54
55
|
}[] | undefined;
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
56
|
+
readonly presets?: readonly {
|
|
57
|
+
readonly label: readonly [{
|
|
57
58
|
readonly locale: "zh";
|
|
58
59
|
readonly message: string;
|
|
59
60
|
}, ...{
|
|
60
61
|
readonly locale: "en" | "ja" | "ko";
|
|
61
62
|
readonly message: string;
|
|
62
63
|
}[]];
|
|
63
|
-
readonly
|
|
64
|
-
readonly
|
|
64
|
+
readonly id: string;
|
|
65
|
+
readonly value: string;
|
|
65
66
|
}[] | undefined;
|
|
66
67
|
}) => any;
|
|
67
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -103,27 +104,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
103
104
|
} | undefined;
|
|
104
105
|
readonly format?: string | undefined;
|
|
105
106
|
readonly valueFormat?: string | undefined;
|
|
106
|
-
readonly
|
|
107
|
-
|
|
107
|
+
readonly disabledDate?: string | undefined;
|
|
108
|
+
readonly validations?: readonly {
|
|
109
|
+
readonly message: readonly [{
|
|
108
110
|
readonly locale: "zh";
|
|
109
111
|
readonly message: string;
|
|
110
112
|
}, ...{
|
|
111
113
|
readonly locale: "en" | "ja" | "ko";
|
|
112
114
|
readonly message: string;
|
|
113
115
|
}[]];
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
+
readonly warning?: boolean | undefined;
|
|
117
|
+
readonly when: string;
|
|
116
118
|
}[] | undefined;
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
+
readonly presets?: readonly {
|
|
120
|
+
readonly label: readonly [{
|
|
119
121
|
readonly locale: "zh";
|
|
120
122
|
readonly message: string;
|
|
121
123
|
}, ...{
|
|
122
124
|
readonly locale: "en" | "ja" | "ko";
|
|
123
125
|
readonly message: string;
|
|
124
126
|
}[]];
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
127
|
+
readonly id: string;
|
|
128
|
+
readonly value: string;
|
|
127
129
|
}[] | undefined;
|
|
128
130
|
}) => any) | undefined;
|
|
129
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue
CHANGED
|
@@ -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 { DatePicker, DATE_PICKER_DEFAULT_FORMATS } from "../../../../ui/date-picker";
|
|
10
11
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
@@ -70,6 +71,9 @@ const shortcuts = computed(() => {
|
|
|
70
71
|
}
|
|
71
72
|
}));
|
|
72
73
|
});
|
|
74
|
+
const disabledDate = computed(
|
|
75
|
+
() => makeDisabledDatePredicate(props.config.disabledDate, (input) => Effect.runSync($cel(props.config.disabledDate, { form: formScope.state.value ?? {}, input })))
|
|
76
|
+
);
|
|
73
77
|
const uncontrolled = ref(void 0);
|
|
74
78
|
const model = computed({
|
|
75
79
|
get: () => {
|
|
@@ -130,6 +134,7 @@ const model = computed({
|
|
|
130
134
|
:value-format="config.valueFormat"
|
|
131
135
|
:placeholder="placeholderText"
|
|
132
136
|
:disabled="isDisabled"
|
|
137
|
+
:disabled-date="disabledDate"
|
|
133
138
|
:shortcuts="shortcuts"
|
|
134
139
|
/>
|
|
135
140
|
<FieldMessages
|
package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts
CHANGED
|
@@ -18,41 +18,66 @@ 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.
|
|
22
|
-
locale:
|
|
23
|
-
message:
|
|
24
|
-
}
|
|
25
|
-
locale:
|
|
26
|
-
message:
|
|
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
|
value: Schema.Schema<string, string, never>;
|
|
29
35
|
}>;
|
|
30
36
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
31
|
-
label: Schema.optional<Schema.
|
|
32
|
-
locale:
|
|
33
|
-
message:
|
|
34
|
-
}
|
|
35
|
-
locale:
|
|
36
|
-
message:
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
37
|
+
label: Schema.optional<Schema.suspend<readonly [{
|
|
38
|
+
readonly locale: "zh";
|
|
39
|
+
readonly message: string;
|
|
40
|
+
}, ...{
|
|
41
|
+
readonly locale: "en" | "ja" | "ko";
|
|
42
|
+
readonly message: string;
|
|
43
|
+
}[]], string | readonly [{
|
|
44
|
+
readonly locale: "zh";
|
|
45
|
+
readonly message: string;
|
|
46
|
+
}, ...{
|
|
47
|
+
readonly locale: "en" | "ja" | "ko";
|
|
48
|
+
readonly message: string;
|
|
49
|
+
}[]], never>>;
|
|
50
|
+
placeholder: Schema.optional<Schema.suspend<readonly [{
|
|
51
|
+
readonly locale: "zh";
|
|
52
|
+
readonly message: string;
|
|
53
|
+
}, ...{
|
|
54
|
+
readonly locale: "en" | "ja" | "ko";
|
|
55
|
+
readonly message: string;
|
|
56
|
+
}[]], string | readonly [{
|
|
57
|
+
readonly locale: "zh";
|
|
58
|
+
readonly message: string;
|
|
59
|
+
}, ...{
|
|
60
|
+
readonly locale: "en" | "ja" | "ko";
|
|
61
|
+
readonly message: string;
|
|
62
|
+
}[]], never>>;
|
|
63
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
64
|
+
readonly locale: "zh";
|
|
65
|
+
readonly message: string;
|
|
66
|
+
}, ...{
|
|
67
|
+
readonly locale: "en" | "ja" | "ko";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
}[]], string | readonly [{
|
|
70
|
+
readonly locale: "zh";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}, ...{
|
|
73
|
+
readonly locale: "en" | "ja" | "ko";
|
|
74
|
+
readonly message: string;
|
|
75
|
+
}[]], never>>;
|
|
52
76
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
53
77
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
54
78
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
55
79
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
80
|
+
disabledDate: Schema.optional<Schema.Schema<string, string, never>>;
|
|
56
81
|
derived: Schema.optional<Schema.Struct<{
|
|
57
82
|
mode: Schema.Literal<["formula", "prefill"]>;
|
|
58
83
|
expression: Schema.Schema<string, string, never>;
|
|
@@ -61,13 +86,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
61
86
|
valueFormat: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
62
87
|
presets: Schema.optional<Schema.Array$<Schema.Struct<{
|
|
63
88
|
id: Schema.refine<string, typeof Schema.String>;
|
|
64
|
-
label: Schema.
|
|
65
|
-
locale:
|
|
66
|
-
message:
|
|
67
|
-
}
|
|
68
|
-
locale:
|
|
69
|
-
message:
|
|
70
|
-
}
|
|
89
|
+
label: Schema.suspend<readonly [{
|
|
90
|
+
readonly locale: "zh";
|
|
91
|
+
readonly message: string;
|
|
92
|
+
}, ...{
|
|
93
|
+
readonly locale: "en" | "ja" | "ko";
|
|
94
|
+
readonly message: string;
|
|
95
|
+
}[]], string | readonly [{
|
|
96
|
+
readonly locale: "zh";
|
|
97
|
+
readonly message: string;
|
|
98
|
+
}, ...{
|
|
99
|
+
readonly locale: "en" | "ja" | "ko";
|
|
100
|
+
readonly message: string;
|
|
101
|
+
}[]], never>;
|
|
71
102
|
value: Schema.Schema<string, string, never>;
|
|
72
103
|
}>>>;
|
|
73
104
|
id: Schema.refine<string, typeof Schema.String>;
|
|
@@ -83,13 +114,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
83
114
|
}, ...{
|
|
84
115
|
readonly locale: "en" | "ja" | "ko";
|
|
85
116
|
readonly message: string;
|
|
86
|
-
}[]], Schema.
|
|
87
|
-
locale:
|
|
88
|
-
message:
|
|
89
|
-
}
|
|
90
|
-
locale:
|
|
91
|
-
message:
|
|
92
|
-
}
|
|
117
|
+
}[]], Schema.suspend<readonly [{
|
|
118
|
+
readonly locale: "zh";
|
|
119
|
+
readonly message: string;
|
|
120
|
+
}, ...{
|
|
121
|
+
readonly locale: "en" | "ja" | "ko";
|
|
122
|
+
readonly message: string;
|
|
123
|
+
}[]], string | readonly [{
|
|
124
|
+
readonly locale: "zh";
|
|
125
|
+
readonly message: string;
|
|
126
|
+
}, ...{
|
|
127
|
+
readonly locale: "en" | "ja" | "ko";
|
|
128
|
+
readonly message: string;
|
|
129
|
+
}[]], never>>;
|
|
93
130
|
}>>>;
|
|
94
131
|
type: Schema.Literal<["com.shwfed.form.field.month"]>;
|
|
95
132
|
compatibilityDate: Schema.Literal<["2026-05-24"]>;
|
package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js
CHANGED
|
@@ -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";
|
|
@@ -28,6 +29,13 @@ export function presetSchema(configure) {
|
|
|
28
29
|
}
|
|
29
30
|
export function schema(configure) {
|
|
30
31
|
const CelBool = Expression({ configure, resultType: "bool" });
|
|
32
|
+
const DisabledDate = Expression({
|
|
33
|
+
configure: (env) => {
|
|
34
|
+
configure(env);
|
|
35
|
+
registerInputDateIfAbsent(env);
|
|
36
|
+
},
|
|
37
|
+
resultType: DISABLE_DATE_RESULT
|
|
38
|
+
});
|
|
31
39
|
const Preset = presetSchema(configure);
|
|
32
40
|
return Schema.Struct({
|
|
33
41
|
type: Schema.Literal(type),
|
|
@@ -58,6 +66,10 @@ export function schema(configure) {
|
|
|
58
66
|
title: "\u53EA\u8BFB\u6761\u4EF6",
|
|
59
67
|
description: "\u8FD4\u56DE `true` \u65F6\u4EC5\u4EE5\u7EAF\u6587\u672C\u5C55\u793A\u5F53\u524D\u503C"
|
|
60
68
|
})),
|
|
69
|
+
disabledDate: Schema.optional(DisabledDate.annotations({
|
|
70
|
+
title: "\u7981\u7528\u65E5\u671F",
|
|
71
|
+
description: "\u9010\u4E2A\u65E5\u671F\u5224\u5B9A\u662F\u5426\u53EF\u9009\uFF1B\u53D8\u91CF `input` \u4E3A\u5019\u9009\u6708\u4EFD\uFF08\u8BE5\u6708 1 \u53F7\uFF09\u3002\u8FD4\u56DE `true` \u65F6\u7981\u7528\uFF0C\u8FD4\u56DE `false`\u3001\u7A7A\u503C\u6216\u4E0D\u586B\u65F6\u53EF\u9009"
|
|
72
|
+
})),
|
|
61
73
|
derived: derivedField(configure, "string"),
|
|
62
74
|
format: Schema.optional(Schema.String.pipe(Schema.minLength(1)).annotations({
|
|
63
75
|
title: "\u5C55\u793A\u683C\u5F0F",
|
|
@@ -34,6 +34,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly format?: string | undefined;
|
|
36
36
|
readonly valueFormat?: string | undefined;
|
|
37
|
+
readonly disabledDate?: string | undefined;
|
|
37
38
|
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
39
|
readonly startPlaceholder?: readonly [{
|
|
39
40
|
readonly locale: "zh";
|
|
@@ -49,28 +50,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
49
50
|
readonly locale: "en" | "ja" | "ko";
|
|
50
51
|
readonly message: string;
|
|
51
52
|
}[]] | undefined;
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
53
|
+
readonly validations?: readonly {
|
|
54
|
+
readonly message: readonly [{
|
|
54
55
|
readonly locale: "zh";
|
|
55
56
|
readonly message: string;
|
|
56
57
|
}, ...{
|
|
57
58
|
readonly locale: "en" | "ja" | "ko";
|
|
58
59
|
readonly message: string;
|
|
59
60
|
}[]];
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
readonly start: string;
|
|
61
|
+
readonly warning?: boolean | undefined;
|
|
62
|
+
readonly when: string;
|
|
63
63
|
}[] | undefined;
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
64
|
+
readonly presets?: readonly {
|
|
65
|
+
readonly label: readonly [{
|
|
66
66
|
readonly locale: "zh";
|
|
67
67
|
readonly message: string;
|
|
68
68
|
}, ...{
|
|
69
69
|
readonly locale: "en" | "ja" | "ko";
|
|
70
70
|
readonly message: string;
|
|
71
71
|
}[]];
|
|
72
|
-
readonly
|
|
73
|
-
readonly
|
|
72
|
+
readonly id: string;
|
|
73
|
+
readonly end: string;
|
|
74
|
+
readonly start: string;
|
|
74
75
|
}[] | undefined;
|
|
75
76
|
}) => any;
|
|
76
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -105,6 +106,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
106
|
} | undefined;
|
|
106
107
|
readonly format?: string | undefined;
|
|
107
108
|
readonly valueFormat?: string | undefined;
|
|
109
|
+
readonly disabledDate?: string | undefined;
|
|
108
110
|
readonly rangeSeparatorIcon?: string | undefined;
|
|
109
111
|
readonly startPlaceholder?: readonly [{
|
|
110
112
|
readonly locale: "zh";
|
|
@@ -120,28 +122,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
120
122
|
readonly locale: "en" | "ja" | "ko";
|
|
121
123
|
readonly message: string;
|
|
122
124
|
}[]] | undefined;
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
125
|
+
readonly validations?: readonly {
|
|
126
|
+
readonly message: readonly [{
|
|
125
127
|
readonly locale: "zh";
|
|
126
128
|
readonly message: string;
|
|
127
129
|
}, ...{
|
|
128
130
|
readonly locale: "en" | "ja" | "ko";
|
|
129
131
|
readonly message: string;
|
|
130
132
|
}[]];
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly start: string;
|
|
133
|
+
readonly warning?: boolean | undefined;
|
|
134
|
+
readonly when: string;
|
|
134
135
|
}[] | undefined;
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
136
|
+
readonly presets?: readonly {
|
|
137
|
+
readonly label: readonly [{
|
|
137
138
|
readonly locale: "zh";
|
|
138
139
|
readonly message: string;
|
|
139
140
|
}, ...{
|
|
140
141
|
readonly locale: "en" | "ja" | "ko";
|
|
141
142
|
readonly message: string;
|
|
142
143
|
}[]];
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
144
|
+
readonly id: string;
|
|
145
|
+
readonly end: string;
|
|
146
|
+
readonly start: string;
|
|
145
147
|
}[] | undefined;
|
|
146
148
|
}) => any) | undefined;
|
|
147
149
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|