@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
|
@@ -37,11 +37,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
37
37
|
readonly displayName?: string | undefined;
|
|
38
38
|
readonly compatibilityDate: "2026-05-28";
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
|
-
readonly binding?: string | undefined;
|
|
41
|
-
readonly derived?: {
|
|
42
|
-
readonly mode: "formula" | "prefill";
|
|
43
|
-
readonly expression: string;
|
|
44
|
-
} | undefined;
|
|
45
40
|
readonly dataSource: {
|
|
46
41
|
readonly data: string;
|
|
47
42
|
readonly request?: string | undefined;
|
|
@@ -55,6 +50,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
50
|
readonly locale: "en" | "ja" | "ko";
|
|
56
51
|
readonly message: string;
|
|
57
52
|
}[]];
|
|
53
|
+
readonly binding?: string | undefined;
|
|
54
|
+
readonly derived?: {
|
|
55
|
+
readonly mode: "formula" | "prefill";
|
|
56
|
+
readonly expression: string;
|
|
57
|
+
} | undefined;
|
|
58
58
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
59
59
|
readonly nodeTooltip?: readonly [{
|
|
60
60
|
readonly locale: "zh";
|
|
@@ -112,11 +112,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
112
112
|
readonly displayName?: string | undefined;
|
|
113
113
|
readonly compatibilityDate: "2026-05-28";
|
|
114
114
|
readonly readonly?: string | undefined;
|
|
115
|
-
readonly binding?: string | undefined;
|
|
116
|
-
readonly derived?: {
|
|
117
|
-
readonly mode: "formula" | "prefill";
|
|
118
|
-
readonly expression: string;
|
|
119
|
-
} | undefined;
|
|
120
115
|
readonly dataSource: {
|
|
121
116
|
readonly data: string;
|
|
122
117
|
readonly request?: string | undefined;
|
|
@@ -130,6 +125,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
130
125
|
readonly locale: "en" | "ja" | "ko";
|
|
131
126
|
readonly message: string;
|
|
132
127
|
}[]];
|
|
128
|
+
readonly binding?: string | undefined;
|
|
129
|
+
readonly derived?: {
|
|
130
|
+
readonly mode: "formula" | "prefill";
|
|
131
|
+
readonly expression: string;
|
|
132
|
+
} | undefined;
|
|
133
133
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
134
134
|
readonly nodeTooltip?: readonly [{
|
|
135
135
|
readonly locale: "zh";
|
|
@@ -37,11 +37,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
37
37
|
readonly displayName?: string | undefined;
|
|
38
38
|
readonly compatibilityDate: "2026-05-28";
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
|
-
readonly binding?: string | undefined;
|
|
41
|
-
readonly derived?: {
|
|
42
|
-
readonly mode: "formula" | "prefill";
|
|
43
|
-
readonly expression: string;
|
|
44
|
-
} | undefined;
|
|
45
40
|
readonly dataSource: {
|
|
46
41
|
readonly data: string;
|
|
47
42
|
readonly request?: string | undefined;
|
|
@@ -55,6 +50,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
50
|
readonly locale: "en" | "ja" | "ko";
|
|
56
51
|
readonly message: string;
|
|
57
52
|
}[]];
|
|
53
|
+
readonly binding?: string | undefined;
|
|
54
|
+
readonly derived?: {
|
|
55
|
+
readonly mode: "formula" | "prefill";
|
|
56
|
+
readonly expression: string;
|
|
57
|
+
} | undefined;
|
|
58
58
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
59
59
|
readonly nodeTooltip?: readonly [{
|
|
60
60
|
readonly locale: "zh";
|
|
@@ -112,11 +112,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
112
112
|
readonly displayName?: string | undefined;
|
|
113
113
|
readonly compatibilityDate: "2026-05-28";
|
|
114
114
|
readonly readonly?: string | undefined;
|
|
115
|
-
readonly binding?: string | undefined;
|
|
116
|
-
readonly derived?: {
|
|
117
|
-
readonly mode: "formula" | "prefill";
|
|
118
|
-
readonly expression: string;
|
|
119
|
-
} | undefined;
|
|
120
115
|
readonly dataSource: {
|
|
121
116
|
readonly data: string;
|
|
122
117
|
readonly request?: string | undefined;
|
|
@@ -130,6 +125,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
130
125
|
readonly locale: "en" | "ja" | "ko";
|
|
131
126
|
readonly message: string;
|
|
132
127
|
}[]];
|
|
128
|
+
readonly binding?: string | undefined;
|
|
129
|
+
readonly derived?: {
|
|
130
|
+
readonly mode: "formula" | "prefill";
|
|
131
|
+
readonly expression: string;
|
|
132
|
+
} | undefined;
|
|
133
133
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
134
134
|
readonly nodeTooltip?: readonly [{
|
|
135
135
|
readonly locale: "zh";
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue
CHANGED
|
@@ -49,9 +49,10 @@ const formScope = useFormScope();
|
|
|
49
49
|
const inherited = injectCELContext();
|
|
50
50
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
51
51
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
52
|
-
const tooltipText = computed(
|
|
53
|
-
|
|
54
|
-
);
|
|
52
|
+
const tooltipText = computed(() => {
|
|
53
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
54
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
55
|
+
});
|
|
55
56
|
function evalBool(expression, label) {
|
|
56
57
|
if (!expression) return false;
|
|
57
58
|
try {
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts
CHANGED
|
@@ -33,7 +33,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
33
33
|
readonly locale: "en" | "ja" | "ko";
|
|
34
34
|
readonly message: string;
|
|
35
35
|
}[]], never>>;
|
|
36
|
-
tooltip: Schema.optional<Schema.
|
|
36
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
37
|
+
readonly locale: "zh";
|
|
38
|
+
readonly message: string;
|
|
39
|
+
}, ...{
|
|
40
|
+
readonly locale: "en" | "ja" | "ko";
|
|
41
|
+
readonly message: string;
|
|
42
|
+
}[]], Schema.suspend<readonly [{
|
|
37
43
|
readonly locale: "zh";
|
|
38
44
|
readonly message: string;
|
|
39
45
|
}, ...{
|
|
@@ -45,7 +51,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
45
51
|
}, ...{
|
|
46
52
|
readonly locale: "en" | "ja" | "ko";
|
|
47
53
|
readonly message: string;
|
|
48
|
-
}[]], never
|
|
54
|
+
}[]], never>>>;
|
|
49
55
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
50
56
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
51
57
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js
CHANGED
|
@@ -51,7 +51,7 @@ export function schema(configure) {
|
|
|
51
51
|
title: "\u6807\u7B7E",
|
|
52
52
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
53
53
|
})),
|
|
54
|
-
tooltip: Schema.optional(
|
|
54
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
55
55
|
title: "\u63D0\u793A",
|
|
56
56
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
57
57
|
})),
|
|
@@ -37,11 +37,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
37
37
|
readonly displayName?: string | undefined;
|
|
38
38
|
readonly compatibilityDate: "2026-05-28";
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
|
-
readonly binding?: string | undefined;
|
|
41
|
-
readonly derived?: {
|
|
42
|
-
readonly mode: "formula" | "prefill";
|
|
43
|
-
readonly expression: string;
|
|
44
|
-
} | undefined;
|
|
45
40
|
readonly dataSource: {
|
|
46
41
|
readonly data: string;
|
|
47
42
|
readonly request?: string | undefined;
|
|
@@ -55,6 +50,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
50
|
readonly locale: "en" | "ja" | "ko";
|
|
56
51
|
readonly message: string;
|
|
57
52
|
}[]];
|
|
53
|
+
readonly binding?: string | undefined;
|
|
54
|
+
readonly derived?: {
|
|
55
|
+
readonly mode: "formula" | "prefill";
|
|
56
|
+
readonly expression: string;
|
|
57
|
+
} | undefined;
|
|
58
58
|
readonly nodeTooltip?: readonly [{
|
|
59
59
|
readonly locale: "zh";
|
|
60
60
|
readonly message: string;
|
|
@@ -111,11 +111,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
111
|
readonly displayName?: string | undefined;
|
|
112
112
|
readonly compatibilityDate: "2026-05-28";
|
|
113
113
|
readonly readonly?: string | undefined;
|
|
114
|
-
readonly binding?: string | undefined;
|
|
115
|
-
readonly derived?: {
|
|
116
|
-
readonly mode: "formula" | "prefill";
|
|
117
|
-
readonly expression: string;
|
|
118
|
-
} | undefined;
|
|
119
114
|
readonly dataSource: {
|
|
120
115
|
readonly data: string;
|
|
121
116
|
readonly request?: string | undefined;
|
|
@@ -129,6 +124,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
129
124
|
readonly locale: "en" | "ja" | "ko";
|
|
130
125
|
readonly message: string;
|
|
131
126
|
}[]];
|
|
127
|
+
readonly binding?: string | undefined;
|
|
128
|
+
readonly derived?: {
|
|
129
|
+
readonly mode: "formula" | "prefill";
|
|
130
|
+
readonly expression: string;
|
|
131
|
+
} | undefined;
|
|
132
132
|
readonly nodeTooltip?: readonly [{
|
|
133
133
|
readonly locale: "zh";
|
|
134
134
|
readonly message: string;
|
|
@@ -37,11 +37,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
37
37
|
readonly displayName?: string | undefined;
|
|
38
38
|
readonly compatibilityDate: "2026-05-28";
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
|
-
readonly binding?: string | undefined;
|
|
41
|
-
readonly derived?: {
|
|
42
|
-
readonly mode: "formula" | "prefill";
|
|
43
|
-
readonly expression: string;
|
|
44
|
-
} | undefined;
|
|
45
40
|
readonly dataSource: {
|
|
46
41
|
readonly data: string;
|
|
47
42
|
readonly request?: string | undefined;
|
|
@@ -55,6 +50,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
50
|
readonly locale: "en" | "ja" | "ko";
|
|
56
51
|
readonly message: string;
|
|
57
52
|
}[]];
|
|
53
|
+
readonly binding?: string | undefined;
|
|
54
|
+
readonly derived?: {
|
|
55
|
+
readonly mode: "formula" | "prefill";
|
|
56
|
+
readonly expression: string;
|
|
57
|
+
} | undefined;
|
|
58
58
|
readonly nodeTooltip?: readonly [{
|
|
59
59
|
readonly locale: "zh";
|
|
60
60
|
readonly message: string;
|
|
@@ -111,11 +111,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
111
|
readonly displayName?: string | undefined;
|
|
112
112
|
readonly compatibilityDate: "2026-05-28";
|
|
113
113
|
readonly readonly?: string | undefined;
|
|
114
|
-
readonly binding?: string | undefined;
|
|
115
|
-
readonly derived?: {
|
|
116
|
-
readonly mode: "formula" | "prefill";
|
|
117
|
-
readonly expression: string;
|
|
118
|
-
} | undefined;
|
|
119
114
|
readonly dataSource: {
|
|
120
115
|
readonly data: string;
|
|
121
116
|
readonly request?: string | undefined;
|
|
@@ -129,6 +124,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
129
124
|
readonly locale: "en" | "ja" | "ko";
|
|
130
125
|
readonly message: string;
|
|
131
126
|
}[]];
|
|
127
|
+
readonly binding?: string | undefined;
|
|
128
|
+
readonly derived?: {
|
|
129
|
+
readonly mode: "formula" | "prefill";
|
|
130
|
+
readonly expression: string;
|
|
131
|
+
} | undefined;
|
|
132
132
|
readonly nodeTooltip?: readonly [{
|
|
133
133
|
readonly locale: "zh";
|
|
134
134
|
readonly message: string;
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue
CHANGED
|
@@ -45,9 +45,10 @@ const formScope = useFormScope();
|
|
|
45
45
|
const inherited = injectCELContext();
|
|
46
46
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
47
47
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
48
|
-
const tooltipText = computed(
|
|
49
|
-
|
|
50
|
-
);
|
|
48
|
+
const tooltipText = computed(() => {
|
|
49
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
50
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
51
|
+
});
|
|
51
52
|
function evalBool(expression, label) {
|
|
52
53
|
if (!expression) return false;
|
|
53
54
|
try {
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts
CHANGED
|
@@ -32,7 +32,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
32
32
|
readonly locale: "en" | "ja" | "ko";
|
|
33
33
|
readonly message: string;
|
|
34
34
|
}[]], never>>;
|
|
35
|
-
tooltip: Schema.optional<Schema.
|
|
35
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
36
|
+
readonly locale: "zh";
|
|
37
|
+
readonly message: string;
|
|
38
|
+
}, ...{
|
|
39
|
+
readonly locale: "en" | "ja" | "ko";
|
|
40
|
+
readonly message: string;
|
|
41
|
+
}[]], Schema.suspend<readonly [{
|
|
36
42
|
readonly locale: "zh";
|
|
37
43
|
readonly message: string;
|
|
38
44
|
}, ...{
|
|
@@ -44,7 +50,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
44
50
|
}, ...{
|
|
45
51
|
readonly locale: "en" | "ja" | "ko";
|
|
46
52
|
readonly message: string;
|
|
47
|
-
}[]], never
|
|
53
|
+
}[]], never>>>;
|
|
48
54
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
49
55
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
50
56
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js
CHANGED
|
@@ -47,7 +47,7 @@ export function schema(configure) {
|
|
|
47
47
|
title: "\u6807\u7B7E",
|
|
48
48
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
49
49
|
})),
|
|
50
|
-
tooltip: Schema.optional(
|
|
50
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
51
51
|
title: "\u63D0\u793A",
|
|
52
52
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
53
53
|
})),
|
package/dist/runtime/components/form/fields/2026-06-09/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";
|
|
@@ -119,9 +120,10 @@ const labelText = computed(
|
|
|
119
120
|
const descriptionText = computed(
|
|
120
121
|
() => props.config.description ? getLocalizedText(props.config.description, locale.value) : void 0
|
|
121
122
|
);
|
|
122
|
-
const tooltipText = computed(
|
|
123
|
-
|
|
124
|
-
);
|
|
123
|
+
const tooltipText = computed(() => {
|
|
124
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
125
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
126
|
+
});
|
|
125
127
|
function evalBool(expression, label) {
|
|
126
128
|
if (!expression) return false;
|
|
127
129
|
try {
|
package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts
CHANGED
|
@@ -83,7 +83,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
83
83
|
readonly locale: "en" | "ja" | "ko";
|
|
84
84
|
readonly message: string;
|
|
85
85
|
}[]], never>>;
|
|
86
|
-
tooltip: Schema.optional<Schema.
|
|
86
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
87
|
+
readonly locale: "zh";
|
|
88
|
+
readonly message: string;
|
|
89
|
+
}, ...{
|
|
90
|
+
readonly locale: "en" | "ja" | "ko";
|
|
91
|
+
readonly message: string;
|
|
92
|
+
}[]], Schema.suspend<readonly [{
|
|
87
93
|
readonly locale: "zh";
|
|
88
94
|
readonly message: string;
|
|
89
95
|
}, ...{
|
|
@@ -95,7 +101,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
95
101
|
}, ...{
|
|
96
102
|
readonly locale: "en" | "ja" | "ko";
|
|
97
103
|
readonly message: string;
|
|
98
|
-
}[]], never
|
|
104
|
+
}[]], never>>>;
|
|
99
105
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
100
106
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
101
107
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.js
CHANGED
|
@@ -60,7 +60,7 @@ export function schema(configure) {
|
|
|
60
60
|
title: "\u5360\u4F4D\u7B26",
|
|
61
61
|
description: "\u4E0A\u4F20\u533A\u57DF\u4E3A\u7A7A\u65F6\u7684\u63D0\u793A\u6587\u672C"
|
|
62
62
|
})),
|
|
63
|
-
tooltip: Schema.optional(
|
|
63
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
64
64
|
title: "\u63D0\u793A",
|
|
65
65
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
66
66
|
})),
|
|
@@ -10,6 +10,7 @@ import { cel as _rawCel } from "../../../../../utils/cel";
|
|
|
10
10
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
11
11
|
import { publishOptions, publishSelection } from "../../../../../utils/selections-registry";
|
|
12
12
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
13
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
13
14
|
import {
|
|
14
15
|
Command,
|
|
15
16
|
CommandEmpty,
|
|
@@ -62,9 +63,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
62
63
|
const placeholderText = computed(
|
|
63
64
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : t("combobox-multi-placeholder")
|
|
64
65
|
);
|
|
65
|
-
const tooltipText = computed(
|
|
66
|
-
|
|
67
|
-
);
|
|
66
|
+
const tooltipText = computed(() => {
|
|
67
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
68
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
69
|
+
});
|
|
68
70
|
function evalBool(expression, label) {
|
|
69
71
|
if (!expression) return false;
|
|
70
72
|
try {
|
|
@@ -155,7 +155,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
155
155
|
readonly locale: "en" | "ja" | "ko";
|
|
156
156
|
readonly message: string;
|
|
157
157
|
}[]], never>>;
|
|
158
|
-
tooltip: Schema.optional<Schema.
|
|
158
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
159
|
+
readonly locale: "zh";
|
|
160
|
+
readonly message: string;
|
|
161
|
+
}, ...{
|
|
162
|
+
readonly locale: "en" | "ja" | "ko";
|
|
163
|
+
readonly message: string;
|
|
164
|
+
}[]], Schema.suspend<readonly [{
|
|
159
165
|
readonly locale: "zh";
|
|
160
166
|
readonly message: string;
|
|
161
167
|
}, ...{
|
|
@@ -167,7 +173,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
167
173
|
}, ...{
|
|
168
174
|
readonly locale: "en" | "ja" | "ko";
|
|
169
175
|
readonly message: string;
|
|
170
|
-
}[]], never
|
|
176
|
+
}[]], never>>>;
|
|
171
177
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
172
178
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
173
179
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -126,7 +126,7 @@ export function schema(configure) {
|
|
|
126
126
|
title: "\u5360\u4F4D\u7B26",
|
|
127
127
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
128
128
|
})),
|
|
129
|
-
tooltip: Schema.optional(
|
|
129
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
130
130
|
title: "\u63D0\u793A",
|
|
131
131
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
132
132
|
})),
|
|
@@ -63,9 +63,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
63
63
|
const placeholderText = computed(
|
|
64
64
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : t("combobox-single-placeholder")
|
|
65
65
|
);
|
|
66
|
-
const tooltipText = computed(
|
|
67
|
-
|
|
68
|
-
);
|
|
66
|
+
const tooltipText = computed(() => {
|
|
67
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
68
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
69
|
+
});
|
|
69
70
|
function evalBool(expression, label) {
|
|
70
71
|
if (!expression) return false;
|
|
71
72
|
try {
|
|
@@ -155,7 +155,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
155
155
|
readonly locale: "en" | "ja" | "ko";
|
|
156
156
|
readonly message: string;
|
|
157
157
|
}[]], never>>;
|
|
158
|
-
tooltip: Schema.optional<Schema.
|
|
158
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
159
|
+
readonly locale: "zh";
|
|
160
|
+
readonly message: string;
|
|
161
|
+
}, ...{
|
|
162
|
+
readonly locale: "en" | "ja" | "ko";
|
|
163
|
+
readonly message: string;
|
|
164
|
+
}[]], Schema.suspend<readonly [{
|
|
159
165
|
readonly locale: "zh";
|
|
160
166
|
readonly message: string;
|
|
161
167
|
}, ...{
|
|
@@ -167,7 +173,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
167
173
|
}, ...{
|
|
168
174
|
readonly locale: "en" | "ja" | "ko";
|
|
169
175
|
readonly message: string;
|
|
170
|
-
}[]], never
|
|
176
|
+
}[]], never>>>;
|
|
171
177
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
172
178
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
173
179
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -126,7 +126,7 @@ export function schema(configure) {
|
|
|
126
126
|
title: "\u5360\u4F4D\u7B26",
|
|
127
127
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
128
128
|
})),
|
|
129
|
-
tooltip: Schema.optional(
|
|
129
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
130
130
|
title: "\u63D0\u793A",
|
|
131
131
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
132
132
|
})),
|
|
@@ -86,7 +86,11 @@ useDerived({
|
|
|
86
86
|
evaluate: (expression) => $cel(expression),
|
|
87
87
|
ready: seeded,
|
|
88
88
|
formState,
|
|
89
|
-
quiescence
|
|
89
|
+
quiescence,
|
|
90
|
+
// Selection fields publish into these registries when their (possibly
|
|
91
|
+
// remote, hence post-first-pass) options land; a derived expression reading
|
|
92
|
+
// `selections["<id>"]` / `options["<id>"]` must recompute then.
|
|
93
|
+
dependencies: () => [selections.entries.value, options.entries.value]
|
|
90
94
|
});
|
|
91
95
|
const validation = provideValidation({
|
|
92
96
|
flush: commitBus.flushAll,
|
|
@@ -53,6 +53,15 @@ export type DerivedOptions = {
|
|
|
53
53
|
formState: FormStateBag;
|
|
54
54
|
/** The form-wide derivation quiescence tracker (provided at the top form). */
|
|
55
55
|
quiescence: DerivedQuiescence;
|
|
56
|
+
/**
|
|
57
|
+
* Extra reactive sources that re-trigger derivation beyond form state — the
|
|
58
|
+
* host's `selections`/`options` registry maps. Those live OUTSIDE form
|
|
59
|
+
* state (a remote combobox publishes its option list only after its fetch
|
|
60
|
+
* lands, typically after the first derivation pass), so an expression
|
|
61
|
+
* reading `options["<field-id>"]` would otherwise evaluate once against an
|
|
62
|
+
* empty registry and never recompute.
|
|
63
|
+
*/
|
|
64
|
+
dependencies?: () => unknown;
|
|
56
65
|
};
|
|
57
66
|
/**
|
|
58
67
|
* Maintains every derived field's value in this form unit. A field carrying a
|
|
@@ -89,7 +89,7 @@ export function useDerived(options) {
|
|
|
89
89
|
const gen = generation += 1;
|
|
90
90
|
for (const field of derivedFields.value) evaluateField(field, gen);
|
|
91
91
|
}
|
|
92
|
-
watch([state, derivedFields], () => {
|
|
92
|
+
watch([state, derivedFields, options.dependencies ?? (() => void 0)], () => {
|
|
93
93
|
if (started) runAll();
|
|
94
94
|
});
|
|
95
95
|
function claimSeededValues() {
|
|
@@ -58,12 +58,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
58
58
|
readonly message: string;
|
|
59
59
|
}[]] | undefined;
|
|
60
60
|
readonly readonly?: string | undefined;
|
|
61
|
+
readonly enableSorting?: boolean | undefined;
|
|
61
62
|
readonly binding: string;
|
|
62
63
|
readonly derived?: {
|
|
63
64
|
readonly mode: "formula" | "prefill";
|
|
64
65
|
readonly expression: string;
|
|
65
66
|
} | undefined;
|
|
66
|
-
readonly enableSorting?: boolean | undefined;
|
|
67
67
|
readonly sortKey?: string | undefined;
|
|
68
68
|
}) => any;
|
|
69
69
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -122,12 +122,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
122
122
|
readonly message: string;
|
|
123
123
|
}[]] | undefined;
|
|
124
124
|
readonly readonly?: string | undefined;
|
|
125
|
+
readonly enableSorting?: boolean | undefined;
|
|
125
126
|
readonly binding: string;
|
|
126
127
|
readonly derived?: {
|
|
127
128
|
readonly mode: "formula" | "prefill";
|
|
128
129
|
readonly expression: string;
|
|
129
130
|
} | undefined;
|
|
130
|
-
readonly enableSorting?: boolean | undefined;
|
|
131
131
|
readonly sortKey?: string | undefined;
|
|
132
132
|
}) => any) | undefined;
|
|
133
133
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -58,12 +58,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
58
58
|
readonly message: string;
|
|
59
59
|
}[]] | undefined;
|
|
60
60
|
readonly readonly?: string | undefined;
|
|
61
|
+
readonly enableSorting?: boolean | undefined;
|
|
61
62
|
readonly binding: string;
|
|
62
63
|
readonly derived?: {
|
|
63
64
|
readonly mode: "formula" | "prefill";
|
|
64
65
|
readonly expression: string;
|
|
65
66
|
} | undefined;
|
|
66
|
-
readonly enableSorting?: boolean | undefined;
|
|
67
67
|
readonly sortKey?: string | undefined;
|
|
68
68
|
}) => any;
|
|
69
69
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -122,12 +122,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
122
122
|
readonly message: string;
|
|
123
123
|
}[]] | undefined;
|
|
124
124
|
readonly readonly?: string | undefined;
|
|
125
|
+
readonly enableSorting?: boolean | undefined;
|
|
125
126
|
readonly binding: string;
|
|
126
127
|
readonly derived?: {
|
|
127
128
|
readonly mode: "formula" | "prefill";
|
|
128
129
|
readonly expression: string;
|
|
129
130
|
} | undefined;
|
|
130
|
-
readonly enableSorting?: boolean | undefined;
|
|
131
131
|
readonly sortKey?: string | undefined;
|
|
132
132
|
}) => any) | undefined;
|
|
133
133
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -45,6 +45,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
45
45
|
readonly readonly?: string | undefined;
|
|
46
46
|
readonly request: string;
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
|
+
readonly accessor?: string | undefined;
|
|
49
|
+
readonly sortKey?: string | undefined;
|
|
50
|
+
readonly successMessage?: string | undefined;
|
|
48
51
|
readonly optionValue: string;
|
|
49
52
|
readonly optionLabel: readonly [{
|
|
50
53
|
readonly locale: "zh";
|
|
@@ -53,9 +56,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
56
|
readonly locale: "en" | "ja" | "ko";
|
|
54
57
|
readonly message: string;
|
|
55
58
|
}[]];
|
|
56
|
-
readonly accessor?: string | undefined;
|
|
57
|
-
readonly sortKey?: string | undefined;
|
|
58
|
-
readonly successMessage?: string | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
61
61
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -100,6 +100,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
100
100
|
readonly readonly?: string | undefined;
|
|
101
101
|
readonly request: string;
|
|
102
102
|
readonly enableSorting?: boolean | undefined;
|
|
103
|
+
readonly accessor?: string | undefined;
|
|
104
|
+
readonly sortKey?: string | undefined;
|
|
105
|
+
readonly successMessage?: string | undefined;
|
|
103
106
|
readonly optionValue: string;
|
|
104
107
|
readonly optionLabel: readonly [{
|
|
105
108
|
readonly locale: "zh";
|
|
@@ -108,9 +111,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
111
|
readonly locale: "en" | "ja" | "ko";
|
|
109
112
|
readonly message: string;
|
|
110
113
|
}[]];
|
|
111
|
-
readonly accessor?: string | undefined;
|
|
112
|
-
readonly sortKey?: string | undefined;
|
|
113
|
-
readonly successMessage?: string | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
116
|
declare const _default: typeof __VLS_export;
|
|
@@ -45,6 +45,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
45
45
|
readonly readonly?: string | undefined;
|
|
46
46
|
readonly request: string;
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
|
+
readonly accessor?: string | undefined;
|
|
49
|
+
readonly sortKey?: string | undefined;
|
|
50
|
+
readonly successMessage?: string | undefined;
|
|
48
51
|
readonly optionValue: string;
|
|
49
52
|
readonly optionLabel: readonly [{
|
|
50
53
|
readonly locale: "zh";
|
|
@@ -53,9 +56,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
56
|
readonly locale: "en" | "ja" | "ko";
|
|
54
57
|
readonly message: string;
|
|
55
58
|
}[]];
|
|
56
|
-
readonly accessor?: string | undefined;
|
|
57
|
-
readonly sortKey?: string | undefined;
|
|
58
|
-
readonly successMessage?: string | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
61
61
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -100,6 +100,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
100
100
|
readonly readonly?: string | undefined;
|
|
101
101
|
readonly request: string;
|
|
102
102
|
readonly enableSorting?: boolean | undefined;
|
|
103
|
+
readonly accessor?: string | undefined;
|
|
104
|
+
readonly sortKey?: string | undefined;
|
|
105
|
+
readonly successMessage?: string | undefined;
|
|
103
106
|
readonly optionValue: string;
|
|
104
107
|
readonly optionLabel: readonly [{
|
|
105
108
|
readonly locale: "zh";
|
|
@@ -108,9 +111,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
111
|
readonly locale: "en" | "ja" | "ko";
|
|
109
112
|
readonly message: string;
|
|
110
113
|
}[]];
|
|
111
|
-
readonly accessor?: string | undefined;
|
|
112
|
-
readonly sortKey?: string | undefined;
|
|
113
|
-
readonly successMessage?: string | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
116
116
|
declare const _default: typeof __VLS_export;
|