@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
|
@@ -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;
|
|
@@ -59,9 +59,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
59
59
|
const placeholderText = computed(
|
|
60
60
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : void 0
|
|
61
61
|
);
|
|
62
|
-
const tooltipText = computed(
|
|
63
|
-
|
|
64
|
-
);
|
|
62
|
+
const tooltipText = computed(() => {
|
|
63
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
64
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
65
|
+
});
|
|
65
66
|
function evalBool(expression, label) {
|
|
66
67
|
if (!expression) return false;
|
|
67
68
|
try {
|
|
@@ -53,7 +53,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
53
53
|
readonly locale: "en" | "ja" | "ko";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]], never>>;
|
|
56
|
-
tooltip: Schema.optional<Schema.
|
|
56
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
57
|
+
readonly locale: "zh";
|
|
58
|
+
readonly message: string;
|
|
59
|
+
}, ...{
|
|
60
|
+
readonly locale: "en" | "ja" | "ko";
|
|
61
|
+
readonly message: string;
|
|
62
|
+
}[]], Schema.suspend<readonly [{
|
|
57
63
|
readonly locale: "zh";
|
|
58
64
|
readonly message: string;
|
|
59
65
|
}, ...{
|
|
@@ -65,7 +71,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
65
71
|
}, ...{
|
|
66
72
|
readonly locale: "en" | "ja" | "ko";
|
|
67
73
|
readonly message: string;
|
|
68
|
-
}[]], never
|
|
74
|
+
}[]], never>>>;
|
|
69
75
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
70
76
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
71
77
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -51,7 +51,7 @@ export function schema(configure) {
|
|
|
51
51
|
title: "\u5360\u4F4D\u7B26",
|
|
52
52
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
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
|
})),
|
package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts
CHANGED
|
@@ -32,8 +32,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
32
32
|
}[]] | undefined;
|
|
33
33
|
readonly displayName?: string | undefined;
|
|
34
34
|
readonly max?: number | undefined;
|
|
35
|
-
readonly compatibilityDate: "2026-05-13";
|
|
36
35
|
readonly min?: number | undefined;
|
|
36
|
+
readonly compatibilityDate: "2026-05-13";
|
|
37
37
|
readonly unit: Readonly<{
|
|
38
38
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
39
39
|
layouts: readonly Readonly<{
|
|
@@ -101,8 +101,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
101
101
|
}[]] | undefined;
|
|
102
102
|
readonly displayName?: string | undefined;
|
|
103
103
|
readonly max?: number | undefined;
|
|
104
|
-
readonly compatibilityDate: "2026-05-13";
|
|
105
104
|
readonly min?: number | undefined;
|
|
105
|
+
readonly compatibilityDate: "2026-05-13";
|
|
106
106
|
readonly unit: Readonly<{
|
|
107
107
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
108
108
|
layouts: readonly Readonly<{
|
package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts
CHANGED
|
@@ -32,8 +32,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
32
32
|
}[]] | undefined;
|
|
33
33
|
readonly displayName?: string | undefined;
|
|
34
34
|
readonly max?: number | undefined;
|
|
35
|
-
readonly compatibilityDate: "2026-05-13";
|
|
36
35
|
readonly min?: number | undefined;
|
|
36
|
+
readonly compatibilityDate: "2026-05-13";
|
|
37
37
|
readonly unit: Readonly<{
|
|
38
38
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
39
39
|
layouts: readonly Readonly<{
|
|
@@ -101,8 +101,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
101
101
|
}[]] | undefined;
|
|
102
102
|
readonly displayName?: string | undefined;
|
|
103
103
|
readonly max?: number | undefined;
|
|
104
|
-
readonly compatibilityDate: "2026-05-13";
|
|
105
104
|
readonly min?: number | undefined;
|
|
105
|
+
readonly compatibilityDate: "2026-05-13";
|
|
106
106
|
readonly unit: Readonly<{
|
|
107
107
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
108
108
|
layouts: readonly Readonly<{
|
|
@@ -48,7 +48,12 @@ useDerived({
|
|
|
48
48
|
evaluate: (expression) => $cel(expression),
|
|
49
49
|
ready: Promise.resolve(),
|
|
50
50
|
formState,
|
|
51
|
-
quiescence: useDerivedQuiescence()
|
|
51
|
+
quiescence: useDerivedQuiescence(),
|
|
52
|
+
// Row selection fields publish into the per-row registries when their
|
|
53
|
+
// (possibly remote, hence post-first-pass) options land; a derived
|
|
54
|
+
// expression reading `selections["<id>"]` / `options["<id>"]` must
|
|
55
|
+
// recompute then.
|
|
56
|
+
dependencies: () => [selections.entries.value, options.entries.value]
|
|
52
57
|
});
|
|
53
58
|
function evaluateMedia(expression) {
|
|
54
59
|
return Effect.runSync($cel(expression));
|
package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue
CHANGED
|
@@ -7,6 +7,7 @@ import { cel as _rawCel } from "../../../../../utils/cel";
|
|
|
7
7
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
8
8
|
import { interpolate } from "../../../../../utils/interpolate";
|
|
9
9
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
10
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
10
11
|
import {
|
|
11
12
|
useTreeDnd
|
|
12
13
|
} from "../../../../../composables/useTreeDnd";
|
|
@@ -28,9 +29,10 @@ const formScope = useFormScope();
|
|
|
28
29
|
const inherited = injectCELContext();
|
|
29
30
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
30
31
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
31
|
-
const tooltipText = computed(
|
|
32
|
-
|
|
33
|
-
);
|
|
32
|
+
const tooltipText = computed(() => {
|
|
33
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
34
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
35
|
+
});
|
|
34
36
|
const addLabelText = computed(
|
|
35
37
|
() => getLocalizedText(props.config.addLabel, locale.value) || "\u65B0\u589E"
|
|
36
38
|
);
|
package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts
CHANGED
|
@@ -47,8 +47,8 @@ export declare function schema(configure: (env: Environment) => void): Schema.re
|
|
|
47
47
|
}[]] | undefined;
|
|
48
48
|
readonly displayName?: string | undefined;
|
|
49
49
|
readonly max?: number | undefined;
|
|
50
|
-
readonly compatibilityDate: "2026-05-13";
|
|
51
50
|
readonly min?: number | undefined;
|
|
51
|
+
readonly compatibilityDate: "2026-05-13";
|
|
52
52
|
readonly unit: Readonly<{
|
|
53
53
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
54
54
|
layouts: ReadonlyArray<import("../../../schema.js").LayoutSetValue>;
|
|
@@ -95,7 +95,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.re
|
|
|
95
95
|
readonly locale: "en" | "ja" | "ko";
|
|
96
96
|
readonly message: string;
|
|
97
97
|
}[]], never>>;
|
|
98
|
-
tooltip: Schema.optional<Schema.
|
|
98
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
99
|
+
readonly locale: "zh";
|
|
100
|
+
readonly message: string;
|
|
101
|
+
}, ...{
|
|
102
|
+
readonly locale: "en" | "ja" | "ko";
|
|
103
|
+
readonly message: string;
|
|
104
|
+
}[]], Schema.suspend<readonly [{
|
|
99
105
|
readonly locale: "zh";
|
|
100
106
|
readonly message: string;
|
|
101
107
|
}, ...{
|
|
@@ -107,7 +113,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.re
|
|
|
107
113
|
}, ...{
|
|
108
114
|
readonly locale: "en" | "ja" | "ko";
|
|
109
115
|
readonly message: string;
|
|
110
|
-
}[]], never
|
|
116
|
+
}[]], never>>>;
|
|
111
117
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
112
118
|
addLabel: Schema.optional<Schema.suspend<readonly [{
|
|
113
119
|
readonly locale: "zh";
|
|
@@ -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 { FormUnit } from "../../../schema.js";
|
|
5
5
|
import { commonFieldFields } from "../../../utils/common.js";
|
|
@@ -35,7 +35,7 @@ export function schema(configure) {
|
|
|
35
35
|
title: "\u6807\u7B7E",
|
|
36
36
|
description: "\u5217\u8868\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
37
37
|
})),
|
|
38
|
-
tooltip: Schema.optional(
|
|
38
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
39
39
|
title: "\u63D0\u793A",
|
|
40
40
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
41
41
|
})),
|
|
@@ -30,9 +30,10 @@ const formScope = useFormScope();
|
|
|
30
30
|
const inherited = injectCELContext();
|
|
31
31
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
32
32
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
33
|
-
const tooltipText = computed(
|
|
34
|
-
|
|
35
|
-
);
|
|
33
|
+
const tooltipText = computed(() => {
|
|
34
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
35
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
36
|
+
});
|
|
36
37
|
function evalBool(expression, label) {
|
|
37
38
|
if (!expression) return false;
|
|
38
39
|
try {
|
|
@@ -78,7 +78,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
78
78
|
readonly locale: "en" | "ja" | "ko";
|
|
79
79
|
readonly message: string;
|
|
80
80
|
}[]], never>>;
|
|
81
|
-
tooltip: Schema.optional<Schema.
|
|
81
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
82
|
+
readonly locale: "zh";
|
|
83
|
+
readonly message: string;
|
|
84
|
+
}, ...{
|
|
85
|
+
readonly locale: "en" | "ja" | "ko";
|
|
86
|
+
readonly message: string;
|
|
87
|
+
}[]], Schema.suspend<readonly [{
|
|
82
88
|
readonly locale: "zh";
|
|
83
89
|
readonly message: string;
|
|
84
90
|
}, ...{
|
|
@@ -90,7 +96,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
90
96
|
}, ...{
|
|
91
97
|
readonly locale: "en" | "ja" | "ko";
|
|
92
98
|
readonly message: string;
|
|
93
|
-
}[]], never
|
|
99
|
+
}[]], never>>>;
|
|
94
100
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
95
101
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
96
102
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -50,7 +50,7 @@ export function schema(configure) {
|
|
|
50
50
|
title: "\u6807\u7B7E",
|
|
51
51
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
52
52
|
})),
|
|
53
|
-
tooltip: Schema.optional(
|
|
53
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
54
54
|
title: "\u63D0\u793A",
|
|
55
55
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
56
56
|
})),
|
package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue
CHANGED
|
@@ -30,9 +30,10 @@ const formScope = useFormScope();
|
|
|
30
30
|
const inherited = injectCELContext();
|
|
31
31
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
32
32
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
33
|
-
const tooltipText = computed(
|
|
34
|
-
|
|
35
|
-
);
|
|
33
|
+
const tooltipText = computed(() => {
|
|
34
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
35
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
36
|
+
});
|
|
36
37
|
function evalBool(expression, label) {
|
|
37
38
|
if (!expression) return false;
|
|
38
39
|
try {
|
package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts
CHANGED
|
@@ -78,7 +78,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
78
78
|
readonly locale: "en" | "ja" | "ko";
|
|
79
79
|
readonly message: string;
|
|
80
80
|
}[]], never>>;
|
|
81
|
-
tooltip: Schema.optional<Schema.
|
|
81
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
82
|
+
readonly locale: "zh";
|
|
83
|
+
readonly message: string;
|
|
84
|
+
}, ...{
|
|
85
|
+
readonly locale: "en" | "ja" | "ko";
|
|
86
|
+
readonly message: string;
|
|
87
|
+
}[]], Schema.suspend<readonly [{
|
|
82
88
|
readonly locale: "zh";
|
|
83
89
|
readonly message: string;
|
|
84
90
|
}, ...{
|
|
@@ -90,7 +96,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
90
96
|
}, ...{
|
|
91
97
|
readonly locale: "en" | "ja" | "ko";
|
|
92
98
|
readonly message: string;
|
|
93
|
-
}[]], never
|
|
99
|
+
}[]], never>>>;
|
|
94
100
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
95
101
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
96
102
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.js
CHANGED
|
@@ -50,7 +50,7 @@ export function schema(configure) {
|
|
|
50
50
|
title: "\u6807\u7B7E",
|
|
51
51
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
52
52
|
})),
|
|
53
|
-
tooltip: Schema.optional(
|
|
53
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
54
54
|
title: "\u63D0\u793A",
|
|
55
55
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
56
56
|
})),
|
package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/runtime.vue
CHANGED
|
@@ -4,6 +4,7 @@ import { useI18n } from "vue-i18n";
|
|
|
4
4
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
5
5
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
6
6
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
7
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
7
8
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
8
9
|
import { Markdown } from "../../../../ui/markdown";
|
|
9
10
|
import { useFieldValidation } from "../../../utils/validation";
|
|
@@ -25,9 +26,10 @@ const { isRequired, errors, warnings, visible } = useFieldValidation({
|
|
|
25
26
|
locale: () => locale.value
|
|
26
27
|
});
|
|
27
28
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
28
|
-
const tooltipText = computed(
|
|
29
|
-
|
|
30
|
-
);
|
|
29
|
+
const tooltipText = computed(() => {
|
|
30
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
31
|
+
return raw ? interpolateMarkdown(raw, $cel, {}) : void 0;
|
|
32
|
+
});
|
|
31
33
|
const tableConfig = computed(() => {
|
|
32
34
|
const { dataSource: _omit, ...rest } = props.config.table;
|
|
33
35
|
return rest;
|
package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/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
|
table: Schema.suspend<Readonly<{
|
|
50
56
|
kind: "shwfed.component.table";
|
package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import { Locale } from "../../../../../share/locale.js";
|
|
3
|
+
import { LocaleMarkdown } from "../../../../../share/expression.js";
|
|
3
4
|
import { TableConfig, defaultTableConfig } from "../../../../table/schema.js";
|
|
4
5
|
import { commonFieldFields } from "../../../utils/common.js";
|
|
5
6
|
export const type = "com.shwfed.form.field.table";
|
|
@@ -25,7 +26,7 @@ export function schema(configure) {
|
|
|
25
26
|
title: "\u6807\u7B7E",
|
|
26
27
|
description: "\u8868\u683C\u4E0A\u65B9\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
27
28
|
})),
|
|
28
|
-
tooltip: Schema.optional(
|
|
29
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
29
30
|
title: "\u63D0\u793A",
|
|
30
31
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E\uFF0C\u652F\u6301 Markdown"
|
|
31
32
|
})),
|
|
@@ -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-23";
|
|
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-23";
|
|
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-23";
|
|
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-23";
|
|
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-23/com.shwfed.form.field.tree.multi/runtime.vue
CHANGED
|
@@ -52,9 +52,10 @@ const formScope = useFormScope();
|
|
|
52
52
|
const inherited = injectCELContext();
|
|
53
53
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
54
54
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
55
|
-
const tooltipText = computed(
|
|
56
|
-
|
|
57
|
-
);
|
|
55
|
+
const tooltipText = computed(() => {
|
|
56
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
57
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
58
|
+
});
|
|
58
59
|
function evalBool(expression, label) {
|
|
59
60
|
if (!expression) return false;
|
|
60
61
|
try {
|
package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts
CHANGED
|
@@ -31,7 +31,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
31
31
|
readonly locale: "en" | "ja" | "ko";
|
|
32
32
|
readonly message: string;
|
|
33
33
|
}[]], never>>;
|
|
34
|
-
tooltip: Schema.optional<Schema.
|
|
34
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
35
|
+
readonly locale: "zh";
|
|
36
|
+
readonly message: string;
|
|
37
|
+
}, ...{
|
|
38
|
+
readonly locale: "en" | "ja" | "ko";
|
|
39
|
+
readonly message: string;
|
|
40
|
+
}[]], Schema.suspend<readonly [{
|
|
35
41
|
readonly locale: "zh";
|
|
36
42
|
readonly message: string;
|
|
37
43
|
}, ...{
|
|
@@ -43,7 +49,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
43
49
|
}, ...{
|
|
44
50
|
readonly locale: "en" | "ja" | "ko";
|
|
45
51
|
readonly message: string;
|
|
46
|
-
}[]], never
|
|
52
|
+
}[]], never>>>;
|
|
47
53
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
48
54
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
49
55
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.js
CHANGED
|
@@ -48,7 +48,7 @@ export function schema(configure) {
|
|
|
48
48
|
title: "\u6807\u7B7E",
|
|
49
49
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
50
50
|
})),
|
|
51
|
-
tooltip: Schema.optional(
|
|
51
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
52
52
|
title: "\u63D0\u793A",
|
|
53
53
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
54
54
|
})),
|
package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts
CHANGED
|
@@ -42,27 +42,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
42
42
|
readonly format?: string | undefined;
|
|
43
43
|
readonly valueFormat?: string | undefined;
|
|
44
44
|
readonly disabledDate?: string | undefined;
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
45
|
+
readonly presets?: readonly {
|
|
46
|
+
readonly label: readonly [{
|
|
47
47
|
readonly locale: "zh";
|
|
48
48
|
readonly message: string;
|
|
49
49
|
}, ...{
|
|
50
50
|
readonly locale: "en" | "ja" | "ko";
|
|
51
51
|
readonly message: string;
|
|
52
52
|
}[]];
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
53
|
+
readonly id: string;
|
|
54
|
+
readonly value: string;
|
|
55
55
|
}[] | undefined;
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
56
|
+
readonly validations?: readonly {
|
|
57
|
+
readonly message: readonly [{
|
|
58
58
|
readonly locale: "zh";
|
|
59
59
|
readonly message: string;
|
|
60
60
|
}, ...{
|
|
61
61
|
readonly locale: "en" | "ja" | "ko";
|
|
62
62
|
readonly message: string;
|
|
63
63
|
}[]];
|
|
64
|
-
readonly
|
|
65
|
-
readonly
|
|
64
|
+
readonly warning?: boolean | undefined;
|
|
65
|
+
readonly when: string;
|
|
66
66
|
}[] | undefined;
|
|
67
67
|
}) => any;
|
|
68
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -105,27 +105,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly format?: string | undefined;
|
|
106
106
|
readonly valueFormat?: string | undefined;
|
|
107
107
|
readonly disabledDate?: string | undefined;
|
|
108
|
-
readonly
|
|
109
|
-
readonly
|
|
108
|
+
readonly presets?: readonly {
|
|
109
|
+
readonly label: readonly [{
|
|
110
110
|
readonly locale: "zh";
|
|
111
111
|
readonly message: string;
|
|
112
112
|
}, ...{
|
|
113
113
|
readonly locale: "en" | "ja" | "ko";
|
|
114
114
|
readonly message: string;
|
|
115
115
|
}[]];
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
116
|
+
readonly id: string;
|
|
117
|
+
readonly value: string;
|
|
118
118
|
}[] | undefined;
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
119
|
+
readonly validations?: readonly {
|
|
120
|
+
readonly message: readonly [{
|
|
121
121
|
readonly locale: "zh";
|
|
122
122
|
readonly message: string;
|
|
123
123
|
}, ...{
|
|
124
124
|
readonly locale: "en" | "ja" | "ko";
|
|
125
125
|
readonly message: string;
|
|
126
126
|
}[]];
|
|
127
|
-
readonly
|
|
128
|
-
readonly
|
|
127
|
+
readonly warning?: boolean | undefined;
|
|
128
|
+
readonly when: string;
|
|
129
129
|
}[] | undefined;
|
|
130
130
|
}) => any) | undefined;
|
|
131
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|