@shwfed/config 2.3.4 → 2.3.6
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/module.json +1 -1
- package/dist/runtime/components/actions/components/group.d.vue.ts +12 -12
- package/dist/runtime/components/actions/components/group.vue +46 -12
- package/dist/runtime/components/actions/components/group.vue.d.ts +12 -12
- package/dist/runtime/components/actions/config.d.vue.ts +13 -13
- package/dist/runtime/components/actions/config.vue +206 -16
- package/dist/runtime/components/actions/config.vue.d.ts +13 -13
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.d.vue.ts +37 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.vue +61 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.vue.d.ts +37 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.d.vue.ts +7 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.vue +28 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.vue.d.ts +7 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +23 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.js +29 -0
- package/dist/runtime/components/actions/schema.d.ts +399 -196
- package/dist/runtime/components/actions/schema.js +13 -4
- package/dist/runtime/components/actions/utils/resolve.d.ts +15 -0
- package/dist/runtime/components/actions/utils/resolve.js +45 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.d.vue.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue.d.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.d.vue.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue.d.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +115 -58
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +120 -63
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.d.vue.ts +10 -10
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue.d.ts +10 -10
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +115 -58
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +115 -58
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/schema.d.ts +125 -68
- package/package.json +1 -1
|
@@ -132,7 +132,7 @@ export declare function TableConfig(configure: (env: Environment) => void): Sche
|
|
|
132
132
|
readonly size: "default" | "sm" | "xs";
|
|
133
133
|
readonly style?: string | undefined;
|
|
134
134
|
readonly gap: number;
|
|
135
|
-
readonly items: readonly ({
|
|
135
|
+
readonly items: readonly (import("../actions/schema.js").RegistryItemValue | {
|
|
136
136
|
readonly disabled?: string | undefined;
|
|
137
137
|
readonly id: string;
|
|
138
138
|
readonly title: readonly [{
|
|
@@ -165,9 +165,7 @@ export declare function TableConfig(configure: (env: Environment) => void): Sche
|
|
|
165
165
|
readonly message: string;
|
|
166
166
|
}[]];
|
|
167
167
|
readonly icon?: string | undefined;
|
|
168
|
-
readonly
|
|
169
|
-
readonly hideTitle?: boolean | undefined;
|
|
170
|
-
readonly items: readonly {
|
|
168
|
+
readonly items: readonly (import("../actions/schema.js").RegistrySubItemValue | {
|
|
171
169
|
readonly disabled?: string | undefined;
|
|
172
170
|
readonly id: string;
|
|
173
171
|
readonly title: readonly [{
|
|
@@ -188,7 +186,9 @@ export declare function TableConfig(configure: (env: Environment) => void): Sche
|
|
|
188
186
|
}[]] | undefined;
|
|
189
187
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
190
188
|
readonly action?: any;
|
|
191
|
-
}[];
|
|
189
|
+
})[];
|
|
190
|
+
readonly groupId: string;
|
|
191
|
+
readonly hideTitle?: boolean | undefined;
|
|
192
192
|
})[];
|
|
193
193
|
readonly groups: readonly {
|
|
194
194
|
readonly id: string;
|
|
@@ -311,64 +311,121 @@ export declare function TableConfig(configure: (env: Environment) => void): Sche
|
|
|
311
311
|
id: Schema.refine<string, typeof Schema.String>;
|
|
312
312
|
variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
|
|
313
313
|
}>>;
|
|
314
|
-
items: Schema.Array$<Schema.
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
title:
|
|
318
|
-
locale:
|
|
319
|
-
message:
|
|
320
|
-
}
|
|
321
|
-
locale:
|
|
322
|
-
message:
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
338
|
-
id:
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}
|
|
314
|
+
items: Schema.Array$<Schema.Schema<import("../actions/schema.js").RegistryItemValue | {
|
|
315
|
+
readonly disabled?: string | undefined;
|
|
316
|
+
readonly id: string;
|
|
317
|
+
readonly title: readonly [{
|
|
318
|
+
readonly locale: "zh";
|
|
319
|
+
readonly message: string;
|
|
320
|
+
}, ...{
|
|
321
|
+
readonly locale: "en" | "ja" | "ko";
|
|
322
|
+
readonly message: string;
|
|
323
|
+
}[]];
|
|
324
|
+
readonly icon?: string | undefined;
|
|
325
|
+
readonly hidden?: string | undefined;
|
|
326
|
+
readonly tooltip?: readonly [{
|
|
327
|
+
readonly locale: "zh";
|
|
328
|
+
readonly message: string;
|
|
329
|
+
}, ...{
|
|
330
|
+
readonly locale: "en" | "ja" | "ko";
|
|
331
|
+
readonly message: string;
|
|
332
|
+
}[]] | undefined;
|
|
333
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
334
|
+
readonly action?: any;
|
|
335
|
+
readonly groupId: string;
|
|
336
|
+
readonly hideTitle?: boolean | undefined;
|
|
337
|
+
} | {
|
|
338
|
+
readonly id: string;
|
|
339
|
+
readonly title: readonly [{
|
|
340
|
+
readonly locale: "zh";
|
|
341
|
+
readonly message: string;
|
|
342
|
+
}, ...{
|
|
343
|
+
readonly locale: "en" | "ja" | "ko";
|
|
344
|
+
readonly message: string;
|
|
345
|
+
}[]];
|
|
346
|
+
readonly icon?: string | undefined;
|
|
347
|
+
readonly items: readonly (import("../actions/schema.js").RegistrySubItemValue | {
|
|
348
|
+
readonly disabled?: string | undefined;
|
|
349
|
+
readonly id: string;
|
|
350
|
+
readonly title: readonly [{
|
|
351
|
+
readonly locale: "zh";
|
|
352
|
+
readonly message: string;
|
|
353
|
+
}, ...{
|
|
354
|
+
readonly locale: "en" | "ja" | "ko";
|
|
355
|
+
readonly message: string;
|
|
356
|
+
}[]];
|
|
357
|
+
readonly icon?: string | undefined;
|
|
358
|
+
readonly hidden?: string | undefined;
|
|
359
|
+
readonly tooltip?: readonly [{
|
|
360
|
+
readonly locale: "zh";
|
|
361
|
+
readonly message: string;
|
|
362
|
+
}, ...{
|
|
363
|
+
readonly locale: "en" | "ja" | "ko";
|
|
364
|
+
readonly message: string;
|
|
365
|
+
}[]] | undefined;
|
|
366
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
367
|
+
readonly action?: any;
|
|
368
|
+
})[];
|
|
369
|
+
readonly groupId: string;
|
|
370
|
+
readonly hideTitle?: boolean | undefined;
|
|
371
|
+
}, import("../actions/schema.js").RegistryItemValue | {
|
|
372
|
+
readonly id: string;
|
|
373
|
+
readonly title: readonly [{
|
|
374
|
+
readonly locale: "zh";
|
|
375
|
+
readonly message: string;
|
|
376
|
+
}, ...{
|
|
377
|
+
readonly locale: "en" | "ja" | "ko";
|
|
378
|
+
readonly message: string;
|
|
379
|
+
}[]];
|
|
380
|
+
readonly groupId: string;
|
|
381
|
+
readonly disabled?: string | undefined;
|
|
382
|
+
readonly icon?: string | undefined;
|
|
383
|
+
readonly hidden?: string | undefined;
|
|
384
|
+
readonly tooltip?: readonly [{
|
|
385
|
+
readonly locale: "zh";
|
|
386
|
+
readonly message: string;
|
|
387
|
+
}, ...{
|
|
388
|
+
readonly locale: "en" | "ja" | "ko";
|
|
389
|
+
readonly message: string;
|
|
390
|
+
}[]] | undefined;
|
|
391
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
392
|
+
readonly action?: any;
|
|
393
|
+
readonly hideTitle?: boolean | undefined;
|
|
394
|
+
} | {
|
|
395
|
+
readonly id: string;
|
|
396
|
+
readonly title: readonly [{
|
|
397
|
+
readonly locale: "zh";
|
|
398
|
+
readonly message: string;
|
|
399
|
+
}, ...{
|
|
400
|
+
readonly locale: "en" | "ja" | "ko";
|
|
401
|
+
readonly message: string;
|
|
402
|
+
}[]];
|
|
403
|
+
readonly items: readonly (import("../actions/schema.js").RegistrySubItemValue | {
|
|
404
|
+
readonly id: string;
|
|
405
|
+
readonly title: readonly [{
|
|
406
|
+
readonly locale: "zh";
|
|
407
|
+
readonly message: string;
|
|
408
|
+
}, ...{
|
|
409
|
+
readonly locale: "en" | "ja" | "ko";
|
|
410
|
+
readonly message: string;
|
|
411
|
+
}[]];
|
|
412
|
+
readonly disabled?: string | undefined;
|
|
413
|
+
readonly icon?: string | undefined;
|
|
414
|
+
readonly hidden?: string | undefined;
|
|
415
|
+
readonly tooltip?: readonly [{
|
|
416
|
+
readonly locale: "zh";
|
|
417
|
+
readonly message: string;
|
|
418
|
+
}, ...{
|
|
419
|
+
readonly locale: "en" | "ja" | "ko";
|
|
420
|
+
readonly message: string;
|
|
421
|
+
}[]] | undefined;
|
|
422
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
423
|
+
readonly action?: any;
|
|
424
|
+
})[];
|
|
425
|
+
readonly groupId: string;
|
|
426
|
+
readonly icon?: string | undefined;
|
|
427
|
+
readonly hideTitle?: boolean | undefined;
|
|
428
|
+
}, never>>;
|
|
372
429
|
}>>;
|
|
373
430
|
query: Schema.optional<Schema.refine<{
|
|
374
431
|
readonly initial?: {
|
|
@@ -514,7 +571,7 @@ export declare function createTableConfig(body: Omit<Schema.Schema.Type<ReturnTy
|
|
|
514
571
|
readonly size: "default" | "sm" | "xs";
|
|
515
572
|
readonly style?: string | undefined;
|
|
516
573
|
readonly gap: number;
|
|
517
|
-
readonly items: readonly ({
|
|
574
|
+
readonly items: readonly (import("../actions/schema.js").RegistryItemValue | {
|
|
518
575
|
readonly disabled?: string | undefined;
|
|
519
576
|
readonly id: string;
|
|
520
577
|
readonly title: readonly [{
|
|
@@ -547,9 +604,7 @@ export declare function createTableConfig(body: Omit<Schema.Schema.Type<ReturnTy
|
|
|
547
604
|
readonly message: string;
|
|
548
605
|
}[]];
|
|
549
606
|
readonly icon?: string | undefined;
|
|
550
|
-
readonly
|
|
551
|
-
readonly hideTitle?: boolean | undefined;
|
|
552
|
-
readonly items: readonly {
|
|
607
|
+
readonly items: readonly (import("../actions/schema.js").RegistrySubItemValue | {
|
|
553
608
|
readonly disabled?: string | undefined;
|
|
554
609
|
readonly id: string;
|
|
555
610
|
readonly title: readonly [{
|
|
@@ -570,7 +625,9 @@ export declare function createTableConfig(body: Omit<Schema.Schema.Type<ReturnTy
|
|
|
570
625
|
}[]] | undefined;
|
|
571
626
|
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
572
627
|
readonly action?: any;
|
|
573
|
-
}[];
|
|
628
|
+
})[];
|
|
629
|
+
readonly groupId: string;
|
|
630
|
+
readonly hideTitle?: boolean | undefined;
|
|
574
631
|
})[];
|
|
575
632
|
readonly groups: readonly {
|
|
576
633
|
readonly id: string;
|