@shwfed/config 2.5.3 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/mcp.mjs +1220 -1045
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +7 -1
  4. package/dist/preview/assets/config-B5FFtD0s.js +1 -0
  5. package/dist/preview/assets/config-BpWP2vu_.js +1 -0
  6. package/dist/preview/assets/{config-ekMG8PO0.js → config-C2OqUTNd.js} +1 -1
  7. package/dist/preview/assets/{config-BVjCjkAL.js → config-D7cjMBeK.js} +1 -1
  8. package/dist/preview/assets/config-DhORWTZC.js +1 -0
  9. package/dist/preview/assets/config-DuuYvFG_.js +1 -0
  10. package/dist/preview/assets/config-dpwN2-UY.js +1 -0
  11. package/dist/preview/assets/{config-DN6k6pjm.js → config-eP0EblYK.js} +1 -1
  12. package/dist/preview/assets/{config-CtGduGcR.js → config-hs_pZ5MM.js} +1 -1
  13. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-I7unZVnH.js → definition.vue_vue_type_script_setup_true_lang-B8-Uydoy.js} +1 -1
  14. package/dist/preview/assets/index-BGFrUxgg.js +680 -0
  15. package/dist/preview/assets/index-BoGW90Pq.css +1 -0
  16. package/dist/preview/assets/index-Bw16PZhL.js +1 -0
  17. package/dist/preview/assets/index-CG261V86.js +1 -0
  18. package/dist/preview/assets/item-aVe51Gy6.js +1 -0
  19. package/dist/preview/assets/runtime-3rNI0KDH.js +1 -0
  20. package/dist/preview/assets/runtime-BOn8EwHL.js +1 -0
  21. package/dist/preview/assets/runtime-Bwr-rb58.js +1 -0
  22. package/dist/preview/assets/runtime-CXQuhSAX.js +1 -0
  23. package/dist/preview/assets/runtime-CYGmRjmI.js +1 -0
  24. package/dist/preview/assets/runtime-Ca79Fs6I.js +1 -0
  25. package/dist/preview/assets/runtime-CfVt6IWe.js +1 -0
  26. package/dist/preview/assets/runtime-DYj-R8SZ.js +1 -0
  27. package/dist/preview/assets/runtime-Dd1GqYeP.js +1 -0
  28. package/dist/preview/index.html +2 -2
  29. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/config.d.vue.ts +59 -0
  30. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/config.vue +452 -0
  31. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/config.vue.d.ts +59 -0
  32. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/item.d.vue.ts +7 -0
  33. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/item.vue +112 -0
  34. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/item.vue.d.ts +7 -0
  35. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/runtime.d.vue.ts +59 -0
  36. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/runtime.vue +47 -0
  37. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/runtime.vue.d.ts +59 -0
  38. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.d.ts +92 -0
  39. package/dist/runtime/components/config/blocks/2026-06-01/com.shwfed.block.animated.number/schema.js +117 -0
  40. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
  41. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
  42. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
  43. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
  44. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
  45. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
  46. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
  47. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
  48. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/schema.js +1 -1
  49. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/schema.js +1 -1
  50. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
  51. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
  52. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
  53. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
  54. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
  55. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
  56. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
  57. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
  58. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
  59. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
  60. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
  61. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
  62. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  63. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  64. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  65. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  66. package/dist/runtime/components/table/config.vue +17 -1
  67. package/dist/runtime/components/table/index.vue +1 -0
  68. package/dist/runtime/components/table/row-provider.d.vue.ts +1 -0
  69. package/dist/runtime/components/table/row-provider.vue +9 -2
  70. package/dist/runtime/components/table/row-provider.vue.d.ts +1 -0
  71. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  72. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  73. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  74. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  75. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  76. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  77. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  78. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  79. package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.d.vue.ts +22 -0
  80. package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue +134 -0
  81. package/dist/runtime/components/ui/expression-editor/CodeMirrorInput.vue.d.ts +22 -0
  82. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.d.vue.ts +2 -2
  83. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +71 -50
  84. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue.d.ts +2 -2
  85. package/dist/runtime/components/ui/expression-editor/cel-language.d.ts +16 -0
  86. package/dist/runtime/components/ui/expression-editor/cel-language.js +114 -0
  87. package/dist/runtime/components/ui/expression-editor/chip-extension.d.ts +5 -0
  88. package/dist/runtime/components/ui/expression-editor/chip-extension.js +123 -0
  89. package/dist/runtime/components/ui/expression-editor/picker-entries.d.ts +17 -0
  90. package/dist/runtime/components/ui/expression-editor/picker-entries.js +34 -0
  91. package/dist/runtime/components/ui/expression-editor/scope-refs.d.ts +20 -0
  92. package/dist/runtime/components/ui/expression-editor/scope-refs.js +39 -0
  93. package/dist/runtime/share/expression.js +9 -0
  94. package/dist/runtime/utils/cel-context.d.ts +36 -0
  95. package/dist/runtime/utils/cel-context.js +39 -0
  96. package/package.json +7 -1
  97. package/dist/preview/assets/config-C5TWIUX-.js +0 -1
  98. package/dist/preview/assets/config-CH28q4_H.js +0 -1
  99. package/dist/preview/assets/config-D9tBv8LD.js +0 -1
  100. package/dist/preview/assets/config-DxB8qwAu.js +0 -1
  101. package/dist/preview/assets/config-U359oLg8.js +0 -1
  102. package/dist/preview/assets/index-CZ-XSjS_.js +0 -668
  103. package/dist/preview/assets/index-HfGseg4M.js +0 -1
  104. package/dist/preview/assets/index-nvAUAYGM.css +0 -1
  105. package/dist/preview/assets/runtime-27bDIkKv.js +0 -1
  106. package/dist/preview/assets/runtime-BAQ6ezPo.js +0 -1
  107. package/dist/preview/assets/runtime-BKQvzSax.js +0 -1
  108. package/dist/preview/assets/runtime-BafXFP0s.js +0 -1
  109. package/dist/preview/assets/runtime-CAzVJ-if.js +0 -1
  110. package/dist/preview/assets/runtime-CQly-3c3.js +0 -1
  111. package/dist/preview/assets/runtime-DJgDXKfE.js +0 -1
  112. package/dist/preview/assets/runtime-Dhd51Wyr.js +0 -1
  113. package/dist/preview/assets/runtime-x8IdC454.js +0 -1
@@ -10,7 +10,7 @@ export const metadata = {
10
10
  w: { initial: 8, min: 4, max: Infinity },
11
11
  h: { initial: 2, min: 2, max: 2 }
12
12
  };
13
- const isListType = (actual) => actual === "dyn" || actual.startsWith("list");
13
+ const isListType = (actual) => actual === "dyn" || actual.startsWith("list") || actual.startsWith("optional");
14
14
  function configureWithOption(configure) {
15
15
  return (env) => {
16
16
  configure(env);
@@ -10,7 +10,7 @@ export const metadata = {
10
10
  w: { initial: 8, min: 4, max: Infinity },
11
11
  h: { initial: 2, min: 2, max: 2 }
12
12
  };
13
- const isListType = (actual) => actual === "dyn" || actual.startsWith("list");
13
+ const isListType = (actual) => actual === "dyn" || actual.startsWith("list") || actual.startsWith("optional");
14
14
  function configureWithOption(configure) {
15
15
  return (env) => {
16
16
  configure(env);
@@ -50,9 +50,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
50
  readonly locale: "en" | "ja" | "ko";
51
51
  readonly message: string;
52
52
  }[]];
53
- readonly successMessage?: string | undefined;
54
53
  readonly accessor: string;
55
54
  readonly sortKey?: string | undefined;
55
+ readonly successMessage?: string | undefined;
56
56
  }) => any;
57
57
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
58
58
  "onUpdate:modelValue"?: ((value: {
@@ -102,9 +102,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
102
  readonly locale: "en" | "ja" | "ko";
103
103
  readonly message: string;
104
104
  }[]];
105
- readonly successMessage?: string | undefined;
106
105
  readonly accessor: string;
107
106
  readonly sortKey?: string | undefined;
107
+ readonly successMessage?: string | undefined;
108
108
  }) => any) | undefined;
109
109
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
110
110
  declare const _default: typeof __VLS_export;
@@ -50,9 +50,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
50
  readonly locale: "en" | "ja" | "ko";
51
51
  readonly message: string;
52
52
  }[]];
53
- readonly successMessage?: string | undefined;
54
53
  readonly accessor: string;
55
54
  readonly sortKey?: string | undefined;
55
+ readonly successMessage?: string | undefined;
56
56
  }) => any;
57
57
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
58
58
  "onUpdate:modelValue"?: ((value: {
@@ -102,9 +102,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
102
  readonly locale: "en" | "ja" | "ko";
103
103
  readonly message: string;
104
104
  }[]];
105
- readonly successMessage?: string | undefined;
106
105
  readonly accessor: string;
107
106
  readonly sortKey?: string | undefined;
107
+ readonly successMessage?: string | undefined;
108
108
  }) => any) | undefined;
109
109
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
110
110
  declare const _default: typeof __VLS_export;
@@ -64,9 +64,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
64
  readonly readonly?: string | undefined;
65
65
  readonly grow?: boolean | undefined;
66
66
  readonly enableSorting?: boolean | undefined;
67
- readonly successMessage?: string | undefined;
68
67
  readonly accessor: string;
69
68
  readonly sortKey?: string | undefined;
69
+ readonly successMessage?: string | undefined;
70
70
  }) => any;
71
71
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
72
72
  "onUpdate:modelValue"?: ((value: {
@@ -130,9 +130,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
130
130
  readonly readonly?: string | undefined;
131
131
  readonly grow?: boolean | undefined;
132
132
  readonly enableSorting?: boolean | undefined;
133
- readonly successMessage?: string | undefined;
134
133
  readonly accessor: string;
135
134
  readonly sortKey?: string | undefined;
135
+ readonly successMessage?: string | undefined;
136
136
  }) => any) | undefined;
137
137
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
138
138
  declare const _default: typeof __VLS_export;
@@ -64,9 +64,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
64
  readonly readonly?: string | undefined;
65
65
  readonly grow?: boolean | undefined;
66
66
  readonly enableSorting?: boolean | undefined;
67
- readonly successMessage?: string | undefined;
68
67
  readonly accessor: string;
69
68
  readonly sortKey?: string | undefined;
69
+ readonly successMessage?: string | undefined;
70
70
  }) => any;
71
71
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
72
72
  "onUpdate:modelValue"?: ((value: {
@@ -130,9 +130,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
130
130
  readonly readonly?: string | undefined;
131
131
  readonly grow?: boolean | undefined;
132
132
  readonly enableSorting?: boolean | undefined;
133
- readonly successMessage?: string | undefined;
134
133
  readonly accessor: string;
135
134
  readonly sortKey?: string | undefined;
135
+ readonly successMessage?: string | undefined;
136
136
  }) => any) | undefined;
137
137
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
138
138
  declare const _default: typeof __VLS_export;
@@ -50,9 +50,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
50
  readonly locale: "en" | "ja" | "ko";
51
51
  readonly message: string;
52
52
  }[]];
53
- readonly successMessage?: string | undefined;
54
53
  readonly accessor: string;
55
54
  readonly sortKey?: string | undefined;
55
+ readonly successMessage?: string | undefined;
56
56
  }) => any;
57
57
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
58
58
  "onUpdate:modelValue"?: ((value: {
@@ -102,9 +102,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
102
  readonly locale: "en" | "ja" | "ko";
103
103
  readonly message: string;
104
104
  }[]];
105
- readonly successMessage?: string | undefined;
106
105
  readonly accessor: string;
107
106
  readonly sortKey?: string | undefined;
107
+ readonly successMessage?: string | undefined;
108
108
  }) => any) | undefined;
109
109
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
110
110
  declare const _default: typeof __VLS_export;
@@ -50,9 +50,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
50
50
  readonly locale: "en" | "ja" | "ko";
51
51
  readonly message: string;
52
52
  }[]];
53
- readonly successMessage?: string | undefined;
54
53
  readonly accessor: string;
55
54
  readonly sortKey?: string | undefined;
55
+ readonly successMessage?: string | undefined;
56
56
  }) => any;
57
57
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
58
58
  "onUpdate:modelValue"?: ((value: {
@@ -102,9 +102,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
102
102
  readonly locale: "en" | "ja" | "ko";
103
103
  readonly message: string;
104
104
  }[]];
105
- readonly successMessage?: string | undefined;
106
105
  readonly accessor: string;
107
106
  readonly sortKey?: string | undefined;
107
+ readonly successMessage?: string | undefined;
108
108
  }) => any) | undefined;
109
109
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
110
110
  declare const _default: typeof __VLS_export;
@@ -64,9 +64,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
64
  readonly readonly?: string | undefined;
65
65
  readonly grow?: boolean | undefined;
66
66
  readonly enableSorting?: boolean | undefined;
67
- readonly successMessage?: string | undefined;
68
67
  readonly accessor: string;
69
68
  readonly sortKey?: string | undefined;
69
+ readonly successMessage?: string | undefined;
70
70
  }) => any;
71
71
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
72
72
  "onUpdate:modelValue"?: ((value: {
@@ -130,9 +130,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
130
130
  readonly readonly?: string | undefined;
131
131
  readonly grow?: boolean | undefined;
132
132
  readonly enableSorting?: boolean | undefined;
133
- readonly successMessage?: string | undefined;
134
133
  readonly accessor: string;
135
134
  readonly sortKey?: string | undefined;
135
+ readonly successMessage?: string | undefined;
136
136
  }) => any) | undefined;
137
137
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
138
138
  declare const _default: typeof __VLS_export;
@@ -64,9 +64,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
64
  readonly readonly?: string | undefined;
65
65
  readonly grow?: boolean | undefined;
66
66
  readonly enableSorting?: boolean | undefined;
67
- readonly successMessage?: string | undefined;
68
67
  readonly accessor: string;
69
68
  readonly sortKey?: string | undefined;
69
+ readonly successMessage?: string | undefined;
70
70
  }) => any;
71
71
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
72
72
  "onUpdate:modelValue"?: ((value: {
@@ -130,9 +130,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
130
130
  readonly readonly?: string | undefined;
131
131
  readonly grow?: boolean | undefined;
132
132
  readonly enableSorting?: boolean | undefined;
133
- readonly successMessage?: string | undefined;
134
133
  readonly accessor: string;
135
134
  readonly sortKey?: string | undefined;
135
+ readonly successMessage?: string | undefined;
136
136
  }) => any) | undefined;
137
137
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
138
138
  declare const _default: typeof __VLS_export;
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
79
79
  };
80
80
  }[];
81
81
  };
82
- readonly successMessage?: string | undefined;
83
82
  readonly accessor: string;
84
83
  readonly sortKey?: string | undefined;
84
+ readonly successMessage?: string | undefined;
85
85
  }) => any;
86
86
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
87
87
  "onUpdate:modelValue"?: ((value: {
@@ -160,9 +160,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
160
160
  };
161
161
  }[];
162
162
  };
163
- readonly successMessage?: string | undefined;
164
163
  readonly accessor: string;
165
164
  readonly sortKey?: string | undefined;
165
+ readonly successMessage?: string | undefined;
166
166
  }) => any) | undefined;
167
167
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
168
168
  declare const _default: typeof __VLS_export;
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
79
79
  };
80
80
  }[];
81
81
  };
82
- readonly successMessage?: string | undefined;
83
82
  readonly accessor: string;
84
83
  readonly sortKey?: string | undefined;
84
+ readonly successMessage?: string | undefined;
85
85
  }) => any;
86
86
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
87
87
  "onUpdate:modelValue"?: ((value: {
@@ -160,9 +160,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
160
160
  };
161
161
  }[];
162
162
  };
163
- readonly successMessage?: string | undefined;
164
163
  readonly accessor: string;
165
164
  readonly sortKey?: string | undefined;
165
+ readonly successMessage?: string | undefined;
166
166
  }) => any) | undefined;
167
167
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
168
168
  declare const _default: typeof __VLS_export;
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
79
79
  };
80
80
  }[];
81
81
  };
82
- readonly successMessage?: string | undefined;
83
82
  readonly accessor: string;
84
83
  readonly sortKey?: string | undefined;
84
+ readonly successMessage?: string | undefined;
85
85
  }) => any;
86
86
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
87
87
  "onUpdate:modelValue"?: ((value: {
@@ -160,9 +160,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
160
160
  };
161
161
  }[];
162
162
  };
163
- readonly successMessage?: string | undefined;
164
163
  readonly accessor: string;
165
164
  readonly sortKey?: string | undefined;
165
+ readonly successMessage?: string | undefined;
166
166
  }) => any) | undefined;
167
167
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
168
168
  declare const _default: typeof __VLS_export;
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
79
79
  };
80
80
  }[];
81
81
  };
82
- readonly successMessage?: string | undefined;
83
82
  readonly accessor: string;
84
83
  readonly sortKey?: string | undefined;
84
+ readonly successMessage?: string | undefined;
85
85
  }) => any;
86
86
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
87
87
  "onUpdate:modelValue"?: ((value: {
@@ -160,9 +160,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
160
160
  };
161
161
  }[];
162
162
  };
163
- readonly successMessage?: string | undefined;
164
163
  readonly accessor: string;
165
164
  readonly sortKey?: string | undefined;
165
+ readonly successMessage?: string | undefined;
166
166
  }) => any) | undefined;
167
167
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
168
168
  declare const _default: typeof __VLS_export;
@@ -43,8 +43,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly target: string;
44
44
  readonly operation: string;
45
45
  }[] | undefined;
46
- readonly successMessage?: string | undefined;
47
46
  readonly accessor: string;
47
+ readonly successMessage?: string | undefined;
48
48
  };
49
49
  readonly grow?: boolean | undefined;
50
50
  readonly enableSorting?: boolean | undefined;
@@ -132,8 +132,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
132
132
  readonly target: string;
133
133
  readonly operation: string;
134
134
  }[] | undefined;
135
- readonly successMessage?: string | undefined;
136
135
  readonly accessor: string;
136
+ readonly successMessage?: string | undefined;
137
137
  };
138
138
  readonly grow?: boolean | undefined;
139
139
  readonly enableSorting?: boolean | undefined;
@@ -43,8 +43,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly target: string;
44
44
  readonly operation: string;
45
45
  }[] | undefined;
46
- readonly successMessage?: string | undefined;
47
46
  readonly accessor: string;
47
+ readonly successMessage?: string | undefined;
48
48
  };
49
49
  readonly grow?: boolean | undefined;
50
50
  readonly enableSorting?: boolean | undefined;
@@ -132,8 +132,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
132
132
  readonly target: string;
133
133
  readonly operation: string;
134
134
  }[] | undefined;
135
- readonly successMessage?: string | undefined;
136
135
  readonly accessor: string;
136
+ readonly successMessage?: string | undefined;
137
137
  };
138
138
  readonly grow?: boolean | undefined;
139
139
  readonly enableSorting?: boolean | undefined;
@@ -43,8 +43,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly target: string;
44
44
  readonly operation: string;
45
45
  }[] | undefined;
46
- readonly successMessage?: string | undefined;
47
46
  readonly accessor: string;
47
+ readonly successMessage?: string | undefined;
48
48
  };
49
49
  readonly grow?: boolean | undefined;
50
50
  readonly enableSorting?: boolean | undefined;
@@ -132,8 +132,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
132
132
  readonly target: string;
133
133
  readonly operation: string;
134
134
  }[] | undefined;
135
- readonly successMessage?: string | undefined;
136
135
  readonly accessor: string;
136
+ readonly successMessage?: string | undefined;
137
137
  };
138
138
  readonly grow?: boolean | undefined;
139
139
  readonly enableSorting?: boolean | undefined;
@@ -43,8 +43,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly target: string;
44
44
  readonly operation: string;
45
45
  }[] | undefined;
46
- readonly successMessage?: string | undefined;
47
46
  readonly accessor: string;
47
+ readonly successMessage?: string | undefined;
48
48
  };
49
49
  readonly grow?: boolean | undefined;
50
50
  readonly enableSorting?: boolean | undefined;
@@ -132,8 +132,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
132
132
  readonly target: string;
133
133
  readonly operation: string;
134
134
  }[] | undefined;
135
- readonly successMessage?: string | undefined;
136
135
  readonly accessor: string;
136
+ readonly successMessage?: string | undefined;
137
137
  };
138
138
  readonly grow?: boolean | undefined;
139
139
  readonly enableSorting?: boolean | undefined;
@@ -1,6 +1,6 @@
1
1
  <script setup>
2
2
  import { computed, defineComponent, inject, onBeforeUnmount, provide, ref, watch } from "vue";
3
- import { provideCELContext } from "../../utils/cel-context";
3
+ import { provideCELContext, provideScopeAncestor } from "../../utils/cel-context";
4
4
  import { BREADCRUMB_EXTENSION_KEY } from "../config/breadcrumb-extension";
5
5
  import { TABLE_COLUMN_LAYOUT_KEY } from "./column-layout";
6
6
  import { Icon } from "@iconify/vue";
@@ -272,6 +272,22 @@ const tableEventAncestor = computed(() => {
272
272
  };
273
273
  });
274
274
  provideEventAncestor(tableEventAncestor);
275
+ const tableScopeAncestor = computed(() => {
276
+ const id = config.value.id;
277
+ if (!id) return null;
278
+ const displayName = config.value.displayName;
279
+ return {
280
+ id,
281
+ name: displayName && displayName.length > 0 ? displayName : void 0,
282
+ typeName: tableMetadata.name,
283
+ typeIcon: tableMetadata.icon,
284
+ members: [
285
+ { key: "row", label: "\u5F53\u524D\u884C", type: "dyn", description: "\u8BE5\u8868\u683C\u5F53\u524D\u884C\u7684\u6574\u884C\u6570\u636E" },
286
+ { key: "index", label: "\u884C\u5E8F\u53F7", type: "number", description: "\u8BE5\u8868\u683C\u5F53\u524D\u884C\u7684\u5E8F\u53F7\uFF0C\u4ECE `0` \u5F00\u59CB" }
287
+ ]
288
+ };
289
+ });
290
+ provideScopeAncestor(tableScopeAncestor);
275
291
  const isDrilled = computed(
276
292
  () => selectedActions.value || selectedQuery.value || columnFullPane.value
277
293
  );
@@ -809,6 +809,7 @@ export { TableConfig, createTableConfig, getColumnTechnicalKey } from "./schema"
809
809
  :derived-columns="derivedEditableColumns"
810
810
  :get-row="getRowAt"
811
811
  :set-row="setRowAt"
812
+ :scope-id="config?.id"
812
813
  >
813
814
  <tr
814
815
  :ref="getRowRefFn(rows[r.index].id)"
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  derivedColumns: ReadonlyArray<FieldValue>;
6
6
  getRow: (i: number) => unknown;
7
7
  setRow: (i: number, value: unknown) => void;
8
+ scopeId?: string;
8
9
  };
9
10
  declare var __VLS_1: {};
10
11
  type __VLS_Slots = {} & {
@@ -2,7 +2,7 @@
2
2
  import { Effect } from "effect";
3
3
  import { customRef } from "vue";
4
4
  import { cel as _rawCel } from "../../utils/cel";
5
- import { celBindings, injectCELContext, provideCELContext } from "../../utils/cel-context";
5
+ import { celBindings, injectCELContext, provideCELContext, provideScopeAddress } from "../../utils/cel-context";
6
6
  import { useDerived, useDerivedQuiescence } from "../form/utils/derived";
7
7
  import { provideFormState } from "../form/utils/state";
8
8
  defineOptions({ name: "ShwfedTableRowProvider" });
@@ -11,7 +11,8 @@ const props = defineProps({
11
11
  displayIndex: { type: Number, required: true },
12
12
  derivedColumns: { type: Array, required: true },
13
13
  getRow: { type: Function, required: true },
14
- setRow: { type: Function, required: true }
14
+ setRow: { type: Function, required: true },
15
+ scopeId: { type: String, required: false }
15
16
  });
16
17
  const rowRef = customRef((track, trigger) => ({
17
18
  get() {
@@ -37,6 +38,12 @@ provideCELContext({
37
38
  value: () => props.displayIndex
38
39
  }
39
40
  });
41
+ if (props.scopeId) {
42
+ provideScopeAddress(props.scopeId, {
43
+ row: () => rowRef.value,
44
+ index: () => props.displayIndex
45
+ });
46
+ }
40
47
  const inherited = injectCELContext();
41
48
  const $cel = (expression, context) => _rawCel(expression, { ...celBindings(inherited), ...context });
42
49
  const formState = provideFormState(rowRef, "row");
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  derivedColumns: ReadonlyArray<FieldValue>;
6
6
  getRow: (i: number) => unknown;
7
7
  setRow: (i: number, value: unknown) => void;
8
+ scopeId?: string;
8
9
  };
9
10
  declare var __VLS_1: {};
10
11
  type __VLS_Slots = {} & {
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
24
24
  "onUpdate:modelValue"?: ((args_0: Date | undefined) => any) | undefined;
25
25
  }>, {
26
26
  size: "sm" | "md" | "lg";
27
- clearIcon: string;
28
27
  clearable: boolean;
28
+ clearIcon: string;
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: typeof __VLS_export;
31
31
  export default _default;
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
24
24
  "onUpdate:modelValue"?: ((args_0: Date | undefined) => any) | undefined;
25
25
  }>, {
26
26
  size: "sm" | "md" | "lg";
27
- clearIcon: string;
28
27
  clearable: boolean;
28
+ clearIcon: string;
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
30
  declare const _default: typeof __VLS_export;
31
31
  export default _default;
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
22
22
  size: "sm" | "md" | "lg";
23
23
  granularity: "hour" | "minute" | "second";
24
24
  hourCycle: 12 | 24;
25
- clearIcon: string;
26
25
  clearable: boolean;
26
+ clearIcon: string;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
28
  declare const _default: typeof __VLS_export;
29
29
  export default _default;
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
22
22
  size: "sm" | "md" | "lg";
23
23
  granularity: "hour" | "minute" | "second";
24
24
  hourCycle: 12 | 24;
25
- clearIcon: string;
26
25
  clearable: boolean;
26
+ clearIcon: string;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
28
  declare const _default: typeof __VLS_export;
29
29
  export default _default;
@@ -29,8 +29,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
29
29
  "onUpdate:endValue"?: ((args_0: Date | undefined) => any) | undefined;
30
30
  }>, {
31
31
  size: "sm" | "md" | "lg";
32
- clearIcon: string;
33
32
  clearable: boolean;
33
+ clearIcon: string;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  export default _default;
@@ -29,8 +29,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
29
29
  "onUpdate:endValue"?: ((args_0: Date | undefined) => any) | undefined;
30
30
  }>, {
31
31
  size: "sm" | "md" | "lg";
32
- clearIcon: string;
33
32
  clearable: boolean;
33
+ clearIcon: string;
34
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  export default _default;
@@ -26,9 +26,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
26
26
  size: "sm" | "md" | "lg";
27
27
  granularity: "hour" | "minute" | "second";
28
28
  hourCycle: 12 | 24;
29
- rangeSeparatorIcon: string;
30
- clearIcon: string;
31
29
  clearable: boolean;
30
+ clearIcon: string;
31
+ rangeSeparatorIcon: string;
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
33
  declare const _default: typeof __VLS_export;
34
34
  export default _default;
@@ -26,9 +26,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
26
26
  size: "sm" | "md" | "lg";
27
27
  granularity: "hour" | "minute" | "second";
28
28
  hourCycle: 12 | 24;
29
- rangeSeparatorIcon: string;
30
- clearIcon: string;
31
29
  clearable: boolean;
30
+ clearIcon: string;
31
+ rangeSeparatorIcon: string;
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
33
  declare const _default: typeof __VLS_export;
34
34
  export default _default;
@@ -0,0 +1,22 @@
1
+ import type { HTMLAttributes } from 'vue';
2
+ import type { ScopeInfo } from './scope-refs.js';
3
+ type __VLS_Props = {
4
+ class?: HTMLAttributes['class'];
5
+ defaultValue?: string;
6
+ modelValue?: string;
7
+ multiline?: boolean;
8
+ placeholder?: string;
9
+ scopeLookup: Map<string, ScopeInfo>;
10
+ };
11
+ declare function insertAtSelection(text: string): void;
12
+ declare function focus(): void;
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
14
+ insertAtSelection: typeof insertAtSelection;
15
+ focus: typeof focus;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ "update:modelValue": (payload: string) => any;
18
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ "onUpdate:modelValue"?: ((payload: string) => any) | undefined;
20
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;