@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
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
67
  readonly readonly?: string | undefined;
68
68
  readonly grow?: boolean | undefined;
69
69
  readonly enableSorting?: boolean | undefined;
70
- readonly successMessage?: string | undefined;
71
70
  readonly accessor: string;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
136
  readonly readonly?: string | undefined;
137
137
  readonly grow?: boolean | undefined;
138
138
  readonly enableSorting?: boolean | undefined;
139
- readonly successMessage?: string | undefined;
140
139
  readonly accessor: string;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
67
  readonly readonly?: string | undefined;
68
68
  readonly grow?: boolean | undefined;
69
69
  readonly enableSorting?: boolean | undefined;
70
- readonly successMessage?: string | undefined;
71
70
  readonly accessor: string;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
136
  readonly readonly?: string | undefined;
137
137
  readonly grow?: boolean | undefined;
138
138
  readonly enableSorting?: boolean | undefined;
139
- readonly successMessage?: string | undefined;
140
139
  readonly accessor: string;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor: string;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor: string;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor: string;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor: string;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor: string;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor: string;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor: string;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor: string;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -9,11 +9,11 @@ type __VLS_ModelProps = {
9
9
  modelValue: AnyRecord;
10
10
  };
11
11
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
- declare var __VLS_219: {}, __VLS_221: {};
12
+ declare var __VLS_224: {}, __VLS_226: {};
13
13
  type __VLS_Slots = {} & {
14
- 'general-grid-extra'?: (props: typeof __VLS_219) => any;
14
+ 'general-grid-extra'?: (props: typeof __VLS_224) => any;
15
15
  } & {
16
- 'general-extra'?: (props: typeof __VLS_221) => any;
16
+ 'general-extra'?: (props: typeof __VLS_226) => any;
17
17
  };
18
18
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  "update:modelValue": (value: AnyRecord) => any;
@@ -254,6 +254,7 @@ watch(
254
254
  );
255
255
  const selectedGeneral = computed(() => selected.value.kind === "general");
256
256
  const selectedActions = computed(() => selected.value.kind === "actions");
257
+ const selectedBottomActions = computed(() => selected.value.kind === "bottomActions");
257
258
  const selectedQuery = computed(() => selected.value.kind === "query");
258
259
  const columnFullPane = ref(false);
259
260
  provide(TABLE_COLUMN_LAYOUT_KEY, { fullPane: columnFullPane });
@@ -295,7 +296,7 @@ const tableScopeAncestor = computed(() => {
295
296
  });
296
297
  provideScopeAncestor(tableScopeAncestor);
297
298
  const isDrilled = computed(
298
- () => selectedActions.value || selectedQuery.value || columnFullPane.value
299
+ () => selectedActions.value || selectedBottomActions.value || selectedQuery.value || columnFullPane.value
299
300
  );
300
301
  function findGroup(id) {
301
302
  return editingGroups.value.find((g) => g.id === id) ?? null;
@@ -510,6 +511,7 @@ function resolveSelection() {
510
511
  const s = selected.value;
511
512
  if (s.kind === "general") return;
512
513
  if (s.kind === "actions") return;
514
+ if (s.kind === "bottomActions") return;
513
515
  if (s.kind === "query") return;
514
516
  if (s.kind === "group" && findGroup(s.id)) return;
515
517
  if (s.kind === "column" && findColumn(s.id)) return;
@@ -521,6 +523,9 @@ function selectGeneral() {
521
523
  function selectActions() {
522
524
  selected.value = { kind: "actions" };
523
525
  }
526
+ function selectBottomActions() {
527
+ selected.value = { kind: "bottomActions" };
528
+ }
524
529
  function selectQuery() {
525
530
  selected.value = { kind: "query" };
526
531
  }
@@ -539,6 +544,9 @@ if (breadcrumbExt) {
539
544
  if (s.kind === "actions") {
540
545
  crumb.label.value = generalFieldTitle("actions");
541
546
  crumb.back.value = selectGeneral;
547
+ } else if (s.kind === "bottomActions") {
548
+ crumb.label.value = generalFieldTitle("bottomActions");
549
+ crumb.back.value = selectGeneral;
542
550
  } else if (s.kind === "query") {
543
551
  crumb.label.value = generalFieldTitle("query");
544
552
  crumb.back.value = selectGeneral;
@@ -963,9 +971,9 @@ function setPaginationLocale(key, value) {
963
971
  function getError(fieldPath) {
964
972
  return fieldErrors.value[fieldPath];
965
973
  }
966
- const tableActionsValue = computed({
974
+ const makeTableActionsValue = (key) => computed({
967
975
  get: () => {
968
- const a = editingGeneralConfig.value.actions ?? {};
976
+ const a = editingGeneralConfig.value[key] ?? {};
969
977
  return {
970
978
  kind: "shwfed.component.action",
971
979
  size: a.size ?? "default",
@@ -980,18 +988,19 @@ const tableActionsValue = computed({
980
988
  const hasContent = groups && groups.length > 0 || items && items.length > 0 || typeof style === "string" && style.length > 0 || size !== void 0 && size !== "default";
981
989
  if (!hasContent) {
982
990
  const cur = readGeneral();
983
- const { actions: _drop, ...rest } = cur;
991
+ const { [key]: _drop, ...rest } = cur;
984
992
  const merged = normalizeForEmit(rest);
985
- const cleared = { ...config.value, ...merged };
986
- delete cleared.actions;
993
+ const { [key]: _stale, ...cleared } = { ...config.value, ...merged };
987
994
  config.value = cleared;
988
995
  return;
989
996
  }
990
997
  const actions = { size, gap, groups, items };
991
998
  if (style !== void 0) actions.style = style;
992
- writeGeneralPatch({ actions });
999
+ writeGeneralPatch({ [key]: actions });
993
1000
  }
994
1001
  });
1002
+ const tableActionsValue = makeTableActionsValue("actions");
1003
+ const tableBottomActionsValue = makeTableActionsValue("bottomActions");
995
1004
  const tableQueryValue = computed({
996
1005
  get: () => {
997
1006
  const q = editingGeneralConfig.value.query;
@@ -1036,6 +1045,20 @@ const tableQueryValue = computed({
1036
1045
  <span class="flex-1 truncate">通用配置</span>
1037
1046
  </div>
1038
1047
 
1048
+ <div
1049
+ class="row general-row pl-2"
1050
+ :class="[
1051
+ selectedQuery ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
1052
+ ]"
1053
+ @click.stop="selectQuery()"
1054
+ >
1055
+ <Icon
1056
+ icon="fluent:form-new-20-regular"
1057
+ class="size-4 shrink-0"
1058
+ />
1059
+ <span class="flex-1 truncate">{{ generalFieldTitle("query") }}</span>
1060
+ </div>
1061
+
1039
1062
  <div
1040
1063
  class="row general-row pl-2"
1041
1064
  :class="[
@@ -1053,15 +1076,15 @@ const tableQueryValue = computed({
1053
1076
  <div
1054
1077
  class="row general-row pl-2"
1055
1078
  :class="[
1056
- selectedQuery ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
1079
+ selectedBottomActions ? 'bg-[color-mix(in_srgb,var(--primary)_10%,white)] text-(--primary)' : 'text-zinc-600 hover:bg-zinc-50'
1057
1080
  ]"
1058
- @click.stop="selectQuery()"
1081
+ @click.stop="selectBottomActions()"
1059
1082
  >
1060
1083
  <Icon
1061
- icon="fluent:form-new-20-regular"
1084
+ icon="fluent:table-bottom-row-20-regular"
1062
1085
  class="size-4 shrink-0"
1063
1086
  />
1064
- <span class="flex-1 truncate">{{ generalFieldTitle("query") }}</span>
1087
+ <span class="flex-1 truncate">{{ generalFieldTitle("bottomActions") }}</span>
1065
1088
  </div>
1066
1089
  </div>
1067
1090
 
@@ -1483,22 +1506,26 @@ const tableQueryValue = computed({
1483
1506
  <Separator />
1484
1507
 
1485
1508
  <div class="flex items-center gap-2">
1486
- <h3 class="text-xs font-medium text-zinc-500">
1509
+ <FieldLabel class="text-xs text-zinc-500">
1510
+ <template
1511
+ v-if="generalFieldDescription('persistQuery')"
1512
+ #tooltip
1513
+ >
1514
+ <Markdown
1515
+ :source="generalFieldDescription('persistQuery')"
1516
+ block
1517
+ class="prose prose-sm prose-zinc"
1518
+ />
1519
+ </template>
1487
1520
  {{ generalFieldTitle("persistQuery") }}
1488
- </h3>
1521
+ </FieldLabel>
1489
1522
  <Switch
1490
1523
  size="sm"
1491
1524
  :model-value="editingGeneralConfig.persistQuery === true"
1492
- aria-label="搜索条件持久化"
1525
+ aria-label="保留搜索条件"
1493
1526
  @update:model-value="setPersistQueryEnabled"
1494
1527
  />
1495
1528
  </div>
1496
- <p
1497
- v-if="generalFieldDescription('persistQuery')"
1498
- class="text-xs text-zinc-400"
1499
- >
1500
- {{ generalFieldDescription("persistQuery") }}
1501
- </p>
1502
1529
 
1503
1530
  <Separator />
1504
1531
 
@@ -1564,6 +1591,13 @@ const tableQueryValue = computed({
1564
1591
  />
1565
1592
  </TableActionsCELContext>
1566
1593
 
1594
+ <TableActionsCELContext v-else-if="selectedBottomActions">
1595
+ <ActionsConfigEditor
1596
+ v-model="tableBottomActionsValue"
1597
+ :configure="configureTableActions"
1598
+ />
1599
+ </TableActionsCELContext>
1600
+
1567
1601
  <ShwfedFormConfig
1568
1602
  v-else-if="selectedQuery"
1569
1603
  v-model="tableQueryValue"
@@ -9,11 +9,11 @@ type __VLS_ModelProps = {
9
9
  modelValue: AnyRecord;
10
10
  };
11
11
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
- declare var __VLS_219: {}, __VLS_221: {};
12
+ declare var __VLS_224: {}, __VLS_226: {};
13
13
  type __VLS_Slots = {} & {
14
- 'general-grid-extra'?: (props: typeof __VLS_219) => any;
14
+ 'general-grid-extra'?: (props: typeof __VLS_224) => any;
15
15
  } & {
16
- 'general-extra'?: (props: typeof __VLS_221) => any;
16
+ 'general-extra'?: (props: typeof __VLS_226) => any;
17
17
  };
18
18
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  "update:modelValue": (value: AnyRecord) => any;
@@ -26,6 +26,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
26
26
  total?: string;
27
27
  }>;
28
28
  actions?: import("./schema.js").TableActionsValue;
29
+ bottomActions?: import("./schema.js").TableActionsValue;
29
30
  query?: import("../form/schema.js").FormConfigValue;
30
31
  rowKey?: string;
31
32
  cellStyle?: string;
@@ -72,6 +73,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
72
73
  total?: string;
73
74
  }>;
74
75
  actions?: import("./schema.js").TableActionsValue;
76
+ bottomActions?: import("./schema.js").TableActionsValue;
75
77
  query?: import("../form/schema.js").FormConfigValue;
76
78
  rowKey?: string;
77
79
  cellStyle?: string;
@@ -166,8 +166,7 @@ const columns = computed(() => {
166
166
  if (current) out.push(makeGroupColumn(current.group, current.children));
167
167
  return out;
168
168
  });
169
- const tableActionsConfig = computed(() => {
170
- const a = config.value?.actions;
169
+ const toActionsConfig = (a) => {
171
170
  if (!a) return void 0;
172
171
  if ((a.groups?.length ?? 0) === 0 && (a.items?.length ?? 0) === 0) return void 0;
173
172
  return {
@@ -178,7 +177,9 @@ const tableActionsConfig = computed(() => {
178
177
  groups: a.groups.map((g) => ({ ...g, variant: g.variant ?? "default" })),
179
178
  items: a.items
180
179
  };
181
- });
180
+ };
181
+ const tableActionsConfig = computed(() => toActionsConfig(config.value?.actions));
182
+ const tableBottomActionsConfig = computed(() => toActionsConfig(config.value?.bottomActions));
182
183
  const isPaginationEnabled = computed(() => config.value?.pagination !== void 0);
183
184
  const isManualPagination = computed(() => isPaginationEnabled.value && config.value?.dataSource?.total !== void 0);
184
185
  const totalItems = computed(() => isManualPagination.value ? serverTotal.value ?? 0 : rowData.value.length);
@@ -1058,5 +1059,13 @@ export { TableConfig, createTableConfig, getColumnTechnicalKey } from "./schema"
1058
1059
  </div>
1059
1060
  </ClientOnly>
1060
1061
  </div>
1062
+ <nav
1063
+ v-if="tableBottomActionsConfig"
1064
+ class="flex items-center justify-between"
1065
+ >
1066
+ <ShwfedActions
1067
+ :config="tableBottomActionsConfig"
1068
+ />
1069
+ </nav>
1061
1070
  </div>
1062
1071
  </template>
@@ -26,6 +26,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
26
26
  total?: string;
27
27
  }>;
28
28
  actions?: import("./schema.js").TableActionsValue;
29
+ bottomActions?: import("./schema.js").TableActionsValue;
29
30
  query?: import("../form/schema.js").FormConfigValue;
30
31
  rowKey?: string;
31
32
  cellStyle?: string;
@@ -72,6 +73,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
72
73
  total?: string;
73
74
  }>;
74
75
  actions?: import("./schema.js").TableActionsValue;
76
+ bottomActions?: import("./schema.js").TableActionsValue;
75
77
  query?: import("../form/schema.js").FormConfigValue;
76
78
  rowKey?: string;
77
79
  cellStyle?: string;