@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
|
@@ -11,13 +11,19 @@ export declare const metadata: {
|
|
|
11
11
|
};
|
|
12
12
|
export declare function itemSchema(configure: (env: Environment) => void): Schema.Struct<{
|
|
13
13
|
id: Schema.refine<string, typeof Schema.String>;
|
|
14
|
-
label: Schema.
|
|
15
|
-
locale:
|
|
16
|
-
message:
|
|
17
|
-
}
|
|
18
|
-
locale:
|
|
19
|
-
message:
|
|
20
|
-
}
|
|
14
|
+
label: Schema.suspend<readonly [{
|
|
15
|
+
readonly locale: "zh";
|
|
16
|
+
readonly message: string;
|
|
17
|
+
}, ...{
|
|
18
|
+
readonly locale: "en" | "ja" | "ko";
|
|
19
|
+
readonly message: string;
|
|
20
|
+
}[]], string | readonly [{
|
|
21
|
+
readonly locale: "zh";
|
|
22
|
+
readonly message: string;
|
|
23
|
+
}, ...{
|
|
24
|
+
readonly locale: "en" | "ja" | "ko";
|
|
25
|
+
readonly message: string;
|
|
26
|
+
}[]], never>;
|
|
21
27
|
value: Schema.Union<[Schema.Struct<{
|
|
22
28
|
kind: Schema.Literal<["text"]>;
|
|
23
29
|
value: typeof Schema.String;
|
|
@@ -31,13 +37,19 @@ export declare function itemSchema(configure: (env: Environment) => void): Schem
|
|
|
31
37
|
}, ...{
|
|
32
38
|
readonly locale: "en" | "ja" | "ko";
|
|
33
39
|
readonly message: string;
|
|
34
|
-
}[]], Schema.
|
|
35
|
-
locale:
|
|
36
|
-
message:
|
|
37
|
-
}
|
|
38
|
-
locale:
|
|
39
|
-
message:
|
|
40
|
-
}
|
|
40
|
+
}[]], Schema.suspend<readonly [{
|
|
41
|
+
readonly locale: "zh";
|
|
42
|
+
readonly message: string;
|
|
43
|
+
}, ...{
|
|
44
|
+
readonly locale: "en" | "ja" | "ko";
|
|
45
|
+
readonly message: string;
|
|
46
|
+
}[]], string | readonly [{
|
|
47
|
+
readonly locale: "zh";
|
|
48
|
+
readonly message: string;
|
|
49
|
+
}, ...{
|
|
50
|
+
readonly locale: "en" | "ja" | "ko";
|
|
51
|
+
readonly message: string;
|
|
52
|
+
}[]], never>>>;
|
|
41
53
|
keywords: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
42
54
|
}>;
|
|
43
55
|
export declare function remoteOptionsSchema(configure: (env: Environment) => void): Schema.Struct<{
|
|
@@ -54,13 +66,19 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
54
66
|
kind: Schema.Literal<["static"]>;
|
|
55
67
|
items: Schema.optionalWith<Schema.Array$<Schema.Struct<{
|
|
56
68
|
id: Schema.refine<string, typeof Schema.String>;
|
|
57
|
-
label: Schema.
|
|
58
|
-
locale:
|
|
59
|
-
message:
|
|
60
|
-
}
|
|
61
|
-
locale:
|
|
62
|
-
message:
|
|
63
|
-
}
|
|
69
|
+
label: Schema.suspend<readonly [{
|
|
70
|
+
readonly locale: "zh";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}, ...{
|
|
73
|
+
readonly locale: "en" | "ja" | "ko";
|
|
74
|
+
readonly message: string;
|
|
75
|
+
}[]], string | readonly [{
|
|
76
|
+
readonly locale: "zh";
|
|
77
|
+
readonly message: string;
|
|
78
|
+
}, ...{
|
|
79
|
+
readonly locale: "en" | "ja" | "ko";
|
|
80
|
+
readonly message: string;
|
|
81
|
+
}[]], never>;
|
|
64
82
|
value: Schema.Union<[Schema.Struct<{
|
|
65
83
|
kind: Schema.Literal<["text"]>;
|
|
66
84
|
value: typeof Schema.String;
|
|
@@ -74,13 +92,19 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
74
92
|
}, ...{
|
|
75
93
|
readonly locale: "en" | "ja" | "ko";
|
|
76
94
|
readonly message: string;
|
|
77
|
-
}[]], Schema.
|
|
78
|
-
locale:
|
|
79
|
-
message:
|
|
80
|
-
}
|
|
81
|
-
locale:
|
|
82
|
-
message:
|
|
83
|
-
}
|
|
95
|
+
}[]], Schema.suspend<readonly [{
|
|
96
|
+
readonly locale: "zh";
|
|
97
|
+
readonly message: string;
|
|
98
|
+
}, ...{
|
|
99
|
+
readonly locale: "en" | "ja" | "ko";
|
|
100
|
+
readonly message: string;
|
|
101
|
+
}[]], string | readonly [{
|
|
102
|
+
readonly locale: "zh";
|
|
103
|
+
readonly message: string;
|
|
104
|
+
}, ...{
|
|
105
|
+
readonly locale: "en" | "ja" | "ko";
|
|
106
|
+
readonly message: string;
|
|
107
|
+
}[]], never>>>;
|
|
84
108
|
keywords: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
85
109
|
}>>, {
|
|
86
110
|
default: () => readonly [];
|
|
@@ -112,48 +136,72 @@ export declare function writeSchema(configure: (env: Environment) => void): Sche
|
|
|
112
136
|
}>>>;
|
|
113
137
|
}>]>;
|
|
114
138
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
115
|
-
title: Schema.
|
|
116
|
-
locale:
|
|
117
|
-
message:
|
|
118
|
-
}
|
|
119
|
-
locale:
|
|
120
|
-
message:
|
|
121
|
-
}
|
|
139
|
+
title: Schema.suspend<readonly [{
|
|
140
|
+
readonly locale: "zh";
|
|
141
|
+
readonly message: string;
|
|
142
|
+
}, ...{
|
|
143
|
+
readonly locale: "en" | "ja" | "ko";
|
|
144
|
+
readonly message: string;
|
|
145
|
+
}[]], string | readonly [{
|
|
146
|
+
readonly locale: "zh";
|
|
147
|
+
readonly message: string;
|
|
148
|
+
}, ...{
|
|
149
|
+
readonly locale: "en" | "ja" | "ko";
|
|
150
|
+
readonly message: string;
|
|
151
|
+
}[]], never>;
|
|
122
152
|
align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
|
|
123
153
|
default: () => "left";
|
|
124
154
|
}>;
|
|
125
|
-
placeholder: Schema.optional<Schema.
|
|
126
|
-
locale:
|
|
127
|
-
message:
|
|
128
|
-
}
|
|
129
|
-
locale:
|
|
130
|
-
message:
|
|
131
|
-
}
|
|
155
|
+
placeholder: Schema.optional<Schema.suspend<readonly [{
|
|
156
|
+
readonly locale: "zh";
|
|
157
|
+
readonly message: string;
|
|
158
|
+
}, ...{
|
|
159
|
+
readonly locale: "en" | "ja" | "ko";
|
|
160
|
+
readonly message: string;
|
|
161
|
+
}[]], string | readonly [{
|
|
162
|
+
readonly locale: "zh";
|
|
163
|
+
readonly message: string;
|
|
164
|
+
}, ...{
|
|
165
|
+
readonly locale: "en" | "ja" | "ko";
|
|
166
|
+
readonly message: string;
|
|
167
|
+
}[]], never>>;
|
|
132
168
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
133
169
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
134
170
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
135
171
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
136
172
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
137
173
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
138
|
-
tooltip: Schema.optional<Schema.
|
|
139
|
-
locale:
|
|
140
|
-
message:
|
|
141
|
-
}
|
|
142
|
-
locale:
|
|
143
|
-
message:
|
|
144
|
-
}
|
|
174
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
175
|
+
readonly locale: "zh";
|
|
176
|
+
readonly message: string;
|
|
177
|
+
}, ...{
|
|
178
|
+
readonly locale: "en" | "ja" | "ko";
|
|
179
|
+
readonly message: string;
|
|
180
|
+
}[]], string | readonly [{
|
|
181
|
+
readonly locale: "zh";
|
|
182
|
+
readonly message: string;
|
|
183
|
+
}, ...{
|
|
184
|
+
readonly locale: "en" | "ja" | "ko";
|
|
185
|
+
readonly message: string;
|
|
186
|
+
}[]], never>>;
|
|
145
187
|
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
146
188
|
options: Schema.optionalWith<Schema.Union<[Schema.Struct<{
|
|
147
189
|
kind: Schema.Literal<["static"]>;
|
|
148
190
|
items: Schema.optionalWith<Schema.Array$<Schema.Struct<{
|
|
149
191
|
id: Schema.refine<string, typeof Schema.String>;
|
|
150
|
-
label: Schema.
|
|
151
|
-
locale:
|
|
152
|
-
message:
|
|
153
|
-
}
|
|
154
|
-
locale:
|
|
155
|
-
message:
|
|
156
|
-
}
|
|
192
|
+
label: Schema.suspend<readonly [{
|
|
193
|
+
readonly locale: "zh";
|
|
194
|
+
readonly message: string;
|
|
195
|
+
}, ...{
|
|
196
|
+
readonly locale: "en" | "ja" | "ko";
|
|
197
|
+
readonly message: string;
|
|
198
|
+
}[]], string | readonly [{
|
|
199
|
+
readonly locale: "zh";
|
|
200
|
+
readonly message: string;
|
|
201
|
+
}, ...{
|
|
202
|
+
readonly locale: "en" | "ja" | "ko";
|
|
203
|
+
readonly message: string;
|
|
204
|
+
}[]], never>;
|
|
157
205
|
value: Schema.Union<[Schema.Struct<{
|
|
158
206
|
kind: Schema.Literal<["text"]>;
|
|
159
207
|
value: typeof Schema.String;
|
|
@@ -167,13 +215,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
167
215
|
}, ...{
|
|
168
216
|
readonly locale: "en" | "ja" | "ko";
|
|
169
217
|
readonly message: string;
|
|
170
|
-
}[]], Schema.
|
|
171
|
-
locale:
|
|
172
|
-
message:
|
|
173
|
-
}
|
|
174
|
-
locale:
|
|
175
|
-
message:
|
|
176
|
-
}
|
|
218
|
+
}[]], Schema.suspend<readonly [{
|
|
219
|
+
readonly locale: "zh";
|
|
220
|
+
readonly message: string;
|
|
221
|
+
}, ...{
|
|
222
|
+
readonly locale: "en" | "ja" | "ko";
|
|
223
|
+
readonly message: string;
|
|
224
|
+
}[]], string | readonly [{
|
|
225
|
+
readonly locale: "zh";
|
|
226
|
+
readonly message: string;
|
|
227
|
+
}, ...{
|
|
228
|
+
readonly locale: "en" | "ja" | "ko";
|
|
229
|
+
readonly message: string;
|
|
230
|
+
}[]], never>>>;
|
|
177
231
|
keywords: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
178
232
|
}>>, {
|
|
179
233
|
default: () => readonly [];
|
|
@@ -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 { 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);
|
|
@@ -11,13 +11,19 @@ export declare const metadata: {
|
|
|
11
11
|
};
|
|
12
12
|
export declare function itemSchema(configure: (env: Environment) => void): Schema.Struct<{
|
|
13
13
|
id: Schema.refine<string, typeof Schema.String>;
|
|
14
|
-
label: Schema.
|
|
15
|
-
locale:
|
|
16
|
-
message:
|
|
17
|
-
}
|
|
18
|
-
locale:
|
|
19
|
-
message:
|
|
20
|
-
}
|
|
14
|
+
label: Schema.suspend<readonly [{
|
|
15
|
+
readonly locale: "zh";
|
|
16
|
+
readonly message: string;
|
|
17
|
+
}, ...{
|
|
18
|
+
readonly locale: "en" | "ja" | "ko";
|
|
19
|
+
readonly message: string;
|
|
20
|
+
}[]], string | readonly [{
|
|
21
|
+
readonly locale: "zh";
|
|
22
|
+
readonly message: string;
|
|
23
|
+
}, ...{
|
|
24
|
+
readonly locale: "en" | "ja" | "ko";
|
|
25
|
+
readonly message: string;
|
|
26
|
+
}[]], never>;
|
|
21
27
|
value: Schema.Union<[Schema.Struct<{
|
|
22
28
|
kind: Schema.Literal<["text"]>;
|
|
23
29
|
value: typeof Schema.String;
|
|
@@ -31,13 +37,19 @@ export declare function itemSchema(configure: (env: Environment) => void): Schem
|
|
|
31
37
|
}, ...{
|
|
32
38
|
readonly locale: "en" | "ja" | "ko";
|
|
33
39
|
readonly message: string;
|
|
34
|
-
}[]], Schema.
|
|
35
|
-
locale:
|
|
36
|
-
message:
|
|
37
|
-
}
|
|
38
|
-
locale:
|
|
39
|
-
message:
|
|
40
|
-
}
|
|
40
|
+
}[]], Schema.suspend<readonly [{
|
|
41
|
+
readonly locale: "zh";
|
|
42
|
+
readonly message: string;
|
|
43
|
+
}, ...{
|
|
44
|
+
readonly locale: "en" | "ja" | "ko";
|
|
45
|
+
readonly message: string;
|
|
46
|
+
}[]], string | readonly [{
|
|
47
|
+
readonly locale: "zh";
|
|
48
|
+
readonly message: string;
|
|
49
|
+
}, ...{
|
|
50
|
+
readonly locale: "en" | "ja" | "ko";
|
|
51
|
+
readonly message: string;
|
|
52
|
+
}[]], never>>>;
|
|
41
53
|
keywords: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
42
54
|
}>;
|
|
43
55
|
export declare function remoteOptionsSchema(configure: (env: Environment) => void): Schema.Struct<{
|
|
@@ -54,13 +66,19 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
54
66
|
kind: Schema.Literal<["static"]>;
|
|
55
67
|
items: Schema.optionalWith<Schema.Array$<Schema.Struct<{
|
|
56
68
|
id: Schema.refine<string, typeof Schema.String>;
|
|
57
|
-
label: Schema.
|
|
58
|
-
locale:
|
|
59
|
-
message:
|
|
60
|
-
}
|
|
61
|
-
locale:
|
|
62
|
-
message:
|
|
63
|
-
}
|
|
69
|
+
label: Schema.suspend<readonly [{
|
|
70
|
+
readonly locale: "zh";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}, ...{
|
|
73
|
+
readonly locale: "en" | "ja" | "ko";
|
|
74
|
+
readonly message: string;
|
|
75
|
+
}[]], string | readonly [{
|
|
76
|
+
readonly locale: "zh";
|
|
77
|
+
readonly message: string;
|
|
78
|
+
}, ...{
|
|
79
|
+
readonly locale: "en" | "ja" | "ko";
|
|
80
|
+
readonly message: string;
|
|
81
|
+
}[]], never>;
|
|
64
82
|
value: Schema.Union<[Schema.Struct<{
|
|
65
83
|
kind: Schema.Literal<["text"]>;
|
|
66
84
|
value: typeof Schema.String;
|
|
@@ -74,13 +92,19 @@ export declare function optionsSchema(configure: (env: Environment) => void): Sc
|
|
|
74
92
|
}, ...{
|
|
75
93
|
readonly locale: "en" | "ja" | "ko";
|
|
76
94
|
readonly message: string;
|
|
77
|
-
}[]], Schema.
|
|
78
|
-
locale:
|
|
79
|
-
message:
|
|
80
|
-
}
|
|
81
|
-
locale:
|
|
82
|
-
message:
|
|
83
|
-
}
|
|
95
|
+
}[]], Schema.suspend<readonly [{
|
|
96
|
+
readonly locale: "zh";
|
|
97
|
+
readonly message: string;
|
|
98
|
+
}, ...{
|
|
99
|
+
readonly locale: "en" | "ja" | "ko";
|
|
100
|
+
readonly message: string;
|
|
101
|
+
}[]], string | readonly [{
|
|
102
|
+
readonly locale: "zh";
|
|
103
|
+
readonly message: string;
|
|
104
|
+
}, ...{
|
|
105
|
+
readonly locale: "en" | "ja" | "ko";
|
|
106
|
+
readonly message: string;
|
|
107
|
+
}[]], never>>>;
|
|
84
108
|
keywords: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
85
109
|
}>>, {
|
|
86
110
|
default: () => readonly [];
|
|
@@ -112,48 +136,72 @@ export declare function writeSchema(configure: (env: Environment) => void): Sche
|
|
|
112
136
|
}>>>;
|
|
113
137
|
}>]>;
|
|
114
138
|
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
115
|
-
title: Schema.
|
|
116
|
-
locale:
|
|
117
|
-
message:
|
|
118
|
-
}
|
|
119
|
-
locale:
|
|
120
|
-
message:
|
|
121
|
-
}
|
|
139
|
+
title: Schema.suspend<readonly [{
|
|
140
|
+
readonly locale: "zh";
|
|
141
|
+
readonly message: string;
|
|
142
|
+
}, ...{
|
|
143
|
+
readonly locale: "en" | "ja" | "ko";
|
|
144
|
+
readonly message: string;
|
|
145
|
+
}[]], string | readonly [{
|
|
146
|
+
readonly locale: "zh";
|
|
147
|
+
readonly message: string;
|
|
148
|
+
}, ...{
|
|
149
|
+
readonly locale: "en" | "ja" | "ko";
|
|
150
|
+
readonly message: string;
|
|
151
|
+
}[]], never>;
|
|
122
152
|
align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
|
|
123
153
|
default: () => "left";
|
|
124
154
|
}>;
|
|
125
|
-
placeholder: Schema.optional<Schema.
|
|
126
|
-
locale:
|
|
127
|
-
message:
|
|
128
|
-
}
|
|
129
|
-
locale:
|
|
130
|
-
message:
|
|
131
|
-
}
|
|
155
|
+
placeholder: Schema.optional<Schema.suspend<readonly [{
|
|
156
|
+
readonly locale: "zh";
|
|
157
|
+
readonly message: string;
|
|
158
|
+
}, ...{
|
|
159
|
+
readonly locale: "en" | "ja" | "ko";
|
|
160
|
+
readonly message: string;
|
|
161
|
+
}[]], string | readonly [{
|
|
162
|
+
readonly locale: "zh";
|
|
163
|
+
readonly message: string;
|
|
164
|
+
}, ...{
|
|
165
|
+
readonly locale: "en" | "ja" | "ko";
|
|
166
|
+
readonly message: string;
|
|
167
|
+
}[]], never>>;
|
|
132
168
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
133
169
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
134
170
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
135
171
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
136
172
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
137
173
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
138
|
-
tooltip: Schema.optional<Schema.
|
|
139
|
-
locale:
|
|
140
|
-
message:
|
|
141
|
-
}
|
|
142
|
-
locale:
|
|
143
|
-
message:
|
|
144
|
-
}
|
|
174
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
175
|
+
readonly locale: "zh";
|
|
176
|
+
readonly message: string;
|
|
177
|
+
}, ...{
|
|
178
|
+
readonly locale: "en" | "ja" | "ko";
|
|
179
|
+
readonly message: string;
|
|
180
|
+
}[]], string | readonly [{
|
|
181
|
+
readonly locale: "zh";
|
|
182
|
+
readonly message: string;
|
|
183
|
+
}, ...{
|
|
184
|
+
readonly locale: "en" | "ja" | "ko";
|
|
185
|
+
readonly message: string;
|
|
186
|
+
}[]], never>>;
|
|
145
187
|
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
146
188
|
options: Schema.optionalWith<Schema.Union<[Schema.Struct<{
|
|
147
189
|
kind: Schema.Literal<["static"]>;
|
|
148
190
|
items: Schema.optionalWith<Schema.Array$<Schema.Struct<{
|
|
149
191
|
id: Schema.refine<string, typeof Schema.String>;
|
|
150
|
-
label: Schema.
|
|
151
|
-
locale:
|
|
152
|
-
message:
|
|
153
|
-
}
|
|
154
|
-
locale:
|
|
155
|
-
message:
|
|
156
|
-
}
|
|
192
|
+
label: Schema.suspend<readonly [{
|
|
193
|
+
readonly locale: "zh";
|
|
194
|
+
readonly message: string;
|
|
195
|
+
}, ...{
|
|
196
|
+
readonly locale: "en" | "ja" | "ko";
|
|
197
|
+
readonly message: string;
|
|
198
|
+
}[]], string | readonly [{
|
|
199
|
+
readonly locale: "zh";
|
|
200
|
+
readonly message: string;
|
|
201
|
+
}, ...{
|
|
202
|
+
readonly locale: "en" | "ja" | "ko";
|
|
203
|
+
readonly message: string;
|
|
204
|
+
}[]], never>;
|
|
157
205
|
value: Schema.Union<[Schema.Struct<{
|
|
158
206
|
kind: Schema.Literal<["text"]>;
|
|
159
207
|
value: typeof Schema.String;
|
|
@@ -167,13 +215,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
167
215
|
}, ...{
|
|
168
216
|
readonly locale: "en" | "ja" | "ko";
|
|
169
217
|
readonly message: string;
|
|
170
|
-
}[]], Schema.
|
|
171
|
-
locale:
|
|
172
|
-
message:
|
|
173
|
-
}
|
|
174
|
-
locale:
|
|
175
|
-
message:
|
|
176
|
-
}
|
|
218
|
+
}[]], Schema.suspend<readonly [{
|
|
219
|
+
readonly locale: "zh";
|
|
220
|
+
readonly message: string;
|
|
221
|
+
}, ...{
|
|
222
|
+
readonly locale: "en" | "ja" | "ko";
|
|
223
|
+
readonly message: string;
|
|
224
|
+
}[]], string | readonly [{
|
|
225
|
+
readonly locale: "zh";
|
|
226
|
+
readonly message: string;
|
|
227
|
+
}, ...{
|
|
228
|
+
readonly locale: "en" | "ja" | "ko";
|
|
229
|
+
readonly message: string;
|
|
230
|
+
}[]], never>>>;
|
|
177
231
|
keywords: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
178
232
|
}>>, {
|
|
179
233
|
default: () => readonly [];
|
|
@@ -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 { publishSelection } from "../../../../../utils/selections-registry";
|
|
10
10
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
@@ -55,7 +55,7 @@ const { locale, t } = useI18n({
|
|
|
55
55
|
});
|
|
56
56
|
const formState = useFormState();
|
|
57
57
|
const inherited = injectCELContext();
|
|
58
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
58
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
59
59
|
const sharedFetchLayer = useSharedFetchLayer();
|
|
60
60
|
const row = computed(() => props.ctx.row.original);
|
|
61
61
|
const rowIndex = computed(() => props.ctx.row.index);
|
|
@@ -13,13 +13,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
13
13
|
align: Schema.optionalWith<Schema.Literal<["left", "center", "right"]>, {
|
|
14
14
|
default: () => "left";
|
|
15
15
|
}>;
|
|
16
|
-
placeholder: Schema.optional<Schema.
|
|
17
|
-
locale:
|
|
18
|
-
message:
|
|
19
|
-
}
|
|
20
|
-
locale:
|
|
21
|
-
message:
|
|
22
|
-
}
|
|
16
|
+
placeholder: Schema.optional<Schema.suspend<readonly [{
|
|
17
|
+
readonly locale: "zh";
|
|
18
|
+
readonly message: string;
|
|
19
|
+
}, ...{
|
|
20
|
+
readonly locale: "en" | "ja" | "ko";
|
|
21
|
+
readonly message: string;
|
|
22
|
+
}[]], string | readonly [{
|
|
23
|
+
readonly locale: "zh";
|
|
24
|
+
readonly message: string;
|
|
25
|
+
}, ...{
|
|
26
|
+
readonly locale: "en" | "ja" | "ko";
|
|
27
|
+
readonly message: string;
|
|
28
|
+
}[]], never>>;
|
|
23
29
|
disabled: Schema.optional<Schema.Schema<string, string, never>>;
|
|
24
30
|
readonly: Schema.optional<Schema.Schema<string, string, never>>;
|
|
25
31
|
derived: Schema.optional<Schema.Struct<{
|
|
@@ -39,13 +45,19 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
39
45
|
}, ...{
|
|
40
46
|
readonly locale: "en" | "ja" | "ko";
|
|
41
47
|
readonly message: string;
|
|
42
|
-
}[]], Schema.
|
|
43
|
-
locale:
|
|
44
|
-
message:
|
|
45
|
-
}
|
|
46
|
-
locale:
|
|
47
|
-
message:
|
|
48
|
-
}
|
|
48
|
+
}[]], Schema.suspend<readonly [{
|
|
49
|
+
readonly locale: "zh";
|
|
50
|
+
readonly message: string;
|
|
51
|
+
}, ...{
|
|
52
|
+
readonly locale: "en" | "ja" | "ko";
|
|
53
|
+
readonly message: string;
|
|
54
|
+
}[]], string | readonly [{
|
|
55
|
+
readonly locale: "zh";
|
|
56
|
+
readonly message: string;
|
|
57
|
+
}, ...{
|
|
58
|
+
readonly locale: "en" | "ja" | "ko";
|
|
59
|
+
readonly message: string;
|
|
60
|
+
}[]], never>>>;
|
|
49
61
|
keywords: Schema.optional<Schema.Schema<string, string, never>>;
|
|
50
62
|
nodeSelectable: Schema.optional<Schema.Schema<string, string, never>>;
|
|
51
63
|
cascade: Schema.optionalWith<Schema.Literal<["independent", "cascade-down", "cascade-both"]>, {
|
|
@@ -54,25 +66,37 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
54
66
|
expandAll: Schema.optionalWith<typeof Schema.Boolean, {
|
|
55
67
|
default: () => false;
|
|
56
68
|
}>;
|
|
57
|
-
title: Schema.
|
|
58
|
-
locale:
|
|
59
|
-
message:
|
|
60
|
-
}
|
|
61
|
-
locale:
|
|
62
|
-
message:
|
|
63
|
-
}
|
|
69
|
+
title: Schema.suspend<readonly [{
|
|
70
|
+
readonly locale: "zh";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}, ...{
|
|
73
|
+
readonly locale: "en" | "ja" | "ko";
|
|
74
|
+
readonly message: string;
|
|
75
|
+
}[]], string | readonly [{
|
|
76
|
+
readonly locale: "zh";
|
|
77
|
+
readonly message: string;
|
|
78
|
+
}, ...{
|
|
79
|
+
readonly locale: "en" | "ja" | "ko";
|
|
80
|
+
readonly message: string;
|
|
81
|
+
}[]], never>;
|
|
64
82
|
binding: Schema.refine<string, typeof Schema.String>;
|
|
65
83
|
enableSorting: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
66
84
|
sortKey: Schema.optional<Schema.refine<string, typeof Schema.String>>;
|
|
67
85
|
size: Schema.optional<Schema.refine<number, Schema.filter<typeof Schema.Number>>>;
|
|
68
86
|
grow: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
69
|
-
tooltip: Schema.optional<Schema.
|
|
70
|
-
locale:
|
|
71
|
-
message:
|
|
72
|
-
}
|
|
73
|
-
locale:
|
|
74
|
-
message:
|
|
75
|
-
}
|
|
87
|
+
tooltip: Schema.optional<Schema.suspend<readonly [{
|
|
88
|
+
readonly locale: "zh";
|
|
89
|
+
readonly message: string;
|
|
90
|
+
}, ...{
|
|
91
|
+
readonly locale: "en" | "ja" | "ko";
|
|
92
|
+
readonly message: string;
|
|
93
|
+
}[]], string | readonly [{
|
|
94
|
+
readonly locale: "zh";
|
|
95
|
+
readonly message: string;
|
|
96
|
+
}, ...{
|
|
97
|
+
readonly locale: "en" | "ja" | "ko";
|
|
98
|
+
readonly message: string;
|
|
99
|
+
}[]], never>>;
|
|
76
100
|
hidden: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
77
101
|
id: Schema.refine<string, typeof Schema.String>;
|
|
78
102
|
groupId: Schema.optional<typeof Schema.UUID>;
|
|
@@ -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 { publishSelection } from "../../../../../utils/selections-registry";
|
|
10
10
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
@@ -55,7 +55,7 @@ const { locale, t } = useI18n({
|
|
|
55
55
|
});
|
|
56
56
|
const formState = useFormState();
|
|
57
57
|
const inherited = injectCELContext();
|
|
58
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
58
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
59
59
|
const sharedFetchLayer = useSharedFetchLayer();
|
|
60
60
|
const row = computed(() => props.ctx.row.original);
|
|
61
61
|
const rowIndex = computed(() => props.ctx.row.index);
|