@shwfed/config 2.9.12 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +1610 -1107
- 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-CCaOWk_7.js} +1 -1
- package/dist/preview/assets/{badge-Dsz2Rn8b.js → badge-D9_7atSJ.js} +1 -1
- package/dist/preview/assets/{config-vsMk-zRS.js → config-B2d8SiPi.js} +1 -1
- package/dist/preview/assets/{config-if9TvUw2.js → config-BLEovXei.js} +1 -1
- package/dist/preview/assets/{config-CRD1MpEn.js → config-Bf5Vckj3.js} +1 -1
- package/dist/preview/assets/{config-BePS5kQb.js → config-Bk2VSNeu.js} +1 -1
- package/dist/preview/assets/{config-X6-9yQmS.js → config-C8lCItmz.js} +1 -1
- package/dist/preview/assets/{config-CQLR1Zao.js → config-C9WPOoA7.js} +1 -1
- package/dist/preview/assets/{config-9-c5e5iP.js → config-CNKb25Qo.js} +1 -1
- package/dist/preview/assets/{config-DY7nQeRd.js → config-CQrqVV1U.js} +1 -1
- package/dist/preview/assets/{config-bFWnH6k3.js → config-DWA385pD.js} +1 -1
- package/dist/preview/assets/{config-Y2YuesjH.js → config-DYxMKhCU.js} +1 -1
- package/dist/preview/assets/{config-BCvaA0as.js → config-DZlaJUlF.js} +1 -1
- package/dist/preview/assets/{config-hrBgOr32.js → config-DyPl6K2G.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-CFzQ7icU.js} +1 -1
- package/dist/preview/assets/index-7BE56IYF.js +739 -0
- package/dist/preview/assets/{index-DJ5rzQJr.css → index-BnJ5p1Mx.css} +1 -1
- package/dist/preview/assets/index-Bwv0Yz_L.js +1 -0
- package/dist/preview/assets/{index-DFRXx_kG.js → index-CXOEVGFP.js} +1 -1
- package/dist/preview/assets/{item-auVJu6jy.js → item-DCVX69_o.js} +1 -1
- package/dist/preview/assets/{runtime-DyeSWij2.js → runtime-BD1A-g1h.js} +1 -1
- package/dist/preview/assets/{runtime-1DsatQOR.js → runtime-BNk4EliL.js} +1 -1
- package/dist/preview/assets/{runtime-Do_KQ5le.js → runtime-BO-KY3T_.js} +1 -1
- package/dist/preview/assets/{runtime-_5B97gRO.js → runtime-BsNSI1XP.js} +1 -1
- package/dist/preview/assets/{runtime-28a_li4U.js → runtime-Cbc5NH57.js} +1 -1
- package/dist/preview/assets/{runtime-DaaQn8fX.js → runtime-DEWGIyvr.js} +1 -1
- package/dist/preview/assets/{runtime-H7c112vi.js → runtime-DJ9ElxWB.js} +1 -1
- package/dist/preview/assets/{runtime-CBDARlsK.js → runtime-DSfMvph3.js} +1 -1
- package/dist/preview/assets/{runtime-CmgeUPz4.js → runtime-O6MNC3GA.js} +1 -1
- package/dist/preview/assets/{runtime-BDvuTpxY.js → runtime-r1wbrr4k.js} +1 -1
- package/dist/preview/assets/{schema-meta-Dc89aD6v.js → schema-meta-ovcuERKg.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/actions/components/triggers-field.vue +12 -12
- 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/config/use-editor.js +1 -1
- package/dist/runtime/components/config/utils/validation-error.d.ts +1 -1
- package/dist/runtime/components/config/utils/validation-error.js +40 -7
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue +3 -3
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +6 -5
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +6 -5
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue +10 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +8 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +10 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +8 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +10 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue +7 -5
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue +8 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +7 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue +9 -7
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue +4 -3
- package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue +8 -6
- package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +5 -4
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue +12 -10
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +5 -4
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue +9 -7
- package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue +9 -7
- 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/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue +13 -15
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue +8 -6
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue +10 -8
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue +10 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue +13 -14
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue +13 -14
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/runtime.vue +14 -12
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue +14 -12
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue +13 -14
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue +13 -14
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue +13 -15
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue +15 -16
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue +8 -7
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.d.vue.ts +175 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.vue +782 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.vue.d.ts +175 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.vue +413 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +214 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.js +191 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.d.vue.ts +175 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue +782 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue.d.ts +175 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue +426 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +214 -0
- package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.js +191 -0
- package/dist/runtime/components/form/fields/2026-06-14/combobox-migrate.d.ts +18 -0
- package/dist/runtime/components/form/fields/2026-06-14/combobox-migrate.js +36 -0
- package/dist/runtime/components/form/utils/state.d.ts +11 -0
- package/dist/runtime/components/form/utils/state.js +5 -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/dist/runtime/components/ui/input-group/InputGroupNumberField.vue +1 -1
- package/dist/runtime/share/expression.js +1 -0
- package/package.json +1 -1
- package/dist/preview/assets/index-BoyzyftU.js +0 -1
- package/dist/preview/assets/index-Bvlt8fEt.js +0 -734
package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts
CHANGED
|
@@ -135,6 +135,73 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
135
135
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
136
136
|
}[];
|
|
137
137
|
} | undefined;
|
|
138
|
+
readonly bottomActions?: {
|
|
139
|
+
readonly size: "default" | "sm" | "xs";
|
|
140
|
+
readonly style?: string | undefined;
|
|
141
|
+
readonly gap: number;
|
|
142
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
143
|
+
readonly disabled?: string | undefined;
|
|
144
|
+
readonly id: string;
|
|
145
|
+
readonly title: readonly [{
|
|
146
|
+
readonly locale: "zh";
|
|
147
|
+
readonly message: string;
|
|
148
|
+
}, ...{
|
|
149
|
+
readonly locale: "en" | "ja" | "ko";
|
|
150
|
+
readonly message: string;
|
|
151
|
+
}[]];
|
|
152
|
+
readonly icon?: string | undefined;
|
|
153
|
+
readonly hidden?: string | undefined;
|
|
154
|
+
readonly tooltip?: readonly [{
|
|
155
|
+
readonly locale: "zh";
|
|
156
|
+
readonly message: string;
|
|
157
|
+
}, ...{
|
|
158
|
+
readonly locale: "en" | "ja" | "ko";
|
|
159
|
+
readonly message: string;
|
|
160
|
+
}[]] | undefined;
|
|
161
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
162
|
+
readonly action?: any;
|
|
163
|
+
readonly groupId: string;
|
|
164
|
+
readonly hideTitle?: boolean | undefined;
|
|
165
|
+
} | {
|
|
166
|
+
readonly id: string;
|
|
167
|
+
readonly title: readonly [{
|
|
168
|
+
readonly locale: "zh";
|
|
169
|
+
readonly message: string;
|
|
170
|
+
}, ...{
|
|
171
|
+
readonly locale: "en" | "ja" | "ko";
|
|
172
|
+
readonly message: string;
|
|
173
|
+
}[]];
|
|
174
|
+
readonly icon?: string | undefined;
|
|
175
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
176
|
+
readonly disabled?: string | undefined;
|
|
177
|
+
readonly id: string;
|
|
178
|
+
readonly title: readonly [{
|
|
179
|
+
readonly locale: "zh";
|
|
180
|
+
readonly message: string;
|
|
181
|
+
}, ...{
|
|
182
|
+
readonly locale: "en" | "ja" | "ko";
|
|
183
|
+
readonly message: string;
|
|
184
|
+
}[]];
|
|
185
|
+
readonly icon?: string | undefined;
|
|
186
|
+
readonly hidden?: string | undefined;
|
|
187
|
+
readonly tooltip?: readonly [{
|
|
188
|
+
readonly locale: "zh";
|
|
189
|
+
readonly message: string;
|
|
190
|
+
}, ...{
|
|
191
|
+
readonly locale: "en" | "ja" | "ko";
|
|
192
|
+
readonly message: string;
|
|
193
|
+
}[]] | undefined;
|
|
194
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
195
|
+
readonly action?: any;
|
|
196
|
+
})[];
|
|
197
|
+
readonly groupId: string;
|
|
198
|
+
readonly hideTitle?: boolean | undefined;
|
|
199
|
+
})[];
|
|
200
|
+
readonly groups: readonly {
|
|
201
|
+
readonly id: string;
|
|
202
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
203
|
+
}[];
|
|
204
|
+
} | undefined;
|
|
138
205
|
readonly rowKey?: string | undefined;
|
|
139
206
|
readonly cellStyle?: string | undefined;
|
|
140
207
|
readonly pagination?: {
|
|
@@ -316,6 +383,73 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
316
383
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
317
384
|
}[];
|
|
318
385
|
} | undefined;
|
|
386
|
+
readonly bottomActions?: {
|
|
387
|
+
readonly size: "default" | "sm" | "xs";
|
|
388
|
+
readonly style?: string | undefined;
|
|
389
|
+
readonly gap: number;
|
|
390
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
391
|
+
readonly disabled?: string | undefined;
|
|
392
|
+
readonly id: string;
|
|
393
|
+
readonly title: readonly [{
|
|
394
|
+
readonly locale: "zh";
|
|
395
|
+
readonly message: string;
|
|
396
|
+
}, ...{
|
|
397
|
+
readonly locale: "en" | "ja" | "ko";
|
|
398
|
+
readonly message: string;
|
|
399
|
+
}[]];
|
|
400
|
+
readonly icon?: string | undefined;
|
|
401
|
+
readonly hidden?: string | undefined;
|
|
402
|
+
readonly tooltip?: readonly [{
|
|
403
|
+
readonly locale: "zh";
|
|
404
|
+
readonly message: string;
|
|
405
|
+
}, ...{
|
|
406
|
+
readonly locale: "en" | "ja" | "ko";
|
|
407
|
+
readonly message: string;
|
|
408
|
+
}[]] | undefined;
|
|
409
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
410
|
+
readonly action?: any;
|
|
411
|
+
readonly groupId: string;
|
|
412
|
+
readonly hideTitle?: boolean | undefined;
|
|
413
|
+
} | {
|
|
414
|
+
readonly id: string;
|
|
415
|
+
readonly title: readonly [{
|
|
416
|
+
readonly locale: "zh";
|
|
417
|
+
readonly message: string;
|
|
418
|
+
}, ...{
|
|
419
|
+
readonly locale: "en" | "ja" | "ko";
|
|
420
|
+
readonly message: string;
|
|
421
|
+
}[]];
|
|
422
|
+
readonly icon?: string | undefined;
|
|
423
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
424
|
+
readonly disabled?: string | undefined;
|
|
425
|
+
readonly id: string;
|
|
426
|
+
readonly title: readonly [{
|
|
427
|
+
readonly locale: "zh";
|
|
428
|
+
readonly message: string;
|
|
429
|
+
}, ...{
|
|
430
|
+
readonly locale: "en" | "ja" | "ko";
|
|
431
|
+
readonly message: string;
|
|
432
|
+
}[]];
|
|
433
|
+
readonly icon?: string | undefined;
|
|
434
|
+
readonly hidden?: string | undefined;
|
|
435
|
+
readonly tooltip?: readonly [{
|
|
436
|
+
readonly locale: "zh";
|
|
437
|
+
readonly message: string;
|
|
438
|
+
}, ...{
|
|
439
|
+
readonly locale: "en" | "ja" | "ko";
|
|
440
|
+
readonly message: string;
|
|
441
|
+
}[]] | undefined;
|
|
442
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
443
|
+
readonly action?: any;
|
|
444
|
+
})[];
|
|
445
|
+
readonly groupId: string;
|
|
446
|
+
readonly hideTitle?: boolean | undefined;
|
|
447
|
+
})[];
|
|
448
|
+
readonly groups: readonly {
|
|
449
|
+
readonly id: string;
|
|
450
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
451
|
+
}[];
|
|
452
|
+
} | undefined;
|
|
319
453
|
readonly rowKey?: string | undefined;
|
|
320
454
|
readonly cellStyle?: string | undefined;
|
|
321
455
|
readonly pagination?: {
|
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;
|
|
@@ -389,7 +389,7 @@ export function useConfigEditor(model, options = {}) {
|
|
|
389
389
|
validationError.value = formatValidationError(err, (i) => {
|
|
390
390
|
const b = topSlotEditor.blocks.value[i];
|
|
391
391
|
return b ? topSlotEditor.getBlockLabel(b) : void 0;
|
|
392
|
-
});
|
|
392
|
+
}, draft.value);
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
function reset() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function formatValidationError(err: unknown, blockLabelAt: (index: number) => string | undefined): string;
|
|
1
|
+
export declare function formatValidationError(err: unknown, blockLabelAt: (index: number) => string | undefined, rootData?: unknown): string;
|