@shwfed/config 2.12.4 → 2.12.6
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/module.mjs +5 -0
- 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/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +68 -68
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +34 -34
- 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 +31 -4
- 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/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/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/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 +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +6 -6
- 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 +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +2 -2
- 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 +8 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +8 -8
- 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 +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +2 -2
- 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 +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +2 -2
- 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/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/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/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 +18 -18
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +18 -18
- 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/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 +6 -6
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +6 -6
- 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/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 +18 -18
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +18 -18
- 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 +18 -18
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +18 -18
- 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 +18 -18
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +18 -18
- 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 +18 -18
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +18 -18
- 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 +18 -18
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +18 -18
- 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 +18 -18
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +18 -18
- 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/sidebar/index.d.vue.ts +22 -3
- package/dist/runtime/components/sidebar/index.vue +66 -5
- package/dist/runtime/components/sidebar/index.vue.d.ts +22 -3
- package/dist/runtime/components/sidebar/node.d.vue.ts +1 -1
- package/dist/runtime/components/sidebar/node.vue +33 -13
- package/dist/runtime/components/sidebar/node.vue.d.ts +1 -1
- package/dist/runtime/components/sidebar/tree.vue +113 -83
- package/dist/runtime/components/sidebar/types.d.ts +8 -0
- package/dist/runtime/components/sidebar/types.js +1 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/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 +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/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 +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- 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-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- 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.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- 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/schema.d.ts +68 -68
- 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/table/utils/row-reorder.d.ts +3 -2
- package/dist/runtime/components/table/utils/row-reorder.js +1 -12
- package/dist/runtime/components/tabs/index.d.vue.ts +9 -0
- package/dist/runtime/components/tabs/index.vue +92 -0
- package/dist/runtime/components/tabs/index.vue.d.ts +9 -0
- package/dist/runtime/components/tabs/tab.d.vue.ts +22 -0
- package/dist/runtime/components/tabs/tab.vue +85 -0
- package/dist/runtime/components/tabs/tab.vue.d.ts +22 -0
- package/dist/runtime/components/tabs/types.d.ts +19 -0
- package/dist/runtime/components/tabs/types.js +0 -0
- package/dist/runtime/components/tabs/use-reorder.d.ts +10 -0
- package/dist/runtime/components/tabs/use-reorder.js +90 -0
- package/dist/runtime/components/tabs/use-tabs.d.ts +46 -0
- package/dist/runtime/components/tabs/use-tabs.js +101 -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/components/ui/sidebar/SidebarMenuAction.vue +1 -1
- package/dist/runtime/components/ui/sidebar/index.js +2 -2
- package/dist/runtime/share/reorder.d.ts +2 -0
- package/dist/runtime/share/reorder.js +12 -0
- package/dist/runtime/utils/nav-registry.d.ts +19 -0
- package/dist/runtime/utils/nav-registry.js +14 -0
- package/dist/runtime/utils/page-title-registry.d.ts +3 -0
- package/dist/runtime/utils/page-title-registry.js +11 -0
- package/dist/runtime/vendor/cel-js/CLAUDE.md +6 -5
- package/dist/runtime/vendor/cel-js/PROMPT.md +97 -19
- package/dist/runtime/vendor/cel-js/lib/decimal.d.ts +4 -0
- package/dist/runtime/vendor/cel-js/lib/decimal.js +35 -0
- package/dist/runtime/vendor/cel-js/lib/evaluator.js +2 -0
- package/dist/runtime/vendor/cel-js/lib/functions.js +107 -134
- package/dist/runtime/vendor/cel-js/lib/macros.js +125 -16
- package/dist/runtime/vendor/cel-js/lib/math-builtins.d.ts +2 -0
- package/dist/runtime/vendor/cel-js/lib/math-builtins.js +39 -0
- package/dist/runtime/vendor/cel-js/lib/optional.d.ts +4 -0
- package/dist/runtime/vendor/cel-js/lib/optional.js +73 -21
- package/dist/runtime/vendor/cel-js/lib/parser.js +2 -6
- package/dist/runtime/vendor/cel-js/lib/registry.js +2 -2
- package/package.json +1 -1
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import { Expression } from "../../../../../share/expression.js";
|
|
2
|
+
import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
|
|
3
3
|
import { Locale } from "../../../../../share/locale.js";
|
|
4
4
|
import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
|
|
5
5
|
export const type = "com.shwfed.form.field.numberrange";
|
|
@@ -39,7 +39,7 @@ export function schema(configure) {
|
|
|
39
39
|
title: "\u7ED3\u675F\u5360\u4F4D\u7B26",
|
|
40
40
|
description: "\u672A\u8F93\u5165\u7ED3\u675F\u6570\u503C\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
41
41
|
})),
|
|
42
|
-
tooltip: Schema.optional(
|
|
42
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
43
43
|
title: "\u63D0\u793A",
|
|
44
44
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
45
45
|
})),
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue
CHANGED
|
@@ -5,6 +5,7 @@ import { useI18n } from "vue-i18n";
|
|
|
5
5
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
6
6
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
7
7
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
8
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
8
9
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
9
10
|
import { Markdown } from "../../../../ui/markdown";
|
|
10
11
|
import { Switch } from "../../../../ui/switch";
|
|
@@ -22,9 +23,10 @@ const formScope = useFormScope();
|
|
|
22
23
|
const inherited = injectCELContext();
|
|
23
24
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
24
25
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
25
|
-
const tooltipText = computed(
|
|
26
|
-
|
|
27
|
-
);
|
|
26
|
+
const tooltipText = computed(() => {
|
|
27
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
28
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
29
|
+
});
|
|
28
30
|
const trueText = computed(
|
|
29
31
|
() => getLocalizedText(props.config.trueLabel, locale.value) || "\u662F"
|
|
30
32
|
);
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts
CHANGED
|
@@ -30,7 +30,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
30
30
|
readonly locale: "en" | "ja" | "ko";
|
|
31
31
|
readonly message: string;
|
|
32
32
|
}[]], never>>;
|
|
33
|
-
tooltip: Schema.optional<Schema.
|
|
33
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
34
|
+
readonly locale: "zh";
|
|
35
|
+
readonly message: string;
|
|
36
|
+
}, ...{
|
|
37
|
+
readonly locale: "en" | "ja" | "ko";
|
|
38
|
+
readonly message: string;
|
|
39
|
+
}[]], Schema.suspend<readonly [{
|
|
34
40
|
readonly locale: "zh";
|
|
35
41
|
readonly message: string;
|
|
36
42
|
}, ...{
|
|
@@ -42,7 +48,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
42
48
|
}, ...{
|
|
43
49
|
readonly locale: "en" | "ja" | "ko";
|
|
44
50
|
readonly message: string;
|
|
45
|
-
}[]], never
|
|
51
|
+
}[]], never>>>;
|
|
46
52
|
trueLabel: Schema.optional<Schema.suspend<readonly [{
|
|
47
53
|
readonly locale: "zh";
|
|
48
54
|
readonly message: string;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import { Expression } from "../../../../../share/expression.js";
|
|
2
|
+
import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
|
|
3
3
|
import { Locale } from "../../../../../share/locale.js";
|
|
4
4
|
import { commonFieldFields, derivedField } from "../../../utils/common.js";
|
|
5
5
|
export const type = "com.shwfed.form.field.switch";
|
|
@@ -20,7 +20,7 @@ export function schema(configure) {
|
|
|
20
20
|
title: "\u6807\u7B7E",
|
|
21
21
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
22
22
|
})),
|
|
23
|
-
tooltip: Schema.optional(
|
|
23
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
24
24
|
title: "\u63D0\u793A",
|
|
25
25
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
26
26
|
})),
|
|
@@ -55,9 +55,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
55
55
|
const placeholderText = computed(
|
|
56
56
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : t("combobox-single-placeholder")
|
|
57
57
|
);
|
|
58
|
-
const tooltipText = computed(
|
|
59
|
-
|
|
60
|
-
);
|
|
58
|
+
const tooltipText = computed(() => {
|
|
59
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
60
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
61
|
+
});
|
|
61
62
|
function evalBool(expression, label) {
|
|
62
63
|
if (!expression) return false;
|
|
63
64
|
try {
|
|
@@ -92,7 +92,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
92
92
|
readonly locale: "en" | "ja" | "ko";
|
|
93
93
|
readonly message: string;
|
|
94
94
|
}[]], never>>;
|
|
95
|
-
tooltip: Schema.optional<Schema.
|
|
95
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
96
|
+
readonly locale: "zh";
|
|
97
|
+
readonly message: string;
|
|
98
|
+
}, ...{
|
|
99
|
+
readonly locale: "en" | "ja" | "ko";
|
|
100
|
+
readonly message: string;
|
|
101
|
+
}[]], Schema.suspend<readonly [{
|
|
96
102
|
readonly locale: "zh";
|
|
97
103
|
readonly message: string;
|
|
98
104
|
}, ...{
|
|
@@ -104,7 +110,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
104
110
|
}, ...{
|
|
105
111
|
readonly locale: "en" | "ja" | "ko";
|
|
106
112
|
readonly message: string;
|
|
107
|
-
}[]], never
|
|
113
|
+
}[]], never>>>;
|
|
108
114
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
109
115
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
110
116
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -55,7 +55,7 @@ export function schema(configure) {
|
|
|
55
55
|
title: "\u5360\u4F4D\u7B26",
|
|
56
56
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
57
57
|
})),
|
|
58
|
-
tooltip: Schema.optional(
|
|
58
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
59
59
|
title: "\u63D0\u793A",
|
|
60
60
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
61
61
|
})),
|
package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue
CHANGED
|
@@ -8,6 +8,7 @@ import { toast } from "vue-sonner";
|
|
|
8
8
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
9
9
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
10
10
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
11
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
11
12
|
import { Button } from "../../../../ui/button";
|
|
12
13
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
13
14
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -113,9 +114,10 @@ const labelText = computed(
|
|
|
113
114
|
const descriptionText = computed(
|
|
114
115
|
() => props.config.description ? getLocalizedText(props.config.description, locale.value) : void 0
|
|
115
116
|
);
|
|
116
|
-
const tooltipText = computed(
|
|
117
|
-
|
|
118
|
-
);
|
|
117
|
+
const tooltipText = computed(() => {
|
|
118
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
119
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
120
|
+
});
|
|
119
121
|
const templateLabelText = computed(
|
|
120
122
|
() => (props.config.templateLabel ? getLocalizedText(props.config.templateLabel, locale.value) : void 0) ?? "\u4E0B\u8F7D\u6A21\u677F"
|
|
121
123
|
);
|
package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts
CHANGED
|
@@ -68,7 +68,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
68
68
|
readonly locale: "en" | "ja" | "ko";
|
|
69
69
|
readonly message: string;
|
|
70
70
|
}[]], never>>;
|
|
71
|
-
tooltip: Schema.optional<Schema.
|
|
71
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
72
|
+
readonly locale: "zh";
|
|
73
|
+
readonly message: string;
|
|
74
|
+
}, ...{
|
|
75
|
+
readonly locale: "en" | "ja" | "ko";
|
|
76
|
+
readonly message: string;
|
|
77
|
+
}[]], Schema.suspend<readonly [{
|
|
72
78
|
readonly locale: "zh";
|
|
73
79
|
readonly message: string;
|
|
74
80
|
}, ...{
|
|
@@ -80,7 +86,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
80
86
|
}, ...{
|
|
81
87
|
readonly locale: "en" | "ja" | "ko";
|
|
82
88
|
readonly message: string;
|
|
83
|
-
}[]], never
|
|
89
|
+
}[]], never>>>;
|
|
84
90
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
85
91
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
86
92
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.js
CHANGED
|
@@ -42,7 +42,7 @@ export function schema(configure) {
|
|
|
42
42
|
title: "\u5360\u4F4D\u7B26",
|
|
43
43
|
description: "\u4E0A\u4F20\u533A\u57DF\u4E3A\u7A7A\u65F6\u7684\u63D0\u793A\u6587\u672C"
|
|
44
44
|
})),
|
|
45
|
-
tooltip: Schema.optional(
|
|
45
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
46
46
|
title: "\u63D0\u793A",
|
|
47
47
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
48
48
|
})),
|
|
@@ -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<{
|
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
|
})),
|
|
@@ -56,6 +56,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
56
56
|
readonly message: string;
|
|
57
57
|
}[]];
|
|
58
58
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
59
|
+
readonly nodeTooltip?: readonly [{
|
|
60
|
+
readonly locale: "zh";
|
|
61
|
+
readonly message: string;
|
|
62
|
+
}, ...{
|
|
63
|
+
readonly locale: "en" | "ja" | "ko";
|
|
64
|
+
readonly message: string;
|
|
65
|
+
}[]] | undefined;
|
|
66
|
+
readonly nodeSelectable?: string | undefined;
|
|
67
|
+
readonly expandAll: boolean;
|
|
59
68
|
readonly validations?: readonly {
|
|
60
69
|
readonly message: readonly [{
|
|
61
70
|
readonly locale: "zh";
|
|
@@ -67,15 +76,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
67
76
|
readonly warning?: boolean | undefined;
|
|
68
77
|
readonly when: string;
|
|
69
78
|
}[] | undefined;
|
|
70
|
-
readonly nodeTooltip?: readonly [{
|
|
71
|
-
readonly locale: "zh";
|
|
72
|
-
readonly message: string;
|
|
73
|
-
}, ...{
|
|
74
|
-
readonly locale: "en" | "ja" | "ko";
|
|
75
|
-
readonly message: string;
|
|
76
|
-
}[]] | undefined;
|
|
77
|
-
readonly nodeSelectable?: string | undefined;
|
|
78
|
-
readonly expandAll: boolean;
|
|
79
79
|
}) => any;
|
|
80
80
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
81
81
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -131,6 +131,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
131
131
|
readonly message: string;
|
|
132
132
|
}[]];
|
|
133
133
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
134
|
+
readonly nodeTooltip?: readonly [{
|
|
135
|
+
readonly locale: "zh";
|
|
136
|
+
readonly message: string;
|
|
137
|
+
}, ...{
|
|
138
|
+
readonly locale: "en" | "ja" | "ko";
|
|
139
|
+
readonly message: string;
|
|
140
|
+
}[]] | undefined;
|
|
141
|
+
readonly nodeSelectable?: string | undefined;
|
|
142
|
+
readonly expandAll: boolean;
|
|
134
143
|
readonly validations?: readonly {
|
|
135
144
|
readonly message: readonly [{
|
|
136
145
|
readonly locale: "zh";
|
|
@@ -142,15 +151,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
142
151
|
readonly warning?: boolean | undefined;
|
|
143
152
|
readonly when: string;
|
|
144
153
|
}[] | undefined;
|
|
145
|
-
readonly nodeTooltip?: readonly [{
|
|
146
|
-
readonly locale: "zh";
|
|
147
|
-
readonly message: string;
|
|
148
|
-
}, ...{
|
|
149
|
-
readonly locale: "en" | "ja" | "ko";
|
|
150
|
-
readonly message: string;
|
|
151
|
-
}[]] | undefined;
|
|
152
|
-
readonly nodeSelectable?: string | undefined;
|
|
153
|
-
readonly expandAll: boolean;
|
|
154
154
|
}) => any) | undefined;
|
|
155
155
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
156
156
|
declare const _default: typeof __VLS_export;
|