@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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface HistoryVersion {
|
|
2
|
+
version: string;
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
versions: HistoryVersion[];
|
|
7
|
+
dirty?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
select: (version: string) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onSelect?: ((version: string) => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import type { Environment } from '../../vendor/cel-js/lib/index.js';
|
|
2
|
+
import type { HistoryVersion } from './history-picker.vue.js';
|
|
2
3
|
import { type PageConfigValue } from './schema.js';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
configure?: (env: Environment) => void;
|
|
5
6
|
editable?: boolean;
|
|
7
|
+
versions?: HistoryVersion[];
|
|
6
8
|
};
|
|
7
9
|
type __VLS_ModelProps = {
|
|
8
10
|
'config'?: PageConfigValue | null | undefined;
|
|
9
11
|
};
|
|
10
12
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
13
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"select-version": (version: string) => any;
|
|
12
15
|
"update:config": (value: Readonly<{
|
|
13
16
|
kind: "shwfed.component.page";
|
|
14
17
|
title?: import("../../share/locale.js").LocaleValue;
|
|
@@ -23,6 +26,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
23
26
|
}>;
|
|
24
27
|
}> | null | undefined) => any;
|
|
25
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
29
|
+
"onSelect-version"?: ((version: string) => any) | undefined;
|
|
26
30
|
"onUpdate:config"?: ((value: Readonly<{
|
|
27
31
|
kind: "shwfed.component.page";
|
|
28
32
|
title?: import("../../share/locale.js").LocaleValue;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import { computed, ref, watch } from "vue";
|
|
2
|
+
import { computed, onBeforeUnmount, ref, watch, watchEffect } from "vue";
|
|
3
3
|
import { Icon } from "@iconify/vue";
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { useI18n } from "vue-i18n";
|
|
6
|
-
import { useHead } from "#app";
|
|
6
|
+
import { navigateTo, useHead, useRoute } from "#app";
|
|
7
7
|
import { getLocalizedText } from "../../share/locale";
|
|
8
8
|
import { cel } from "../../utils/cel";
|
|
9
9
|
import { celBindings, injectCELContext, provideCELContext, SELECTIONS_VAR } from "../../utils/cel-context";
|
|
@@ -22,6 +22,8 @@ import * as navigationOperation from "../operations/2026-06-15/com.shwfed.operat
|
|
|
22
22
|
import { PAGE_TARGET_ID, createPageConfig } from "./schema";
|
|
23
23
|
import { useConfigEditor } from "./use-editor";
|
|
24
24
|
import { findBlock } from "./utils/resolve";
|
|
25
|
+
import { useTabStore } from "../tabs/use-tabs";
|
|
26
|
+
import { publishPageTitle } from "../../utils/page-title-registry";
|
|
25
27
|
defineOptions({ name: "ShwfedConfig" });
|
|
26
28
|
const configModel = defineModel("config", { type: null });
|
|
27
29
|
const config = computed({
|
|
@@ -32,8 +34,10 @@ const config = computed({
|
|
|
32
34
|
});
|
|
33
35
|
const props = defineProps({
|
|
34
36
|
configure: { type: Function, required: false },
|
|
35
|
-
editable: { type: Boolean, required: false }
|
|
37
|
+
editable: { type: Boolean, required: false },
|
|
38
|
+
versions: { type: Array, required: false }
|
|
36
39
|
});
|
|
40
|
+
const emit = defineEmits(["select-version"]);
|
|
37
41
|
const inheritedCEL = injectCELContext();
|
|
38
42
|
const hostConfigure = props.configure ?? (() => {
|
|
39
43
|
});
|
|
@@ -64,10 +68,18 @@ class PageClosed {
|
|
|
64
68
|
_tag = "PageClosed";
|
|
65
69
|
}
|
|
66
70
|
const { locale } = useI18n({ useScope: "global", inheritLocale: true });
|
|
71
|
+
const route = useRoute();
|
|
67
72
|
const $cel = (expression, context) => cel(expression, { ...celBindings(inheritedCEL), ...context });
|
|
68
73
|
provideEventTarget(PAGE_TARGET_ID, {
|
|
69
74
|
close: () => Effect.gen(function* () {
|
|
70
|
-
|
|
75
|
+
const store = useTabStore();
|
|
76
|
+
const path = route.path;
|
|
77
|
+
if (store.hasTab(path)) {
|
|
78
|
+
const dest = store.close(path);
|
|
79
|
+
if (dest) void navigateTo(dest);
|
|
80
|
+
} else {
|
|
81
|
+
window.close();
|
|
82
|
+
}
|
|
71
83
|
return yield* Effect.die(new PageClosed());
|
|
72
84
|
}),
|
|
73
85
|
...operationHandlers(
|
|
@@ -90,6 +102,9 @@ const editorState = useConfigEditor(config, {
|
|
|
90
102
|
watch(editorOpen, (open, prev) => {
|
|
91
103
|
if (open && !prev) editorState.reset();
|
|
92
104
|
});
|
|
105
|
+
watch(configModel, () => {
|
|
106
|
+
if (editorOpen.value) editorState.reset();
|
|
107
|
+
});
|
|
93
108
|
function onGridClick(event) {
|
|
94
109
|
if (!props.editable) return;
|
|
95
110
|
if (!event.metaKey && !event.ctrlKey) return;
|
|
@@ -117,6 +132,16 @@ useHead(() => {
|
|
|
117
132
|
const title = getLocalizedText(config.value.title, locale.value);
|
|
118
133
|
return title ? { title } : {};
|
|
119
134
|
});
|
|
135
|
+
let publishedPath = null;
|
|
136
|
+
watchEffect(() => {
|
|
137
|
+
const path = route.path;
|
|
138
|
+
if (publishedPath !== null && publishedPath !== path) publishPageTitle(publishedPath, void 0);
|
|
139
|
+
publishedPath = path;
|
|
140
|
+
publishPageTitle(path, config.value.title);
|
|
141
|
+
});
|
|
142
|
+
onBeforeUnmount(() => {
|
|
143
|
+
if (publishedPath !== null) publishPageTitle(publishedPath, void 0);
|
|
144
|
+
});
|
|
120
145
|
const isMac = computed(
|
|
121
146
|
() => typeof navigator !== "undefined" && /Mac/i.test(navigator.platform)
|
|
122
147
|
);
|
|
@@ -193,7 +218,9 @@ const isMac = computed(
|
|
|
193
218
|
<template #footer>
|
|
194
219
|
<EditorFooter
|
|
195
220
|
:state="editorState"
|
|
221
|
+
:versions="props.versions"
|
|
196
222
|
@close="editorOpen = false"
|
|
223
|
+
@select-version="(v) => emit('select-version', v)"
|
|
197
224
|
/>
|
|
198
225
|
</template>
|
|
199
226
|
</ShwfedModal>
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import type { Environment } from '../../vendor/cel-js/lib/index.js';
|
|
2
|
+
import type { HistoryVersion } from './history-picker.vue.js';
|
|
2
3
|
import { type PageConfigValue } from './schema.js';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
configure?: (env: Environment) => void;
|
|
5
6
|
editable?: boolean;
|
|
7
|
+
versions?: HistoryVersion[];
|
|
6
8
|
};
|
|
7
9
|
type __VLS_ModelProps = {
|
|
8
10
|
'config'?: PageConfigValue | null | undefined;
|
|
9
11
|
};
|
|
10
12
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
13
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"select-version": (version: string) => any;
|
|
12
15
|
"update:config": (value: Readonly<{
|
|
13
16
|
kind: "shwfed.component.page";
|
|
14
17
|
title?: import("../../share/locale.js").LocaleValue;
|
|
@@ -23,6 +26,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
23
26
|
}>;
|
|
24
27
|
}> | null | undefined) => any;
|
|
25
28
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
29
|
+
"onSelect-version"?: ((version: string) => any) | undefined;
|
|
26
30
|
"onUpdate:config"?: ((value: Readonly<{
|
|
27
31
|
kind: "shwfed.component.page";
|
|
28
32
|
title?: import("../../share/locale.js").LocaleValue;
|
package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue
CHANGED
|
@@ -6,6 +6,7 @@ import { useI18n } from "vue-i18n";
|
|
|
6
6
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
7
7
|
import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
|
|
8
8
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
9
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
9
10
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
10
11
|
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "../../../../ui/input-group";
|
|
11
12
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -28,9 +29,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
28
29
|
const placeholderText = computed(
|
|
29
30
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : void 0
|
|
30
31
|
);
|
|
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
|
function evalBool(expression, label) {
|
|
35
37
|
if (!expression) return false;
|
|
36
38
|
try {
|
package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts
CHANGED
|
@@ -43,7 +43,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
43
43
|
readonly locale: "en" | "ja" | "ko";
|
|
44
44
|
readonly message: string;
|
|
45
45
|
}[]], never>>;
|
|
46
|
-
tooltip: Schema.optional<Schema.
|
|
46
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
47
|
+
readonly locale: "zh";
|
|
48
|
+
readonly message: string;
|
|
49
|
+
}, ...{
|
|
50
|
+
readonly locale: "en" | "ja" | "ko";
|
|
51
|
+
readonly message: string;
|
|
52
|
+
}[]], Schema.suspend<readonly [{
|
|
47
53
|
readonly locale: "zh";
|
|
48
54
|
readonly message: string;
|
|
49
55
|
}, ...{
|
|
@@ -55,7 +61,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
55
61
|
}, ...{
|
|
56
62
|
readonly locale: "en" | "ja" | "ko";
|
|
57
63
|
readonly message: string;
|
|
58
|
-
}[]], never
|
|
64
|
+
}[]], never>>>;
|
|
59
65
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
60
66
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
61
67
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -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 { ActionSchemaFields } from "../../../../actions/schema.js";
|
|
5
5
|
import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
|
|
@@ -36,7 +36,7 @@ export function schema(configure) {
|
|
|
36
36
|
title: "\u5360\u4F4D\u7B26",
|
|
37
37
|
description: "\u8F93\u5165\u4E3A\u7A7A\u65F6\u7684\u5360\u4F4D\u6587\u672C"
|
|
38
38
|
})),
|
|
39
|
-
tooltip: Schema.optional(
|
|
39
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
40
40
|
title: "\u63D0\u793A",
|
|
41
41
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
42
42
|
})),
|
package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/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 { InputGroup, InputGroupAddon, InputGroupText, InputGroupTextarea } from "../../../../ui/input-group";
|
|
10
11
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -26,9 +27,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
26
27
|
const placeholderText = computed(
|
|
27
28
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : void 0
|
|
28
29
|
);
|
|
29
|
-
const tooltipText = computed(
|
|
30
|
-
|
|
31
|
-
);
|
|
30
|
+
const tooltipText = computed(() => {
|
|
31
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
32
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
33
|
+
});
|
|
32
34
|
const maxLength = computed(() => props.config.maxLength);
|
|
33
35
|
function evalBool(expression, label) {
|
|
34
36
|
if (!expression) return false;
|
package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts
CHANGED
|
@@ -44,7 +44,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
44
44
|
readonly locale: "en" | "ja" | "ko";
|
|
45
45
|
readonly message: string;
|
|
46
46
|
}[]], never>>;
|
|
47
|
-
tooltip: Schema.optional<Schema.
|
|
47
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
48
|
+
readonly locale: "zh";
|
|
49
|
+
readonly message: string;
|
|
50
|
+
}, ...{
|
|
51
|
+
readonly locale: "en" | "ja" | "ko";
|
|
52
|
+
readonly message: string;
|
|
53
|
+
}[]], Schema.suspend<readonly [{
|
|
48
54
|
readonly locale: "zh";
|
|
49
55
|
readonly message: string;
|
|
50
56
|
}, ...{
|
|
@@ -56,7 +62,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
56
62
|
}, ...{
|
|
57
63
|
readonly locale: "en" | "ja" | "ko";
|
|
58
64
|
readonly message: string;
|
|
59
|
-
}[]], never
|
|
65
|
+
}[]], never>>>;
|
|
60
66
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
61
67
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
62
68
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/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.textarea";
|
|
@@ -24,7 +24,7 @@ export function schema(configure) {
|
|
|
24
24
|
title: "\u5360\u4F4D\u7B26",
|
|
25
25
|
description: "\u8F93\u5165\u4E3A\u7A7A\u65F6\u7684\u5360\u4F4D\u6587\u672C"
|
|
26
26
|
})),
|
|
27
|
-
tooltip: Schema.optional(
|
|
27
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
28
28
|
title: "\u63D0\u793A",
|
|
29
29
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
30
30
|
})),
|
|
@@ -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 {
|
|
@@ -43,7 +43,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
43
43
|
readonly locale: "en" | "ja" | "ko";
|
|
44
44
|
readonly message: string;
|
|
45
45
|
}[]], never>>;
|
|
46
|
-
tooltip: Schema.optional<Schema.
|
|
46
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
47
|
+
readonly locale: "zh";
|
|
48
|
+
readonly message: string;
|
|
49
|
+
}, ...{
|
|
50
|
+
readonly locale: "en" | "ja" | "ko";
|
|
51
|
+
readonly message: string;
|
|
52
|
+
}[]], Schema.suspend<readonly [{
|
|
47
53
|
readonly locale: "zh";
|
|
48
54
|
readonly message: string;
|
|
49
55
|
}, ...{
|
|
@@ -55,7 +61,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
55
61
|
}, ...{
|
|
56
62
|
readonly locale: "en" | "ja" | "ko";
|
|
57
63
|
readonly message: string;
|
|
58
|
-
}[]], never
|
|
64
|
+
}[]], never>>>;
|
|
59
65
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
60
66
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
61
67
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -34,7 +34,7 @@ export function schema(configure) {
|
|
|
34
34
|
title: "\u5360\u4F4D\u7B26",
|
|
35
35
|
description: "\u672A\u9009\u4E2D\u4EFB\u4F55\u9009\u9879\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
36
36
|
})),
|
|
37
|
-
tooltip: Schema.optional(
|
|
37
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
38
38
|
title: "\u63D0\u793A",
|
|
39
39
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
40
40
|
})),
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/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 { makeDisabledDatePredicate } from "../../../../../utils/disabled-date";
|
|
9
9
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
10
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
10
11
|
import { DatePicker, DATE_PICKER_DEFAULT_FORMATS } from "../../../../ui/date-picker";
|
|
11
12
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
12
13
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -28,9 +29,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
28
29
|
const placeholderText = computed(
|
|
29
30
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : void 0
|
|
30
31
|
);
|
|
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
|
function evalBool(expression, label) {
|
|
35
37
|
if (!expression) return false;
|
|
36
38
|
try {
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts
CHANGED
|
@@ -60,7 +60,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
60
60
|
readonly locale: "en" | "ja" | "ko";
|
|
61
61
|
readonly message: string;
|
|
62
62
|
}[]], never>>;
|
|
63
|
-
tooltip: Schema.optional<Schema.
|
|
63
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
64
|
+
readonly locale: "zh";
|
|
65
|
+
readonly message: string;
|
|
66
|
+
}, ...{
|
|
67
|
+
readonly locale: "en" | "ja" | "ko";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
}[]], Schema.suspend<readonly [{
|
|
64
70
|
readonly locale: "zh";
|
|
65
71
|
readonly message: string;
|
|
66
72
|
}, ...{
|
|
@@ -72,7 +78,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
72
78
|
}, ...{
|
|
73
79
|
readonly locale: "en" | "ja" | "ko";
|
|
74
80
|
readonly message: string;
|
|
75
|
-
}[]], never
|
|
81
|
+
}[]], never>>>;
|
|
76
82
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
77
83
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
78
84
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import { DISABLE_DATE_RESULT, registerInputDateIfAbsent } from "../../../../../share/disabled-date.js";
|
|
3
|
-
import { Expression } from "../../../../../share/expression.js";
|
|
3
|
+
import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
|
|
4
4
|
import { Locale } from "../../../../../share/locale.js";
|
|
5
5
|
import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
|
|
6
6
|
export const type = "com.shwfed.form.field.date";
|
|
@@ -49,7 +49,7 @@ export function schema(configure) {
|
|
|
49
49
|
title: "\u5360\u4F4D\u7B26",
|
|
50
50
|
description: "\u672A\u9009\u4E2D\u65E5\u671F\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
51
51
|
})),
|
|
52
|
-
tooltip: Schema.optional(
|
|
52
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
53
53
|
title: "\u63D0\u793A",
|
|
54
54
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
55
55
|
})),
|
|
@@ -33,8 +33,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly format?: string | undefined;
|
|
37
|
+
readonly valueFormat?: string | undefined;
|
|
38
|
+
readonly disabledDate?: string | undefined;
|
|
39
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
40
|
readonly startPlaceholder?: readonly [{
|
|
39
41
|
readonly locale: "zh";
|
|
40
42
|
readonly message: string;
|
|
@@ -49,8 +51,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
49
51
|
readonly locale: "en" | "ja" | "ko";
|
|
50
52
|
readonly message: string;
|
|
51
53
|
}[]] | undefined;
|
|
52
|
-
readonly valueFormat?: string | undefined;
|
|
53
|
-
readonly disabledDate?: string | undefined;
|
|
54
54
|
readonly validations?: readonly {
|
|
55
55
|
readonly message: readonly [{
|
|
56
56
|
readonly locale: "zh";
|
|
@@ -106,8 +106,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
106
106
|
readonly expression: string;
|
|
107
107
|
} | undefined;
|
|
108
108
|
readonly numberOfMonths?: number | undefined;
|
|
109
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
110
109
|
readonly format?: string | undefined;
|
|
110
|
+
readonly valueFormat?: string | undefined;
|
|
111
|
+
readonly disabledDate?: string | undefined;
|
|
112
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
111
113
|
readonly startPlaceholder?: readonly [{
|
|
112
114
|
readonly locale: "zh";
|
|
113
115
|
readonly message: string;
|
|
@@ -122,8 +124,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
122
124
|
readonly locale: "en" | "ja" | "ko";
|
|
123
125
|
readonly message: string;
|
|
124
126
|
}[]] | undefined;
|
|
125
|
-
readonly valueFormat?: string | undefined;
|
|
126
|
-
readonly disabledDate?: string | undefined;
|
|
127
127
|
readonly validations?: readonly {
|
|
128
128
|
readonly message: readonly [{
|
|
129
129
|
readonly locale: "zh";
|
|
@@ -33,8 +33,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly format?: string | undefined;
|
|
37
|
+
readonly valueFormat?: string | undefined;
|
|
38
|
+
readonly disabledDate?: string | undefined;
|
|
39
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
40
|
readonly startPlaceholder?: readonly [{
|
|
39
41
|
readonly locale: "zh";
|
|
40
42
|
readonly message: string;
|
|
@@ -49,8 +51,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
49
51
|
readonly locale: "en" | "ja" | "ko";
|
|
50
52
|
readonly message: string;
|
|
51
53
|
}[]] | undefined;
|
|
52
|
-
readonly valueFormat?: string | undefined;
|
|
53
|
-
readonly disabledDate?: string | undefined;
|
|
54
54
|
readonly validations?: readonly {
|
|
55
55
|
readonly message: readonly [{
|
|
56
56
|
readonly locale: "zh";
|
|
@@ -106,8 +106,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
106
106
|
readonly expression: string;
|
|
107
107
|
} | undefined;
|
|
108
108
|
readonly numberOfMonths?: number | undefined;
|
|
109
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
110
109
|
readonly format?: string | undefined;
|
|
110
|
+
readonly valueFormat?: string | undefined;
|
|
111
|
+
readonly disabledDate?: string | undefined;
|
|
112
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
111
113
|
readonly startPlaceholder?: readonly [{
|
|
112
114
|
readonly locale: "zh";
|
|
113
115
|
readonly message: string;
|
|
@@ -122,8 +124,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
122
124
|
readonly locale: "en" | "ja" | "ko";
|
|
123
125
|
readonly message: string;
|
|
124
126
|
}[]] | undefined;
|
|
125
|
-
readonly valueFormat?: string | undefined;
|
|
126
|
-
readonly disabledDate?: string | undefined;
|
|
127
127
|
readonly validations?: readonly {
|
|
128
128
|
readonly message: readonly [{
|
|
129
129
|
readonly locale: "zh";
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/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 { makeDisabledDatePredicate } from "../../../../../utils/disabled-date";
|
|
9
9
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
10
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
10
11
|
import { DATE_RANGE_PICKER_DEFAULT_FORMATS, DateRangePicker } from "../../../../ui/date-range-picker";
|
|
11
12
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
12
13
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -31,9 +32,10 @@ const startPlaceholderText = computed(
|
|
|
31
32
|
const endPlaceholderText = computed(
|
|
32
33
|
() => props.config.endPlaceholder ? getLocalizedText(props.config.endPlaceholder, locale.value) : void 0
|
|
33
34
|
);
|
|
34
|
-
const tooltipText = computed(
|
|
35
|
-
|
|
36
|
-
);
|
|
35
|
+
const tooltipText = computed(() => {
|
|
36
|
+
const raw = props.config.tooltip ? getLocalizedText(props.config.tooltip, locale.value) : void 0;
|
|
37
|
+
return raw ? interpolateMarkdown(raw, $cel, { form: formScope.state.value ?? {} }) : void 0;
|
|
38
|
+
});
|
|
37
39
|
function evalBool(expression, label) {
|
|
38
40
|
if (!expression) return false;
|
|
39
41
|
try {
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts
CHANGED
|
@@ -74,7 +74,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
74
74
|
readonly locale: "en" | "ja" | "ko";
|
|
75
75
|
readonly message: string;
|
|
76
76
|
}[]], never>>;
|
|
77
|
-
tooltip: Schema.optional<Schema.
|
|
77
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
78
|
+
readonly locale: "zh";
|
|
79
|
+
readonly message: string;
|
|
80
|
+
}, ...{
|
|
81
|
+
readonly locale: "en" | "ja" | "ko";
|
|
82
|
+
readonly message: string;
|
|
83
|
+
}[]], Schema.suspend<readonly [{
|
|
78
84
|
readonly locale: "zh";
|
|
79
85
|
readonly message: string;
|
|
80
86
|
}, ...{
|
|
@@ -86,7 +92,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
86
92
|
}, ...{
|
|
87
93
|
readonly locale: "en" | "ja" | "ko";
|
|
88
94
|
readonly message: string;
|
|
89
|
-
}[]], never
|
|
95
|
+
}[]], never>>>;
|
|
90
96
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
91
97
|
binding: Schema.optional<Schema.Union<[Schema.filter<typeof Schema.String>, Schema.filter<Schema.Tuple2<Schema.filter<typeof Schema.String>, Schema.filter<typeof Schema.String>>>]>>;
|
|
92
98
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import { DISABLE_DATE_RESULT, registerInputDateIfAbsent } from "../../../../../share/disabled-date.js";
|
|
3
|
-
import { Expression } from "../../../../../share/expression.js";
|
|
3
|
+
import { LocaleMarkdown, Expression } from "../../../../../share/expression.js";
|
|
4
4
|
import { Locale } from "../../../../../share/locale.js";
|
|
5
5
|
import { commonFieldFields, derivedField, FieldOrientationSchema } from "../../../utils/common.js";
|
|
6
6
|
export const type = "com.shwfed.form.field.daterange";
|
|
@@ -67,7 +67,7 @@ export function schema(configure) {
|
|
|
67
67
|
title: "\u7ED3\u675F\u5360\u4F4D\u7B26",
|
|
68
68
|
description: "\u672A\u9009\u4E2D\u7ED3\u675F\u65E5\u671F\u65F6\u8F93\u5165\u6846\u4E2D\u7684\u5360\u4F4D\u6587\u672C"
|
|
69
69
|
})),
|
|
70
|
-
tooltip: Schema.optional(
|
|
70
|
+
tooltip: Schema.optional(LocaleMarkdown({ configure }).annotations({
|
|
71
71
|
title: "\u63D0\u793A",
|
|
72
72
|
description: "\u9F20\u6807\u60AC\u505C\u5728\u6807\u7B7E\u4E0A\u65F6\u5C55\u793A\u7684\u8BF4\u660E"
|
|
73
73
|
})),
|
|
@@ -43,7 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
43
|
readonly format?: string | undefined;
|
|
44
44
|
readonly valueFormat?: string | undefined;
|
|
45
45
|
readonly disabledDate?: string | undefined;
|
|
46
|
-
readonly timeGranularity?: "
|
|
46
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
47
47
|
readonly validations?: readonly {
|
|
48
48
|
readonly message: readonly [{
|
|
49
49
|
readonly locale: "zh";
|
|
@@ -108,7 +108,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
readonly format?: string | undefined;
|
|
109
109
|
readonly valueFormat?: string | undefined;
|
|
110
110
|
readonly disabledDate?: string | undefined;
|
|
111
|
-
readonly timeGranularity?: "
|
|
111
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
112
112
|
readonly validations?: readonly {
|
|
113
113
|
readonly message: readonly [{
|
|
114
114
|
readonly locale: "zh";
|
|
@@ -43,7 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
43
43
|
readonly format?: string | undefined;
|
|
44
44
|
readonly valueFormat?: string | undefined;
|
|
45
45
|
readonly disabledDate?: string | undefined;
|
|
46
|
-
readonly timeGranularity?: "
|
|
46
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
47
47
|
readonly validations?: readonly {
|
|
48
48
|
readonly message: readonly [{
|
|
49
49
|
readonly locale: "zh";
|
|
@@ -108,7 +108,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
readonly format?: string | undefined;
|
|
109
109
|
readonly valueFormat?: string | undefined;
|
|
110
110
|
readonly disabledDate?: string | undefined;
|
|
111
|
-
readonly timeGranularity?: "
|
|
111
|
+
readonly timeGranularity?: "second" | "minute" | "hour" | undefined;
|
|
112
112
|
readonly validations?: readonly {
|
|
113
113
|
readonly message: readonly [{
|
|
114
114
|
readonly locale: "zh";
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/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 { makeDisabledDatePredicate } from "../../../../../utils/disabled-date";
|
|
9
9
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
10
|
+
import { interpolateMarkdown } from "../../../../table/utils/runtime";
|
|
10
11
|
import { DATE_PICKER_DEFAULT_FORMATS, DatePicker } from "../../../../ui/date-picker";
|
|
11
12
|
import { Field, FieldLabel, FieldMessages } from "../../../../ui/field";
|
|
12
13
|
import { Markdown } from "../../../../ui/markdown";
|
|
@@ -28,9 +29,10 @@ const labelText = computed(() => getLocalizedText(props.config.label, locale.val
|
|
|
28
29
|
const placeholderText = computed(
|
|
29
30
|
() => props.config.placeholder ? getLocalizedText(props.config.placeholder, locale.value) : void 0
|
|
30
31
|
);
|
|
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
|
function evalBool(expression, label) {
|
|
35
37
|
if (!expression) return false;
|
|
36
38
|
try {
|
package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts
CHANGED
|
@@ -70,7 +70,13 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
70
70
|
readonly locale: "en" | "ja" | "ko";
|
|
71
71
|
readonly message: string;
|
|
72
72
|
}[]], never>>;
|
|
73
|
-
tooltip: Schema.optional<Schema.
|
|
73
|
+
tooltip: Schema.optional<Schema.refine<readonly [{
|
|
74
|
+
readonly locale: "zh";
|
|
75
|
+
readonly message: string;
|
|
76
|
+
}, ...{
|
|
77
|
+
readonly locale: "en" | "ja" | "ko";
|
|
78
|
+
readonly message: string;
|
|
79
|
+
}[]], Schema.suspend<readonly [{
|
|
74
80
|
readonly locale: "zh";
|
|
75
81
|
readonly message: string;
|
|
76
82
|
}, ...{
|
|
@@ -82,7 +88,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
82
88
|
}, ...{
|
|
83
89
|
readonly locale: "en" | "ja" | "ko";
|
|
84
90
|
readonly message: string;
|
|
85
|
-
}[]], never
|
|
91
|
+
}[]], never>>>;
|
|
86
92
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
87
93
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
88
94
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|