@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed } from "vue";
|
|
2
|
+
import { computed, ref } from "vue";
|
|
3
3
|
import { Icon } from "@iconify/vue";
|
|
4
|
+
import { useI18n } from "vue-i18n";
|
|
4
5
|
import { Button } from "../../../../ui/button";
|
|
5
6
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../../../ui/dropdown-menu";
|
|
6
7
|
import { ExpressionEditor } from "../../../../ui/expression-editor";
|
|
@@ -17,12 +18,17 @@ import {
|
|
|
17
18
|
InputGroupNumberField
|
|
18
19
|
} from "../../../../ui/input-group";
|
|
19
20
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../../../ui/tabs";
|
|
21
|
+
import { getLocalizedText } from "../../../../../share/locale";
|
|
22
|
+
import {
|
|
23
|
+
useTreeDnd
|
|
24
|
+
} from "../../../../../composables/useTreeDnd";
|
|
20
25
|
import { getStructFieldDescription, getStructFieldTitle } from "../../../utils/schema-meta";
|
|
21
26
|
import { Markdown } from "../../../../ui/markdown";
|
|
22
27
|
import TriggersField from "../../../../actions/components/triggers-field.vue";
|
|
23
28
|
import { itemSchema, remoteOptionsSchema, schema, writeSchema } from "./schema";
|
|
24
29
|
defineOptions({ name: "ShwfedTableComboboxMultiConfig" });
|
|
25
30
|
const value = defineModel({ type: null, ...{ required: true } });
|
|
31
|
+
const { locale } = useI18n();
|
|
26
32
|
const fieldSchema = schema(() => {
|
|
27
33
|
});
|
|
28
34
|
const fieldTitle = (field) => getStructFieldTitle(fieldSchema, field) ?? field;
|
|
@@ -221,6 +227,19 @@ const optionKeywordsModel = computed({
|
|
|
221
227
|
}
|
|
222
228
|
}
|
|
223
229
|
});
|
|
230
|
+
const expandedIds = ref(/* @__PURE__ */ new Set());
|
|
231
|
+
function isExpanded(id) {
|
|
232
|
+
return expandedIds.value.has(id);
|
|
233
|
+
}
|
|
234
|
+
function toggleExpanded(id) {
|
|
235
|
+
const next = new Set(expandedIds.value);
|
|
236
|
+
if (next.has(id)) next.delete(id);
|
|
237
|
+
else next.add(id);
|
|
238
|
+
expandedIds.value = next;
|
|
239
|
+
}
|
|
240
|
+
function summaryFor(item) {
|
|
241
|
+
return getLocalizedText(item.label, locale.value) || "\u672A\u547D\u540D\u9009\u9879";
|
|
242
|
+
}
|
|
224
243
|
function newId() {
|
|
225
244
|
return typeof crypto !== "undefined" && "randomUUID" in crypto ? crypto.randomUUID() : "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
226
245
|
const r = Math.random() * 16 | 0;
|
|
@@ -245,7 +264,9 @@ function patchItem(index, patch) {
|
|
|
245
264
|
}
|
|
246
265
|
function addItem() {
|
|
247
266
|
if (value.value.options.kind !== "static") return;
|
|
248
|
-
|
|
267
|
+
const item = newItem();
|
|
268
|
+
patchStatic({ items: [...value.value.options.items, item] });
|
|
269
|
+
expandedIds.value = new Set(expandedIds.value).add(item.id);
|
|
249
270
|
}
|
|
250
271
|
function removeItem(index) {
|
|
251
272
|
if (value.value.options.kind !== "static") return;
|
|
@@ -253,6 +274,39 @@ function removeItem(index) {
|
|
|
253
274
|
next.splice(index, 1);
|
|
254
275
|
patchStatic({ items: next });
|
|
255
276
|
}
|
|
277
|
+
function moveItem(from, to) {
|
|
278
|
+
if (value.value.options.kind !== "static") return;
|
|
279
|
+
const next = [...value.value.options.items];
|
|
280
|
+
if (from < 0 || to < 0 || from >= next.length || to >= next.length) return;
|
|
281
|
+
const [m] = next.splice(from, 1);
|
|
282
|
+
if (!m) return;
|
|
283
|
+
next.splice(to, 0, m);
|
|
284
|
+
patchStatic({ items: next });
|
|
285
|
+
}
|
|
286
|
+
const ROW_KIND = "combobox-multi-option";
|
|
287
|
+
function onRowDrop(e) {
|
|
288
|
+
if (e.source.kind !== ROW_KIND || e.target.kind !== ROW_KIND) return;
|
|
289
|
+
const from = items.value.findIndex((it) => it.id === e.source.id);
|
|
290
|
+
const to = items.value.findIndex((it) => it.id === e.target.id);
|
|
291
|
+
if (from < 0 || to < 0) return;
|
|
292
|
+
if (e.instruction === "reorder-above") moveItem(from, from < to ? to - 1 : to);
|
|
293
|
+
else if (e.instruction === "reorder-below") moveItem(from, from <= to ? to : to + 1);
|
|
294
|
+
}
|
|
295
|
+
const dnd = useTreeDnd({ onRowDrop });
|
|
296
|
+
const pickDragHandle = (el) => el.querySelector(".drag-handle");
|
|
297
|
+
function rowConfig(index) {
|
|
298
|
+
const id = items.value[index]?.id ?? `idx-${index}`;
|
|
299
|
+
return {
|
|
300
|
+
kind: ROW_KIND,
|
|
301
|
+
canDrop: (src) => src.kind === ROW_KIND,
|
|
302
|
+
blockInstructions: (src) => {
|
|
303
|
+
const block = ["make-child", "reparent"];
|
|
304
|
+
if (src.id === id) block.push("reorder-above", "reorder-below");
|
|
305
|
+
return block;
|
|
306
|
+
},
|
|
307
|
+
dragHandle: pickDragHandle
|
|
308
|
+
};
|
|
309
|
+
}
|
|
256
310
|
function setItemKind(index, kind) {
|
|
257
311
|
if (value.value.options.kind !== "static") return;
|
|
258
312
|
const cur = value.value.options.items[index];
|
|
@@ -456,146 +510,179 @@ function setItemKeywords(index, text) {
|
|
|
456
510
|
<div
|
|
457
511
|
v-for="(item, index) in items"
|
|
458
512
|
:key="item.id"
|
|
513
|
+
:ref="dnd.rowRef(item.id, rowConfig(index))"
|
|
459
514
|
data-slot="combobox-multi-item"
|
|
460
|
-
class="relative
|
|
515
|
+
class="relative rounded border border-zinc-200 bg-zinc-50/40"
|
|
516
|
+
:data-instruction="dnd.instructionFor(item.id) ?? void 0"
|
|
461
517
|
>
|
|
462
|
-
<
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
518
|
+
<div class="flex items-center gap-2 p-2">
|
|
519
|
+
<Icon
|
|
520
|
+
icon="fluent:re-order-dots-vertical-20-regular"
|
|
521
|
+
class="drag-handle size-4 shrink-0 cursor-grab text-zinc-400"
|
|
522
|
+
data-slot="combobox-multi-item-drag-handle"
|
|
523
|
+
/>
|
|
524
|
+
<InputGroupButton
|
|
525
|
+
size="icon-xs"
|
|
526
|
+
class="shrink-0"
|
|
527
|
+
data-slot="combobox-multi-item-collapse"
|
|
528
|
+
:aria-expanded="isExpanded(item.id)"
|
|
529
|
+
:aria-label="isExpanded(item.id) ? '\u6298\u53E0' : '\u5C55\u5F00'"
|
|
530
|
+
@click="toggleExpanded(item.id)"
|
|
531
|
+
>
|
|
532
|
+
<Icon
|
|
533
|
+
:icon="isExpanded(item.id) ? 'fluent:chevron-down-20-regular' : 'fluent:chevron-right-20-regular'"
|
|
534
|
+
/>
|
|
535
|
+
</InputGroupButton>
|
|
536
|
+
<div
|
|
537
|
+
class="min-w-0 flex-1 truncate text-sm text-zinc-700"
|
|
538
|
+
data-slot="combobox-multi-item-summary"
|
|
539
|
+
>
|
|
540
|
+
{{ summaryFor(item) }}
|
|
541
|
+
</div>
|
|
542
|
+
<InputGroupButton
|
|
543
|
+
variant="destructive"
|
|
544
|
+
size="icon-xs"
|
|
545
|
+
data-slot="combobox-multi-item-delete"
|
|
546
|
+
aria-label="删除选项"
|
|
547
|
+
class="shrink-0"
|
|
548
|
+
@click="removeItem(index)"
|
|
549
|
+
>
|
|
550
|
+
<Icon icon="fluent:delete-20-regular" />
|
|
551
|
+
</InputGroupButton>
|
|
552
|
+
</div>
|
|
553
|
+
|
|
554
|
+
<div
|
|
555
|
+
v-show="isExpanded(item.id)"
|
|
556
|
+
class="grid grid-cols-2 gap-3 px-3 pb-3"
|
|
557
|
+
data-slot="combobox-multi-item-content"
|
|
469
558
|
>
|
|
470
|
-
<
|
|
471
|
-
|
|
559
|
+
<Field orientation="vertical">
|
|
560
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
561
|
+
<template
|
|
562
|
+
v-if="itemFieldDescription('label')"
|
|
563
|
+
#tooltip
|
|
564
|
+
>
|
|
565
|
+
<Markdown
|
|
566
|
+
:source="itemFieldDescription('label')"
|
|
567
|
+
block
|
|
568
|
+
class="prose prose-sm prose-zinc"
|
|
569
|
+
/>
|
|
570
|
+
</template>
|
|
571
|
+
{{ itemFieldTitle("label") }}
|
|
572
|
+
</FieldLabel>
|
|
573
|
+
<Locale
|
|
574
|
+
translate-hint="combobox option label"
|
|
575
|
+
:model-value="item.label"
|
|
576
|
+
@update:model-value="(v) => setItemLabel(index, v)"
|
|
577
|
+
/>
|
|
578
|
+
</Field>
|
|
472
579
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
580
|
+
<Field orientation="vertical">
|
|
581
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
582
|
+
<template
|
|
583
|
+
v-if="itemFieldDescription('value')"
|
|
584
|
+
#tooltip
|
|
585
|
+
>
|
|
586
|
+
<Markdown
|
|
587
|
+
:source="itemFieldDescription('value')"
|
|
588
|
+
block
|
|
589
|
+
class="prose prose-sm prose-zinc"
|
|
590
|
+
/>
|
|
591
|
+
</template>
|
|
592
|
+
{{ itemFieldTitle("value") }}
|
|
593
|
+
</FieldLabel>
|
|
594
|
+
<InputGroup>
|
|
595
|
+
<InputGroupAddon align="inline-start">
|
|
596
|
+
<DropdownMenu>
|
|
597
|
+
<DropdownMenuTrigger as-child>
|
|
598
|
+
<InputGroupButton
|
|
599
|
+
size="icon-sm"
|
|
600
|
+
as-child
|
|
601
|
+
>
|
|
602
|
+
<button
|
|
603
|
+
type="button"
|
|
604
|
+
data-slot="combobox-multi-item-kind-trigger"
|
|
605
|
+
class="text-zinc-500 transition-colors hover:text-zinc-700 [&_svg:not([class*='size-'])]:size-3.5"
|
|
606
|
+
aria-label="切换值类型"
|
|
607
|
+
>
|
|
608
|
+
<Icon
|
|
609
|
+
:icon="item.value.kind === 'number' ? 'fluent:number-symbol-20-regular' : 'fluent:textbox-20-regular'"
|
|
610
|
+
/>
|
|
611
|
+
</button>
|
|
612
|
+
</InputGroupButton>
|
|
613
|
+
</DropdownMenuTrigger>
|
|
614
|
+
<DropdownMenuContent align="start">
|
|
615
|
+
<DropdownMenuItem @select="setItemKind(index, 'text')">
|
|
616
|
+
<Icon icon="fluent:textbox-20-regular" />
|
|
617
|
+
<span>文本</span>
|
|
618
|
+
</DropdownMenuItem>
|
|
619
|
+
<DropdownMenuItem @select="setItemKind(index, 'number')">
|
|
620
|
+
<Icon icon="fluent:number-symbol-20-regular" />
|
|
621
|
+
<span>数字</span>
|
|
622
|
+
</DropdownMenuItem>
|
|
623
|
+
</DropdownMenuContent>
|
|
624
|
+
</DropdownMenu>
|
|
625
|
+
</InputGroupAddon>
|
|
493
626
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
>
|
|
500
|
-
<Markdown
|
|
501
|
-
:source="itemFieldDescription('value')"
|
|
502
|
-
block
|
|
503
|
-
class="prose prose-sm prose-zinc"
|
|
627
|
+
<InputGroupInput
|
|
628
|
+
v-if="item.value.kind === 'text'"
|
|
629
|
+
:model-value="item.value.value"
|
|
630
|
+
placeholder="例:admin"
|
|
631
|
+
@update:model-value="(v) => setItemTextValue(index, String(v ?? ''))"
|
|
504
632
|
/>
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
<InputGroupButton
|
|
513
|
-
size="icon-sm"
|
|
514
|
-
as-child
|
|
515
|
-
>
|
|
516
|
-
<button
|
|
517
|
-
type="button"
|
|
518
|
-
data-slot="combobox-multi-item-kind-trigger"
|
|
519
|
-
class="text-zinc-500 transition-colors hover:text-zinc-700 [&_svg:not([class*='size-'])]:size-3.5"
|
|
520
|
-
aria-label="切换值类型"
|
|
521
|
-
>
|
|
522
|
-
<Icon
|
|
523
|
-
:icon="item.value.kind === 'number' ? 'fluent:number-symbol-20-regular' : 'fluent:textbox-20-regular'"
|
|
524
|
-
/>
|
|
525
|
-
</button>
|
|
526
|
-
</InputGroupButton>
|
|
527
|
-
</DropdownMenuTrigger>
|
|
528
|
-
<DropdownMenuContent align="start">
|
|
529
|
-
<DropdownMenuItem @select="setItemKind(index, 'text')">
|
|
530
|
-
<Icon icon="fluent:textbox-20-regular" />
|
|
531
|
-
<span>文本</span>
|
|
532
|
-
</DropdownMenuItem>
|
|
533
|
-
<DropdownMenuItem @select="setItemKind(index, 'number')">
|
|
534
|
-
<Icon icon="fluent:number-symbol-20-regular" />
|
|
535
|
-
<span>数字</span>
|
|
536
|
-
</DropdownMenuItem>
|
|
537
|
-
</DropdownMenuContent>
|
|
538
|
-
</DropdownMenu>
|
|
539
|
-
</InputGroupAddon>
|
|
633
|
+
<InputGroupNumberField
|
|
634
|
+
v-else
|
|
635
|
+
:model-value="item.value.value"
|
|
636
|
+
@update:model-value="(v) => setItemNumberValue(index, v)"
|
|
637
|
+
/>
|
|
638
|
+
</InputGroup>
|
|
639
|
+
</Field>
|
|
540
640
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
641
|
+
<Field orientation="vertical">
|
|
642
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
643
|
+
<template
|
|
644
|
+
v-if="itemFieldDescription('tooltip')"
|
|
645
|
+
#tooltip
|
|
646
|
+
>
|
|
647
|
+
<Markdown
|
|
648
|
+
:source="itemFieldDescription('tooltip')"
|
|
649
|
+
block
|
|
650
|
+
class="prose prose-sm prose-zinc"
|
|
651
|
+
/>
|
|
652
|
+
</template>
|
|
653
|
+
{{ itemFieldTitle("tooltip") }}
|
|
654
|
+
</FieldLabel>
|
|
655
|
+
<Locale
|
|
656
|
+
markdown
|
|
657
|
+
translate-hint="combobox option tooltip"
|
|
658
|
+
:model-value="item.tooltip"
|
|
659
|
+
@update:model-value="(v) => setItemTooltip(index, v)"
|
|
551
660
|
/>
|
|
552
|
-
</
|
|
553
|
-
</Field>
|
|
554
|
-
|
|
555
|
-
<Field orientation="vertical">
|
|
556
|
-
<FieldLabel class="text-xs text-zinc-500">
|
|
557
|
-
<template
|
|
558
|
-
v-if="itemFieldDescription('tooltip')"
|
|
559
|
-
#tooltip
|
|
560
|
-
>
|
|
561
|
-
<Markdown
|
|
562
|
-
:source="itemFieldDescription('tooltip')"
|
|
563
|
-
block
|
|
564
|
-
class="prose prose-sm prose-zinc"
|
|
565
|
-
/>
|
|
566
|
-
</template>
|
|
567
|
-
{{ itemFieldTitle("tooltip") }}
|
|
568
|
-
</FieldLabel>
|
|
569
|
-
<Locale
|
|
570
|
-
markdown
|
|
571
|
-
translate-hint="combobox option tooltip"
|
|
572
|
-
:model-value="item.tooltip"
|
|
573
|
-
@update:model-value="(v) => setItemTooltip(index, v)"
|
|
574
|
-
/>
|
|
575
|
-
</Field>
|
|
661
|
+
</Field>
|
|
576
662
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
663
|
+
<Field orientation="vertical">
|
|
664
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
665
|
+
<template
|
|
666
|
+
v-if="itemFieldDescription('keywords')"
|
|
667
|
+
#tooltip
|
|
668
|
+
>
|
|
669
|
+
<Markdown
|
|
670
|
+
:source="itemFieldDescription('keywords')"
|
|
671
|
+
block
|
|
672
|
+
class="prose prose-sm prose-zinc"
|
|
673
|
+
/>
|
|
674
|
+
</template>
|
|
675
|
+
{{ itemFieldTitle("keywords") }}
|
|
676
|
+
</FieldLabel>
|
|
677
|
+
<Textarea
|
|
678
|
+
data-slot="combobox-multi-item-keywords"
|
|
679
|
+
:model-value="keywordsText(item)"
|
|
680
|
+
placeholder="每行一个关键词"
|
|
681
|
+
:rows="2"
|
|
682
|
+
@update:model-value="(v) => setItemKeywords(index, String(v ?? ''))"
|
|
683
|
+
/>
|
|
684
|
+
</Field>
|
|
685
|
+
</div>
|
|
599
686
|
</div>
|
|
600
687
|
|
|
601
688
|
<Button
|
|
@@ -979,3 +1066,7 @@ function setItemKeywords(index, text) {
|
|
|
979
1066
|
</div>
|
|
980
1067
|
</div>
|
|
981
1068
|
</template>
|
|
1069
|
+
|
|
1070
|
+
<style scoped>
|
|
1071
|
+
[data-instruction=reorder-above]:before,[data-instruction=reorder-below]:after{background:var(--primary,#2563eb);content:"";height:2px;left:0;pointer-events:none;position:absolute;right:0;z-index:1}[data-instruction=reorder-above]:before{top:-7px}[data-instruction=reorder-below]:after{bottom:-7px}
|
|
1072
|
+
</style>
|