@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
|
@@ -3,7 +3,7 @@ import { Effect } from "effect";
|
|
|
3
3
|
import { computed } from "vue";
|
|
4
4
|
import { useI18n } from "vue-i18n";
|
|
5
5
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
6
|
-
import {
|
|
6
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
7
7
|
import { useFormReadonly } from "../../../../form/utils/readonly";
|
|
8
8
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
9
9
|
import { Switch } from "../../../../ui/switch";
|
|
@@ -16,7 +16,7 @@ const props = defineProps({
|
|
|
16
16
|
});
|
|
17
17
|
const { locale } = useI18n();
|
|
18
18
|
const inherited = injectCELContext();
|
|
19
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
19
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
20
20
|
function evalBool(expression, label) {
|
|
21
21
|
if (!expression) return false;
|
|
22
22
|
try {
|
|
@@ -14,43 +14,67 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
14
14
|
}>;
|
|
15
15
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
16
16
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
17
|
-
trueLabel: Schema.optional<Schema.
|
|
18
|
-
locale:
|
|
19
|
-
message:
|
|
20
|
-
}
|
|
21
|
-
locale:
|
|
22
|
-
message:
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
17
|
+
trueLabel: Schema.optional<Schema.suspend<readonly [{
|
|
18
|
+
readonly locale: "zh";
|
|
19
|
+
readonly message: string;
|
|
20
|
+
}, ...{
|
|
21
|
+
readonly locale: "en" | "ja" | "ko";
|
|
22
|
+
readonly message: string;
|
|
23
|
+
}[]], string | readonly [{
|
|
24
|
+
readonly locale: "zh";
|
|
25
|
+
readonly message: string;
|
|
26
|
+
}, ...{
|
|
27
|
+
readonly locale: "en" | "ja" | "ko";
|
|
28
|
+
readonly message: string;
|
|
29
|
+
}[]], never>>;
|
|
30
|
+
falseLabel: Schema.optional<Schema.suspend<readonly [{
|
|
31
|
+
readonly locale: "zh";
|
|
32
|
+
readonly message: string;
|
|
33
|
+
}, ...{
|
|
34
|
+
readonly locale: "en" | "ja" | "ko";
|
|
35
|
+
readonly message: string;
|
|
36
|
+
}[]], string | readonly [{
|
|
37
|
+
readonly locale: "zh";
|
|
38
|
+
readonly message: string;
|
|
39
|
+
}, ...{
|
|
40
|
+
readonly locale: "en" | "ja" | "ko";
|
|
41
|
+
readonly message: string;
|
|
42
|
+
}[]], never>>;
|
|
31
43
|
derived: Schema.optional<Schema.Struct<{
|
|
32
44
|
mode: Schema.Literal<["formula", "prefill"]>;
|
|
33
45
|
expression: Schema.Schema<string, string, never>;
|
|
34
46
|
}>>;
|
|
35
|
-
title: Schema.
|
|
36
|
-
locale:
|
|
37
|
-
message:
|
|
38
|
-
}
|
|
39
|
-
locale:
|
|
40
|
-
message:
|
|
41
|
-
}
|
|
47
|
+
title: 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>;
|
|
42
60
|
binding: Schema.refine<string, typeof Schema.String>;
|
|
43
61
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
44
62
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
45
63
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
46
64
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
47
|
-
tooltip: Schema.optional<Schema.
|
|
48
|
-
locale:
|
|
49
|
-
message:
|
|
50
|
-
}
|
|
51
|
-
locale:
|
|
52
|
-
message:
|
|
53
|
-
}
|
|
65
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
66
|
+
readonly locale: "zh";
|
|
67
|
+
readonly message: string;
|
|
68
|
+
}, ...{
|
|
69
|
+
readonly locale: "en" | "ja" | "ko";
|
|
70
|
+
readonly message: string;
|
|
71
|
+
}[]], string | readonly [{
|
|
72
|
+
readonly locale: "zh";
|
|
73
|
+
readonly message: string;
|
|
74
|
+
}, ...{
|
|
75
|
+
readonly locale: "en" | "ja" | "ko";
|
|
76
|
+
readonly message: string;
|
|
77
|
+
}[]], never>>;
|
|
54
78
|
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
55
79
|
id: Schema.refine<string, typeof Schema.String>;
|
|
56
80
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
@@ -4,7 +4,7 @@ import { computed, ref, watch } from "vue";
|
|
|
4
4
|
import { useI18n } from "vue-i18n";
|
|
5
5
|
import { Icon } from "@iconify/vue";
|
|
6
6
|
import { cel as $cel } 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 {
|
|
@@ -30,7 +30,7 @@ const placeholderText = computed(
|
|
|
30
30
|
function evalBool(expression, label) {
|
|
31
31
|
if (!expression) return false;
|
|
32
32
|
try {
|
|
33
|
-
return Effect.runSync($cel(expression,
|
|
33
|
+
return Effect.runSync($cel(expression, celScope(celContext))) === true;
|
|
34
34
|
} catch (e) {
|
|
35
35
|
console.error(`[shwfed-table] text-input ${label} failed`, e);
|
|
36
36
|
return false;
|
|
@@ -12,13 +12,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
12
12
|
align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
|
|
13
13
|
default: () => "left";
|
|
14
14
|
}>;
|
|
15
|
-
placeholder: Schema.optional<Schema.
|
|
16
|
-
locale:
|
|
17
|
-
message:
|
|
18
|
-
}
|
|
19
|
-
locale:
|
|
20
|
-
message:
|
|
21
|
-
}
|
|
15
|
+
placeholder: Schema.optional<Schema.suspend<readonly [{
|
|
16
|
+
readonly locale: "zh";
|
|
17
|
+
readonly message: string;
|
|
18
|
+
}, ...{
|
|
19
|
+
readonly locale: "en" | "ja" | "ko";
|
|
20
|
+
readonly message: string;
|
|
21
|
+
}[]], string | readonly [{
|
|
22
|
+
readonly locale: "zh";
|
|
23
|
+
readonly message: string;
|
|
24
|
+
}, ...{
|
|
25
|
+
readonly locale: "en" | "ja" | "ko";
|
|
26
|
+
readonly message: string;
|
|
27
|
+
}[]], never>>;
|
|
22
28
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
23
29
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
24
30
|
derived: Schema.optional<Schema.Struct<{
|
|
@@ -91,7 +97,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
91
97
|
readonly hideTitle?: boolean | undefined;
|
|
92
98
|
}, import("../../../../actions/schema.js").RegistryItemValue | {
|
|
93
99
|
readonly id: string;
|
|
94
|
-
readonly title: readonly [{
|
|
100
|
+
readonly title: string | readonly [{
|
|
95
101
|
readonly locale: "zh";
|
|
96
102
|
readonly message: string;
|
|
97
103
|
}, ...{
|
|
@@ -102,7 +108,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
102
108
|
readonly disabled?: string | undefined;
|
|
103
109
|
readonly icon?: string | undefined;
|
|
104
110
|
readonly hidden?: string | undefined;
|
|
105
|
-
readonly tooltip?: readonly [{
|
|
111
|
+
readonly tooltip?: string | readonly [{
|
|
106
112
|
readonly locale: "zh";
|
|
107
113
|
readonly message: string;
|
|
108
114
|
}, ...{
|
|
@@ -114,7 +120,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
114
120
|
readonly hideTitle?: boolean | undefined;
|
|
115
121
|
} | {
|
|
116
122
|
readonly id: string;
|
|
117
|
-
readonly title: readonly [{
|
|
123
|
+
readonly title: string | readonly [{
|
|
118
124
|
readonly locale: "zh";
|
|
119
125
|
readonly message: string;
|
|
120
126
|
}, ...{
|
|
@@ -123,7 +129,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
123
129
|
}[]];
|
|
124
130
|
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
125
131
|
readonly id: string;
|
|
126
|
-
readonly title: readonly [{
|
|
132
|
+
readonly title: string | readonly [{
|
|
127
133
|
readonly locale: "zh";
|
|
128
134
|
readonly message: string;
|
|
129
135
|
}, ...{
|
|
@@ -133,7 +139,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
133
139
|
readonly disabled?: string | undefined;
|
|
134
140
|
readonly icon?: string | undefined;
|
|
135
141
|
readonly hidden?: string | undefined;
|
|
136
|
-
readonly tooltip?: readonly [{
|
|
142
|
+
readonly tooltip?: string | readonly [{
|
|
137
143
|
readonly locale: "zh";
|
|
138
144
|
readonly message: string;
|
|
139
145
|
}, ...{
|
|
@@ -157,25 +163,37 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
157
163
|
}>;
|
|
158
164
|
style: Schema.optional<typeof Schema.String>;
|
|
159
165
|
}>>;
|
|
160
|
-
title: Schema.
|
|
161
|
-
locale:
|
|
162
|
-
message:
|
|
163
|
-
}
|
|
164
|
-
locale:
|
|
165
|
-
message:
|
|
166
|
-
}
|
|
166
|
+
title: Schema.suspend<readonly [{
|
|
167
|
+
readonly locale: "zh";
|
|
168
|
+
readonly message: string;
|
|
169
|
+
}, ...{
|
|
170
|
+
readonly locale: "en" | "ja" | "ko";
|
|
171
|
+
readonly message: string;
|
|
172
|
+
}[]], string | readonly [{
|
|
173
|
+
readonly locale: "zh";
|
|
174
|
+
readonly message: string;
|
|
175
|
+
}, ...{
|
|
176
|
+
readonly locale: "en" | "ja" | "ko";
|
|
177
|
+
readonly message: string;
|
|
178
|
+
}[]], never>;
|
|
167
179
|
binding: Schema.refine<string, typeof Schema.String>;
|
|
168
180
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
169
181
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
170
182
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
171
183
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
172
|
-
tooltip: Schema.optional<Schema.
|
|
173
|
-
locale:
|
|
174
|
-
message:
|
|
175
|
-
}
|
|
176
|
-
locale:
|
|
177
|
-
message:
|
|
178
|
-
}
|
|
184
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
185
|
+
readonly locale: "zh";
|
|
186
|
+
readonly message: string;
|
|
187
|
+
}, ...{
|
|
188
|
+
readonly locale: "en" | "ja" | "ko";
|
|
189
|
+
readonly message: string;
|
|
190
|
+
}[]], string | readonly [{
|
|
191
|
+
readonly locale: "zh";
|
|
192
|
+
readonly message: string;
|
|
193
|
+
}, ...{
|
|
194
|
+
readonly locale: "en" | "ja" | "ko";
|
|
195
|
+
readonly message: string;
|
|
196
|
+
}[]], never>>;
|
|
179
197
|
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
180
198
|
id: Schema.refine<string, typeof Schema.String>;
|
|
181
199
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
@@ -8,7 +8,7 @@ import { computed, nextTick, ref, watch } 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 { getLocalizedText } from "../../../../../share/locale";
|
|
14
14
|
import { dispatchTriggers, useEventChannel } from "../../../../../share/event-bus";
|
|
@@ -54,7 +54,7 @@ const { locale, t } = useI18n({
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
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 eventChannel = useEventChannel();
|
|
59
59
|
const sharedFetchLayer = useSharedFetchLayer();
|
|
60
60
|
const row = computed(() => props.ctx.row.original);
|
|
@@ -19,13 +19,19 @@ export declare const JSON_VAR: {
|
|
|
19
19
|
readonly description: "HTTP 响应体(已解析 JSON);请求失败或尚未完成时为 `null`";
|
|
20
20
|
};
|
|
21
21
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
22
|
-
placeholder: Schema.optional<Schema.
|
|
23
|
-
locale:
|
|
24
|
-
message:
|
|
25
|
-
}
|
|
26
|
-
locale:
|
|
27
|
-
message:
|
|
28
|
-
}
|
|
22
|
+
placeholder: Schema.optional<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
|
hidden: Schema.optional<Schema.Schema<string, string, never>>;
|
|
30
36
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
31
37
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -40,13 +46,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
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
|
default: () => readonly [{
|
|
51
63
|
readonly locale: "zh";
|
|
52
64
|
readonly message: "";
|
|
@@ -61,25 +73,37 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
61
73
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
62
74
|
params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
|
|
63
75
|
}>>>;
|
|
64
|
-
title: Schema.
|
|
65
|
-
locale:
|
|
66
|
-
message:
|
|
67
|
-
}
|
|
68
|
-
locale:
|
|
69
|
-
message:
|
|
70
|
-
}
|
|
76
|
+
title: Schema.suspend<readonly [{
|
|
77
|
+
readonly locale: "zh";
|
|
78
|
+
readonly message: string;
|
|
79
|
+
}, ...{
|
|
80
|
+
readonly locale: "en" | "ja" | "ko";
|
|
81
|
+
readonly message: string;
|
|
82
|
+
}[]], string | readonly [{
|
|
83
|
+
readonly locale: "zh";
|
|
84
|
+
readonly message: string;
|
|
85
|
+
}, ...{
|
|
86
|
+
readonly locale: "en" | "ja" | "ko";
|
|
87
|
+
readonly message: string;
|
|
88
|
+
}[]], never>;
|
|
71
89
|
accessor: Schema.optional<Schema.Schema<string, string, never>>;
|
|
72
90
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
73
91
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
74
92
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
75
93
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
76
|
-
tooltip: Schema.optional<Schema.
|
|
77
|
-
locale:
|
|
78
|
-
message:
|
|
79
|
-
}
|
|
80
|
-
locale:
|
|
81
|
-
message:
|
|
82
|
-
}
|
|
94
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
95
|
+
readonly locale: "zh";
|
|
96
|
+
readonly message: string;
|
|
97
|
+
}, ...{
|
|
98
|
+
readonly locale: "en" | "ja" | "ko";
|
|
99
|
+
readonly message: string;
|
|
100
|
+
}[]], string | readonly [{
|
|
101
|
+
readonly locale: "zh";
|
|
102
|
+
readonly message: string;
|
|
103
|
+
}, ...{
|
|
104
|
+
readonly locale: "en" | "ja" | "ko";
|
|
105
|
+
readonly message: string;
|
|
106
|
+
}[]], never>>;
|
|
83
107
|
id: Schema.refine<string, typeof Schema.String>;
|
|
84
108
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
85
109
|
type: Schema.Literal<["com.shwfed.table.column.combobox-single.remote.options-remote"]>;
|
|
@@ -6,7 +6,7 @@ import { toast } from "vue-sonner";
|
|
|
6
6
|
import { computed, nextTick, ref, watch } from "vue";
|
|
7
7
|
import { useI18n } from "vue-i18n";
|
|
8
8
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
9
|
-
import {
|
|
9
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
10
10
|
import { useFormReadonly } from "../../../../form/utils/readonly";
|
|
11
11
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
12
12
|
import { dispatchTriggers, useEventChannel } from "../../../../../share/event-bus";
|
|
@@ -48,7 +48,7 @@ const { locale, t } = useI18n({
|
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
const inherited = injectCELContext();
|
|
51
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
51
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
52
52
|
const eventChannel = useEventChannel();
|
|
53
53
|
const placeholderText = computed(
|
|
54
54
|
() => props.column.placeholder ? getLocalizedText(props.column.placeholder, locale.value) : t("combobox-single-placeholder")
|
|
@@ -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,22 +42,34 @@ 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 schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
48
|
-
placeholder: Schema.optional<Schema.
|
|
49
|
-
locale:
|
|
50
|
-
message:
|
|
51
|
-
}
|
|
52
|
-
locale:
|
|
53
|
-
message:
|
|
54
|
-
}
|
|
60
|
+
placeholder: Schema.optional<Schema.suspend<readonly [{
|
|
61
|
+
readonly locale: "zh";
|
|
62
|
+
readonly message: string;
|
|
63
|
+
}, ...{
|
|
64
|
+
readonly locale: "en" | "ja" | "ko";
|
|
65
|
+
readonly message: string;
|
|
66
|
+
}[]], string | readonly [{
|
|
67
|
+
readonly locale: "zh";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
}, ...{
|
|
70
|
+
readonly locale: "en" | "ja" | "ko";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}[]], never>>;
|
|
55
73
|
hidden: Schema.optional<Schema.Schema<string, string, never>>;
|
|
56
74
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
57
75
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
@@ -63,13 +81,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
63
81
|
}, ...{
|
|
64
82
|
readonly locale: "en" | "ja" | "ko";
|
|
65
83
|
readonly message: string;
|
|
66
|
-
}[]], Schema.
|
|
67
|
-
locale:
|
|
68
|
-
message:
|
|
69
|
-
}
|
|
70
|
-
locale:
|
|
71
|
-
message:
|
|
72
|
-
}
|
|
84
|
+
}[]], Schema.suspend<readonly [{
|
|
85
|
+
readonly locale: "zh";
|
|
86
|
+
readonly message: string;
|
|
87
|
+
}, ...{
|
|
88
|
+
readonly locale: "en" | "ja" | "ko";
|
|
89
|
+
readonly message: string;
|
|
90
|
+
}[]], string | readonly [{
|
|
91
|
+
readonly locale: "zh";
|
|
92
|
+
readonly message: string;
|
|
93
|
+
}, ...{
|
|
94
|
+
readonly locale: "en" | "ja" | "ko";
|
|
95
|
+
readonly message: string;
|
|
96
|
+
}[]], never>>;
|
|
73
97
|
value: Schema.Union<[Schema.Struct<{
|
|
74
98
|
kind: Schema.Literal<["text"]>;
|
|
75
99
|
value: typeof Schema.String;
|
|
@@ -83,13 +107,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
83
107
|
}, ...{
|
|
84
108
|
readonly locale: "en" | "ja" | "ko";
|
|
85
109
|
readonly message: string;
|
|
86
|
-
}[]], Schema.
|
|
87
|
-
locale:
|
|
88
|
-
message:
|
|
89
|
-
}
|
|
90
|
-
locale:
|
|
91
|
-
message:
|
|
92
|
-
}
|
|
110
|
+
}[]], Schema.suspend<readonly [{
|
|
111
|
+
readonly locale: "zh";
|
|
112
|
+
readonly message: string;
|
|
113
|
+
}, ...{
|
|
114
|
+
readonly locale: "en" | "ja" | "ko";
|
|
115
|
+
readonly message: string;
|
|
116
|
+
}[]], string | readonly [{
|
|
117
|
+
readonly locale: "zh";
|
|
118
|
+
readonly message: string;
|
|
119
|
+
}, ...{
|
|
120
|
+
readonly locale: "en" | "ja" | "ko";
|
|
121
|
+
readonly message: string;
|
|
122
|
+
}[]], never>>>;
|
|
93
123
|
}>>, {
|
|
94
124
|
default: () => readonly [];
|
|
95
125
|
}>;
|
|
@@ -102,25 +132,37 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
102
132
|
compatibilityDate: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
103
133
|
params: Schema.optional<Schema.SchemaClass<unknown, unknown, never>>;
|
|
104
134
|
}>>>;
|
|
105
|
-
title: Schema.
|
|
106
|
-
locale:
|
|
107
|
-
message:
|
|
108
|
-
}
|
|
109
|
-
locale:
|
|
110
|
-
message:
|
|
111
|
-
}
|
|
135
|
+
title: Schema.suspend<readonly [{
|
|
136
|
+
readonly locale: "zh";
|
|
137
|
+
readonly message: string;
|
|
138
|
+
}, ...{
|
|
139
|
+
readonly locale: "en" | "ja" | "ko";
|
|
140
|
+
readonly message: string;
|
|
141
|
+
}[]], string | readonly [{
|
|
142
|
+
readonly locale: "zh";
|
|
143
|
+
readonly message: string;
|
|
144
|
+
}, ...{
|
|
145
|
+
readonly locale: "en" | "ja" | "ko";
|
|
146
|
+
readonly message: string;
|
|
147
|
+
}[]], never>;
|
|
112
148
|
accessor: Schema.optional<Schema.Schema<string, string, never>>;
|
|
113
149
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
114
150
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
115
151
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
116
152
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
117
|
-
tooltip: Schema.optional<Schema.
|
|
118
|
-
locale:
|
|
119
|
-
message:
|
|
120
|
-
}
|
|
121
|
-
locale:
|
|
122
|
-
message:
|
|
123
|
-
}
|
|
153
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
154
|
+
readonly locale: "zh";
|
|
155
|
+
readonly message: string;
|
|
156
|
+
}, ...{
|
|
157
|
+
readonly locale: "en" | "ja" | "ko";
|
|
158
|
+
readonly message: string;
|
|
159
|
+
}[]], string | readonly [{
|
|
160
|
+
readonly locale: "zh";
|
|
161
|
+
readonly message: string;
|
|
162
|
+
}, ...{
|
|
163
|
+
readonly locale: "en" | "ja" | "ko";
|
|
164
|
+
readonly message: string;
|
|
165
|
+
}[]], never>>;
|
|
124
166
|
id: Schema.refine<string, typeof Schema.String>;
|
|
125
167
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
126
168
|
type: Schema.Literal<["com.shwfed.table.column.combobox-single.remote.options-static"]>;
|
|
@@ -4,7 +4,7 @@ import { Effect } from "effect";
|
|
|
4
4
|
import { computed, ref, 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 {
|
|
@@ -47,7 +47,7 @@ const { locale, t } = useI18n({
|
|
|
47
47
|
});
|
|
48
48
|
const formState = useFormState();
|
|
49
49
|
const inherited = injectCELContext();
|
|
50
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
50
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
51
51
|
const placeholderText = computed(
|
|
52
52
|
() => props.column.placeholder ? getLocalizedText(props.column.placeholder, locale.value) : t("combobox-multi-placeholder")
|
|
53
53
|
);
|