@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
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts
CHANGED
|
@@ -43,7 +43,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
43
43
|
readonly locale: "en" | "ja" | "ko";
|
|
44
44
|
readonly message: string;
|
|
45
45
|
}[]], never>>;
|
|
46
|
-
tooltip: Schema.optional<Schema.
|
|
46
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
47
|
+
readonly locale: "zh";
|
|
48
|
+
readonly message: string;
|
|
49
|
+
}, ...{
|
|
50
|
+
readonly locale: "en" | "ja" | "ko";
|
|
51
|
+
readonly message: string;
|
|
52
|
+
}[]], Schema.suspend<readonly [{
|
|
47
53
|
readonly locale: "zh";
|
|
48
54
|
readonly message: string;
|
|
49
55
|
}, ...{
|
|
@@ -55,7 +61,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
55
61
|
}, ...{
|
|
56
62
|
readonly locale: "en" | "ja" | "ko";
|
|
57
63
|
readonly message: string;
|
|
58
|
-
}[]], never
|
|
64
|
+
}[]], never>>>;
|
|
59
65
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
60
66
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
61
67
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/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 { ActionSchemaFields } from "../../../../actions/schema.js";
|
|
5
5
|
import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
|
|
@@ -37,7 +37,7 @@ export function schema(configure) {
|
|
|
37
37
|
title: "\u5360\u4F4D\u7B26",
|
|
38
38
|
description: "\u8F93\u5165\u4E3A\u7A7A\u65F6\u7684\u5360\u4F4D\u6587\u672C"
|
|
39
39
|
})),
|
|
40
|
-
tooltip: Schema.optional(
|
|
40
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
41
41
|
title: "\u63D0\u793A",
|
|
42
42
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
43
43
|
})),
|
|
@@ -25,10 +25,10 @@ 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;
|
|
31
|
-
readonly min?: string | undefined;
|
|
32
32
|
readonly readonly?: string | undefined;
|
|
33
33
|
readonly binding?: string | readonly [string, string] | undefined;
|
|
34
34
|
readonly derived?: {
|
|
@@ -50,6 +50,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
50
|
readonly locale: "en" | "ja" | "ko";
|
|
51
51
|
readonly message: string;
|
|
52
52
|
}[]] | undefined;
|
|
53
|
+
readonly precision?: number | undefined;
|
|
54
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
55
|
+
readonly valueAsString?: boolean | undefined;
|
|
53
56
|
readonly validations?: readonly {
|
|
54
57
|
readonly message: readonly [{
|
|
55
58
|
readonly locale: "zh";
|
|
@@ -61,9 +64,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
61
64
|
readonly warning?: boolean | undefined;
|
|
62
65
|
readonly when: string;
|
|
63
66
|
}[] | undefined;
|
|
64
|
-
readonly precision?: number | undefined;
|
|
65
|
-
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
66
|
-
readonly valueAsString?: boolean | undefined;
|
|
67
67
|
}) => any;
|
|
68
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
69
69
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -88,10 +88,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
88
88
|
readonly required?: string | undefined;
|
|
89
89
|
readonly displayName?: string | undefined;
|
|
90
90
|
readonly max?: string | undefined;
|
|
91
|
+
readonly min?: string | undefined;
|
|
91
92
|
readonly compatibilityDate: "2026-04-28";
|
|
92
93
|
readonly step?: number | undefined;
|
|
93
94
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
94
|
-
readonly min?: string | undefined;
|
|
95
95
|
readonly readonly?: string | undefined;
|
|
96
96
|
readonly binding?: string | readonly [string, string] | undefined;
|
|
97
97
|
readonly derived?: {
|
|
@@ -113,6 +113,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
113
113
|
readonly locale: "en" | "ja" | "ko";
|
|
114
114
|
readonly message: string;
|
|
115
115
|
}[]] | undefined;
|
|
116
|
+
readonly precision?: number | undefined;
|
|
117
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
118
|
+
readonly valueAsString?: boolean | undefined;
|
|
116
119
|
readonly validations?: readonly {
|
|
117
120
|
readonly message: readonly [{
|
|
118
121
|
readonly locale: "zh";
|
|
@@ -124,9 +127,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
124
127
|
readonly warning?: boolean | undefined;
|
|
125
128
|
readonly when: string;
|
|
126
129
|
}[] | undefined;
|
|
127
|
-
readonly precision?: number | undefined;
|
|
128
|
-
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
129
|
-
readonly valueAsString?: boolean | undefined;
|
|
130
130
|
}) => any) | undefined;
|
|
131
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
declare const _default: typeof __VLS_export;
|
|
@@ -25,10 +25,10 @@ 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;
|
|
31
|
-
readonly min?: string | undefined;
|
|
32
32
|
readonly readonly?: string | undefined;
|
|
33
33
|
readonly binding?: string | readonly [string, string] | undefined;
|
|
34
34
|
readonly derived?: {
|
|
@@ -50,6 +50,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
50
|
readonly locale: "en" | "ja" | "ko";
|
|
51
51
|
readonly message: string;
|
|
52
52
|
}[]] | undefined;
|
|
53
|
+
readonly precision?: number | undefined;
|
|
54
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
55
|
+
readonly valueAsString?: boolean | undefined;
|
|
53
56
|
readonly validations?: readonly {
|
|
54
57
|
readonly message: readonly [{
|
|
55
58
|
readonly locale: "zh";
|
|
@@ -61,9 +64,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
61
64
|
readonly warning?: boolean | undefined;
|
|
62
65
|
readonly when: string;
|
|
63
66
|
}[] | undefined;
|
|
64
|
-
readonly precision?: number | undefined;
|
|
65
|
-
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
66
|
-
readonly valueAsString?: boolean | undefined;
|
|
67
67
|
}) => any;
|
|
68
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
69
69
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -88,10 +88,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
88
88
|
readonly required?: string | undefined;
|
|
89
89
|
readonly displayName?: string | undefined;
|
|
90
90
|
readonly max?: string | undefined;
|
|
91
|
+
readonly min?: string | undefined;
|
|
91
92
|
readonly compatibilityDate: "2026-04-28";
|
|
92
93
|
readonly step?: number | undefined;
|
|
93
94
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
94
|
-
readonly min?: string | undefined;
|
|
95
95
|
readonly readonly?: string | undefined;
|
|
96
96
|
readonly binding?: string | readonly [string, string] | undefined;
|
|
97
97
|
readonly derived?: {
|
|
@@ -113,6 +113,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
113
113
|
readonly locale: "en" | "ja" | "ko";
|
|
114
114
|
readonly message: string;
|
|
115
115
|
}[]] | undefined;
|
|
116
|
+
readonly precision?: number | undefined;
|
|
117
|
+
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
118
|
+
readonly valueAsString?: boolean | undefined;
|
|
116
119
|
readonly validations?: readonly {
|
|
117
120
|
readonly message: readonly [{
|
|
118
121
|
readonly locale: "zh";
|
|
@@ -124,9 +127,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
124
127
|
readonly warning?: boolean | undefined;
|
|
125
128
|
readonly when: string;
|
|
126
129
|
}[] | undefined;
|
|
127
|
-
readonly precision?: number | undefined;
|
|
128
|
-
readonly roundingMode?: "round" | "floor" | "ceil" | undefined;
|
|
129
|
-
readonly valueAsString?: boolean | undefined;
|
|
130
130
|
}) => any) | undefined;
|
|
131
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
declare const _default: typeof __VLS_export;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/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";
|
|
@@ -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-28/com.shwfed.form.field.numberrange/schema.d.ts
CHANGED
|
@@ -56,7 +56,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
56
56
|
readonly locale: "en" | "ja" | "ko";
|
|
57
57
|
readonly message: string;
|
|
58
58
|
}[]], never>>;
|
|
59
|
-
tooltip: Schema.optional<Schema.
|
|
59
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
60
|
+
readonly locale: "zh";
|
|
61
|
+
readonly message: string;
|
|
62
|
+
}, ...{
|
|
63
|
+
readonly locale: "en" | "ja" | "ko";
|
|
64
|
+
readonly message: string;
|
|
65
|
+
}[]], Schema.suspend<readonly [{
|
|
60
66
|
readonly locale: "zh";
|
|
61
67
|
readonly message: string;
|
|
62
68
|
}, ...{
|
|
@@ -68,7 +74,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
68
74
|
}, ...{
|
|
69
75
|
readonly locale: "en" | "ja" | "ko";
|
|
70
76
|
readonly message: string;
|
|
71
|
-
}[]], never
|
|
77
|
+
}[]], never>>>;
|
|
72
78
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
73
79
|
binding: Schema.optional<Schema.Union<[Schema.filter<typeof Schema.String>, Schema.filter<Schema.Tuple2<Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.String>>>]>>;
|
|
74
80
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/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.numberrange";
|
|
@@ -39,7 +39,7 @@ export function schema(configure) {
|
|
|
39
39
|
title: "\u7ED3\u675F\u5360\u4F4D\u7B26",
|
|
40
40
|
description: "\u672A\u8F93\u5165\u7ED3\u675F\u6570\u503C\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
41
41
|
})),
|
|
42
|
-
tooltip: Schema.optional(
|
|
42
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
43
43
|
title: "\u63D0\u793A",
|
|
44
44
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
45
45
|
})),
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts
CHANGED
|
@@ -31,17 +31,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
31
31
|
readonly mode: "formula" | "prefill";
|
|
32
32
|
readonly expression: string;
|
|
33
33
|
} | undefined;
|
|
34
|
-
readonly validations?: readonly {
|
|
35
|
-
readonly message: readonly [{
|
|
36
|
-
readonly locale: "zh";
|
|
37
|
-
readonly message: string;
|
|
38
|
-
}, ...{
|
|
39
|
-
readonly locale: "en" | "ja" | "ko";
|
|
40
|
-
readonly message: string;
|
|
41
|
-
}[]];
|
|
42
|
-
readonly warning?: boolean | undefined;
|
|
43
|
-
readonly when: string;
|
|
44
|
-
}[] | undefined;
|
|
45
34
|
readonly trueLabel?: readonly [{
|
|
46
35
|
readonly locale: "zh";
|
|
47
36
|
readonly message: string;
|
|
@@ -56,6 +45,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
56
45
|
readonly locale: "en" | "ja" | "ko";
|
|
57
46
|
readonly message: string;
|
|
58
47
|
}[]] | undefined;
|
|
48
|
+
readonly validations?: readonly {
|
|
49
|
+
readonly message: readonly [{
|
|
50
|
+
readonly locale: "zh";
|
|
51
|
+
readonly message: string;
|
|
52
|
+
}, ...{
|
|
53
|
+
readonly locale: "en" | "ja" | "ko";
|
|
54
|
+
readonly message: string;
|
|
55
|
+
}[]];
|
|
56
|
+
readonly warning?: boolean | undefined;
|
|
57
|
+
readonly when: string;
|
|
58
|
+
}[] | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
61
61
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -86,17 +86,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
86
86
|
readonly mode: "formula" | "prefill";
|
|
87
87
|
readonly expression: string;
|
|
88
88
|
} | undefined;
|
|
89
|
-
readonly validations?: readonly {
|
|
90
|
-
readonly message: readonly [{
|
|
91
|
-
readonly locale: "zh";
|
|
92
|
-
readonly message: string;
|
|
93
|
-
}, ...{
|
|
94
|
-
readonly locale: "en" | "ja" | "ko";
|
|
95
|
-
readonly message: string;
|
|
96
|
-
}[]];
|
|
97
|
-
readonly warning?: boolean | undefined;
|
|
98
|
-
readonly when: string;
|
|
99
|
-
}[] | undefined;
|
|
100
89
|
readonly trueLabel?: readonly [{
|
|
101
90
|
readonly locale: "zh";
|
|
102
91
|
readonly message: string;
|
|
@@ -111,6 +100,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
100
|
readonly locale: "en" | "ja" | "ko";
|
|
112
101
|
readonly message: string;
|
|
113
102
|
}[]] | undefined;
|
|
103
|
+
readonly validations?: readonly {
|
|
104
|
+
readonly message: readonly [{
|
|
105
|
+
readonly locale: "zh";
|
|
106
|
+
readonly message: string;
|
|
107
|
+
}, ...{
|
|
108
|
+
readonly locale: "en" | "ja" | "ko";
|
|
109
|
+
readonly message: string;
|
|
110
|
+
}[]];
|
|
111
|
+
readonly warning?: boolean | undefined;
|
|
112
|
+
readonly when: string;
|
|
113
|
+
}[] | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
116
|
declare const _default: typeof __VLS_export;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts
CHANGED
|
@@ -31,17 +31,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
31
31
|
readonly mode: "formula" | "prefill";
|
|
32
32
|
readonly expression: string;
|
|
33
33
|
} | undefined;
|
|
34
|
-
readonly validations?: readonly {
|
|
35
|
-
readonly message: readonly [{
|
|
36
|
-
readonly locale: "zh";
|
|
37
|
-
readonly message: string;
|
|
38
|
-
}, ...{
|
|
39
|
-
readonly locale: "en" | "ja" | "ko";
|
|
40
|
-
readonly message: string;
|
|
41
|
-
}[]];
|
|
42
|
-
readonly warning?: boolean | undefined;
|
|
43
|
-
readonly when: string;
|
|
44
|
-
}[] | undefined;
|
|
45
34
|
readonly trueLabel?: readonly [{
|
|
46
35
|
readonly locale: "zh";
|
|
47
36
|
readonly message: string;
|
|
@@ -56,6 +45,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
56
45
|
readonly locale: "en" | "ja" | "ko";
|
|
57
46
|
readonly message: string;
|
|
58
47
|
}[]] | undefined;
|
|
48
|
+
readonly validations?: readonly {
|
|
49
|
+
readonly message: readonly [{
|
|
50
|
+
readonly locale: "zh";
|
|
51
|
+
readonly message: string;
|
|
52
|
+
}, ...{
|
|
53
|
+
readonly locale: "en" | "ja" | "ko";
|
|
54
|
+
readonly message: string;
|
|
55
|
+
}[]];
|
|
56
|
+
readonly warning?: boolean | undefined;
|
|
57
|
+
readonly when: string;
|
|
58
|
+
}[] | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
61
61
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -86,17 +86,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
86
86
|
readonly mode: "formula" | "prefill";
|
|
87
87
|
readonly expression: string;
|
|
88
88
|
} | undefined;
|
|
89
|
-
readonly validations?: readonly {
|
|
90
|
-
readonly message: readonly [{
|
|
91
|
-
readonly locale: "zh";
|
|
92
|
-
readonly message: string;
|
|
93
|
-
}, ...{
|
|
94
|
-
readonly locale: "en" | "ja" | "ko";
|
|
95
|
-
readonly message: string;
|
|
96
|
-
}[]];
|
|
97
|
-
readonly warning?: boolean | undefined;
|
|
98
|
-
readonly when: string;
|
|
99
|
-
}[] | undefined;
|
|
100
89
|
readonly trueLabel?: readonly [{
|
|
101
90
|
readonly locale: "zh";
|
|
102
91
|
readonly message: string;
|
|
@@ -111,6 +100,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
100
|
readonly locale: "en" | "ja" | "ko";
|
|
112
101
|
readonly message: string;
|
|
113
102
|
}[]] | undefined;
|
|
103
|
+
readonly validations?: readonly {
|
|
104
|
+
readonly message: readonly [{
|
|
105
|
+
readonly locale: "zh";
|
|
106
|
+
readonly message: string;
|
|
107
|
+
}, ...{
|
|
108
|
+
readonly locale: "en" | "ja" | "ko";
|
|
109
|
+
readonly message: string;
|
|
110
|
+
}[]];
|
|
111
|
+
readonly warning?: boolean | undefined;
|
|
112
|
+
readonly when: string;
|
|
113
|
+
}[] | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
116
|
declare const _default: typeof __VLS_export;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/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 { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
9
10
|
import { Markdown } from "../../../../ui/markdown";
|
|
10
11
|
import { Switch } from "../../../../ui/switch";
|
|
@@ -22,9 +23,10 @@ const formScope = useFormScope();
|
|
|
22
23
|
const inherited = injectCELContext();
|
|
23
24
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
24
25
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
25
|
-
const tooltipText = computed(
|
|
26
|
-
|
|
27
|
-
);
|
|
26
|
+
const tooltipText = computed(() => {
|
|
27
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
28
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
29
|
+
});
|
|
28
30
|
const trueText = computed(
|
|
29
31
|
() => getLocalizedText(props.config.trueLabel, locale.value) || "\u662F"
|
|
30
32
|
);
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts
CHANGED
|
@@ -30,7 +30,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
30
30
|
readonly locale: "en" | "ja" | "ko";
|
|
31
31
|
readonly message: string;
|
|
32
32
|
}[]], never>>;
|
|
33
|
-
tooltip: Schema.optional<Schema.
|
|
33
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
34
|
+
readonly locale: "zh";
|
|
35
|
+
readonly message: string;
|
|
36
|
+
}, ...{
|
|
37
|
+
readonly locale: "en" | "ja" | "ko";
|
|
38
|
+
readonly message: string;
|
|
39
|
+
}[]], Schema.suspend<readonly [{
|
|
34
40
|
readonly locale: "zh";
|
|
35
41
|
readonly message: string;
|
|
36
42
|
}, ...{
|
|
@@ -42,7 +48,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
42
48
|
}, ...{
|
|
43
49
|
readonly locale: "en" | "ja" | "ko";
|
|
44
50
|
readonly message: string;
|
|
45
|
-
}[]], never
|
|
51
|
+
}[]], never>>>;
|
|
46
52
|
trueLabel: Schema.optional<Schema.suspend<readonly [{
|
|
47
53
|
readonly locale: "zh";
|
|
48
54
|
readonly message: string;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/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 } from "../../../utils/common.js";
|
|
5
5
|
export const type = "com.shwfed.form.field.switch";
|
|
@@ -20,7 +20,7 @@ export function schema(configure) {
|
|
|
20
20
|
title: "\u6807\u7B7E",
|
|
21
21
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
22
22
|
})),
|
|
23
|
-
tooltip: Schema.optional(
|
|
23
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
24
24
|
title: "\u63D0\u793A",
|
|
25
25
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
26
26
|
})),
|
|
@@ -55,9 +55,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
55
55
|
const placeholderText = computed(
|
|
56
56
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : t("combobox-single-placeholder")
|
|
57
57
|
);
|
|
58
|
-
const tooltipText = computed(
|
|
59
|
-
|
|
60
|
-
);
|
|
58
|
+
const tooltipText = computed(() => {
|
|
59
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
60
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
61
|
+
});
|
|
61
62
|
function evalBool(expression, label) {
|
|
62
63
|
if (!expression) return false;
|
|
63
64
|
try {
|
|
@@ -92,7 +92,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
92
92
|
readonly locale: "en" | "ja" | "ko";
|
|
93
93
|
readonly message: string;
|
|
94
94
|
}[]], never>>;
|
|
95
|
-
tooltip: Schema.optional<Schema.
|
|
95
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
96
|
+
readonly locale: "zh";
|
|
97
|
+
readonly message: string;
|
|
98
|
+
}, ...{
|
|
99
|
+
readonly locale: "en" | "ja" | "ko";
|
|
100
|
+
readonly message: string;
|
|
101
|
+
}[]], Schema.suspend<readonly [{
|
|
96
102
|
readonly locale: "zh";
|
|
97
103
|
readonly message: string;
|
|
98
104
|
}, ...{
|
|
@@ -104,7 +110,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
104
110
|
}, ...{
|
|
105
111
|
readonly locale: "en" | "ja" | "ko";
|
|
106
112
|
readonly message: string;
|
|
107
|
-
}[]], never
|
|
113
|
+
}[]], never>>>;
|
|
108
114
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
109
115
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
110
116
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -55,7 +55,7 @@ export function schema(configure) {
|
|
|
55
55
|
title: "\u5360\u4F4D\u7B26",
|
|
56
56
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
57
57
|
})),
|
|
58
|
-
tooltip: Schema.optional(
|
|
58
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
59
59
|
title: "\u63D0\u793A",
|
|
60
60
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
61
61
|
})),
|
package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue
CHANGED
|
@@ -8,6 +8,7 @@ import { toast } from "vue-sonner";
|
|
|
8
8
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
9
9
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
10
10
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
11
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
11
12
|
import { Button } from "../../../../ui/button";
|
|
12
13
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
13
14
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -113,9 +114,10 @@ const labelText = computed(
|
|
|
113
114
|
const descriptionText = computed(
|
|
114
115
|
() => props.config.description ? getLocalizedText(props.config.description, locale.value) : void 0
|
|
115
116
|
);
|
|
116
|
-
const tooltipText = computed(
|
|
117
|
-
|
|
118
|
-
);
|
|
117
|
+
const tooltipText = computed(() => {
|
|
118
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
119
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
120
|
+
});
|
|
119
121
|
const templateLabelText = computed(
|
|
120
122
|
() => (props.config.templateLabel ? getLocalizedText(props.config.templateLabel, locale.value) : void 0) ?? "\u4E0B\u8F7D\u6A21\u677F"
|
|
121
123
|
);
|
package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts
CHANGED
|
@@ -68,7 +68,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
68
68
|
readonly locale: "en" | "ja" | "ko";
|
|
69
69
|
readonly message: string;
|
|
70
70
|
}[]], never>>;
|
|
71
|
-
tooltip: Schema.optional<Schema.
|
|
71
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
72
|
+
readonly locale: "zh";
|
|
73
|
+
readonly message: string;
|
|
74
|
+
}, ...{
|
|
75
|
+
readonly locale: "en" | "ja" | "ko";
|
|
76
|
+
readonly message: string;
|
|
77
|
+
}[]], Schema.suspend<readonly [{
|
|
72
78
|
readonly locale: "zh";
|
|
73
79
|
readonly message: string;
|
|
74
80
|
}, ...{
|
|
@@ -80,7 +86,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
80
86
|
}, ...{
|
|
81
87
|
readonly locale: "en" | "ja" | "ko";
|
|
82
88
|
readonly message: string;
|
|
83
|
-
}[]], never
|
|
89
|
+
}[]], never>>>;
|
|
84
90
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
85
91
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
86
92
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.js
CHANGED
|
@@ -42,7 +42,7 @@ export function schema(configure) {
|
|
|
42
42
|
title: "\u5360\u4F4D\u7B26",
|
|
43
43
|
description: "\u4E0A\u4F20\u533A\u57DF\u4E3A\u7A7A\u65F6\u7684\u63D0\u793A\u6587\u672C"
|
|
44
44
|
})),
|
|
45
|
-
tooltip: Schema.optional(
|
|
45
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
46
46
|
title: "\u63D0\u793A",
|
|
47
47
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
48
48
|
})),
|
|
@@ -41,6 +41,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
41
41
|
readonly mode: "formula" | "prefill";
|
|
42
42
|
readonly expression: string;
|
|
43
43
|
} | undefined;
|
|
44
|
+
readonly optionValue: string;
|
|
45
|
+
readonly optionLabel: readonly [{
|
|
46
|
+
readonly locale: "zh";
|
|
47
|
+
readonly message: string;
|
|
48
|
+
}, ...{
|
|
49
|
+
readonly locale: "en" | "ja" | "ko";
|
|
50
|
+
readonly message: string;
|
|
51
|
+
}[]];
|
|
44
52
|
readonly validations?: readonly {
|
|
45
53
|
readonly message: readonly [{
|
|
46
54
|
readonly locale: "zh";
|
|
@@ -52,14 +60,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
52
60
|
readonly warning?: boolean | undefined;
|
|
53
61
|
readonly when: string;
|
|
54
62
|
}[] | undefined;
|
|
55
|
-
readonly optionValue: string;
|
|
56
|
-
readonly optionLabel: readonly [{
|
|
57
|
-
readonly locale: "zh";
|
|
58
|
-
readonly message: string;
|
|
59
|
-
}, ...{
|
|
60
|
-
readonly locale: "en" | "ja" | "ko";
|
|
61
|
-
readonly message: string;
|
|
62
|
-
}[]];
|
|
63
63
|
}) => any;
|
|
64
64
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
65
65
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -100,6 +100,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
100
100
|
readonly mode: "formula" | "prefill";
|
|
101
101
|
readonly expression: string;
|
|
102
102
|
} | undefined;
|
|
103
|
+
readonly optionValue: string;
|
|
104
|
+
readonly optionLabel: readonly [{
|
|
105
|
+
readonly locale: "zh";
|
|
106
|
+
readonly message: string;
|
|
107
|
+
}, ...{
|
|
108
|
+
readonly locale: "en" | "ja" | "ko";
|
|
109
|
+
readonly message: string;
|
|
110
|
+
}[]];
|
|
103
111
|
readonly validations?: readonly {
|
|
104
112
|
readonly message: readonly [{
|
|
105
113
|
readonly locale: "zh";
|
|
@@ -111,14 +119,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
119
|
readonly warning?: boolean | undefined;
|
|
112
120
|
readonly when: string;
|
|
113
121
|
}[] | undefined;
|
|
114
|
-
readonly optionValue: string;
|
|
115
|
-
readonly optionLabel: readonly [{
|
|
116
|
-
readonly locale: "zh";
|
|
117
|
-
readonly message: string;
|
|
118
|
-
}, ...{
|
|
119
|
-
readonly locale: "en" | "ja" | "ko";
|
|
120
|
-
readonly message: string;
|
|
121
|
-
}[]];
|
|
122
122
|
}) => any) | undefined;
|
|
123
123
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
124
124
|
declare const _default: typeof __VLS_export;
|