@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.
Files changed (131) hide show
  1. package/dist/mcp.mjs +1610 -1107
  2. package/dist/module.json +1 -1
  3. 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
  4. package/dist/preview/assets/{badge-Dsz2Rn8b.js → badge-D9_7atSJ.js} +1 -1
  5. package/dist/preview/assets/{config-vsMk-zRS.js → config-B2d8SiPi.js} +1 -1
  6. package/dist/preview/assets/{config-if9TvUw2.js → config-BLEovXei.js} +1 -1
  7. package/dist/preview/assets/{config-CRD1MpEn.js → config-Bf5Vckj3.js} +1 -1
  8. package/dist/preview/assets/{config-BePS5kQb.js → config-Bk2VSNeu.js} +1 -1
  9. package/dist/preview/assets/{config-X6-9yQmS.js → config-C8lCItmz.js} +1 -1
  10. package/dist/preview/assets/{config-CQLR1Zao.js → config-C9WPOoA7.js} +1 -1
  11. package/dist/preview/assets/{config-9-c5e5iP.js → config-CNKb25Qo.js} +1 -1
  12. package/dist/preview/assets/{config-DY7nQeRd.js → config-CQrqVV1U.js} +1 -1
  13. package/dist/preview/assets/{config-bFWnH6k3.js → config-DWA385pD.js} +1 -1
  14. package/dist/preview/assets/{config-Y2YuesjH.js → config-DYxMKhCU.js} +1 -1
  15. package/dist/preview/assets/{config-BCvaA0as.js → config-DZlaJUlF.js} +1 -1
  16. package/dist/preview/assets/{config-hrBgOr32.js → config-DyPl6K2G.js} +1 -1
  17. 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
  18. package/dist/preview/assets/index-7BE56IYF.js +739 -0
  19. package/dist/preview/assets/{index-DJ5rzQJr.css → index-BnJ5p1Mx.css} +1 -1
  20. package/dist/preview/assets/index-Bwv0Yz_L.js +1 -0
  21. package/dist/preview/assets/{index-DFRXx_kG.js → index-CXOEVGFP.js} +1 -1
  22. package/dist/preview/assets/{item-auVJu6jy.js → item-DCVX69_o.js} +1 -1
  23. package/dist/preview/assets/{runtime-DyeSWij2.js → runtime-BD1A-g1h.js} +1 -1
  24. package/dist/preview/assets/{runtime-1DsatQOR.js → runtime-BNk4EliL.js} +1 -1
  25. package/dist/preview/assets/{runtime-Do_KQ5le.js → runtime-BO-KY3T_.js} +1 -1
  26. package/dist/preview/assets/{runtime-_5B97gRO.js → runtime-BsNSI1XP.js} +1 -1
  27. package/dist/preview/assets/{runtime-28a_li4U.js → runtime-Cbc5NH57.js} +1 -1
  28. package/dist/preview/assets/{runtime-DaaQn8fX.js → runtime-DEWGIyvr.js} +1 -1
  29. package/dist/preview/assets/{runtime-H7c112vi.js → runtime-DJ9ElxWB.js} +1 -1
  30. package/dist/preview/assets/{runtime-CBDARlsK.js → runtime-DSfMvph3.js} +1 -1
  31. package/dist/preview/assets/{runtime-CmgeUPz4.js → runtime-O6MNC3GA.js} +1 -1
  32. package/dist/preview/assets/{runtime-BDvuTpxY.js → runtime-r1wbrr4k.js} +1 -1
  33. package/dist/preview/assets/{schema-meta-Dc89aD6v.js → schema-meta-ovcuERKg.js} +1 -1
  34. package/dist/preview/index.html +2 -2
  35. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +15 -0
  36. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.js +57 -1
  37. package/dist/runtime/components/actions/components/triggers-field.vue +12 -12
  38. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +134 -0
  39. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +134 -0
  40. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +134 -0
  41. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +134 -0
  42. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +195 -0
  43. package/dist/runtime/components/config/use-editor.js +1 -1
  44. package/dist/runtime/components/config/utils/validation-error.d.ts +1 -1
  45. package/dist/runtime/components/config/utils/validation-error.js +40 -7
  46. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.markdown/runtime.vue +3 -3
  47. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +6 -5
  48. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.textarea/runtime.vue +6 -5
  49. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/runtime.vue +10 -8
  50. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +8 -6
  51. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +10 -8
  52. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +8 -6
  53. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +10 -8
  54. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.time/runtime.vue +7 -5
  55. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/runtime.vue +8 -6
  56. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +7 -6
  57. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/runtime.vue +9 -7
  58. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/runtime.vue +4 -3
  59. package/dist/runtime/components/form/fields/2026-04-29/com.shwfed.form.field.combobox.single/runtime.vue +8 -6
  60. package/dist/runtime/components/form/fields/2026-05-12/com.shwfed.form.field.upload/runtime.vue +5 -4
  61. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/runtime.vue +12 -10
  62. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/runtime.vue +5 -4
  63. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.checkbox.group/runtime.vue +9 -7
  64. package/dist/runtime/components/form/fields/2026-05-17/com.shwfed.form.field.radio.group/runtime.vue +9 -7
  65. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/config.d.vue.ts +2 -0
  66. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/config.vue.d.ts +2 -0
  67. package/dist/runtime/components/form/fields/2026-05-18/com.shwfed.form.field.table/schema.d.ts +2 -0
  68. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/runtime.vue +13 -15
  69. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue +8 -6
  70. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue +10 -8
  71. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/runtime.vue +10 -8
  72. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/runtime.vue +13 -14
  73. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/runtime.vue +13 -14
  74. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/runtime.vue +14 -12
  75. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/runtime.vue +14 -12
  76. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/runtime.vue +13 -14
  77. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/runtime.vue +13 -14
  78. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/runtime.vue +13 -15
  79. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/runtime.vue +15 -16
  80. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/runtime.vue +8 -7
  81. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.d.vue.ts +175 -0
  82. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.vue +782 -0
  83. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.vue.d.ts +175 -0
  84. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.d.vue.ts +8 -0
  85. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.vue +413 -0
  86. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/runtime.vue.d.ts +8 -0
  87. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.d.ts +214 -0
  88. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/schema.js +191 -0
  89. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.d.vue.ts +175 -0
  90. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue +782 -0
  91. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue.d.ts +175 -0
  92. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.d.vue.ts +8 -0
  93. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue +426 -0
  94. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/runtime.vue.d.ts +8 -0
  95. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.d.ts +214 -0
  96. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/schema.js +191 -0
  97. package/dist/runtime/components/form/fields/2026-06-14/combobox-migrate.d.ts +18 -0
  98. package/dist/runtime/components/form/fields/2026-06-14/combobox-migrate.js +36 -0
  99. package/dist/runtime/components/form/utils/state.d.ts +11 -0
  100. package/dist/runtime/components/form/utils/state.js +5 -0
  101. package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/runtime.js +5 -3
  102. package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.js +3 -2
  103. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
  104. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
  105. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
  106. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
  107. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
  108. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
  109. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
  110. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
  111. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
  112. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
  113. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
  114. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
  115. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  116. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  117. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  118. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  119. package/dist/runtime/components/table/config.d.vue.ts +3 -3
  120. package/dist/runtime/components/table/config.vue +54 -20
  121. package/dist/runtime/components/table/config.vue.d.ts +3 -3
  122. package/dist/runtime/components/table/index.d.vue.ts +2 -0
  123. package/dist/runtime/components/table/index.vue +12 -3
  124. package/dist/runtime/components/table/index.vue.d.ts +2 -0
  125. package/dist/runtime/components/table/schema.d.ts +263 -0
  126. package/dist/runtime/components/table/schema.js +8 -4
  127. package/dist/runtime/components/ui/input-group/InputGroupNumberField.vue +1 -1
  128. package/dist/runtime/share/expression.js +1 -0
  129. package/package.json +1 -1
  130. package/dist/preview/assets/index-BoyzyftU.js +0 -1
  131. package/dist/preview/assets/index-Bvlt8fEt.js +0 -734
@@ -234,6 +234,73 @@ export declare function TableConfig(configure: (env: Environment) => void): Sche
234
234
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
235
235
  }[];
236
236
  } | undefined;
237
+ readonly bottomActions?: {
238
+ readonly size: "default" | "sm" | "xs";
239
+ readonly style?: string | undefined;
240
+ readonly gap: number;
241
+ readonly items: readonly (import("../actions/schema.js").RegistryItemValue | {
242
+ readonly disabled?: string | undefined;
243
+ readonly id: string;
244
+ readonly title: readonly [{
245
+ readonly locale: "zh";
246
+ readonly message: string;
247
+ }, ...{
248
+ readonly locale: "en" | "ja" | "ko";
249
+ readonly message: string;
250
+ }[]];
251
+ readonly icon?: string | undefined;
252
+ readonly hidden?: string | undefined;
253
+ readonly tooltip?: readonly [{
254
+ readonly locale: "zh";
255
+ readonly message: string;
256
+ }, ...{
257
+ readonly locale: "en" | "ja" | "ko";
258
+ readonly message: string;
259
+ }[]] | undefined;
260
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
261
+ readonly action?: any;
262
+ readonly groupId: string;
263
+ readonly hideTitle?: boolean | undefined;
264
+ } | {
265
+ readonly id: string;
266
+ readonly title: readonly [{
267
+ readonly locale: "zh";
268
+ readonly message: string;
269
+ }, ...{
270
+ readonly locale: "en" | "ja" | "ko";
271
+ readonly message: string;
272
+ }[]];
273
+ readonly icon?: string | undefined;
274
+ readonly items: readonly (import("../actions/schema.js").RegistrySubItemValue | {
275
+ readonly disabled?: string | undefined;
276
+ readonly id: string;
277
+ readonly title: readonly [{
278
+ readonly locale: "zh";
279
+ readonly message: string;
280
+ }, ...{
281
+ readonly locale: "en" | "ja" | "ko";
282
+ readonly message: string;
283
+ }[]];
284
+ readonly icon?: string | undefined;
285
+ readonly hidden?: string | undefined;
286
+ readonly tooltip?: readonly [{
287
+ readonly locale: "zh";
288
+ readonly message: string;
289
+ }, ...{
290
+ readonly locale: "en" | "ja" | "ko";
291
+ readonly message: string;
292
+ }[]] | undefined;
293
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
294
+ readonly action?: any;
295
+ })[];
296
+ readonly groupId: string;
297
+ readonly hideTitle?: boolean | undefined;
298
+ })[];
299
+ readonly groups: readonly {
300
+ readonly id: string;
301
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
302
+ }[];
303
+ } | undefined;
237
304
  readonly rowKey?: string | undefined;
238
305
  readonly cellStyle?: string | undefined;
239
306
  readonly pagination?: {
@@ -441,6 +508,134 @@ export declare function TableConfig(configure: (env: Environment) => void): Sche
441
508
  readonly hideTitle?: boolean | undefined;
442
509
  }, never>>;
443
510
  }>>;
511
+ bottomActions: Schema.optional<Schema.Struct<{
512
+ size: Schema.optionalWith<Schema.Literal<["default", "sm", "xs"]>, {
513
+ default: () => "default";
514
+ }>;
515
+ gap: Schema.optionalWith<Schema.filter<Schema.filter<typeof Schema.Number>>, {
516
+ default: () => number;
517
+ }>;
518
+ style: Schema.optional<typeof Schema.String>;
519
+ groups: Schema.Array$<Schema.Struct<{
520
+ id: Schema.refine<string, typeof Schema.String>;
521
+ variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
522
+ }>>;
523
+ items: Schema.Array$<Schema.Schema<import("../actions/schema.js").RegistryItemValue | {
524
+ readonly disabled?: string | undefined;
525
+ readonly id: string;
526
+ readonly title: readonly [{
527
+ readonly locale: "zh";
528
+ readonly message: string;
529
+ }, ...{
530
+ readonly locale: "en" | "ja" | "ko";
531
+ readonly message: string;
532
+ }[]];
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
+ readonly groupId: string;
545
+ readonly hideTitle?: boolean | undefined;
546
+ } | {
547
+ readonly id: string;
548
+ readonly title: readonly [{
549
+ readonly locale: "zh";
550
+ readonly message: string;
551
+ }, ...{
552
+ readonly locale: "en" | "ja" | "ko";
553
+ readonly message: string;
554
+ }[]];
555
+ readonly icon?: string | undefined;
556
+ readonly items: readonly (import("../actions/schema.js").RegistrySubItemValue | {
557
+ readonly disabled?: string | undefined;
558
+ readonly id: string;
559
+ readonly title: readonly [{
560
+ readonly locale: "zh";
561
+ readonly message: string;
562
+ }, ...{
563
+ readonly locale: "en" | "ja" | "ko";
564
+ readonly message: string;
565
+ }[]];
566
+ readonly icon?: string | undefined;
567
+ readonly hidden?: string | undefined;
568
+ readonly tooltip?: readonly [{
569
+ readonly locale: "zh";
570
+ readonly message: string;
571
+ }, ...{
572
+ readonly locale: "en" | "ja" | "ko";
573
+ readonly message: string;
574
+ }[]] | undefined;
575
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
576
+ readonly action?: any;
577
+ })[];
578
+ readonly groupId: string;
579
+ readonly hideTitle?: boolean | undefined;
580
+ }, import("../actions/schema.js").RegistryItemValue | {
581
+ readonly id: string;
582
+ readonly title: readonly [{
583
+ readonly locale: "zh";
584
+ readonly message: string;
585
+ }, ...{
586
+ readonly locale: "en" | "ja" | "ko";
587
+ readonly message: string;
588
+ }[]];
589
+ readonly groupId: string;
590
+ readonly disabled?: string | undefined;
591
+ readonly icon?: string | undefined;
592
+ readonly hidden?: string | undefined;
593
+ readonly tooltip?: readonly [{
594
+ readonly locale: "zh";
595
+ readonly message: string;
596
+ }, ...{
597
+ readonly locale: "en" | "ja" | "ko";
598
+ readonly message: string;
599
+ }[]] | undefined;
600
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
601
+ readonly action?: any;
602
+ readonly hideTitle?: boolean | undefined;
603
+ } | {
604
+ readonly id: string;
605
+ readonly title: readonly [{
606
+ readonly locale: "zh";
607
+ readonly message: string;
608
+ }, ...{
609
+ readonly locale: "en" | "ja" | "ko";
610
+ readonly message: string;
611
+ }[]];
612
+ readonly items: readonly (import("../actions/schema.js").RegistrySubItemValue | {
613
+ readonly id: string;
614
+ readonly title: readonly [{
615
+ readonly locale: "zh";
616
+ readonly message: string;
617
+ }, ...{
618
+ readonly locale: "en" | "ja" | "ko";
619
+ readonly message: string;
620
+ }[]];
621
+ readonly disabled?: string | undefined;
622
+ readonly icon?: string | undefined;
623
+ readonly hidden?: string | undefined;
624
+ readonly tooltip?: readonly [{
625
+ readonly locale: "zh";
626
+ readonly message: string;
627
+ }, ...{
628
+ readonly locale: "en" | "ja" | "ko";
629
+ readonly message: string;
630
+ }[]] | undefined;
631
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
632
+ readonly action?: any;
633
+ })[];
634
+ readonly groupId: string;
635
+ readonly icon?: string | undefined;
636
+ readonly hideTitle?: boolean | undefined;
637
+ }, never>>;
638
+ }>>;
444
639
  query: Schema.optional<Schema.refine<{
445
640
  readonly style?: string | undefined;
446
641
  readonly id?: string | undefined;
@@ -684,6 +879,73 @@ export declare function createTableConfig(body: Omit<Schema.Schema.Type<ReturnTy
684
879
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
685
880
  }[];
686
881
  } | undefined;
882
+ bottomActions?: {
883
+ readonly size: "default" | "sm" | "xs";
884
+ readonly style?: string | undefined;
885
+ readonly gap: number;
886
+ readonly items: readonly (import("../actions/schema.js").RegistryItemValue | {
887
+ readonly disabled?: string | undefined;
888
+ readonly id: string;
889
+ readonly title: readonly [{
890
+ readonly locale: "zh";
891
+ readonly message: string;
892
+ }, ...{
893
+ readonly locale: "en" | "ja" | "ko";
894
+ readonly message: string;
895
+ }[]];
896
+ readonly icon?: string | undefined;
897
+ readonly hidden?: string | undefined;
898
+ readonly tooltip?: readonly [{
899
+ readonly locale: "zh";
900
+ readonly message: string;
901
+ }, ...{
902
+ readonly locale: "en" | "ja" | "ko";
903
+ readonly message: string;
904
+ }[]] | undefined;
905
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
906
+ readonly action?: any;
907
+ readonly groupId: string;
908
+ readonly hideTitle?: boolean | undefined;
909
+ } | {
910
+ readonly id: string;
911
+ readonly title: readonly [{
912
+ readonly locale: "zh";
913
+ readonly message: string;
914
+ }, ...{
915
+ readonly locale: "en" | "ja" | "ko";
916
+ readonly message: string;
917
+ }[]];
918
+ readonly icon?: string | undefined;
919
+ readonly items: readonly (import("../actions/schema.js").RegistrySubItemValue | {
920
+ readonly disabled?: string | undefined;
921
+ readonly id: string;
922
+ readonly title: readonly [{
923
+ readonly locale: "zh";
924
+ readonly message: string;
925
+ }, ...{
926
+ readonly locale: "en" | "ja" | "ko";
927
+ readonly message: string;
928
+ }[]];
929
+ readonly icon?: string | undefined;
930
+ readonly hidden?: string | undefined;
931
+ readonly tooltip?: readonly [{
932
+ readonly locale: "zh";
933
+ readonly message: string;
934
+ }, ...{
935
+ readonly locale: "en" | "ja" | "ko";
936
+ readonly message: string;
937
+ }[]] | undefined;
938
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
939
+ readonly action?: any;
940
+ })[];
941
+ readonly groupId: string;
942
+ readonly hideTitle?: boolean | undefined;
943
+ })[];
944
+ readonly groups: readonly {
945
+ readonly id: string;
946
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
947
+ }[];
948
+ } | undefined;
687
949
  rowKey?: string | undefined;
688
950
  cellStyle?: string | undefined;
689
951
  pagination?: {
@@ -759,6 +1021,7 @@ export type TableConfigValue = Readonly<{
759
1021
  groups: ReadonlyArray<ColumnGroupValue>;
760
1022
  dataSource?: DataSourceValue;
761
1023
  actions?: TableActionsValue;
1024
+ bottomActions?: TableActionsValue;
762
1025
  query?: FormConfigValue;
763
1026
  rowKey?: string;
764
1027
  cellStyle?: string;
@@ -306,8 +306,12 @@ export function TableConfig(configure) {
306
306
  description: "\u6570\u636E\u6E90\u914D\u7F6E"
307
307
  })),
308
308
  actions: Schema.optional(TableActions).annotations({
309
- title: "\u64CD\u4F5C",
310
- description: "\u8868\u683C\u9876\u90E8\u64CD\u4F5C\u6309\u94AE"
309
+ title: "\u4E0A\u65B9\u64CD\u4F5C",
310
+ description: "\u6E32\u67D3\u5728\u8868\u683C\u4E0A\u65B9\u7684\u64CD\u4F5C\u6309\u94AE"
311
+ }),
312
+ bottomActions: Schema.optional(TableActions).annotations({
313
+ title: "\u4E0B\u65B9\u64CD\u4F5C",
314
+ description: "\u6E32\u67D3\u5728\u8868\u683C\uFF08\u542B\u5206\u9875\u5668\uFF09\u4E0B\u65B9\u7684\u64CD\u4F5C\u6309\u94AE\uFF1B\u4E0E\u4E0A\u65B9\u64CD\u4F5C\u5171\u4EAB\u540C\u4E00\u4F5C\u7528\u57DF\uFF08`selected` / `query` / `sorts`\uFF09"
311
315
  }),
312
316
  query: Schema.optional(Query).annotations({
313
317
  title: "\u641C\u7D22\u6761\u4EF6",
@@ -329,8 +333,8 @@ export function TableConfig(configure) {
329
333
  title: "\u5206\u9875"
330
334
  }),
331
335
  persistQuery: Schema.optional(Schema.Boolean.annotations({
332
- title: "\u641C\u7D22\u6761\u4EF6\u6301\u4E45\u5316",
333
- description: "\u5F00\u542F\u540E\uFF0C\u641C\u7D22\u6761\u4EF6\u8868\u5355\u7684\u5F53\u524D\u503C\u4F1A\u5199\u5165\u6D4F\u89C8\u5668\u4F1A\u8BDD\u5B58\u50A8\uFF08sessionStorage\uFF09\uFF0C\u5237\u65B0\u9875\u9762\u540E\u81EA\u52A8\u6062\u590D\uFF0C\u76F4\u5230\u5173\u95ED\u6807\u7B7E\u9875\u6216\u79BB\u5F00\u7AD9\u70B9\u3002\u9700\u8981\u8868\u683C\u5DF2\u914D\u7F6E ID\u3002"
336
+ title: "\u4FDD\u7559\u641C\u7D22\u6761\u4EF6",
337
+ description: "\u6253\u5F00\u540E\uFF0C\u641C\u7D22\u6761\u4EF6\u4EC5\u5728\u7528\u6237\u5173\u95ED\u5F53\u524D\u9875\u7B7E\u65F6\u6E05\u7A7A"
334
338
  })),
335
339
  initialState: Schema.optional(InitialState)
336
340
  }).pipe(Schema.filter((cfg) => {
@@ -48,7 +48,7 @@ const delegatedProps = reactiveOmit(props, "class", "inputClass", "invalid", "id
48
48
  :data-value="typeof delegatedProps.modelValue === 'number'"
49
49
  :aria-invalid="props.invalid ? 'true' : void 0"
50
50
  :class="cn(
51
- 'flex-1 px-2 py-1 text-center rounded-none w-full text-sm text-zinc-700 border-0 bg-transparent shadow-none outline-none peer disabled:cursor-not-allowed disabled:text-zinc-600 disabled:opacity-100',
51
+ 'flex-1 px-3 py-1 text-center rounded-none w-full text-sm text-zinc-700 border-0 bg-transparent shadow-none outline-none peer disabled:cursor-not-allowed disabled:text-zinc-600 disabled:opacity-100',
52
52
  props.inputClass
53
53
  )"
54
54
  @blur="emits('blur', $event)"
@@ -28,6 +28,7 @@ function registerScopeAddressVar(env) {
28
28
  });
29
29
  }
30
30
  export function evaluateExpression(env, expression, resultType) {
31
+ if (expression.trim().length === 0) return "\u8868\u8FBE\u5F0F\u4E0D\u80FD\u4E3A\u7A7A";
31
32
  const result = env.check(expression);
32
33
  if (Either.isLeft(result)) {
33
34
  const error = result.left;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shwfed/config",
3
- "version": "2.9.12",
3
+ "version": "2.10.0",
4
4
  "description": "Configurable UI for SHWFED",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -1 +0,0 @@
1
- import{ba as e}from"./index-Bvlt8fEt.js";import{bb as f,bc as r,bd as s}from"./index-Bvlt8fEt.js";export{f as TableConfig,r as createTableConfig,e as default,s as getColumnTechnicalKey};