@shwfed/config 2.11.4 → 2.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue +1 -0
- package/dist/runtime/components/actions/config.vue +2 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +18 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +18 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +18 -18
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +18 -18
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +28 -28
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +28 -28
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +18 -18
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +18 -18
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/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.markdown/runtime.vue +3 -3
- 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-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.remote/runtime.vue +5 -6
- 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.number-input/runtime.vue +2 -2
- 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.local/runtime.vue +2 -2
- 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-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +6 -6
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +6 -6
- 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-static/runtime.vue +2 -2
- 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.remote.options-remote/config.d.vue.ts +6 -6
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +6 -6
- 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-static/runtime.vue +2 -2
- 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.remote/runtime.vue +2 -2
- 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.remote/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
- 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-single/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.vue +7 -3
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue +7 -3
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +81 -2
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +38 -4
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +132 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +28 -2
- 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/config.vue +1 -0
- package/dist/runtime/components/table/row-provider.vue +2 -2
- package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +1 -1
- package/dist/runtime/components/ui/date-picker/DatePicker.d.vue.ts +11 -1
- package/dist/runtime/components/ui/date-picker/DatePicker.vue +8 -1
- package/dist/runtime/components/ui/date-picker/DatePicker.vue.d.ts +11 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +11 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue +4 -0
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +11 -1
- package/dist/runtime/utils/cel-context.d.ts +1 -0
- package/dist/runtime/utils/cel-context.js +28 -0
- package/dist/runtime/vendor/cel-js/CLAUDE.md +1 -1
- package/dist/runtime/vendor/cel-js/PROMPT.md +7 -0
- package/dist/runtime/vendor/cel-js/lib/functions.js +25 -1
- package/package.json +3 -8
- package/dist/mcp.mjs +0 -102267
- package/dist/preview/assets/FieldGroup.vue_vue_type_script_setup_true_lang-BE68tZWF.js +0 -1
- package/dist/preview/assets/badge-CGMjdhLX.js +0 -1
- package/dist/preview/assets/config-B7TZ-128.js +0 -1
- package/dist/preview/assets/config-BSym_jQg.js +0 -1
- package/dist/preview/assets/config-ByCFJbd-.js +0 -1
- package/dist/preview/assets/config-C4cv2S64.js +0 -1
- package/dist/preview/assets/config-ChrJHusi.js +0 -1
- package/dist/preview/assets/config-CxbYENZ0.js +0 -1
- package/dist/preview/assets/config-DFS2XL3-.js +0 -1
- package/dist/preview/assets/config-DWj1CTai.js +0 -1
- package/dist/preview/assets/config-DZI21_UB.js +0 -1
- package/dist/preview/assets/config-D_O4ACtH.js +0 -1
- package/dist/preview/assets/config-DjA8bfLm.js +0 -1
- package/dist/preview/assets/config-DwPGLI3R.js +0 -1
- package/dist/preview/assets/config-dkVvsr4h.js +0 -1
- package/dist/preview/assets/config-hsH0bSZh.js +0 -1
- package/dist/preview/assets/config-xrfje67L.js +0 -1
- package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-BGk00yfB.js +0 -1
- package/dist/preview/assets/index-B4oT9ZrQ.js +0 -1
- package/dist/preview/assets/index-BSQlKkJR.js +0 -775
- package/dist/preview/assets/index-CzQKNngS.js +0 -1
- package/dist/preview/assets/index-DPFQgj9g.css +0 -1
- package/dist/preview/assets/item-D4gmvDO-.js +0 -1
- package/dist/preview/assets/runtime--e0UxK6b.js +0 -1
- package/dist/preview/assets/runtime-BWH8ForT.js +0 -1
- package/dist/preview/assets/runtime-BgO2briD.js +0 -1
- package/dist/preview/assets/runtime-BmEP7xID.js +0 -1
- package/dist/preview/assets/runtime-C66GF-2d.js +0 -1
- package/dist/preview/assets/runtime-CJCOS6D_.js +0 -1
- package/dist/preview/assets/runtime-CREolKJd.js +0 -1
- package/dist/preview/assets/runtime-CjU46djh.js +0 -1
- package/dist/preview/assets/runtime-e59FkBkL.js +0 -1
- package/dist/preview/assets/runtime-pYLX1Bb-.js +0 -1
- package/dist/preview/assets/runtime-wvP7jhBK.js +0 -1
- package/dist/preview/assets/schema-meta-C4Ttq3eE.js +0 -1
- package/dist/preview/index.html +0 -19
|
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
readonly message: string;
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
+
readonly dataSource: {
|
|
38
|
+
readonly data: string;
|
|
39
|
+
readonly request?: string | undefined;
|
|
40
|
+
};
|
|
37
41
|
readonly binding: string;
|
|
38
42
|
readonly derived?: {
|
|
39
43
|
readonly mode: "formula" | "prefill";
|
|
40
44
|
readonly expression: string;
|
|
41
45
|
} | undefined;
|
|
42
|
-
readonly dataSource: {
|
|
43
|
-
readonly data: string;
|
|
44
|
-
readonly request?: string | undefined;
|
|
45
|
-
};
|
|
46
46
|
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
@@ -96,15 +96,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
96
96
|
readonly message: string;
|
|
97
97
|
}[]] | undefined;
|
|
98
98
|
readonly readonly?: string | undefined;
|
|
99
|
+
readonly dataSource: {
|
|
100
|
+
readonly data: string;
|
|
101
|
+
readonly request?: string | undefined;
|
|
102
|
+
};
|
|
99
103
|
readonly binding: string;
|
|
100
104
|
readonly derived?: {
|
|
101
105
|
readonly mode: "formula" | "prefill";
|
|
102
106
|
readonly expression: string;
|
|
103
107
|
} | undefined;
|
|
104
|
-
readonly dataSource: {
|
|
105
|
-
readonly data: string;
|
|
106
|
-
readonly request?: string | undefined;
|
|
107
|
-
};
|
|
108
108
|
readonly enableSorting?: boolean | undefined;
|
|
109
109
|
readonly nodeKey: string;
|
|
110
110
|
readonly nodeChildren: string;
|
|
@@ -34,15 +34,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
readonly message: string;
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
+
readonly dataSource: {
|
|
38
|
+
readonly data: string;
|
|
39
|
+
readonly request?: string | undefined;
|
|
40
|
+
};
|
|
37
41
|
readonly binding: string;
|
|
38
42
|
readonly derived?: {
|
|
39
43
|
readonly mode: "formula" | "prefill";
|
|
40
44
|
readonly expression: string;
|
|
41
45
|
} | undefined;
|
|
42
|
-
readonly dataSource: {
|
|
43
|
-
readonly data: string;
|
|
44
|
-
readonly request?: string | undefined;
|
|
45
|
-
};
|
|
46
46
|
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
@@ -96,15 +96,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
96
96
|
readonly message: string;
|
|
97
97
|
}[]] | undefined;
|
|
98
98
|
readonly readonly?: string | undefined;
|
|
99
|
+
readonly dataSource: {
|
|
100
|
+
readonly data: string;
|
|
101
|
+
readonly request?: string | undefined;
|
|
102
|
+
};
|
|
99
103
|
readonly binding: string;
|
|
100
104
|
readonly derived?: {
|
|
101
105
|
readonly mode: "formula" | "prefill";
|
|
102
106
|
readonly expression: string;
|
|
103
107
|
} | undefined;
|
|
104
|
-
readonly dataSource: {
|
|
105
|
-
readonly data: string;
|
|
106
|
-
readonly request?: string | undefined;
|
|
107
|
-
};
|
|
108
108
|
readonly enableSorting?: boolean | undefined;
|
|
109
109
|
readonly nodeKey: string;
|
|
110
110
|
readonly nodeChildren: string;
|
|
@@ -4,7 +4,7 @@ import { Effect, Fiber, Option } from "effect";
|
|
|
4
4
|
import { computed, ref, shallowRef, watch } from "vue";
|
|
5
5
|
import { useI18n } from "vue-i18n";
|
|
6
6
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
7
|
-
import {
|
|
7
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
8
8
|
import { useFormReadonly } from "../../../../form/utils/readonly";
|
|
9
9
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
10
10
|
import { fetchJsonOption } from "../../../../../share/request";
|
|
@@ -54,7 +54,7 @@ const { locale, t } = useI18n({
|
|
|
54
54
|
});
|
|
55
55
|
const formState = useFormState();
|
|
56
56
|
const inherited = injectCELContext();
|
|
57
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
57
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
58
58
|
const sharedFetchLayer = useSharedFetchLayer();
|
|
59
59
|
const row = computed(() => props.ctx.row.original);
|
|
60
60
|
const rowIndex = computed(() => props.ctx.row.index);
|
|
@@ -8,7 +8,7 @@ import { computed, ref } from "vue";
|
|
|
8
8
|
import { useI18n } from "vue-i18n";
|
|
9
9
|
import { asRequest, fetchJsonOption } from "../../../../../share/request";
|
|
10
10
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
11
|
-
import {
|
|
11
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
12
12
|
import { useFormReadonly } from "../../../../form/utils/readonly";
|
|
13
13
|
import { publishSelection } from "../../../../../utils/selections-registry";
|
|
14
14
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
@@ -57,7 +57,7 @@ const { locale, t } = useI18n({
|
|
|
57
57
|
});
|
|
58
58
|
const formState = useFormState();
|
|
59
59
|
const inherited = injectCELContext();
|
|
60
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
60
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
61
61
|
const eventChannel = useEventChannel();
|
|
62
62
|
const sharedFetchLayer = useSharedFetchLayer();
|
|
63
63
|
const row = computed(() => props.ctx.row.original);
|
|
@@ -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);
|
|
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding: string;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly dataSource: {
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
48
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
49
49
|
readonly nodeKey: string;
|
|
@@ -99,15 +99,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
99
99
|
}[]] | undefined;
|
|
100
100
|
readonly keywords?: string | undefined;
|
|
101
101
|
readonly readonly?: string | undefined;
|
|
102
|
+
readonly dataSource: {
|
|
103
|
+
readonly data: string;
|
|
104
|
+
readonly request?: string | undefined;
|
|
105
|
+
};
|
|
102
106
|
readonly binding: string;
|
|
103
107
|
readonly derived?: {
|
|
104
108
|
readonly mode: "formula" | "prefill";
|
|
105
109
|
readonly expression: string;
|
|
106
110
|
} | undefined;
|
|
107
|
-
readonly dataSource: {
|
|
108
|
-
readonly data: string;
|
|
109
|
-
readonly request?: string | undefined;
|
|
110
|
-
};
|
|
111
111
|
readonly enableSorting?: boolean | undefined;
|
|
112
112
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
113
113
|
readonly nodeKey: string;
|
|
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding: string;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly dataSource: {
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
48
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
49
49
|
readonly nodeKey: string;
|
|
@@ -99,15 +99,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
99
99
|
}[]] | undefined;
|
|
100
100
|
readonly keywords?: string | undefined;
|
|
101
101
|
readonly readonly?: string | undefined;
|
|
102
|
+
readonly dataSource: {
|
|
103
|
+
readonly data: string;
|
|
104
|
+
readonly request?: string | undefined;
|
|
105
|
+
};
|
|
102
106
|
readonly binding: string;
|
|
103
107
|
readonly derived?: {
|
|
104
108
|
readonly mode: "formula" | "prefill";
|
|
105
109
|
readonly expression: string;
|
|
106
110
|
} | undefined;
|
|
107
|
-
readonly dataSource: {
|
|
108
|
-
readonly data: string;
|
|
109
|
-
readonly request?: string | undefined;
|
|
110
|
-
};
|
|
111
111
|
readonly enableSorting?: boolean | undefined;
|
|
112
112
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
113
113
|
readonly nodeKey: string;
|
|
@@ -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);
|
|
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding: string;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly dataSource: {
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
48
|
readonly nodeKey: string;
|
|
49
49
|
readonly nodeChildren: string;
|
|
@@ -98,15 +98,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
}[]] | undefined;
|
|
99
99
|
readonly keywords?: string | undefined;
|
|
100
100
|
readonly readonly?: string | undefined;
|
|
101
|
+
readonly dataSource: {
|
|
102
|
+
readonly data: string;
|
|
103
|
+
readonly request?: string | undefined;
|
|
104
|
+
};
|
|
101
105
|
readonly binding: string;
|
|
102
106
|
readonly derived?: {
|
|
103
107
|
readonly mode: "formula" | "prefill";
|
|
104
108
|
readonly expression: string;
|
|
105
109
|
} | undefined;
|
|
106
|
-
readonly dataSource: {
|
|
107
|
-
readonly data: string;
|
|
108
|
-
readonly request?: string | undefined;
|
|
109
|
-
};
|
|
110
110
|
readonly enableSorting?: boolean | undefined;
|
|
111
111
|
readonly nodeKey: string;
|
|
112
112
|
readonly nodeChildren: string;
|
|
@@ -35,15 +35,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding: string;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly dataSource: {
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
48
|
readonly nodeKey: string;
|
|
49
49
|
readonly nodeChildren: string;
|
|
@@ -98,15 +98,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
}[]] | undefined;
|
|
99
99
|
readonly keywords?: string | undefined;
|
|
100
100
|
readonly readonly?: string | undefined;
|
|
101
|
+
readonly dataSource: {
|
|
102
|
+
readonly data: string;
|
|
103
|
+
readonly request?: string | undefined;
|
|
104
|
+
};
|
|
101
105
|
readonly binding: string;
|
|
102
106
|
readonly derived?: {
|
|
103
107
|
readonly mode: "formula" | "prefill";
|
|
104
108
|
readonly expression: string;
|
|
105
109
|
} | undefined;
|
|
106
|
-
readonly dataSource: {
|
|
107
|
-
readonly data: string;
|
|
108
|
-
readonly request?: string | undefined;
|
|
109
|
-
};
|
|
110
110
|
readonly enableSorting?: boolean | undefined;
|
|
111
111
|
readonly nodeKey: string;
|
|
112
112
|
readonly nodeChildren: string;
|
|
@@ -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);
|
|
@@ -8,7 +8,7 @@ import { computed, ref } from "vue";
|
|
|
8
8
|
import { useI18n } from "vue-i18n";
|
|
9
9
|
import { asRequest, fetchJsonOption } from "../../../../../share/request";
|
|
10
10
|
import { cel as _rawCel } from "../../../../../utils/cel";
|
|
11
|
-
import {
|
|
11
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
12
12
|
import { useFormReadonly } from "../../../../form/utils/readonly";
|
|
13
13
|
import { publishSelection } from "../../../../../utils/selections-registry";
|
|
14
14
|
import { getLocalizedText } from "../../../../../share/locale";
|
|
@@ -57,7 +57,7 @@ const { locale, t } = useI18n({
|
|
|
57
57
|
});
|
|
58
58
|
const formState = useFormState();
|
|
59
59
|
const inherited = injectCELContext();
|
|
60
|
-
const $cel = (expression, context) => _rawCel(expression,
|
|
60
|
+
const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
|
|
61
61
|
const eventChannel = useEventChannel();
|
|
62
62
|
const sharedFetchLayer = useSharedFetchLayer();
|
|
63
63
|
const row = computed(() => props.ctx.row.original);
|
|
@@ -125,11 +125,15 @@ const requestSignature = computed(() => {
|
|
|
125
125
|
});
|
|
126
126
|
async function fetchOptions() {
|
|
127
127
|
const seq = ++fetchSeq;
|
|
128
|
-
if (props.column.options.kind !== "remote"
|
|
128
|
+
if (props.column.options.kind !== "remote") {
|
|
129
129
|
remoteJson.value = null;
|
|
130
130
|
remoteLoading.value = false;
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
|
+
if (requestSignature.value == null) {
|
|
134
|
+
remoteLoading.value = false;
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
133
137
|
const expr = props.column.options.request;
|
|
134
138
|
remoteLoading.value = true;
|
|
135
139
|
const program = Effect.gen(function* () {
|
|
@@ -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);
|
|
@@ -125,11 +125,15 @@ const requestSignature = computed(() => {
|
|
|
125
125
|
});
|
|
126
126
|
async function fetchOptions() {
|
|
127
127
|
const seq = ++fetchSeq;
|
|
128
|
-
if (props.column.options.kind !== "remote"
|
|
128
|
+
if (props.column.options.kind !== "remote") {
|
|
129
129
|
remoteJson.value = null;
|
|
130
130
|
remoteLoading.value = false;
|
|
131
131
|
return;
|
|
132
132
|
}
|
|
133
|
+
if (requestSignature.value == null) {
|
|
134
|
+
remoteLoading.value = false;
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
133
137
|
const expr = props.column.options.request;
|
|
134
138
|
remoteLoading.value = true;
|
|
135
139
|
const program = Effect.gen(function* () {
|
|
@@ -36,15 +36,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
36
36
|
}[]] | undefined;
|
|
37
37
|
readonly keywords?: string | undefined;
|
|
38
38
|
readonly readonly?: string | undefined;
|
|
39
|
+
readonly dataSource: {
|
|
40
|
+
readonly data: string;
|
|
41
|
+
readonly request?: string | undefined;
|
|
42
|
+
};
|
|
39
43
|
readonly binding: string;
|
|
40
44
|
readonly derived?: {
|
|
41
45
|
readonly mode: "formula" | "prefill";
|
|
42
46
|
readonly expression: string;
|
|
43
47
|
} | undefined;
|
|
44
|
-
readonly dataSource: {
|
|
45
|
-
readonly data: string;
|
|
46
|
-
readonly request?: string | undefined;
|
|
47
|
-
};
|
|
48
48
|
readonly enableSorting?: boolean | undefined;
|
|
49
49
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
50
50
|
readonly nodeKey: string;
|
|
@@ -95,15 +95,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
95
95
|
}[]] | undefined;
|
|
96
96
|
readonly keywords?: string | undefined;
|
|
97
97
|
readonly readonly?: string | undefined;
|
|
98
|
+
readonly dataSource: {
|
|
99
|
+
readonly data: string;
|
|
100
|
+
readonly request?: string | undefined;
|
|
101
|
+
};
|
|
98
102
|
readonly binding: string;
|
|
99
103
|
readonly derived?: {
|
|
100
104
|
readonly mode: "formula" | "prefill";
|
|
101
105
|
readonly expression: string;
|
|
102
106
|
} | undefined;
|
|
103
|
-
readonly dataSource: {
|
|
104
|
-
readonly data: string;
|
|
105
|
-
readonly request?: string | undefined;
|
|
106
|
-
};
|
|
107
107
|
readonly enableSorting?: boolean | undefined;
|
|
108
108
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
109
109
|
readonly nodeKey: string;
|
|
@@ -36,15 +36,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
36
36
|
}[]] | undefined;
|
|
37
37
|
readonly keywords?: string | undefined;
|
|
38
38
|
readonly readonly?: string | undefined;
|
|
39
|
+
readonly dataSource: {
|
|
40
|
+
readonly data: string;
|
|
41
|
+
readonly request?: string | undefined;
|
|
42
|
+
};
|
|
39
43
|
readonly binding: string;
|
|
40
44
|
readonly derived?: {
|
|
41
45
|
readonly mode: "formula" | "prefill";
|
|
42
46
|
readonly expression: string;
|
|
43
47
|
} | undefined;
|
|
44
|
-
readonly dataSource: {
|
|
45
|
-
readonly data: string;
|
|
46
|
-
readonly request?: string | undefined;
|
|
47
|
-
};
|
|
48
48
|
readonly enableSorting?: boolean | undefined;
|
|
49
49
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
50
50
|
readonly nodeKey: string;
|
|
@@ -95,15 +95,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
95
95
|
}[]] | undefined;
|
|
96
96
|
readonly keywords?: string | undefined;
|
|
97
97
|
readonly readonly?: string | undefined;
|
|
98
|
+
readonly dataSource: {
|
|
99
|
+
readonly data: string;
|
|
100
|
+
readonly request?: string | undefined;
|
|
101
|
+
};
|
|
98
102
|
readonly binding: string;
|
|
99
103
|
readonly derived?: {
|
|
100
104
|
readonly mode: "formula" | "prefill";
|
|
101
105
|
readonly expression: string;
|
|
102
106
|
} | undefined;
|
|
103
|
-
readonly dataSource: {
|
|
104
|
-
readonly data: string;
|
|
105
|
-
readonly request?: string | undefined;
|
|
106
|
-
};
|
|
107
107
|
readonly enableSorting?: boolean | undefined;
|
|
108
108
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
109
109
|
readonly nodeKey: string;
|
|
@@ -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);
|
|
@@ -36,15 +36,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
36
36
|
}[]] | undefined;
|
|
37
37
|
readonly keywords?: string | undefined;
|
|
38
38
|
readonly readonly?: string | undefined;
|
|
39
|
+
readonly dataSource: {
|
|
40
|
+
readonly data: string;
|
|
41
|
+
readonly request?: string | undefined;
|
|
42
|
+
};
|
|
39
43
|
readonly binding: string;
|
|
40
44
|
readonly derived?: {
|
|
41
45
|
readonly mode: "formula" | "prefill";
|
|
42
46
|
readonly expression: string;
|
|
43
47
|
} | undefined;
|
|
44
|
-
readonly dataSource: {
|
|
45
|
-
readonly data: string;
|
|
46
|
-
readonly request?: string | undefined;
|
|
47
|
-
};
|
|
48
48
|
readonly enableSorting?: boolean | undefined;
|
|
49
49
|
readonly nodeKey: string;
|
|
50
50
|
readonly nodeChildren: string;
|
|
@@ -94,15 +94,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
94
94
|
}[]] | undefined;
|
|
95
95
|
readonly keywords?: string | undefined;
|
|
96
96
|
readonly readonly?: string | undefined;
|
|
97
|
+
readonly dataSource: {
|
|
98
|
+
readonly data: string;
|
|
99
|
+
readonly request?: string | undefined;
|
|
100
|
+
};
|
|
97
101
|
readonly binding: string;
|
|
98
102
|
readonly derived?: {
|
|
99
103
|
readonly mode: "formula" | "prefill";
|
|
100
104
|
readonly expression: string;
|
|
101
105
|
} | undefined;
|
|
102
|
-
readonly dataSource: {
|
|
103
|
-
readonly data: string;
|
|
104
|
-
readonly request?: string | undefined;
|
|
105
|
-
};
|
|
106
106
|
readonly enableSorting?: boolean | undefined;
|
|
107
107
|
readonly nodeKey: string;
|
|
108
108
|
readonly nodeChildren: string;
|
|
@@ -36,15 +36,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
36
36
|
}[]] | undefined;
|
|
37
37
|
readonly keywords?: string | undefined;
|
|
38
38
|
readonly readonly?: string | undefined;
|
|
39
|
+
readonly dataSource: {
|
|
40
|
+
readonly data: string;
|
|
41
|
+
readonly request?: string | undefined;
|
|
42
|
+
};
|
|
39
43
|
readonly binding: string;
|
|
40
44
|
readonly derived?: {
|
|
41
45
|
readonly mode: "formula" | "prefill";
|
|
42
46
|
readonly expression: string;
|
|
43
47
|
} | undefined;
|
|
44
|
-
readonly dataSource: {
|
|
45
|
-
readonly data: string;
|
|
46
|
-
readonly request?: string | undefined;
|
|
47
|
-
};
|
|
48
48
|
readonly enableSorting?: boolean | undefined;
|
|
49
49
|
readonly nodeKey: string;
|
|
50
50
|
readonly nodeChildren: string;
|
|
@@ -94,15 +94,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
94
94
|
}[]] | undefined;
|
|
95
95
|
readonly keywords?: string | undefined;
|
|
96
96
|
readonly readonly?: string | undefined;
|
|
97
|
+
readonly dataSource: {
|
|
98
|
+
readonly data: string;
|
|
99
|
+
readonly request?: string | undefined;
|
|
100
|
+
};
|
|
97
101
|
readonly binding: string;
|
|
98
102
|
readonly derived?: {
|
|
99
103
|
readonly mode: "formula" | "prefill";
|
|
100
104
|
readonly expression: string;
|
|
101
105
|
} | undefined;
|
|
102
|
-
readonly dataSource: {
|
|
103
|
-
readonly data: string;
|
|
104
|
-
readonly request?: string | undefined;
|
|
105
|
-
};
|
|
106
106
|
readonly enableSorting?: boolean | undefined;
|
|
107
107
|
readonly nodeKey: string;
|
|
108
108
|
readonly nodeChildren: string;
|
|
@@ -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);
|