@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
|
@@ -16,13 +16,19 @@ export declare function itemSchema(configure: (env: Environment) => void): Schem
|
|
|
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
|
value: Schema.Union<[Schema.Struct<{
|
|
27
33
|
kind: Schema.Literal<["text"]>;
|
|
28
34
|
value: typeof Schema.String;
|
|
@@ -36,13 +42,19 @@ export declare function itemSchema(configure: (env: Environment) => void): Schem
|
|
|
36
42
|
}, ...{
|
|
37
43
|
readonly locale: "en" | "ja" | "ko";
|
|
38
44
|
readonly message: string;
|
|
39
|
-
}[]], Schema.
|
|
40
|
-
locale:
|
|
41
|
-
message:
|
|
42
|
-
}
|
|
43
|
-
locale:
|
|
44
|
-
message:
|
|
45
|
-
}
|
|
45
|
+
}[]], Schema.suspend<readonly [{
|
|
46
|
+
readonly locale: "zh";
|
|
47
|
+
readonly message: string;
|
|
48
|
+
}, ...{
|
|
49
|
+
readonly locale: "en" | "ja" | "ko";
|
|
50
|
+
readonly message: string;
|
|
51
|
+
}[]], string | readonly [{
|
|
52
|
+
readonly locale: "zh";
|
|
53
|
+
readonly message: string;
|
|
54
|
+
}, ...{
|
|
55
|
+
readonly locale: "en" | "ja" | "ko";
|
|
56
|
+
readonly message: string;
|
|
57
|
+
}[]], never>>>;
|
|
46
58
|
}>;
|
|
47
59
|
export declare function remoteOptionsSchema(configure: (env: Environment) => void): Schema.Struct<{
|
|
48
60
|
kind: Schema.Literal<["remote"]>;
|
|
@@ -57,13 +69,19 @@ export declare function remoteOptionsSchema(configure: (env: Environment) => voi
|
|
|
57
69
|
}, ...{
|
|
58
70
|
readonly locale: "en" | "ja" | "ko";
|
|
59
71
|
readonly message: string;
|
|
60
|
-
}[]], Schema.
|
|
61
|
-
locale:
|
|
62
|
-
message:
|
|
63
|
-
}
|
|
64
|
-
locale:
|
|
65
|
-
message:
|
|
66
|
-
}
|
|
72
|
+
}[]], Schema.suspend<readonly [{
|
|
73
|
+
readonly locale: "zh";
|
|
74
|
+
readonly message: string;
|
|
75
|
+
}, ...{
|
|
76
|
+
readonly locale: "en" | "ja" | "ko";
|
|
77
|
+
readonly message: string;
|
|
78
|
+
}[]], string | readonly [{
|
|
79
|
+
readonly locale: "zh";
|
|
80
|
+
readonly message: string;
|
|
81
|
+
}, ...{
|
|
82
|
+
readonly locale: "en" | "ja" | "ko";
|
|
83
|
+
readonly message: string;
|
|
84
|
+
}[]], never>>, {
|
|
67
85
|
default: () => readonly [{
|
|
68
86
|
readonly locale: "zh";
|
|
69
87
|
readonly message: "";
|
|
@@ -80,13 +98,19 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
80
98
|
}, ...{
|
|
81
99
|
readonly locale: "en" | "ja" | "ko";
|
|
82
100
|
readonly message: string;
|
|
83
|
-
}[]], Schema.
|
|
84
|
-
locale:
|
|
85
|
-
message:
|
|
86
|
-
}
|
|
87
|
-
locale:
|
|
88
|
-
message:
|
|
89
|
-
}
|
|
101
|
+
}[]], Schema.suspend<readonly [{
|
|
102
|
+
readonly locale: "zh";
|
|
103
|
+
readonly message: string;
|
|
104
|
+
}, ...{
|
|
105
|
+
readonly locale: "en" | "ja" | "ko";
|
|
106
|
+
readonly message: string;
|
|
107
|
+
}[]], string | readonly [{
|
|
108
|
+
readonly locale: "zh";
|
|
109
|
+
readonly message: string;
|
|
110
|
+
}, ...{
|
|
111
|
+
readonly locale: "en" | "ja" | "ko";
|
|
112
|
+
readonly message: string;
|
|
113
|
+
}[]], never>>;
|
|
90
114
|
value: Schema.Union<[Schema.Struct<{
|
|
91
115
|
kind: Schema.Literal<["text"]>;
|
|
92
116
|
value: typeof Schema.String;
|
|
@@ -100,13 +124,19 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
100
124
|
}, ...{
|
|
101
125
|
readonly locale: "en" | "ja" | "ko";
|
|
102
126
|
readonly message: string;
|
|
103
|
-
}[]], Schema.
|
|
104
|
-
locale:
|
|
105
|
-
message:
|
|
106
|
-
}
|
|
107
|
-
locale:
|
|
108
|
-
message:
|
|
109
|
-
}
|
|
127
|
+
}[]], Schema.suspend<readonly [{
|
|
128
|
+
readonly locale: "zh";
|
|
129
|
+
readonly message: string;
|
|
130
|
+
}, ...{
|
|
131
|
+
readonly locale: "en" | "ja" | "ko";
|
|
132
|
+
readonly message: string;
|
|
133
|
+
}[]], string | readonly [{
|
|
134
|
+
readonly locale: "zh";
|
|
135
|
+
readonly message: string;
|
|
136
|
+
}, ...{
|
|
137
|
+
readonly locale: "en" | "ja" | "ko";
|
|
138
|
+
readonly message: string;
|
|
139
|
+
}[]], never>>>;
|
|
110
140
|
}>>, {
|
|
111
141
|
default: () => readonly [];
|
|
112
142
|
}>;
|
|
@@ -123,13 +153,19 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
123
153
|
}, ...{
|
|
124
154
|
readonly locale: "en" | "ja" | "ko";
|
|
125
155
|
readonly message: string;
|
|
126
|
-
}[]], Schema.
|
|
127
|
-
locale:
|
|
128
|
-
message:
|
|
129
|
-
}
|
|
130
|
-
locale:
|
|
131
|
-
message:
|
|
132
|
-
}
|
|
156
|
+
}[]], Schema.suspend<readonly [{
|
|
157
|
+
readonly locale: "zh";
|
|
158
|
+
readonly message: string;
|
|
159
|
+
}, ...{
|
|
160
|
+
readonly locale: "en" | "ja" | "ko";
|
|
161
|
+
readonly message: string;
|
|
162
|
+
}[]], string | readonly [{
|
|
163
|
+
readonly locale: "zh";
|
|
164
|
+
readonly message: string;
|
|
165
|
+
}, ...{
|
|
166
|
+
readonly locale: "en" | "ja" | "ko";
|
|
167
|
+
readonly message: string;
|
|
168
|
+
}[]], never>>, {
|
|
133
169
|
default: () => readonly [{
|
|
134
170
|
readonly locale: "zh";
|
|
135
171
|
readonly message: "";
|
|
@@ -137,13 +173,19 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
137
173
|
}>;
|
|
138
174
|
}>]>;
|
|
139
175
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
140
|
-
placeholder: Schema.optional<Schema.
|
|
141
|
-
locale:
|
|
142
|
-
message:
|
|
143
|
-
}
|
|
144
|
-
locale:
|
|
145
|
-
message:
|
|
146
|
-
}
|
|
176
|
+
placeholder: Schema.optional<Schema.suspend<readonly [{
|
|
177
|
+
readonly locale: "zh";
|
|
178
|
+
readonly message: string;
|
|
179
|
+
}, ...{
|
|
180
|
+
readonly locale: "en" | "ja" | "ko";
|
|
181
|
+
readonly message: string;
|
|
182
|
+
}[]], string | readonly [{
|
|
183
|
+
readonly locale: "zh";
|
|
184
|
+
readonly message: string;
|
|
185
|
+
}, ...{
|
|
186
|
+
readonly locale: "en" | "ja" | "ko";
|
|
187
|
+
readonly message: string;
|
|
188
|
+
}[]], never>>;
|
|
147
189
|
hidden: Schema.optional<Schema.Schema<string, string, never>>;
|
|
148
190
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
149
191
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -157,13 +199,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
157
199
|
}, ...{
|
|
158
200
|
readonly locale: "en" | "ja" | "ko";
|
|
159
201
|
readonly message: string;
|
|
160
|
-
}[]], Schema.
|
|
161
|
-
locale:
|
|
162
|
-
message:
|
|
163
|
-
}
|
|
164
|
-
locale:
|
|
165
|
-
message:
|
|
166
|
-
}
|
|
202
|
+
}[]], Schema.suspend<readonly [{
|
|
203
|
+
readonly locale: "zh";
|
|
204
|
+
readonly message: string;
|
|
205
|
+
}, ...{
|
|
206
|
+
readonly locale: "en" | "ja" | "ko";
|
|
207
|
+
readonly message: string;
|
|
208
|
+
}[]], string | readonly [{
|
|
209
|
+
readonly locale: "zh";
|
|
210
|
+
readonly message: string;
|
|
211
|
+
}, ...{
|
|
212
|
+
readonly locale: "en" | "ja" | "ko";
|
|
213
|
+
readonly message: string;
|
|
214
|
+
}[]], never>>;
|
|
167
215
|
value: Schema.Union<[Schema.Struct<{
|
|
168
216
|
kind: Schema.Literal<["text"]>;
|
|
169
217
|
value: typeof Schema.String;
|
|
@@ -177,13 +225,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
177
225
|
}, ...{
|
|
178
226
|
readonly locale: "en" | "ja" | "ko";
|
|
179
227
|
readonly message: string;
|
|
180
|
-
}[]], Schema.
|
|
181
|
-
locale:
|
|
182
|
-
message:
|
|
183
|
-
}
|
|
184
|
-
locale:
|
|
185
|
-
message:
|
|
186
|
-
}
|
|
228
|
+
}[]], Schema.suspend<readonly [{
|
|
229
|
+
readonly locale: "zh";
|
|
230
|
+
readonly message: string;
|
|
231
|
+
}, ...{
|
|
232
|
+
readonly locale: "en" | "ja" | "ko";
|
|
233
|
+
readonly message: string;
|
|
234
|
+
}[]], string | readonly [{
|
|
235
|
+
readonly locale: "zh";
|
|
236
|
+
readonly message: string;
|
|
237
|
+
}, ...{
|
|
238
|
+
readonly locale: "en" | "ja" | "ko";
|
|
239
|
+
readonly message: string;
|
|
240
|
+
}[]], never>>>;
|
|
187
241
|
}>>, {
|
|
188
242
|
default: () => readonly [];
|
|
189
243
|
}>;
|
|
@@ -200,13 +254,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
200
254
|
}, ...{
|
|
201
255
|
readonly locale: "en" | "ja" | "ko";
|
|
202
256
|
readonly message: string;
|
|
203
|
-
}[]], Schema.
|
|
204
|
-
locale:
|
|
205
|
-
message:
|
|
206
|
-
}
|
|
207
|
-
locale:
|
|
208
|
-
message:
|
|
209
|
-
}
|
|
257
|
+
}[]], Schema.suspend<readonly [{
|
|
258
|
+
readonly locale: "zh";
|
|
259
|
+
readonly message: string;
|
|
260
|
+
}, ...{
|
|
261
|
+
readonly locale: "en" | "ja" | "ko";
|
|
262
|
+
readonly message: string;
|
|
263
|
+
}[]], string | readonly [{
|
|
264
|
+
readonly locale: "zh";
|
|
265
|
+
readonly message: string;
|
|
266
|
+
}, ...{
|
|
267
|
+
readonly locale: "en" | "ja" | "ko";
|
|
268
|
+
readonly message: string;
|
|
269
|
+
}[]], never>>, {
|
|
210
270
|
default: () => readonly [{
|
|
211
271
|
readonly locale: "zh";
|
|
212
272
|
readonly message: "";
|
|
@@ -227,25 +287,37 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
227
287
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
228
288
|
params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
|
|
229
289
|
}>>>;
|
|
230
|
-
title: Schema.
|
|
231
|
-
locale:
|
|
232
|
-
message:
|
|
233
|
-
}
|
|
234
|
-
locale:
|
|
235
|
-
message:
|
|
236
|
-
}
|
|
290
|
+
title: Schema.suspend<readonly [{
|
|
291
|
+
readonly locale: "zh";
|
|
292
|
+
readonly message: string;
|
|
293
|
+
}, ...{
|
|
294
|
+
readonly locale: "en" | "ja" | "ko";
|
|
295
|
+
readonly message: string;
|
|
296
|
+
}[]], string | readonly [{
|
|
297
|
+
readonly locale: "zh";
|
|
298
|
+
readonly message: string;
|
|
299
|
+
}, ...{
|
|
300
|
+
readonly locale: "en" | "ja" | "ko";
|
|
301
|
+
readonly message: string;
|
|
302
|
+
}[]], never>;
|
|
237
303
|
accessor: Schema.optional<Schema.Schema<string, string, never>>;
|
|
238
304
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
239
305
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
240
306
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
241
307
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
242
|
-
tooltip: Schema.optional<Schema.
|
|
243
|
-
locale:
|
|
244
|
-
message:
|
|
245
|
-
}
|
|
246
|
-
locale:
|
|
247
|
-
message:
|
|
248
|
-
}
|
|
308
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
309
|
+
readonly locale: "zh";
|
|
310
|
+
readonly message: string;
|
|
311
|
+
}, ...{
|
|
312
|
+
readonly locale: "en" | "ja" | "ko";
|
|
313
|
+
readonly message: string;
|
|
314
|
+
}[]], string | readonly [{
|
|
315
|
+
readonly locale: "zh";
|
|
316
|
+
readonly message: string;
|
|
317
|
+
}, ...{
|
|
318
|
+
readonly locale: "en" | "ja" | "ko";
|
|
319
|
+
readonly message: string;
|
|
320
|
+
}[]], never>>;
|
|
249
321
|
id: Schema.refine<string, typeof Schema.String>;
|
|
250
322
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
251
323
|
type: Schema.Literal<["com.shwfed.table.column.combobox-single.remote"]>;
|
|
@@ -4,7 +4,7 @@ import { Effect, Fiber, Option } from "effect";
|
|
|
4
4
|
import { computed, ref, shallowRef, watch } from "vue";
|
|
5
5
|
import { useI18n } from "vue-i18n";
|
|
6
6
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
7
|
-
import {
|
|
7
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
8
8
|
import { useFormReadonly } from "../../../../form/utils/readonly";
|
|
9
9
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
10
10
|
import { fetchJsonOption } from "../../../../../share/request";
|
|
@@ -54,7 +54,7 @@ const { locale, t } = useI18n({
|
|
|
54
54
|
});
|
|
55
55
|
const formState = useFormState();
|
|
56
56
|
const inherited = injectCELContext();
|
|
57
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
57
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
58
58
|
const sharedFetchLayer = useSharedFetchLayer();
|
|
59
59
|
const row = computed(() => props.ctx.row.original);
|
|
60
60
|
const rowIndex = computed(() => props.ctx.row.index);
|
|
@@ -9,13 +9,19 @@ export declare const metadata: {
|
|
|
9
9
|
readonly icon: "fluent:tree-evergreen-20-regular";
|
|
10
10
|
};
|
|
11
11
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
12
|
-
placeholder: Schema.optional<Schema.
|
|
13
|
-
locale:
|
|
14
|
-
message:
|
|
15
|
-
}
|
|
16
|
-
locale:
|
|
17
|
-
message:
|
|
18
|
-
}
|
|
12
|
+
placeholder: Schema.optional<Schema.suspend<readonly [{
|
|
13
|
+
readonly locale: "zh";
|
|
14
|
+
readonly message: string;
|
|
15
|
+
}, ...{
|
|
16
|
+
readonly locale: "en" | "ja" | "ko";
|
|
17
|
+
readonly message: string;
|
|
18
|
+
}[]], string | readonly [{
|
|
19
|
+
readonly locale: "zh";
|
|
20
|
+
readonly message: string;
|
|
21
|
+
}, ...{
|
|
22
|
+
readonly locale: "en" | "ja" | "ko";
|
|
23
|
+
readonly message: string;
|
|
24
|
+
}[]], never>>;
|
|
19
25
|
hidden: Schema.optional<Schema.Schema<string, string, never>>;
|
|
20
26
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
21
27
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -35,26 +41,38 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
35
41
|
}, ...{
|
|
36
42
|
readonly locale: "en" | "ja" | "ko";
|
|
37
43
|
readonly message: string;
|
|
38
|
-
}[]], Schema.
|
|
39
|
-
locale:
|
|
40
|
-
message:
|
|
41
|
-
}
|
|
42
|
-
locale:
|
|
43
|
-
message:
|
|
44
|
-
}
|
|
44
|
+
}[]], Schema.suspend<readonly [{
|
|
45
|
+
readonly locale: "zh";
|
|
46
|
+
readonly message: string;
|
|
47
|
+
}, ...{
|
|
48
|
+
readonly locale: "en" | "ja" | "ko";
|
|
49
|
+
readonly message: string;
|
|
50
|
+
}[]], string | readonly [{
|
|
51
|
+
readonly locale: "zh";
|
|
52
|
+
readonly message: string;
|
|
53
|
+
}, ...{
|
|
54
|
+
readonly locale: "en" | "ja" | "ko";
|
|
55
|
+
readonly message: string;
|
|
56
|
+
}[]], never>>;
|
|
45
57
|
nodeTooltip: Schema.optional<Schema.refine<readonly [{
|
|
46
58
|
readonly locale: "zh";
|
|
47
59
|
readonly message: string;
|
|
48
60
|
}, ...{
|
|
49
61
|
readonly locale: "en" | "ja" | "ko";
|
|
50
62
|
readonly message: string;
|
|
51
|
-
}[]], Schema.
|
|
52
|
-
locale:
|
|
53
|
-
message:
|
|
54
|
-
}
|
|
55
|
-
locale:
|
|
56
|
-
message:
|
|
57
|
-
}
|
|
63
|
+
}[]], Schema.suspend<readonly [{
|
|
64
|
+
readonly locale: "zh";
|
|
65
|
+
readonly message: string;
|
|
66
|
+
}, ...{
|
|
67
|
+
readonly locale: "en" | "ja" | "ko";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
}[]], string | readonly [{
|
|
70
|
+
readonly locale: "zh";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}, ...{
|
|
73
|
+
readonly locale: "en" | "ja" | "ko";
|
|
74
|
+
readonly message: string;
|
|
75
|
+
}[]], never>>>;
|
|
58
76
|
nodeSelectable: Schema.optional<Schema.Schema<string, string, never>>;
|
|
59
77
|
cascade: Schema.optionalWith<Schema.Literal<["independent", "cascade-down", "cascade-both"]>, {
|
|
60
78
|
default: () => "independent";
|
|
@@ -62,25 +80,37 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
62
80
|
expandAll: Schema.optionalWith<typeof Schema.Boolean, {
|
|
63
81
|
default: () => false;
|
|
64
82
|
}>;
|
|
65
|
-
title: Schema.
|
|
66
|
-
locale:
|
|
67
|
-
message:
|
|
68
|
-
}
|
|
69
|
-
locale:
|
|
70
|
-
message:
|
|
71
|
-
}
|
|
83
|
+
title: Schema.suspend<readonly [{
|
|
84
|
+
readonly locale: "zh";
|
|
85
|
+
readonly message: string;
|
|
86
|
+
}, ...{
|
|
87
|
+
readonly locale: "en" | "ja" | "ko";
|
|
88
|
+
readonly message: string;
|
|
89
|
+
}[]], string | readonly [{
|
|
90
|
+
readonly locale: "zh";
|
|
91
|
+
readonly message: string;
|
|
92
|
+
}, ...{
|
|
93
|
+
readonly locale: "en" | "ja" | "ko";
|
|
94
|
+
readonly message: string;
|
|
95
|
+
}[]], never>;
|
|
72
96
|
binding: Schema.refine<string, typeof Schema.String>;
|
|
73
97
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
74
98
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
75
99
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
76
100
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
77
|
-
tooltip: Schema.optional<Schema.
|
|
78
|
-
locale:
|
|
79
|
-
message:
|
|
80
|
-
}
|
|
81
|
-
locale:
|
|
82
|
-
message:
|
|
83
|
-
}
|
|
101
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
102
|
+
readonly locale: "zh";
|
|
103
|
+
readonly message: string;
|
|
104
|
+
}, ...{
|
|
105
|
+
readonly locale: "en" | "ja" | "ko";
|
|
106
|
+
readonly message: string;
|
|
107
|
+
}[]], string | readonly [{
|
|
108
|
+
readonly locale: "zh";
|
|
109
|
+
readonly message: string;
|
|
110
|
+
}, ...{
|
|
111
|
+
readonly locale: "en" | "ja" | "ko";
|
|
112
|
+
readonly message: string;
|
|
113
|
+
}[]], never>>;
|
|
84
114
|
id: Schema.refine<string, typeof Schema.String>;
|
|
85
115
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
86
116
|
type: Schema.Literal<["com.shwfed.table.column.tree-combobox-multi"]>;
|
|
@@ -4,7 +4,7 @@ import { Effect, Fiber, Option } from "effect";
|
|
|
4
4
|
import { computed, ref, shallowRef, watch } from "vue";
|
|
5
5
|
import { useI18n } from "vue-i18n";
|
|
6
6
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
7
|
-
import {
|
|
7
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
8
8
|
import { useFormReadonly } from "../../../../form/utils/readonly";
|
|
9
9
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
10
10
|
import { fetchJsonOption } from "../../../../../share/request";
|
|
@@ -54,7 +54,7 @@ const { locale, t } = useI18n({
|
|
|
54
54
|
});
|
|
55
55
|
const formState = useFormState();
|
|
56
56
|
const inherited = injectCELContext();
|
|
57
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
57
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
58
58
|
const sharedFetchLayer = useSharedFetchLayer();
|
|
59
59
|
const row = computed(() => props.ctx.row.original);
|
|
60
60
|
const rowIndex = computed(() => props.ctx.row.index);
|
|
@@ -9,13 +9,19 @@ export declare const metadata: {
|
|
|
9
9
|
readonly icon: "fluent:tree-evergreen-20-regular";
|
|
10
10
|
};
|
|
11
11
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
12
|
-
placeholder: Schema.optional<Schema.
|
|
13
|
-
locale:
|
|
14
|
-
message:
|
|
15
|
-
}
|
|
16
|
-
locale:
|
|
17
|
-
message:
|
|
18
|
-
}
|
|
12
|
+
placeholder: Schema.optional<Schema.suspend<readonly [{
|
|
13
|
+
readonly locale: "zh";
|
|
14
|
+
readonly message: string;
|
|
15
|
+
}, ...{
|
|
16
|
+
readonly locale: "en" | "ja" | "ko";
|
|
17
|
+
readonly message: string;
|
|
18
|
+
}[]], string | readonly [{
|
|
19
|
+
readonly locale: "zh";
|
|
20
|
+
readonly message: string;
|
|
21
|
+
}, ...{
|
|
22
|
+
readonly locale: "en" | "ja" | "ko";
|
|
23
|
+
readonly message: string;
|
|
24
|
+
}[]], never>>;
|
|
19
25
|
hidden: Schema.optional<Schema.Schema<string, string, never>>;
|
|
20
26
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
21
27
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -35,49 +41,73 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
35
41
|
}, ...{
|
|
36
42
|
readonly locale: "en" | "ja" | "ko";
|
|
37
43
|
readonly message: string;
|
|
38
|
-
}[]], Schema.
|
|
39
|
-
locale:
|
|
40
|
-
message:
|
|
41
|
-
}
|
|
42
|
-
locale:
|
|
43
|
-
message:
|
|
44
|
-
}
|
|
44
|
+
}[]], Schema.suspend<readonly [{
|
|
45
|
+
readonly locale: "zh";
|
|
46
|
+
readonly message: string;
|
|
47
|
+
}, ...{
|
|
48
|
+
readonly locale: "en" | "ja" | "ko";
|
|
49
|
+
readonly message: string;
|
|
50
|
+
}[]], string | readonly [{
|
|
51
|
+
readonly locale: "zh";
|
|
52
|
+
readonly message: string;
|
|
53
|
+
}, ...{
|
|
54
|
+
readonly locale: "en" | "ja" | "ko";
|
|
55
|
+
readonly message: string;
|
|
56
|
+
}[]], never>>;
|
|
45
57
|
nodeTooltip: Schema.optional<Schema.refine<readonly [{
|
|
46
58
|
readonly locale: "zh";
|
|
47
59
|
readonly message: string;
|
|
48
60
|
}, ...{
|
|
49
61
|
readonly locale: "en" | "ja" | "ko";
|
|
50
62
|
readonly message: string;
|
|
51
|
-
}[]], Schema.
|
|
52
|
-
locale:
|
|
53
|
-
message:
|
|
54
|
-
}
|
|
55
|
-
locale:
|
|
56
|
-
message:
|
|
57
|
-
}
|
|
63
|
+
}[]], Schema.suspend<readonly [{
|
|
64
|
+
readonly locale: "zh";
|
|
65
|
+
readonly message: string;
|
|
66
|
+
}, ...{
|
|
67
|
+
readonly locale: "en" | "ja" | "ko";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
}[]], string | readonly [{
|
|
70
|
+
readonly locale: "zh";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}, ...{
|
|
73
|
+
readonly locale: "en" | "ja" | "ko";
|
|
74
|
+
readonly message: string;
|
|
75
|
+
}[]], never>>>;
|
|
58
76
|
nodeSelectable: Schema.optional<Schema.Schema<string, string, never>>;
|
|
59
77
|
expandAll: Schema.optionalWith<typeof Schema.Boolean, {
|
|
60
78
|
default: () => false;
|
|
61
79
|
}>;
|
|
62
|
-
title: Schema.
|
|
63
|
-
locale:
|
|
64
|
-
message:
|
|
65
|
-
}
|
|
66
|
-
locale:
|
|
67
|
-
message:
|
|
68
|
-
}
|
|
80
|
+
title: Schema.suspend<readonly [{
|
|
81
|
+
readonly locale: "zh";
|
|
82
|
+
readonly message: string;
|
|
83
|
+
}, ...{
|
|
84
|
+
readonly locale: "en" | "ja" | "ko";
|
|
85
|
+
readonly message: string;
|
|
86
|
+
}[]], string | readonly [{
|
|
87
|
+
readonly locale: "zh";
|
|
88
|
+
readonly message: string;
|
|
89
|
+
}, ...{
|
|
90
|
+
readonly locale: "en" | "ja" | "ko";
|
|
91
|
+
readonly message: string;
|
|
92
|
+
}[]], never>;
|
|
69
93
|
binding: Schema.refine<string, typeof Schema.String>;
|
|
70
94
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
71
95
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
72
96
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
73
97
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
74
|
-
tooltip: Schema.optional<Schema.
|
|
75
|
-
locale:
|
|
76
|
-
message:
|
|
77
|
-
}
|
|
78
|
-
locale:
|
|
79
|
-
message:
|
|
80
|
-
}
|
|
98
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
99
|
+
readonly locale: "zh";
|
|
100
|
+
readonly message: string;
|
|
101
|
+
}, ...{
|
|
102
|
+
readonly locale: "en" | "ja" | "ko";
|
|
103
|
+
readonly message: string;
|
|
104
|
+
}[]], string | readonly [{
|
|
105
|
+
readonly locale: "zh";
|
|
106
|
+
readonly message: string;
|
|
107
|
+
}, ...{
|
|
108
|
+
readonly locale: "en" | "ja" | "ko";
|
|
109
|
+
readonly message: string;
|
|
110
|
+
}[]], never>>;
|
|
81
111
|
id: Schema.refine<string, typeof Schema.String>;
|
|
82
112
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
83
113
|
type: Schema.Literal<["com.shwfed.table.column.tree-combobox-single"]>;
|
|
@@ -8,7 +8,7 @@ import { computed, ref } from "vue";
|
|
|
8
8
|
import { useI18n } from "vue-i18n";
|
|
9
9
|
import { asRequest, fetchJsonOption } from "../../../../../share/request";
|
|
10
10
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
11
|
-
import {
|
|
11
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
12
12
|
import { useFormReadonly } from "../../../../form/utils/readonly";
|
|
13
13
|
import { publishSelection } from "../../../../../utils/selections-registry";
|
|
14
14
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
@@ -57,7 +57,7 @@ const { locale, t } = useI18n({
|
|
|
57
57
|
});
|
|
58
58
|
const formState = useFormState();
|
|
59
59
|
const inherited = injectCELContext();
|
|
60
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
60
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
61
61
|
const eventChannel = useEventChannel();
|
|
62
62
|
const sharedFetchLayer = useSharedFetchLayer();
|
|
63
63
|
const row = computed(() => props.ctx.row.original);
|