@shwfed/config 2.10.5 → 2.10.7

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 (75) hide show
  1. package/dist/mcp.mjs +34 -13
  2. package/dist/module.json +1 -1
  3. package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-D-COryaS.js → FieldGroup.vue_vue_type_script_setup_true_lang-CV3u1wuG.js} +1 -1
  4. package/dist/preview/assets/{badge-Sb01O_E2.js → badge-De7TI8Ef.js} +1 -1
  5. package/dist/preview/assets/{config-DA1Knc1V.js → config-A0pwpJhu.js} +1 -1
  6. package/dist/preview/assets/{config-CEM0BCax.js → config-BF4I0Pko.js} +1 -1
  7. package/dist/preview/assets/{config-D6BiWm3q.js → config-BJL5R6TO.js} +1 -1
  8. package/dist/preview/assets/{config-BjSI3yTw.js → config-Bei-4M8U.js} +1 -1
  9. package/dist/preview/assets/{config-Cz3VQcLY.js → config-C6AzmvwL.js} +1 -1
  10. package/dist/preview/assets/{config-Du8kzY9H.js → config-Cc-RiKc0.js} +1 -1
  11. package/dist/preview/assets/{config-n4AGAnL-.js → config-Ckn8NixF.js} +1 -1
  12. package/dist/preview/assets/{config-BgJWNJ-L.js → config-CnPPWHxs.js} +1 -1
  13. package/dist/preview/assets/{config-CtKXZjQl.js → config-CtW_DgDv.js} +1 -1
  14. package/dist/preview/assets/{config-CyRpAiSg.js → config-DBrYVSus.js} +1 -1
  15. package/dist/preview/assets/{config-99L3dMcP.js → config-DGj2Xh1R.js} +1 -1
  16. package/dist/preview/assets/{config-BzMW9qCl.js → config-DccYHX13.js} +1 -1
  17. package/dist/preview/assets/{config-DGBuMIqU.js → config-DqHlKqr-.js} +1 -1
  18. package/dist/preview/assets/{config-DK0wxXG_.js → config-RuqJAgHJ.js} +1 -1
  19. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-BtOF0dda.js → definition.vue_vue_type_script_setup_true_lang-Ceh2rttd.js} +1 -1
  20. package/dist/preview/assets/{index-BZlqSG2R.js → index-BQIP6UfB.js} +132 -132
  21. package/dist/preview/assets/{index-D3Az3yzR.css → index-Cj7bRG7B.css} +1 -1
  22. package/dist/preview/assets/{index-BOnw60vg.js → index-DAjdcrqQ.js} +1 -1
  23. package/dist/preview/assets/index-DpLMRp28.js +1 -0
  24. package/dist/preview/assets/{item-D7avZRKo.js → item-BNOUeB-e.js} +1 -1
  25. package/dist/preview/assets/{runtime-Dhl0NpTL.js → runtime-B-m0fZl0.js} +1 -1
  26. package/dist/preview/assets/{runtime-Bek88ifk.js → runtime-Bb0APo4d.js} +1 -1
  27. package/dist/preview/assets/{runtime-Dxb1-gUN.js → runtime-BtDC6qh0.js} +1 -1
  28. package/dist/preview/assets/{runtime-CWTz9Iy4.js → runtime-CXSBPV7c.js} +1 -1
  29. package/dist/preview/assets/{runtime-DMsPs0Pz.js → runtime-CdrOV1KF.js} +1 -1
  30. package/dist/preview/assets/{runtime-C9kOkTYc.js → runtime-CtG2gR_k.js} +1 -1
  31. package/dist/preview/assets/{runtime-D-HZWcV-.js → runtime-D2Qtb13C.js} +1 -1
  32. package/dist/preview/assets/{runtime-DOqVHcvv.js → runtime-DCyGTrMp.js} +1 -1
  33. package/dist/preview/assets/{runtime-BWlX7BAG.js → runtime-DDz8U0kg.js} +1 -1
  34. package/dist/preview/assets/{runtime-CSrgcLuC.js → runtime-DzDI7B5M.js} +1 -1
  35. package/dist/preview/assets/{schema-meta-DXS0vi6v.js → schema-meta-DmDYh6aL.js} +1 -1
  36. package/dist/preview/index.html +2 -2
  37. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/runtime.vue +6 -1
  38. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.markdown/schema.js +1 -1
  39. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue +17 -2
  40. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +2 -0
  41. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.js +9 -0
  42. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue +1 -0
  43. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.d.ts +1 -0
  44. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.js +5 -0
  45. package/dist/runtime/components/config/config.vue +44 -0
  46. package/dist/runtime/components/config/index.vue +17 -1
  47. package/dist/runtime/components/config/use-editor.js +3 -1
  48. package/dist/runtime/components/config/utils/resolve.d.ts +22 -0
  49. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +23 -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/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  67. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  68. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  69. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  70. package/dist/runtime/components/table/config.vue +1 -1
  71. package/dist/runtime/components/table/schema.js +19 -12
  72. package/dist/runtime/components/ui/expression-editor/picker-entries.js +1 -1
  73. package/dist/runtime/components/ui/expression-editor/selection-refs.js +1 -1
  74. package/package.json +1 -1
  75. package/dist/preview/assets/index-Rj5bF6fM.js +0 -1
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
- readonly successMessage?: string | undefined;
57
56
  readonly accessor: string;
58
57
  readonly sortKey?: string | undefined;
58
+ readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
- readonly successMessage?: string | undefined;
112
111
  readonly accessor: string;
113
112
  readonly sortKey?: string | undefined;
113
+ readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
- readonly successMessage?: string | undefined;
57
56
  readonly accessor: string;
58
57
  readonly sortKey?: string | undefined;
58
+ readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
- readonly successMessage?: string | undefined;
112
111
  readonly accessor: string;
113
112
  readonly sortKey?: string | undefined;
113
+ readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
67
  }[]] | undefined;
68
68
  readonly readonly?: string | undefined;
69
69
  readonly enableSorting?: boolean | undefined;
70
- readonly successMessage?: string | undefined;
71
70
  readonly accessor: string;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
136
  }[]] | undefined;
137
137
  readonly readonly?: string | undefined;
138
138
  readonly enableSorting?: boolean | undefined;
139
- readonly successMessage?: string | undefined;
140
139
  readonly accessor: string;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
67
  }[]] | undefined;
68
68
  readonly readonly?: string | undefined;
69
69
  readonly enableSorting?: boolean | undefined;
70
- readonly successMessage?: string | undefined;
71
70
  readonly accessor: string;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
136
  }[]] | undefined;
137
137
  readonly readonly?: string | undefined;
138
138
  readonly enableSorting?: boolean | undefined;
139
- readonly successMessage?: string | undefined;
140
139
  readonly accessor: string;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor: string;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor: string;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor: string;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor: string;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor: string;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor: string;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor: string;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor: string;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -84,8 +84,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
84
84
  readonly target: string;
85
85
  readonly operation: string;
86
86
  }[] | undefined;
87
- readonly successMessage?: string | undefined;
88
87
  readonly accessor: string;
88
+ readonly successMessage?: string | undefined;
89
89
  };
90
90
  }) => any;
91
91
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -170,8 +170,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
170
170
  readonly target: string;
171
171
  readonly operation: string;
172
172
  }[] | undefined;
173
- readonly successMessage?: string | undefined;
174
173
  readonly accessor: string;
174
+ readonly successMessage?: string | undefined;
175
175
  };
176
176
  }) => any) | undefined;
177
177
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -84,8 +84,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
84
84
  readonly target: string;
85
85
  readonly operation: string;
86
86
  }[] | undefined;
87
- readonly successMessage?: string | undefined;
88
87
  readonly accessor: string;
88
+ readonly successMessage?: string | undefined;
89
89
  };
90
90
  }) => any;
91
91
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -170,8 +170,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
170
170
  readonly target: string;
171
171
  readonly operation: string;
172
172
  }[] | undefined;
173
- readonly successMessage?: string | undefined;
174
173
  readonly accessor: string;
174
+ readonly successMessage?: string | undefined;
175
175
  };
176
176
  }) => any) | undefined;
177
177
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -84,8 +84,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
84
84
  readonly target: string;
85
85
  readonly operation: string;
86
86
  }[] | undefined;
87
- readonly successMessage?: string | undefined;
88
87
  readonly accessor: string;
88
+ readonly successMessage?: string | undefined;
89
89
  };
90
90
  }) => any;
91
91
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -170,8 +170,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
170
170
  readonly target: string;
171
171
  readonly operation: string;
172
172
  }[] | undefined;
173
- readonly successMessage?: string | undefined;
174
173
  readonly accessor: string;
174
+ readonly successMessage?: string | undefined;
175
175
  };
176
176
  }) => any) | undefined;
177
177
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -84,8 +84,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
84
84
  readonly target: string;
85
85
  readonly operation: string;
86
86
  }[] | undefined;
87
- readonly successMessage?: string | undefined;
88
87
  readonly accessor: string;
88
+ readonly successMessage?: string | undefined;
89
89
  };
90
90
  }) => any;
91
91
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -170,8 +170,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
170
170
  readonly target: string;
171
171
  readonly operation: string;
172
172
  }[] | undefined;
173
- readonly successMessage?: string | undefined;
174
173
  readonly accessor: string;
174
+ readonly successMessage?: string | undefined;
175
175
  };
176
176
  }) => any) | undefined;
177
177
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -121,6 +121,7 @@ const ColumnCELContext = defineComponent({
121
121
  configure(env);
122
122
  registerRowVariablesIfAbsent(env);
123
123
  }));
124
+ provideSelectionRoster(selectionRoster);
124
125
  return () => slots.default?.();
125
126
  }
126
127
  });
@@ -334,7 +335,6 @@ const selectedColumnEntry = computed(() => {
334
335
  const selectionRoster = computed(
335
336
  () => editingColumns.value.filter((c) => findColumnEntry(c.type, c.compatibilityDate)?.metadata?.selection).map((c) => ({ id: c.id, name: columnLabel(c) }))
336
337
  );
337
- provideSelectionRoster(selectionRoster);
338
338
  const pinnedLeftIds = computed(() => {
339
339
  const ids = editingGeneralConfig.value.initialState?.columnPinning?.left;
340
340
  return new Set(Array.isArray(ids) ? ids : []);
@@ -139,18 +139,25 @@ const SORTS_VAR_DESCRIPTION = md`
139
139
  `;
140
140
  export function configureTableActionsScope(env, configure) {
141
141
  configure(env);
142
- env.registerVariable("selected", "list<dyn>", {
143
- label: "\u5DF2\u9009\u884C",
144
- description: "\u5F53\u524D\u5DF2\u52FE\u9009\u7684\u6240\u6709\u884C\uFF08`row` \u7684\u6570\u7EC4\uFF09"
145
- });
146
- env.registerVariable("query", "dyn", {
147
- label: "\u641C\u7D22\u6761\u4EF6",
148
- description: QUERY_VAR_DESCRIPTION
149
- });
150
- env.registerVariable("sorts", "list<map<string, string>>", {
151
- label: "\u6392\u5E8F\u72B6\u6001",
152
- description: SORTS_VAR_DESCRIPTION
153
- });
142
+ const declared = new Set(env.getDefinitions().variables.map((v) => v.name));
143
+ if (!declared.has("selected")) {
144
+ env.registerVariable("selected", "list<dyn>", {
145
+ label: "\u5DF2\u9009\u884C",
146
+ description: "\u5F53\u524D\u5DF2\u52FE\u9009\u7684\u6240\u6709\u884C\uFF08`row` \u7684\u6570\u7EC4\uFF09"
147
+ });
148
+ }
149
+ if (!declared.has("query")) {
150
+ env.registerVariable("query", "dyn", {
151
+ label: "\u641C\u7D22\u6761\u4EF6",
152
+ description: QUERY_VAR_DESCRIPTION
153
+ });
154
+ }
155
+ if (!declared.has("sorts")) {
156
+ env.registerVariable("sorts", "list<map<string, string>>", {
157
+ label: "\u6392\u5E8F\u72B6\u6001",
158
+ description: SORTS_VAR_DESCRIPTION
159
+ });
160
+ }
154
161
  }
155
162
  export function registerDataSourceRequestVars(env) {
156
163
  env.registerVariable("pageIndex", "number", {
@@ -19,7 +19,7 @@ export function buildSelectionEntries(roster) {
19
19
  return roster.map((field) => ({
20
20
  id: `selection:${field.id}`,
21
21
  group: "selection",
22
- insert: `${SELECTIONS_VAR}[${JSON.stringify(field.id)}]`,
22
+ insert: `${SELECTIONS_VAR}[?${JSON.stringify(field.id)}]`,
23
23
  display: field.name,
24
24
  label: "\u9009\u4E2D\u9879",
25
25
  type: "dyn"
@@ -1,6 +1,6 @@
1
1
  import { SELECTIONS_VAR } from "../../../utils/cel-context.js";
2
2
  const SELECTION_REF_RE = new RegExp(
3
- `(?<![\\w$.])${SELECTIONS_VAR}\\[("(?:[^"\\\\]|\\\\.)*")\\]`,
3
+ `(?<![\\w$.])${SELECTIONS_VAR}\\[\\??("(?:[^"\\\\]|\\\\.)*")\\]`,
4
4
  "g"
5
5
  );
6
6
  export function scanSelectionRefs(text) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/config",
3
- "version": "2.10.5",
3
+ "version": "2.10.7",
4
4
  "description": "Configurable UI for SHWFED",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1 +0,0 @@
1
- import{be as e}from"./index-BZlqSG2R.js";import{bf as b,bg as r,bh as s}from"./index-BZlqSG2R.js";export{b as TableConfig,r as createTableConfig,e as default,s as getColumnTechnicalKey};