@shwfed/config 2.10.4 → 2.10.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 (171) hide show
  1. package/dist/mcp.mjs +1584 -1315
  2. package/dist/module.json +1 -1
  3. package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-DIjsktfi.js → FieldGroup.vue_vue_type_script_setup_true_lang-DoTYH4r0.js} +1 -1
  4. package/dist/preview/assets/{badge-Cr6_n00S.js → badge-DigodVby.js} +1 -1
  5. package/dist/preview/assets/{config-BemROLz0.js → config-BFLui9zF.js} +1 -1
  6. package/dist/preview/assets/{config-CwbWyadd.js → config-BiRUzXVx.js} +1 -1
  7. package/dist/preview/assets/{config-hXHOfKvD.js → config-Bjb63ooF.js} +1 -1
  8. package/dist/preview/assets/{config-CrA5lAMB.js → config-C1-hX0FZ.js} +1 -1
  9. package/dist/preview/assets/{config-CSauYxAG.js → config-CNjSJQmf.js} +1 -1
  10. package/dist/preview/assets/{config-DTDFg08z.js → config-Cn5zWISv.js} +1 -1
  11. package/dist/preview/assets/{config-BjUIO7Ps.js → config-D3BYzFT7.js} +1 -1
  12. package/dist/preview/assets/{config-DF4u2WzQ.js → config-DOqjxDka.js} +1 -1
  13. package/dist/preview/assets/{config-1VGYa1Zb.js → config-GquBxa0k.js} +1 -1
  14. package/dist/preview/assets/{config-DpcMlGoM.js → config-WRBBSsbf.js} +1 -1
  15. package/dist/preview/assets/{config-B2rtOFE1.js → config-Yzim7dYM.js} +1 -1
  16. package/dist/preview/assets/{config-CNY70agP.js → config-dwZBY29w.js} +1 -1
  17. package/dist/preview/assets/{config-Bu-ffrDi.js → config-fj68oKtH.js} +1 -1
  18. package/dist/preview/assets/{config-Dx9AeOjb.js → config-ia-gXiHl.js} +1 -1
  19. package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-v2AaUd8i.js → definition.vue_vue_type_script_setup_true_lang-DLRdfLnh.js} +1 -1
  20. package/dist/preview/assets/index-5uVTbNBd.js +1 -0
  21. package/dist/preview/assets/index-ByDPdF8R.js +763 -0
  22. package/dist/preview/assets/{index-BzWZj-hV.js → index-DjPejdGe.js} +1 -1
  23. package/dist/preview/assets/index-DyMqqPo8.css +1 -0
  24. package/dist/preview/assets/{item-B_QcL62I.js → item-D1eyfO0S.js} +1 -1
  25. package/dist/preview/assets/{runtime-Cfup01hl.js → runtime-BDsoGLTr.js} +1 -1
  26. package/dist/preview/assets/{runtime-D-MaRCSg.js → runtime-BnmMh817.js} +1 -1
  27. package/dist/preview/assets/{runtime-Cd79TXff.js → runtime-CeWW9OWp.js} +1 -1
  28. package/dist/preview/assets/{runtime-CZ6uHCIE.js → runtime-CersyeE4.js} +1 -1
  29. package/dist/preview/assets/{runtime-hClBh8tp.js → runtime-D2v11Q9f.js} +1 -1
  30. package/dist/preview/assets/{runtime-BRg0jxiK.js → runtime-DDLzkTJO.js} +1 -1
  31. package/dist/preview/assets/{runtime-BbiAwZZ9.js → runtime-DVt270HE.js} +1 -1
  32. package/dist/preview/assets/{runtime-DUMSbsqb.js → runtime-DlviPSYa.js} +1 -1
  33. package/dist/preview/assets/{runtime-Cu_C4Joj.js → runtime-PGalcWzI.js} +1 -1
  34. package/dist/preview/assets/{runtime-CKoLdM68.js → runtime-uMgaWxns.js} +1 -1
  35. package/dist/preview/assets/{schema-meta-BACRMkVo.js → schema-meta-DudoTEwn.js} +1 -1
  36. package/dist/preview/index.html +2 -2
  37. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue +17 -2
  38. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +2 -0
  39. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.js +10 -1
  40. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.d.vue.ts +223 -0
  41. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.vue +496 -0
  42. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.vue.d.ts +223 -0
  43. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/node-actions.d.vue.ts +10 -0
  44. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/node-actions.vue +25 -0
  45. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/node-actions.vue.d.ts +10 -0
  46. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.d.vue.ts +228 -0
  47. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue +356 -0
  48. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue.d.ts +228 -0
  49. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.d.ts +228 -0
  50. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.js +135 -0
  51. package/dist/runtime/components/config/config.vue +5 -0
  52. package/dist/runtime/components/config/index.vue +17 -1
  53. package/dist/runtime/components/config/utils/resolve.d.ts +26 -0
  54. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +22 -22
  55. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +22 -22
  56. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
  57. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
  58. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
  59. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
  60. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
  61. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
  62. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +28 -28
  63. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +28 -28
  64. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +6 -6
  65. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +6 -6
  66. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
  67. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
  68. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.js +2 -1
  69. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
  70. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
  71. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
  72. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
  73. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.js +2 -1
  74. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
  75. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
  76. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.js +2 -1
  77. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
  78. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
  79. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.js +2 -1
  80. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
  81. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
  82. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.js +2 -1
  83. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
  84. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
  85. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js +2 -1
  86. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +22 -22
  87. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +22 -22
  88. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js +2 -1
  89. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +3 -3
  90. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +54 -2
  91. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  92. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  93. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
  94. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
  95. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
  96. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
  97. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  98. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  99. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
  100. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
  101. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
  102. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
  103. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  104. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  105. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
  106. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
  107. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  108. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  109. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
  110. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
  111. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  112. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  113. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.js +2 -1
  114. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  115. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  116. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.js +2 -1
  117. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  118. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  119. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  120. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  121. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  122. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  123. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.js +2 -1
  124. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  125. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  126. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.js +2 -1
  127. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  128. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  129. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  130. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  131. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  132. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  133. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.js +2 -1
  134. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  135. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  136. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.js +2 -1
  137. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.d.vue.ts +10 -0
  138. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +543 -0
  139. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue.d.ts +10 -0
  140. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.d.vue.ts +9 -0
  141. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +110 -0
  142. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue.d.ts +9 -0
  143. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +76 -0
  144. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +89 -0
  145. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  146. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  147. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  148. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  149. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  150. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  151. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  152. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  153. package/dist/runtime/components/ui/tree/Tree.d.vue.ts +13 -0
  154. package/dist/runtime/components/ui/tree/Tree.vue +8 -1
  155. package/dist/runtime/components/ui/tree/Tree.vue.d.ts +13 -0
  156. package/dist/runtime/components/ui/tree/TreeNode.d.vue.ts +2 -0
  157. package/dist/runtime/components/ui/tree/TreeNode.vue +5 -2
  158. package/dist/runtime/components/ui/tree/TreeNode.vue.d.ts +2 -0
  159. package/dist/runtime/share/slot-renderer.d.vue.ts +5 -0
  160. package/dist/runtime/share/slot-renderer.vue +43 -28
  161. package/dist/runtime/share/slot-renderer.vue.d.ts +5 -0
  162. package/dist/runtime/share/tree-node-var.d.ts +25 -0
  163. package/dist/runtime/share/tree-node-var.js +10 -0
  164. package/dist/runtime/vendor/cel-js/CLAUDE.md +1 -1
  165. package/dist/runtime/vendor/cel-js/PROMPT.md +6 -0
  166. package/dist/runtime/vendor/cel-js/lib/http-builtins.d.ts +0 -14
  167. package/dist/runtime/vendor/cel-js/lib/http-builtins.js +17 -0
  168. package/package.json +1 -1
  169. package/dist/preview/assets/index-BDbNnENM.js +0 -1
  170. package/dist/preview/assets/index-ButPJaOR.css +0 -1
  171. package/dist/preview/assets/index-E3_P6Fhz.js +0 -761
@@ -1,6 +1,7 @@
1
1
  <script setup>
2
- import { computed } from "vue";
2
+ import { computed, useTemplateRef } from "vue";
3
3
  import TableRuntime from "../../../../table/index.vue";
4
+ import { publishSelection } from "../../../../../utils/selections-registry";
4
5
  defineOptions({ name: "ShwfedBlockTableRuntime" });
5
6
  const block = defineModel("block", { type: null, ...{ required: true } });
6
7
  const tableConfig = computed({
@@ -10,8 +11,22 @@ const tableConfig = computed({
10
11
  block.value = { ...block.value, table: next };
11
12
  }
12
13
  });
14
+ const tableRef = useTemplateRef("tableRef");
15
+ const selectedRows = computed(() => {
16
+ const rows = tableRef.value?.getSelectedRowModel().rows;
17
+ if (!rows || rows.length === 0) return void 0;
18
+ return { keys: rows.map((r) => r.id), rows: rows.map((r) => r.original) };
19
+ });
20
+ publishSelection(
21
+ block.value.id,
22
+ () => selectedRows.value,
23
+ { identity: (v) => JSON.stringify(v.keys), raw: (v) => v.rows }
24
+ );
13
25
  </script>
14
26
 
15
27
  <template>
16
- <TableRuntime v-model:config="tableConfig" />
28
+ <TableRuntime
29
+ ref="tableRef"
30
+ v-model:config="tableConfig"
31
+ />
17
32
  </template>
@@ -6,6 +6,7 @@ export declare const compatibilityDate: "2026-05-06";
6
6
  export declare const metadata: {
7
7
  readonly name: "表格";
8
8
  readonly icon: "fluent:table-20-regular";
9
+ readonly selection: true;
9
10
  readonly w: {
10
11
  readonly initial: 32;
11
12
  readonly min: 12;
@@ -15,6 +16,7 @@ export declare const metadata: {
15
16
  readonly initial: 8;
16
17
  readonly min: 3;
17
18
  readonly max: number;
19
+ readonly grow: true;
18
20
  };
19
21
  };
20
22
  export declare function schema(configure: (env: Environment) => void, _blockRef: AnySchema): Schema.Struct<{
@@ -5,8 +5,17 @@ export const compatibilityDate = "2026-05-06";
5
5
  export const metadata = {
6
6
  name: "\u8868\u683C",
7
7
  icon: "fluent:table-20-regular",
8
+ // Publishes the table's selected rows to the page `selections` registry
9
+ // under this block's id (see `runtime.vue`'s `publishSelection`), so a
10
+ // sibling block can read `selections["<block-id>"]` — the array of selected
11
+ // row records. The flag lists it in the page-level selection roster.
12
+ selection: true,
8
13
  w: { initial: 32, min: 12, max: Infinity },
9
- h: { initial: 8, min: 3, max: Infinity }
14
+ // `grow: true`: the table's height is content-driven, so its row escapes the
15
+ // grid's `1fr` equal-share (bare `auto`) and the table grows top-anchored from
16
+ // a fixed origin instead of floating inside an oversized track. See
17
+ // `config/utils/resolve.ts` `BlockSizeRange.grow`.
18
+ h: { initial: 8, min: 3, max: Infinity, grow: true }
10
19
  };
11
20
  export function schema(configure, _blockRef) {
12
21
  const TableSchema = TableConfig(configure);
@@ -0,0 +1,223 @@
1
+ import { type Value } from './schema.js';
2
+ type __VLS_ModelProps = {
3
+ modelValue: Value;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ "update:modelValue": (value: {
7
+ readonly filter?: {
8
+ readonly label?: readonly [{
9
+ readonly locale: "zh";
10
+ readonly message: string;
11
+ }, ...{
12
+ readonly locale: "en" | "ja" | "ko";
13
+ readonly message: string;
14
+ }[]] | undefined;
15
+ readonly enabled: boolean;
16
+ readonly keywords?: string | undefined;
17
+ } | undefined;
18
+ readonly type: "com.shwfed.block.tree.single";
19
+ readonly style?: string | undefined;
20
+ readonly id: string;
21
+ readonly compatibilityDate: "2026-06-17";
22
+ readonly dataSource: {
23
+ readonly data: string;
24
+ readonly request?: string | undefined;
25
+ };
26
+ readonly nodeKey: string;
27
+ readonly nodeChildren: string;
28
+ readonly nodeLabel: readonly [{
29
+ readonly locale: "zh";
30
+ readonly message: string;
31
+ }, ...{
32
+ readonly locale: "en" | "ja" | "ko";
33
+ readonly message: string;
34
+ }[]];
35
+ readonly nodeTooltip?: readonly [{
36
+ readonly locale: "zh";
37
+ readonly message: string;
38
+ }, ...{
39
+ readonly locale: "en" | "ja" | "ko";
40
+ readonly message: string;
41
+ }[]] | undefined;
42
+ readonly nodeSelectable?: string | undefined;
43
+ readonly expandAll: boolean;
44
+ readonly nodeActions: {
45
+ readonly size: "default" | "sm" | "xs";
46
+ readonly style?: string | undefined;
47
+ readonly gap: number;
48
+ readonly kind: "shwfed.component.action";
49
+ readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
50
+ readonly disabled?: string | undefined;
51
+ readonly id: string;
52
+ readonly title: readonly [{
53
+ readonly locale: "zh";
54
+ readonly message: string;
55
+ }, ...{
56
+ readonly locale: "en" | "ja" | "ko";
57
+ readonly message: string;
58
+ }[]];
59
+ readonly icon?: string | undefined;
60
+ readonly hidden?: string | undefined;
61
+ readonly tooltip?: readonly [{
62
+ readonly locale: "zh";
63
+ readonly message: string;
64
+ }, ...{
65
+ readonly locale: "en" | "ja" | "ko";
66
+ readonly message: string;
67
+ }[]] | undefined;
68
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
69
+ readonly action?: any;
70
+ readonly groupId: string;
71
+ readonly hideTitle?: boolean | undefined;
72
+ } | {
73
+ readonly id: string;
74
+ readonly title: readonly [{
75
+ readonly locale: "zh";
76
+ readonly message: string;
77
+ }, ...{
78
+ readonly locale: "en" | "ja" | "ko";
79
+ readonly message: string;
80
+ }[]];
81
+ readonly icon?: string | undefined;
82
+ readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
83
+ readonly disabled?: string | undefined;
84
+ readonly id: string;
85
+ readonly title: readonly [{
86
+ readonly locale: "zh";
87
+ readonly message: string;
88
+ }, ...{
89
+ readonly locale: "en" | "ja" | "ko";
90
+ readonly message: string;
91
+ }[]];
92
+ readonly icon?: string | undefined;
93
+ readonly hidden?: string | undefined;
94
+ readonly tooltip?: readonly [{
95
+ readonly locale: "zh";
96
+ readonly message: string;
97
+ }, ...{
98
+ readonly locale: "en" | "ja" | "ko";
99
+ readonly message: string;
100
+ }[]] | undefined;
101
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
102
+ readonly action?: any;
103
+ })[];
104
+ readonly groupId: string;
105
+ readonly hideTitle?: boolean | undefined;
106
+ })[];
107
+ readonly groups: readonly {
108
+ readonly id: string;
109
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
110
+ }[];
111
+ };
112
+ }) => any;
113
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
114
+ "onUpdate:modelValue"?: ((value: {
115
+ readonly filter?: {
116
+ readonly label?: readonly [{
117
+ readonly locale: "zh";
118
+ readonly message: string;
119
+ }, ...{
120
+ readonly locale: "en" | "ja" | "ko";
121
+ readonly message: string;
122
+ }[]] | undefined;
123
+ readonly enabled: boolean;
124
+ readonly keywords?: string | undefined;
125
+ } | undefined;
126
+ readonly type: "com.shwfed.block.tree.single";
127
+ readonly style?: string | undefined;
128
+ readonly id: string;
129
+ readonly compatibilityDate: "2026-06-17";
130
+ readonly dataSource: {
131
+ readonly data: string;
132
+ readonly request?: string | undefined;
133
+ };
134
+ readonly nodeKey: string;
135
+ readonly nodeChildren: string;
136
+ readonly nodeLabel: readonly [{
137
+ readonly locale: "zh";
138
+ readonly message: string;
139
+ }, ...{
140
+ readonly locale: "en" | "ja" | "ko";
141
+ readonly message: string;
142
+ }[]];
143
+ readonly nodeTooltip?: readonly [{
144
+ readonly locale: "zh";
145
+ readonly message: string;
146
+ }, ...{
147
+ readonly locale: "en" | "ja" | "ko";
148
+ readonly message: string;
149
+ }[]] | undefined;
150
+ readonly nodeSelectable?: string | undefined;
151
+ readonly expandAll: boolean;
152
+ readonly nodeActions: {
153
+ readonly size: "default" | "sm" | "xs";
154
+ readonly style?: string | undefined;
155
+ readonly gap: number;
156
+ readonly kind: "shwfed.component.action";
157
+ readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
158
+ readonly disabled?: string | undefined;
159
+ readonly id: string;
160
+ readonly title: readonly [{
161
+ readonly locale: "zh";
162
+ readonly message: string;
163
+ }, ...{
164
+ readonly locale: "en" | "ja" | "ko";
165
+ readonly message: string;
166
+ }[]];
167
+ readonly icon?: string | undefined;
168
+ readonly hidden?: string | undefined;
169
+ readonly tooltip?: readonly [{
170
+ readonly locale: "zh";
171
+ readonly message: string;
172
+ }, ...{
173
+ readonly locale: "en" | "ja" | "ko";
174
+ readonly message: string;
175
+ }[]] | undefined;
176
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
177
+ readonly action?: any;
178
+ readonly groupId: string;
179
+ readonly hideTitle?: boolean | undefined;
180
+ } | {
181
+ readonly id: string;
182
+ readonly title: readonly [{
183
+ readonly locale: "zh";
184
+ readonly message: string;
185
+ }, ...{
186
+ readonly locale: "en" | "ja" | "ko";
187
+ readonly message: string;
188
+ }[]];
189
+ readonly icon?: string | undefined;
190
+ readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
191
+ readonly disabled?: string | undefined;
192
+ readonly id: string;
193
+ readonly title: readonly [{
194
+ readonly locale: "zh";
195
+ readonly message: string;
196
+ }, ...{
197
+ readonly locale: "en" | "ja" | "ko";
198
+ readonly message: string;
199
+ }[]];
200
+ readonly icon?: string | undefined;
201
+ readonly hidden?: string | undefined;
202
+ readonly tooltip?: readonly [{
203
+ readonly locale: "zh";
204
+ readonly message: string;
205
+ }, ...{
206
+ readonly locale: "en" | "ja" | "ko";
207
+ readonly message: string;
208
+ }[]] | undefined;
209
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
210
+ readonly action?: any;
211
+ })[];
212
+ readonly groupId: string;
213
+ readonly hideTitle?: boolean | undefined;
214
+ })[];
215
+ readonly groups: readonly {
216
+ readonly id: string;
217
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
218
+ }[];
219
+ };
220
+ }) => any) | undefined;
221
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
222
+ declare const _default: typeof __VLS_export;
223
+ export default _default;