@shwfed/config 2.3.4 → 2.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/actions/components/group.d.vue.ts +12 -12
  3. package/dist/runtime/components/actions/components/group.vue +46 -12
  4. package/dist/runtime/components/actions/components/group.vue.d.ts +12 -12
  5. package/dist/runtime/components/actions/config.d.vue.ts +13 -13
  6. package/dist/runtime/components/actions/config.vue +206 -16
  7. package/dist/runtime/components/actions/config.vue.d.ts +13 -13
  8. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.d.vue.ts +37 -0
  9. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.vue +61 -0
  10. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.vue.d.ts +37 -0
  11. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.d.vue.ts +7 -0
  12. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.vue +28 -0
  13. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.vue.d.ts +7 -0
  14. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +23 -0
  15. package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.js +29 -0
  16. package/dist/runtime/components/actions/schema.d.ts +399 -196
  17. package/dist/runtime/components/actions/schema.js +13 -4
  18. package/dist/runtime/components/actions/utils/resolve.d.ts +15 -0
  19. package/dist/runtime/components/actions/utils/resolve.js +45 -0
  20. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.d.vue.ts +10 -10
  21. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue.d.ts +10 -10
  22. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.d.vue.ts +10 -10
  23. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue.d.ts +10 -10
  24. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +115 -58
  25. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +10 -10
  26. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +10 -10
  27. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +10 -10
  28. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +10 -10
  29. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +120 -63
  30. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.d.vue.ts +10 -10
  31. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue.d.ts +10 -10
  32. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +115 -58
  33. package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +115 -58
  34. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  35. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  36. package/dist/runtime/components/table/schema.d.ts +125 -68
  37. package/package.json +1 -1
@@ -23,64 +23,121 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
23
23
  }>>, {
24
24
  default: () => never[];
25
25
  }>;
26
- items: Schema.optionalWith<Schema.Array$<Schema.Union<[Schema.Struct<{
27
- id: Schema.refine<string, typeof Schema.String>;
28
- groupId: Schema.refine<string, typeof Schema.String>;
29
- title: Schema.TupleType<readonly [Schema.Struct<{
30
- locale: Schema.Literal<["zh"]>;
31
- message: Schema.SchemaClass<string, string, never>;
32
- }>], [Schema.Struct<{
33
- locale: Schema.Literal<["ja", "en", "ko"]>;
34
- message: Schema.SchemaClass<string, string, never>;
35
- }>]>;
36
- tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
37
- locale: Schema.Literal<["zh"]>;
38
- message: Schema.SchemaClass<string, string, never>;
39
- }>], [Schema.Struct<{
40
- locale: Schema.Literal<["ja", "en", "ko"]>;
41
- message: Schema.SchemaClass<string, string, never>;
42
- }>]>>;
43
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
44
- hidden: Schema.optional<Schema.Schema<string, string, never>>;
45
- disabled: Schema.optional<Schema.Schema<string, string, never>>;
46
- variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
47
- hideTitle: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
48
- action: Schema.optional<Schema.Schema<any, any, never>>;
49
- }>, Schema.Struct<{
50
- id: Schema.refine<string, typeof Schema.String>;
51
- groupId: Schema.refine<string, typeof Schema.String>;
52
- title: Schema.TupleType<readonly [Schema.Struct<{
53
- locale: Schema.Literal<["zh"]>;
54
- message: Schema.SchemaClass<string, string, never>;
55
- }>], [Schema.Struct<{
56
- locale: Schema.Literal<["ja", "en", "ko"]>;
57
- message: Schema.SchemaClass<string, string, never>;
58
- }>]>;
59
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
60
- hideTitle: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
61
- items: Schema.Array$<Schema.Struct<{
62
- id: Schema.refine<string, typeof Schema.String>;
63
- title: Schema.TupleType<readonly [Schema.Struct<{
64
- locale: Schema.Literal<["zh"]>;
65
- message: Schema.SchemaClass<string, string, never>;
66
- }>], [Schema.Struct<{
67
- locale: Schema.Literal<["ja", "en", "ko"]>;
68
- message: Schema.SchemaClass<string, string, never>;
69
- }>]>;
70
- tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
71
- locale: Schema.Literal<["zh"]>;
72
- message: Schema.SchemaClass<string, string, never>;
73
- }>], [Schema.Struct<{
74
- locale: Schema.Literal<["ja", "en", "ko"]>;
75
- message: Schema.SchemaClass<string, string, never>;
76
- }>]>>;
77
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
78
- hidden: Schema.optional<Schema.Schema<string, string, never>>;
79
- disabled: Schema.optional<Schema.Schema<string, string, never>>;
80
- variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
81
- action: Schema.optional<Schema.Schema<any, any, never>>;
82
- }>>;
83
- }>]>>, {
26
+ items: Schema.optionalWith<Schema.Array$<Schema.Schema<import("../../../../actions/schema.js").RegistryItemValue | {
27
+ readonly disabled?: string | undefined;
28
+ readonly id: string;
29
+ readonly title: readonly [{
30
+ readonly locale: "zh";
31
+ readonly message: string;
32
+ }, ...{
33
+ readonly locale: "en" | "ja" | "ko";
34
+ readonly message: string;
35
+ }[]];
36
+ readonly icon?: string | undefined;
37
+ readonly hidden?: string | undefined;
38
+ readonly tooltip?: readonly [{
39
+ readonly locale: "zh";
40
+ readonly message: string;
41
+ }, ...{
42
+ readonly locale: "en" | "ja" | "ko";
43
+ readonly message: string;
44
+ }[]] | undefined;
45
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
46
+ readonly action?: any;
47
+ readonly groupId: string;
48
+ readonly hideTitle?: boolean | undefined;
49
+ } | {
50
+ readonly id: string;
51
+ readonly title: readonly [{
52
+ readonly locale: "zh";
53
+ readonly message: string;
54
+ }, ...{
55
+ readonly locale: "en" | "ja" | "ko";
56
+ readonly message: string;
57
+ }[]];
58
+ readonly icon?: string | undefined;
59
+ readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
60
+ readonly disabled?: string | undefined;
61
+ readonly id: string;
62
+ readonly title: readonly [{
63
+ readonly locale: "zh";
64
+ readonly message: string;
65
+ }, ...{
66
+ readonly locale: "en" | "ja" | "ko";
67
+ readonly message: string;
68
+ }[]];
69
+ readonly icon?: string | undefined;
70
+ readonly hidden?: string | undefined;
71
+ readonly tooltip?: readonly [{
72
+ readonly locale: "zh";
73
+ readonly message: string;
74
+ }, ...{
75
+ readonly locale: "en" | "ja" | "ko";
76
+ readonly message: string;
77
+ }[]] | undefined;
78
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
79
+ readonly action?: any;
80
+ })[];
81
+ readonly groupId: string;
82
+ readonly hideTitle?: boolean | undefined;
83
+ }, import("../../../../actions/schema.js").RegistryItemValue | {
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 groupId: string;
93
+ readonly disabled?: string | undefined;
94
+ readonly icon?: string | undefined;
95
+ readonly hidden?: string | undefined;
96
+ readonly tooltip?: readonly [{
97
+ readonly locale: "zh";
98
+ readonly message: string;
99
+ }, ...{
100
+ readonly locale: "en" | "ja" | "ko";
101
+ readonly message: string;
102
+ }[]] | undefined;
103
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
104
+ readonly action?: any;
105
+ readonly hideTitle?: boolean | undefined;
106
+ } | {
107
+ readonly id: string;
108
+ readonly title: readonly [{
109
+ readonly locale: "zh";
110
+ readonly message: string;
111
+ }, ...{
112
+ readonly locale: "en" | "ja" | "ko";
113
+ readonly message: string;
114
+ }[]];
115
+ readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
116
+ readonly id: string;
117
+ readonly title: readonly [{
118
+ readonly locale: "zh";
119
+ readonly message: string;
120
+ }, ...{
121
+ readonly locale: "en" | "ja" | "ko";
122
+ readonly message: string;
123
+ }[]];
124
+ readonly disabled?: string | undefined;
125
+ readonly icon?: string | undefined;
126
+ readonly hidden?: string | undefined;
127
+ readonly tooltip?: readonly [{
128
+ readonly locale: "zh";
129
+ readonly message: string;
130
+ }, ...{
131
+ readonly locale: "en" | "ja" | "ko";
132
+ readonly message: string;
133
+ }[]] | undefined;
134
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
135
+ readonly action?: any;
136
+ })[];
137
+ readonly groupId: string;
138
+ readonly icon?: string | undefined;
139
+ readonly hideTitle?: boolean | undefined;
140
+ }, never>>, {
84
141
  default: () => never[];
85
142
  }>;
86
143
  gap: Schema.optionalWith<Schema.filter<Schema.filter<typeof Schema.Number>>, {
@@ -19,64 +19,121 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
19
19
  id: Schema.refine<string, typeof Schema.String>;
20
20
  variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
21
21
  }>>;
22
- items: Schema.Array$<Schema.Union<[Schema.Struct<{
23
- id: Schema.refine<string, typeof Schema.String>;
24
- groupId: Schema.refine<string, typeof Schema.String>;
25
- title: Schema.TupleType<readonly [Schema.Struct<{
26
- locale: Schema.Literal<["zh"]>;
27
- message: Schema.SchemaClass<string, string, never>;
28
- }>], [Schema.Struct<{
29
- locale: Schema.Literal<["ja", "en", "ko"]>;
30
- message: Schema.SchemaClass<string, string, never>;
31
- }>]>;
32
- tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
33
- locale: Schema.Literal<["zh"]>;
34
- message: Schema.SchemaClass<string, string, never>;
35
- }>], [Schema.Struct<{
36
- locale: Schema.Literal<["ja", "en", "ko"]>;
37
- message: Schema.SchemaClass<string, string, never>;
38
- }>]>>;
39
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
40
- hidden: Schema.optional<Schema.Schema<string, string, never>>;
41
- disabled: Schema.optional<Schema.Schema<string, string, never>>;
42
- variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
43
- hideTitle: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
44
- action: Schema.optional<Schema.Schema<any, any, never>>;
45
- }>, Schema.Struct<{
46
- id: Schema.refine<string, typeof Schema.String>;
47
- groupId: Schema.refine<string, typeof Schema.String>;
48
- title: Schema.TupleType<readonly [Schema.Struct<{
49
- locale: Schema.Literal<["zh"]>;
50
- message: Schema.SchemaClass<string, string, never>;
51
- }>], [Schema.Struct<{
52
- locale: Schema.Literal<["ja", "en", "ko"]>;
53
- message: Schema.SchemaClass<string, string, never>;
54
- }>]>;
55
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
56
- hideTitle: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
57
- items: Schema.Array$<Schema.Struct<{
58
- id: Schema.refine<string, typeof Schema.String>;
59
- title: Schema.TupleType<readonly [Schema.Struct<{
60
- locale: Schema.Literal<["zh"]>;
61
- message: Schema.SchemaClass<string, string, never>;
62
- }>], [Schema.Struct<{
63
- locale: Schema.Literal<["ja", "en", "ko"]>;
64
- message: Schema.SchemaClass<string, string, never>;
65
- }>]>;
66
- tooltip: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
67
- locale: Schema.Literal<["zh"]>;
68
- message: Schema.SchemaClass<string, string, never>;
69
- }>], [Schema.Struct<{
70
- locale: Schema.Literal<["ja", "en", "ko"]>;
71
- message: Schema.SchemaClass<string, string, never>;
72
- }>]>>;
73
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
74
- hidden: Schema.optional<Schema.Schema<string, string, never>>;
75
- disabled: Schema.optional<Schema.Schema<string, string, never>>;
76
- variant: Schema.optional<Schema.Literal<["default", "primary", "destructive", "ghost", "link"]>>;
77
- action: Schema.optional<Schema.Schema<any, any, never>>;
78
- }>>;
79
- }>]>>;
22
+ items: Schema.Array$<Schema.Schema<import("../../../../actions/schema.js").RegistryItemValue | {
23
+ readonly disabled?: string | undefined;
24
+ readonly id: string;
25
+ readonly title: readonly [{
26
+ readonly locale: "zh";
27
+ readonly message: string;
28
+ }, ...{
29
+ readonly locale: "en" | "ja" | "ko";
30
+ readonly message: string;
31
+ }[]];
32
+ readonly icon?: string | undefined;
33
+ readonly hidden?: string | undefined;
34
+ readonly tooltip?: readonly [{
35
+ readonly locale: "zh";
36
+ readonly message: string;
37
+ }, ...{
38
+ readonly locale: "en" | "ja" | "ko";
39
+ readonly message: string;
40
+ }[]] | undefined;
41
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
42
+ readonly action?: any;
43
+ readonly groupId: string;
44
+ readonly hideTitle?: boolean | undefined;
45
+ } | {
46
+ readonly id: string;
47
+ readonly title: readonly [{
48
+ readonly locale: "zh";
49
+ readonly message: string;
50
+ }, ...{
51
+ readonly locale: "en" | "ja" | "ko";
52
+ readonly message: string;
53
+ }[]];
54
+ readonly icon?: string | undefined;
55
+ readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
56
+ readonly disabled?: string | undefined;
57
+ readonly id: string;
58
+ readonly title: readonly [{
59
+ readonly locale: "zh";
60
+ readonly message: string;
61
+ }, ...{
62
+ readonly locale: "en" | "ja" | "ko";
63
+ readonly message: string;
64
+ }[]];
65
+ readonly icon?: string | undefined;
66
+ readonly hidden?: string | undefined;
67
+ readonly tooltip?: readonly [{
68
+ readonly locale: "zh";
69
+ readonly message: string;
70
+ }, ...{
71
+ readonly locale: "en" | "ja" | "ko";
72
+ readonly message: string;
73
+ }[]] | undefined;
74
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
75
+ readonly action?: any;
76
+ })[];
77
+ readonly groupId: string;
78
+ readonly hideTitle?: boolean | undefined;
79
+ }, import("../../../../actions/schema.js").RegistryItemValue | {
80
+ readonly id: string;
81
+ readonly title: readonly [{
82
+ readonly locale: "zh";
83
+ readonly message: string;
84
+ }, ...{
85
+ readonly locale: "en" | "ja" | "ko";
86
+ readonly message: string;
87
+ }[]];
88
+ readonly groupId: string;
89
+ readonly disabled?: string | undefined;
90
+ readonly icon?: string | undefined;
91
+ readonly hidden?: string | undefined;
92
+ readonly tooltip?: readonly [{
93
+ readonly locale: "zh";
94
+ readonly message: string;
95
+ }, ...{
96
+ readonly locale: "en" | "ja" | "ko";
97
+ readonly message: string;
98
+ }[]] | undefined;
99
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
100
+ readonly action?: any;
101
+ readonly hideTitle?: boolean | undefined;
102
+ } | {
103
+ readonly id: string;
104
+ readonly title: readonly [{
105
+ readonly locale: "zh";
106
+ readonly message: string;
107
+ }, ...{
108
+ readonly locale: "en" | "ja" | "ko";
109
+ readonly message: string;
110
+ }[]];
111
+ readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
112
+ readonly id: string;
113
+ readonly title: readonly [{
114
+ readonly locale: "zh";
115
+ readonly message: string;
116
+ }, ...{
117
+ readonly locale: "en" | "ja" | "ko";
118
+ readonly message: string;
119
+ }[]];
120
+ readonly disabled?: string | undefined;
121
+ readonly icon?: string | undefined;
122
+ readonly hidden?: string | undefined;
123
+ readonly tooltip?: readonly [{
124
+ readonly locale: "zh";
125
+ readonly message: string;
126
+ }, ...{
127
+ readonly locale: "en" | "ja" | "ko";
128
+ readonly message: string;
129
+ }[]] | undefined;
130
+ readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
131
+ readonly action?: any;
132
+ })[];
133
+ readonly groupId: string;
134
+ readonly icon?: string | undefined;
135
+ readonly hideTitle?: boolean | undefined;
136
+ }, never>>;
80
137
  title: Schema.optional<Schema.TupleType<readonly [Schema.Struct<{
81
138
  locale: Schema.Literal<["zh"]>;
82
139
  message: Schema.SchemaClass<string, string, never>;
@@ -24,7 +24,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
26
  readonly compatibilityDate: "2026-05-20";
27
- readonly groupId?: string | undefined;
28
27
  readonly items: readonly {
29
28
  readonly label: readonly [{
30
29
  readonly locale: "zh";
@@ -49,6 +48,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
49
48
  readonly kind: "number";
50
49
  };
51
50
  }[];
51
+ readonly groupId?: string | undefined;
52
52
  readonly placeholder?: readonly [{
53
53
  readonly locale: "zh";
54
54
  readonly message: string;
@@ -87,7 +87,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
87
87
  readonly message: string;
88
88
  }[]] | undefined;
89
89
  readonly compatibilityDate: "2026-05-20";
90
- readonly groupId?: string | undefined;
91
90
  readonly items: readonly {
92
91
  readonly label: readonly [{
93
92
  readonly locale: "zh";
@@ -112,6 +111,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
112
111
  readonly kind: "number";
113
112
  };
114
113
  }[];
114
+ readonly groupId?: string | undefined;
115
115
  readonly placeholder?: readonly [{
116
116
  readonly locale: "zh";
117
117
  readonly message: string;
@@ -24,7 +24,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
26
  readonly compatibilityDate: "2026-05-20";
27
- readonly groupId?: string | undefined;
28
27
  readonly items: readonly {
29
28
  readonly label: readonly [{
30
29
  readonly locale: "zh";
@@ -49,6 +48,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
49
48
  readonly kind: "number";
50
49
  };
51
50
  }[];
51
+ readonly groupId?: string | undefined;
52
52
  readonly placeholder?: readonly [{
53
53
  readonly locale: "zh";
54
54
  readonly message: string;
@@ -87,7 +87,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
87
87
  readonly message: string;
88
88
  }[]] | undefined;
89
89
  readonly compatibilityDate: "2026-05-20";
90
- readonly groupId?: string | undefined;
91
90
  readonly items: readonly {
92
91
  readonly label: readonly [{
93
92
  readonly locale: "zh";
@@ -112,6 +111,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
112
111
  readonly kind: "number";
113
112
  };
114
113
  }[];
114
+ readonly groupId?: string | undefined;
115
115
  readonly placeholder?: readonly [{
116
116
  readonly locale: "zh";
117
117
  readonly message: string;