@shwfed/config 2.9.12 → 2.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +112 -50
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-CpDhqXJp.js → FieldGroup.vue_vue_type_script_setup_true_lang-DZ_H-YRf.js} +1 -1
- package/dist/preview/assets/{badge-Dsz2Rn8b.js → badge-DoNuZh0A.js} +1 -1
- package/dist/preview/assets/{config-CQLR1Zao.js → config-BDDuqAht.js} +1 -1
- package/dist/preview/assets/{config-BCvaA0as.js → config-Bhc_Vu67.js} +1 -1
- package/dist/preview/assets/{config-CRD1MpEn.js → config-BrNZsgV0.js} +1 -1
- package/dist/preview/assets/{config-Y2YuesjH.js → config-C6Cm7DWx.js} +1 -1
- package/dist/preview/assets/{config-bFWnH6k3.js → config-CIYui2J_.js} +1 -1
- package/dist/preview/assets/{config-DY7nQeRd.js → config-CLsjWZz2.js} +1 -1
- package/dist/preview/assets/{config-X6-9yQmS.js → config-Cla0Qngs.js} +1 -1
- package/dist/preview/assets/{config-if9TvUw2.js → config-D4rFsdGO.js} +1 -1
- package/dist/preview/assets/{config-vsMk-zRS.js → config-DTEJOYqA.js} +1 -1
- package/dist/preview/assets/{config-9-c5e5iP.js → config-YGBoSq6x.js} +1 -1
- package/dist/preview/assets/{config-hrBgOr32.js → config-tdZMdIN3.js} +1 -1
- package/dist/preview/assets/{config-BePS5kQb.js → config-ugF_BOWz.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-CPrYbKjH.js → definition.vue_vue_type_script_setup_true_lang-CgNXv26P.js} +1 -1
- package/dist/preview/assets/index-B-QhiviS.js +1 -0
- package/dist/preview/assets/{index-DFRXx_kG.js → index-C3FdepLE.js} +1 -1
- package/dist/preview/assets/{index-Bvlt8fEt.js → index-CWMhB7z4.js} +200 -199
- package/dist/preview/assets/{index-DJ5rzQJr.css → index-CzzwZ7bp.css} +1 -1
- package/dist/preview/assets/{item-auVJu6jy.js → item-DecwNzYq.js} +1 -1
- package/dist/preview/assets/{runtime-Do_KQ5le.js → runtime-BK7KNEyN.js} +1 -1
- package/dist/preview/assets/{runtime-DyeSWij2.js → runtime-C3dmOj9s.js} +1 -1
- package/dist/preview/assets/{runtime-CBDARlsK.js → runtime-C5hqSHRW.js} +1 -1
- package/dist/preview/assets/{runtime-1DsatQOR.js → runtime-C8Ufkmiw.js} +1 -1
- package/dist/preview/assets/{runtime-DaaQn8fX.js → runtime-CYpXd7Pq.js} +1 -1
- package/dist/preview/assets/{runtime-H7c112vi.js → runtime-CjPtRd-T.js} +1 -1
- package/dist/preview/assets/{runtime-CmgeUPz4.js → runtime-DSUjc0Pk.js} +1 -1
- package/dist/preview/assets/{runtime-_5B97gRO.js → runtime-DZ_AwduQ.js} +1 -1
- package/dist/preview/assets/{runtime-BDvuTpxY.js → runtime-DtP98Km5.js} +1 -1
- package/dist/preview/assets/{runtime-28a_li4U.js → runtime-blb90Fhv.js} +1 -1
- package/dist/preview/assets/{schema-meta-Dc89aD6v.js → schema-meta-DWUHNP8E.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +15 -0
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.js +57 -1
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +134 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +134 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +134 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +134 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +195 -0
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/config.d.vue.ts +2 -0
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/config.vue.d.ts +2 -0
- package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +2 -0
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/runtime.js +5 -3
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.js +3 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/config.d.vue.ts +3 -3
- package/dist/runtime/components/table/config.vue +54 -20
- package/dist/runtime/components/table/config.vue.d.ts +3 -3
- package/dist/runtime/components/table/index.d.vue.ts +2 -0
- package/dist/runtime/components/table/index.vue +12 -3
- package/dist/runtime/components/table/index.vue.d.ts +2 -0
- package/dist/runtime/components/table/schema.d.ts +263 -0
- package/dist/runtime/components/table/schema.js +8 -4
- package/package.json +1 -1
- package/dist/preview/assets/index-BoyzyftU.js +0 -1
|
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
67
67
|
readonly readonly?: string | undefined;
|
|
68
68
|
readonly grow?: boolean | 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
|
readonly readonly?: string | undefined;
|
|
137
137
|
readonly grow?: boolean | 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;
|
|
@@ -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
|
readonly readonly?: string | undefined;
|
|
68
68
|
readonly grow?: boolean | 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
|
readonly readonly?: string | undefined;
|
|
137
137
|
readonly grow?: boolean | 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
|
readonly readonly?: string | undefined;
|
|
68
68
|
readonly grow?: boolean | 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
|
readonly readonly?: string | undefined;
|
|
137
137
|
readonly grow?: boolean | 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>;
|
|
@@ -9,11 +9,11 @@ type __VLS_ModelProps = {
|
|
|
9
9
|
modelValue: AnyRecord;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
|
-
declare var
|
|
12
|
+
declare var __VLS_224: {}, __VLS_226: {};
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
|
-
'general-grid-extra'?: (props: typeof
|
|
14
|
+
'general-grid-extra'?: (props: typeof __VLS_224) => any;
|
|
15
15
|
} & {
|
|
16
|
-
'general-extra'?: (props: typeof
|
|
16
|
+
'general-extra'?: (props: typeof __VLS_226) => any;
|
|
17
17
|
};
|
|
18
18
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (value: AnyRecord) => any;
|
|
@@ -254,6 +254,7 @@ watch(
|
|
|
254
254
|
);
|
|
255
255
|
const selectedGeneral = computed(() => selected.value.kind === "general");
|
|
256
256
|
const selectedActions = computed(() => selected.value.kind === "actions");
|
|
257
|
+
const selectedBottomActions = computed(() => selected.value.kind === "bottomActions");
|
|
257
258
|
const selectedQuery = computed(() => selected.value.kind === "query");
|
|
258
259
|
const columnFullPane = ref(false);
|
|
259
260
|
provide(TABLE_COLUMN_LAYOUT_KEY, { fullPane: columnFullPane });
|
|
@@ -295,7 +296,7 @@ const tableScopeAncestor = computed(() => {
|
|
|
295
296
|
});
|
|
296
297
|
provideScopeAncestor(tableScopeAncestor);
|
|
297
298
|
const isDrilled = computed(
|
|
298
|
-
() => selectedActions.value || selectedQuery.value || columnFullPane.value
|
|
299
|
+
() => selectedActions.value || selectedBottomActions.value || selectedQuery.value || columnFullPane.value
|
|
299
300
|
);
|
|
300
301
|
function findGroup(id) {
|
|
301
302
|
return editingGroups.value.find((g) => g.id === id) ?? null;
|
|
@@ -510,6 +511,7 @@ function resolveSelection() {
|
|
|
510
511
|
const s = selected.value;
|
|
511
512
|
if (s.kind === "general") return;
|
|
512
513
|
if (s.kind === "actions") return;
|
|
514
|
+
if (s.kind === "bottomActions") return;
|
|
513
515
|
if (s.kind === "query") return;
|
|
514
516
|
if (s.kind === "group" && findGroup(s.id)) return;
|
|
515
517
|
if (s.kind === "column" && findColumn(s.id)) return;
|
|
@@ -521,6 +523,9 @@ function selectGeneral() {
|
|
|
521
523
|
function selectActions() {
|
|
522
524
|
selected.value = { kind: "actions" };
|
|
523
525
|
}
|
|
526
|
+
function selectBottomActions() {
|
|
527
|
+
selected.value = { kind: "bottomActions" };
|
|
528
|
+
}
|
|
524
529
|
function selectQuery() {
|
|
525
530
|
selected.value = { kind: "query" };
|
|
526
531
|
}
|
|
@@ -539,6 +544,9 @@ if (breadcrumbExt) {
|
|
|
539
544
|
if (s.kind === "actions") {
|
|
540
545
|
crumb.label.value = generalFieldTitle("actions");
|
|
541
546
|
crumb.back.value = selectGeneral;
|
|
547
|
+
} else if (s.kind === "bottomActions") {
|
|
548
|
+
crumb.label.value = generalFieldTitle("bottomActions");
|
|
549
|
+
crumb.back.value = selectGeneral;
|
|
542
550
|
} else if (s.kind === "query") {
|
|
543
551
|
crumb.label.value = generalFieldTitle("query");
|
|
544
552
|
crumb.back.value = selectGeneral;
|
|
@@ -963,9 +971,9 @@ function setPaginationLocale(key, value) {
|
|
|
963
971
|
function getError(fieldPath) {
|
|
964
972
|
return fieldErrors.value[fieldPath];
|
|
965
973
|
}
|
|
966
|
-
const
|
|
974
|
+
const makeTableActionsValue = (key) => computed({
|
|
967
975
|
get: () => {
|
|
968
|
-
const a = editingGeneralConfig.value
|
|
976
|
+
const a = editingGeneralConfig.value[key] ?? {};
|
|
969
977
|
return {
|
|
970
978
|
kind: "shwfed.component.action",
|
|
971
979
|
size: a.size ?? "default",
|
|
@@ -980,18 +988,19 @@ const tableActionsValue = computed({
|
|
|
980
988
|
const hasContent = groups && groups.length > 0 || items && items.length > 0 || typeof style === "string" && style.length > 0 || size !== void 0 && size !== "default";
|
|
981
989
|
if (!hasContent) {
|
|
982
990
|
const cur = readGeneral();
|
|
983
|
-
const {
|
|
991
|
+
const { [key]: _drop, ...rest } = cur;
|
|
984
992
|
const merged = normalizeForEmit(rest);
|
|
985
|
-
const cleared = { ...config.value, ...merged };
|
|
986
|
-
delete cleared.actions;
|
|
993
|
+
const { [key]: _stale, ...cleared } = { ...config.value, ...merged };
|
|
987
994
|
config.value = cleared;
|
|
988
995
|
return;
|
|
989
996
|
}
|
|
990
997
|
const actions = { size, gap, groups, items };
|
|
991
998
|
if (style !== void 0) actions.style = style;
|
|
992
|
-
writeGeneralPatch({ actions });
|
|
999
|
+
writeGeneralPatch({ [key]: actions });
|
|
993
1000
|
}
|
|
994
1001
|
});
|
|
1002
|
+
const tableActionsValue = makeTableActionsValue("actions");
|
|
1003
|
+
const tableBottomActionsValue = makeTableActionsValue("bottomActions");
|
|
995
1004
|
const tableQueryValue = computed({
|
|
996
1005
|
get: () => {
|
|
997
1006
|
const q = editingGeneralConfig.value.query;
|
|
@@ -1036,6 +1045,20 @@ const tableQueryValue = computed({
|
|
|
1036
1045
|
<span class="flex-1 truncate">通用配置</span>
|
|
1037
1046
|
</div>
|
|
1038
1047
|
|
|
1048
|
+
<div
|
|
1049
|
+
class="row general-row pl-2"
|
|
1050
|
+
:class="[
|
|
1051
|
+
selectedQuery ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
|
|
1052
|
+
]"
|
|
1053
|
+
@click.stop="selectQuery()"
|
|
1054
|
+
>
|
|
1055
|
+
<Icon
|
|
1056
|
+
icon="fluent:form-new-20-regular"
|
|
1057
|
+
class="size-4 shrink-0"
|
|
1058
|
+
/>
|
|
1059
|
+
<span class="flex-1 truncate">{{ generalFieldTitle("query") }}</span>
|
|
1060
|
+
</div>
|
|
1061
|
+
|
|
1039
1062
|
<div
|
|
1040
1063
|
class="row general-row pl-2"
|
|
1041
1064
|
:class="[
|
|
@@ -1053,15 +1076,15 @@ const tableQueryValue = computed({
|
|
|
1053
1076
|
<div
|
|
1054
1077
|
class="row general-row pl-2"
|
|
1055
1078
|
:class="[
|
|
1056
|
-
|
|
1079
|
+
selectedBottomActions ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
|
|
1057
1080
|
]"
|
|
1058
|
-
@click.stop="
|
|
1081
|
+
@click.stop="selectBottomActions()"
|
|
1059
1082
|
>
|
|
1060
1083
|
<Icon
|
|
1061
|
-
icon="fluent:
|
|
1084
|
+
icon="fluent:table-bottom-row-20-regular"
|
|
1062
1085
|
class="size-4 shrink-0"
|
|
1063
1086
|
/>
|
|
1064
|
-
<span class="flex-1 truncate">{{ generalFieldTitle("
|
|
1087
|
+
<span class="flex-1 truncate">{{ generalFieldTitle("bottomActions") }}</span>
|
|
1065
1088
|
</div>
|
|
1066
1089
|
</div>
|
|
1067
1090
|
|
|
@@ -1483,22 +1506,26 @@ const tableQueryValue = computed({
|
|
|
1483
1506
|
<Separator />
|
|
1484
1507
|
|
|
1485
1508
|
<div class="flex items-center gap-2">
|
|
1486
|
-
<
|
|
1509
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
1510
|
+
<template
|
|
1511
|
+
v-if="generalFieldDescription('persistQuery')"
|
|
1512
|
+
#tooltip
|
|
1513
|
+
>
|
|
1514
|
+
<Markdown
|
|
1515
|
+
:source="generalFieldDescription('persistQuery')"
|
|
1516
|
+
block
|
|
1517
|
+
class="prose prose-sm prose-zinc"
|
|
1518
|
+
/>
|
|
1519
|
+
</template>
|
|
1487
1520
|
{{ generalFieldTitle("persistQuery") }}
|
|
1488
|
-
</
|
|
1521
|
+
</FieldLabel>
|
|
1489
1522
|
<Switch
|
|
1490
1523
|
size="sm"
|
|
1491
1524
|
:model-value="editingGeneralConfig.persistQuery === true"
|
|
1492
|
-
aria-label="
|
|
1525
|
+
aria-label="保留搜索条件"
|
|
1493
1526
|
@update:model-value="setPersistQueryEnabled"
|
|
1494
1527
|
/>
|
|
1495
1528
|
</div>
|
|
1496
|
-
<p
|
|
1497
|
-
v-if="generalFieldDescription('persistQuery')"
|
|
1498
|
-
class="text-xs text-zinc-400"
|
|
1499
|
-
>
|
|
1500
|
-
{{ generalFieldDescription("persistQuery") }}
|
|
1501
|
-
</p>
|
|
1502
1529
|
|
|
1503
1530
|
<Separator />
|
|
1504
1531
|
|
|
@@ -1564,6 +1591,13 @@ const tableQueryValue = computed({
|
|
|
1564
1591
|
/>
|
|
1565
1592
|
</TableActionsCELContext>
|
|
1566
1593
|
|
|
1594
|
+
<TableActionsCELContext v-else-if="selectedBottomActions">
|
|
1595
|
+
<ActionsConfigEditor
|
|
1596
|
+
v-model="tableBottomActionsValue"
|
|
1597
|
+
:configure="configureTableActions"
|
|
1598
|
+
/>
|
|
1599
|
+
</TableActionsCELContext>
|
|
1600
|
+
|
|
1567
1601
|
<ShwfedFormConfig
|
|
1568
1602
|
v-else-if="selectedQuery"
|
|
1569
1603
|
v-model="tableQueryValue"
|
|
@@ -9,11 +9,11 @@ type __VLS_ModelProps = {
|
|
|
9
9
|
modelValue: AnyRecord;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
|
-
declare var
|
|
12
|
+
declare var __VLS_224: {}, __VLS_226: {};
|
|
13
13
|
type __VLS_Slots = {} & {
|
|
14
|
-
'general-grid-extra'?: (props: typeof
|
|
14
|
+
'general-grid-extra'?: (props: typeof __VLS_224) => any;
|
|
15
15
|
} & {
|
|
16
|
-
'general-extra'?: (props: typeof
|
|
16
|
+
'general-extra'?: (props: typeof __VLS_226) => any;
|
|
17
17
|
};
|
|
18
18
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (value: AnyRecord) => any;
|
|
@@ -26,6 +26,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
26
26
|
total?: string;
|
|
27
27
|
}>;
|
|
28
28
|
actions?: import("./schema.js").TableActionsValue;
|
|
29
|
+
bottomActions?: import("./schema.js").TableActionsValue;
|
|
29
30
|
query?: import("../form/schema.js").FormConfigValue;
|
|
30
31
|
rowKey?: string;
|
|
31
32
|
cellStyle?: string;
|
|
@@ -72,6 +73,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
72
73
|
total?: string;
|
|
73
74
|
}>;
|
|
74
75
|
actions?: import("./schema.js").TableActionsValue;
|
|
76
|
+
bottomActions?: import("./schema.js").TableActionsValue;
|
|
75
77
|
query?: import("../form/schema.js").FormConfigValue;
|
|
76
78
|
rowKey?: string;
|
|
77
79
|
cellStyle?: string;
|
|
@@ -166,8 +166,7 @@ const columns = computed(() => {
|
|
|
166
166
|
if (current) out.push(makeGroupColumn(current.group, current.children));
|
|
167
167
|
return out;
|
|
168
168
|
});
|
|
169
|
-
const
|
|
170
|
-
const a = config.value?.actions;
|
|
169
|
+
const toActionsConfig = (a) => {
|
|
171
170
|
if (!a) return void 0;
|
|
172
171
|
if ((a.groups?.length ?? 0) === 0 && (a.items?.length ?? 0) === 0) return void 0;
|
|
173
172
|
return {
|
|
@@ -178,7 +177,9 @@ const tableActionsConfig = computed(() => {
|
|
|
178
177
|
groups: a.groups.map((g) => ({ ...g, variant: g.variant ?? "default" })),
|
|
179
178
|
items: a.items
|
|
180
179
|
};
|
|
181
|
-
}
|
|
180
|
+
};
|
|
181
|
+
const tableActionsConfig = computed(() => toActionsConfig(config.value?.actions));
|
|
182
|
+
const tableBottomActionsConfig = computed(() => toActionsConfig(config.value?.bottomActions));
|
|
182
183
|
const isPaginationEnabled = computed(() => config.value?.pagination !== void 0);
|
|
183
184
|
const isManualPagination = computed(() => isPaginationEnabled.value && config.value?.dataSource?.total !== void 0);
|
|
184
185
|
const totalItems = computed(() => isManualPagination.value ? serverTotal.value ?? 0 : rowData.value.length);
|
|
@@ -1058,5 +1059,13 @@ export { TableConfig, createTableConfig, getColumnTechnicalKey } from "./schema"
|
|
|
1058
1059
|
</div>
|
|
1059
1060
|
</ClientOnly>
|
|
1060
1061
|
</div>
|
|
1062
|
+
<nav
|
|
1063
|
+
v-if="tableBottomActionsConfig"
|
|
1064
|
+
class="flex items-center justify-between"
|
|
1065
|
+
>
|
|
1066
|
+
<ShwfedActions
|
|
1067
|
+
:config="tableBottomActionsConfig"
|
|
1068
|
+
/>
|
|
1069
|
+
</nav>
|
|
1061
1070
|
</div>
|
|
1062
1071
|
</template>
|
|
@@ -26,6 +26,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
26
26
|
total?: string;
|
|
27
27
|
}>;
|
|
28
28
|
actions?: import("./schema.js").TableActionsValue;
|
|
29
|
+
bottomActions?: import("./schema.js").TableActionsValue;
|
|
29
30
|
query?: import("../form/schema.js").FormConfigValue;
|
|
30
31
|
rowKey?: string;
|
|
31
32
|
cellStyle?: string;
|
|
@@ -72,6 +73,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
72
73
|
total?: string;
|
|
73
74
|
}>;
|
|
74
75
|
actions?: import("./schema.js").TableActionsValue;
|
|
76
|
+
bottomActions?: import("./schema.js").TableActionsValue;
|
|
75
77
|
query?: import("../form/schema.js").FormConfigValue;
|
|
76
78
|
rowKey?: string;
|
|
77
79
|
cellStyle?: string;
|