@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.
Files changed (37) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/actions/components/group.d.vue.ts +12 -12
  3. package/dist/runtime/components/actions/components/group.vue +46 -12
  4. package/dist/runtime/components/actions/components/group.vue.d.ts +12 -12
  5. package/dist/runtime/components/actions/config.d.vue.ts +13 -13
  6. package/dist/runtime/components/actions/config.vue +206 -16
  7. package/dist/runtime/components/actions/config.vue.d.ts +13 -13
  8. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.d.vue.ts +37 -0
  9. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.vue +61 -0
  10. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.vue.d.ts +37 -0
  11. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.d.vue.ts +7 -0
  12. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.vue +28 -0
  13. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.vue.d.ts +7 -0
  14. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +23 -0
  15. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.js +29 -0
  16. package/dist/runtime/components/actions/schema.d.ts +399 -196
  17. package/dist/runtime/components/actions/schema.js +13 -4
  18. package/dist/runtime/components/actions/utils/resolve.d.ts +15 -0
  19. package/dist/runtime/components/actions/utils/resolve.js +45 -0
  20. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.d.vue.ts +10 -10
  21. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue.d.ts +10 -10
  22. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.d.vue.ts +10 -10
  23. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue.d.ts +10 -10
  24. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +115 -58
  25. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +10 -10
  26. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +10 -10
  27. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +10 -10
  28. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +10 -10
  29. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +120 -63
  30. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.d.vue.ts +10 -10
  31. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue.d.ts +10 -10
  32. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +115 -58
  33. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +115 -58
  34. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  35. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  36. package/dist/runtime/components/table/schema.d.ts +125 -68
  37. 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 groupId: string;
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.Union<[Schema.Struct<{
315
- id: Schema.refine<string, typeof Schema.String>;
316
- groupId: Schema.refine<string, typeof Schema.String>;
317
- title: Schema.TupleType<readonly [Schema.Struct<{
318
- locale: Schema.Literal<["zh"]>;
319
- message: Schema.SchemaClass<string, string, never>;
320
- }>], [Schema.Struct<{
321
- locale: Schema.Literal<["ja", "en", "ko"]>;
322
- message: Schema.SchemaClass<string, string, never>;
323
- }>]>;
324
- tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
325
- locale: Schema.Literal<["zh"]>;
326
- message: Schema.SchemaClass<string, string, never>;
327
- }>], [Schema.Struct<{
328
- locale: Schema.Literal<["ja", "en", "ko"]>;
329
- message: Schema.SchemaClass<string, string, never>;
330
- }>]>>;
331
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
332
- hidden: Schema.optional<Schema.Schema<string, string, never>>;
333
- disabled: Schema.optional<Schema.Schema<string, string, never>>;
334
- variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
335
- hideTitle: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
336
- action: Schema.optional<Schema.Schema<any, any, never>>;
337
- }>, Schema.Struct<{
338
- id: Schema.refine<string, typeof Schema.String>;
339
- groupId: Schema.refine<string, typeof Schema.String>;
340
- title: Schema.TupleType<readonly [Schema.Struct<{
341
- locale: Schema.Literal<["zh"]>;
342
- message: Schema.SchemaClass<string, string, never>;
343
- }>], [Schema.Struct<{
344
- locale: Schema.Literal<["ja", "en", "ko"]>;
345
- message: Schema.SchemaClass<string, string, never>;
346
- }>]>;
347
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
348
- hideTitle: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
349
- items: Schema.Array$<Schema.Struct<{
350
- id: Schema.refine<string, typeof Schema.String>;
351
- title: Schema.TupleType<readonly [Schema.Struct<{
352
- locale: Schema.Literal<["zh"]>;
353
- message: Schema.SchemaClass<string, string, never>;
354
- }>], [Schema.Struct<{
355
- locale: Schema.Literal<["ja", "en", "ko"]>;
356
- message: Schema.SchemaClass<string, string, never>;
357
- }>]>;
358
- tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
359
- locale: Schema.Literal<["zh"]>;
360
- message: Schema.SchemaClass<string, string, never>;
361
- }>], [Schema.Struct<{
362
- locale: Schema.Literal<["ja", "en", "ko"]>;
363
- message: Schema.SchemaClass<string, string, never>;
364
- }>]>>;
365
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
366
- hidden: Schema.optional<Schema.Schema<string, string, never>>;
367
- disabled: Schema.optional<Schema.Schema<string, string, never>>;
368
- variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
369
- action: Schema.optional<Schema.Schema<any, any, never>>;
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 groupId: string;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/config",
3
- "version": "2.3.4",
3
+ "version": "2.3.6",
4
4
  "description": "Configurable UI for SHWFED",
5
5
  "type": "module",
6
6
  "publishConfig": {