@shwfed/config 2.12.3 → 2.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/runtime.vue +9 -2
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +8 -2
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.js +3 -3
- package/dist/runtime/components/actions/components/group.vue +3 -1
- package/dist/runtime/components/actions/schema.d.ts +16 -4
- package/dist/runtime/components/actions/schema.js +5 -5
- package/dist/runtime/components/config/footer.d.vue.ts +4 -0
- package/dist/runtime/components/config/footer.vue +25 -12
- package/dist/runtime/components/config/footer.vue.d.ts +4 -0
- package/dist/runtime/components/config/history-picker.d.vue.ts +15 -0
- package/dist/runtime/components/config/history-picker.vue +155 -0
- package/dist/runtime/components/config/history-picker.vue.d.ts +15 -0
- package/dist/runtime/components/config/index.d.vue.ts +4 -0
- package/dist/runtime/components/config/index.vue +8 -1
- package/dist/runtime/components/config/index.vue.d.ts +4 -0
- 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/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +2 -2
- 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/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +24 -24
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +24 -24
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +18 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +18 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +30 -30
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +30 -30
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js +2 -2
- 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/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.js +1 -1
- 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/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/row.vue +6 -1
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +9 -3
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.js +2 -1
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +24 -24
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +24 -24
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.js +2 -2
- 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/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +10 -10
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.vue +5 -3
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.js +1 -1
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +8 -2
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.js +1 -1
- package/dist/runtime/components/form/index.vue +5 -1
- package/dist/runtime/components/form/utils/derived.d.ts +9 -0
- package/dist/runtime/components/form/utils/derived.js +1 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- 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-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- 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-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue +224 -133
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue +224 -133
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/customization.d.vue.ts +15 -0
- package/dist/runtime/components/table/customization.vue +633 -0
- package/dist/runtime/components/table/customization.vue.d.ts +15 -0
- package/dist/runtime/components/table/index.vue +69 -6
- package/dist/runtime/components/table/utils/customization.d.ts +158 -0
- package/dist/runtime/components/table/utils/customization.js +315 -0
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/dist/runtime/vendor/cel-js/CLAUDE.md +6 -5
- package/dist/runtime/vendor/cel-js/PROMPT.md +97 -19
- package/dist/runtime/vendor/cel-js/lib/decimal.d.ts +4 -0
- package/dist/runtime/vendor/cel-js/lib/decimal.js +35 -0
- package/dist/runtime/vendor/cel-js/lib/evaluator.js +2 -0
- package/dist/runtime/vendor/cel-js/lib/functions.js +107 -134
- package/dist/runtime/vendor/cel-js/lib/macros.js +125 -16
- package/dist/runtime/vendor/cel-js/lib/math-builtins.d.ts +2 -0
- package/dist/runtime/vendor/cel-js/lib/math-builtins.js +39 -0
- package/dist/runtime/vendor/cel-js/lib/optional.d.ts +4 -0
- package/dist/runtime/vendor/cel-js/lib/optional.js +73 -21
- package/dist/runtime/vendor/cel-js/lib/parser.js +2 -6
- package/dist/runtime/vendor/cel-js/lib/registry.js +2 -2
- package/package.json +1 -1
|
@@ -33,8 +33,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly format?: string | undefined;
|
|
37
|
+
readonly valueFormat?: string | undefined;
|
|
38
|
+
readonly disabledDate?: string | undefined;
|
|
39
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
40
|
readonly startPlaceholder?: readonly [{
|
|
39
41
|
readonly locale: "zh";
|
|
40
42
|
readonly message: string;
|
|
@@ -49,30 +51,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
49
51
|
readonly locale: "en" | "ja" | "ko";
|
|
50
52
|
readonly message: string;
|
|
51
53
|
}[]] | undefined;
|
|
52
|
-
readonly
|
|
53
|
-
|
|
54
|
-
readonly validations?: readonly {
|
|
55
|
-
readonly message: readonly [{
|
|
54
|
+
readonly presets?: readonly {
|
|
55
|
+
readonly label: readonly [{
|
|
56
56
|
readonly locale: "zh";
|
|
57
57
|
readonly message: string;
|
|
58
58
|
}, ...{
|
|
59
59
|
readonly locale: "en" | "ja" | "ko";
|
|
60
60
|
readonly message: string;
|
|
61
61
|
}[]];
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
62
|
+
readonly id: string;
|
|
63
|
+
readonly end: string;
|
|
64
|
+
readonly start: string;
|
|
64
65
|
}[] | undefined;
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
66
|
+
readonly validations?: readonly {
|
|
67
|
+
readonly message: readonly [{
|
|
67
68
|
readonly locale: "zh";
|
|
68
69
|
readonly message: string;
|
|
69
70
|
}, ...{
|
|
70
71
|
readonly locale: "en" | "ja" | "ko";
|
|
71
72
|
readonly message: string;
|
|
72
73
|
}[]];
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
readonly start: string;
|
|
74
|
+
readonly warning?: boolean | undefined;
|
|
75
|
+
readonly when: string;
|
|
76
76
|
}[] | undefined;
|
|
77
77
|
}) => any;
|
|
78
78
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -106,8 +106,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
106
106
|
readonly expression: string;
|
|
107
107
|
} | undefined;
|
|
108
108
|
readonly numberOfMonths?: number | undefined;
|
|
109
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
110
109
|
readonly format?: string | undefined;
|
|
110
|
+
readonly valueFormat?: string | undefined;
|
|
111
|
+
readonly disabledDate?: string | undefined;
|
|
112
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
111
113
|
readonly startPlaceholder?: readonly [{
|
|
112
114
|
readonly locale: "zh";
|
|
113
115
|
readonly message: string;
|
|
@@ -122,30 +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
|
|
126
|
-
|
|
127
|
-
readonly validations?: readonly {
|
|
128
|
-
readonly message: readonly [{
|
|
127
|
+
readonly presets?: readonly {
|
|
128
|
+
readonly label: readonly [{
|
|
129
129
|
readonly locale: "zh";
|
|
130
130
|
readonly message: string;
|
|
131
131
|
}, ...{
|
|
132
132
|
readonly locale: "en" | "ja" | "ko";
|
|
133
133
|
readonly message: string;
|
|
134
134
|
}[]];
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
135
|
+
readonly id: string;
|
|
136
|
+
readonly end: string;
|
|
137
|
+
readonly start: string;
|
|
137
138
|
}[] | undefined;
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
139
|
+
readonly validations?: readonly {
|
|
140
|
+
readonly message: readonly [{
|
|
140
141
|
readonly locale: "zh";
|
|
141
142
|
readonly message: string;
|
|
142
143
|
}, ...{
|
|
143
144
|
readonly locale: "en" | "ja" | "ko";
|
|
144
145
|
readonly message: string;
|
|
145
146
|
}[]];
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly start: string;
|
|
147
|
+
readonly warning?: boolean | undefined;
|
|
148
|
+
readonly when: string;
|
|
149
149
|
}[] | undefined;
|
|
150
150
|
}) => any) | undefined;
|
|
151
151
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -33,8 +33,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly format?: string | undefined;
|
|
37
|
+
readonly valueFormat?: string | undefined;
|
|
38
|
+
readonly disabledDate?: string | undefined;
|
|
39
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
40
|
readonly startPlaceholder?: readonly [{
|
|
39
41
|
readonly locale: "zh";
|
|
40
42
|
readonly message: string;
|
|
@@ -49,30 +51,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
49
51
|
readonly locale: "en" | "ja" | "ko";
|
|
50
52
|
readonly message: string;
|
|
51
53
|
}[]] | undefined;
|
|
52
|
-
readonly
|
|
53
|
-
|
|
54
|
-
readonly validations?: readonly {
|
|
55
|
-
readonly message: readonly [{
|
|
54
|
+
readonly presets?: readonly {
|
|
55
|
+
readonly label: readonly [{
|
|
56
56
|
readonly locale: "zh";
|
|
57
57
|
readonly message: string;
|
|
58
58
|
}, ...{
|
|
59
59
|
readonly locale: "en" | "ja" | "ko";
|
|
60
60
|
readonly message: string;
|
|
61
61
|
}[]];
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
62
|
+
readonly id: string;
|
|
63
|
+
readonly end: string;
|
|
64
|
+
readonly start: string;
|
|
64
65
|
}[] | undefined;
|
|
65
|
-
readonly
|
|
66
|
-
readonly
|
|
66
|
+
readonly validations?: readonly {
|
|
67
|
+
readonly message: readonly [{
|
|
67
68
|
readonly locale: "zh";
|
|
68
69
|
readonly message: string;
|
|
69
70
|
}, ...{
|
|
70
71
|
readonly locale: "en" | "ja" | "ko";
|
|
71
72
|
readonly message: string;
|
|
72
73
|
}[]];
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
readonly start: string;
|
|
74
|
+
readonly warning?: boolean | undefined;
|
|
75
|
+
readonly when: string;
|
|
76
76
|
}[] | undefined;
|
|
77
77
|
}) => any;
|
|
78
78
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -106,8 +106,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
106
106
|
readonly expression: string;
|
|
107
107
|
} | undefined;
|
|
108
108
|
readonly numberOfMonths?: number | undefined;
|
|
109
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
110
109
|
readonly format?: string | undefined;
|
|
110
|
+
readonly valueFormat?: string | undefined;
|
|
111
|
+
readonly disabledDate?: string | undefined;
|
|
112
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
111
113
|
readonly startPlaceholder?: readonly [{
|
|
112
114
|
readonly locale: "zh";
|
|
113
115
|
readonly message: string;
|
|
@@ -122,30 +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
|
|
126
|
-
|
|
127
|
-
readonly validations?: readonly {
|
|
128
|
-
readonly message: readonly [{
|
|
127
|
+
readonly presets?: readonly {
|
|
128
|
+
readonly label: readonly [{
|
|
129
129
|
readonly locale: "zh";
|
|
130
130
|
readonly message: string;
|
|
131
131
|
}, ...{
|
|
132
132
|
readonly locale: "en" | "ja" | "ko";
|
|
133
133
|
readonly message: string;
|
|
134
134
|
}[]];
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
135
|
+
readonly id: string;
|
|
136
|
+
readonly end: string;
|
|
137
|
+
readonly start: string;
|
|
137
138
|
}[] | undefined;
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
139
|
+
readonly validations?: readonly {
|
|
140
|
+
readonly message: readonly [{
|
|
140
141
|
readonly locale: "zh";
|
|
141
142
|
readonly message: string;
|
|
142
143
|
}, ...{
|
|
143
144
|
readonly locale: "en" | "ja" | "ko";
|
|
144
145
|
readonly message: string;
|
|
145
146
|
}[]];
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly start: string;
|
|
147
|
+
readonly warning?: boolean | undefined;
|
|
148
|
+
readonly when: string;
|
|
149
149
|
}[] | undefined;
|
|
150
150
|
}) => any) | undefined;
|
|
151
151
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue
CHANGED
|
@@ -7,6 +7,7 @@ import { cel as _rawCel } from "../../../../../utils/cel";
|
|
|
7
7
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
8
8
|
import { makeDisabledDatePredicate } from "../../../../../utils/disabled-date";
|
|
9
9
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
10
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
10
11
|
import { DATE_RANGE_PICKER_DEFAULT_FORMATS, DateRangePicker } from "../../../../ui/date-range-picker";
|
|
11
12
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
12
13
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -31,9 +32,10 @@ const startPlaceholderText = computed(
|
|
|
31
32
|
const endPlaceholderText = computed(
|
|
32
33
|
() => props.config.endPlaceholder ? getLocalizedText(props.config.endPlaceholder, locale.value) : void 0
|
|
33
34
|
);
|
|
34
|
-
const tooltipText = computed(
|
|
35
|
-
|
|
36
|
-
);
|
|
35
|
+
const tooltipText = computed(() => {
|
|
36
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
37
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
38
|
+
});
|
|
37
39
|
function evalBool(expression, label) {
|
|
38
40
|
if (!expression) return false;
|
|
39
41
|
try {
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts
CHANGED
|
@@ -74,7 +74,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
74
74
|
readonly locale: "en" | "ja" | "ko";
|
|
75
75
|
readonly message: string;
|
|
76
76
|
}[]], never>>;
|
|
77
|
-
tooltip: Schema.optional<Schema.
|
|
77
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
78
|
+
readonly locale: "zh";
|
|
79
|
+
readonly message: string;
|
|
80
|
+
}, ...{
|
|
81
|
+
readonly locale: "en" | "ja" | "ko";
|
|
82
|
+
readonly message: string;
|
|
83
|
+
}[]], Schema.suspend<readonly [{
|
|
78
84
|
readonly locale: "zh";
|
|
79
85
|
readonly message: string;
|
|
80
86
|
}, ...{
|
|
@@ -86,7 +92,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
86
92
|
}, ...{
|
|
87
93
|
readonly locale: "en" | "ja" | "ko";
|
|
88
94
|
readonly message: string;
|
|
89
|
-
}[]], never
|
|
95
|
+
}[]], never>>>;
|
|
90
96
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
91
97
|
binding: Schema.optional<Schema.Union<[Schema.filter<typeof Schema.String>, Schema.filter<Schema.Tuple2<Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.String>>>]>>;
|
|
92
98
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import { DISABLE_DATE_RESULT, registerInputDateIfAbsent } from "../../../../../share/disabled-date.js";
|
|
3
|
-
import { Expression } from "../../../../../share/expression.js";
|
|
3
|
+
import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
|
|
4
4
|
import { Locale } from "../../../../../share/locale.js";
|
|
5
5
|
import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
|
|
6
6
|
export const type = "com.shwfed.form.field.daterange";
|
|
@@ -67,7 +67,7 @@ export function schema(configure) {
|
|
|
67
67
|
title: "\u7ED3\u675F\u5360\u4F4D\u7B26",
|
|
68
68
|
description: "\u672A\u9009\u4E2D\u7ED3\u675F\u65E5\u671F\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
69
69
|
})),
|
|
70
|
-
tooltip: Schema.optional(
|
|
70
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
71
71
|
title: "\u63D0\u793A",
|
|
72
72
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
73
73
|
})),
|
|
@@ -43,28 +43,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
43
|
readonly format?: string | undefined;
|
|
44
44
|
readonly valueFormat?: string | undefined;
|
|
45
45
|
readonly disabledDate?: string | undefined;
|
|
46
|
-
readonly timeGranularity?: "
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
46
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
47
|
+
readonly presets?: readonly {
|
|
48
|
+
readonly label: readonly [{
|
|
49
49
|
readonly locale: "zh";
|
|
50
50
|
readonly message: string;
|
|
51
51
|
}, ...{
|
|
52
52
|
readonly locale: "en" | "ja" | "ko";
|
|
53
53
|
readonly message: string;
|
|
54
54
|
}[]];
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
55
|
+
readonly id: string;
|
|
56
|
+
readonly value: string;
|
|
57
57
|
}[] | undefined;
|
|
58
|
-
readonly
|
|
59
|
-
readonly
|
|
58
|
+
readonly validations?: readonly {
|
|
59
|
+
readonly message: readonly [{
|
|
60
60
|
readonly locale: "zh";
|
|
61
61
|
readonly message: string;
|
|
62
62
|
}, ...{
|
|
63
63
|
readonly locale: "en" | "ja" | "ko";
|
|
64
64
|
readonly message: string;
|
|
65
65
|
}[]];
|
|
66
|
-
readonly
|
|
67
|
-
readonly
|
|
66
|
+
readonly warning?: boolean | undefined;
|
|
67
|
+
readonly when: string;
|
|
68
68
|
}[] | undefined;
|
|
69
69
|
}) => any;
|
|
70
70
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -108,28 +108,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
readonly format?: string | undefined;
|
|
109
109
|
readonly valueFormat?: string | undefined;
|
|
110
110
|
readonly disabledDate?: string | undefined;
|
|
111
|
-
readonly timeGranularity?: "
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
111
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
112
|
+
readonly presets?: readonly {
|
|
113
|
+
readonly label: readonly [{
|
|
114
114
|
readonly locale: "zh";
|
|
115
115
|
readonly message: string;
|
|
116
116
|
}, ...{
|
|
117
117
|
readonly locale: "en" | "ja" | "ko";
|
|
118
118
|
readonly message: string;
|
|
119
119
|
}[]];
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
120
|
+
readonly id: string;
|
|
121
|
+
readonly value: string;
|
|
122
122
|
}[] | undefined;
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
123
|
+
readonly validations?: readonly {
|
|
124
|
+
readonly message: readonly [{
|
|
125
125
|
readonly locale: "zh";
|
|
126
126
|
readonly message: string;
|
|
127
127
|
}, ...{
|
|
128
128
|
readonly locale: "en" | "ja" | "ko";
|
|
129
129
|
readonly message: string;
|
|
130
130
|
}[]];
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
131
|
+
readonly warning?: boolean | undefined;
|
|
132
|
+
readonly when: string;
|
|
133
133
|
}[] | undefined;
|
|
134
134
|
}) => any) | undefined;
|
|
135
135
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -43,28 +43,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
43
|
readonly format?: string | undefined;
|
|
44
44
|
readonly valueFormat?: string | undefined;
|
|
45
45
|
readonly disabledDate?: string | undefined;
|
|
46
|
-
readonly timeGranularity?: "
|
|
47
|
-
readonly
|
|
48
|
-
readonly
|
|
46
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
47
|
+
readonly presets?: readonly {
|
|
48
|
+
readonly label: readonly [{
|
|
49
49
|
readonly locale: "zh";
|
|
50
50
|
readonly message: string;
|
|
51
51
|
}, ...{
|
|
52
52
|
readonly locale: "en" | "ja" | "ko";
|
|
53
53
|
readonly message: string;
|
|
54
54
|
}[]];
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
55
|
+
readonly id: string;
|
|
56
|
+
readonly value: string;
|
|
57
57
|
}[] | undefined;
|
|
58
|
-
readonly
|
|
59
|
-
readonly
|
|
58
|
+
readonly validations?: readonly {
|
|
59
|
+
readonly message: readonly [{
|
|
60
60
|
readonly locale: "zh";
|
|
61
61
|
readonly message: string;
|
|
62
62
|
}, ...{
|
|
63
63
|
readonly locale: "en" | "ja" | "ko";
|
|
64
64
|
readonly message: string;
|
|
65
65
|
}[]];
|
|
66
|
-
readonly
|
|
67
|
-
readonly
|
|
66
|
+
readonly warning?: boolean | undefined;
|
|
67
|
+
readonly when: string;
|
|
68
68
|
}[] | undefined;
|
|
69
69
|
}) => any;
|
|
70
70
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -108,28 +108,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
readonly format?: string | undefined;
|
|
109
109
|
readonly valueFormat?: string | undefined;
|
|
110
110
|
readonly disabledDate?: string | undefined;
|
|
111
|
-
readonly timeGranularity?: "
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
111
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
112
|
+
readonly presets?: readonly {
|
|
113
|
+
readonly label: readonly [{
|
|
114
114
|
readonly locale: "zh";
|
|
115
115
|
readonly message: string;
|
|
116
116
|
}, ...{
|
|
117
117
|
readonly locale: "en" | "ja" | "ko";
|
|
118
118
|
readonly message: string;
|
|
119
119
|
}[]];
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
120
|
+
readonly id: string;
|
|
121
|
+
readonly value: string;
|
|
122
122
|
}[] | undefined;
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
123
|
+
readonly validations?: readonly {
|
|
124
|
+
readonly message: readonly [{
|
|
125
125
|
readonly locale: "zh";
|
|
126
126
|
readonly message: string;
|
|
127
127
|
}, ...{
|
|
128
128
|
readonly locale: "en" | "ja" | "ko";
|
|
129
129
|
readonly message: string;
|
|
130
130
|
}[]];
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
131
|
+
readonly warning?: boolean | undefined;
|
|
132
|
+
readonly when: string;
|
|
133
133
|
}[] | undefined;
|
|
134
134
|
}) => any) | undefined;
|
|
135
135
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue
CHANGED
|
@@ -7,6 +7,7 @@ import { cel as _rawCel } from "../../../../../utils/cel";
|
|
|
7
7
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
8
8
|
import { makeDisabledDatePredicate } from "../../../../../utils/disabled-date";
|
|
9
9
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
10
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
10
11
|
import { DATE_PICKER_DEFAULT_FORMATS, DatePicker } from "../../../../ui/date-picker";
|
|
11
12
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
12
13
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -28,9 +29,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
28
29
|
const placeholderText = computed(
|
|
29
30
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : void 0
|
|
30
31
|
);
|
|
31
|
-
const tooltipText = computed(
|
|
32
|
-
|
|
33
|
-
);
|
|
32
|
+
const tooltipText = computed(() => {
|
|
33
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
34
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
35
|
+
});
|
|
34
36
|
function evalBool(expression, label) {
|
|
35
37
|
if (!expression) return false;
|
|
36
38
|
try {
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts
CHANGED
|
@@ -70,7 +70,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
70
70
|
readonly locale: "en" | "ja" | "ko";
|
|
71
71
|
readonly message: string;
|
|
72
72
|
}[]], never>>;
|
|
73
|
-
tooltip: Schema.optional<Schema.
|
|
73
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
74
|
+
readonly locale: "zh";
|
|
75
|
+
readonly message: string;
|
|
76
|
+
}, ...{
|
|
77
|
+
readonly locale: "en" | "ja" | "ko";
|
|
78
|
+
readonly message: string;
|
|
79
|
+
}[]], Schema.suspend<readonly [{
|
|
74
80
|
readonly locale: "zh";
|
|
75
81
|
readonly message: string;
|
|
76
82
|
}, ...{
|
|
@@ -82,7 +88,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
82
88
|
}, ...{
|
|
83
89
|
readonly locale: "en" | "ja" | "ko";
|
|
84
90
|
readonly message: string;
|
|
85
|
-
}[]], never
|
|
91
|
+
}[]], never>>>;
|
|
86
92
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
87
93
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
88
94
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import { DISABLE_DATE_RESULT, registerInputDateIfAbsent } from "../../../../../share/disabled-date.js";
|
|
3
|
-
import { Expression } from "../../../../../share/expression.js";
|
|
3
|
+
import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
|
|
4
4
|
import { Locale } from "../../../../../share/locale.js";
|
|
5
5
|
import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
|
|
6
6
|
export const type = "com.shwfed.form.field.datetime";
|
|
@@ -59,7 +59,7 @@ export function schema(configure) {
|
|
|
59
59
|
title: "\u5360\u4F4D\u7B26",
|
|
60
60
|
description: "\u672A\u9009\u4E2D\u65E5\u671F\u65F6\u95F4\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
61
61
|
})),
|
|
62
|
-
tooltip: Schema.optional(
|
|
62
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
63
63
|
title: "\u63D0\u793A",
|
|
64
64
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
65
65
|
})),
|
|
@@ -34,8 +34,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
36
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
37
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
37
|
readonly format?: string | undefined;
|
|
38
|
+
readonly valueFormat?: string | undefined;
|
|
39
|
+
readonly disabledDate?: string | undefined;
|
|
40
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
41
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
42
|
readonly startPlaceholder?: readonly [{
|
|
40
43
|
readonly locale: "zh";
|
|
41
44
|
readonly message: string;
|
|
@@ -50,31 +53,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
53
|
readonly locale: "en" | "ja" | "ko";
|
|
51
54
|
readonly message: string;
|
|
52
55
|
}[]] | undefined;
|
|
53
|
-
readonly
|
|
54
|
-
|
|
55
|
-
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
56
|
-
readonly validations?: readonly {
|
|
57
|
-
readonly message: readonly [{
|
|
56
|
+
readonly presets?: readonly {
|
|
57
|
+
readonly label: readonly [{
|
|
58
58
|
readonly locale: "zh";
|
|
59
59
|
readonly message: string;
|
|
60
60
|
}, ...{
|
|
61
61
|
readonly locale: "en" | "ja" | "ko";
|
|
62
62
|
readonly message: string;
|
|
63
63
|
}[]];
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
64
|
+
readonly id: string;
|
|
65
|
+
readonly end: string;
|
|
66
|
+
readonly start: string;
|
|
66
67
|
}[] | undefined;
|
|
67
|
-
readonly
|
|
68
|
-
readonly
|
|
68
|
+
readonly validations?: readonly {
|
|
69
|
+
readonly message: readonly [{
|
|
69
70
|
readonly locale: "zh";
|
|
70
71
|
readonly message: string;
|
|
71
72
|
}, ...{
|
|
72
73
|
readonly locale: "en" | "ja" | "ko";
|
|
73
74
|
readonly message: string;
|
|
74
75
|
}[]];
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly start: string;
|
|
76
|
+
readonly warning?: boolean | undefined;
|
|
77
|
+
readonly when: string;
|
|
78
78
|
}[] | undefined;
|
|
79
79
|
}) => any;
|
|
80
80
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -109,8 +109,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
109
109
|
} | undefined;
|
|
110
110
|
readonly numberOfMonths?: number | undefined;
|
|
111
111
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
112
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
113
112
|
readonly format?: string | undefined;
|
|
113
|
+
readonly valueFormat?: string | undefined;
|
|
114
|
+
readonly disabledDate?: string | undefined;
|
|
115
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
116
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
114
117
|
readonly startPlaceholder?: readonly [{
|
|
115
118
|
readonly locale: "zh";
|
|
116
119
|
readonly message: string;
|
|
@@ -125,31 +128,28 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
125
128
|
readonly locale: "en" | "ja" | "ko";
|
|
126
129
|
readonly message: string;
|
|
127
130
|
}[]] | undefined;
|
|
128
|
-
readonly
|
|
129
|
-
|
|
130
|
-
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
131
|
-
readonly validations?: readonly {
|
|
132
|
-
readonly message: readonly [{
|
|
131
|
+
readonly presets?: readonly {
|
|
132
|
+
readonly label: readonly [{
|
|
133
133
|
readonly locale: "zh";
|
|
134
134
|
readonly message: string;
|
|
135
135
|
}, ...{
|
|
136
136
|
readonly locale: "en" | "ja" | "ko";
|
|
137
137
|
readonly message: string;
|
|
138
138
|
}[]];
|
|
139
|
-
readonly
|
|
140
|
-
readonly
|
|
139
|
+
readonly id: string;
|
|
140
|
+
readonly end: string;
|
|
141
|
+
readonly start: string;
|
|
141
142
|
}[] | undefined;
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
143
|
+
readonly validations?: readonly {
|
|
144
|
+
readonly message: readonly [{
|
|
144
145
|
readonly locale: "zh";
|
|
145
146
|
readonly message: string;
|
|
146
147
|
}, ...{
|
|
147
148
|
readonly locale: "en" | "ja" | "ko";
|
|
148
149
|
readonly message: string;
|
|
149
150
|
}[]];
|
|
150
|
-
readonly
|
|
151
|
-
readonly
|
|
152
|
-
readonly start: string;
|
|
151
|
+
readonly warning?: boolean | undefined;
|
|
152
|
+
readonly when: string;
|
|
153
153
|
}[] | undefined;
|
|
154
154
|
}) => any) | undefined;
|
|
155
155
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|