@antelopejs/interface-dms 0.15.1-next.1020.g0c3c63d → 0.16.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.
- package/CHANGELOG.md +22 -0
- package/dist/base/activity-feed.d.ts +38 -137
- package/dist/base/banner.d.ts +34 -60
- package/dist/base/block-registry/helpers.d.ts +5 -5
- package/dist/base/block-registry/helpers.js.map +1 -1
- package/dist/base/block-registry/internal/describe.d.ts +3 -3
- package/dist/base/block-registry/internal/describe.js +120 -126
- package/dist/base/block-registry/internal/describe.js.map +1 -1
- package/dist/base/block-registry/internal/ui.d.ts +6 -4
- package/dist/base/block-registry/internal/ui.js +6 -2
- package/dist/base/block-registry/internal/ui.js.map +1 -1
- package/dist/base/block-registry/registry.d.ts +2 -2
- package/dist/base/block-registry/registry.js.map +1 -1
- package/dist/base/block-registry/types.d.ts +4 -4
- package/dist/base/card.d.ts +24 -46
- package/dist/base/chart-card.d.ts +10 -39
- package/dist/base/chart-schemas.d.ts +404 -2542
- package/dist/base/code-block.d.ts +12 -22
- package/dist/base/data-types/default/address.d.ts +1 -19
- package/dist/base/data-types/default/choices.d.ts +1 -1
- package/dist/base/data-types/default/files.d.ts +6 -30
- package/dist/base/data-types/default/numbers.d.ts +5 -17
- package/dist/base/data-types/default/numbers.js.map +1 -1
- package/dist/base/data-types/default/strings.d.ts +1 -1
- package/dist/base/data-types/field-types.d.ts +7 -17
- package/dist/base/display.d.ts +42 -48
- package/dist/base/empty-state.d.ts +48 -70
- package/dist/base/export-jobs.d.ts +3 -3
- package/dist/base/form-block-schema.d.ts +56 -510
- package/dist/base/form-block-schema.js +1 -1
- package/dist/base/form-block-schema.js.map +1 -1
- package/dist/base/form-schema.d.ts +0 -1
- package/dist/base/form-schema.js +0 -1
- package/dist/base/form-schema.js.map +1 -1
- package/dist/base/form-types.d.ts +2 -2
- package/dist/base/grid.d.ts +2 -12
- package/dist/base/guard.d.ts +55 -132
- package/dist/base/internal/composed-text.d.ts +3 -3
- package/dist/base/internal/composed-text.js +1 -1
- package/dist/base/internal/composed-text.js.map +1 -1
- package/dist/base/internal/display.d.ts +1 -1
- package/dist/base/internal/display.js.map +1 -1
- package/dist/base/internal/export-jobs.d.ts +2 -2
- package/dist/base/internal/export-jobs.js.map +1 -1
- package/dist/base/internal/form-schema-components.d.ts +11 -0
- package/dist/base/internal/form-schema-components.js +82 -2
- package/dist/base/internal/form-schema-components.js.map +1 -1
- package/dist/base/internal/form-schema-validation.d.ts +3 -5
- package/dist/base/internal/form-schema-validation.js +1 -1
- package/dist/base/internal/form-schema-validation.js.map +1 -1
- package/dist/base/key-value-list.d.ts +25 -92
- package/dist/base/kpi-card.d.ts +15 -49
- package/dist/base/live-toggle.d.ts +15 -16
- package/dist/base/meter.d.ts +56 -92
- package/dist/base/nav-card-grid.d.ts +29 -92
- package/dist/base/page-toolbar.d.ts +6 -10
- package/dist/base/period-selector.d.ts +95 -44
- package/dist/base/period-selector.js +2 -2
- package/dist/base/period-selector.js.map +1 -1
- package/dist/base/placeholder.d.ts +1 -9
- package/dist/base/resource-form-schema.d.ts +10 -25
- package/dist/base/resource-form-schema.js +1 -1
- package/dist/base/resource-form-schema.js.map +1 -1
- package/dist/base/section.d.ts +7 -25
- package/dist/base/stack.d.ts +31 -37
- package/dist/base/stat-group.d.ts +37 -84
- package/dist/base/tab.d.ts +19 -124
- package/dist/base/table-view/internal/meta-helpers.js +23 -1
- package/dist/base/table-view/internal/meta-helpers.js.map +1 -1
- package/dist/base/table-view/internal/row-actions-schema.d.ts +42 -258
- package/dist/base/table-view/schema.d.ts +135 -1222
- package/dist/base/table-view/schema.js +3 -3
- package/dist/base/table-view/schema.js.map +1 -1
- package/dist/base/top-list-card.d.ts +37 -151
- package/dist/invite-extensions/internal/types.d.ts +3 -4
- package/dist/invite-extensions/types.d.ts +2 -2
- package/docs/1.core/6.invites.md +1 -1
- package/docs/3.base/1.introduction.md +1 -1
- package/docs/3.base/9.helpers.md +1 -1
- package/package.json +3 -4
|
@@ -20,7 +20,7 @@ export declare const FormSchema: z.ZodObject<{
|
|
|
20
20
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
21
21
|
title: z.ZodOptional<z.ZodString>;
|
|
22
22
|
description: z.ZodOptional<z.ZodString>;
|
|
23
|
-
fields: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
23
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
24
24
|
id: z.ZodString;
|
|
25
25
|
label: z.ZodOptional<z.ZodString>;
|
|
26
26
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -29,138 +29,43 @@ export declare const FormSchema: z.ZodObject<{
|
|
|
29
29
|
label: z.ZodOptional<z.ZodString>;
|
|
30
30
|
description: z.ZodOptional<z.ZodString>;
|
|
31
31
|
hint: z.ZodOptional<z.ZodString>;
|
|
32
|
-
type: z.ZodType<DataType, z.
|
|
33
|
-
inputComponent: z.ZodOptional<z.ZodType<ComponentInfoSerialized, z.
|
|
32
|
+
type: z.ZodType<DataType, DataType, z.core.$ZodTypeInternals<DataType, DataType>>;
|
|
33
|
+
inputComponent: z.ZodOptional<z.ZodType<ComponentInfoSerialized, ComponentInfoSerialized, z.core.$ZodTypeInternals<ComponentInfoSerialized, ComponentInfoSerialized>>>;
|
|
34
34
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
35
|
-
readonly: z.ZodOptional<z.ZodType<boolean | import("./form-types").FormFieldReadonly | undefined, z.
|
|
35
|
+
readonly: z.ZodOptional<z.ZodType<boolean | import("./form-types").FormFieldReadonly | undefined, boolean | import("./form-types").FormFieldReadonly | undefined, z.core.$ZodTypeInternals<boolean | import("./form-types").FormFieldReadonly | undefined, boolean | import("./form-types").FormFieldReadonly | undefined>>>;
|
|
36
36
|
showEmptyOnCreate: z.ZodOptional<z.ZodBoolean>;
|
|
37
37
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
-
defaultValue: z.ZodOptional<z.ZodType<DefaultValue, z.
|
|
38
|
+
defaultValue: z.ZodOptional<z.ZodType<DefaultValue, DefaultValue, z.core.$ZodTypeInternals<DefaultValue, DefaultValue>>>;
|
|
39
39
|
offersDefault: z.ZodOptional<z.ZodBoolean>;
|
|
40
40
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
type: DataType;
|
|
47
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
48
|
-
disabled?: boolean | undefined;
|
|
49
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
50
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
51
|
-
required?: boolean | undefined;
|
|
52
|
-
defaultValue?: DefaultValue | undefined;
|
|
53
|
-
offersDefault?: boolean | undefined;
|
|
54
|
-
localized?: boolean | undefined;
|
|
55
|
-
}, {
|
|
56
|
-
id: string;
|
|
57
|
-
label?: string | undefined;
|
|
58
|
-
description?: string | undefined;
|
|
59
|
-
hint?: string | undefined;
|
|
60
|
-
type: DataType;
|
|
61
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
62
|
-
disabled?: boolean | undefined;
|
|
63
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
64
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
65
|
-
required?: boolean | undefined;
|
|
66
|
-
defaultValue?: DefaultValue | undefined;
|
|
67
|
-
offersDefault?: boolean | undefined;
|
|
68
|
-
localized?: boolean | undefined;
|
|
69
|
-
}>, "many">;
|
|
70
|
-
orientation: z.ZodOptional<z.ZodEnum<["horizontal", "vertical"]>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
orientation: z.ZodOptional<z.ZodEnum<{
|
|
43
|
+
horizontal: "horizontal";
|
|
44
|
+
vertical: "vertical";
|
|
45
|
+
}>>;
|
|
71
46
|
order: z.ZodOptional<z.ZodNumber>;
|
|
72
|
-
},
|
|
73
|
-
id: string;
|
|
74
|
-
label?: string | undefined;
|
|
75
|
-
description?: string | undefined;
|
|
76
|
-
fields: {
|
|
77
|
-
id: string;
|
|
78
|
-
label?: string | undefined;
|
|
79
|
-
description?: string | undefined;
|
|
80
|
-
hint?: string | undefined;
|
|
81
|
-
type: DataType;
|
|
82
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
83
|
-
disabled?: boolean | undefined;
|
|
84
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
85
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
86
|
-
required?: boolean | undefined;
|
|
87
|
-
defaultValue?: DefaultValue | undefined;
|
|
88
|
-
offersDefault?: boolean | undefined;
|
|
89
|
-
localized?: boolean | undefined;
|
|
90
|
-
}[];
|
|
91
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
92
|
-
order?: number | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
id: string;
|
|
95
|
-
label?: string | undefined;
|
|
96
|
-
description?: string | undefined;
|
|
97
|
-
fields: {
|
|
98
|
-
id: string;
|
|
99
|
-
label?: string | undefined;
|
|
100
|
-
description?: string | undefined;
|
|
101
|
-
hint?: string | undefined;
|
|
102
|
-
type: DataType;
|
|
103
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
104
|
-
disabled?: boolean | undefined;
|
|
105
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
106
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
107
|
-
required?: boolean | undefined;
|
|
108
|
-
defaultValue?: DefaultValue | undefined;
|
|
109
|
-
offersDefault?: boolean | undefined;
|
|
110
|
-
localized?: boolean | undefined;
|
|
111
|
-
}[];
|
|
112
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
113
|
-
order?: number | undefined;
|
|
114
|
-
}>, z.ZodObject<{
|
|
47
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
115
48
|
id: z.ZodString;
|
|
116
49
|
label: z.ZodOptional<z.ZodString>;
|
|
117
50
|
description: z.ZodOptional<z.ZodString>;
|
|
118
51
|
hint: z.ZodOptional<z.ZodString>;
|
|
119
|
-
type: z.ZodType<DataType, z.
|
|
120
|
-
inputComponent: z.ZodOptional<z.ZodType<ComponentInfoSerialized, z.
|
|
52
|
+
type: z.ZodType<DataType, DataType, z.core.$ZodTypeInternals<DataType, DataType>>;
|
|
53
|
+
inputComponent: z.ZodOptional<z.ZodType<ComponentInfoSerialized, ComponentInfoSerialized, z.core.$ZodTypeInternals<ComponentInfoSerialized, ComponentInfoSerialized>>>;
|
|
121
54
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
-
readonly: z.ZodOptional<z.ZodType<boolean | import("./form-types").FormFieldReadonly | undefined, z.
|
|
55
|
+
readonly: z.ZodOptional<z.ZodType<boolean | import("./form-types").FormFieldReadonly | undefined, boolean | import("./form-types").FormFieldReadonly | undefined, z.core.$ZodTypeInternals<boolean | import("./form-types").FormFieldReadonly | undefined, boolean | import("./form-types").FormFieldReadonly | undefined>>>;
|
|
123
56
|
showEmptyOnCreate: z.ZodOptional<z.ZodBoolean>;
|
|
124
57
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
-
defaultValue: z.ZodOptional<z.ZodType<DefaultValue, z.
|
|
58
|
+
defaultValue: z.ZodOptional<z.ZodType<DefaultValue, DefaultValue, z.core.$ZodTypeInternals<DefaultValue, DefaultValue>>>;
|
|
126
59
|
offersDefault: z.ZodOptional<z.ZodBoolean>;
|
|
127
60
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
-
},
|
|
129
|
-
id: string;
|
|
130
|
-
label?: string | undefined;
|
|
131
|
-
description?: string | undefined;
|
|
132
|
-
hint?: string | undefined;
|
|
133
|
-
type: DataType;
|
|
134
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
135
|
-
disabled?: boolean | undefined;
|
|
136
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
137
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
138
|
-
required?: boolean | undefined;
|
|
139
|
-
defaultValue?: DefaultValue | undefined;
|
|
140
|
-
offersDefault?: boolean | undefined;
|
|
141
|
-
localized?: boolean | undefined;
|
|
142
|
-
}, {
|
|
143
|
-
id: string;
|
|
144
|
-
label?: string | undefined;
|
|
145
|
-
description?: string | undefined;
|
|
146
|
-
hint?: string | undefined;
|
|
147
|
-
type: DataType;
|
|
148
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
149
|
-
disabled?: boolean | undefined;
|
|
150
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
151
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
152
|
-
required?: boolean | undefined;
|
|
153
|
-
defaultValue?: DefaultValue | undefined;
|
|
154
|
-
offersDefault?: boolean | undefined;
|
|
155
|
-
localized?: boolean | undefined;
|
|
156
|
-
}>]>, "many">>;
|
|
61
|
+
}, z.core.$strip>]>>>;
|
|
157
62
|
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
158
63
|
id: z.ZodString;
|
|
159
64
|
label: z.ZodString;
|
|
160
65
|
description: z.ZodOptional<z.ZodString>;
|
|
161
66
|
icon: z.ZodOptional<z.ZodString>;
|
|
162
67
|
navGroup: z.ZodOptional<z.ZodString>;
|
|
163
|
-
fields: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
68
|
+
fields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
164
69
|
id: z.ZodString;
|
|
165
70
|
label: z.ZodOptional<z.ZodString>;
|
|
166
71
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -169,424 +74,65 @@ export declare const FormSchema: z.ZodObject<{
|
|
|
169
74
|
label: z.ZodOptional<z.ZodString>;
|
|
170
75
|
description: z.ZodOptional<z.ZodString>;
|
|
171
76
|
hint: z.ZodOptional<z.ZodString>;
|
|
172
|
-
type: z.ZodType<DataType, z.
|
|
173
|
-
inputComponent: z.ZodOptional<z.ZodType<ComponentInfoSerialized, z.
|
|
77
|
+
type: z.ZodType<DataType, DataType, z.core.$ZodTypeInternals<DataType, DataType>>;
|
|
78
|
+
inputComponent: z.ZodOptional<z.ZodType<ComponentInfoSerialized, ComponentInfoSerialized, z.core.$ZodTypeInternals<ComponentInfoSerialized, ComponentInfoSerialized>>>;
|
|
174
79
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
175
|
-
readonly: z.ZodOptional<z.ZodType<boolean | import("./form-types").FormFieldReadonly | undefined, z.
|
|
80
|
+
readonly: z.ZodOptional<z.ZodType<boolean | import("./form-types").FormFieldReadonly | undefined, boolean | import("./form-types").FormFieldReadonly | undefined, z.core.$ZodTypeInternals<boolean | import("./form-types").FormFieldReadonly | undefined, boolean | import("./form-types").FormFieldReadonly | undefined>>>;
|
|
176
81
|
showEmptyOnCreate: z.ZodOptional<z.ZodBoolean>;
|
|
177
82
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
178
|
-
defaultValue: z.ZodOptional<z.ZodType<DefaultValue, z.
|
|
83
|
+
defaultValue: z.ZodOptional<z.ZodType<DefaultValue, DefaultValue, z.core.$ZodTypeInternals<DefaultValue, DefaultValue>>>;
|
|
179
84
|
offersDefault: z.ZodOptional<z.ZodBoolean>;
|
|
180
85
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
181
|
-
},
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
type: DataType;
|
|
187
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
188
|
-
disabled?: boolean | undefined;
|
|
189
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
190
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
191
|
-
required?: boolean | undefined;
|
|
192
|
-
defaultValue?: DefaultValue | undefined;
|
|
193
|
-
offersDefault?: boolean | undefined;
|
|
194
|
-
localized?: boolean | undefined;
|
|
195
|
-
}, {
|
|
196
|
-
id: string;
|
|
197
|
-
label?: string | undefined;
|
|
198
|
-
description?: string | undefined;
|
|
199
|
-
hint?: string | undefined;
|
|
200
|
-
type: DataType;
|
|
201
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
202
|
-
disabled?: boolean | undefined;
|
|
203
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
204
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
205
|
-
required?: boolean | undefined;
|
|
206
|
-
defaultValue?: DefaultValue | undefined;
|
|
207
|
-
offersDefault?: boolean | undefined;
|
|
208
|
-
localized?: boolean | undefined;
|
|
209
|
-
}>, "many">;
|
|
210
|
-
orientation: z.ZodOptional<z.ZodEnum<["horizontal", "vertical"]>>;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
orientation: z.ZodOptional<z.ZodEnum<{
|
|
88
|
+
horizontal: "horizontal";
|
|
89
|
+
vertical: "vertical";
|
|
90
|
+
}>>;
|
|
211
91
|
order: z.ZodOptional<z.ZodNumber>;
|
|
212
|
-
},
|
|
213
|
-
id: string;
|
|
214
|
-
label?: string | undefined;
|
|
215
|
-
description?: string | undefined;
|
|
216
|
-
fields: {
|
|
217
|
-
id: string;
|
|
218
|
-
label?: string | undefined;
|
|
219
|
-
description?: string | undefined;
|
|
220
|
-
hint?: string | undefined;
|
|
221
|
-
type: DataType;
|
|
222
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
223
|
-
disabled?: boolean | undefined;
|
|
224
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
225
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
226
|
-
required?: boolean | undefined;
|
|
227
|
-
defaultValue?: DefaultValue | undefined;
|
|
228
|
-
offersDefault?: boolean | undefined;
|
|
229
|
-
localized?: boolean | undefined;
|
|
230
|
-
}[];
|
|
231
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
232
|
-
order?: number | undefined;
|
|
233
|
-
}, {
|
|
234
|
-
id: string;
|
|
235
|
-
label?: string | undefined;
|
|
236
|
-
description?: string | undefined;
|
|
237
|
-
fields: {
|
|
238
|
-
id: string;
|
|
239
|
-
label?: string | undefined;
|
|
240
|
-
description?: string | undefined;
|
|
241
|
-
hint?: string | undefined;
|
|
242
|
-
type: DataType;
|
|
243
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
244
|
-
disabled?: boolean | undefined;
|
|
245
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
246
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
247
|
-
required?: boolean | undefined;
|
|
248
|
-
defaultValue?: DefaultValue | undefined;
|
|
249
|
-
offersDefault?: boolean | undefined;
|
|
250
|
-
localized?: boolean | undefined;
|
|
251
|
-
}[];
|
|
252
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
253
|
-
order?: number | undefined;
|
|
254
|
-
}>, z.ZodObject<{
|
|
92
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
255
93
|
id: z.ZodString;
|
|
256
94
|
label: z.ZodOptional<z.ZodString>;
|
|
257
95
|
description: z.ZodOptional<z.ZodString>;
|
|
258
96
|
hint: z.ZodOptional<z.ZodString>;
|
|
259
|
-
type: z.ZodType<DataType, z.
|
|
260
|
-
inputComponent: z.ZodOptional<z.ZodType<ComponentInfoSerialized, z.
|
|
97
|
+
type: z.ZodType<DataType, DataType, z.core.$ZodTypeInternals<DataType, DataType>>;
|
|
98
|
+
inputComponent: z.ZodOptional<z.ZodType<ComponentInfoSerialized, ComponentInfoSerialized, z.core.$ZodTypeInternals<ComponentInfoSerialized, ComponentInfoSerialized>>>;
|
|
261
99
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
262
|
-
readonly: z.ZodOptional<z.ZodType<boolean | import("./form-types").FormFieldReadonly | undefined, z.
|
|
100
|
+
readonly: z.ZodOptional<z.ZodType<boolean | import("./form-types").FormFieldReadonly | undefined, boolean | import("./form-types").FormFieldReadonly | undefined, z.core.$ZodTypeInternals<boolean | import("./form-types").FormFieldReadonly | undefined, boolean | import("./form-types").FormFieldReadonly | undefined>>>;
|
|
263
101
|
showEmptyOnCreate: z.ZodOptional<z.ZodBoolean>;
|
|
264
102
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
265
|
-
defaultValue: z.ZodOptional<z.ZodType<DefaultValue, z.
|
|
103
|
+
defaultValue: z.ZodOptional<z.ZodType<DefaultValue, DefaultValue, z.core.$ZodTypeInternals<DefaultValue, DefaultValue>>>;
|
|
266
104
|
offersDefault: z.ZodOptional<z.ZodBoolean>;
|
|
267
105
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
-
},
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
disabled?: boolean | undefined;
|
|
276
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
277
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
278
|
-
required?: boolean | undefined;
|
|
279
|
-
defaultValue?: DefaultValue | undefined;
|
|
280
|
-
offersDefault?: boolean | undefined;
|
|
281
|
-
localized?: boolean | undefined;
|
|
282
|
-
}, {
|
|
283
|
-
id: string;
|
|
284
|
-
label?: string | undefined;
|
|
285
|
-
description?: string | undefined;
|
|
286
|
-
hint?: string | undefined;
|
|
287
|
-
type: DataType;
|
|
288
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
289
|
-
disabled?: boolean | undefined;
|
|
290
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
291
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
292
|
-
required?: boolean | undefined;
|
|
293
|
-
defaultValue?: DefaultValue | undefined;
|
|
294
|
-
offersDefault?: boolean | undefined;
|
|
295
|
-
localized?: boolean | undefined;
|
|
296
|
-
}>]>, "many">;
|
|
297
|
-
}, "strip", z.ZodTypeAny, {
|
|
298
|
-
id: string;
|
|
299
|
-
label: string;
|
|
300
|
-
description?: string | undefined;
|
|
301
|
-
icon?: string | undefined;
|
|
302
|
-
navGroup?: string | undefined;
|
|
303
|
-
fields: ({
|
|
304
|
-
id: string;
|
|
305
|
-
label?: string | undefined;
|
|
306
|
-
description?: string | undefined;
|
|
307
|
-
hint?: string | undefined;
|
|
308
|
-
type: DataType;
|
|
309
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
310
|
-
disabled?: boolean | undefined;
|
|
311
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
312
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
313
|
-
required?: boolean | undefined;
|
|
314
|
-
defaultValue?: DefaultValue | undefined;
|
|
315
|
-
offersDefault?: boolean | undefined;
|
|
316
|
-
localized?: boolean | undefined;
|
|
317
|
-
} | {
|
|
318
|
-
id: string;
|
|
319
|
-
label?: string | undefined;
|
|
320
|
-
description?: string | undefined;
|
|
321
|
-
fields: {
|
|
322
|
-
id: string;
|
|
323
|
-
label?: string | undefined;
|
|
324
|
-
description?: string | undefined;
|
|
325
|
-
hint?: string | undefined;
|
|
326
|
-
type: DataType;
|
|
327
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
328
|
-
disabled?: boolean | undefined;
|
|
329
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
330
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
331
|
-
required?: boolean | undefined;
|
|
332
|
-
defaultValue?: DefaultValue | undefined;
|
|
333
|
-
offersDefault?: boolean | undefined;
|
|
334
|
-
localized?: boolean | undefined;
|
|
335
|
-
}[];
|
|
336
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
337
|
-
order?: number | undefined;
|
|
338
|
-
})[];
|
|
339
|
-
}, {
|
|
340
|
-
id: string;
|
|
341
|
-
label: string;
|
|
342
|
-
description?: string | undefined;
|
|
343
|
-
icon?: string | undefined;
|
|
344
|
-
navGroup?: string | undefined;
|
|
345
|
-
fields: ({
|
|
346
|
-
id: string;
|
|
347
|
-
label?: string | undefined;
|
|
348
|
-
description?: string | undefined;
|
|
349
|
-
hint?: string | undefined;
|
|
350
|
-
type: DataType;
|
|
351
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
352
|
-
disabled?: boolean | undefined;
|
|
353
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
354
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
355
|
-
required?: boolean | undefined;
|
|
356
|
-
defaultValue?: DefaultValue | undefined;
|
|
357
|
-
offersDefault?: boolean | undefined;
|
|
358
|
-
localized?: boolean | undefined;
|
|
359
|
-
} | {
|
|
360
|
-
id: string;
|
|
361
|
-
label?: string | undefined;
|
|
362
|
-
description?: string | undefined;
|
|
363
|
-
fields: {
|
|
364
|
-
id: string;
|
|
365
|
-
label?: string | undefined;
|
|
366
|
-
description?: string | undefined;
|
|
367
|
-
hint?: string | undefined;
|
|
368
|
-
type: DataType;
|
|
369
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
370
|
-
disabled?: boolean | undefined;
|
|
371
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
372
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
373
|
-
required?: boolean | undefined;
|
|
374
|
-
defaultValue?: DefaultValue | undefined;
|
|
375
|
-
offersDefault?: boolean | undefined;
|
|
376
|
-
localized?: boolean | undefined;
|
|
377
|
-
}[];
|
|
378
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
379
|
-
order?: number | undefined;
|
|
380
|
-
})[];
|
|
381
|
-
}>, "many">>;
|
|
382
|
-
sectionNav: z.ZodOptional<z.ZodEnum<["side", "jump", "none"]>>;
|
|
106
|
+
}, z.core.$strip>]>>;
|
|
107
|
+
}, z.core.$strip>>>;
|
|
108
|
+
sectionNav: z.ZodOptional<z.ZodEnum<{
|
|
109
|
+
jump: "jump";
|
|
110
|
+
none: "none";
|
|
111
|
+
side: "side";
|
|
112
|
+
}>>;
|
|
383
113
|
fetchUrl: z.ZodOptional<z.ZodString>;
|
|
384
|
-
fetchUrlMethod: z.ZodOptional<z.
|
|
114
|
+
fetchUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
|
|
385
115
|
submitUrl: z.ZodOptional<z.ZodString>;
|
|
386
|
-
submitUrlMethod: z.ZodOptional<z.
|
|
116
|
+
submitUrlMethod: z.ZodOptional<z.ZodEnum<typeof HttpMethod>>;
|
|
387
117
|
submitLabel: z.ZodOptional<z.ZodString>;
|
|
388
|
-
saveMode: z.ZodOptional<z.ZodEnum<
|
|
389
|
-
|
|
118
|
+
saveMode: z.ZodOptional<z.ZodEnum<{
|
|
119
|
+
bar: "bar";
|
|
120
|
+
footer: "footer";
|
|
121
|
+
instant: "instant";
|
|
122
|
+
none: "none";
|
|
123
|
+
}>>;
|
|
124
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
action: "action";
|
|
126
|
+
create: "create";
|
|
127
|
+
record: "record";
|
|
128
|
+
}>>;
|
|
390
129
|
backTo: z.ZodOptional<z.ZodString>;
|
|
391
130
|
labelKey: z.ZodOptional<z.ZodString>;
|
|
392
|
-
fieldsOrientation: z.ZodOptional<z.ZodEnum<
|
|
131
|
+
fieldsOrientation: z.ZodOptional<z.ZodEnum<{
|
|
132
|
+
horizontal: "horizontal";
|
|
133
|
+
vertical: "vertical";
|
|
134
|
+
}>>;
|
|
393
135
|
redirectOnSuccess: z.ZodOptional<z.ZodString>;
|
|
394
136
|
submitDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
395
137
|
slotId: z.ZodOptional<z.ZodString>;
|
|
396
|
-
},
|
|
397
|
-
successMessage?: string | undefined;
|
|
398
|
-
errorMessage?: string | undefined;
|
|
399
|
-
title?: string | undefined;
|
|
400
|
-
description?: string | undefined;
|
|
401
|
-
fields?: ({
|
|
402
|
-
id: string;
|
|
403
|
-
label?: string | undefined;
|
|
404
|
-
description?: string | undefined;
|
|
405
|
-
hint?: string | undefined;
|
|
406
|
-
type: DataType;
|
|
407
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
408
|
-
disabled?: boolean | undefined;
|
|
409
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
410
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
411
|
-
required?: boolean | undefined;
|
|
412
|
-
defaultValue?: DefaultValue | undefined;
|
|
413
|
-
offersDefault?: boolean | undefined;
|
|
414
|
-
localized?: boolean | undefined;
|
|
415
|
-
} | {
|
|
416
|
-
id: string;
|
|
417
|
-
label?: string | undefined;
|
|
418
|
-
description?: string | undefined;
|
|
419
|
-
fields: {
|
|
420
|
-
id: string;
|
|
421
|
-
label?: string | undefined;
|
|
422
|
-
description?: string | undefined;
|
|
423
|
-
hint?: string | undefined;
|
|
424
|
-
type: DataType;
|
|
425
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
426
|
-
disabled?: boolean | undefined;
|
|
427
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
428
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
429
|
-
required?: boolean | undefined;
|
|
430
|
-
defaultValue?: DefaultValue | undefined;
|
|
431
|
-
offersDefault?: boolean | undefined;
|
|
432
|
-
localized?: boolean | undefined;
|
|
433
|
-
}[];
|
|
434
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
435
|
-
order?: number | undefined;
|
|
436
|
-
})[] | undefined;
|
|
437
|
-
sections?: {
|
|
438
|
-
id: string;
|
|
439
|
-
label: string;
|
|
440
|
-
description?: string | undefined;
|
|
441
|
-
icon?: string | undefined;
|
|
442
|
-
navGroup?: string | undefined;
|
|
443
|
-
fields: ({
|
|
444
|
-
id: string;
|
|
445
|
-
label?: string | undefined;
|
|
446
|
-
description?: string | undefined;
|
|
447
|
-
hint?: string | undefined;
|
|
448
|
-
type: DataType;
|
|
449
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
450
|
-
disabled?: boolean | undefined;
|
|
451
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
452
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
453
|
-
required?: boolean | undefined;
|
|
454
|
-
defaultValue?: DefaultValue | undefined;
|
|
455
|
-
offersDefault?: boolean | undefined;
|
|
456
|
-
localized?: boolean | undefined;
|
|
457
|
-
} | {
|
|
458
|
-
id: string;
|
|
459
|
-
label?: string | undefined;
|
|
460
|
-
description?: string | undefined;
|
|
461
|
-
fields: {
|
|
462
|
-
id: string;
|
|
463
|
-
label?: string | undefined;
|
|
464
|
-
description?: string | undefined;
|
|
465
|
-
hint?: string | undefined;
|
|
466
|
-
type: DataType;
|
|
467
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
468
|
-
disabled?: boolean | undefined;
|
|
469
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
470
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
471
|
-
required?: boolean | undefined;
|
|
472
|
-
defaultValue?: DefaultValue | undefined;
|
|
473
|
-
offersDefault?: boolean | undefined;
|
|
474
|
-
localized?: boolean | undefined;
|
|
475
|
-
}[];
|
|
476
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
477
|
-
order?: number | undefined;
|
|
478
|
-
})[];
|
|
479
|
-
}[] | undefined;
|
|
480
|
-
sectionNav?: "jump" | "none" | "side" | undefined;
|
|
481
|
-
fetchUrl?: string | undefined;
|
|
482
|
-
fetchUrlMethod?: HttpMethod | undefined;
|
|
483
|
-
submitUrl?: string | undefined;
|
|
484
|
-
submitUrlMethod?: HttpMethod | undefined;
|
|
485
|
-
submitLabel?: string | undefined;
|
|
486
|
-
saveMode?: "bar" | "footer" | "instant" | "none" | undefined;
|
|
487
|
-
kind?: "action" | "create" | "record" | undefined;
|
|
488
|
-
backTo?: string | undefined;
|
|
489
|
-
labelKey?: string | undefined;
|
|
490
|
-
fieldsOrientation?: "horizontal" | "vertical" | undefined;
|
|
491
|
-
redirectOnSuccess?: string | undefined;
|
|
492
|
-
submitDefaults?: Record<string, unknown> | undefined;
|
|
493
|
-
slotId?: string | undefined;
|
|
494
|
-
}, {
|
|
495
|
-
successMessage?: string | undefined;
|
|
496
|
-
errorMessage?: string | undefined;
|
|
497
|
-
title?: string | undefined;
|
|
498
|
-
description?: string | undefined;
|
|
499
|
-
fields?: ({
|
|
500
|
-
id: string;
|
|
501
|
-
label?: string | undefined;
|
|
502
|
-
description?: string | undefined;
|
|
503
|
-
hint?: string | undefined;
|
|
504
|
-
type: DataType;
|
|
505
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
506
|
-
disabled?: boolean | undefined;
|
|
507
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
508
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
509
|
-
required?: boolean | undefined;
|
|
510
|
-
defaultValue?: DefaultValue | undefined;
|
|
511
|
-
offersDefault?: boolean | undefined;
|
|
512
|
-
localized?: boolean | undefined;
|
|
513
|
-
} | {
|
|
514
|
-
id: string;
|
|
515
|
-
label?: string | undefined;
|
|
516
|
-
description?: string | undefined;
|
|
517
|
-
fields: {
|
|
518
|
-
id: string;
|
|
519
|
-
label?: string | undefined;
|
|
520
|
-
description?: string | undefined;
|
|
521
|
-
hint?: string | undefined;
|
|
522
|
-
type: DataType;
|
|
523
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
524
|
-
disabled?: boolean | undefined;
|
|
525
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
526
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
527
|
-
required?: boolean | undefined;
|
|
528
|
-
defaultValue?: DefaultValue | undefined;
|
|
529
|
-
offersDefault?: boolean | undefined;
|
|
530
|
-
localized?: boolean | undefined;
|
|
531
|
-
}[];
|
|
532
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
533
|
-
order?: number | undefined;
|
|
534
|
-
})[] | undefined;
|
|
535
|
-
sections?: {
|
|
536
|
-
id: string;
|
|
537
|
-
label: string;
|
|
538
|
-
description?: string | undefined;
|
|
539
|
-
icon?: string | undefined;
|
|
540
|
-
navGroup?: string | undefined;
|
|
541
|
-
fields: ({
|
|
542
|
-
id: string;
|
|
543
|
-
label?: string | undefined;
|
|
544
|
-
description?: string | undefined;
|
|
545
|
-
hint?: string | undefined;
|
|
546
|
-
type: DataType;
|
|
547
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
548
|
-
disabled?: boolean | undefined;
|
|
549
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
550
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
551
|
-
required?: boolean | undefined;
|
|
552
|
-
defaultValue?: DefaultValue | undefined;
|
|
553
|
-
offersDefault?: boolean | undefined;
|
|
554
|
-
localized?: boolean | undefined;
|
|
555
|
-
} | {
|
|
556
|
-
id: string;
|
|
557
|
-
label?: string | undefined;
|
|
558
|
-
description?: string | undefined;
|
|
559
|
-
fields: {
|
|
560
|
-
id: string;
|
|
561
|
-
label?: string | undefined;
|
|
562
|
-
description?: string | undefined;
|
|
563
|
-
hint?: string | undefined;
|
|
564
|
-
type: DataType;
|
|
565
|
-
inputComponent?: ComponentInfoSerialized | undefined;
|
|
566
|
-
disabled?: boolean | undefined;
|
|
567
|
-
readonly?: boolean | import("./form-types").FormFieldReadonly | undefined;
|
|
568
|
-
showEmptyOnCreate?: boolean | undefined;
|
|
569
|
-
required?: boolean | undefined;
|
|
570
|
-
defaultValue?: DefaultValue | undefined;
|
|
571
|
-
offersDefault?: boolean | undefined;
|
|
572
|
-
localized?: boolean | undefined;
|
|
573
|
-
}[];
|
|
574
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
575
|
-
order?: number | undefined;
|
|
576
|
-
})[];
|
|
577
|
-
}[] | undefined;
|
|
578
|
-
sectionNav?: "jump" | "none" | "side" | undefined;
|
|
579
|
-
fetchUrl?: string | undefined;
|
|
580
|
-
fetchUrlMethod?: HttpMethod | undefined;
|
|
581
|
-
submitUrl?: string | undefined;
|
|
582
|
-
submitUrlMethod?: HttpMethod | undefined;
|
|
583
|
-
submitLabel?: string | undefined;
|
|
584
|
-
saveMode?: "bar" | "footer" | "instant" | "none" | undefined;
|
|
585
|
-
kind?: "action" | "create" | "record" | undefined;
|
|
586
|
-
backTo?: string | undefined;
|
|
587
|
-
labelKey?: string | undefined;
|
|
588
|
-
fieldsOrientation?: "horizontal" | "vertical" | undefined;
|
|
589
|
-
redirectOnSuccess?: string | undefined;
|
|
590
|
-
submitDefaults?: Record<string, unknown> | undefined;
|
|
591
|
-
slotId?: string | undefined;
|
|
592
|
-
}>;
|
|
138
|
+
}, z.core.$strip>;
|
|
@@ -211,7 +211,7 @@ exports.FormSchema = zod_1.z.object({
|
|
|
211
211
|
label: "Redirect on success",
|
|
212
212
|
group: "behavior",
|
|
213
213
|
}),
|
|
214
|
-
submitDefaults: (0, block_registry_1.ui)(zod_1.z.record(zod_1.z.unknown()).optional(), {
|
|
214
|
+
submitDefaults: (0, block_registry_1.ui)(zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).optional(), {
|
|
215
215
|
label: "Payload defaults",
|
|
216
216
|
group: "advanced",
|
|
217
217
|
widget: "json",
|