@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
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts
CHANGED
|
@@ -130,6 +130,73 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
130
130
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
131
131
|
}[];
|
|
132
132
|
} | undefined;
|
|
133
|
+
readonly bottomActions?: {
|
|
134
|
+
readonly size: "default" | "sm" | "xs";
|
|
135
|
+
readonly style?: string | undefined;
|
|
136
|
+
readonly gap: number;
|
|
137
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
138
|
+
readonly disabled?: string | undefined;
|
|
139
|
+
readonly id: string;
|
|
140
|
+
readonly title: readonly [{
|
|
141
|
+
readonly locale: "zh";
|
|
142
|
+
readonly message: string;
|
|
143
|
+
}, ...{
|
|
144
|
+
readonly locale: "en" | "ja" | "ko";
|
|
145
|
+
readonly message: string;
|
|
146
|
+
}[]];
|
|
147
|
+
readonly icon?: string | undefined;
|
|
148
|
+
readonly hidden?: string | undefined;
|
|
149
|
+
readonly tooltip?: readonly [{
|
|
150
|
+
readonly locale: "zh";
|
|
151
|
+
readonly message: string;
|
|
152
|
+
}, ...{
|
|
153
|
+
readonly locale: "en" | "ja" | "ko";
|
|
154
|
+
readonly message: string;
|
|
155
|
+
}[]] | undefined;
|
|
156
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
157
|
+
readonly action?: any;
|
|
158
|
+
readonly groupId: string;
|
|
159
|
+
readonly hideTitle?: boolean | undefined;
|
|
160
|
+
} | {
|
|
161
|
+
readonly id: string;
|
|
162
|
+
readonly title: readonly [{
|
|
163
|
+
readonly locale: "zh";
|
|
164
|
+
readonly message: string;
|
|
165
|
+
}, ...{
|
|
166
|
+
readonly locale: "en" | "ja" | "ko";
|
|
167
|
+
readonly message: string;
|
|
168
|
+
}[]];
|
|
169
|
+
readonly icon?: string | undefined;
|
|
170
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
171
|
+
readonly disabled?: string | undefined;
|
|
172
|
+
readonly id: string;
|
|
173
|
+
readonly title: readonly [{
|
|
174
|
+
readonly locale: "zh";
|
|
175
|
+
readonly message: string;
|
|
176
|
+
}, ...{
|
|
177
|
+
readonly locale: "en" | "ja" | "ko";
|
|
178
|
+
readonly message: string;
|
|
179
|
+
}[]];
|
|
180
|
+
readonly icon?: string | undefined;
|
|
181
|
+
readonly hidden?: string | undefined;
|
|
182
|
+
readonly tooltip?: readonly [{
|
|
183
|
+
readonly locale: "zh";
|
|
184
|
+
readonly message: string;
|
|
185
|
+
}, ...{
|
|
186
|
+
readonly locale: "en" | "ja" | "ko";
|
|
187
|
+
readonly message: string;
|
|
188
|
+
}[]] | undefined;
|
|
189
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
190
|
+
readonly action?: any;
|
|
191
|
+
})[];
|
|
192
|
+
readonly groupId: string;
|
|
193
|
+
readonly hideTitle?: boolean | undefined;
|
|
194
|
+
})[];
|
|
195
|
+
readonly groups: readonly {
|
|
196
|
+
readonly id: string;
|
|
197
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
198
|
+
}[];
|
|
199
|
+
} | undefined;
|
|
133
200
|
readonly rowKey?: string | undefined;
|
|
134
201
|
readonly cellStyle?: string | undefined;
|
|
135
202
|
readonly pagination?: {
|
|
@@ -311,6 +378,73 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
311
378
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
312
379
|
}[];
|
|
313
380
|
} | undefined;
|
|
381
|
+
readonly bottomActions?: {
|
|
382
|
+
readonly size: "default" | "sm" | "xs";
|
|
383
|
+
readonly style?: string | undefined;
|
|
384
|
+
readonly gap: number;
|
|
385
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
386
|
+
readonly disabled?: string | undefined;
|
|
387
|
+
readonly id: string;
|
|
388
|
+
readonly title: readonly [{
|
|
389
|
+
readonly locale: "zh";
|
|
390
|
+
readonly message: string;
|
|
391
|
+
}, ...{
|
|
392
|
+
readonly locale: "en" | "ja" | "ko";
|
|
393
|
+
readonly message: string;
|
|
394
|
+
}[]];
|
|
395
|
+
readonly icon?: string | undefined;
|
|
396
|
+
readonly hidden?: string | undefined;
|
|
397
|
+
readonly tooltip?: readonly [{
|
|
398
|
+
readonly locale: "zh";
|
|
399
|
+
readonly message: string;
|
|
400
|
+
}, ...{
|
|
401
|
+
readonly locale: "en" | "ja" | "ko";
|
|
402
|
+
readonly message: string;
|
|
403
|
+
}[]] | undefined;
|
|
404
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
405
|
+
readonly action?: any;
|
|
406
|
+
readonly groupId: string;
|
|
407
|
+
readonly hideTitle?: boolean | undefined;
|
|
408
|
+
} | {
|
|
409
|
+
readonly id: string;
|
|
410
|
+
readonly title: readonly [{
|
|
411
|
+
readonly locale: "zh";
|
|
412
|
+
readonly message: string;
|
|
413
|
+
}, ...{
|
|
414
|
+
readonly locale: "en" | "ja" | "ko";
|
|
415
|
+
readonly message: string;
|
|
416
|
+
}[]];
|
|
417
|
+
readonly icon?: string | undefined;
|
|
418
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
419
|
+
readonly disabled?: string | undefined;
|
|
420
|
+
readonly id: string;
|
|
421
|
+
readonly title: readonly [{
|
|
422
|
+
readonly locale: "zh";
|
|
423
|
+
readonly message: string;
|
|
424
|
+
}, ...{
|
|
425
|
+
readonly locale: "en" | "ja" | "ko";
|
|
426
|
+
readonly message: string;
|
|
427
|
+
}[]];
|
|
428
|
+
readonly icon?: string | undefined;
|
|
429
|
+
readonly hidden?: string | undefined;
|
|
430
|
+
readonly tooltip?: readonly [{
|
|
431
|
+
readonly locale: "zh";
|
|
432
|
+
readonly message: string;
|
|
433
|
+
}, ...{
|
|
434
|
+
readonly locale: "en" | "ja" | "ko";
|
|
435
|
+
readonly message: string;
|
|
436
|
+
}[]] | undefined;
|
|
437
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
438
|
+
readonly action?: any;
|
|
439
|
+
})[];
|
|
440
|
+
readonly groupId: string;
|
|
441
|
+
readonly hideTitle?: boolean | undefined;
|
|
442
|
+
})[];
|
|
443
|
+
readonly groups: readonly {
|
|
444
|
+
readonly id: string;
|
|
445
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
446
|
+
}[];
|
|
447
|
+
} | undefined;
|
|
314
448
|
readonly rowKey?: string | undefined;
|
|
315
449
|
readonly cellStyle?: string | undefined;
|
|
316
450
|
readonly pagination?: {
|
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts
CHANGED
|
@@ -130,6 +130,73 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
130
130
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
131
131
|
}[];
|
|
132
132
|
} | undefined;
|
|
133
|
+
readonly bottomActions?: {
|
|
134
|
+
readonly size: "default" | "sm" | "xs";
|
|
135
|
+
readonly style?: string | undefined;
|
|
136
|
+
readonly gap: number;
|
|
137
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
138
|
+
readonly disabled?: string | undefined;
|
|
139
|
+
readonly id: string;
|
|
140
|
+
readonly title: readonly [{
|
|
141
|
+
readonly locale: "zh";
|
|
142
|
+
readonly message: string;
|
|
143
|
+
}, ...{
|
|
144
|
+
readonly locale: "en" | "ja" | "ko";
|
|
145
|
+
readonly message: string;
|
|
146
|
+
}[]];
|
|
147
|
+
readonly icon?: string | undefined;
|
|
148
|
+
readonly hidden?: string | undefined;
|
|
149
|
+
readonly tooltip?: readonly [{
|
|
150
|
+
readonly locale: "zh";
|
|
151
|
+
readonly message: string;
|
|
152
|
+
}, ...{
|
|
153
|
+
readonly locale: "en" | "ja" | "ko";
|
|
154
|
+
readonly message: string;
|
|
155
|
+
}[]] | undefined;
|
|
156
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
157
|
+
readonly action?: any;
|
|
158
|
+
readonly groupId: string;
|
|
159
|
+
readonly hideTitle?: boolean | undefined;
|
|
160
|
+
} | {
|
|
161
|
+
readonly id: string;
|
|
162
|
+
readonly title: readonly [{
|
|
163
|
+
readonly locale: "zh";
|
|
164
|
+
readonly message: string;
|
|
165
|
+
}, ...{
|
|
166
|
+
readonly locale: "en" | "ja" | "ko";
|
|
167
|
+
readonly message: string;
|
|
168
|
+
}[]];
|
|
169
|
+
readonly icon?: string | undefined;
|
|
170
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
171
|
+
readonly disabled?: string | undefined;
|
|
172
|
+
readonly id: string;
|
|
173
|
+
readonly title: readonly [{
|
|
174
|
+
readonly locale: "zh";
|
|
175
|
+
readonly message: string;
|
|
176
|
+
}, ...{
|
|
177
|
+
readonly locale: "en" | "ja" | "ko";
|
|
178
|
+
readonly message: string;
|
|
179
|
+
}[]];
|
|
180
|
+
readonly icon?: string | undefined;
|
|
181
|
+
readonly hidden?: string | undefined;
|
|
182
|
+
readonly tooltip?: readonly [{
|
|
183
|
+
readonly locale: "zh";
|
|
184
|
+
readonly message: string;
|
|
185
|
+
}, ...{
|
|
186
|
+
readonly locale: "en" | "ja" | "ko";
|
|
187
|
+
readonly message: string;
|
|
188
|
+
}[]] | undefined;
|
|
189
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
190
|
+
readonly action?: any;
|
|
191
|
+
})[];
|
|
192
|
+
readonly groupId: string;
|
|
193
|
+
readonly hideTitle?: boolean | undefined;
|
|
194
|
+
})[];
|
|
195
|
+
readonly groups: readonly {
|
|
196
|
+
readonly id: string;
|
|
197
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
198
|
+
}[];
|
|
199
|
+
} | undefined;
|
|
133
200
|
readonly rowKey?: string | undefined;
|
|
134
201
|
readonly cellStyle?: string | undefined;
|
|
135
202
|
readonly pagination?: {
|
|
@@ -311,6 +378,73 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
311
378
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
312
379
|
}[];
|
|
313
380
|
} | undefined;
|
|
381
|
+
readonly bottomActions?: {
|
|
382
|
+
readonly size: "default" | "sm" | "xs";
|
|
383
|
+
readonly style?: string | undefined;
|
|
384
|
+
readonly gap: number;
|
|
385
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
386
|
+
readonly disabled?: string | undefined;
|
|
387
|
+
readonly id: string;
|
|
388
|
+
readonly title: readonly [{
|
|
389
|
+
readonly locale: "zh";
|
|
390
|
+
readonly message: string;
|
|
391
|
+
}, ...{
|
|
392
|
+
readonly locale: "en" | "ja" | "ko";
|
|
393
|
+
readonly message: string;
|
|
394
|
+
}[]];
|
|
395
|
+
readonly icon?: string | undefined;
|
|
396
|
+
readonly hidden?: string | undefined;
|
|
397
|
+
readonly tooltip?: readonly [{
|
|
398
|
+
readonly locale: "zh";
|
|
399
|
+
readonly message: string;
|
|
400
|
+
}, ...{
|
|
401
|
+
readonly locale: "en" | "ja" | "ko";
|
|
402
|
+
readonly message: string;
|
|
403
|
+
}[]] | undefined;
|
|
404
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
405
|
+
readonly action?: any;
|
|
406
|
+
readonly groupId: string;
|
|
407
|
+
readonly hideTitle?: boolean | undefined;
|
|
408
|
+
} | {
|
|
409
|
+
readonly id: string;
|
|
410
|
+
readonly title: readonly [{
|
|
411
|
+
readonly locale: "zh";
|
|
412
|
+
readonly message: string;
|
|
413
|
+
}, ...{
|
|
414
|
+
readonly locale: "en" | "ja" | "ko";
|
|
415
|
+
readonly message: string;
|
|
416
|
+
}[]];
|
|
417
|
+
readonly icon?: string | undefined;
|
|
418
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
419
|
+
readonly disabled?: string | undefined;
|
|
420
|
+
readonly id: string;
|
|
421
|
+
readonly title: readonly [{
|
|
422
|
+
readonly locale: "zh";
|
|
423
|
+
readonly message: string;
|
|
424
|
+
}, ...{
|
|
425
|
+
readonly locale: "en" | "ja" | "ko";
|
|
426
|
+
readonly message: string;
|
|
427
|
+
}[]];
|
|
428
|
+
readonly icon?: string | undefined;
|
|
429
|
+
readonly hidden?: string | undefined;
|
|
430
|
+
readonly tooltip?: readonly [{
|
|
431
|
+
readonly locale: "zh";
|
|
432
|
+
readonly message: string;
|
|
433
|
+
}, ...{
|
|
434
|
+
readonly locale: "en" | "ja" | "ko";
|
|
435
|
+
readonly message: string;
|
|
436
|
+
}[]] | undefined;
|
|
437
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
438
|
+
readonly action?: any;
|
|
439
|
+
})[];
|
|
440
|
+
readonly groupId: string;
|
|
441
|
+
readonly hideTitle?: boolean | undefined;
|
|
442
|
+
})[];
|
|
443
|
+
readonly groups: readonly {
|
|
444
|
+
readonly id: string;
|
|
445
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
446
|
+
}[];
|
|
447
|
+
} | undefined;
|
|
314
448
|
readonly rowKey?: string | undefined;
|
|
315
449
|
readonly cellStyle?: string | undefined;
|
|
316
450
|
readonly pagination?: {
|
|
@@ -145,6 +145,73 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
|
|
|
145
145
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
146
146
|
}[];
|
|
147
147
|
} | undefined;
|
|
148
|
+
readonly bottomActions?: {
|
|
149
|
+
readonly size: "default" | "sm" | "xs";
|
|
150
|
+
readonly style?: string | undefined;
|
|
151
|
+
readonly gap: number;
|
|
152
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
153
|
+
readonly disabled?: string | undefined;
|
|
154
|
+
readonly id: string;
|
|
155
|
+
readonly title: readonly [{
|
|
156
|
+
readonly locale: "zh";
|
|
157
|
+
readonly message: string;
|
|
158
|
+
}, ...{
|
|
159
|
+
readonly locale: "en" | "ja" | "ko";
|
|
160
|
+
readonly message: string;
|
|
161
|
+
}[]];
|
|
162
|
+
readonly icon?: string | undefined;
|
|
163
|
+
readonly hidden?: string | undefined;
|
|
164
|
+
readonly tooltip?: readonly [{
|
|
165
|
+
readonly locale: "zh";
|
|
166
|
+
readonly message: string;
|
|
167
|
+
}, ...{
|
|
168
|
+
readonly locale: "en" | "ja" | "ko";
|
|
169
|
+
readonly message: string;
|
|
170
|
+
}[]] | undefined;
|
|
171
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
172
|
+
readonly action?: any;
|
|
173
|
+
readonly groupId: string;
|
|
174
|
+
readonly hideTitle?: boolean | undefined;
|
|
175
|
+
} | {
|
|
176
|
+
readonly id: string;
|
|
177
|
+
readonly title: readonly [{
|
|
178
|
+
readonly locale: "zh";
|
|
179
|
+
readonly message: string;
|
|
180
|
+
}, ...{
|
|
181
|
+
readonly locale: "en" | "ja" | "ko";
|
|
182
|
+
readonly message: string;
|
|
183
|
+
}[]];
|
|
184
|
+
readonly icon?: string | undefined;
|
|
185
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
186
|
+
readonly disabled?: string | undefined;
|
|
187
|
+
readonly id: string;
|
|
188
|
+
readonly title: readonly [{
|
|
189
|
+
readonly locale: "zh";
|
|
190
|
+
readonly message: string;
|
|
191
|
+
}, ...{
|
|
192
|
+
readonly locale: "en" | "ja" | "ko";
|
|
193
|
+
readonly message: string;
|
|
194
|
+
}[]];
|
|
195
|
+
readonly icon?: string | undefined;
|
|
196
|
+
readonly hidden?: string | undefined;
|
|
197
|
+
readonly tooltip?: readonly [{
|
|
198
|
+
readonly locale: "zh";
|
|
199
|
+
readonly message: string;
|
|
200
|
+
}, ...{
|
|
201
|
+
readonly locale: "en" | "ja" | "ko";
|
|
202
|
+
readonly message: string;
|
|
203
|
+
}[]] | undefined;
|
|
204
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
205
|
+
readonly action?: any;
|
|
206
|
+
})[];
|
|
207
|
+
readonly groupId: string;
|
|
208
|
+
readonly hideTitle?: boolean | undefined;
|
|
209
|
+
})[];
|
|
210
|
+
readonly groups: readonly {
|
|
211
|
+
readonly id: string;
|
|
212
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
213
|
+
}[];
|
|
214
|
+
} | undefined;
|
|
148
215
|
readonly rowKey?: string | undefined;
|
|
149
216
|
readonly cellStyle?: string | undefined;
|
|
150
217
|
readonly pagination?: {
|
|
@@ -352,6 +419,134 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
|
|
|
352
419
|
readonly hideTitle?: boolean | undefined;
|
|
353
420
|
}, never>>;
|
|
354
421
|
}>>;
|
|
422
|
+
bottomActions: Schema.optional<Schema.Struct<{
|
|
423
|
+
size: Schema.optionalWith<Schema.Literal<["default", "sm", "xs"]>, {
|
|
424
|
+
default: () => "default";
|
|
425
|
+
}>;
|
|
426
|
+
gap: Schema.optionalWith<Schema.filter<Schema.filter<typeof Schema.Number>>, {
|
|
427
|
+
default: () => number;
|
|
428
|
+
}>;
|
|
429
|
+
style: Schema.optional<typeof Schema.String>;
|
|
430
|
+
groups: Schema.Array$<Schema.Struct<{
|
|
431
|
+
id: Schema.refine<string, typeof Schema.String>;
|
|
432
|
+
variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
|
|
433
|
+
}>>;
|
|
434
|
+
items: Schema.Array$<Schema.Schema<import("../../../../actions/schema.js").RegistryItemValue | {
|
|
435
|
+
readonly disabled?: string | undefined;
|
|
436
|
+
readonly id: string;
|
|
437
|
+
readonly title: readonly [{
|
|
438
|
+
readonly locale: "zh";
|
|
439
|
+
readonly message: string;
|
|
440
|
+
}, ...{
|
|
441
|
+
readonly locale: "en" | "ja" | "ko";
|
|
442
|
+
readonly message: string;
|
|
443
|
+
}[]];
|
|
444
|
+
readonly icon?: string | undefined;
|
|
445
|
+
readonly hidden?: string | undefined;
|
|
446
|
+
readonly tooltip?: readonly [{
|
|
447
|
+
readonly locale: "zh";
|
|
448
|
+
readonly message: string;
|
|
449
|
+
}, ...{
|
|
450
|
+
readonly locale: "en" | "ja" | "ko";
|
|
451
|
+
readonly message: string;
|
|
452
|
+
}[]] | undefined;
|
|
453
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
454
|
+
readonly action?: any;
|
|
455
|
+
readonly groupId: string;
|
|
456
|
+
readonly hideTitle?: boolean | undefined;
|
|
457
|
+
} | {
|
|
458
|
+
readonly id: string;
|
|
459
|
+
readonly title: readonly [{
|
|
460
|
+
readonly locale: "zh";
|
|
461
|
+
readonly message: string;
|
|
462
|
+
}, ...{
|
|
463
|
+
readonly locale: "en" | "ja" | "ko";
|
|
464
|
+
readonly message: string;
|
|
465
|
+
}[]];
|
|
466
|
+
readonly icon?: string | undefined;
|
|
467
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
468
|
+
readonly disabled?: string | undefined;
|
|
469
|
+
readonly id: string;
|
|
470
|
+
readonly title: readonly [{
|
|
471
|
+
readonly locale: "zh";
|
|
472
|
+
readonly message: string;
|
|
473
|
+
}, ...{
|
|
474
|
+
readonly locale: "en" | "ja" | "ko";
|
|
475
|
+
readonly message: string;
|
|
476
|
+
}[]];
|
|
477
|
+
readonly icon?: string | undefined;
|
|
478
|
+
readonly hidden?: string | undefined;
|
|
479
|
+
readonly tooltip?: readonly [{
|
|
480
|
+
readonly locale: "zh";
|
|
481
|
+
readonly message: string;
|
|
482
|
+
}, ...{
|
|
483
|
+
readonly locale: "en" | "ja" | "ko";
|
|
484
|
+
readonly message: string;
|
|
485
|
+
}[]] | undefined;
|
|
486
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
487
|
+
readonly action?: any;
|
|
488
|
+
})[];
|
|
489
|
+
readonly groupId: string;
|
|
490
|
+
readonly hideTitle?: boolean | undefined;
|
|
491
|
+
}, import("../../../../actions/schema.js").RegistryItemValue | {
|
|
492
|
+
readonly id: string;
|
|
493
|
+
readonly title: readonly [{
|
|
494
|
+
readonly locale: "zh";
|
|
495
|
+
readonly message: string;
|
|
496
|
+
}, ...{
|
|
497
|
+
readonly locale: "en" | "ja" | "ko";
|
|
498
|
+
readonly message: string;
|
|
499
|
+
}[]];
|
|
500
|
+
readonly groupId: string;
|
|
501
|
+
readonly disabled?: string | undefined;
|
|
502
|
+
readonly icon?: string | undefined;
|
|
503
|
+
readonly hidden?: string | undefined;
|
|
504
|
+
readonly tooltip?: readonly [{
|
|
505
|
+
readonly locale: "zh";
|
|
506
|
+
readonly message: string;
|
|
507
|
+
}, ...{
|
|
508
|
+
readonly locale: "en" | "ja" | "ko";
|
|
509
|
+
readonly message: string;
|
|
510
|
+
}[]] | undefined;
|
|
511
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
512
|
+
readonly action?: any;
|
|
513
|
+
readonly hideTitle?: boolean | undefined;
|
|
514
|
+
} | {
|
|
515
|
+
readonly id: string;
|
|
516
|
+
readonly title: readonly [{
|
|
517
|
+
readonly locale: "zh";
|
|
518
|
+
readonly message: string;
|
|
519
|
+
}, ...{
|
|
520
|
+
readonly locale: "en" | "ja" | "ko";
|
|
521
|
+
readonly message: string;
|
|
522
|
+
}[]];
|
|
523
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
524
|
+
readonly id: string;
|
|
525
|
+
readonly title: readonly [{
|
|
526
|
+
readonly locale: "zh";
|
|
527
|
+
readonly message: string;
|
|
528
|
+
}, ...{
|
|
529
|
+
readonly locale: "en" | "ja" | "ko";
|
|
530
|
+
readonly message: string;
|
|
531
|
+
}[]];
|
|
532
|
+
readonly disabled?: string | undefined;
|
|
533
|
+
readonly icon?: string | undefined;
|
|
534
|
+
readonly hidden?: string | undefined;
|
|
535
|
+
readonly tooltip?: readonly [{
|
|
536
|
+
readonly locale: "zh";
|
|
537
|
+
readonly message: string;
|
|
538
|
+
}, ...{
|
|
539
|
+
readonly locale: "en" | "ja" | "ko";
|
|
540
|
+
readonly message: string;
|
|
541
|
+
}[]] | undefined;
|
|
542
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
543
|
+
readonly action?: any;
|
|
544
|
+
})[];
|
|
545
|
+
readonly groupId: string;
|
|
546
|
+
readonly icon?: string | undefined;
|
|
547
|
+
readonly hideTitle?: boolean | undefined;
|
|
548
|
+
}, never>>;
|
|
549
|
+
}>>;
|
|
355
550
|
query: Schema.optional<Schema.refine<{
|
|
356
551
|
readonly style?: string | undefined;
|
|
357
552
|
readonly id?: string | undefined;
|
package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/config.d.vue.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
25
25
|
total?: string;
|
|
26
26
|
}>;
|
|
27
27
|
actions?: import("../../../../table/schema.js").TableActionsValue;
|
|
28
|
+
bottomActions?: import("../../../../table/schema.js").TableActionsValue;
|
|
28
29
|
query?: import("../../../schema.js").FormConfigValue;
|
|
29
30
|
rowKey?: string;
|
|
30
31
|
cellStyle?: string;
|
|
@@ -101,6 +102,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
101
102
|
total?: string;
|
|
102
103
|
}>;
|
|
103
104
|
actions?: import("../../../../table/schema.js").TableActionsValue;
|
|
105
|
+
bottomActions?: import("../../../../table/schema.js").TableActionsValue;
|
|
104
106
|
query?: import("../../../schema.js").FormConfigValue;
|
|
105
107
|
rowKey?: string;
|
|
106
108
|
cellStyle?: string;
|
package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/config.vue.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
25
25
|
total?: string;
|
|
26
26
|
}>;
|
|
27
27
|
actions?: import("../../../../table/schema.js").TableActionsValue;
|
|
28
|
+
bottomActions?: import("../../../../table/schema.js").TableActionsValue;
|
|
28
29
|
query?: import("../../../schema.js").FormConfigValue;
|
|
29
30
|
rowKey?: string;
|
|
30
31
|
cellStyle?: string;
|
|
@@ -101,6 +102,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
101
102
|
total?: string;
|
|
102
103
|
}>;
|
|
103
104
|
actions?: import("../../../../table/schema.js").TableActionsValue;
|
|
105
|
+
bottomActions?: import("../../../../table/schema.js").TableActionsValue;
|
|
104
106
|
query?: import("../../../schema.js").FormConfigValue;
|
|
105
107
|
rowKey?: string;
|
|
106
108
|
cellStyle?: string;
|
package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
42
42
|
groups: ReadonlyArray<import("../../../../table/schema.js").ColumnGroupValue>;
|
|
43
43
|
dataSource?: import("../../../../table/schema.js").DataSourceValue;
|
|
44
44
|
actions?: import("../../../../table/schema.js").TableActionsValue;
|
|
45
|
+
bottomActions?: import("../../../../table/schema.js").TableActionsValue;
|
|
45
46
|
query?: import("../../../schema.js").FormConfigValue;
|
|
46
47
|
rowKey?: string;
|
|
47
48
|
cellStyle?: string;
|
|
@@ -78,6 +79,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
|
|
|
78
79
|
groups: ReadonlyArray<import("../../../../table/schema.js").ColumnGroupValue>;
|
|
79
80
|
dataSource?: import("../../../../table/schema.js").DataSourceValue;
|
|
80
81
|
actions?: import("../../../../table/schema.js").TableActionsValue;
|
|
82
|
+
bottomActions?: import("../../../../table/schema.js").TableActionsValue;
|
|
81
83
|
query?: import("../../../schema.js").FormConfigValue;
|
|
82
84
|
rowKey?: string;
|
|
83
85
|
cellStyle?: string;
|
|
@@ -26,9 +26,11 @@ export const handler = (params, ctx) => {
|
|
|
26
26
|
const kind = TOAST_STYLES.has(result) ? result : "success";
|
|
27
27
|
if (titleExpression !== void 0) {
|
|
28
28
|
const title = yield* ctx.cel(titleExpression, { json, result, steps });
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
if (title.length > 0) {
|
|
30
|
+
const raw = getLocalizedText(description, ctx.locale()) ?? "";
|
|
31
|
+
const body = raw.length === 0 ? void 0 : interpolateMarkdown(raw, ctx.cel, { json, result, steps });
|
|
32
|
+
toast[kind](title, body === void 0 ? void 0 : { description: body });
|
|
33
|
+
}
|
|
32
34
|
}
|
|
33
35
|
if (Either.isLeft(outcome)) {
|
|
34
36
|
if (import.meta.dev) console.warn("[shwfed-operations] http request failed", outcome.left);
|
|
@@ -53,7 +53,8 @@ export function schema(configure) {
|
|
|
53
53
|
titleExpression: Schema.optional(CelToastString.annotations({
|
|
54
54
|
title: "\u63D0\u793A\u6807\u9898",
|
|
55
55
|
description: md`
|
|
56
|
-
|
|
56
|
+
配置后,作为提示的标题向用户展示。求值为空字符串时不提示——
|
|
57
|
+
可按 \`result\` 分支实现仅部分结果下提示,如 \`result == 'error' ? '请求失败' : ''\`。
|
|
57
58
|
`
|
|
58
59
|
})),
|
|
59
60
|
description: Schema.optional(Locale.annotations({
|
|
@@ -70,7 +71,7 @@ export function schema(configure) {
|
|
|
70
71
|
调用多个接口——前一个失败后,后续操作不再执行。后面的步骤可经 \`steps["<步骤标识>"]\`
|
|
71
72
|
引用前面步骤的响应。
|
|
72
73
|
|
|
73
|
-
toast
|
|
74
|
+
toast 完全由「提示标题」「提示内容」决定(含失败场景);不配置标题、或标题求值为空字符串则静默。
|
|
74
75
|
`
|
|
75
76
|
});
|
|
76
77
|
}
|
|
@@ -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;
|