@shwfed/config 3.0.7 → 3.0.9
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/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 +40 -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 +58 -58
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +58 -58
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +58 -58
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +58 -58
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +35 -29
- 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/use-editor.d.ts +1 -0
- package/dist/runtime/components/config/use-editor.js +18 -0
- package/dist/runtime/components/config/utils/ai-cursor.d.ts +21 -0
- package/dist/runtime/components/config/utils/ai-cursor.js +833 -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/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/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/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/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/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- 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 +8 -8
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
- 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/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/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 +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
- 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 +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
- 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 +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
- 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 +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +8 -8
- 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/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 +1 -33
- 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 +58 -58
- 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/components/tabs/index.vue +10 -2
- package/dist/runtime/components/ui/chat/ChatMessages.vue +30 -6
- 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/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/utils/disabled-date.d.ts +8 -2
- package/dist/runtime/utils/disabled-date.js +2 -1
- 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
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/schema.js
CHANGED
|
@@ -7,7 +7,8 @@ export const type = "com.shwfed.table.column.select";
|
|
|
7
7
|
export const compatibilityDate = "2026-04-14";
|
|
8
8
|
export const metadata = {
|
|
9
9
|
name: "\u9009\u62E9",
|
|
10
|
-
icon: "fluent:checkbox-checked-20-regular"
|
|
10
|
+
icon: "fluent:checkbox-checked-20-regular",
|
|
11
|
+
description: "\u884C\u9009\u62E9\u5217\uFF08\u5355\u9009 / \u591A\u9009\u52FE\u9009\u6846\uFF09\uFF0C\u53EF\u6309 CEL \u63A7\u5236\u884C\u662F\u5426\u53EF\u9009"
|
|
11
12
|
};
|
|
12
13
|
export function schema(configure) {
|
|
13
14
|
const CelRowSelectionPredicate = Expression({
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-04-14";
|
|
|
7
7
|
export declare const metadata: {
|
|
8
8
|
readonly name: "文本";
|
|
9
9
|
readonly icon: "fluent:text-field-20-regular";
|
|
10
|
+
readonly description: "文本只读列(最常用),支持等宽模式与一键复制";
|
|
10
11
|
};
|
|
11
12
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
12
13
|
align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.js
CHANGED
|
@@ -4,7 +4,8 @@ export const type = "com.shwfed.table.column.text";
|
|
|
4
4
|
export const compatibilityDate = "2026-04-14";
|
|
5
5
|
export const metadata = {
|
|
6
6
|
name: "\u6587\u672C",
|
|
7
|
-
icon: "fluent:text-field-20-regular"
|
|
7
|
+
icon: "fluent:text-field-20-regular",
|
|
8
|
+
description: "\u6587\u672C\u53EA\u8BFB\u5217\uFF08\u6700\u5E38\u7528\uFF09\uFF0C\u652F\u6301\u7B49\u5BBD\u6A21\u5F0F\u4E0E\u4E00\u952E\u590D\u5236"
|
|
8
9
|
};
|
|
9
10
|
const isCopyExpressionType = (t) => t === "string" || t === "dyn" || t.startsWith("optional");
|
|
10
11
|
export function schema(configure) {
|
|
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-05-13";
|
|
|
7
7
|
export declare const metadata: {
|
|
8
8
|
readonly name: "开关(远程)";
|
|
9
9
|
readonly icon: "fluent:toggle-left-20-regular";
|
|
10
|
+
readonly description: "可编辑的开关单元格,切换时发起 HTTP 请求,按响应决定是否生效";
|
|
10
11
|
};
|
|
11
12
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
12
13
|
align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
|
|
@@ -6,7 +6,8 @@ export const type = "com.shwfed.table.column.switch.remote";
|
|
|
6
6
|
export const compatibilityDate = "2026-05-13";
|
|
7
7
|
export const metadata = {
|
|
8
8
|
name: "\u5F00\u5173\uFF08\u8FDC\u7A0B\uFF09",
|
|
9
|
-
icon: "fluent:toggle-left-20-regular"
|
|
9
|
+
icon: "fluent:toggle-left-20-regular",
|
|
10
|
+
description: "\u53EF\u7F16\u8F91\u7684\u5F00\u5173\u5355\u5143\u683C\uFF0C\u5207\u6362\u65F6\u53D1\u8D77 HTTP \u8BF7\u6C42\uFF0C\u6309\u54CD\u5E94\u51B3\u5B9A\u662F\u5426\u751F\u6548"
|
|
10
11
|
};
|
|
11
12
|
export function schema(configure) {
|
|
12
13
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-05-20";
|
|
|
7
7
|
export declare const metadata: {
|
|
8
8
|
readonly name: "数值输入";
|
|
9
9
|
readonly icon: "fluent:number-symbol-20-regular";
|
|
10
|
+
readonly description: "可编辑的数值输入单元格,值写回行数据";
|
|
10
11
|
};
|
|
11
12
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
12
13
|
align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
|
|
@@ -7,7 +7,8 @@ export const type = "com.shwfed.table.column.number-input";
|
|
|
7
7
|
export const compatibilityDate = "2026-05-20";
|
|
8
8
|
export const metadata = {
|
|
9
9
|
name: "\u6570\u503C\u8F93\u5165",
|
|
10
|
-
icon: "fluent:number-symbol-20-regular"
|
|
10
|
+
icon: "fluent:number-symbol-20-regular",
|
|
11
|
+
description: "\u53EF\u7F16\u8F91\u7684\u6570\u503C\u8F93\u5165\u5355\u5143\u683C\uFF0C\u503C\u5199\u56DE\u884C\u6570\u636E"
|
|
11
12
|
};
|
|
12
13
|
function AddonActions(configure) {
|
|
13
14
|
const configureWithRow = (env) => {
|
|
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-05-20";
|
|
|
7
7
|
export declare const metadata: {
|
|
8
8
|
readonly name: "开关";
|
|
9
9
|
readonly icon: "fluent:toggle-left-20-regular";
|
|
10
|
+
readonly description: "可编辑的开关单元格,切换即写回行数据(本地,不发请求)";
|
|
10
11
|
};
|
|
11
12
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
12
13
|
align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
|
|
@@ -6,7 +6,8 @@ export const type = "com.shwfed.table.column.switch.local";
|
|
|
6
6
|
export const compatibilityDate = "2026-05-20";
|
|
7
7
|
export const metadata = {
|
|
8
8
|
name: "\u5F00\u5173",
|
|
9
|
-
icon: "fluent:toggle-left-20-regular"
|
|
9
|
+
icon: "fluent:toggle-left-20-regular",
|
|
10
|
+
description: "\u53EF\u7F16\u8F91\u7684\u5F00\u5173\u5355\u5143\u683C\uFF0C\u5207\u6362\u5373\u5199\u56DE\u884C\u6570\u636E\uFF08\u672C\u5730\uFF0C\u4E0D\u53D1\u8BF7\u6C42\uFF09"
|
|
10
11
|
};
|
|
11
12
|
export function schema(configure) {
|
|
12
13
|
const CelBool = CelRowAccess(configure, { resultType: "bool" });
|
|
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-05-20";
|
|
|
7
7
|
export declare const metadata: {
|
|
8
8
|
readonly name: "文本输入";
|
|
9
9
|
readonly icon: "fluent:text-field-20-regular";
|
|
10
|
+
readonly description: "可编辑的文本输入单元格,值写回行数据";
|
|
10
11
|
};
|
|
11
12
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
12
13
|
align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
|
|
@@ -7,7 +7,8 @@ export const type = "com.shwfed.table.column.text-input";
|
|
|
7
7
|
export const compatibilityDate = "2026-05-20";
|
|
8
8
|
export const metadata = {
|
|
9
9
|
name: "\u6587\u672C\u8F93\u5165",
|
|
10
|
-
icon: "fluent:text-field-20-regular"
|
|
10
|
+
icon: "fluent:text-field-20-regular",
|
|
11
|
+
description: "\u53EF\u7F16\u8F91\u7684\u6587\u672C\u8F93\u5165\u5355\u5143\u683C\uFF0C\u503C\u5199\u56DE\u884C\u6570\u636E"
|
|
11
12
|
};
|
|
12
13
|
function AddonActions(configure) {
|
|
13
14
|
const configureWithRow = (env) => {
|
|
@@ -6,6 +6,7 @@ export declare const compatibilityDate: "2026-05-21";
|
|
|
6
6
|
export declare const metadata: {
|
|
7
7
|
readonly name: "拖拽";
|
|
8
8
|
readonly icon: "fluent:re-order-dots-vertical-20-regular";
|
|
9
|
+
readonly description: "行拖拽手柄列,允许用户上下拖拽调整行顺序";
|
|
9
10
|
};
|
|
10
11
|
export declare function schema(_configure: (env: Environment) => void): Schema.Struct<{
|
|
11
12
|
id: Schema.refine<string, typeof Schema.String>;
|
|
@@ -6,7 +6,8 @@ export const type = "com.shwfed.table.column.drag-handle";
|
|
|
6
6
|
export const compatibilityDate = "2026-05-21";
|
|
7
7
|
export const metadata = {
|
|
8
8
|
name: "\u62D6\u62FD",
|
|
9
|
-
icon: "fluent:re-order-dots-vertical-20-regular"
|
|
9
|
+
icon: "fluent:re-order-dots-vertical-20-regular",
|
|
10
|
+
description: "\u884C\u62D6\u62FD\u624B\u67C4\u5217\uFF0C\u5141\u8BB8\u7528\u6237\u4E0A\u4E0B\u62D6\u62FD\u8C03\u6574\u884C\u987A\u5E8F"
|
|
10
11
|
};
|
|
11
12
|
export function schema(_configure) {
|
|
12
13
|
return Schema.Struct({
|
|
@@ -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;
|
|
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 enableSorting?: boolean | undefined;
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
@@ -97,15 +97,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
97
97
|
readonly message: string;
|
|
98
98
|
}[]] | undefined;
|
|
99
99
|
readonly readonly?: string | undefined;
|
|
100
|
+
readonly dataSource: {
|
|
101
|
+
readonly data: string;
|
|
102
|
+
readonly request?: string | undefined;
|
|
103
|
+
};
|
|
100
104
|
readonly binding: string;
|
|
101
105
|
readonly derived?: {
|
|
102
106
|
readonly mode: "formula" | "prefill";
|
|
103
107
|
readonly expression: string;
|
|
104
108
|
} | undefined;
|
|
105
|
-
readonly dataSource: {
|
|
106
|
-
readonly data: string;
|
|
107
|
-
readonly request?: string | undefined;
|
|
108
|
-
};
|
|
109
109
|
readonly enableSorting?: boolean | undefined;
|
|
110
110
|
readonly nodeKey: string;
|
|
111
111
|
readonly nodeChildren: string;
|
|
@@ -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;
|
|
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 enableSorting?: boolean | undefined;
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
@@ -97,15 +97,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
97
97
|
readonly message: string;
|
|
98
98
|
}[]] | undefined;
|
|
99
99
|
readonly readonly?: string | undefined;
|
|
100
|
+
readonly dataSource: {
|
|
101
|
+
readonly data: string;
|
|
102
|
+
readonly request?: string | undefined;
|
|
103
|
+
};
|
|
100
104
|
readonly binding: string;
|
|
101
105
|
readonly derived?: {
|
|
102
106
|
readonly mode: "formula" | "prefill";
|
|
103
107
|
readonly expression: string;
|
|
104
108
|
} | undefined;
|
|
105
|
-
readonly dataSource: {
|
|
106
|
-
readonly data: string;
|
|
107
|
-
readonly request?: string | undefined;
|
|
108
|
-
};
|
|
109
109
|
readonly enableSorting?: boolean | undefined;
|
|
110
110
|
readonly nodeKey: string;
|
|
111
111
|
readonly nodeChildren: string;
|
|
@@ -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;
|
|
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 enableSorting?: boolean | undefined;
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
@@ -96,15 +96,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
96
96
|
readonly message: string;
|
|
97
97
|
}[]] | undefined;
|
|
98
98
|
readonly readonly?: string | undefined;
|
|
99
|
+
readonly dataSource: {
|
|
100
|
+
readonly data: string;
|
|
101
|
+
readonly request?: string | undefined;
|
|
102
|
+
};
|
|
99
103
|
readonly binding: string;
|
|
100
104
|
readonly derived?: {
|
|
101
105
|
readonly mode: "formula" | "prefill";
|
|
102
106
|
readonly expression: string;
|
|
103
107
|
} | undefined;
|
|
104
|
-
readonly dataSource: {
|
|
105
|
-
readonly data: string;
|
|
106
|
-
readonly request?: string | undefined;
|
|
107
|
-
};
|
|
108
108
|
readonly enableSorting?: boolean | undefined;
|
|
109
109
|
readonly nodeKey: string;
|
|
110
110
|
readonly nodeChildren: string;
|
|
@@ -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;
|
|
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 enableSorting?: boolean | undefined;
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
@@ -96,15 +96,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
96
96
|
readonly message: string;
|
|
97
97
|
}[]] | undefined;
|
|
98
98
|
readonly readonly?: string | undefined;
|
|
99
|
+
readonly dataSource: {
|
|
100
|
+
readonly data: string;
|
|
101
|
+
readonly request?: string | undefined;
|
|
102
|
+
};
|
|
99
103
|
readonly binding: string;
|
|
100
104
|
readonly derived?: {
|
|
101
105
|
readonly mode: "formula" | "prefill";
|
|
102
106
|
readonly expression: string;
|
|
103
107
|
} | undefined;
|
|
104
|
-
readonly dataSource: {
|
|
105
|
-
readonly data: string;
|
|
106
|
-
readonly request?: string | undefined;
|
|
107
|
-
};
|
|
108
108
|
readonly enableSorting?: boolean | undefined;
|
|
109
109
|
readonly nodeKey: string;
|
|
110
110
|
readonly nodeChildren: string;
|
|
@@ -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;
|
|
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 enableSorting?: boolean | undefined;
|
|
48
48
|
readonly nodeKey: string;
|
|
49
49
|
readonly nodeChildren: string;
|
|
@@ -99,15 +99,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
99
99
|
}[]] | undefined;
|
|
100
100
|
readonly keywords?: string | undefined;
|
|
101
101
|
readonly readonly?: string | undefined;
|
|
102
|
+
readonly dataSource: {
|
|
103
|
+
readonly data: string;
|
|
104
|
+
readonly request?: string | undefined;
|
|
105
|
+
};
|
|
102
106
|
readonly binding: string;
|
|
103
107
|
readonly derived?: {
|
|
104
108
|
readonly mode: "formula" | "prefill";
|
|
105
109
|
readonly expression: string;
|
|
106
110
|
} | undefined;
|
|
107
|
-
readonly dataSource: {
|
|
108
|
-
readonly data: string;
|
|
109
|
-
readonly request?: string | undefined;
|
|
110
|
-
};
|
|
111
111
|
readonly enableSorting?: boolean | undefined;
|
|
112
112
|
readonly nodeKey: string;
|
|
113
113
|
readonly nodeChildren: string;
|
|
@@ -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;
|
|
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 enableSorting?: boolean | undefined;
|
|
48
48
|
readonly nodeKey: string;
|
|
49
49
|
readonly nodeChildren: string;
|
|
@@ -99,15 +99,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
99
99
|
}[]] | undefined;
|
|
100
100
|
readonly keywords?: string | undefined;
|
|
101
101
|
readonly readonly?: string | undefined;
|
|
102
|
+
readonly dataSource: {
|
|
103
|
+
readonly data: string;
|
|
104
|
+
readonly request?: string | undefined;
|
|
105
|
+
};
|
|
102
106
|
readonly binding: string;
|
|
103
107
|
readonly derived?: {
|
|
104
108
|
readonly mode: "formula" | "prefill";
|
|
105
109
|
readonly expression: string;
|
|
106
110
|
} | undefined;
|
|
107
|
-
readonly dataSource: {
|
|
108
|
-
readonly data: string;
|
|
109
|
-
readonly request?: string | undefined;
|
|
110
|
-
};
|
|
111
111
|
readonly enableSorting?: boolean | undefined;
|
|
112
112
|
readonly nodeKey: string;
|
|
113
113
|
readonly nodeChildren: string;
|
|
@@ -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;
|
|
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 enableSorting?: boolean | undefined;
|
|
48
48
|
readonly nodeKey: string;
|
|
49
49
|
readonly nodeChildren: string;
|
|
@@ -98,15 +98,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
}[]] | undefined;
|
|
99
99
|
readonly keywords?: string | undefined;
|
|
100
100
|
readonly readonly?: string | undefined;
|
|
101
|
+
readonly dataSource: {
|
|
102
|
+
readonly data: string;
|
|
103
|
+
readonly request?: string | undefined;
|
|
104
|
+
};
|
|
101
105
|
readonly binding: string;
|
|
102
106
|
readonly derived?: {
|
|
103
107
|
readonly mode: "formula" | "prefill";
|
|
104
108
|
readonly expression: string;
|
|
105
109
|
} | undefined;
|
|
106
|
-
readonly dataSource: {
|
|
107
|
-
readonly data: string;
|
|
108
|
-
readonly request?: string | undefined;
|
|
109
|
-
};
|
|
110
110
|
readonly enableSorting?: boolean | undefined;
|
|
111
111
|
readonly nodeKey: string;
|
|
112
112
|
readonly nodeChildren: string;
|
|
@@ -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;
|
|
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 enableSorting?: boolean | undefined;
|
|
48
48
|
readonly nodeKey: string;
|
|
49
49
|
readonly nodeChildren: string;
|
|
@@ -98,15 +98,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
}[]] | undefined;
|
|
99
99
|
readonly keywords?: string | undefined;
|
|
100
100
|
readonly readonly?: string | undefined;
|
|
101
|
+
readonly dataSource: {
|
|
102
|
+
readonly data: string;
|
|
103
|
+
readonly request?: string | undefined;
|
|
104
|
+
};
|
|
101
105
|
readonly binding: string;
|
|
102
106
|
readonly derived?: {
|
|
103
107
|
readonly mode: "formula" | "prefill";
|
|
104
108
|
readonly expression: string;
|
|
105
109
|
} | undefined;
|
|
106
|
-
readonly dataSource: {
|
|
107
|
-
readonly data: string;
|
|
108
|
-
readonly request?: string | undefined;
|
|
109
|
-
};
|
|
110
110
|
readonly enableSorting?: boolean | undefined;
|
|
111
111
|
readonly nodeKey: string;
|
|
112
112
|
readonly nodeChildren: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
**何时用我**:表格单元格里做**多选下拉**——把后端的一组编码回显成多个标签,或行内多选可编辑单元格。与「单选」列同构,差别是值为数组。
|
|
2
|
+
|
|
3
|
+
**配置配方**
|
|
4
|
+
|
|
5
|
+
- `options` 判别联合:`{ kind: 'static', items }`(每项 `{ label(纯文本 Locale), value: { kind: 'text'|'number', value } }`)或 `{ kind: 'remote', options, optionLabel, optionValue?, ... }`(CEL / 远端产出,`options` 可访问 `json`,`optionLabel` / `optionValue` 可访问 `option`)。
|
|
6
|
+
- `write`:`{ kind: 'binding', binding }` 行内读写行上 dot-prop 路径;或 `{ kind: 'remote', accessor, onChange?, ... }` 只读回显 + 选择后请求写服务端。
|
|
7
|
+
|
|
8
|
+
**坑**
|
|
9
|
+
|
|
10
|
+
- 静态项 `value` 是判别对象 `{ kind, value }`。
|
|
11
|
+
- 多选 `remote` 的 `optionValue` 默认整个 `option`,通常设成标量(如 `option.value`)。
|
|
12
|
+
- 纯回显用 `write: { kind: 'remote', accessor }` 即可。选项映射不确定时**向用户询问**。
|
|
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-06-14";
|
|
|
7
7
|
export declare const metadata: {
|
|
8
8
|
readonly name: "多选";
|
|
9
9
|
readonly icon: "fluent:chevron-down-20-regular";
|
|
10
|
+
readonly description: "可编辑的下拉多选单元格,选中值写回行数据;选项可静态配置或远程加载";
|
|
10
11
|
readonly selection: true;
|
|
11
12
|
};
|
|
12
13
|
export declare function itemSchema(configure: (env: Environment) => void): Schema.Struct<{
|
|
@@ -18,6 +18,7 @@ export const compatibilityDate = "2026-06-14";
|
|
|
18
18
|
export const metadata = {
|
|
19
19
|
name: "\u591A\u9009",
|
|
20
20
|
icon: "fluent:chevron-down-20-regular",
|
|
21
|
+
description: "\u53EF\u7F16\u8F91\u7684\u4E0B\u62C9\u591A\u9009\u5355\u5143\u683C\uFF0C\u9009\u4E2D\u503C\u5199\u56DE\u884C\u6570\u636E\uFF1B\u9009\u9879\u53EF\u9759\u6001\u914D\u7F6E\u6216\u8FDC\u7A0B\u52A0\u8F7D",
|
|
21
22
|
// Publishes its resolved options (array) to the per-row `selections` registry
|
|
22
23
|
// (runtime.vue), readable via `selections["<id>"]`.
|
|
23
24
|
selection: true
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
**何时用我**:表格单元格里做**单选下拉**——把后端的编码回显成标签(如状态码 → 状态名),或行内单选可编辑单元格。
|
|
2
|
+
|
|
3
|
+
**配置配方**
|
|
4
|
+
|
|
5
|
+
- `options` 判别联合(与表单下拉同构):
|
|
6
|
+
- `{ kind: 'static', items: [...] }`:手配 `{ label(纯文本 Locale), value: { kind: 'text'|'number', value } }`。
|
|
7
|
+
- `{ kind: 'remote', ... }`:`options`(提取数组,可访问 `json`)、`optionLabel`(可访问 `option`)、`optionValue`(默认 `option`)等。
|
|
8
|
+
- `write` 判别联合决定值从哪来、往哪去:
|
|
9
|
+
- `{ kind: 'binding', binding }`:行内可编辑,读写行上同一 dot-prop 路径(如 `status`)。
|
|
10
|
+
- `{ kind: 'remote', accessor, onChange?, successMessage?, triggers? }`:`accessor` 只读回显(如 `row.?status`),选择后由 `onChange` 请求写服务端(`value` 为新值)。
|
|
11
|
+
|
|
12
|
+
**坑**
|
|
13
|
+
|
|
14
|
+
- 静态项 `value` 是判别对象 `{ kind, value }`,不是裸值。
|
|
15
|
+
- 回显场景常只需 `write: { kind: 'remote', accessor }`(把编码 map 成标签),不必配 `onChange`。
|
|
16
|
+
- 选项映射(编码↔标签)不确定时**向用户询问**。
|
|
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-06-14";
|
|
|
7
7
|
export declare const metadata: {
|
|
8
8
|
readonly name: "单选";
|
|
9
9
|
readonly icon: "fluent:chevron-down-20-regular";
|
|
10
|
+
readonly description: "可编辑的下拉单选单元格,选中值写回行数据;选项可静态配置或远程加载";
|
|
10
11
|
readonly selection: true;
|
|
11
12
|
};
|
|
12
13
|
export declare function itemSchema(configure: (env: Environment) => void): Schema.Struct<{
|
|
@@ -18,6 +18,7 @@ export const compatibilityDate = "2026-06-14";
|
|
|
18
18
|
export const metadata = {
|
|
19
19
|
name: "\u5355\u9009",
|
|
20
20
|
icon: "fluent:chevron-down-20-regular",
|
|
21
|
+
description: "\u53EF\u7F16\u8F91\u7684\u4E0B\u62C9\u5355\u9009\u5355\u5143\u683C\uFF0C\u9009\u4E2D\u503C\u5199\u56DE\u884C\u6570\u636E\uFF1B\u9009\u9879\u53EF\u9759\u6001\u914D\u7F6E\u6216\u8FDC\u7A0B\u52A0\u8F7D",
|
|
21
22
|
// Publishes its resolved option (the source record) to the per-row
|
|
22
23
|
// `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
23
24
|
selection: true
|
|
@@ -36,15 +36,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
36
36
|
}[]] | undefined;
|
|
37
37
|
readonly keywords?: string | undefined;
|
|
38
38
|
readonly readonly?: string | undefined;
|
|
39
|
+
readonly dataSource: {
|
|
40
|
+
readonly data: string;
|
|
41
|
+
readonly request?: string | undefined;
|
|
42
|
+
};
|
|
39
43
|
readonly binding: string;
|
|
40
44
|
readonly derived?: {
|
|
41
45
|
readonly mode: "formula" | "prefill";
|
|
42
46
|
readonly expression: string;
|
|
43
47
|
} | undefined;
|
|
44
|
-
readonly dataSource: {
|
|
45
|
-
readonly data: string;
|
|
46
|
-
readonly request?: string | undefined;
|
|
47
|
-
};
|
|
48
48
|
readonly enableSorting?: boolean | undefined;
|
|
49
49
|
readonly nodeKey: string;
|
|
50
50
|
readonly nodeChildren: string;
|
|
@@ -95,15 +95,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
95
95
|
}[]] | undefined;
|
|
96
96
|
readonly keywords?: string | undefined;
|
|
97
97
|
readonly readonly?: string | undefined;
|
|
98
|
+
readonly dataSource: {
|
|
99
|
+
readonly data: string;
|
|
100
|
+
readonly request?: string | undefined;
|
|
101
|
+
};
|
|
98
102
|
readonly binding: string;
|
|
99
103
|
readonly derived?: {
|
|
100
104
|
readonly mode: "formula" | "prefill";
|
|
101
105
|
readonly expression: string;
|
|
102
106
|
} | undefined;
|
|
103
|
-
readonly dataSource: {
|
|
104
|
-
readonly data: string;
|
|
105
|
-
readonly request?: string | undefined;
|
|
106
|
-
};
|
|
107
107
|
readonly enableSorting?: boolean | undefined;
|
|
108
108
|
readonly nodeKey: string;
|
|
109
109
|
readonly nodeChildren: string;
|
|
@@ -36,15 +36,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
36
36
|
}[]] | undefined;
|
|
37
37
|
readonly keywords?: string | undefined;
|
|
38
38
|
readonly readonly?: string | undefined;
|
|
39
|
+
readonly dataSource: {
|
|
40
|
+
readonly data: string;
|
|
41
|
+
readonly request?: string | undefined;
|
|
42
|
+
};
|
|
39
43
|
readonly binding: string;
|
|
40
44
|
readonly derived?: {
|
|
41
45
|
readonly mode: "formula" | "prefill";
|
|
42
46
|
readonly expression: string;
|
|
43
47
|
} | undefined;
|
|
44
|
-
readonly dataSource: {
|
|
45
|
-
readonly data: string;
|
|
46
|
-
readonly request?: string | undefined;
|
|
47
|
-
};
|
|
48
48
|
readonly enableSorting?: boolean | undefined;
|
|
49
49
|
readonly nodeKey: string;
|
|
50
50
|
readonly nodeChildren: string;
|
|
@@ -95,15 +95,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
95
95
|
}[]] | undefined;
|
|
96
96
|
readonly keywords?: string | undefined;
|
|
97
97
|
readonly readonly?: string | undefined;
|
|
98
|
+
readonly dataSource: {
|
|
99
|
+
readonly data: string;
|
|
100
|
+
readonly request?: string | undefined;
|
|
101
|
+
};
|
|
98
102
|
readonly binding: string;
|
|
99
103
|
readonly derived?: {
|
|
100
104
|
readonly mode: "formula" | "prefill";
|
|
101
105
|
readonly expression: string;
|
|
102
106
|
} | undefined;
|
|
103
|
-
readonly dataSource: {
|
|
104
|
-
readonly data: string;
|
|
105
|
-
readonly request?: string | undefined;
|
|
106
|
-
};
|
|
107
107
|
readonly enableSorting?: boolean | undefined;
|
|
108
108
|
readonly nodeKey: string;
|
|
109
109
|
readonly nodeChildren: string;
|
|
@@ -7,6 +7,7 @@ export declare const compatibilityDate: "2026-06-14";
|
|
|
7
7
|
export declare const metadata: {
|
|
8
8
|
readonly name: "下拉树(多选)";
|
|
9
9
|
readonly icon: "fluent:tree-evergreen-20-regular";
|
|
10
|
+
readonly description: "可编辑的下拉树多选单元格,选中节点写回行数据";
|
|
10
11
|
readonly selection: true;
|
|
11
12
|
};
|
|
12
13
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
@@ -17,6 +17,7 @@ export const compatibilityDate = "2026-06-14";
|
|
|
17
17
|
export const metadata = {
|
|
18
18
|
name: "\u4E0B\u62C9\u6811\uFF08\u591A\u9009\uFF09",
|
|
19
19
|
icon: "fluent:tree-evergreen-20-regular",
|
|
20
|
+
description: "\u53EF\u7F16\u8F91\u7684\u4E0B\u62C9\u6811\u591A\u9009\u5355\u5143\u683C\uFF0C\u9009\u4E2D\u8282\u70B9\u5199\u56DE\u884C\u6570\u636E",
|
|
20
21
|
// Publishes its resolved nodes (array) to the per-row `selections` registry (runtime.vue), readable via `selections["<id>"]`.
|
|
21
22
|
selection: true
|
|
22
23
|
};
|