@shwfed/config 2.12.16 → 2.12.17

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 (101) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +2 -2
  3. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +2 -2
  4. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +4 -4
  5. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +4 -4
  6. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +1 -1
  7. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +2 -2
  8. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +2 -2
  9. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +2 -2
  10. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +2 -2
  11. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +2 -2
  12. package/dist/runtime/components/config/index.d.vue.ts +2 -2
  13. package/dist/runtime/components/config/index.vue.d.ts +2 -2
  14. package/dist/runtime/components/form/FormUnitRenderer.vue +70 -22
  15. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +2 -2
  16. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +2 -2
  17. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +6 -6
  18. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +6 -6
  19. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +8 -8
  20. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +8 -8
  21. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
  22. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
  23. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +2 -2
  24. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +2 -2
  25. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +18 -18
  26. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +18 -18
  27. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +6 -6
  28. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +6 -6
  29. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +2 -2
  30. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +2 -2
  31. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +18 -18
  32. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +18 -18
  33. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +18 -18
  34. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +18 -18
  35. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.d.vue.ts +2 -2
  36. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.vue.d.ts +2 -2
  37. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/config.d.vue.ts +2 -2
  38. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/config.vue.d.ts +2 -2
  39. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +18 -18
  40. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +18 -18
  41. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +18 -18
  42. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +18 -18
  43. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +18 -18
  44. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +18 -18
  45. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +18 -18
  46. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +18 -18
  47. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.d.vue.ts +2 -2
  48. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.vue.d.ts +2 -2
  49. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.d.vue.ts +2 -2
  50. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue.d.ts +2 -2
  51. package/dist/runtime/components/form/schema.d.ts +2 -2
  52. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  53. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  54. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +6 -6
  55. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +6 -6
  56. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +4 -4
  57. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +4 -4
  58. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  59. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  60. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +6 -6
  61. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +6 -6
  62. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +4 -4
  63. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +4 -4
  64. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +6 -6
  65. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +6 -6
  66. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +22 -22
  67. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +22 -22
  68. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +6 -6
  69. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +6 -6
  70. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +22 -22
  71. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +22 -22
  72. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  73. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  74. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  75. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  76. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +8 -8
  77. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +8 -8
  78. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +8 -8
  79. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +8 -8
  80. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  81. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  82. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  83. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  84. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +8 -8
  85. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +8 -8
  86. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +8 -8
  87. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +8 -8
  88. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  89. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  90. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  91. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  92. package/dist/runtime/components/table/schema.d.ts +3 -3
  93. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  94. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  95. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  96. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  97. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  98. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  99. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  100. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  101. package/package.json +1 -1
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shwfed",
3
3
  "configKey": "shwfed",
4
- "version": "2.12.16",
4
+ "version": "2.12.17",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -19,6 +19,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
19
19
  readonly displayName?: string | undefined;
20
20
  readonly kind: "shwfed.component.form";
21
21
  readonly fields: readonly any[];
22
+ readonly readonly?: string | undefined;
22
23
  readonly layouts: readonly {
23
24
  readonly name: string;
24
25
  readonly layout: {
@@ -36,7 +37,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
36
37
  };
37
38
  readonly media?: string | undefined;
38
39
  }[];
39
- readonly readonly?: string | undefined;
40
40
  };
41
41
  readonly type: "com.shwfed.block.form";
42
42
  readonly id: string;
@@ -54,6 +54,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
54
54
  readonly displayName?: string | undefined;
55
55
  readonly kind: "shwfed.component.form";
56
56
  readonly fields: readonly any[];
57
+ readonly readonly?: string | undefined;
57
58
  readonly layouts: readonly {
58
59
  readonly name: string;
59
60
  readonly layout: {
@@ -71,7 +72,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
71
72
  };
72
73
  readonly media?: string | undefined;
73
74
  }[];
74
- readonly readonly?: string | undefined;
75
75
  };
76
76
  readonly type: "com.shwfed.block.form";
77
77
  readonly id: string;
@@ -19,6 +19,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
19
19
  readonly displayName?: string | undefined;
20
20
  readonly kind: "shwfed.component.form";
21
21
  readonly fields: readonly any[];
22
+ readonly readonly?: string | undefined;
22
23
  readonly layouts: readonly {
23
24
  readonly name: string;
24
25
  readonly layout: {
@@ -36,7 +37,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
36
37
  };
37
38
  readonly media?: string | undefined;
38
39
  }[];
39
- readonly readonly?: string | undefined;
40
40
  };
41
41
  readonly type: "com.shwfed.block.form";
42
42
  readonly id: string;
@@ -54,6 +54,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
54
54
  readonly displayName?: string | undefined;
55
55
  readonly kind: "shwfed.component.form";
56
56
  readonly fields: readonly any[];
57
+ readonly readonly?: string | undefined;
57
58
  readonly layouts: readonly {
58
59
  readonly name: string;
59
60
  readonly layout: {
@@ -71,7 +72,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
71
72
  };
72
73
  readonly media?: string | undefined;
73
74
  }[];
74
- readonly readonly?: string | undefined;
75
75
  };
76
76
  readonly type: "com.shwfed.block.form";
77
77
  readonly id: string;
@@ -10,6 +10,7 @@ type __VLS_ModelProps = {
10
10
  };
11
11
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
12
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:modelValue": (value: FormState) => any;
13
14
  "update:block": (value: {
14
15
  readonly form: {
15
16
  readonly style?: string | undefined;
@@ -21,6 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
21
22
  readonly displayName?: string | undefined;
22
23
  readonly kind: "shwfed.component.form";
23
24
  readonly fields: readonly any[];
25
+ readonly readonly?: string | undefined;
24
26
  readonly layouts: readonly {
25
27
  readonly name: string;
26
28
  readonly layout: {
@@ -38,14 +40,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
38
40
  };
39
41
  readonly media?: string | undefined;
40
42
  }[];
41
- readonly readonly?: string | undefined;
42
43
  };
43
44
  readonly type: "com.shwfed.block.form";
44
45
  readonly id: string;
45
46
  readonly compatibilityDate: "2026-05-06";
46
47
  }) => any;
47
- "update:modelValue": (value: FormState) => any;
48
48
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
49
+ "onUpdate:modelValue"?: ((value: FormState) => any) | undefined;
49
50
  "onUpdate:block"?: ((value: {
50
51
  readonly form: {
51
52
  readonly style?: string | undefined;
@@ -57,6 +58,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
57
58
  readonly displayName?: string | undefined;
58
59
  readonly kind: "shwfed.component.form";
59
60
  readonly fields: readonly any[];
61
+ readonly readonly?: string | undefined;
60
62
  readonly layouts: readonly {
61
63
  readonly name: string;
62
64
  readonly layout: {
@@ -74,13 +76,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
74
76
  };
75
77
  readonly media?: string | undefined;
76
78
  }[];
77
- readonly readonly?: string | undefined;
78
79
  };
79
80
  readonly type: "com.shwfed.block.form";
80
81
  readonly id: string;
81
82
  readonly compatibilityDate: "2026-05-06";
82
83
  }) => any) | undefined;
83
- "onUpdate:modelValue"?: ((value: FormState) => any) | undefined;
84
84
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
86
86
  export default _default;
@@ -10,6 +10,7 @@ type __VLS_ModelProps = {
10
10
  };
11
11
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
12
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:modelValue": (value: FormState) => any;
13
14
  "update:block": (value: {
14
15
  readonly form: {
15
16
  readonly style?: string | undefined;
@@ -21,6 +22,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
21
22
  readonly displayName?: string | undefined;
22
23
  readonly kind: "shwfed.component.form";
23
24
  readonly fields: readonly any[];
25
+ readonly readonly?: string | undefined;
24
26
  readonly layouts: readonly {
25
27
  readonly name: string;
26
28
  readonly layout: {
@@ -38,14 +40,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
38
40
  };
39
41
  readonly media?: string | undefined;
40
42
  }[];
41
- readonly readonly?: string | undefined;
42
43
  };
43
44
  readonly type: "com.shwfed.block.form";
44
45
  readonly id: string;
45
46
  readonly compatibilityDate: "2026-05-06";
46
47
  }) => any;
47
- "update:modelValue": (value: FormState) => any;
48
48
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
49
+ "onUpdate:modelValue"?: ((value: FormState) => any) | undefined;
49
50
  "onUpdate:block"?: ((value: {
50
51
  readonly form: {
51
52
  readonly style?: string | undefined;
@@ -57,6 +58,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
57
58
  readonly displayName?: string | undefined;
58
59
  readonly kind: "shwfed.component.form";
59
60
  readonly fields: readonly any[];
61
+ readonly readonly?: string | undefined;
60
62
  readonly layouts: readonly {
61
63
  readonly name: string;
62
64
  readonly layout: {
@@ -74,13 +76,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
74
76
  };
75
77
  readonly media?: string | undefined;
76
78
  }[];
77
- readonly readonly?: string | undefined;
78
79
  };
79
80
  readonly type: "com.shwfed.block.form";
80
81
  readonly id: string;
81
82
  readonly compatibilityDate: "2026-05-06";
82
83
  }) => any) | undefined;
83
- "onUpdate:modelValue"?: ((value: FormState) => any) | undefined;
84
84
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
85
85
  declare const _default: typeof __VLS_export;
86
86
  export default _default;
@@ -31,6 +31,7 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
31
31
  readonly displayName?: string | undefined;
32
32
  readonly kind: "shwfed.component.form";
33
33
  readonly fields: readonly any[];
34
+ readonly readonly?: string | undefined;
34
35
  readonly layouts: readonly {
35
36
  readonly name: string;
36
37
  readonly layout: {
@@ -48,7 +49,6 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
48
49
  };
49
50
  readonly media?: string | undefined;
50
51
  }[];
51
- readonly readonly?: string | undefined;
52
52
  }, Schema.Struct<{
53
53
  fields: Schema.Array$<Schema.Schema<any, any, never>>;
54
54
  layouts: Schema.refine<readonly {
@@ -111,6 +111,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
111
111
  readonly displayName?: string | undefined;
112
112
  readonly kind: "shwfed.component.form";
113
113
  readonly fields: readonly any[];
114
+ readonly readonly?: string | undefined;
114
115
  readonly layouts: readonly {
115
116
  readonly name: string;
116
117
  readonly layout: {
@@ -128,7 +129,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
128
129
  };
129
130
  readonly media?: string | undefined;
130
131
  }[];
131
- readonly readonly?: string | undefined;
132
132
  } | undefined;
133
133
  readonly dataSource?: {
134
134
  readonly data: string;
@@ -359,6 +359,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
359
359
  readonly displayName?: string | undefined;
360
360
  readonly kind: "shwfed.component.form";
361
361
  readonly fields: readonly any[];
362
+ readonly readonly?: string | undefined;
362
363
  readonly layouts: readonly {
363
364
  readonly name: string;
364
365
  readonly layout: {
@@ -376,7 +377,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
376
377
  };
377
378
  readonly media?: string | undefined;
378
379
  }[];
379
- readonly readonly?: string | undefined;
380
380
  } | undefined;
381
381
  readonly dataSource?: {
382
382
  readonly data: string;
@@ -111,6 +111,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
111
111
  readonly displayName?: string | undefined;
112
112
  readonly kind: "shwfed.component.form";
113
113
  readonly fields: readonly any[];
114
+ readonly readonly?: string | undefined;
114
115
  readonly layouts: readonly {
115
116
  readonly name: string;
116
117
  readonly layout: {
@@ -128,7 +129,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
128
129
  };
129
130
  readonly media?: string | undefined;
130
131
  }[];
131
- readonly readonly?: string | undefined;
132
132
  } | undefined;
133
133
  readonly dataSource?: {
134
134
  readonly data: string;
@@ -359,6 +359,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
359
359
  readonly displayName?: string | undefined;
360
360
  readonly kind: "shwfed.component.form";
361
361
  readonly fields: readonly any[];
362
+ readonly readonly?: string | undefined;
362
363
  readonly layouts: readonly {
363
364
  readonly name: string;
364
365
  readonly layout: {
@@ -376,7 +377,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
376
377
  };
377
378
  readonly media?: string | undefined;
378
379
  }[];
379
- readonly readonly?: string | undefined;
380
380
  } | undefined;
381
381
  readonly dataSource?: {
382
382
  readonly data: string;
@@ -106,6 +106,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly displayName?: string | undefined;
107
107
  readonly kind: "shwfed.component.form";
108
108
  readonly fields: readonly any[];
109
+ readonly readonly?: string | undefined;
109
110
  readonly layouts: readonly {
110
111
  readonly name: string;
111
112
  readonly layout: {
@@ -123,7 +124,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
123
124
  };
124
125
  readonly media?: string | undefined;
125
126
  }[];
126
- readonly readonly?: string | undefined;
127
127
  } | undefined;
128
128
  readonly dataSource?: {
129
129
  readonly data: string;
@@ -354,6 +354,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
354
354
  readonly displayName?: string | undefined;
355
355
  readonly kind: "shwfed.component.form";
356
356
  readonly fields: readonly any[];
357
+ readonly readonly?: string | undefined;
357
358
  readonly layouts: readonly {
358
359
  readonly name: string;
359
360
  readonly layout: {
@@ -371,7 +372,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
371
372
  };
372
373
  readonly media?: string | undefined;
373
374
  }[];
374
- readonly readonly?: string | undefined;
375
375
  } | undefined;
376
376
  readonly dataSource?: {
377
377
  readonly data: string;
@@ -106,6 +106,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly displayName?: string | undefined;
107
107
  readonly kind: "shwfed.component.form";
108
108
  readonly fields: readonly any[];
109
+ readonly readonly?: string | undefined;
109
110
  readonly layouts: readonly {
110
111
  readonly name: string;
111
112
  readonly layout: {
@@ -123,7 +124,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
123
124
  };
124
125
  readonly media?: string | undefined;
125
126
  }[];
126
- readonly readonly?: string | undefined;
127
127
  } | undefined;
128
128
  readonly dataSource?: {
129
129
  readonly data: string;
@@ -354,6 +354,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
354
354
  readonly displayName?: string | undefined;
355
355
  readonly kind: "shwfed.component.form";
356
356
  readonly fields: readonly any[];
357
+ readonly readonly?: string | undefined;
357
358
  readonly layouts: readonly {
358
359
  readonly name: string;
359
360
  readonly layout: {
@@ -371,7 +372,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
371
372
  };
372
373
  readonly media?: string | undefined;
373
374
  }[];
374
- readonly readonly?: string | undefined;
375
375
  } | undefined;
376
376
  readonly dataSource?: {
377
377
  readonly data: string;
@@ -124,6 +124,7 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
124
124
  readonly displayName?: string | undefined;
125
125
  readonly kind: "shwfed.component.form";
126
126
  readonly fields: readonly any[];
127
+ readonly readonly?: string | undefined;
127
128
  readonly layouts: readonly {
128
129
  readonly name: string;
129
130
  readonly layout: {
@@ -141,7 +142,6 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
141
142
  };
142
143
  readonly media?: string | undefined;
143
144
  }[];
144
- readonly readonly?: string | undefined;
145
145
  } | undefined;
146
146
  readonly dataSource?: {
147
147
  readonly data: string;
@@ -572,6 +572,7 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
572
572
  readonly displayName?: string | undefined;
573
573
  readonly kind: "shwfed.component.form";
574
574
  readonly fields: readonly any[];
575
+ readonly readonly?: string | undefined;
575
576
  readonly layouts: readonly {
576
577
  readonly name: string;
577
578
  readonly layout: {
@@ -589,7 +590,6 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
589
590
  };
590
591
  readonly media?: string | undefined;
591
592
  }[];
592
- readonly readonly?: string | undefined;
593
593
  }, Schema.Struct<{
594
594
  fields: Schema.Array$<Schema.Schema<any, any, never>>;
595
595
  layouts: Schema.refine<readonly {
@@ -11,7 +11,6 @@ type __VLS_ModelProps = {
11
11
  };
12
12
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
13
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- "select-version": (version: string) => any;
15
14
  "update:config": (value: Readonly<{
16
15
  kind: "shwfed.component.page";
17
16
  title?: import("../../share/locale.js").LocaleValue;
@@ -25,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
25
24
  }>[];
26
25
  }>;
27
26
  }> | null | undefined) => any;
27
+ "select-version": (version: string) => any;
28
28
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
29
- "onSelect-version"?: ((version: string) => any) | undefined;
30
29
  "onUpdate:config"?: ((value: Readonly<{
31
30
  kind: "shwfed.component.page";
32
31
  title?: import("../../share/locale.js").LocaleValue;
@@ -40,6 +39,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
40
39
  }>[];
41
40
  }>;
42
41
  }> | null | undefined) => any) | undefined;
42
+ "onSelect-version"?: ((version: string) => any) | undefined;
43
43
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
44
  declare const _default: typeof __VLS_export;
45
45
  export default _default;
@@ -11,7 +11,6 @@ type __VLS_ModelProps = {
11
11
  };
12
12
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
13
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- "select-version": (version: string) => any;
15
14
  "update:config": (value: Readonly<{
16
15
  kind: "shwfed.component.page";
17
16
  title?: import("../../share/locale.js").LocaleValue;
@@ -25,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
25
24
  }>[];
26
25
  }>;
27
26
  }> | null | undefined) => any;
27
+ "select-version": (version: string) => any;
28
28
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
29
- "onSelect-version"?: ((version: string) => any) | undefined;
30
29
  "onUpdate:config"?: ((value: Readonly<{
31
30
  kind: "shwfed.component.page";
32
31
  title?: import("../../share/locale.js").LocaleValue;
@@ -40,6 +39,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
40
39
  }>[];
41
40
  }>;
42
41
  }> | null | undefined) => any) | undefined;
42
+ "onSelect-version"?: ((version: string) => any) | undefined;
43
43
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
44
  declare const _default: typeof __VLS_export;
45
45
  export default _default;
@@ -47,9 +47,65 @@ const placedFields = computed(() => {
47
47
  }
48
48
  return out;
49
49
  });
50
- function cellStyle(placement) {
50
+ const authoredAreas = computed(() => {
51
+ const layout = activeLayout.value?.layout;
52
+ if (!layout) return [];
53
+ const out = [];
54
+ for (const field of props.unit.fields) {
55
+ const placement = layout.placements[field.id];
56
+ if (!placement) continue;
57
+ if (!findField(field.type, field.compatibilityDate)) continue;
58
+ out.push(placement.area);
59
+ }
60
+ return out;
61
+ });
62
+ function buildRemap(count, keep) {
63
+ const line = Array.from({ length: count + 2 });
64
+ const keptFlags = [];
65
+ let acc = 1;
66
+ for (let L = 1; L <= count + 1; L++) {
67
+ line[L] = acc;
68
+ if (L <= count) {
69
+ const k = keep(L);
70
+ keptFlags.push(k);
71
+ if (k) acc++;
72
+ }
73
+ }
74
+ return { line, keptFlags, kept: acc - 1 };
75
+ }
76
+ const compaction = computed(() => {
77
+ const l = activeLayout.value?.layout;
78
+ if (!l) return null;
79
+ const authored = authoredAreas.value;
80
+ const visible = placedFields.value.map((p) => p.placement.area);
81
+ const coversCol = (a, c) => a[0][0] <= c && c < a[1][0];
82
+ const coversRow = (a, r) => a[0][1] <= r && r < a[1][1];
83
+ const rowCount = l.rows ?? authored.reduce((m, a) => Math.max(m, a[1][1] - 1), 0);
84
+ const grows = Array.from({ length: rowCount }, () => false);
85
+ for (const p of placedFields.value) {
86
+ if (!p.entry.metadata.h.grow) continue;
87
+ const [[, y1], [, y2]] = p.placement.area;
88
+ const lo = Math.max(1, y1);
89
+ const hi = Math.min(rowCount, y2 - 1);
90
+ for (let r = lo; r <= hi; r++) grows[r - 1] = true;
91
+ }
92
+ const col = buildRemap(l.columns, (c) => visible.some((a) => coversCol(a, c)) || !authored.some((a) => coversCol(a, c)));
93
+ const row = buildRemap(rowCount, (r) => visible.some((a) => coversRow(a, r)) || !authored.some((a) => coversRow(a, r)));
94
+ const rowTemplate = l.rows ? row.keptFlags.map((keep, i) => keep ? grows[i] ? "auto" : "minmax(auto, 1fr)" : null).filter(Boolean).join(" ") : "";
95
+ return {
96
+ colLine: col.line,
97
+ rowLine: row.line,
98
+ keptColumns: Math.max(1, col.kept),
99
+ rowTemplate
100
+ };
101
+ });
102
+ function cellStyle(placement, comp) {
51
103
  const [[x1, y1], [x2, y2]] = placement.area;
52
- const parts = [`grid-column: ${x1} / ${x2}`, `grid-row: ${y1} / ${y2}`, "min-width: 0"];
104
+ const parts = [
105
+ `grid-column: ${comp.colLine[x1]} / ${comp.colLine[x2]}`,
106
+ `grid-row: ${comp.rowLine[y1]} / ${comp.rowLine[y2]}`,
107
+ "min-width: 0"
108
+ ];
53
109
  const h = placement.h && placement.h !== "stretch" ? placement.h : null;
54
110
  const v = placement.v && placement.v !== "stretch" ? placement.v : null;
55
111
  if (h || v) {
@@ -62,22 +118,12 @@ function cellStyle(placement) {
62
118
  }
63
119
  const gridStyle = computed(() => {
64
120
  const l = activeLayout.value?.layout;
65
- if (!l) return "";
66
- const colTemplate = `repeat(${l.columns}, minmax(0, 1fr))`;
67
- let rowTemplate = "";
68
- if (l.rows) {
69
- const grows = Array.from({ length: l.rows }, () => false);
70
- for (const p of placedFields.value) {
71
- if (!p.entry.metadata.h.grow) continue;
72
- const [[, y1], [, y2]] = p.placement.area;
73
- const lo = Math.max(1, y1);
74
- const hi = Math.min(l.rows, y2 - 1);
75
- for (let r = lo; r <= hi; r++) grows[r - 1] = true;
76
- }
77
- rowTemplate = grows.map((g) => g ? "auto" : "minmax(auto, 1fr)").join(" ");
78
- }
121
+ const comp = compaction.value;
122
+ if (!l || !comp) return "";
123
+ const colTemplate = `repeat(${comp.keptColumns}, minmax(0, 1fr))`;
124
+ const rowTemplate = comp.rowTemplate;
79
125
  const gap = `calc(${l.gap ?? DEFAULT_GAP} * 0.25rem)`;
80
- const colGap = l.columns > 1 ? `min(${gap}, calc(100% / ${l.columns - 1}))` : gap;
126
+ const colGap = comp.keptColumns > 1 ? `min(${gap}, calc(100% / ${comp.keptColumns - 1}))` : gap;
81
127
  const parts = [
82
128
  "display: grid",
83
129
  `grid-template-columns: ${colTemplate}`,
@@ -88,15 +134,17 @@ const gridStyle = computed(() => {
88
134
  ].filter(Boolean);
89
135
  return parts.join("; ");
90
136
  });
91
- const rendered = computed(
92
- () => placedFields.value.map((p) => ({
137
+ const rendered = computed(() => {
138
+ const comp = compaction.value;
139
+ if (!comp) return [];
140
+ return placedFields.value.map((p) => ({
93
141
  key: p.field.id,
94
- style: cellStyle(p.placement),
142
+ style: cellStyle(p.placement, comp),
95
143
  component: p.entry.runtime,
96
144
  fieldId: p.field.id,
97
145
  config: p.field
98
- }))
99
- );
146
+ }));
147
+ });
100
148
  </script>
101
149
 
102
150
  <template>
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  }[]] | undefined;
25
25
  readonly required?: string | undefined;
26
26
  readonly displayName?: string | undefined;
27
- readonly options: string;
28
27
  readonly compatibilityDate: "2026-04-24";
28
+ readonly options: string;
29
29
  readonly orientation?: "vertical" | "floating" | undefined;
30
30
  readonly placeholder?: readonly [{
31
31
  readonly locale: "zh";
@@ -82,8 +82,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  }[]] | undefined;
83
83
  readonly required?: string | undefined;
84
84
  readonly displayName?: string | undefined;
85
- readonly options: string;
86
85
  readonly compatibilityDate: "2026-04-24";
86
+ readonly options: string;
87
87
  readonly orientation?: "vertical" | "floating" | undefined;
88
88
  readonly placeholder?: readonly [{
89
89
  readonly locale: "zh";
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  }[]] | undefined;
25
25
  readonly required?: string | undefined;
26
26
  readonly displayName?: string | undefined;
27
- readonly options: string;
28
27
  readonly compatibilityDate: "2026-04-24";
28
+ readonly options: string;
29
29
  readonly orientation?: "vertical" | "floating" | undefined;
30
30
  readonly placeholder?: readonly [{
31
31
  readonly locale: "zh";
@@ -82,8 +82,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  }[]] | undefined;
83
83
  readonly required?: string | undefined;
84
84
  readonly displayName?: string | undefined;
85
- readonly options: string;
86
85
  readonly compatibilityDate: "2026-04-24";
86
+ readonly options: string;
87
87
  readonly orientation?: "vertical" | "floating" | undefined;
88
88
  readonly placeholder?: readonly [{
89
89
  readonly locale: "zh";
@@ -33,10 +33,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
33
  readonly expression: string;
34
34
  } | undefined;
35
35
  readonly numberOfMonths?: number | undefined;
36
- readonly format?: string | undefined;
37
- readonly valueFormat?: string | undefined;
38
- readonly disabledDate?: string | undefined;
39
36
  readonly rangeSeparatorIcon?: string | undefined;
37
+ readonly format?: string | undefined;
40
38
  readonly startPlaceholder?: readonly [{
41
39
  readonly locale: "zh";
42
40
  readonly message: string;
@@ -51,6 +49,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
49
  readonly locale: "en" | "ja" | "ko";
52
50
  readonly message: string;
53
51
  }[]] | undefined;
52
+ readonly valueFormat?: string | undefined;
53
+ readonly disabledDate?: string | undefined;
54
54
  readonly validations?: readonly {
55
55
  readonly message: readonly [{
56
56
  readonly locale: "zh";
@@ -106,10 +106,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly expression: string;
107
107
  } | undefined;
108
108
  readonly numberOfMonths?: number | undefined;
109
- readonly format?: string | undefined;
110
- readonly valueFormat?: string | undefined;
111
- readonly disabledDate?: string | undefined;
112
109
  readonly rangeSeparatorIcon?: string | undefined;
110
+ readonly format?: string | undefined;
113
111
  readonly startPlaceholder?: readonly [{
114
112
  readonly locale: "zh";
115
113
  readonly message: string;
@@ -124,6 +122,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
124
122
  readonly locale: "en" | "ja" | "ko";
125
123
  readonly message: string;
126
124
  }[]] | undefined;
125
+ readonly valueFormat?: string | undefined;
126
+ readonly disabledDate?: string | undefined;
127
127
  readonly validations?: readonly {
128
128
  readonly message: readonly [{
129
129
  readonly locale: "zh";
@@ -33,10 +33,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
33
  readonly expression: string;
34
34
  } | undefined;
35
35
  readonly numberOfMonths?: number | undefined;
36
- readonly format?: string | undefined;
37
- readonly valueFormat?: string | undefined;
38
- readonly disabledDate?: string | undefined;
39
36
  readonly rangeSeparatorIcon?: string | undefined;
37
+ readonly format?: string | undefined;
40
38
  readonly startPlaceholder?: readonly [{
41
39
  readonly locale: "zh";
42
40
  readonly message: string;
@@ -51,6 +49,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
51
49
  readonly locale: "en" | "ja" | "ko";
52
50
  readonly message: string;
53
51
  }[]] | undefined;
52
+ readonly valueFormat?: string | undefined;
53
+ readonly disabledDate?: string | undefined;
54
54
  readonly validations?: readonly {
55
55
  readonly message: readonly [{
56
56
  readonly locale: "zh";
@@ -106,10 +106,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly expression: string;
107
107
  } | undefined;
108
108
  readonly numberOfMonths?: number | undefined;
109
- readonly format?: string | undefined;
110
- readonly valueFormat?: string | undefined;
111
- readonly disabledDate?: string | undefined;
112
109
  readonly rangeSeparatorIcon?: string | undefined;
110
+ readonly format?: string | undefined;
113
111
  readonly startPlaceholder?: readonly [{
114
112
  readonly locale: "zh";
115
113
  readonly message: string;
@@ -124,6 +122,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
124
122
  readonly locale: "en" | "ja" | "ko";
125
123
  readonly message: string;
126
124
  }[]] | undefined;
125
+ readonly valueFormat?: string | undefined;
126
+ readonly disabledDate?: string | undefined;
127
127
  readonly validations?: readonly {
128
128
  readonly message: readonly [{
129
129
  readonly locale: "zh";