@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
|
@@ -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;
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue
CHANGED
|
@@ -49,9 +49,10 @@ const formScope = useFormScope();
|
|
|
49
49
|
const inherited = injectCELContext();
|
|
50
50
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
51
51
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
52
|
-
const tooltipText = computed(
|
|
53
|
-
|
|
54
|
-
);
|
|
52
|
+
const tooltipText = computed(() => {
|
|
53
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
54
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
55
|
+
});
|
|
55
56
|
function evalBool(expression, label) {
|
|
56
57
|
if (!expression) return false;
|
|
57
58
|
try {
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts
CHANGED
|
@@ -33,7 +33,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
33
33
|
readonly locale: "en" | "ja" | "ko";
|
|
34
34
|
readonly message: string;
|
|
35
35
|
}[]], never>>;
|
|
36
|
-
tooltip: Schema.optional<Schema.
|
|
36
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
37
|
+
readonly locale: "zh";
|
|
38
|
+
readonly message: string;
|
|
39
|
+
}, ...{
|
|
40
|
+
readonly locale: "en" | "ja" | "ko";
|
|
41
|
+
readonly message: string;
|
|
42
|
+
}[]], Schema.suspend<readonly [{
|
|
37
43
|
readonly locale: "zh";
|
|
38
44
|
readonly message: string;
|
|
39
45
|
}, ...{
|
|
@@ -45,7 +51,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
45
51
|
}, ...{
|
|
46
52
|
readonly locale: "en" | "ja" | "ko";
|
|
47
53
|
readonly message: string;
|
|
48
|
-
}[]], never
|
|
54
|
+
}[]], never>>>;
|
|
49
55
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
50
56
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
51
57
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js
CHANGED
|
@@ -51,7 +51,7 @@ export function schema(configure) {
|
|
|
51
51
|
title: "\u6807\u7B7E",
|
|
52
52
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
53
53
|
})),
|
|
54
|
-
tooltip: Schema.optional(
|
|
54
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
55
55
|
title: "\u63D0\u793A",
|
|
56
56
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
57
57
|
})),
|
|
@@ -55,6 +55,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
55
|
readonly locale: "en" | "ja" | "ko";
|
|
56
56
|
readonly message: string;
|
|
57
57
|
}[]];
|
|
58
|
+
readonly nodeTooltip?: readonly [{
|
|
59
|
+
readonly locale: "zh";
|
|
60
|
+
readonly message: string;
|
|
61
|
+
}, ...{
|
|
62
|
+
readonly locale: "en" | "ja" | "ko";
|
|
63
|
+
readonly message: string;
|
|
64
|
+
}[]] | undefined;
|
|
65
|
+
readonly nodeSelectable?: string | undefined;
|
|
66
|
+
readonly expandAll: boolean;
|
|
58
67
|
readonly validations?: readonly {
|
|
59
68
|
readonly message: readonly [{
|
|
60
69
|
readonly locale: "zh";
|
|
@@ -66,15 +75,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
66
75
|
readonly warning?: boolean | undefined;
|
|
67
76
|
readonly when: string;
|
|
68
77
|
}[] | undefined;
|
|
69
|
-
readonly nodeTooltip?: readonly [{
|
|
70
|
-
readonly locale: "zh";
|
|
71
|
-
readonly message: string;
|
|
72
|
-
}, ...{
|
|
73
|
-
readonly locale: "en" | "ja" | "ko";
|
|
74
|
-
readonly message: string;
|
|
75
|
-
}[]] | undefined;
|
|
76
|
-
readonly nodeSelectable?: string | undefined;
|
|
77
|
-
readonly expandAll: boolean;
|
|
78
78
|
}) => any;
|
|
79
79
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
80
80
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -129,6 +129,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
129
129
|
readonly locale: "en" | "ja" | "ko";
|
|
130
130
|
readonly message: string;
|
|
131
131
|
}[]];
|
|
132
|
+
readonly nodeTooltip?: readonly [{
|
|
133
|
+
readonly locale: "zh";
|
|
134
|
+
readonly message: string;
|
|
135
|
+
}, ...{
|
|
136
|
+
readonly locale: "en" | "ja" | "ko";
|
|
137
|
+
readonly message: string;
|
|
138
|
+
}[]] | undefined;
|
|
139
|
+
readonly nodeSelectable?: string | undefined;
|
|
140
|
+
readonly expandAll: boolean;
|
|
132
141
|
readonly validations?: readonly {
|
|
133
142
|
readonly message: readonly [{
|
|
134
143
|
readonly locale: "zh";
|
|
@@ -140,15 +149,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
140
149
|
readonly warning?: boolean | undefined;
|
|
141
150
|
readonly when: string;
|
|
142
151
|
}[] | undefined;
|
|
143
|
-
readonly nodeTooltip?: readonly [{
|
|
144
|
-
readonly locale: "zh";
|
|
145
|
-
readonly message: string;
|
|
146
|
-
}, ...{
|
|
147
|
-
readonly locale: "en" | "ja" | "ko";
|
|
148
|
-
readonly message: string;
|
|
149
|
-
}[]] | undefined;
|
|
150
|
-
readonly nodeSelectable?: string | undefined;
|
|
151
|
-
readonly expandAll: boolean;
|
|
152
152
|
}) => any) | undefined;
|
|
153
153
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
154
154
|
declare const _default: typeof __VLS_export;
|
|
@@ -55,6 +55,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
55
|
readonly locale: "en" | "ja" | "ko";
|
|
56
56
|
readonly message: string;
|
|
57
57
|
}[]];
|
|
58
|
+
readonly nodeTooltip?: readonly [{
|
|
59
|
+
readonly locale: "zh";
|
|
60
|
+
readonly message: string;
|
|
61
|
+
}, ...{
|
|
62
|
+
readonly locale: "en" | "ja" | "ko";
|
|
63
|
+
readonly message: string;
|
|
64
|
+
}[]] | undefined;
|
|
65
|
+
readonly nodeSelectable?: string | undefined;
|
|
66
|
+
readonly expandAll: boolean;
|
|
58
67
|
readonly validations?: readonly {
|
|
59
68
|
readonly message: readonly [{
|
|
60
69
|
readonly locale: "zh";
|
|
@@ -66,15 +75,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
66
75
|
readonly warning?: boolean | undefined;
|
|
67
76
|
readonly when: string;
|
|
68
77
|
}[] | undefined;
|
|
69
|
-
readonly nodeTooltip?: readonly [{
|
|
70
|
-
readonly locale: "zh";
|
|
71
|
-
readonly message: string;
|
|
72
|
-
}, ...{
|
|
73
|
-
readonly locale: "en" | "ja" | "ko";
|
|
74
|
-
readonly message: string;
|
|
75
|
-
}[]] | undefined;
|
|
76
|
-
readonly nodeSelectable?: string | undefined;
|
|
77
|
-
readonly expandAll: boolean;
|
|
78
78
|
}) => any;
|
|
79
79
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
80
80
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -129,6 +129,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
129
129
|
readonly locale: "en" | "ja" | "ko";
|
|
130
130
|
readonly message: string;
|
|
131
131
|
}[]];
|
|
132
|
+
readonly nodeTooltip?: readonly [{
|
|
133
|
+
readonly locale: "zh";
|
|
134
|
+
readonly message: string;
|
|
135
|
+
}, ...{
|
|
136
|
+
readonly locale: "en" | "ja" | "ko";
|
|
137
|
+
readonly message: string;
|
|
138
|
+
}[]] | undefined;
|
|
139
|
+
readonly nodeSelectable?: string | undefined;
|
|
140
|
+
readonly expandAll: boolean;
|
|
132
141
|
readonly validations?: readonly {
|
|
133
142
|
readonly message: readonly [{
|
|
134
143
|
readonly locale: "zh";
|
|
@@ -140,15 +149,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
140
149
|
readonly warning?: boolean | undefined;
|
|
141
150
|
readonly when: string;
|
|
142
151
|
}[] | undefined;
|
|
143
|
-
readonly nodeTooltip?: readonly [{
|
|
144
|
-
readonly locale: "zh";
|
|
145
|
-
readonly message: string;
|
|
146
|
-
}, ...{
|
|
147
|
-
readonly locale: "en" | "ja" | "ko";
|
|
148
|
-
readonly message: string;
|
|
149
|
-
}[]] | undefined;
|
|
150
|
-
readonly nodeSelectable?: string | undefined;
|
|
151
|
-
readonly expandAll: boolean;
|
|
152
152
|
}) => any) | undefined;
|
|
153
153
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
154
154
|
declare const _default: typeof __VLS_export;
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue
CHANGED
|
@@ -45,9 +45,10 @@ const formScope = useFormScope();
|
|
|
45
45
|
const inherited = injectCELContext();
|
|
46
46
|
const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
|
|
47
47
|
const labelText = computed(() => getLocalizedText(props.config.label, locale.value));
|
|
48
|
-
const tooltipText = computed(
|
|
49
|
-
|
|
50
|
-
);
|
|
48
|
+
const tooltipText = computed(() => {
|
|
49
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
50
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
51
|
+
});
|
|
51
52
|
function evalBool(expression, label) {
|
|
52
53
|
if (!expression) return false;
|
|
53
54
|
try {
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts
CHANGED
|
@@ -32,7 +32,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
32
32
|
readonly locale: "en" | "ja" | "ko";
|
|
33
33
|
readonly message: string;
|
|
34
34
|
}[]], never>>;
|
|
35
|
-
tooltip: Schema.optional<Schema.
|
|
35
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
36
|
+
readonly locale: "zh";
|
|
37
|
+
readonly message: string;
|
|
38
|
+
}, ...{
|
|
39
|
+
readonly locale: "en" | "ja" | "ko";
|
|
40
|
+
readonly message: string;
|
|
41
|
+
}[]], Schema.suspend<readonly [{
|
|
36
42
|
readonly locale: "zh";
|
|
37
43
|
readonly message: string;
|
|
38
44
|
}, ...{
|
|
@@ -44,7 +50,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
44
50
|
}, ...{
|
|
45
51
|
readonly locale: "en" | "ja" | "ko";
|
|
46
52
|
readonly message: string;
|
|
47
|
-
}[]], never
|
|
53
|
+
}[]], never>>>;
|
|
48
54
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
49
55
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
50
56
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js
CHANGED
|
@@ -47,7 +47,7 @@ export function schema(configure) {
|
|
|
47
47
|
title: "\u6807\u7B7E",
|
|
48
48
|
description: "\u5B57\u6BB5\u524D\u5C55\u793A\u7684\u6587\u672C\uFF1B\u7559\u7A7A\u5219\u4E0D\u6E32\u67D3\u6807\u7B7E"
|
|
49
49
|
})),
|
|
50
|
-
tooltip: Schema.optional(
|
|
50
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
51
51
|
title: "\u63D0\u793A",
|
|
52
52
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
53
53
|
})),
|
package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue
CHANGED
|
@@ -8,6 +8,7 @@ import { toast } from "vue-sonner";
|
|
|
8
8
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
9
9
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
10
10
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
11
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
11
12
|
import { Button } from "../../../../ui/button";
|
|
12
13
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
13
14
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -119,9 +120,10 @@ const labelText = computed(
|
|
|
119
120
|
const descriptionText = computed(
|
|
120
121
|
() => props.config.description ? getLocalizedText(props.config.description, locale.value) : void 0
|
|
121
122
|
);
|
|
122
|
-
const tooltipText = computed(
|
|
123
|
-
|
|
124
|
-
);
|
|
123
|
+
const tooltipText = computed(() => {
|
|
124
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
125
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
126
|
+
});
|
|
125
127
|
function evalBool(expression, label) {
|
|
126
128
|
if (!expression) return false;
|
|
127
129
|
try {
|
package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts
CHANGED
|
@@ -83,7 +83,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
83
83
|
readonly locale: "en" | "ja" | "ko";
|
|
84
84
|
readonly message: string;
|
|
85
85
|
}[]], never>>;
|
|
86
|
-
tooltip: Schema.optional<Schema.
|
|
86
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
87
|
+
readonly locale: "zh";
|
|
88
|
+
readonly message: string;
|
|
89
|
+
}, ...{
|
|
90
|
+
readonly locale: "en" | "ja" | "ko";
|
|
91
|
+
readonly message: string;
|
|
92
|
+
}[]], Schema.suspend<readonly [{
|
|
87
93
|
readonly locale: "zh";
|
|
88
94
|
readonly message: string;
|
|
89
95
|
}, ...{
|
|
@@ -95,7 +101,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
95
101
|
}, ...{
|
|
96
102
|
readonly locale: "en" | "ja" | "ko";
|
|
97
103
|
readonly message: string;
|
|
98
|
-
}[]], never
|
|
104
|
+
}[]], never>>>;
|
|
99
105
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
100
106
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
101
107
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.js
CHANGED
|
@@ -60,7 +60,7 @@ export function schema(configure) {
|
|
|
60
60
|
title: "\u5360\u4F4D\u7B26",
|
|
61
61
|
description: "\u4E0A\u4F20\u533A\u57DF\u4E3A\u7A7A\u65F6\u7684\u63D0\u793A\u6587\u672C"
|
|
62
62
|
})),
|
|
63
|
-
tooltip: Schema.optional(
|
|
63
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
64
64
|
title: "\u63D0\u793A",
|
|
65
65
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
66
66
|
})),
|
|
@@ -10,6 +10,7 @@ import { cel as _rawCel } from "../../../../../utils/cel";
|
|
|
10
10
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
11
11
|
import { publishOptions, publishSelection } from "../../../../../utils/selections-registry";
|
|
12
12
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
13
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
13
14
|
import {
|
|
14
15
|
Command,
|
|
15
16
|
CommandEmpty,
|
|
@@ -62,9 +63,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
62
63
|
const placeholderText = computed(
|
|
63
64
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : t("combobox-multi-placeholder")
|
|
64
65
|
);
|
|
65
|
-
const tooltipText = computed(
|
|
66
|
-
|
|
67
|
-
);
|
|
66
|
+
const tooltipText = computed(() => {
|
|
67
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
68
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
69
|
+
});
|
|
68
70
|
function evalBool(expression, label) {
|
|
69
71
|
if (!expression) return false;
|
|
70
72
|
try {
|
|
@@ -155,7 +155,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
155
155
|
readonly locale: "en" | "ja" | "ko";
|
|
156
156
|
readonly message: string;
|
|
157
157
|
}[]], never>>;
|
|
158
|
-
tooltip: Schema.optional<Schema.
|
|
158
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
159
|
+
readonly locale: "zh";
|
|
160
|
+
readonly message: string;
|
|
161
|
+
}, ...{
|
|
162
|
+
readonly locale: "en" | "ja" | "ko";
|
|
163
|
+
readonly message: string;
|
|
164
|
+
}[]], Schema.suspend<readonly [{
|
|
159
165
|
readonly locale: "zh";
|
|
160
166
|
readonly message: string;
|
|
161
167
|
}, ...{
|
|
@@ -167,7 +173,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
167
173
|
}, ...{
|
|
168
174
|
readonly locale: "en" | "ja" | "ko";
|
|
169
175
|
readonly message: string;
|
|
170
|
-
}[]], never
|
|
176
|
+
}[]], never>>>;
|
|
171
177
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
172
178
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
173
179
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -126,7 +126,7 @@ export function schema(configure) {
|
|
|
126
126
|
title: "\u5360\u4F4D\u7B26",
|
|
127
127
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
128
128
|
})),
|
|
129
|
-
tooltip: Schema.optional(
|
|
129
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
130
130
|
title: "\u63D0\u793A",
|
|
131
131
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
132
132
|
})),
|
|
@@ -63,9 +63,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
63
63
|
const placeholderText = computed(
|
|
64
64
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : t("combobox-single-placeholder")
|
|
65
65
|
);
|
|
66
|
-
const tooltipText = computed(
|
|
67
|
-
|
|
68
|
-
);
|
|
66
|
+
const tooltipText = computed(() => {
|
|
67
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
68
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
69
|
+
});
|
|
69
70
|
function evalBool(expression, label) {
|
|
70
71
|
if (!expression) return false;
|
|
71
72
|
try {
|
|
@@ -155,7 +155,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
155
155
|
readonly locale: "en" | "ja" | "ko";
|
|
156
156
|
readonly message: string;
|
|
157
157
|
}[]], never>>;
|
|
158
|
-
tooltip: Schema.optional<Schema.
|
|
158
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
159
|
+
readonly locale: "zh";
|
|
160
|
+
readonly message: string;
|
|
161
|
+
}, ...{
|
|
162
|
+
readonly locale: "en" | "ja" | "ko";
|
|
163
|
+
readonly message: string;
|
|
164
|
+
}[]], Schema.suspend<readonly [{
|
|
159
165
|
readonly locale: "zh";
|
|
160
166
|
readonly message: string;
|
|
161
167
|
}, ...{
|
|
@@ -167,7 +173,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
167
173
|
}, ...{
|
|
168
174
|
readonly locale: "en" | "ja" | "ko";
|
|
169
175
|
readonly message: string;
|
|
170
|
-
}[]], never
|
|
176
|
+
}[]], never>>>;
|
|
171
177
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
172
178
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
173
179
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -126,7 +126,7 @@ export function schema(configure) {
|
|
|
126
126
|
title: "\u5360\u4F4D\u7B26",
|
|
127
127
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
128
128
|
})),
|
|
129
|
-
tooltip: Schema.optional(
|
|
129
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
130
130
|
title: "\u63D0\u793A",
|
|
131
131
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
132
132
|
})),
|
|
@@ -15,7 +15,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
15
15
|
"update:config": (value: Readonly<{
|
|
16
16
|
kind: "shwfed.component.sidebar";
|
|
17
17
|
dataSource: Readonly<{
|
|
18
|
-
request
|
|
18
|
+
request
|
|
19
|
+
/**
|
|
20
|
+
* `ShwfedSidebar` — a standalone, data-driven navigation sidebar. A PEER of
|
|
21
|
+
* `ShwfedConfig` (the page body), not a block inside it: its own serializable
|
|
22
|
+
* config (`v-model:config`), its own ⌘/Ctrl-click editor modal, its own CEL
|
|
23
|
+
* context. The navigation tree is data-driven (see `schema.ts` / `tree.vue`).
|
|
24
|
+
*
|
|
25
|
+
* Wrapped in `<ClientOnly>`: the data fetch and localStorage-backed favorites /
|
|
26
|
+
* open-state are client concerns, so SSR would only hydrate-mismatch.
|
|
27
|
+
*/
|
|
28
|
+
?: string;
|
|
19
29
|
data: string;
|
|
20
30
|
}>;
|
|
21
31
|
nodeKey: string;
|
|
@@ -30,7 +40,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
30
40
|
"onUpdate:config"?: ((value: Readonly<{
|
|
31
41
|
kind: "shwfed.component.sidebar";
|
|
32
42
|
dataSource: Readonly<{
|
|
33
|
-
request
|
|
43
|
+
request
|
|
44
|
+
/**
|
|
45
|
+
* `ShwfedSidebar` — a standalone, data-driven navigation sidebar. A PEER of
|
|
46
|
+
* `ShwfedConfig` (the page body), not a block inside it: its own serializable
|
|
47
|
+
* config (`v-model:config`), its own ⌘/Ctrl-click editor modal, its own CEL
|
|
48
|
+
* context. The navigation tree is data-driven (see `schema.ts` / `tree.vue`).
|
|
49
|
+
*
|
|
50
|
+
* Wrapped in `<ClientOnly>`: the data fetch and localStorage-backed favorites /
|
|
51
|
+
* open-state are client concerns, so SSR would only hydrate-mismatch.
|
|
52
|
+
*/
|
|
53
|
+
?: string;
|
|
34
54
|
data: string;
|
|
35
55
|
}>;
|
|
36
56
|
nodeKey: string;
|
|
@@ -44,7 +64,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
44
64
|
}>, {
|
|
45
65
|
width: string;
|
|
46
66
|
collapsible: "offcanvas" | "icon" | "none";
|
|
47
|
-
storageKey: string;
|
|
48
67
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
68
|
declare const _default: typeof __VLS_export;
|
|
50
69
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { computed, ref, watch } from "vue";
|
|
3
|
+
import { useLocalStorage } from "@vueuse/core";
|
|
4
|
+
import { useRuntimeConfig } from "#app";
|
|
3
5
|
import { injectCELContext } from "../../utils/cel-context";
|
|
4
6
|
import { Sidebar, SidebarProvider } from "../ui/sidebar";
|
|
5
7
|
import ShwfedModal from "../modal.vue";
|
|
@@ -19,10 +21,54 @@ const config = computed({
|
|
|
19
21
|
const props = defineProps({
|
|
20
22
|
configure: { type: Function, required: false },
|
|
21
23
|
editable: { type: Boolean, required: false },
|
|
22
|
-
storageKey: { type: String, required: false
|
|
24
|
+
storageKey: { type: String, required: false },
|
|
23
25
|
collapsible: { type: String, required: false, default: "none" },
|
|
24
26
|
width: { type: String, required: false, default: "13rem" }
|
|
25
27
|
});
|
|
28
|
+
const runtimeConfig = useRuntimeConfig();
|
|
29
|
+
const job = runtimeConfig.public.shwfed.ci.job;
|
|
30
|
+
const resolvedStorageKey = props.storageKey ?? `shwfed:sidebar:${job ?? "default"}`;
|
|
31
|
+
const MIN_WIDTH = 200;
|
|
32
|
+
const MAX_WIDTH = 480;
|
|
33
|
+
function toPx(w) {
|
|
34
|
+
const rem = /^([\d.]+)rem$/.exec(w);
|
|
35
|
+
if (rem?.[1]) return Math.round(Number.parseFloat(rem[1]) * 16);
|
|
36
|
+
const px = /^([\d.]+)px$/.exec(w);
|
|
37
|
+
if (px?.[1]) return Math.round(Number.parseFloat(px[1]));
|
|
38
|
+
return 240;
|
|
39
|
+
}
|
|
40
|
+
function clampWidth(px) {
|
|
41
|
+
return Math.min(MAX_WIDTH, Math.max(MIN_WIDTH, Math.round(px)));
|
|
42
|
+
}
|
|
43
|
+
const sidebarWidth = useLocalStorage(`${resolvedStorageKey}:width`, clampWidth(toPx(props.width)));
|
|
44
|
+
const widthStyle = computed(() => `${clampWidth(sidebarWidth.value)}px`);
|
|
45
|
+
const dragging = ref(false);
|
|
46
|
+
const previewX = ref(0);
|
|
47
|
+
let sidebarLeft = 0;
|
|
48
|
+
function startResize(event) {
|
|
49
|
+
event.preventDefault();
|
|
50
|
+
const rect = event.currentTarget.getBoundingClientRect();
|
|
51
|
+
sidebarLeft = rect.left + rect.width / 2 - sidebarWidth.value;
|
|
52
|
+
previewX.value = clampWidth(event.clientX - sidebarLeft);
|
|
53
|
+
dragging.value = true;
|
|
54
|
+
const prevSelect = document.body.style.userSelect;
|
|
55
|
+
const prevCursor = document.body.style.cursor;
|
|
56
|
+
document.body.style.userSelect = "none";
|
|
57
|
+
document.body.style.cursor = "col-resize";
|
|
58
|
+
const onMove = (e) => {
|
|
59
|
+
previewX.value = clampWidth(e.clientX - sidebarLeft);
|
|
60
|
+
};
|
|
61
|
+
const onUp = () => {
|
|
62
|
+
window.removeEventListener("pointermove", onMove);
|
|
63
|
+
window.removeEventListener("pointerup", onUp);
|
|
64
|
+
document.body.style.userSelect = prevSelect;
|
|
65
|
+
document.body.style.cursor = prevCursor;
|
|
66
|
+
dragging.value = false;
|
|
67
|
+
sidebarWidth.value = previewX.value;
|
|
68
|
+
};
|
|
69
|
+
window.addEventListener("pointermove", onMove);
|
|
70
|
+
window.addEventListener("pointerup", onUp);
|
|
71
|
+
}
|
|
26
72
|
const inheritedCEL = injectCELContext();
|
|
27
73
|
const hostConfigure = props.configure ?? (() => {
|
|
28
74
|
});
|
|
@@ -60,19 +106,34 @@ function onRootClick(event) {
|
|
|
60
106
|
@click.capture="onRootClick"
|
|
61
107
|
>
|
|
62
108
|
<SidebarProvider
|
|
63
|
-
class="w-fit"
|
|
64
|
-
:style="{ '--sidebar-width':
|
|
109
|
+
class="relative w-fit"
|
|
110
|
+
:style="{ '--sidebar-width': widthStyle }"
|
|
65
111
|
>
|
|
66
112
|
<Sidebar
|
|
67
113
|
:collapsible="collapsible"
|
|
68
|
-
class="sticky h-full"
|
|
114
|
+
class="sticky h-full border-r border-zinc-200"
|
|
69
115
|
>
|
|
70
116
|
<SidebarTree
|
|
71
117
|
:config="config"
|
|
72
118
|
:configure="mergedConfigure"
|
|
73
|
-
:storage-key="
|
|
119
|
+
:storage-key="resolvedStorageKey"
|
|
74
120
|
/>
|
|
121
|
+
<!-- Resize: a wide, invisible hit area straddling the border, with a
|
|
122
|
+
thin line that only faintly appears on hover. -->
|
|
123
|
+
<div
|
|
124
|
+
class="group/resize absolute inset-y-0 right-0 z-20 w-3 translate-x-1/2 cursor-col-resize touch-none"
|
|
125
|
+
@pointerdown="startResize"
|
|
126
|
+
>
|
|
127
|
+
<div class="mx-auto h-full w-px transition-colors group-hover/resize:bg-zinc-300" />
|
|
128
|
+
</div>
|
|
75
129
|
</Sidebar>
|
|
130
|
+
<!-- Drag preview — moved purely via `transform` (no reflow); the real
|
|
131
|
+
width snaps to it on release. -->
|
|
132
|
+
<div
|
|
133
|
+
v-if="dragging"
|
|
134
|
+
class="pointer-events-none absolute inset-y-0 left-0 z-30 w-0.5 bg-(--primary) will-change-transform"
|
|
135
|
+
:style="{ transform: `translateX(${previewX}px)` }"
|
|
136
|
+
/>
|
|
76
137
|
</SidebarProvider>
|
|
77
138
|
</div>
|
|
78
139
|
|
|
@@ -15,7 +15,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
15
15
|
"update:config": (value: Readonly<{
|
|
16
16
|
kind: "shwfed.component.sidebar";
|
|
17
17
|
dataSource: Readonly<{
|
|
18
|
-
request
|
|
18
|
+
request
|
|
19
|
+
/**
|
|
20
|
+
* `ShwfedSidebar` — a standalone, data-driven navigation sidebar. A PEER of
|
|
21
|
+
* `ShwfedConfig` (the page body), not a block inside it: its own serializable
|
|
22
|
+
* config (`v-model:config`), its own ⌘/Ctrl-click editor modal, its own CEL
|
|
23
|
+
* context. The navigation tree is data-driven (see `schema.ts` / `tree.vue`).
|
|
24
|
+
*
|
|
25
|
+
* Wrapped in `<ClientOnly>`: the data fetch and localStorage-backed favorites /
|
|
26
|
+
* open-state are client concerns, so SSR would only hydrate-mismatch.
|
|
27
|
+
*/
|
|
28
|
+
?: string;
|
|
19
29
|
data: string;
|
|
20
30
|
}>;
|
|
21
31
|
nodeKey: string;
|
|
@@ -30,7 +40,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
30
40
|
"onUpdate:config"?: ((value: Readonly<{
|
|
31
41
|
kind: "shwfed.component.sidebar";
|
|
32
42
|
dataSource: Readonly<{
|
|
33
|
-
request
|
|
43
|
+
request
|
|
44
|
+
/**
|
|
45
|
+
* `ShwfedSidebar` — a standalone, data-driven navigation sidebar. A PEER of
|
|
46
|
+
* `ShwfedConfig` (the page body), not a block inside it: its own serializable
|
|
47
|
+
* config (`v-model:config`), its own ⌘/Ctrl-click editor modal, its own CEL
|
|
48
|
+
* context. The navigation tree is data-driven (see `schema.ts` / `tree.vue`).
|
|
49
|
+
*
|
|
50
|
+
* Wrapped in `<ClientOnly>`: the data fetch and localStorage-backed favorites /
|
|
51
|
+
* open-state are client concerns, so SSR would only hydrate-mismatch.
|
|
52
|
+
*/
|
|
53
|
+
?: string;
|
|
34
54
|
data: string;
|
|
35
55
|
}>;
|
|
36
56
|
nodeKey: string;
|
|
@@ -44,7 +64,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
44
64
|
}>, {
|
|
45
65
|
width: string;
|
|
46
66
|
collapsible: "offcanvas" | "icon" | "none";
|
|
47
|
-
storageKey: string;
|
|
48
67
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
68
|
declare const _default: typeof __VLS_export;
|
|
50
69
|
export default _default;
|