@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
|
@@ -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>;
|
|
@@ -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 {
|
|
@@ -84,7 +84,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
84
84
|
readonly locale: "en" | "ja" | "ko";
|
|
85
85
|
readonly message: string;
|
|
86
86
|
}[]], never>>;
|
|
87
|
-
tooltip: Schema.optional<Schema.
|
|
87
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
88
|
+
readonly locale: "zh";
|
|
89
|
+
readonly message: string;
|
|
90
|
+
}, ...{
|
|
91
|
+
readonly locale: "en" | "ja" | "ko";
|
|
92
|
+
readonly message: string;
|
|
93
|
+
}[]], Schema.suspend<readonly [{
|
|
88
94
|
readonly locale: "zh";
|
|
89
95
|
readonly message: string;
|
|
90
96
|
}, ...{
|
|
@@ -96,7 +102,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
96
102
|
}, ...{
|
|
97
103
|
readonly locale: "en" | "ja" | "ko";
|
|
98
104
|
readonly message: string;
|
|
99
|
-
}[]], never
|
|
105
|
+
}[]], never>>>;
|
|
100
106
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
101
107
|
binding: Schema.optional<Schema.Union<[Schema.filter<typeof Schema.String>, Schema.filter<Schema.Tuple2<Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.String>>>]>>;
|
|
102
108
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/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.datetimerange";
|
|
@@ -77,7 +77,7 @@ export function schema(configure) {
|
|
|
77
77
|
title: "\u7ED3\u675F\u5360\u4F4D\u7B26",
|
|
78
78
|
description: "\u672A\u9009\u4E2D\u7ED3\u675F\u65E5\u671F\u65F6\u95F4\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
79
79
|
})),
|
|
80
|
-
tooltip: Schema.optional(
|
|
80
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
81
81
|
title: "\u63D0\u793A",
|
|
82
82
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
83
83
|
})),
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.d.vue.ts
CHANGED
|
@@ -34,7 +34,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
36
36
|
readonly valueFormat?: string | undefined;
|
|
37
|
-
readonly timeGranularity?: "
|
|
37
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
38
38
|
readonly validations?: readonly {
|
|
39
39
|
readonly message: readonly [{
|
|
40
40
|
readonly locale: "zh";
|
|
@@ -79,7 +79,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
} | undefined;
|
|
80
80
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
81
81
|
readonly valueFormat?: string | undefined;
|
|
82
|
-
readonly timeGranularity?: "
|
|
82
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
83
83
|
readonly validations?: readonly {
|
|
84
84
|
readonly message: readonly [{
|
|
85
85
|
readonly locale: "zh";
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/config.vue.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
36
36
|
readonly valueFormat?: string | undefined;
|
|
37
|
-
readonly timeGranularity?: "
|
|
37
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
38
38
|
readonly validations?: readonly {
|
|
39
39
|
readonly message: readonly [{
|
|
40
40
|
readonly locale: "zh";
|
|
@@ -79,7 +79,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
} | undefined;
|
|
80
80
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
81
81
|
readonly valueFormat?: string | undefined;
|
|
82
|
-
readonly timeGranularity?: "
|
|
82
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
83
83
|
readonly validations?: readonly {
|
|
84
84
|
readonly message: readonly [{
|
|
85
85
|
readonly locale: "zh";
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue
CHANGED
|
@@ -5,6 +5,7 @@ import { useI18n } from "vue-i18n";
|
|
|
5
5
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
6
6
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
7
7
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
8
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
8
9
|
import { DatePicker } from "../../../../ui/date-picker";
|
|
9
10
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
10
11
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -23,9 +24,10 @@ const formScope = useFormScope();
|
|
|
23
24
|
const inherited = injectCELContext();
|
|
24
25
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
25
26
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
26
|
-
const tooltipText = computed(
|
|
27
|
-
|
|
28
|
-
);
|
|
27
|
+
const tooltipText = computed(() => {
|
|
28
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
29
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
30
|
+
});
|
|
29
31
|
function evalBool(expression, label) {
|
|
30
32
|
if (!expression) return false;
|
|
31
33
|
try {
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts
CHANGED
|
@@ -40,7 +40,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
40
40
|
readonly locale: "en" | "ja" | "ko";
|
|
41
41
|
readonly message: string;
|
|
42
42
|
}[]], never>>;
|
|
43
|
-
tooltip: Schema.optional<Schema.
|
|
43
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
44
|
+
readonly locale: "zh";
|
|
45
|
+
readonly message: string;
|
|
46
|
+
}, ...{
|
|
47
|
+
readonly locale: "en" | "ja" | "ko";
|
|
48
|
+
readonly message: string;
|
|
49
|
+
}[]], Schema.suspend<readonly [{
|
|
44
50
|
readonly locale: "zh";
|
|
45
51
|
readonly message: string;
|
|
46
52
|
}, ...{
|
|
@@ -52,7 +58,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
52
58
|
}, ...{
|
|
53
59
|
readonly locale: "en" | "ja" | "ko";
|
|
54
60
|
readonly message: string;
|
|
55
|
-
}[]], never
|
|
61
|
+
}[]], never>>>;
|
|
56
62
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
57
63
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
58
64
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import { Expression } from "../../../../../share/expression.js";
|
|
2
|
+
import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
|
|
3
3
|
import { Locale } from "../../../../../share/locale.js";
|
|
4
4
|
import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
|
|
5
5
|
export const type = "com.shwfed.form.field.time";
|
|
@@ -30,7 +30,7 @@ export function schema(configure) {
|
|
|
30
30
|
title: "\u6807\u7B7E",
|
|
31
31
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
32
32
|
})),
|
|
33
|
-
tooltip: Schema.optional(
|
|
33
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
34
34
|
title: "\u63D0\u793A",
|
|
35
35
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
36
36
|
})),
|
|
@@ -33,9 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly valueFormat?: string | undefined;
|
|
38
|
-
readonly timeGranularity?: "
|
|
37
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
38
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
39
|
readonly validations?: readonly {
|
|
40
40
|
readonly message: readonly [{
|
|
41
41
|
readonly locale: "zh";
|
|
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
readonly expression: string;
|
|
80
80
|
} | undefined;
|
|
81
81
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
82
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
83
82
|
readonly valueFormat?: string | undefined;
|
|
84
|
-
readonly timeGranularity?: "
|
|
83
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
84
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
85
85
|
readonly validations?: readonly {
|
|
86
86
|
readonly message: readonly [{
|
|
87
87
|
readonly locale: "zh";
|
|
@@ -33,9 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly valueFormat?: string | undefined;
|
|
38
|
-
readonly timeGranularity?: "
|
|
37
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
38
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
39
|
readonly validations?: readonly {
|
|
40
40
|
readonly message: readonly [{
|
|
41
41
|
readonly locale: "zh";
|
|
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
readonly expression: string;
|
|
80
80
|
} | undefined;
|
|
81
81
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
82
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
83
82
|
readonly valueFormat?: string | undefined;
|
|
84
|
-
readonly timeGranularity?: "
|
|
83
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
84
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
85
85
|
readonly validations?: readonly {
|
|
86
86
|
readonly message: readonly [{
|
|
87
87
|
readonly locale: "zh";
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue
CHANGED
|
@@ -5,6 +5,7 @@ import { useI18n } from "vue-i18n";
|
|
|
5
5
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
6
6
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
7
7
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
8
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
8
9
|
import { DateRangePicker } from "../../../../ui/date-range-picker";
|
|
9
10
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
10
11
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -23,9 +24,10 @@ const formScope = useFormScope();
|
|
|
23
24
|
const inherited = injectCELContext();
|
|
24
25
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
25
26
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
26
|
-
const tooltipText = computed(
|
|
27
|
-
|
|
28
|
-
);
|
|
27
|
+
const tooltipText = computed(() => {
|
|
28
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
29
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
30
|
+
});
|
|
29
31
|
function evalBool(expression, label) {
|
|
30
32
|
if (!expression) return false;
|
|
31
33
|
try {
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts
CHANGED
|
@@ -40,7 +40,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
40
40
|
readonly locale: "en" | "ja" | "ko";
|
|
41
41
|
readonly message: string;
|
|
42
42
|
}[]], never>>;
|
|
43
|
-
tooltip: Schema.optional<Schema.
|
|
43
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
44
|
+
readonly locale: "zh";
|
|
45
|
+
readonly message: string;
|
|
46
|
+
}, ...{
|
|
47
|
+
readonly locale: "en" | "ja" | "ko";
|
|
48
|
+
readonly message: string;
|
|
49
|
+
}[]], Schema.suspend<readonly [{
|
|
44
50
|
readonly locale: "zh";
|
|
45
51
|
readonly message: string;
|
|
46
52
|
}, ...{
|
|
@@ -52,7 +58,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
52
58
|
}, ...{
|
|
53
59
|
readonly locale: "en" | "ja" | "ko";
|
|
54
60
|
readonly message: string;
|
|
55
|
-
}[]], never
|
|
61
|
+
}[]], never>>>;
|
|
56
62
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
57
63
|
binding: Schema.optional<Schema.Union<[Schema.filter<typeof Schema.String>, Schema.filter<Schema.Tuple2<Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.String>>>]>>;
|
|
58
64
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import { Expression } from "../../../../../share/expression.js";
|
|
2
|
+
import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
|
|
3
3
|
import { Locale } from "../../../../../share/locale.js";
|
|
4
4
|
import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
|
|
5
5
|
export const type = "com.shwfed.form.field.timerange";
|
|
@@ -40,7 +40,7 @@ export function schema(configure) {
|
|
|
40
40
|
title: "\u6807\u7B7E",
|
|
41
41
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
42
42
|
})),
|
|
43
|
-
tooltip: Schema.optional(
|
|
43
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
44
44
|
title: "\u63D0\u793A",
|
|
45
45
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
46
46
|
})),
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
25
25
|
readonly required?: string | undefined;
|
|
26
26
|
readonly displayName?: string | undefined;
|
|
27
27
|
readonly max?: string | undefined;
|
|
28
|
+
readonly min?: string | undefined;
|
|
28
29
|
readonly compatibilityDate: "2026-04-28";
|
|
29
30
|
readonly step?: number | undefined;
|
|
30
31
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
@@ -35,24 +36,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
36
|
readonly locale: "en" | "ja" | "ko";
|
|
36
37
|
readonly message: string;
|
|
37
38
|
}[]] | undefined;
|
|
38
|
-
readonly min?: string | undefined;
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
40
|
readonly binding?: string | undefined;
|
|
41
41
|
readonly derived?: {
|
|
42
42
|
readonly mode: "formula" | "prefill";
|
|
43
43
|
readonly expression: string;
|
|
44
44
|
} | undefined;
|
|
45
|
-
readonly
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
readonly message: string;
|
|
49
|
-
}, ...{
|
|
50
|
-
readonly locale: "en" | "ja" | "ko";
|
|
51
|
-
readonly message: string;
|
|
52
|
-
}[]];
|
|
53
|
-
readonly warning?: boolean | undefined;
|
|
54
|
-
readonly when: string;
|
|
55
|
-
}[] | undefined;
|
|
45
|
+
readonly precision?: number | undefined;
|
|
46
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
47
|
+
readonly valueAsString?: boolean | undefined;
|
|
56
48
|
readonly addon?: {
|
|
57
49
|
readonly size: "default" | "sm" | "xs";
|
|
58
50
|
readonly style?: string | undefined;
|
|
@@ -120,9 +112,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
120
112
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
121
113
|
}[];
|
|
122
114
|
} | undefined;
|
|
123
|
-
readonly
|
|
124
|
-
|
|
125
|
-
|
|
115
|
+
readonly validations?: readonly {
|
|
116
|
+
readonly message: readonly [{
|
|
117
|
+
readonly locale: "zh";
|
|
118
|
+
readonly message: string;
|
|
119
|
+
}, ...{
|
|
120
|
+
readonly locale: "en" | "ja" | "ko";
|
|
121
|
+
readonly message: string;
|
|
122
|
+
}[]];
|
|
123
|
+
readonly warning?: boolean | undefined;
|
|
124
|
+
readonly when: string;
|
|
125
|
+
}[] | undefined;
|
|
126
126
|
}) => any;
|
|
127
127
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
128
128
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -147,6 +147,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
147
147
|
readonly required?: string | undefined;
|
|
148
148
|
readonly displayName?: string | undefined;
|
|
149
149
|
readonly max?: string | undefined;
|
|
150
|
+
readonly min?: string | undefined;
|
|
150
151
|
readonly compatibilityDate: "2026-04-28";
|
|
151
152
|
readonly step?: number | undefined;
|
|
152
153
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
@@ -157,24 +158,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
157
158
|
readonly locale: "en" | "ja" | "ko";
|
|
158
159
|
readonly message: string;
|
|
159
160
|
}[]] | undefined;
|
|
160
|
-
readonly min?: string | undefined;
|
|
161
161
|
readonly readonly?: string | undefined;
|
|
162
162
|
readonly binding?: string | undefined;
|
|
163
163
|
readonly derived?: {
|
|
164
164
|
readonly mode: "formula" | "prefill";
|
|
165
165
|
readonly expression: string;
|
|
166
166
|
} | undefined;
|
|
167
|
-
readonly
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
readonly message: string;
|
|
171
|
-
}, ...{
|
|
172
|
-
readonly locale: "en" | "ja" | "ko";
|
|
173
|
-
readonly message: string;
|
|
174
|
-
}[]];
|
|
175
|
-
readonly warning?: boolean | undefined;
|
|
176
|
-
readonly when: string;
|
|
177
|
-
}[] | undefined;
|
|
167
|
+
readonly precision?: number | undefined;
|
|
168
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
169
|
+
readonly valueAsString?: boolean | undefined;
|
|
178
170
|
readonly addon?: {
|
|
179
171
|
readonly size: "default" | "sm" | "xs";
|
|
180
172
|
readonly style?: string | undefined;
|
|
@@ -242,9 +234,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
242
234
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
243
235
|
}[];
|
|
244
236
|
} | undefined;
|
|
245
|
-
readonly
|
|
246
|
-
|
|
247
|
-
|
|
237
|
+
readonly validations?: readonly {
|
|
238
|
+
readonly message: readonly [{
|
|
239
|
+
readonly locale: "zh";
|
|
240
|
+
readonly message: string;
|
|
241
|
+
}, ...{
|
|
242
|
+
readonly locale: "en" | "ja" | "ko";
|
|
243
|
+
readonly message: string;
|
|
244
|
+
}[]];
|
|
245
|
+
readonly warning?: boolean | undefined;
|
|
246
|
+
readonly when: string;
|
|
247
|
+
}[] | undefined;
|
|
248
248
|
}) => any) | undefined;
|
|
249
249
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
250
250
|
declare const _default: typeof __VLS_export;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
25
25
|
readonly required?: string | undefined;
|
|
26
26
|
readonly displayName?: string | undefined;
|
|
27
27
|
readonly max?: string | undefined;
|
|
28
|
+
readonly min?: string | undefined;
|
|
28
29
|
readonly compatibilityDate: "2026-04-28";
|
|
29
30
|
readonly step?: number | undefined;
|
|
30
31
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
@@ -35,24 +36,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
36
|
readonly locale: "en" | "ja" | "ko";
|
|
36
37
|
readonly message: string;
|
|
37
38
|
}[]] | undefined;
|
|
38
|
-
readonly min?: string | undefined;
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
40
|
readonly binding?: string | undefined;
|
|
41
41
|
readonly derived?: {
|
|
42
42
|
readonly mode: "formula" | "prefill";
|
|
43
43
|
readonly expression: string;
|
|
44
44
|
} | undefined;
|
|
45
|
-
readonly
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
readonly message: string;
|
|
49
|
-
}, ...{
|
|
50
|
-
readonly locale: "en" | "ja" | "ko";
|
|
51
|
-
readonly message: string;
|
|
52
|
-
}[]];
|
|
53
|
-
readonly warning?: boolean | undefined;
|
|
54
|
-
readonly when: string;
|
|
55
|
-
}[] | undefined;
|
|
45
|
+
readonly precision?: number | undefined;
|
|
46
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
47
|
+
readonly valueAsString?: boolean | undefined;
|
|
56
48
|
readonly addon?: {
|
|
57
49
|
readonly size: "default" | "sm" | "xs";
|
|
58
50
|
readonly style?: string | undefined;
|
|
@@ -120,9 +112,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
120
112
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
121
113
|
}[];
|
|
122
114
|
} | undefined;
|
|
123
|
-
readonly
|
|
124
|
-
|
|
125
|
-
|
|
115
|
+
readonly validations?: readonly {
|
|
116
|
+
readonly message: readonly [{
|
|
117
|
+
readonly locale: "zh";
|
|
118
|
+
readonly message: string;
|
|
119
|
+
}, ...{
|
|
120
|
+
readonly locale: "en" | "ja" | "ko";
|
|
121
|
+
readonly message: string;
|
|
122
|
+
}[]];
|
|
123
|
+
readonly warning?: boolean | undefined;
|
|
124
|
+
readonly when: string;
|
|
125
|
+
}[] | undefined;
|
|
126
126
|
}) => any;
|
|
127
127
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
128
128
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -147,6 +147,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
147
147
|
readonly required?: string | undefined;
|
|
148
148
|
readonly displayName?: string | undefined;
|
|
149
149
|
readonly max?: string | undefined;
|
|
150
|
+
readonly min?: string | undefined;
|
|
150
151
|
readonly compatibilityDate: "2026-04-28";
|
|
151
152
|
readonly step?: number | undefined;
|
|
152
153
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
@@ -157,24 +158,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
157
158
|
readonly locale: "en" | "ja" | "ko";
|
|
158
159
|
readonly message: string;
|
|
159
160
|
}[]] | undefined;
|
|
160
|
-
readonly min?: string | undefined;
|
|
161
161
|
readonly readonly?: string | undefined;
|
|
162
162
|
readonly binding?: string | undefined;
|
|
163
163
|
readonly derived?: {
|
|
164
164
|
readonly mode: "formula" | "prefill";
|
|
165
165
|
readonly expression: string;
|
|
166
166
|
} | undefined;
|
|
167
|
-
readonly
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
readonly message: string;
|
|
171
|
-
}, ...{
|
|
172
|
-
readonly locale: "en" | "ja" | "ko";
|
|
173
|
-
readonly message: string;
|
|
174
|
-
}[]];
|
|
175
|
-
readonly warning?: boolean | undefined;
|
|
176
|
-
readonly when: string;
|
|
177
|
-
}[] | undefined;
|
|
167
|
+
readonly precision?: number | undefined;
|
|
168
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
169
|
+
readonly valueAsString?: boolean | undefined;
|
|
178
170
|
readonly addon?: {
|
|
179
171
|
readonly size: "default" | "sm" | "xs";
|
|
180
172
|
readonly style?: string | undefined;
|
|
@@ -242,9 +234,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
242
234
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
243
235
|
}[];
|
|
244
236
|
} | undefined;
|
|
245
|
-
readonly
|
|
246
|
-
|
|
247
|
-
|
|
237
|
+
readonly validations?: readonly {
|
|
238
|
+
readonly message: readonly [{
|
|
239
|
+
readonly locale: "zh";
|
|
240
|
+
readonly message: string;
|
|
241
|
+
}, ...{
|
|
242
|
+
readonly locale: "en" | "ja" | "ko";
|
|
243
|
+
readonly message: string;
|
|
244
|
+
}[]];
|
|
245
|
+
readonly warning?: boolean | undefined;
|
|
246
|
+
readonly when: string;
|
|
247
|
+
}[] | undefined;
|
|
248
248
|
}) => any) | undefined;
|
|
249
249
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
250
250
|
declare const _default: typeof __VLS_export;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue
CHANGED
|
@@ -6,6 +6,7 @@ import { useI18n } from "vue-i18n";
|
|
|
6
6
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
7
7
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
8
8
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
9
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
9
10
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
10
11
|
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupNumberField } from "../../../../ui/input-group";
|
|
11
12
|
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 {
|