@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
|
@@ -40,6 +40,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
40
40
|
readonly expression: string;
|
|
41
41
|
} | undefined;
|
|
42
42
|
readonly options: string;
|
|
43
|
+
readonly optionValue: string;
|
|
44
|
+
readonly optionLabel: readonly [{
|
|
45
|
+
readonly locale: "zh";
|
|
46
|
+
readonly message: string;
|
|
47
|
+
}, ...{
|
|
48
|
+
readonly locale: "en" | "ja" | "ko";
|
|
49
|
+
readonly message: string;
|
|
50
|
+
}[]];
|
|
43
51
|
readonly validations?: readonly {
|
|
44
52
|
readonly message: readonly [{
|
|
45
53
|
readonly locale: "zh";
|
|
@@ -51,14 +59,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
51
59
|
readonly warning?: boolean | undefined;
|
|
52
60
|
readonly when: string;
|
|
53
61
|
}[] | undefined;
|
|
54
|
-
readonly optionValue: string;
|
|
55
|
-
readonly optionLabel: readonly [{
|
|
56
|
-
readonly locale: "zh";
|
|
57
|
-
readonly message: string;
|
|
58
|
-
}, ...{
|
|
59
|
-
readonly locale: "en" | "ja" | "ko";
|
|
60
|
-
readonly message: string;
|
|
61
|
-
}[]];
|
|
62
62
|
}) => any;
|
|
63
63
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
64
64
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -98,6 +98,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
readonly expression: string;
|
|
99
99
|
} | undefined;
|
|
100
100
|
readonly options: string;
|
|
101
|
+
readonly optionValue: string;
|
|
102
|
+
readonly optionLabel: readonly [{
|
|
103
|
+
readonly locale: "zh";
|
|
104
|
+
readonly message: string;
|
|
105
|
+
}, ...{
|
|
106
|
+
readonly locale: "en" | "ja" | "ko";
|
|
107
|
+
readonly message: string;
|
|
108
|
+
}[]];
|
|
101
109
|
readonly validations?: readonly {
|
|
102
110
|
readonly message: readonly [{
|
|
103
111
|
readonly locale: "zh";
|
|
@@ -109,14 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
109
117
|
readonly warning?: boolean | undefined;
|
|
110
118
|
readonly when: string;
|
|
111
119
|
}[] | undefined;
|
|
112
|
-
readonly optionValue: string;
|
|
113
|
-
readonly optionLabel: readonly [{
|
|
114
|
-
readonly locale: "zh";
|
|
115
|
-
readonly message: string;
|
|
116
|
-
}, ...{
|
|
117
|
-
readonly locale: "en" | "ja" | "ko";
|
|
118
|
-
readonly message: string;
|
|
119
|
-
}[]];
|
|
120
120
|
}) => any) | undefined;
|
|
121
121
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
122
122
|
declare const _default: typeof __VLS_export;
|
|
@@ -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 | undefined;
|
|
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 cascade: "independent" | "cascade-down" | "cascade-both";
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
@@ -106,15 +106,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
106
106
|
readonly message: string;
|
|
107
107
|
}[]] | undefined;
|
|
108
108
|
readonly readonly?: string | undefined;
|
|
109
|
+
readonly dataSource: {
|
|
110
|
+
readonly data: string;
|
|
111
|
+
readonly request?: string | undefined;
|
|
112
|
+
};
|
|
109
113
|
readonly binding?: string | undefined;
|
|
110
114
|
readonly derived?: {
|
|
111
115
|
readonly mode: "formula" | "prefill";
|
|
112
116
|
readonly expression: string;
|
|
113
117
|
} | undefined;
|
|
114
|
-
readonly dataSource: {
|
|
115
|
-
readonly data: string;
|
|
116
|
-
readonly request?: string | undefined;
|
|
117
|
-
};
|
|
118
118
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
119
119
|
readonly nodeKey: string;
|
|
120
120
|
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 | undefined;
|
|
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 cascade: "independent" | "cascade-down" | "cascade-both";
|
|
47
47
|
readonly nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
@@ -106,15 +106,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
106
106
|
readonly message: string;
|
|
107
107
|
}[]] | undefined;
|
|
108
108
|
readonly readonly?: string | undefined;
|
|
109
|
+
readonly dataSource: {
|
|
110
|
+
readonly data: string;
|
|
111
|
+
readonly request?: string | undefined;
|
|
112
|
+
};
|
|
109
113
|
readonly binding?: string | undefined;
|
|
110
114
|
readonly derived?: {
|
|
111
115
|
readonly mode: "formula" | "prefill";
|
|
112
116
|
readonly expression: string;
|
|
113
117
|
} | undefined;
|
|
114
|
-
readonly dataSource: {
|
|
115
|
-
readonly data: string;
|
|
116
|
-
readonly request?: string | undefined;
|
|
117
|
-
};
|
|
118
118
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
119
119
|
readonly nodeKey: string;
|
|
120
120
|
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 | undefined;
|
|
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 nodeKey: string;
|
|
47
47
|
readonly nodeChildren: string;
|
|
48
48
|
readonly nodeLabel: readonly [{
|
|
@@ -105,15 +105,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly message: string;
|
|
106
106
|
}[]] | undefined;
|
|
107
107
|
readonly readonly?: string | undefined;
|
|
108
|
+
readonly dataSource: {
|
|
109
|
+
readonly data: string;
|
|
110
|
+
readonly request?: string | undefined;
|
|
111
|
+
};
|
|
108
112
|
readonly binding?: string | undefined;
|
|
109
113
|
readonly derived?: {
|
|
110
114
|
readonly mode: "formula" | "prefill";
|
|
111
115
|
readonly expression: string;
|
|
112
116
|
} | undefined;
|
|
113
|
-
readonly dataSource: {
|
|
114
|
-
readonly data: string;
|
|
115
|
-
readonly request?: string | undefined;
|
|
116
|
-
};
|
|
117
117
|
readonly nodeKey: string;
|
|
118
118
|
readonly nodeChildren: string;
|
|
119
119
|
readonly nodeLabel: readonly [{
|
|
@@ -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 | undefined;
|
|
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 nodeKey: string;
|
|
47
47
|
readonly nodeChildren: string;
|
|
48
48
|
readonly nodeLabel: readonly [{
|
|
@@ -105,15 +105,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly message: string;
|
|
106
106
|
}[]] | undefined;
|
|
107
107
|
readonly readonly?: string | undefined;
|
|
108
|
+
readonly dataSource: {
|
|
109
|
+
readonly data: string;
|
|
110
|
+
readonly request?: string | undefined;
|
|
111
|
+
};
|
|
108
112
|
readonly binding?: string | undefined;
|
|
109
113
|
readonly derived?: {
|
|
110
114
|
readonly mode: "formula" | "prefill";
|
|
111
115
|
readonly expression: string;
|
|
112
116
|
} | undefined;
|
|
113
|
-
readonly dataSource: {
|
|
114
|
-
readonly data: string;
|
|
115
|
-
readonly request?: string | undefined;
|
|
116
|
-
};
|
|
117
117
|
readonly nodeKey: string;
|
|
118
118
|
readonly nodeChildren: string;
|
|
119
119
|
readonly nodeLabel: readonly [{
|
|
@@ -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 | undefined;
|
|
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 cascade: "independent" | "cascade-down" | "cascade-both";
|
|
48
48
|
readonly nodeKey: string;
|
|
49
49
|
readonly nodeChildren: string;
|
|
@@ -108,15 +108,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
}[]] | undefined;
|
|
109
109
|
readonly keywords?: string | undefined;
|
|
110
110
|
readonly readonly?: string | undefined;
|
|
111
|
+
readonly dataSource: {
|
|
112
|
+
readonly data: string;
|
|
113
|
+
readonly request?: string | undefined;
|
|
114
|
+
};
|
|
111
115
|
readonly binding?: string | undefined;
|
|
112
116
|
readonly derived?: {
|
|
113
117
|
readonly mode: "formula" | "prefill";
|
|
114
118
|
readonly expression: string;
|
|
115
119
|
} | undefined;
|
|
116
|
-
readonly dataSource: {
|
|
117
|
-
readonly data: string;
|
|
118
|
-
readonly request?: string | undefined;
|
|
119
|
-
};
|
|
120
120
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
121
121
|
readonly nodeKey: string;
|
|
122
122
|
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 | undefined;
|
|
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 cascade: "independent" | "cascade-down" | "cascade-both";
|
|
48
48
|
readonly nodeKey: string;
|
|
49
49
|
readonly nodeChildren: string;
|
|
@@ -108,15 +108,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
}[]] | undefined;
|
|
109
109
|
readonly keywords?: string | undefined;
|
|
110
110
|
readonly readonly?: string | undefined;
|
|
111
|
+
readonly dataSource: {
|
|
112
|
+
readonly data: string;
|
|
113
|
+
readonly request?: string | undefined;
|
|
114
|
+
};
|
|
111
115
|
readonly binding?: string | undefined;
|
|
112
116
|
readonly derived?: {
|
|
113
117
|
readonly mode: "formula" | "prefill";
|
|
114
118
|
readonly expression: string;
|
|
115
119
|
} | undefined;
|
|
116
|
-
readonly dataSource: {
|
|
117
|
-
readonly data: string;
|
|
118
|
-
readonly request?: string | undefined;
|
|
119
|
-
};
|
|
120
120
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
121
121
|
readonly nodeKey: string;
|
|
122
122
|
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 | undefined;
|
|
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 nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
49
49
|
readonly nodeLabel: readonly [{
|
|
@@ -107,15 +107,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
107
107
|
}[]] | undefined;
|
|
108
108
|
readonly keywords?: string | undefined;
|
|
109
109
|
readonly readonly?: string | undefined;
|
|
110
|
+
readonly dataSource: {
|
|
111
|
+
readonly data: string;
|
|
112
|
+
readonly request?: string | undefined;
|
|
113
|
+
};
|
|
110
114
|
readonly binding?: string | undefined;
|
|
111
115
|
readonly derived?: {
|
|
112
116
|
readonly mode: "formula" | "prefill";
|
|
113
117
|
readonly expression: string;
|
|
114
118
|
} | undefined;
|
|
115
|
-
readonly dataSource: {
|
|
116
|
-
readonly data: string;
|
|
117
|
-
readonly request?: string | undefined;
|
|
118
|
-
};
|
|
119
119
|
readonly nodeKey: string;
|
|
120
120
|
readonly nodeChildren: string;
|
|
121
121
|
readonly nodeLabel: readonly [{
|
|
@@ -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 | undefined;
|
|
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 nodeKey: string;
|
|
48
48
|
readonly nodeChildren: string;
|
|
49
49
|
readonly nodeLabel: readonly [{
|
|
@@ -107,15 +107,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
107
107
|
}[]] | undefined;
|
|
108
108
|
readonly keywords?: string | undefined;
|
|
109
109
|
readonly readonly?: string | undefined;
|
|
110
|
+
readonly dataSource: {
|
|
111
|
+
readonly data: string;
|
|
112
|
+
readonly request?: string | undefined;
|
|
113
|
+
};
|
|
110
114
|
readonly binding?: string | undefined;
|
|
111
115
|
readonly derived?: {
|
|
112
116
|
readonly mode: "formula" | "prefill";
|
|
113
117
|
readonly expression: string;
|
|
114
118
|
} | undefined;
|
|
115
|
-
readonly dataSource: {
|
|
116
|
-
readonly data: string;
|
|
117
|
-
readonly request?: string | undefined;
|
|
118
|
-
};
|
|
119
119
|
readonly nodeKey: string;
|
|
120
120
|
readonly nodeChildren: string;
|
|
121
121
|
readonly nodeLabel: readonly [{
|
|
@@ -37,15 +37,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
37
37
|
readonly displayName?: string | undefined;
|
|
38
38
|
readonly compatibilityDate: "2026-05-28";
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
|
+
readonly dataSource: {
|
|
41
|
+
readonly data: string;
|
|
42
|
+
readonly request?: string | undefined;
|
|
43
|
+
};
|
|
40
44
|
readonly binding?: string | undefined;
|
|
41
45
|
readonly derived?: {
|
|
42
46
|
readonly mode: "formula" | "prefill";
|
|
43
47
|
readonly expression: string;
|
|
44
48
|
} | undefined;
|
|
45
|
-
readonly dataSource: {
|
|
46
|
-
readonly data: string;
|
|
47
|
-
readonly request?: string | undefined;
|
|
48
|
-
};
|
|
49
49
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
50
50
|
readonly nodeKey: string;
|
|
51
51
|
readonly nodeChildren: string;
|
|
@@ -112,15 +112,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
112
112
|
readonly displayName?: string | undefined;
|
|
113
113
|
readonly compatibilityDate: "2026-05-28";
|
|
114
114
|
readonly readonly?: string | undefined;
|
|
115
|
+
readonly dataSource: {
|
|
116
|
+
readonly data: string;
|
|
117
|
+
readonly request?: string | undefined;
|
|
118
|
+
};
|
|
115
119
|
readonly binding?: string | undefined;
|
|
116
120
|
readonly derived?: {
|
|
117
121
|
readonly mode: "formula" | "prefill";
|
|
118
122
|
readonly expression: string;
|
|
119
123
|
} | undefined;
|
|
120
|
-
readonly dataSource: {
|
|
121
|
-
readonly data: string;
|
|
122
|
-
readonly request?: string | undefined;
|
|
123
|
-
};
|
|
124
124
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
125
125
|
readonly nodeKey: string;
|
|
126
126
|
readonly nodeChildren: string;
|
|
@@ -37,15 +37,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
37
37
|
readonly displayName?: string | undefined;
|
|
38
38
|
readonly compatibilityDate: "2026-05-28";
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
|
+
readonly dataSource: {
|
|
41
|
+
readonly data: string;
|
|
42
|
+
readonly request?: string | undefined;
|
|
43
|
+
};
|
|
40
44
|
readonly binding?: string | undefined;
|
|
41
45
|
readonly derived?: {
|
|
42
46
|
readonly mode: "formula" | "prefill";
|
|
43
47
|
readonly expression: string;
|
|
44
48
|
} | undefined;
|
|
45
|
-
readonly dataSource: {
|
|
46
|
-
readonly data: string;
|
|
47
|
-
readonly request?: string | undefined;
|
|
48
|
-
};
|
|
49
49
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
50
50
|
readonly nodeKey: string;
|
|
51
51
|
readonly nodeChildren: string;
|
|
@@ -112,15 +112,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
112
112
|
readonly displayName?: string | undefined;
|
|
113
113
|
readonly compatibilityDate: "2026-05-28";
|
|
114
114
|
readonly readonly?: string | undefined;
|
|
115
|
+
readonly dataSource: {
|
|
116
|
+
readonly data: string;
|
|
117
|
+
readonly request?: string | undefined;
|
|
118
|
+
};
|
|
115
119
|
readonly binding?: string | undefined;
|
|
116
120
|
readonly derived?: {
|
|
117
121
|
readonly mode: "formula" | "prefill";
|
|
118
122
|
readonly expression: string;
|
|
119
123
|
} | undefined;
|
|
120
|
-
readonly dataSource: {
|
|
121
|
-
readonly data: string;
|
|
122
|
-
readonly request?: string | undefined;
|
|
123
|
-
};
|
|
124
124
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
125
125
|
readonly nodeKey: string;
|
|
126
126
|
readonly nodeChildren: string;
|
|
@@ -37,15 +37,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
37
37
|
readonly displayName?: string | undefined;
|
|
38
38
|
readonly compatibilityDate: "2026-05-28";
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
|
+
readonly dataSource: {
|
|
41
|
+
readonly data: string;
|
|
42
|
+
readonly request?: string | undefined;
|
|
43
|
+
};
|
|
40
44
|
readonly binding?: string | undefined;
|
|
41
45
|
readonly derived?: {
|
|
42
46
|
readonly mode: "formula" | "prefill";
|
|
43
47
|
readonly expression: string;
|
|
44
48
|
} | undefined;
|
|
45
|
-
readonly dataSource: {
|
|
46
|
-
readonly data: string;
|
|
47
|
-
readonly request?: string | undefined;
|
|
48
|
-
};
|
|
49
49
|
readonly nodeKey: string;
|
|
50
50
|
readonly nodeChildren: string;
|
|
51
51
|
readonly nodeLabel: readonly [{
|
|
@@ -111,15 +111,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
111
|
readonly displayName?: string | undefined;
|
|
112
112
|
readonly compatibilityDate: "2026-05-28";
|
|
113
113
|
readonly readonly?: string | undefined;
|
|
114
|
+
readonly dataSource: {
|
|
115
|
+
readonly data: string;
|
|
116
|
+
readonly request?: string | undefined;
|
|
117
|
+
};
|
|
114
118
|
readonly binding?: string | undefined;
|
|
115
119
|
readonly derived?: {
|
|
116
120
|
readonly mode: "formula" | "prefill";
|
|
117
121
|
readonly expression: string;
|
|
118
122
|
} | undefined;
|
|
119
|
-
readonly dataSource: {
|
|
120
|
-
readonly data: string;
|
|
121
|
-
readonly request?: string | undefined;
|
|
122
|
-
};
|
|
123
123
|
readonly nodeKey: string;
|
|
124
124
|
readonly nodeChildren: string;
|
|
125
125
|
readonly nodeLabel: readonly [{
|
|
@@ -37,15 +37,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
37
37
|
readonly displayName?: string | undefined;
|
|
38
38
|
readonly compatibilityDate: "2026-05-28";
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
|
+
readonly dataSource: {
|
|
41
|
+
readonly data: string;
|
|
42
|
+
readonly request?: string | undefined;
|
|
43
|
+
};
|
|
40
44
|
readonly binding?: string | undefined;
|
|
41
45
|
readonly derived?: {
|
|
42
46
|
readonly mode: "formula" | "prefill";
|
|
43
47
|
readonly expression: string;
|
|
44
48
|
} | undefined;
|
|
45
|
-
readonly dataSource: {
|
|
46
|
-
readonly data: string;
|
|
47
|
-
readonly request?: string | undefined;
|
|
48
|
-
};
|
|
49
49
|
readonly nodeKey: string;
|
|
50
50
|
readonly nodeChildren: string;
|
|
51
51
|
readonly nodeLabel: readonly [{
|
|
@@ -111,15 +111,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
111
111
|
readonly displayName?: string | undefined;
|
|
112
112
|
readonly compatibilityDate: "2026-05-28";
|
|
113
113
|
readonly readonly?: string | undefined;
|
|
114
|
+
readonly dataSource: {
|
|
115
|
+
readonly data: string;
|
|
116
|
+
readonly request?: string | undefined;
|
|
117
|
+
};
|
|
114
118
|
readonly binding?: string | undefined;
|
|
115
119
|
readonly derived?: {
|
|
116
120
|
readonly mode: "formula" | "prefill";
|
|
117
121
|
readonly expression: string;
|
|
118
122
|
} | undefined;
|
|
119
|
-
readonly dataSource: {
|
|
120
|
-
readonly data: string;
|
|
121
|
-
readonly request?: string | undefined;
|
|
122
|
-
};
|
|
123
123
|
readonly nodeKey: string;
|
|
124
124
|
readonly nodeChildren: string;
|
|
125
125
|
readonly nodeLabel: readonly [{
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue
CHANGED
|
@@ -3,7 +3,7 @@ import { computed } from "vue";
|
|
|
3
3
|
import { Icon } from "@iconify/vue";
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { cel as $cel } from "../../../../../utils/cel";
|
|
6
|
-
import {
|
|
6
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
7
7
|
import { JUSTIFY_CLASS } from "../../../utils/runtime";
|
|
8
8
|
defineOptions({ name: "ShwfedTableIconRendererRuntime" });
|
|
9
9
|
const props = defineProps({
|
|
@@ -18,11 +18,10 @@ const iconName = computed(() => {
|
|
|
18
18
|
const color = computed(() => {
|
|
19
19
|
if (!props.column.color) return void 0;
|
|
20
20
|
try {
|
|
21
|
-
const v = Effect.runSync($cel(props.column.color, {
|
|
22
|
-
...celBindings(celContext),
|
|
21
|
+
const v = Effect.runSync($cel(props.column.color, celScope(celContext, {
|
|
23
22
|
row: props.ctx.row?.original,
|
|
24
23
|
index: props.ctx.row?.index
|
|
25
|
-
}));
|
|
24
|
+
})));
|
|
26
25
|
return typeof v === "string" && v.length > 0 ? v : void 0;
|
|
27
26
|
} catch (e) {
|
|
28
27
|
console.error("[shwfed-table] icon color expression failed", e);
|
|
@@ -8,7 +8,7 @@ import { getLocalizedText } from "../../../../../share/locale";
|
|
|
8
8
|
import { Button } from "../../../../ui/button";
|
|
9
9
|
import { Markdown } from "../../../../ui/markdown";
|
|
10
10
|
import { JUSTIFY_CLASS, interpolateMarkdown } from "../../../utils/runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
12
12
|
defineOptions({ name: "ShwfedTableMarkdownRendererRuntime" });
|
|
13
13
|
const props = defineProps({
|
|
14
14
|
column: { type: null, required: true },
|
|
@@ -19,7 +19,7 @@ const celContext = injectCELContext();
|
|
|
19
19
|
const rendered = computed(() => {
|
|
20
20
|
const source = getLocalizedText(props.column.markdown, locale.value) ?? "";
|
|
21
21
|
if (!source) return "";
|
|
22
|
-
return interpolateMarkdown(source, $cel,
|
|
22
|
+
return interpolateMarkdown(source, $cel, celScope(celContext));
|
|
23
23
|
});
|
|
24
24
|
const isEmpty = computed(() => rendered.value.trim().length === 0);
|
|
25
25
|
const align = computed(() => isEmpty.value ? "center" : props.column.align ?? "left");
|
|
@@ -28,7 +28,7 @@ const copyText = computed(() => {
|
|
|
28
28
|
const { copyExpression } = props.column;
|
|
29
29
|
if (!copyExpression) return void 0;
|
|
30
30
|
try {
|
|
31
|
-
const value = Effect.runSync($cel(copyExpression,
|
|
31
|
+
const value = Effect.runSync($cel(copyExpression, celScope(celContext)));
|
|
32
32
|
return value === void 0 || value === null ? void 0 : String(value);
|
|
33
33
|
} catch (e) {
|
|
34
34
|
console.error("[shwfed-table] markdown copy expression failed", e);
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue
CHANGED
|
@@ -3,7 +3,7 @@ import { computed } from "vue";
|
|
|
3
3
|
import { Effect } from "effect";
|
|
4
4
|
import { Icon } from "@iconify/vue";
|
|
5
5
|
import { cel as $cel } from "../../../../../utils/cel";
|
|
6
|
-
import {
|
|
6
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
7
7
|
import { cn } from "../../../../../utils/cn";
|
|
8
8
|
defineOptions({ name: "ShwfedTableSelectRendererRuntime" });
|
|
9
9
|
const props = defineProps({
|
|
@@ -13,7 +13,7 @@ const props = defineProps({
|
|
|
13
13
|
const celContext = injectCELContext();
|
|
14
14
|
function evalPredicate(expression, fallback) {
|
|
15
15
|
try {
|
|
16
|
-
return Boolean(Effect.runSync($cel(expression,
|
|
16
|
+
return Boolean(Effect.runSync($cel(expression, celScope(celContext))));
|
|
17
17
|
} catch (e) {
|
|
18
18
|
console.error("[shwfed-table] row-selection predicate failed", e);
|
|
19
19
|
return fallback;
|
package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue
CHANGED
|
@@ -5,7 +5,7 @@ import { Effect } from "effect";
|
|
|
5
5
|
import { cel as $cel } from "../../../../../utils/cel";
|
|
6
6
|
import { Button } from "../../../../ui/button";
|
|
7
7
|
import { JUSTIFY_CLASS } from "../../../utils/runtime";
|
|
8
|
-
import {
|
|
8
|
+
import { celScope, injectCELContext } from "../../../../../utils/cel-context";
|
|
9
9
|
defineOptions({ name: "ShwfedTableTextRendererRuntime" });
|
|
10
10
|
const props = defineProps({
|
|
11
11
|
column: { type: null, required: true },
|
|
@@ -20,7 +20,7 @@ const copyText = computed(() => {
|
|
|
20
20
|
const { copyExpression } = props.column;
|
|
21
21
|
if (!copyExpression) return void 0;
|
|
22
22
|
try {
|
|
23
|
-
const value = Effect.runSync($cel(copyExpression,
|
|
23
|
+
const value = Effect.runSync($cel(copyExpression, celScope(celContext)));
|
|
24
24
|
return value === void 0 || value === null ? void 0 : String(value);
|
|
25
25
|
} catch (e) {
|
|
26
26
|
console.error("[shwfed-table] text copy expression failed", e);
|