@shwfed/config 2.11.5 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +13 -7
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue +1 -0
- package/dist/runtime/components/actions/buttons/2026-05-11/com.shwfed.actions.button.modal.layout/schema.d.ts +13 -7
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.d.ts +13 -7
- package/dist/runtime/components/actions/config.vue +2 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +13 -7
- package/dist/runtime/components/actions/schema.d.ts +82 -52
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +5 -5
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.d.ts +13 -7
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +62 -38
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.tabs/schema.d.ts +26 -14
- package/dist/runtime/components/config/blocks/2026-05-17/com.shwfed.block.chart.xy/schema.d.ts +39 -21
- package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.d.ts +13 -7
- package/dist/runtime/components/config/blocks/2026-06-02/com.shwfed.block.card/schema.d.ts +26 -14
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.d.ts +44 -26
- package/dist/runtime/components/config/schema.d.ts +13 -7
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/schema.d.ts +26 -14
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +57 -33
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/schema.d.ts +52 -28
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +18 -12
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/schema.d.ts +65 -35
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +91 -49
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +91 -49
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/schema.d.ts +39 -21
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/schema.d.ts +39 -21
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +57 -33
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/schema.d.ts +65 -35
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/schema.d.ts +65 -35
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/schema.d.ts +104 -56
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/schema.d.ts +65 -35
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/schema.d.ts +91 -49
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/schema.d.ts +91 -49
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +39 -21
- package/dist/runtime/components/form/fields/2026-05-20/com.shwfed.form.field.collapsible/schema.d.ts +13 -7
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +91 -49
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/schema.d.ts +65 -35
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.d.ts +169 -91
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.d.ts +169 -91
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/schema.d.ts +78 -42
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +130 -70
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +130 -70
- package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.d.ts +26 -14
- package/dist/runtime/components/form/utils/common.d.ts +26 -14
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.d.ts +13 -7
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.d.ts +13 -7
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts +13 -7
- package/dist/runtime/components/table/ai-generate.d.vue.ts +16 -0
- package/dist/runtime/components/table/ai-generate.system.d.ts +1 -0
- package/dist/runtime/components/table/ai-generate.system.js +10 -0
- package/dist/runtime/components/table/ai-generate.system.md +95 -0
- package/dist/runtime/components/table/ai-generate.vue +172 -0
- package/dist/runtime/components/table/ai-generate.vue.d.ts +16 -0
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +18 -12
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.date/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue +3 -4
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +3 -3
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/schema.d.ts +39 -21
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.number/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue +5 -6
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/runtime.vue +5 -6
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +26 -14
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/schema.d.ts +91 -49
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/schema.d.ts +44 -26
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/schema.d.ts +44 -26
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +91 -49
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/schema.d.ts +91 -49
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +91 -49
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +65 -35
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.d.ts +65 -35
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +156 -84
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +65 -35
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.d.ts +65 -35
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/schema.d.ts +117 -63
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/schema.d.ts +117 -63
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.d.ts +52 -28
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +3 -3
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +70 -40
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue +4 -4
- package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +78 -42
- package/dist/runtime/components/table/config.d.vue.ts +3 -3
- package/dist/runtime/components/table/config.vue +38 -3
- package/dist/runtime/components/table/config.vue.d.ts +3 -3
- package/dist/runtime/components/table/row-provider.vue +2 -2
- package/dist/runtime/components/table/schema.d.ts +114 -66
- package/dist/runtime/components/table/utils/ai-tools.d.ts +11 -0
- package/dist/runtime/components/table/utils/ai-tools.js +458 -0
- package/dist/runtime/components/table/utils/resolve.d.ts +23 -0
- package/dist/runtime/components/table/utils/resolve.js +3 -0
- package/dist/runtime/components/table/utils/shared.d.ts +65 -35
- package/dist/runtime/components/table/utils/shared.js +16 -17
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +1 -1
- package/dist/runtime/components/ui/chat/ChatMessage.d.vue.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatMessage.vue +35 -0
- package/dist/runtime/components/ui/chat/ChatMessage.vue.d.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatMessagePart.d.vue.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatMessagePart.vue +43 -0
- package/dist/runtime/components/ui/chat/ChatMessagePart.vue.d.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatMessages.d.vue.ts +18 -0
- package/dist/runtime/components/ui/chat/ChatMessages.vue +63 -0
- package/dist/runtime/components/ui/chat/ChatMessages.vue.d.ts +18 -0
- package/dist/runtime/components/ui/chat/ChatPrompt.d.vue.ts +24 -0
- package/dist/runtime/components/ui/chat/ChatPrompt.vue +43 -0
- package/dist/runtime/components/ui/chat/ChatPrompt.vue.d.ts +24 -0
- package/dist/runtime/components/ui/chat/ChatPromptSubmit.d.vue.ts +18 -0
- package/dist/runtime/components/ui/chat/ChatPromptSubmit.vue +41 -0
- package/dist/runtime/components/ui/chat/ChatPromptSubmit.vue.d.ts +18 -0
- package/dist/runtime/components/ui/chat/ChatReasoning.d.vue.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatReasoning.vue +33 -0
- package/dist/runtime/components/ui/chat/ChatReasoning.vue.d.ts +7 -0
- package/dist/runtime/components/ui/chat/ChatToolCall.d.vue.ts +10 -0
- package/dist/runtime/components/ui/chat/ChatToolCall.vue +92 -0
- package/dist/runtime/components/ui/chat/ChatToolCall.vue.d.ts +10 -0
- package/dist/runtime/components/ui/chat/index.d.ts +9 -0
- package/dist/runtime/components/ui/chat/index.js +8 -0
- package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.d.vue.ts +15 -0
- package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.vue +22 -0
- package/dist/runtime/components/ui/stream-markdown/StreamMarkdown.vue.d.ts +15 -0
- package/dist/runtime/components/ui/stream-markdown/index.d.ts +1 -0
- package/dist/runtime/components/ui/stream-markdown/index.js +1 -0
- package/dist/runtime/share/coerce-from-string.d.ts +62 -0
- package/dist/runtime/share/coerce-from-string.js +154 -0
- package/dist/runtime/share/locale.d.ts +13 -7
- package/dist/runtime/share/locale.js +27 -5
- package/dist/runtime/share/use-persisted-chat.d.ts +30 -0
- package/dist/runtime/share/use-persisted-chat.js +34 -0
- package/dist/runtime/utils/ai/index.d.ts +10 -0
- package/dist/runtime/utils/ai/index.js +123 -33
- package/dist/runtime/utils/ai/parts.d.ts +30 -0
- package/dist/runtime/utils/ai/parts.js +9 -0
- package/dist/runtime/utils/cel-context.d.ts +1 -0
- package/dist/runtime/utils/cel-context.js +28 -0
- package/package.json +4 -8
- package/dist/mcp.mjs +0 -102434
- package/dist/preview/assets/FieldGroup.vue_vue_type_script_setup_true_lang-BK4nj6mF.js +0 -1
- package/dist/preview/assets/badge-Df9KgnrB.js +0 -1
- package/dist/preview/assets/config-B3NwVBxT.js +0 -1
- package/dist/preview/assets/config-BrtNnMlJ.js +0 -1
- package/dist/preview/assets/config-CUJNegvX.js +0 -1
- package/dist/preview/assets/config-ChrXUmKf.js +0 -1
- package/dist/preview/assets/config-CmEXMpIU.js +0 -1
- package/dist/preview/assets/config-CrBoFiYB.js +0 -1
- package/dist/preview/assets/config-D-Hf0dls.js +0 -1
- package/dist/preview/assets/config-D4cXwy75.js +0 -1
- package/dist/preview/assets/config-DCj5Qyiq.js +0 -1
- package/dist/preview/assets/config-DPfx03nM.js +0 -1
- package/dist/preview/assets/config-DWF0bcmF.js +0 -1
- package/dist/preview/assets/config-Do4K9hI7.js +0 -1
- package/dist/preview/assets/config-DwblM1r8.js +0 -1
- package/dist/preview/assets/config-MW5Hs8yE.js +0 -1
- package/dist/preview/assets/config-uNoNEc-1.js +0 -1
- package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-CbtpddWK.js +0 -1
- package/dist/preview/assets/index-Bm7I4Tr0.css +0 -1
- package/dist/preview/assets/index-CkyV576r.js +0 -775
- package/dist/preview/assets/index-CtW2E0ME.js +0 -1
- package/dist/preview/assets/index-xDmBF3zO.js +0 -1
- package/dist/preview/assets/item-D0e9Cx1Q.js +0 -1
- package/dist/preview/assets/runtime-3tGIbclh.js +0 -1
- package/dist/preview/assets/runtime-BCePD3XR.js +0 -1
- package/dist/preview/assets/runtime-BMyFUaSM.js +0 -1
- package/dist/preview/assets/runtime-BXZU3EqA.js +0 -1
- package/dist/preview/assets/runtime-BySNFNSO.js +0 -1
- package/dist/preview/assets/runtime-CI02gDFj.js +0 -1
- package/dist/preview/assets/runtime-DCo1Qp8a.js +0 -1
- package/dist/preview/assets/runtime-DDSKV70N.js +0 -1
- package/dist/preview/assets/runtime-Dc7pytUy.js +0 -1
- package/dist/preview/assets/runtime-ckLrkTMm.js +0 -1
- package/dist/preview/assets/runtime-y4oJ8VkY.js +0 -1
- package/dist/preview/assets/schema-meta-D0y0sKal.js +0 -1
- package/dist/preview/index.html +0 -19
|
@@ -20,13 +20,19 @@ export declare const metadata: {
|
|
|
20
20
|
};
|
|
21
21
|
export declare function itemSchema(configure: (env: Environment) => void): Schema.Struct<{
|
|
22
22
|
id: Schema.refine<string, typeof Schema.String>;
|
|
23
|
-
label: Schema.
|
|
24
|
-
locale:
|
|
25
|
-
message:
|
|
26
|
-
}
|
|
27
|
-
locale:
|
|
28
|
-
message:
|
|
29
|
-
}
|
|
23
|
+
label: Schema.suspend<readonly [{
|
|
24
|
+
readonly locale: "zh";
|
|
25
|
+
readonly message: string;
|
|
26
|
+
}, ...{
|
|
27
|
+
readonly locale: "en" | "ja" | "ko";
|
|
28
|
+
readonly message: string;
|
|
29
|
+
}[]], string | readonly [{
|
|
30
|
+
readonly locale: "zh";
|
|
31
|
+
readonly message: string;
|
|
32
|
+
}, ...{
|
|
33
|
+
readonly locale: "en" | "ja" | "ko";
|
|
34
|
+
readonly message: string;
|
|
35
|
+
}[]], never>;
|
|
30
36
|
value: Schema.Union<[Schema.Struct<{
|
|
31
37
|
kind: Schema.Literal<["text"]>;
|
|
32
38
|
value: typeof Schema.String;
|
|
@@ -40,13 +46,19 @@ export declare function itemSchema(configure: (env: Environment) => void): Schem
|
|
|
40
46
|
}, ...{
|
|
41
47
|
readonly locale: "en" | "ja" | "ko";
|
|
42
48
|
readonly message: string;
|
|
43
|
-
}[]], Schema.
|
|
44
|
-
locale:
|
|
45
|
-
message:
|
|
46
|
-
}
|
|
47
|
-
locale:
|
|
48
|
-
message:
|
|
49
|
-
}
|
|
49
|
+
}[]], Schema.suspend<readonly [{
|
|
50
|
+
readonly locale: "zh";
|
|
51
|
+
readonly message: string;
|
|
52
|
+
}, ...{
|
|
53
|
+
readonly locale: "en" | "ja" | "ko";
|
|
54
|
+
readonly message: string;
|
|
55
|
+
}[]], string | readonly [{
|
|
56
|
+
readonly locale: "zh";
|
|
57
|
+
readonly message: string;
|
|
58
|
+
}, ...{
|
|
59
|
+
readonly locale: "en" | "ja" | "ko";
|
|
60
|
+
readonly message: string;
|
|
61
|
+
}[]], never>>>;
|
|
50
62
|
keywords: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
51
63
|
}>;
|
|
52
64
|
export declare function remoteOptionsSchema(configure: (env: Environment) => void): Schema.Struct<{
|
|
@@ -63,13 +75,19 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
63
75
|
kind: Schema.Literal<["static"]>;
|
|
64
76
|
items: Schema.optionalWith<Schema.Array$<Schema.Struct<{
|
|
65
77
|
id: Schema.refine<string, typeof Schema.String>;
|
|
66
|
-
label: Schema.
|
|
67
|
-
locale:
|
|
68
|
-
message:
|
|
69
|
-
}
|
|
70
|
-
locale:
|
|
71
|
-
message:
|
|
72
|
-
}
|
|
78
|
+
label: Schema.suspend<readonly [{
|
|
79
|
+
readonly locale: "zh";
|
|
80
|
+
readonly message: string;
|
|
81
|
+
}, ...{
|
|
82
|
+
readonly locale: "en" | "ja" | "ko";
|
|
83
|
+
readonly message: string;
|
|
84
|
+
}[]], string | readonly [{
|
|
85
|
+
readonly locale: "zh";
|
|
86
|
+
readonly message: string;
|
|
87
|
+
}, ...{
|
|
88
|
+
readonly locale: "en" | "ja" | "ko";
|
|
89
|
+
readonly message: string;
|
|
90
|
+
}[]], never>;
|
|
73
91
|
value: Schema.Union<[Schema.Struct<{
|
|
74
92
|
kind: Schema.Literal<["text"]>;
|
|
75
93
|
value: typeof Schema.String;
|
|
@@ -83,13 +101,19 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
83
101
|
}, ...{
|
|
84
102
|
readonly locale: "en" | "ja" | "ko";
|
|
85
103
|
readonly message: string;
|
|
86
|
-
}[]], Schema.
|
|
87
|
-
locale:
|
|
88
|
-
message:
|
|
89
|
-
}
|
|
90
|
-
locale:
|
|
91
|
-
message:
|
|
92
|
-
}
|
|
104
|
+
}[]], Schema.suspend<readonly [{
|
|
105
|
+
readonly locale: "zh";
|
|
106
|
+
readonly message: string;
|
|
107
|
+
}, ...{
|
|
108
|
+
readonly locale: "en" | "ja" | "ko";
|
|
109
|
+
readonly message: string;
|
|
110
|
+
}[]], string | readonly [{
|
|
111
|
+
readonly locale: "zh";
|
|
112
|
+
readonly message: string;
|
|
113
|
+
}, ...{
|
|
114
|
+
readonly locale: "en" | "ja" | "ko";
|
|
115
|
+
readonly message: string;
|
|
116
|
+
}[]], never>>>;
|
|
93
117
|
keywords: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
94
118
|
}>>, {
|
|
95
119
|
default: () => readonly [];
|
|
@@ -105,27 +129,45 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
105
129
|
optionKeywords: Schema.optional<Schema.Schema<string, string, never>>;
|
|
106
130
|
}>]>;
|
|
107
131
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
108
|
-
label: Schema.optional<Schema.
|
|
109
|
-
locale:
|
|
110
|
-
message:
|
|
111
|
-
}
|
|
112
|
-
locale:
|
|
113
|
-
message:
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
132
|
+
label: Schema.optional<Schema.suspend<readonly [{
|
|
133
|
+
readonly locale: "zh";
|
|
134
|
+
readonly message: string;
|
|
135
|
+
}, ...{
|
|
136
|
+
readonly locale: "en" | "ja" | "ko";
|
|
137
|
+
readonly message: string;
|
|
138
|
+
}[]], string | readonly [{
|
|
139
|
+
readonly locale: "zh";
|
|
140
|
+
readonly message: string;
|
|
141
|
+
}, ...{
|
|
142
|
+
readonly locale: "en" | "ja" | "ko";
|
|
143
|
+
readonly message: string;
|
|
144
|
+
}[]], never>>;
|
|
145
|
+
placeholder: Schema.optional<Schema.suspend<readonly [{
|
|
146
|
+
readonly locale: "zh";
|
|
147
|
+
readonly message: string;
|
|
148
|
+
}, ...{
|
|
149
|
+
readonly locale: "en" | "ja" | "ko";
|
|
150
|
+
readonly message: string;
|
|
151
|
+
}[]], string | readonly [{
|
|
152
|
+
readonly locale: "zh";
|
|
153
|
+
readonly message: string;
|
|
154
|
+
}, ...{
|
|
155
|
+
readonly locale: "en" | "ja" | "ko";
|
|
156
|
+
readonly message: string;
|
|
157
|
+
}[]], never>>;
|
|
158
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
159
|
+
readonly locale: "zh";
|
|
160
|
+
readonly message: string;
|
|
161
|
+
}, ...{
|
|
162
|
+
readonly locale: "en" | "ja" | "ko";
|
|
163
|
+
readonly message: string;
|
|
164
|
+
}[]], string | readonly [{
|
|
165
|
+
readonly locale: "zh";
|
|
166
|
+
readonly message: string;
|
|
167
|
+
}, ...{
|
|
168
|
+
readonly locale: "en" | "ja" | "ko";
|
|
169
|
+
readonly message: string;
|
|
170
|
+
}[]], never>>;
|
|
129
171
|
orientation: Schema.optional<Schema.Literal<["vertical", "floating"]>>;
|
|
130
172
|
binding: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
131
173
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -138,13 +180,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
138
180
|
kind: Schema.Literal<["static"]>;
|
|
139
181
|
items: Schema.optionalWith<Schema.Array$<Schema.Struct<{
|
|
140
182
|
id: Schema.refine<string, typeof Schema.String>;
|
|
141
|
-
label: Schema.
|
|
142
|
-
locale:
|
|
143
|
-
message:
|
|
144
|
-
}
|
|
145
|
-
locale:
|
|
146
|
-
message:
|
|
147
|
-
}
|
|
183
|
+
label: Schema.suspend<readonly [{
|
|
184
|
+
readonly locale: "zh";
|
|
185
|
+
readonly message: string;
|
|
186
|
+
}, ...{
|
|
187
|
+
readonly locale: "en" | "ja" | "ko";
|
|
188
|
+
readonly message: string;
|
|
189
|
+
}[]], string | readonly [{
|
|
190
|
+
readonly locale: "zh";
|
|
191
|
+
readonly message: string;
|
|
192
|
+
}, ...{
|
|
193
|
+
readonly locale: "en" | "ja" | "ko";
|
|
194
|
+
readonly message: string;
|
|
195
|
+
}[]], never>;
|
|
148
196
|
value: Schema.Union<[Schema.Struct<{
|
|
149
197
|
kind: Schema.Literal<["text"]>;
|
|
150
198
|
value: typeof Schema.String;
|
|
@@ -158,13 +206,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
158
206
|
}, ...{
|
|
159
207
|
readonly locale: "en" | "ja" | "ko";
|
|
160
208
|
readonly message: string;
|
|
161
|
-
}[]], Schema.
|
|
162
|
-
locale:
|
|
163
|
-
message:
|
|
164
|
-
}
|
|
165
|
-
locale:
|
|
166
|
-
message:
|
|
167
|
-
}
|
|
209
|
+
}[]], Schema.suspend<readonly [{
|
|
210
|
+
readonly locale: "zh";
|
|
211
|
+
readonly message: string;
|
|
212
|
+
}, ...{
|
|
213
|
+
readonly locale: "en" | "ja" | "ko";
|
|
214
|
+
readonly message: string;
|
|
215
|
+
}[]], string | readonly [{
|
|
216
|
+
readonly locale: "zh";
|
|
217
|
+
readonly message: string;
|
|
218
|
+
}, ...{
|
|
219
|
+
readonly locale: "en" | "ja" | "ko";
|
|
220
|
+
readonly message: string;
|
|
221
|
+
}[]], never>>>;
|
|
168
222
|
keywords: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
169
223
|
}>>, {
|
|
170
224
|
default: () => readonly [];
|
|
@@ -197,13 +251,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
197
251
|
}, ...{
|
|
198
252
|
readonly locale: "en" | "ja" | "ko";
|
|
199
253
|
readonly message: string;
|
|
200
|
-
}[]], Schema.
|
|
201
|
-
locale:
|
|
202
|
-
message:
|
|
203
|
-
}
|
|
204
|
-
locale:
|
|
205
|
-
message:
|
|
206
|
-
}
|
|
254
|
+
}[]], Schema.suspend<readonly [{
|
|
255
|
+
readonly locale: "zh";
|
|
256
|
+
readonly message: string;
|
|
257
|
+
}, ...{
|
|
258
|
+
readonly locale: "en" | "ja" | "ko";
|
|
259
|
+
readonly message: string;
|
|
260
|
+
}[]], string | readonly [{
|
|
261
|
+
readonly locale: "zh";
|
|
262
|
+
readonly message: string;
|
|
263
|
+
}, ...{
|
|
264
|
+
readonly locale: "en" | "ja" | "ko";
|
|
265
|
+
readonly message: string;
|
|
266
|
+
}[]], never>>;
|
|
207
267
|
}>>>;
|
|
208
268
|
type: Schema.Literal<["com.shwfed.form.field.combobox.single"]>;
|
|
209
269
|
compatibilityDate: Schema.Literal<["2026-06-14"]>;
|
package/dist/runtime/components/form/fields/2026-06-20/com.shwfed.form.field.tabs/schema.d.ts
CHANGED
|
@@ -19,13 +19,19 @@ export declare const metadata: {
|
|
|
19
19
|
readonly inlineConfig: false;
|
|
20
20
|
};
|
|
21
21
|
export declare const TabMeta: Schema.Struct<{
|
|
22
|
-
label: Schema.
|
|
23
|
-
locale:
|
|
24
|
-
message:
|
|
25
|
-
}
|
|
26
|
-
locale:
|
|
27
|
-
message:
|
|
28
|
-
}
|
|
22
|
+
label: Schema.suspend<readonly [{
|
|
23
|
+
readonly locale: "zh";
|
|
24
|
+
readonly message: string;
|
|
25
|
+
}, ...{
|
|
26
|
+
readonly locale: "en" | "ja" | "ko";
|
|
27
|
+
readonly message: string;
|
|
28
|
+
}[]], string | readonly [{
|
|
29
|
+
readonly locale: "zh";
|
|
30
|
+
readonly message: string;
|
|
31
|
+
}, ...{
|
|
32
|
+
readonly locale: "en" | "ja" | "ko";
|
|
33
|
+
readonly message: string;
|
|
34
|
+
}[]], never>;
|
|
29
35
|
}>;
|
|
30
36
|
/**
|
|
31
37
|
* A tabbed grouping. Pure view — children of each tab stay flat in the form
|
|
@@ -65,13 +71,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
65
71
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
66
72
|
layouts: ReadonlyArray<import("../../../schema.js").LayoutSetValue>;
|
|
67
73
|
}>, never>;
|
|
68
|
-
label: Schema.
|
|
69
|
-
locale:
|
|
70
|
-
message:
|
|
71
|
-
}
|
|
72
|
-
locale:
|
|
73
|
-
message:
|
|
74
|
-
}
|
|
74
|
+
label: Schema.suspend<readonly [{
|
|
75
|
+
readonly locale: "zh";
|
|
76
|
+
readonly message: string;
|
|
77
|
+
}, ...{
|
|
78
|
+
readonly locale: "en" | "ja" | "ko";
|
|
79
|
+
readonly message: string;
|
|
80
|
+
}[]], string | readonly [{
|
|
81
|
+
readonly locale: "zh";
|
|
82
|
+
readonly message: string;
|
|
83
|
+
}, ...{
|
|
84
|
+
readonly locale: "en" | "ja" | "ko";
|
|
85
|
+
readonly message: string;
|
|
86
|
+
}[]], never>;
|
|
75
87
|
id: Schema.refine<string, typeof Schema.String>;
|
|
76
88
|
}>>>>;
|
|
77
89
|
}>;
|
|
@@ -16,13 +16,19 @@ export declare function validationRuleStruct(configure: (env: Environment) => vo
|
|
|
16
16
|
}, ...{
|
|
17
17
|
readonly locale: "en" | "ja" | "ko";
|
|
18
18
|
readonly message: string;
|
|
19
|
-
}[]], Schema.
|
|
20
|
-
locale:
|
|
21
|
-
message:
|
|
22
|
-
}
|
|
23
|
-
locale:
|
|
24
|
-
message:
|
|
25
|
-
}
|
|
19
|
+
}[]], Schema.suspend<readonly [{
|
|
20
|
+
readonly locale: "zh";
|
|
21
|
+
readonly message: string;
|
|
22
|
+
}, ...{
|
|
23
|
+
readonly locale: "en" | "ja" | "ko";
|
|
24
|
+
readonly message: string;
|
|
25
|
+
}[]], string | readonly [{
|
|
26
|
+
readonly locale: "zh";
|
|
27
|
+
readonly message: string;
|
|
28
|
+
}, ...{
|
|
29
|
+
readonly locale: "en" | "ja" | "ko";
|
|
30
|
+
readonly message: string;
|
|
31
|
+
}[]], never>>;
|
|
26
32
|
}>;
|
|
27
33
|
export declare function commonFieldFields(configure: (env: Environment) => void): {
|
|
28
34
|
id: Schema.refine<string, typeof Schema.String>;
|
|
@@ -38,13 +44,19 @@ export declare function commonFieldFields(configure: (env: Environment) => void)
|
|
|
38
44
|
}, ...{
|
|
39
45
|
readonly locale: "en" | "ja" | "ko";
|
|
40
46
|
readonly message: string;
|
|
41
|
-
}[]], Schema.
|
|
42
|
-
locale:
|
|
43
|
-
message:
|
|
44
|
-
}
|
|
45
|
-
locale:
|
|
46
|
-
message:
|
|
47
|
-
}
|
|
47
|
+
}[]], Schema.suspend<readonly [{
|
|
48
|
+
readonly locale: "zh";
|
|
49
|
+
readonly message: string;
|
|
50
|
+
}, ...{
|
|
51
|
+
readonly locale: "en" | "ja" | "ko";
|
|
52
|
+
readonly message: string;
|
|
53
|
+
}[]], string | readonly [{
|
|
54
|
+
readonly locale: "zh";
|
|
55
|
+
readonly message: string;
|
|
56
|
+
}, ...{
|
|
57
|
+
readonly locale: "en" | "ja" | "ko";
|
|
58
|
+
readonly message: string;
|
|
59
|
+
}[]], never>>;
|
|
48
60
|
}>>>;
|
|
49
61
|
};
|
|
50
62
|
export declare const FIELD_ORIENTATIONS: readonly ["vertical", "floating"];
|
package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.d.ts
CHANGED
|
@@ -7,13 +7,19 @@ export declare const metadata: {
|
|
|
7
7
|
readonly icon: "fluent:chat-warning-20-regular";
|
|
8
8
|
};
|
|
9
9
|
export declare function schema(_configure: (env: Environment) => void): Schema.Struct<{
|
|
10
|
-
message: Schema.
|
|
11
|
-
locale:
|
|
12
|
-
message:
|
|
13
|
-
}
|
|
14
|
-
locale:
|
|
15
|
-
message:
|
|
16
|
-
}
|
|
10
|
+
message: Schema.suspend<readonly [{
|
|
11
|
+
readonly locale: "zh";
|
|
12
|
+
readonly message: string;
|
|
13
|
+
}, ...{
|
|
14
|
+
readonly locale: "en" | "ja" | "ko";
|
|
15
|
+
readonly message: string;
|
|
16
|
+
}[]], string | readonly [{
|
|
17
|
+
readonly locale: "zh";
|
|
18
|
+
readonly message: string;
|
|
19
|
+
}, ...{
|
|
20
|
+
readonly locale: "en" | "ja" | "ko";
|
|
21
|
+
readonly message: string;
|
|
22
|
+
}[]], never>;
|
|
17
23
|
icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
18
24
|
color: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
19
25
|
}>;
|
|
@@ -11,13 +11,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
11
11
|
expression: Schema.Schema<string, string, never>;
|
|
12
12
|
resultExpression: Schema.optional<Schema.Schema<string, string, never>>;
|
|
13
13
|
titleExpression: Schema.optional<Schema.Schema<string, string, never>>;
|
|
14
|
-
description: Schema.optional<Schema.
|
|
15
|
-
locale:
|
|
16
|
-
message:
|
|
17
|
-
}
|
|
18
|
-
locale:
|
|
19
|
-
message:
|
|
20
|
-
}
|
|
14
|
+
description: Schema.optional<Schema.suspend<readonly [{
|
|
15
|
+
readonly locale: "zh";
|
|
16
|
+
readonly message: string;
|
|
17
|
+
}, ...{
|
|
18
|
+
readonly locale: "en" | "ja" | "ko";
|
|
19
|
+
readonly message: string;
|
|
20
|
+
}[]], string | readonly [{
|
|
21
|
+
readonly locale: "zh";
|
|
22
|
+
readonly message: string;
|
|
23
|
+
}, ...{
|
|
24
|
+
readonly locale: "en" | "ja" | "ko";
|
|
25
|
+
readonly message: string;
|
|
26
|
+
}[]], never>>;
|
|
21
27
|
}>;
|
|
22
28
|
export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
|
|
23
29
|
export declare function defaults(): Partial<Value>;
|
package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts
CHANGED
|
@@ -10,13 +10,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
10
10
|
expression: Schema.Schema<string, string, never>;
|
|
11
11
|
resultExpression: Schema.optional<Schema.Schema<string, string, never>>;
|
|
12
12
|
titleExpression: Schema.optional<Schema.Schema<string, string, never>>;
|
|
13
|
-
description: Schema.optional<Schema.
|
|
14
|
-
locale:
|
|
15
|
-
message:
|
|
16
|
-
}
|
|
17
|
-
locale:
|
|
18
|
-
message:
|
|
19
|
-
}
|
|
13
|
+
description: Schema.optional<Schema.suspend<readonly [{
|
|
14
|
+
readonly locale: "zh";
|
|
15
|
+
readonly message: string;
|
|
16
|
+
}, ...{
|
|
17
|
+
readonly locale: "en" | "ja" | "ko";
|
|
18
|
+
readonly message: string;
|
|
19
|
+
}[]], string | readonly [{
|
|
20
|
+
readonly locale: "zh";
|
|
21
|
+
readonly message: string;
|
|
22
|
+
}, ...{
|
|
23
|
+
readonly locale: "en" | "ja" | "ko";
|
|
24
|
+
readonly message: string;
|
|
25
|
+
}[]], never>>;
|
|
20
26
|
}>;
|
|
21
27
|
export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
|
|
22
28
|
export declare function defaults(): Partial<Value>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Environment } from '../../vendor/cel-js/lib/index.js';
|
|
2
|
+
type AnyRecord = Record<string, any>;
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
configure?: (env: Environment) => void;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
modelValue: AnyRecord;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: AnyRecord) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: AnyRecord) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getSystemTemplate(): string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import rawSystem from "./ai-generate.system.md?raw";
|
|
2
|
+
let template = rawSystem;
|
|
3
|
+
if (import.meta.hot) {
|
|
4
|
+
import.meta.hot.accept("./ai-generate.system.md?raw", (mod) => {
|
|
5
|
+
if (typeof mod?.default === "string") template = mod.default;
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
export function getSystemTemplate() {
|
|
9
|
+
return template;
|
|
10
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
帮助用户进行配置表格。你的回复可以使用 CommonMark。你应该按照:确认既存配置、变更新增配置、验证配置结果的循环进行。
|
|
2
|
+
|
|
3
|
+
## 处理 API 接口
|
|
4
|
+
|
|
5
|
+
用户可能发送给你 API 接口信息。根据 API 接口可以配置如下内容
|
|
6
|
+
|
|
7
|
+
- 通用配置
|
|
8
|
+
- 列
|
|
9
|
+
- 搜索条件
|
|
10
|
+
|
|
11
|
+
### 配置通用配置
|
|
12
|
+
|
|
13
|
+
利用 API 接口名字等相关信息,配置表格 `displayName`。
|
|
14
|
+
|
|
15
|
+
根据 API 接口,构造 `dataSource` 相关字段。对于 `request` 应当形如
|
|
16
|
+
|
|
17
|
+
```cel
|
|
18
|
+
http
|
|
19
|
+
.post('<construct full URL>') // use .get if request is in GET method
|
|
20
|
+
|
|
21
|
+
// API doc might use env var surrounded by double brackets, these are NOT AVAILABLE in CEL, you should use the `hostname` var instead, e.g., `.get(hostname + '/foo/bar')`
|
|
22
|
+
|
|
23
|
+
.header('<key>', '<value>') // use this to set request header
|
|
24
|
+
|
|
25
|
+
.query(query) // `query` represents all the table search conditions, put it as the first query
|
|
26
|
+
.query('<key>', '<value>') // .query method signature: .query(string, string | number | optional<string> | optional<number> | dyn)
|
|
27
|
+
|
|
28
|
+
// API doc might contain demonstration purpose query, DO NOT hardcode
|
|
29
|
+
// same name query will NOT overwrite, but form URL like `&foo=bar&foo=zoo`
|
|
30
|
+
|
|
31
|
+
// if the API supports pagination, you might need to use `pageIndex` and `pageSize` to pass pagination info to the backend, like `.query('page_index', pageIndex + 1).query('page_size', pageSize)`, be aware the `pageIndex` var starts from 0
|
|
32
|
+
|
|
33
|
+
// if the request is POST, you can set `.body`, it's signature is `.body(dyn)`
|
|
34
|
+
// if you're gonna sent JSON request, remember to set `.header('Content-Type', 'application/json')` where header name is case-insensitive following RFC.
|
|
35
|
+
.body({
|
|
36
|
+
// ...
|
|
37
|
+
})
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
对于 `data` 应当指向 Response 的列表,比如对于下面的这个响应,`data` 应当设置为 `json.?data.?list`
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"code": 0,
|
|
45
|
+
"data": {
|
|
46
|
+
"list": [
|
|
47
|
+
{
|
|
48
|
+
"foo": "bar",
|
|
49
|
+
"buz": {
|
|
50
|
+
"bao": "zoo"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"total": 100,
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
对于 `total`,应当指向 Response 中服务器查询到的**总数**,对于上述例子是 `json.?data.?total` 如果你没有找到对应的字段,这个字段可以不填写,并且调用工具将分页功能关闭。
|
|
60
|
+
|
|
61
|
+
### 配置列
|
|
62
|
+
|
|
63
|
+
你应该寻找到最外侧的列表。这个列表的每一个元素,通常代表了一行。而其中的每个字段,通常代表了一列。
|
|
64
|
+
|
|
65
|
+
调用工具,选取合适的类型。你应该首要考虑文本、数值、日期类型。
|
|
66
|
+
|
|
67
|
+
对于只读的字段,你需要配置 `accessor`,可以使用 `row` 变量,`row` 特指当前行。`accessor` 应该**相对于列表元素**来写,不需要再重复访问列表字段本身。使用 CEL 的 optional 语法,如 `row.?foo.?bar`。
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{
|
|
71
|
+
"code": 0,
|
|
72
|
+
"data": {
|
|
73
|
+
"list": [
|
|
74
|
+
{
|
|
75
|
+
"foo": "bar",
|
|
76
|
+
"buz": {
|
|
77
|
+
"bao": "zoo"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
对于上述例子,如果需要展示 `bar` 这个值作为一列,其 `accessor` 应为 `row.?foo`;如果需要展示 `zoo` 这个值作为一列,其 `accessor` 应为 `row.?buz.?bao`。
|
|
86
|
+
|
|
87
|
+
你应当选取至少一列,并且设置它的 `grow` 为 `true`。
|
|
88
|
+
|
|
89
|
+
对于金额类型的字段:使用数字类型的列;将其 `align` 设置为 `right`;将其 `displayMode` 设置为 `monoThousand`;设置一个合理的宽度,如 200 或 `grow` 为 `true`。
|
|
90
|
+
|
|
91
|
+
对于普通的数字:使用数字类型的列;将其 `align` 设置为 `center`。
|
|
92
|
+
|
|
93
|
+
对于日期、时间类型的字段:使用日期类型的列;对于时间,设置列宽为 140;对于日期,设置列宽为 120;将其 `align` 设置为 `center`。
|
|
94
|
+
|
|
95
|
+
对于用户名、ID、各种类型等较短字段,酌情将其 `align` 设置为 `center`。
|