@shwfed/config 3.0.6 → 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/runtime/components/actions/ai-l1.md +24 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.d.ts +1 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/schema.js +2 -1
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/prompt.md +8 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +6 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.js +4 -0
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/prompt.md +8 -0
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +1 -0
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.js +2 -1
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/prompt.md +9 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.d.ts +1 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.js +2 -1
- package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/prompt.md +8 -0
- package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/schema.d.ts +1 -0
- package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/schema.js +2 -1
- package/dist/runtime/components/actions/config.vue +109 -3
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +1 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.js +2 -1
- package/dist/runtime/components/actions/utils/ai-button-tools.d.ts +29 -0
- package/dist/runtime/components/actions/utils/ai-button-tools.js +664 -0
- package/dist/runtime/components/actions/utils/resolve.d.ts +22 -0
- package/dist/runtime/components/actions/utils/resolve.js +23 -1
- package/dist/runtime/components/config/ai-generate.d.vue.ts +7 -0
- package/dist/runtime/components/config/ai-generate.system.md +39 -0
- package/dist/runtime/components/{table → config}/ai-generate.vue +55 -32
- package/dist/runtime/components/config/ai-generate.vue.d.ts +7 -0
- package/dist/runtime/components/config/ai-page-slot.l1.md +25 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +6 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.js +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +6 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.js +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +1 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.js +1 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +44 -44
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +44 -44
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +44 -44
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +44 -44
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +28 -22
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.js +4 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +7 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.js +4 -0
- package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.d.ts +1 -0
- package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.js +1 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.d.ts +1 -0
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.js +1 -0
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.d.ts +6 -0
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.js +4 -0
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.icon/schema.d.ts +1 -0
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.icon/schema.js +1 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.d.vue.ts +18 -18
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.vue.d.ts +18 -18
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.d.vue.ts +18 -18
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue.d.ts +18 -18
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.d.ts +6 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.js +4 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/schema.d.ts +7 -0
- package/dist/runtime/components/config/blocks/2026-06-25/com.shwfed.block.loop/schema.js +4 -0
- package/dist/runtime/components/config/config.vue +24 -3
- package/dist/runtime/components/config/history-picker.vue +6 -4
- package/dist/runtime/components/config/prune-dialog.vue +15 -4
- package/dist/runtime/components/config/use-editor.d.ts +1 -0
- package/dist/runtime/components/config/use-editor.js +20 -2
- package/dist/runtime/components/config/utils/ai-cursor.d.ts +21 -0
- package/dist/runtime/components/config/utils/ai-cursor.js +827 -0
- package/dist/runtime/components/config/utils/ai-host-manuals.d.ts +2 -0
- package/dist/runtime/components/config/utils/ai-host-manuals.js +19 -0
- package/dist/runtime/components/config/utils/linkage.d.ts +15 -6
- package/dist/runtime/components/config/utils/linkage.js +23 -7
- package/dist/runtime/components/config/utils/resolve.d.ts +19 -0
- package/dist/runtime/components/config/utils/resolve.js +25 -2
- package/dist/runtime/components/form/ai-l1.md +22 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +7 -0
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.js +4 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/prompt.md +8 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +7 -0
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.js +4 -0
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/prompt.md +12 -0
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +6 -0
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.js +4 -0
- package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.d.ts +6 -0
- package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.js +4 -0
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/prompt.md +7 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/prompt.md +7 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/prompt.md +9 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/prompt.md +11 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/prompt.md +12 -0
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/prompt.md +14 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/prompt.md +19 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.js +1 -0
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.d.ts +7 -0
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.js +4 -0
- package/dist/runtime/components/form/fields/2026-07-13/com.shwfed.form.field.dynamic/prompt.md +14 -0
- package/dist/runtime/components/form/fields/2026-07-13/com.shwfed.form.field.dynamic/schema.d.ts +1 -0
- package/dist/runtime/components/form/fields/2026-07-13/com.shwfed.form.field.dynamic/schema.js +1 -0
- package/dist/runtime/components/form/unit-config.vue +2 -2
- package/dist/runtime/components/form/utils/ai-field-tools.d.ts +2 -2
- package/dist/runtime/components/form/utils/ai-field-tools.js +47 -30
- package/dist/runtime/components/form/utils/resolve.d.ts +11 -0
- package/dist/runtime/components/form/utils/resolve.js +13 -1
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.d.ts +1 -0
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.js +2 -1
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.d.ts +1 -0
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.js +1 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts +1 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.js +2 -1
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.d.ts +1 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.js +2 -1
- package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/schema.d.ts +1 -0
- package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/schema.js +2 -1
- package/dist/runtime/components/operations/utils/resolve.d.ts +17 -0
- package/dist/runtime/components/operations/utils/resolve.js +18 -1
- package/dist/runtime/components/table/ai-l1.md +38 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +7 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.js +5 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-05-21/com.shwfed.table.column.drag-handle/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-05-21/com.shwfed.table.column.drag-handle/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/prompt.md +12 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/prompt.md +16 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.js +1 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +1 -0
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-07-12/com.shwfed.table.column.dynamic/prompt.md +15 -0
- package/dist/runtime/components/table/config.d.vue.ts +3 -3
- package/dist/runtime/components/table/config.vue +3 -35
- package/dist/runtime/components/table/config.vue.d.ts +3 -3
- package/dist/runtime/components/table/row-provider.vue +7 -1
- package/dist/runtime/components/table/schema.d.ts +44 -44
- package/dist/runtime/components/table/utils/ai-tools.js +16 -7
- package/dist/runtime/components/table/utils/resolve.d.ts +5 -0
- package/dist/runtime/components/table/utils/resolve.js +12 -1
- package/dist/runtime/share/clipboard.d.ts +15 -9
- package/dist/runtime/share/clipboard.js +22 -10
- package/dist/runtime/share/define-registry.d.ts +66 -0
- package/dist/runtime/share/define-registry.js +37 -1
- package/dist/runtime/share/use-persisted-chat.d.ts +11 -9
- package/dist/runtime/share/use-persisted-chat.js +3 -3
- package/dist/runtime/utils/ai/index.d.ts +1 -1
- package/dist/runtime/utils/ai/index.js +18 -11
- package/dist/runtime/utils/cel-catalog.d.ts +1 -0
- package/dist/runtime/utils/cel-catalog.js +10 -0
- package/dist/runtime/utils/cel-catalog.md +42 -0
- package/dist/runtime/utils/cel-context.d.ts +15 -0
- package/dist/runtime/utils/cel-context.js +8 -0
- package/dist/runtime/vendor/cel-js/CLAUDE.md +7 -2
- package/dist/runtime/vendor/cel-js/PROMPT.md +27 -0
- package/dist/runtime/vendor/cel-js/lib/evaluator.js +2 -0
- package/dist/runtime/vendor/cel-js/lib/globals.d.ts +2 -0
- package/dist/runtime/vendor/cel-js/lib/globals.js +10 -0
- package/dist/runtime/vendor/cel-js/lib/map-builtins.d.ts +2 -0
- package/dist/runtime/vendor/cel-js/lib/map-builtins.js +80 -0
- package/dist/runtime/vendor/cel-js/lib/operators.js +2 -12
- package/package.json +1 -1
- package/dist/runtime/components/table/ai-generate.d.vue.ts +0 -16
- package/dist/runtime/components/table/ai-generate.system.md +0 -101
- package/dist/runtime/components/table/ai-generate.vue.d.ts +0 -16
- /package/dist/runtime/components/{table → config}/ai-generate.system.d.ts +0 -0
- /package/dist/runtime/components/{table → config}/ai-generate.system.js +0 -0
|
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
readonly message: string;
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
+
readonly dataSource: {
|
|
38
|
+
readonly data: string;
|
|
39
|
+
readonly request?: string | undefined;
|
|
40
|
+
};
|
|
37
41
|
readonly binding?: string | undefined;
|
|
38
42
|
readonly derived?: {
|
|
39
43
|
readonly mode: "formula" | "prefill";
|
|
40
44
|
readonly expression: string;
|
|
41
45
|
} | undefined;
|
|
42
|
-
readonly dataSource: {
|
|
43
|
-
readonly data: string;
|
|
44
|
-
readonly request?: string | undefined;
|
|
45
|
-
};
|
|
46
46
|
readonly nodeKey: string;
|
|
47
47
|
readonly nodeChildren: string;
|
|
48
48
|
readonly nodeLabel: readonly [{
|
|
@@ -52,15 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
52
52
|
readonly locale: "en" | "ja" | "ko";
|
|
53
53
|
readonly message: string;
|
|
54
54
|
}[]];
|
|
55
|
-
readonly nodeTooltip?: readonly [{
|
|
56
|
-
readonly locale: "zh";
|
|
57
|
-
readonly message: string;
|
|
58
|
-
}, ...{
|
|
59
|
-
readonly locale: "en" | "ja" | "ko";
|
|
60
|
-
readonly message: string;
|
|
61
|
-
}[]] | undefined;
|
|
62
|
-
readonly nodeSelectable?: string | undefined;
|
|
63
|
-
readonly expandAll: boolean;
|
|
64
55
|
readonly validations?: readonly {
|
|
65
56
|
readonly message: readonly [{
|
|
66
57
|
readonly locale: "zh";
|
|
@@ -72,6 +63,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
72
63
|
readonly warning?: boolean | undefined;
|
|
73
64
|
readonly when: string;
|
|
74
65
|
}[] | undefined;
|
|
66
|
+
readonly nodeTooltip?: readonly [{
|
|
67
|
+
readonly locale: "zh";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
}, ...{
|
|
70
|
+
readonly locale: "en" | "ja" | "ko";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}[]] | undefined;
|
|
73
|
+
readonly nodeSelectable?: string | undefined;
|
|
74
|
+
readonly expandAll: boolean;
|
|
75
75
|
}) => any;
|
|
76
76
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
77
77
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -105,15 +105,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly message: string;
|
|
106
106
|
}[]] | undefined;
|
|
107
107
|
readonly readonly?: string | undefined;
|
|
108
|
+
readonly dataSource: {
|
|
109
|
+
readonly data: string;
|
|
110
|
+
readonly request?: string | undefined;
|
|
111
|
+
};
|
|
108
112
|
readonly binding?: string | undefined;
|
|
109
113
|
readonly derived?: {
|
|
110
114
|
readonly mode: "formula" | "prefill";
|
|
111
115
|
readonly expression: string;
|
|
112
116
|
} | undefined;
|
|
113
|
-
readonly dataSource: {
|
|
114
|
-
readonly data: string;
|
|
115
|
-
readonly request?: string | undefined;
|
|
116
|
-
};
|
|
117
117
|
readonly nodeKey: string;
|
|
118
118
|
readonly nodeChildren: string;
|
|
119
119
|
readonly nodeLabel: readonly [{
|
|
@@ -123,15 +123,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
123
123
|
readonly locale: "en" | "ja" | "ko";
|
|
124
124
|
readonly message: string;
|
|
125
125
|
}[]];
|
|
126
|
-
readonly nodeTooltip?: readonly [{
|
|
127
|
-
readonly locale: "zh";
|
|
128
|
-
readonly message: string;
|
|
129
|
-
}, ...{
|
|
130
|
-
readonly locale: "en" | "ja" | "ko";
|
|
131
|
-
readonly message: string;
|
|
132
|
-
}[]] | undefined;
|
|
133
|
-
readonly nodeSelectable?: string | undefined;
|
|
134
|
-
readonly expandAll: boolean;
|
|
135
126
|
readonly validations?: readonly {
|
|
136
127
|
readonly message: readonly [{
|
|
137
128
|
readonly locale: "zh";
|
|
@@ -143,6 +134,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
143
134
|
readonly warning?: boolean | undefined;
|
|
144
135
|
readonly when: string;
|
|
145
136
|
}[] | undefined;
|
|
137
|
+
readonly nodeTooltip?: readonly [{
|
|
138
|
+
readonly locale: "zh";
|
|
139
|
+
readonly message: string;
|
|
140
|
+
}, ...{
|
|
141
|
+
readonly locale: "en" | "ja" | "ko";
|
|
142
|
+
readonly message: string;
|
|
143
|
+
}[]] | undefined;
|
|
144
|
+
readonly nodeSelectable?: string | undefined;
|
|
145
|
+
readonly expandAll: boolean;
|
|
146
146
|
}) => any) | undefined;
|
|
147
147
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
148
148
|
declare const _default: typeof __VLS_export;
|
|
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding?: string | undefined;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly dataSource: {
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
49
49
|
readonly nodeLabel: readonly [{
|
|
@@ -54,15 +54,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
56
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
57
|
-
readonly nodeTooltip?: readonly [{
|
|
58
|
-
readonly locale: "zh";
|
|
59
|
-
readonly message: string;
|
|
60
|
-
}, ...{
|
|
61
|
-
readonly locale: "en" | "ja" | "ko";
|
|
62
|
-
readonly message: string;
|
|
63
|
-
}[]] | undefined;
|
|
64
|
-
readonly nodeSelectable?: string | undefined;
|
|
65
|
-
readonly expandAll: boolean;
|
|
66
57
|
readonly validations?: readonly {
|
|
67
58
|
readonly message: readonly [{
|
|
68
59
|
readonly locale: "zh";
|
|
@@ -74,6 +65,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
74
65
|
readonly warning?: boolean | undefined;
|
|
75
66
|
readonly when: string;
|
|
76
67
|
}[] | undefined;
|
|
68
|
+
readonly nodeTooltip?: readonly [{
|
|
69
|
+
readonly locale: "zh";
|
|
70
|
+
readonly message: string;
|
|
71
|
+
}, ...{
|
|
72
|
+
readonly locale: "en" | "ja" | "ko";
|
|
73
|
+
readonly message: string;
|
|
74
|
+
}[]] | undefined;
|
|
75
|
+
readonly nodeSelectable?: string | undefined;
|
|
76
|
+
readonly expandAll: boolean;
|
|
77
77
|
}) => any;
|
|
78
78
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
79
79
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -108,15 +108,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
}[]] | undefined;
|
|
109
109
|
readonly keywords?: string | undefined;
|
|
110
110
|
readonly readonly?: string | undefined;
|
|
111
|
+
readonly dataSource: {
|
|
112
|
+
readonly data: string;
|
|
113
|
+
readonly request?: string | undefined;
|
|
114
|
+
};
|
|
111
115
|
readonly binding?: string | undefined;
|
|
112
116
|
readonly derived?: {
|
|
113
117
|
readonly mode: "formula" | "prefill";
|
|
114
118
|
readonly expression: string;
|
|
115
119
|
} | undefined;
|
|
116
|
-
readonly dataSource: {
|
|
117
|
-
readonly data: string;
|
|
118
|
-
readonly request?: string | undefined;
|
|
119
|
-
};
|
|
120
120
|
readonly nodeKey: string;
|
|
121
121
|
readonly nodeChildren: string;
|
|
122
122
|
readonly nodeLabel: readonly [{
|
|
@@ -127,15 +127,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
127
127
|
readonly message: string;
|
|
128
128
|
}[]];
|
|
129
129
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
130
|
-
readonly nodeTooltip?: readonly [{
|
|
131
|
-
readonly locale: "zh";
|
|
132
|
-
readonly message: string;
|
|
133
|
-
}, ...{
|
|
134
|
-
readonly locale: "en" | "ja" | "ko";
|
|
135
|
-
readonly message: string;
|
|
136
|
-
}[]] | undefined;
|
|
137
|
-
readonly nodeSelectable?: string | undefined;
|
|
138
|
-
readonly expandAll: boolean;
|
|
139
130
|
readonly validations?: readonly {
|
|
140
131
|
readonly message: readonly [{
|
|
141
132
|
readonly locale: "zh";
|
|
@@ -147,6 +138,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
147
138
|
readonly warning?: boolean | undefined;
|
|
148
139
|
readonly when: string;
|
|
149
140
|
}[] | undefined;
|
|
141
|
+
readonly nodeTooltip?: readonly [{
|
|
142
|
+
readonly locale: "zh";
|
|
143
|
+
readonly message: string;
|
|
144
|
+
}, ...{
|
|
145
|
+
readonly locale: "en" | "ja" | "ko";
|
|
146
|
+
readonly message: string;
|
|
147
|
+
}[]] | undefined;
|
|
148
|
+
readonly nodeSelectable?: string | undefined;
|
|
149
|
+
readonly expandAll: boolean;
|
|
150
150
|
}) => any) | undefined;
|
|
151
151
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
152
152
|
declare const _default: typeof __VLS_export;
|
|
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding?: string | undefined;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly dataSource: {
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
49
49
|
readonly nodeLabel: readonly [{
|
|
@@ -54,15 +54,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
56
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
57
|
-
readonly nodeTooltip?: readonly [{
|
|
58
|
-
readonly locale: "zh";
|
|
59
|
-
readonly message: string;
|
|
60
|
-
}, ...{
|
|
61
|
-
readonly locale: "en" | "ja" | "ko";
|
|
62
|
-
readonly message: string;
|
|
63
|
-
}[]] | undefined;
|
|
64
|
-
readonly nodeSelectable?: string | undefined;
|
|
65
|
-
readonly expandAll: boolean;
|
|
66
57
|
readonly validations?: readonly {
|
|
67
58
|
readonly message: readonly [{
|
|
68
59
|
readonly locale: "zh";
|
|
@@ -74,6 +65,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
74
65
|
readonly warning?: boolean | undefined;
|
|
75
66
|
readonly when: string;
|
|
76
67
|
}[] | undefined;
|
|
68
|
+
readonly nodeTooltip?: readonly [{
|
|
69
|
+
readonly locale: "zh";
|
|
70
|
+
readonly message: string;
|
|
71
|
+
}, ...{
|
|
72
|
+
readonly locale: "en" | "ja" | "ko";
|
|
73
|
+
readonly message: string;
|
|
74
|
+
}[]] | undefined;
|
|
75
|
+
readonly nodeSelectable?: string | undefined;
|
|
76
|
+
readonly expandAll: boolean;
|
|
77
77
|
}) => any;
|
|
78
78
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
79
79
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -108,15 +108,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
}[]] | undefined;
|
|
109
109
|
readonly keywords?: string | undefined;
|
|
110
110
|
readonly readonly?: string | undefined;
|
|
111
|
+
readonly dataSource: {
|
|
112
|
+
readonly data: string;
|
|
113
|
+
readonly request?: string | undefined;
|
|
114
|
+
};
|
|
111
115
|
readonly binding?: string | undefined;
|
|
112
116
|
readonly derived?: {
|
|
113
117
|
readonly mode: "formula" | "prefill";
|
|
114
118
|
readonly expression: string;
|
|
115
119
|
} | undefined;
|
|
116
|
-
readonly dataSource: {
|
|
117
|
-
readonly data: string;
|
|
118
|
-
readonly request?: string | undefined;
|
|
119
|
-
};
|
|
120
120
|
readonly nodeKey: string;
|
|
121
121
|
readonly nodeChildren: string;
|
|
122
122
|
readonly nodeLabel: readonly [{
|
|
@@ -127,15 +127,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
127
127
|
readonly message: string;
|
|
128
128
|
}[]];
|
|
129
129
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
130
|
-
readonly nodeTooltip?: readonly [{
|
|
131
|
-
readonly locale: "zh";
|
|
132
|
-
readonly message: string;
|
|
133
|
-
}, ...{
|
|
134
|
-
readonly locale: "en" | "ja" | "ko";
|
|
135
|
-
readonly message: string;
|
|
136
|
-
}[]] | undefined;
|
|
137
|
-
readonly nodeSelectable?: string | undefined;
|
|
138
|
-
readonly expandAll: boolean;
|
|
139
130
|
readonly validations?: readonly {
|
|
140
131
|
readonly message: readonly [{
|
|
141
132
|
readonly locale: "zh";
|
|
@@ -147,6 +138,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
147
138
|
readonly warning?: boolean | undefined;
|
|
148
139
|
readonly when: string;
|
|
149
140
|
}[] | undefined;
|
|
141
|
+
readonly nodeTooltip?: readonly [{
|
|
142
|
+
readonly locale: "zh";
|
|
143
|
+
readonly message: string;
|
|
144
|
+
}, ...{
|
|
145
|
+
readonly locale: "en" | "ja" | "ko";
|
|
146
|
+
readonly message: string;
|
|
147
|
+
}[]] | undefined;
|
|
148
|
+
readonly nodeSelectable?: string | undefined;
|
|
149
|
+
readonly expandAll: boolean;
|
|
150
150
|
}) => any) | undefined;
|
|
151
151
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
152
152
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
## 下拉树(多选)字段
|
|
2
|
+
|
|
3
|
+
树形选项收进一个下拉,展开后勾选多个节点;绑定值是已选节点 ID 组成的**数组**。
|
|
4
|
+
|
|
5
|
+
节点契约与其余树字段一致:`dataSource` 返回完整树的根节点列表(`request` + `data`,同表格数据源写法);`nodeId` / `nodeChildren` / `nodeLabel` / `nodeTooltip` / `nodeSelectable` 都在 `node`(当前节点)作用域下逐节点求值——`nodeChildren` 返回 `none`/`null` 即叶子。下拉内置搜索,`keywords`(node 作用域)可折入更多匹配字段。
|
|
6
|
+
|
|
7
|
+
与内联「树(多选)」二选一的准则:作为普通表单输入、寸土寸金时选下拉树;需要常驻展开、级联勾选语义(半选等)时选内联树。
|
|
@@ -6,6 +6,7 @@ export declare const compatibilityDate: "2026-05-28";
|
|
|
6
6
|
export declare const metadata: {
|
|
7
7
|
readonly name: "下拉树(多选)";
|
|
8
8
|
readonly icon: "fluent:tree-evergreen-20-regular";
|
|
9
|
+
readonly description: "下拉里从树形选项中多选";
|
|
9
10
|
readonly w: {
|
|
10
11
|
readonly initial: 8;
|
|
11
12
|
readonly min: 4;
|
|
@@ -9,6 +9,7 @@ export const compatibilityDate = "2026-05-28";
|
|
|
9
9
|
export const metadata = {
|
|
10
10
|
name: "\u4E0B\u62C9\u6811\uFF08\u591A\u9009\uFF09",
|
|
11
11
|
icon: "fluent:tree-evergreen-20-regular",
|
|
12
|
+
description: "\u4E0B\u62C9\u91CC\u4ECE\u6811\u5F62\u9009\u9879\u4E2D\u591A\u9009",
|
|
12
13
|
w: { initial: 8, min: 4, max: Infinity },
|
|
13
14
|
h: { initial: 2, min: 2, max: 2 },
|
|
14
15
|
// Publishes its resolved nodes (array, in selection order) to the `selections`
|
|
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding?: string | undefined;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly dataSource: {
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
49
49
|
readonly nodeLabel: readonly [{
|
|
@@ -53,15 +53,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
53
|
readonly locale: "en" | "ja" | "ko";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
|
-
readonly nodeTooltip?: readonly [{
|
|
57
|
-
readonly locale: "zh";
|
|
58
|
-
readonly message: string;
|
|
59
|
-
}, ...{
|
|
60
|
-
readonly locale: "en" | "ja" | "ko";
|
|
61
|
-
readonly message: string;
|
|
62
|
-
}[]] | undefined;
|
|
63
|
-
readonly nodeSelectable?: string | undefined;
|
|
64
|
-
readonly expandAll: boolean;
|
|
65
56
|
readonly validations?: readonly {
|
|
66
57
|
readonly message: readonly [{
|
|
67
58
|
readonly locale: "zh";
|
|
@@ -73,6 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
73
64
|
readonly warning?: boolean | undefined;
|
|
74
65
|
readonly when: string;
|
|
75
66
|
}[] | undefined;
|
|
67
|
+
readonly nodeTooltip?: readonly [{
|
|
68
|
+
readonly locale: "zh";
|
|
69
|
+
readonly message: string;
|
|
70
|
+
}, ...{
|
|
71
|
+
readonly locale: "en" | "ja" | "ko";
|
|
72
|
+
readonly message: string;
|
|
73
|
+
}[]] | undefined;
|
|
74
|
+
readonly nodeSelectable?: string | undefined;
|
|
75
|
+
readonly expandAll: boolean;
|
|
76
76
|
}) => any;
|
|
77
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
78
78
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -107,15 +107,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
107
107
|
}[]] | undefined;
|
|
108
108
|
readonly keywords?: string | undefined;
|
|
109
109
|
readonly readonly?: string | undefined;
|
|
110
|
+
readonly dataSource: {
|
|
111
|
+
readonly data: string;
|
|
112
|
+
readonly request?: string | undefined;
|
|
113
|
+
};
|
|
110
114
|
readonly binding?: string | undefined;
|
|
111
115
|
readonly derived?: {
|
|
112
116
|
readonly mode: "formula" | "prefill";
|
|
113
117
|
readonly expression: string;
|
|
114
118
|
} | undefined;
|
|
115
|
-
readonly dataSource: {
|
|
116
|
-
readonly data: string;
|
|
117
|
-
readonly request?: string | undefined;
|
|
118
|
-
};
|
|
119
119
|
readonly nodeKey: string;
|
|
120
120
|
readonly nodeChildren: string;
|
|
121
121
|
readonly nodeLabel: readonly [{
|
|
@@ -125,15 +125,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
125
125
|
readonly locale: "en" | "ja" | "ko";
|
|
126
126
|
readonly message: string;
|
|
127
127
|
}[]];
|
|
128
|
-
readonly nodeTooltip?: readonly [{
|
|
129
|
-
readonly locale: "zh";
|
|
130
|
-
readonly message: string;
|
|
131
|
-
}, ...{
|
|
132
|
-
readonly locale: "en" | "ja" | "ko";
|
|
133
|
-
readonly message: string;
|
|
134
|
-
}[]] | undefined;
|
|
135
|
-
readonly nodeSelectable?: string | undefined;
|
|
136
|
-
readonly expandAll: boolean;
|
|
137
128
|
readonly validations?: readonly {
|
|
138
129
|
readonly message: readonly [{
|
|
139
130
|
readonly locale: "zh";
|
|
@@ -145,6 +136,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
145
136
|
readonly warning?: boolean | undefined;
|
|
146
137
|
readonly when: string;
|
|
147
138
|
}[] | undefined;
|
|
139
|
+
readonly nodeTooltip?: readonly [{
|
|
140
|
+
readonly locale: "zh";
|
|
141
|
+
readonly message: string;
|
|
142
|
+
}, ...{
|
|
143
|
+
readonly locale: "en" | "ja" | "ko";
|
|
144
|
+
readonly message: string;
|
|
145
|
+
}[]] | undefined;
|
|
146
|
+
readonly nodeSelectable?: string | undefined;
|
|
147
|
+
readonly expandAll: boolean;
|
|
148
148
|
}) => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
150
150
|
declare const _default: typeof __VLS_export;
|
|
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding?: string | undefined;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly dataSource: {
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
49
49
|
readonly nodeLabel: readonly [{
|
|
@@ -53,15 +53,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
53
53
|
readonly locale: "en" | "ja" | "ko";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
}[]];
|
|
56
|
-
readonly nodeTooltip?: readonly [{
|
|
57
|
-
readonly locale: "zh";
|
|
58
|
-
readonly message: string;
|
|
59
|
-
}, ...{
|
|
60
|
-
readonly locale: "en" | "ja" | "ko";
|
|
61
|
-
readonly message: string;
|
|
62
|
-
}[]] | undefined;
|
|
63
|
-
readonly nodeSelectable?: string | undefined;
|
|
64
|
-
readonly expandAll: boolean;
|
|
65
56
|
readonly validations?: readonly {
|
|
66
57
|
readonly message: readonly [{
|
|
67
58
|
readonly locale: "zh";
|
|
@@ -73,6 +64,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
73
64
|
readonly warning?: boolean | undefined;
|
|
74
65
|
readonly when: string;
|
|
75
66
|
}[] | undefined;
|
|
67
|
+
readonly nodeTooltip?: readonly [{
|
|
68
|
+
readonly locale: "zh";
|
|
69
|
+
readonly message: string;
|
|
70
|
+
}, ...{
|
|
71
|
+
readonly locale: "en" | "ja" | "ko";
|
|
72
|
+
readonly message: string;
|
|
73
|
+
}[]] | undefined;
|
|
74
|
+
readonly nodeSelectable?: string | undefined;
|
|
75
|
+
readonly expandAll: boolean;
|
|
76
76
|
}) => any;
|
|
77
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
78
78
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -107,15 +107,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
107
107
|
}[]] | undefined;
|
|
108
108
|
readonly keywords?: string | undefined;
|
|
109
109
|
readonly readonly?: string | undefined;
|
|
110
|
+
readonly dataSource: {
|
|
111
|
+
readonly data: string;
|
|
112
|
+
readonly request?: string | undefined;
|
|
113
|
+
};
|
|
110
114
|
readonly binding?: string | undefined;
|
|
111
115
|
readonly derived?: {
|
|
112
116
|
readonly mode: "formula" | "prefill";
|
|
113
117
|
readonly expression: string;
|
|
114
118
|
} | undefined;
|
|
115
|
-
readonly dataSource: {
|
|
116
|
-
readonly data: string;
|
|
117
|
-
readonly request?: string | undefined;
|
|
118
|
-
};
|
|
119
119
|
readonly nodeKey: string;
|
|
120
120
|
readonly nodeChildren: string;
|
|
121
121
|
readonly nodeLabel: readonly [{
|
|
@@ -125,15 +125,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
125
125
|
readonly locale: "en" | "ja" | "ko";
|
|
126
126
|
readonly message: string;
|
|
127
127
|
}[]];
|
|
128
|
-
readonly nodeTooltip?: readonly [{
|
|
129
|
-
readonly locale: "zh";
|
|
130
|
-
readonly message: string;
|
|
131
|
-
}, ...{
|
|
132
|
-
readonly locale: "en" | "ja" | "ko";
|
|
133
|
-
readonly message: string;
|
|
134
|
-
}[]] | undefined;
|
|
135
|
-
readonly nodeSelectable?: string | undefined;
|
|
136
|
-
readonly expandAll: boolean;
|
|
137
128
|
readonly validations?: readonly {
|
|
138
129
|
readonly message: readonly [{
|
|
139
130
|
readonly locale: "zh";
|
|
@@ -145,6 +136,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
145
136
|
readonly warning?: boolean | undefined;
|
|
146
137
|
readonly when: string;
|
|
147
138
|
}[] | undefined;
|
|
139
|
+
readonly nodeTooltip?: readonly [{
|
|
140
|
+
readonly locale: "zh";
|
|
141
|
+
readonly message: string;
|
|
142
|
+
}, ...{
|
|
143
|
+
readonly locale: "en" | "ja" | "ko";
|
|
144
|
+
readonly message: string;
|
|
145
|
+
}[]] | undefined;
|
|
146
|
+
readonly nodeSelectable?: string | undefined;
|
|
147
|
+
readonly expandAll: boolean;
|
|
148
148
|
}) => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
150
150
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
## 下拉树(单选)字段
|
|
2
|
+
|
|
3
|
+
树形选项收进一个下拉(占一行输入高度,适合表单 / 搜索条件),展开后单选一个节点;绑定值是所选节点 ID 的字符串(标量)。
|
|
4
|
+
|
|
5
|
+
节点契约与树(单选)一致:`dataSource` 返回完整树的根节点列表(`request` + `data`,同表格数据源写法);`nodeId` / `nodeChildren` / `nodeLabel` / `nodeTooltip` / `nodeSelectable` 都在 `node`(当前节点)作用域下逐节点求值——`nodeChildren` 返回 `none`/`null` 即叶子。下拉内置搜索,按节点标签匹配,`keywords`(node 作用域,返回字符串列表)可折入更多字段。
|
|
6
|
+
|
|
7
|
+
与内联「树(单选)」二选一的准则:需要常驻可见的导航面选内联树;作为普通表单输入、寸土寸金时选下拉树。
|
|
@@ -6,6 +6,7 @@ export declare const compatibilityDate: "2026-05-28";
|
|
|
6
6
|
export declare const metadata: {
|
|
7
7
|
readonly name: "下拉树(单选)";
|
|
8
8
|
readonly icon: "fluent:tree-evergreen-20-regular";
|
|
9
|
+
readonly description: "下拉里从树形选项中单选";
|
|
9
10
|
readonly w: {
|
|
10
11
|
readonly initial: 8;
|
|
11
12
|
readonly min: 4;
|
|
@@ -9,6 +9,7 @@ export const compatibilityDate = "2026-05-28";
|
|
|
9
9
|
export const metadata = {
|
|
10
10
|
name: "\u4E0B\u62C9\u6811\uFF08\u5355\u9009\uFF09",
|
|
11
11
|
icon: "fluent:tree-evergreen-20-regular",
|
|
12
|
+
description: "\u4E0B\u62C9\u91CC\u4ECE\u6811\u5F62\u9009\u9879\u4E2D\u5355\u9009",
|
|
12
13
|
w: { initial: 8, min: 4, max: Infinity },
|
|
13
14
|
h: { initial: 2, min: 2, max: 2 },
|
|
14
15
|
// Publishes its resolved node (the backend record) to the `selections`
|
|
@@ -37,15 +37,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
37
37
|
readonly displayName?: string | undefined;
|
|
38
38
|
readonly compatibilityDate: "2026-05-28";
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
|
+
readonly dataSource: {
|
|
41
|
+
readonly data: string;
|
|
42
|
+
readonly request?: string | undefined;
|
|
43
|
+
};
|
|
40
44
|
readonly binding?: string | undefined;
|
|
41
45
|
readonly derived?: {
|
|
42
46
|
readonly mode: "formula" | "prefill";
|
|
43
47
|
readonly expression: string;
|
|
44
48
|
} | undefined;
|
|
45
|
-
readonly dataSource: {
|
|
46
|
-
readonly data: string;
|
|
47
|
-
readonly request?: string | undefined;
|
|
48
|
-
};
|
|
49
49
|
readonly nodeKey: string;
|
|
50
50
|
readonly nodeChildren: string;
|
|
51
51
|
readonly nodeLabel: readonly [{
|
|
@@ -56,15 +56,6 @@ 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;
|
|
68
59
|
readonly validations?: readonly {
|
|
69
60
|
readonly message: readonly [{
|
|
70
61
|
readonly locale: "zh";
|
|
@@ -76,6 +67,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
76
67
|
readonly warning?: boolean | undefined;
|
|
77
68
|
readonly when: string;
|
|
78
69
|
}[] | 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: {
|
|
@@ -112,15 +112,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
112
112
|
readonly displayName?: string | undefined;
|
|
113
113
|
readonly compatibilityDate: "2026-05-28";
|
|
114
114
|
readonly readonly?: string | undefined;
|
|
115
|
+
readonly dataSource: {
|
|
116
|
+
readonly data: string;
|
|
117
|
+
readonly request?: string | undefined;
|
|
118
|
+
};
|
|
115
119
|
readonly binding?: string | undefined;
|
|
116
120
|
readonly derived?: {
|
|
117
121
|
readonly mode: "formula" | "prefill";
|
|
118
122
|
readonly expression: string;
|
|
119
123
|
} | undefined;
|
|
120
|
-
readonly dataSource: {
|
|
121
|
-
readonly data: string;
|
|
122
|
-
readonly request?: string | undefined;
|
|
123
|
-
};
|
|
124
124
|
readonly nodeKey: string;
|
|
125
125
|
readonly nodeChildren: string;
|
|
126
126
|
readonly nodeLabel: readonly [{
|
|
@@ -131,15 +131,6 @@ 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;
|
|
143
134
|
readonly validations?: readonly {
|
|
144
135
|
readonly message: readonly [{
|
|
145
136
|
readonly locale: "zh";
|
|
@@ -151,6 +142,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
151
142
|
readonly warning?: boolean | undefined;
|
|
152
143
|
readonly when: string;
|
|
153
144
|
}[] | 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;
|