@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.
Files changed (146) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.prototype/config.vue +1 -0
  3. package/dist/runtime/components/actions/config.vue +2 -0
  4. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +22 -22
  5. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +22 -22
  6. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
  7. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
  8. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +16 -16
  9. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +16 -16
  10. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +18 -18
  11. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +18 -18
  12. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +16 -16
  13. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +16 -16
  14. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +18 -18
  15. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +18 -18
  16. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +28 -28
  17. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +28 -28
  18. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +6 -6
  19. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +6 -6
  20. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +22 -22
  21. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +22 -22
  22. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
  23. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
  24. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
  25. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
  26. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +16 -16
  27. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +16 -16
  28. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +18 -18
  29. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +18 -18
  30. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
  31. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
  32. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
  33. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
  34. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
  35. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
  36. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
  37. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
  38. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
  39. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
  40. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
  41. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
  42. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +8 -8
  43. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +8 -8
  44. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.icon/runtime.vue +3 -4
  45. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.markdown/runtime.vue +3 -3
  46. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +2 -2
  47. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +2 -2
  48. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/runtime.vue +5 -6
  49. package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/runtime.vue +5 -6
  50. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  51. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.number-input/runtime.vue +2 -2
  52. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch/runtime.vue +2 -2
  53. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.switch.local/runtime.vue +2 -2
  54. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.text-input/runtime.vue +2 -2
  55. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +6 -6
  56. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +6 -6
  57. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/runtime.vue +2 -2
  58. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/runtime.vue +2 -2
  59. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  60. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +6 -6
  61. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +6 -6
  62. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/runtime.vue +2 -2
  63. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/runtime.vue +2 -2
  64. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  65. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/runtime.vue +2 -2
  66. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  67. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/runtime.vue +2 -2
  68. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  69. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  70. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
  71. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  72. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  73. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
  74. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/runtime.vue +2 -2
  75. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/runtime.vue +2 -2
  76. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  77. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  78. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
  79. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  80. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  81. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
  82. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/runtime.vue +7 -3
  83. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/runtime.vue +7 -3
  84. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +8 -8
  85. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +8 -8
  86. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/runtime.vue +2 -2
  87. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +8 -8
  88. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +8 -8
  89. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/runtime.vue +2 -2
  90. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +81 -2
  91. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +38 -4
  92. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +132 -0
  93. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +28 -2
  94. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue +4 -4
  95. package/dist/runtime/components/table/config.vue +1 -0
  96. package/dist/runtime/components/table/row-provider.vue +2 -2
  97. package/dist/runtime/components/ui/alert-dialog/AlertDialogFooter.vue +1 -1
  98. package/dist/runtime/components/ui/date-picker/DatePicker.d.vue.ts +11 -1
  99. package/dist/runtime/components/ui/date-picker/DatePicker.vue +8 -1
  100. package/dist/runtime/components/ui/date-picker/DatePicker.vue.d.ts +11 -1
  101. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +11 -1
  102. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue +4 -0
  103. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +11 -1
  104. package/dist/runtime/utils/cel-context.d.ts +1 -0
  105. package/dist/runtime/utils/cel-context.js +28 -0
  106. package/dist/runtime/vendor/cel-js/CLAUDE.md +1 -1
  107. package/dist/runtime/vendor/cel-js/PROMPT.md +7 -0
  108. package/dist/runtime/vendor/cel-js/lib/functions.js +25 -1
  109. package/package.json +3 -8
  110. package/dist/mcp.mjs +0 -102267
  111. package/dist/preview/assets/FieldGroup.vue_vue_type_script_setup_true_lang-BE68tZWF.js +0 -1
  112. package/dist/preview/assets/badge-CGMjdhLX.js +0 -1
  113. package/dist/preview/assets/config-B7TZ-128.js +0 -1
  114. package/dist/preview/assets/config-BSym_jQg.js +0 -1
  115. package/dist/preview/assets/config-ByCFJbd-.js +0 -1
  116. package/dist/preview/assets/config-C4cv2S64.js +0 -1
  117. package/dist/preview/assets/config-ChrJHusi.js +0 -1
  118. package/dist/preview/assets/config-CxbYENZ0.js +0 -1
  119. package/dist/preview/assets/config-DFS2XL3-.js +0 -1
  120. package/dist/preview/assets/config-DWj1CTai.js +0 -1
  121. package/dist/preview/assets/config-DZI21_UB.js +0 -1
  122. package/dist/preview/assets/config-D_O4ACtH.js +0 -1
  123. package/dist/preview/assets/config-DjA8bfLm.js +0 -1
  124. package/dist/preview/assets/config-DwPGLI3R.js +0 -1
  125. package/dist/preview/assets/config-dkVvsr4h.js +0 -1
  126. package/dist/preview/assets/config-hsH0bSZh.js +0 -1
  127. package/dist/preview/assets/config-xrfje67L.js +0 -1
  128. package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-BGk00yfB.js +0 -1
  129. package/dist/preview/assets/index-B4oT9ZrQ.js +0 -1
  130. package/dist/preview/assets/index-BSQlKkJR.js +0 -775
  131. package/dist/preview/assets/index-CzQKNngS.js +0 -1
  132. package/dist/preview/assets/index-DPFQgj9g.css +0 -1
  133. package/dist/preview/assets/item-D4gmvDO-.js +0 -1
  134. package/dist/preview/assets/runtime--e0UxK6b.js +0 -1
  135. package/dist/preview/assets/runtime-BWH8ForT.js +0 -1
  136. package/dist/preview/assets/runtime-BgO2briD.js +0 -1
  137. package/dist/preview/assets/runtime-BmEP7xID.js +0 -1
  138. package/dist/preview/assets/runtime-C66GF-2d.js +0 -1
  139. package/dist/preview/assets/runtime-CJCOS6D_.js +0 -1
  140. package/dist/preview/assets/runtime-CREolKJd.js +0 -1
  141. package/dist/preview/assets/runtime-CjU46djh.js +0 -1
  142. package/dist/preview/assets/runtime-e59FkBkL.js +0 -1
  143. package/dist/preview/assets/runtime-pYLX1Bb-.js +0 -1
  144. package/dist/preview/assets/runtime-wvP7jhBK.js +0 -1
  145. package/dist/preview/assets/schema-meta-C4Ttq3eE.js +0 -1
  146. package/dist/preview/index.html +0 -19
@@ -6,7 +6,7 @@ import { toast } from "vue-sonner";
6
6
  import { cel as $cel } from "../../../../../utils/cel";
7
7
  import { Switch } from "../../../../ui/switch";
8
8
  import { JUSTIFY_CLASS } from "../../../utils/runtime";
9
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
9
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
10
10
  import { dispatchTriggers, useEventChannel } from "../../../../../share/event-bus";
11
11
  defineOptions({ name: "ShwfedTableSwitchRendererRuntime" });
12
12
  const props = defineProps({
@@ -15,7 +15,7 @@ const props = defineProps({
15
15
  });
16
16
  const celContext = injectCELContext();
17
17
  const eventChannel = useEventChannel();
18
- const triggerCel = (expression, context) => $cel(expression, { ...celBindings(celContext), ...context });
18
+ const triggerCel = (expression, context) => $cel(expression, celScope(celContext, context));
19
19
  const rawValue = computed(() => props.ctx.cell.getValue());
20
20
  const isMissing = computed(() => rawValue.value === void 0 || rawValue.value === null);
21
21
  const checked = computed(() => rawValue.value === true);
@@ -26,7 +26,7 @@ const pending = ref(false);
26
26
  const isDisabledByConfig = computed(() => {
27
27
  if (!props.column.disabled) return false;
28
28
  try {
29
- return Effect.runSync($cel(props.column.disabled, celBindings(celContext))) === true;
29
+ return Effect.runSync($cel(props.column.disabled, celScope(celContext))) === true;
30
30
  } catch (e) {
31
31
  console.error("[shwfed-table] switch disabled failed", e);
32
32
  return false;
@@ -39,10 +39,9 @@ async function onUpdate(next) {
39
39
  if (!onChange) return;
40
40
  pending.value = true;
41
41
  const program = Effect.gen(function* () {
42
- const builder = yield* $cel(onChange, {
43
- ...celBindings(celContext),
42
+ const builder = yield* $cel(onChange, celScope(celContext, {
44
43
  value: next
45
- });
44
+ }));
46
45
  return yield* builder.json();
47
46
  });
48
47
  try {
@@ -6,7 +6,7 @@ import { toast } from "vue-sonner";
6
6
  import { cel as $cel } from "../../../../../utils/cel";
7
7
  import { Switch } from "../../../../ui/switch";
8
8
  import { JUSTIFY_CLASS } from "../../../utils/runtime";
9
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
9
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
10
10
  import { dispatchTriggers, useEventChannel } from "../../../../../share/event-bus";
11
11
  defineOptions({ name: "ShwfedTableSwitchRendererRuntime" });
12
12
  const props = defineProps({
@@ -15,7 +15,7 @@ const props = defineProps({
15
15
  });
16
16
  const celContext = injectCELContext();
17
17
  const eventChannel = useEventChannel();
18
- const triggerCel = (expression, context) => $cel(expression, { ...celBindings(celContext), ...context });
18
+ const triggerCel = (expression, context) => $cel(expression, celScope(celContext, context));
19
19
  const rawValue = computed(() => props.ctx.cell.getValue());
20
20
  const isMissing = computed(() => rawValue.value === void 0 || rawValue.value === null);
21
21
  const checked = computed(() => rawValue.value === true);
@@ -26,7 +26,7 @@ const pending = ref(false);
26
26
  const isDisabledByConfig = computed(() => {
27
27
  if (!props.column.disabled) return false;
28
28
  try {
29
- return Effect.runSync($cel(props.column.disabled, celBindings(celContext))) === true;
29
+ return Effect.runSync($cel(props.column.disabled, celScope(celContext))) === true;
30
30
  } catch (e) {
31
31
  console.error("[shwfed-table] switch disabled failed", e);
32
32
  return false;
@@ -39,10 +39,9 @@ async function onUpdate(next) {
39
39
  if (!onChange) return;
40
40
  pending.value = true;
41
41
  const program = Effect.gen(function* () {
42
- const builder = yield* $cel(onChange, {
43
- ...celBindings(celContext),
42
+ const builder = yield* $cel(onChange, celScope(celContext, {
44
43
  value: next
45
- });
44
+ }));
46
45
  return yield* builder.json();
47
46
  });
48
47
  try {
@@ -4,7 +4,7 @@ import { Effect } from "effect";
4
4
  import { computed, nextTick, ref, watch } from "vue";
5
5
  import { useI18n } from "vue-i18n";
6
6
  import { cel as _rawCel } from "../../../../../utils/cel";
7
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
7
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
8
8
  import { useFormReadonly } from "../../../../form/utils/readonly";
9
9
  import { getLocalizedText } from "../../../../../share/locale";
10
10
  import {
@@ -47,7 +47,7 @@ const { locale, t } = useI18n({
47
47
  });
48
48
  const formState = useFormState();
49
49
  const inherited = injectCELContext();
50
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
50
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
51
51
  const placeholderText = computed(
52
52
  () => props.column.placeholder ? getLocalizedText(props.column.placeholder, locale.value) : t("combobox-single-placeholder")
53
53
  );
@@ -4,7 +4,7 @@ import { Effect } from "effect";
4
4
  import { computed, nextTick } from "vue";
5
5
  import { useI18n } from "vue-i18n";
6
6
  import { cel as _rawCel } from "../../../../../utils/cel";
7
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
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 { InputGroup, InputGroupAddon, InputGroupButton, InputGroupNumberField } from "../../../../ui/input-group";
@@ -18,7 +18,7 @@ const props = defineProps({
18
18
  });
19
19
  const { locale } = useI18n();
20
20
  const inherited = injectCELContext();
21
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
21
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
22
22
  const placeholderText = computed(
23
23
  () => props.column.placeholder ? getLocalizedText(props.column.placeholder, locale.value) : void 0
24
24
  );
@@ -3,7 +3,7 @@ import { Effect } from "effect";
3
3
  import { computed } from "vue";
4
4
  import { useI18n } from "vue-i18n";
5
5
  import { cel as _rawCel } from "../../../../../utils/cel";
6
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
6
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
7
7
  import { useFormReadonly } from "../../../../form/utils/readonly";
8
8
  import { getLocalizedText } from "../../../../../share/locale";
9
9
  import { Switch } from "../../../../ui/switch";
@@ -15,7 +15,7 @@ const props = defineProps({
15
15
  });
16
16
  const { locale } = useI18n();
17
17
  const inherited = injectCELContext();
18
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
18
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
19
19
  function evalBool(expression, label) {
20
20
  if (!expression) return false;
21
21
  try {
@@ -3,7 +3,7 @@ import { Effect } from "effect";
3
3
  import { computed } from "vue";
4
4
  import { useI18n } from "vue-i18n";
5
5
  import { cel as _rawCel } from "../../../../../utils/cel";
6
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
6
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
7
7
  import { useFormReadonly } from "../../../../form/utils/readonly";
8
8
  import { getLocalizedText } from "../../../../../share/locale";
9
9
  import { Switch } from "../../../../ui/switch";
@@ -16,7 +16,7 @@ const props = defineProps({
16
16
  });
17
17
  const { locale } = useI18n();
18
18
  const inherited = injectCELContext();
19
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
19
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
20
20
  function evalBool(expression, label) {
21
21
  if (!expression) return false;
22
22
  try {
@@ -4,7 +4,7 @@ import { computed, ref, watch } from "vue";
4
4
  import { useI18n } from "vue-i18n";
5
5
  import { Icon } from "@iconify/vue";
6
6
  import { cel as $cel } from "../../../../../utils/cel";
7
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
7
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
8
8
  import { useFormReadonly } from "../../../../form/utils/readonly";
9
9
  import { getLocalizedText } from "../../../../../share/locale";
10
10
  import {
@@ -30,7 +30,7 @@ const placeholderText = computed(
30
30
  function evalBool(expression, label) {
31
31
  if (!expression) return false;
32
32
  try {
33
- return Effect.runSync($cel(expression, celBindings(celContext))) === true;
33
+ return Effect.runSync($cel(expression, celScope(celContext))) === true;
34
34
  } catch (e) {
35
35
  console.error(`[shwfed-table] text-input ${label} failed`, e);
36
36
  return false;
@@ -45,6 +45,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
45
45
  readonly request: string;
46
46
  readonly enableSorting?: boolean | undefined;
47
47
  readonly options: string;
48
+ readonly successMessage?: string | undefined;
49
+ readonly accessor?: string | undefined;
50
+ readonly sortKey?: string | undefined;
48
51
  readonly optionValue: string;
49
52
  readonly optionLabel: readonly [{
50
53
  readonly locale: "zh";
@@ -53,9 +56,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
56
  readonly locale: "en" | "ja" | "ko";
54
57
  readonly message: string;
55
58
  }[]];
56
- readonly successMessage?: string | undefined;
57
- readonly accessor?: string | undefined;
58
- readonly sortKey?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -100,6 +100,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
100
100
  readonly request: string;
101
101
  readonly enableSorting?: boolean | undefined;
102
102
  readonly options: string;
103
+ readonly successMessage?: string | undefined;
104
+ readonly accessor?: string | undefined;
105
+ readonly sortKey?: string | undefined;
103
106
  readonly optionValue: string;
104
107
  readonly optionLabel: readonly [{
105
108
  readonly locale: "zh";
@@ -108,9 +111,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
111
  readonly locale: "en" | "ja" | "ko";
109
112
  readonly message: string;
110
113
  }[]];
111
- readonly successMessage?: string | undefined;
112
- readonly accessor?: string | undefined;
113
- readonly sortKey?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -45,6 +45,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
45
45
  readonly request: string;
46
46
  readonly enableSorting?: boolean | undefined;
47
47
  readonly options: string;
48
+ readonly successMessage?: string | undefined;
49
+ readonly accessor?: string | undefined;
50
+ readonly sortKey?: string | undefined;
48
51
  readonly optionValue: string;
49
52
  readonly optionLabel: readonly [{
50
53
  readonly locale: "zh";
@@ -53,9 +56,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
56
  readonly locale: "en" | "ja" | "ko";
54
57
  readonly message: string;
55
58
  }[]];
56
- readonly successMessage?: string | undefined;
57
- readonly accessor?: string | undefined;
58
- readonly sortKey?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -100,6 +100,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
100
100
  readonly request: string;
101
101
  readonly enableSorting?: boolean | undefined;
102
102
  readonly options: string;
103
+ readonly successMessage?: string | undefined;
104
+ readonly accessor?: string | undefined;
105
+ readonly sortKey?: string | undefined;
103
106
  readonly optionValue: string;
104
107
  readonly optionLabel: readonly [{
105
108
  readonly locale: "zh";
@@ -108,9 +111,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
111
  readonly locale: "en" | "ja" | "ko";
109
112
  readonly message: string;
110
113
  }[]];
111
- readonly successMessage?: string | undefined;
112
- readonly accessor?: string | undefined;
113
- readonly sortKey?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -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 { celBindings, injectCELContext } from "../../../../../utils/cel-context";
11
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
12
12
  import { useFormReadonly } from "../../../../form/utils/readonly";
13
13
  import { getLocalizedText } from "../../../../../share/locale";
14
14
  import { dispatchTriggers, useEventChannel } from "../../../../../share/event-bus";
@@ -54,7 +54,7 @@ const { locale, t } = useI18n({
54
54
  }
55
55
  });
56
56
  const inherited = injectCELContext();
57
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
57
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
58
58
  const eventChannel = useEventChannel();
59
59
  const sharedFetchLayer = useSharedFetchLayer();
60
60
  const row = computed(() => props.ctx.row.original);
@@ -6,7 +6,7 @@ import { toast } from "vue-sonner";
6
6
  import { computed, nextTick, ref, watch } from "vue";
7
7
  import { useI18n } from "vue-i18n";
8
8
  import { cel as _rawCel } from "../../../../../utils/cel";
9
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
9
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
10
10
  import { useFormReadonly } from "../../../../form/utils/readonly";
11
11
  import { getLocalizedText } from "../../../../../share/locale";
12
12
  import { dispatchTriggers, useEventChannel } from "../../../../../share/event-bus";
@@ -48,7 +48,7 @@ const { locale, t } = useI18n({
48
48
  }
49
49
  });
50
50
  const inherited = injectCELContext();
51
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
51
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
52
52
  const eventChannel = useEventChannel();
53
53
  const placeholderText = computed(
54
54
  () => props.column.placeholder ? getLocalizedText(props.column.placeholder, locale.value) : t("combobox-single-placeholder")
@@ -4,7 +4,7 @@ import { Effect } from "effect";
4
4
  import { computed, ref, watch } from "vue";
5
5
  import { useI18n } from "vue-i18n";
6
6
  import { cel as _rawCel } from "../../../../../utils/cel";
7
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
7
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
8
8
  import { useFormReadonly } from "../../../../form/utils/readonly";
9
9
  import { getLocalizedText } from "../../../../../share/locale";
10
10
  import {
@@ -47,7 +47,7 @@ const { locale, t } = useI18n({
47
47
  });
48
48
  const formState = useFormState();
49
49
  const inherited = injectCELContext();
50
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
50
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
51
51
  const placeholderText = computed(
52
52
  () => props.column.placeholder ? getLocalizedText(props.column.placeholder, locale.value) : t("combobox-multi-placeholder")
53
53
  );
@@ -45,6 +45,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
45
45
  readonly request: string;
46
46
  readonly enableSorting?: boolean | undefined;
47
47
  readonly options: string;
48
+ readonly successMessage?: string | undefined;
49
+ readonly accessor?: string | undefined;
50
+ readonly sortKey?: string | undefined;
48
51
  readonly optionValue: string;
49
52
  readonly optionLabel: readonly [{
50
53
  readonly locale: "zh";
@@ -53,9 +56,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
56
  readonly locale: "en" | "ja" | "ko";
54
57
  readonly message: string;
55
58
  }[]];
56
- readonly successMessage?: string | undefined;
57
- readonly accessor?: string | undefined;
58
- readonly sortKey?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -100,6 +100,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
100
100
  readonly request: string;
101
101
  readonly enableSorting?: boolean | undefined;
102
102
  readonly options: string;
103
+ readonly successMessage?: string | undefined;
104
+ readonly accessor?: string | undefined;
105
+ readonly sortKey?: string | undefined;
103
106
  readonly optionValue: string;
104
107
  readonly optionLabel: readonly [{
105
108
  readonly locale: "zh";
@@ -108,9 +111,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
111
  readonly locale: "en" | "ja" | "ko";
109
112
  readonly message: string;
110
113
  }[]];
111
- readonly successMessage?: string | undefined;
112
- readonly accessor?: string | undefined;
113
- readonly sortKey?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -45,6 +45,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
45
45
  readonly request: string;
46
46
  readonly enableSorting?: boolean | undefined;
47
47
  readonly options: string;
48
+ readonly successMessage?: string | undefined;
49
+ readonly accessor?: string | undefined;
50
+ readonly sortKey?: string | undefined;
48
51
  readonly optionValue: string;
49
52
  readonly optionLabel: readonly [{
50
53
  readonly locale: "zh";
@@ -53,9 +56,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
56
  readonly locale: "en" | "ja" | "ko";
54
57
  readonly message: string;
55
58
  }[]];
56
- readonly successMessage?: string | undefined;
57
- readonly accessor?: string | undefined;
58
- readonly sortKey?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -100,6 +100,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
100
100
  readonly request: string;
101
101
  readonly enableSorting?: boolean | undefined;
102
102
  readonly options: string;
103
+ readonly successMessage?: string | undefined;
104
+ readonly accessor?: string | undefined;
105
+ readonly sortKey?: string | undefined;
103
106
  readonly optionValue: string;
104
107
  readonly optionLabel: readonly [{
105
108
  readonly locale: "zh";
@@ -108,9 +111,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
111
  readonly locale: "en" | "ja" | "ko";
109
112
  readonly message: string;
110
113
  }[]];
111
- readonly successMessage?: string | undefined;
112
- readonly accessor?: string | undefined;
113
- readonly sortKey?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -8,7 +8,7 @@ import { computed, 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 { celBindings, injectCELContext } from "../../../../../utils/cel-context";
11
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
12
12
  import { useFormReadonly } from "../../../../form/utils/readonly";
13
13
  import { getLocalizedText } from "../../../../../share/locale";
14
14
  import { dispatchTriggers, useEventChannel } from "../../../../../share/event-bus";
@@ -54,7 +54,7 @@ const { locale, t } = useI18n({
54
54
  }
55
55
  });
56
56
  const inherited = injectCELContext();
57
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
57
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
58
58
  const eventChannel = useEventChannel();
59
59
  const sharedFetchLayer = useSharedFetchLayer();
60
60
  const row = computed(() => props.ctx.row.original);
@@ -6,7 +6,7 @@ import { toast } from "vue-sonner";
6
6
  import { computed, ref, watch } from "vue";
7
7
  import { useI18n } from "vue-i18n";
8
8
  import { cel as _rawCel } from "../../../../../utils/cel";
9
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
9
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
10
10
  import { useFormReadonly } from "../../../../form/utils/readonly";
11
11
  import { getLocalizedText } from "../../../../../share/locale";
12
12
  import { dispatchTriggers, useEventChannel } from "../../../../../share/event-bus";
@@ -48,7 +48,7 @@ const { locale, t } = useI18n({
48
48
  }
49
49
  });
50
50
  const inherited = injectCELContext();
51
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
51
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
52
52
  const eventChannel = useEventChannel();
53
53
  const placeholderText = computed(
54
54
  () => props.column.placeholder ? getLocalizedText(props.column.placeholder, locale.value) : t("combobox-multi-placeholder")
@@ -6,7 +6,7 @@ import { computed, ref, watch } from "vue";
6
6
  import { useI18n } from "vue-i18n";
7
7
  import { asRequest, fetchJsonOption } from "../../../../../share/request";
8
8
  import { cel as _rawCel } from "../../../../../utils/cel";
9
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
9
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
10
10
  import { useFormReadonly } from "../../../../form/utils/readonly";
11
11
  import { getLocalizedText } from "../../../../../share/locale";
12
12
  import {
@@ -53,7 +53,7 @@ const { locale, t } = useI18n({
53
53
  });
54
54
  const formState = useFormState();
55
55
  const inherited = injectCELContext();
56
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
56
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
57
57
  const sharedFetchLayer = useSharedFetchLayer();
58
58
  const row = computed(() => props.ctx.row.original);
59
59
  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 { celBindings, injectCELContext } from "../../../../../utils/cel-context";
11
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
12
12
  import { useFormReadonly } from "../../../../form/utils/readonly";
13
13
  import { getLocalizedText } from "../../../../../share/locale";
14
14
  import { dispatchTriggers, useEventChannel } from "../../../../../share/event-bus";
@@ -54,7 +54,7 @@ const { locale, t } = useI18n({
54
54
  }
55
55
  });
56
56
  const inherited = injectCELContext();
57
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
57
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
58
58
  const eventChannel = useEventChannel();
59
59
  const sharedFetchLayer = useSharedFetchLayer();
60
60
  const row = computed(() => props.ctx.row.original);
@@ -5,7 +5,7 @@ import { watchDebounced } from "@vueuse/core";
5
5
  import { computed, nextTick, ref, watch } from "vue";
6
6
  import { useI18n } from "vue-i18n";
7
7
  import { cel as _rawCel } from "../../../../../utils/cel";
8
- import { celBindings, injectCELContext } from "../../../../../utils/cel-context";
8
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
9
9
  import { useFormReadonly } from "../../../../form/utils/readonly";
10
10
  import { getLocalizedText } from "../../../../../share/locale";
11
11
  import { asRequest, fetchJsonOption } from "../../../../../share/request";
@@ -53,7 +53,7 @@ const { locale, t } = useI18n({
53
53
  });
54
54
  const formState = useFormState();
55
55
  const inherited = injectCELContext();
56
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
56
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
57
57
  const sharedFetchLayer = useSharedFetchLayer();
58
58
  const row = computed(() => props.ctx.row.original);
59
59
  const rowIndex = computed(() => props.ctx.row.index);
@@ -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 { celBindings, injectCELContext } from "../../../../../utils/cel-context";
11
+ import { celScope, injectCELContext } from "../../../../../utils/cel-context";
12
12
  import { useFormReadonly } from "../../../../form/utils/readonly";
13
13
  import { getLocalizedText } from "../../../../../share/locale";
14
14
  import { dispatchTriggers, useEventChannel } from "../../../../../share/event-bus";
@@ -54,7 +54,7 @@ const { locale, t } = useI18n({
54
54
  }
55
55
  });
56
56
  const inherited = injectCELContext();
57
- const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
57
+ const $cel = (expression, context) => _rawCel(expression, celScope(inherited, context));
58
58
  const eventChannel = useEventChannel();
59
59
  const sharedFetchLayer = useSharedFetchLayer();
60
60
  const row = computed(() => props.ctx.row.original);
@@ -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 cascade: "independent" | "cascade-down" | "cascade-both";
48
48
  readonly nodeKey: string;
@@ -97,15 +97,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
97
97
  readonly message: string;
98
98
  }[]] | undefined;
99
99
  readonly readonly?: string | undefined;
100
+ readonly dataSource: {
101
+ readonly data: string;
102
+ readonly request?: string | undefined;
103
+ };
100
104
  readonly binding: string;
101
105
  readonly derived?: {
102
106
  readonly mode: "formula" | "prefill";
103
107
  readonly expression: string;
104
108
  } | undefined;
105
- readonly dataSource: {
106
- readonly data: string;
107
- readonly request?: string | undefined;
108
- };
109
109
  readonly enableSorting?: boolean | undefined;
110
110
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
111
111
  readonly nodeKey: 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 cascade: "independent" | "cascade-down" | "cascade-both";
48
48
  readonly nodeKey: string;
@@ -97,15 +97,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
97
97
  readonly message: string;
98
98
  }[]] | undefined;
99
99
  readonly readonly?: string | undefined;
100
+ readonly dataSource: {
101
+ readonly data: string;
102
+ readonly request?: string | undefined;
103
+ };
100
104
  readonly binding: string;
101
105
  readonly derived?: {
102
106
  readonly mode: "formula" | "prefill";
103
107
  readonly expression: string;
104
108
  } | undefined;
105
- readonly dataSource: {
106
- readonly data: string;
107
- readonly request?: string | undefined;
108
- };
109
109
  readonly enableSorting?: boolean | undefined;
110
110
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
111
111
  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 { celBindings, injectCELContext } from "../../../../../utils/cel-context";
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, { ...celBindings(inherited), ...context });
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);