@elementor/editor-props 0.4.0 → 0.5.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 +10 -0
- package/dist/index.d.mts +943 -790
- package/dist/index.d.ts +943 -790
- package/dist/index.js +78 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +73 -51
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/prop-types/background-overlay.ts +13 -0
- package/src/prop-types/gaps.ts +14 -0
- package/src/prop-types/index.ts +2 -0
- package/src/types.ts +1 -1
- package/src/utils/create-prop-utils.ts +20 -20
- package/src/utils/is-transformable.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZodType, z } from '@elementor/schema';
|
|
2
2
|
|
|
3
3
|
type PropTypeKey = string;
|
|
4
4
|
type BasePropType = {
|
|
@@ -13,7 +13,7 @@ type PlainPropType = BasePropType & {
|
|
|
13
13
|
type ArrayPropType = BasePropType & {
|
|
14
14
|
kind: 'array';
|
|
15
15
|
key: PropTypeKey;
|
|
16
|
-
item_prop_type: PropType
|
|
16
|
+
item_prop_type: PropType;
|
|
17
17
|
};
|
|
18
18
|
type ObjectPropType = BasePropType & {
|
|
19
19
|
kind: 'object';
|
|
@@ -43,6 +43,7 @@ type CreateOptions = {
|
|
|
43
43
|
base?: unknown;
|
|
44
44
|
disabled?: boolean;
|
|
45
45
|
};
|
|
46
|
+
type PropTypeUtil<TKey extends string, TValue extends PropValue> = ReturnType<typeof createPropUtils<TKey, TValue>>;
|
|
46
47
|
/**
|
|
47
48
|
* Usage example:
|
|
48
49
|
*
|
|
@@ -57,190 +58,251 @@ type CreateOptions = {
|
|
|
57
58
|
*
|
|
58
59
|
* ```
|
|
59
60
|
*/
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
declare function createPropUtils<TKey extends string, TValue extends PropValue>(key: TKey, valueSchema: ZodType<TValue>): {
|
|
62
|
+
extract: (prop: unknown) => TValue | null;
|
|
63
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<TKey, TValue>;
|
|
64
|
+
create: {
|
|
65
|
+
(value: TValue): TransformablePropValue$1<TKey, TValue>;
|
|
66
|
+
(value: TValue, createOptions?: CreateOptions): TransformablePropValue$1<TKey, TValue>;
|
|
67
|
+
(value: Updater<TValue>, createOptions: CreateOptions): TransformablePropValue$1<TKey, TValue>;
|
|
68
|
+
};
|
|
69
|
+
schema: z.ZodObject<{
|
|
64
70
|
$$type: z.ZodLiteral<TKey>;
|
|
65
|
-
value: TValue
|
|
71
|
+
value: z.ZodType<TValue, z.ZodTypeDef, TValue>;
|
|
66
72
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
-
}
|
|
73
|
+
}, "strict", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
68
74
|
$$type: z.ZodLiteral<TKey>;
|
|
69
|
-
value: TValue
|
|
75
|
+
value: z.ZodType<TValue, z.ZodTypeDef, TValue>;
|
|
70
76
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
-
}>, any>[k]
|
|
72
|
-
create: {
|
|
73
|
-
(value: z.TypeOf<TValue>): { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
74
|
-
$$type: z.ZodLiteral<TKey>;
|
|
75
|
-
value: TValue;
|
|
76
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
78
|
-
$$type: z.ZodLiteral<TKey>;
|
|
79
|
-
value: TValue;
|
|
80
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
-
}>, any>[k]; };
|
|
82
|
-
(value: z.TypeOf<TValue>, createOptions?: CreateOptions): { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
83
|
-
$$type: z.ZodLiteral<TKey>;
|
|
84
|
-
value: TValue;
|
|
85
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
87
|
-
$$type: z.ZodLiteral<TKey>;
|
|
88
|
-
value: TValue;
|
|
89
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
-
}>, any>[k]; };
|
|
91
|
-
(value: Updater<z.TypeOf<TValue>>, createOptions: CreateOptions): { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
92
|
-
$$type: z.ZodLiteral<TKey>;
|
|
93
|
-
value: TValue;
|
|
94
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
96
|
-
$$type: z.ZodLiteral<TKey>;
|
|
97
|
-
value: TValue;
|
|
98
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
-
}>, any>[k]; };
|
|
100
|
-
};
|
|
101
|
-
schema: ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
77
|
+
}>, any> extends infer T ? { [k in keyof T]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
102
78
|
$$type: z.ZodLiteral<TKey>;
|
|
103
|
-
value: TValue
|
|
79
|
+
value: z.ZodType<TValue, z.ZodTypeDef, TValue>;
|
|
104
80
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
-
}>, any>]: z.
|
|
81
|
+
}>, any>[k]; } : never, z.baseObjectInputType<{
|
|
106
82
|
$$type: z.ZodLiteral<TKey>;
|
|
107
|
-
value: TValue
|
|
83
|
+
value: z.ZodType<TValue, z.ZodTypeDef, TValue>;
|
|
84
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
}> extends infer T_1 ? { [k_1 in keyof T_1]: z.baseObjectInputType<{
|
|
86
|
+
$$type: z.ZodLiteral<TKey>;
|
|
87
|
+
value: z.ZodType<TValue, z.ZodTypeDef, TValue>;
|
|
88
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
+
}>[k_1]; } : never>;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
declare const backgroundOverlayPropTypeUtil: {
|
|
93
|
+
extract: (prop: unknown) => {
|
|
94
|
+
color?: any;
|
|
95
|
+
} | null;
|
|
96
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"background-overlay", {
|
|
97
|
+
color?: any;
|
|
98
|
+
}>;
|
|
99
|
+
create: {
|
|
100
|
+
(value: {
|
|
101
|
+
color?: any;
|
|
102
|
+
}): TransformablePropValue$1<"background-overlay", {
|
|
103
|
+
color?: any;
|
|
104
|
+
}>;
|
|
105
|
+
(value: {
|
|
106
|
+
color?: any;
|
|
107
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"background-overlay", {
|
|
108
|
+
color?: any;
|
|
109
|
+
}>;
|
|
110
|
+
(value: (prev?: {
|
|
111
|
+
color?: any;
|
|
112
|
+
} | undefined) => {
|
|
113
|
+
color?: any;
|
|
114
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"background-overlay", {
|
|
115
|
+
color?: any;
|
|
116
|
+
}>;
|
|
117
|
+
};
|
|
118
|
+
schema: z.ZodObject<{
|
|
119
|
+
$$type: z.ZodLiteral<"background-overlay">;
|
|
120
|
+
value: z.ZodType<{
|
|
121
|
+
color?: any;
|
|
122
|
+
}, z.ZodTypeDef, {
|
|
123
|
+
color?: any;
|
|
124
|
+
}>;
|
|
108
125
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
-
}
|
|
126
|
+
}, "strict", z.ZodTypeAny, {
|
|
127
|
+
$$type: "background-overlay";
|
|
128
|
+
value: {
|
|
129
|
+
color?: any;
|
|
130
|
+
};
|
|
131
|
+
disabled?: boolean | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
$$type: "background-overlay";
|
|
134
|
+
value: {
|
|
135
|
+
color?: any;
|
|
136
|
+
};
|
|
137
|
+
disabled?: boolean | undefined;
|
|
138
|
+
}>;
|
|
110
139
|
};
|
|
140
|
+
type BackgroundOverlayPropTypeUtil = z.infer<typeof backgroundOverlayPropTypeUtil.schema>;
|
|
111
141
|
|
|
112
142
|
declare const boxShadowPropTypeUtil: {
|
|
113
143
|
extract: (prop: unknown) => {
|
|
144
|
+
$$type: "shadow";
|
|
114
145
|
value: {
|
|
146
|
+
color?: any;
|
|
115
147
|
position?: any;
|
|
116
148
|
hOffset?: any;
|
|
117
149
|
vOffset?: any;
|
|
118
150
|
blur?: any;
|
|
119
151
|
spread?: any;
|
|
120
|
-
color?: any;
|
|
121
152
|
};
|
|
122
|
-
$$type: "shadow";
|
|
123
153
|
disabled?: boolean | undefined;
|
|
124
154
|
}[] | null;
|
|
125
|
-
isValid: (prop: unknown) => prop is {
|
|
155
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"box-shadow", {
|
|
156
|
+
$$type: "shadow";
|
|
126
157
|
value: {
|
|
158
|
+
color?: any;
|
|
159
|
+
position?: any;
|
|
160
|
+
hOffset?: any;
|
|
161
|
+
vOffset?: any;
|
|
162
|
+
blur?: any;
|
|
163
|
+
spread?: any;
|
|
164
|
+
};
|
|
165
|
+
disabled?: boolean | undefined;
|
|
166
|
+
}[]>;
|
|
167
|
+
create: {
|
|
168
|
+
(value: {
|
|
169
|
+
$$type: "shadow";
|
|
127
170
|
value: {
|
|
171
|
+
color?: any;
|
|
128
172
|
position?: any;
|
|
129
173
|
hOffset?: any;
|
|
130
174
|
vOffset?: any;
|
|
131
175
|
blur?: any;
|
|
132
176
|
spread?: any;
|
|
133
|
-
color?: any;
|
|
134
177
|
};
|
|
135
|
-
$$type: "shadow";
|
|
136
178
|
disabled?: boolean | undefined;
|
|
137
|
-
}[]
|
|
138
|
-
|
|
139
|
-
disabled?: boolean | undefined;
|
|
140
|
-
};
|
|
141
|
-
create: {
|
|
142
|
-
(value: {
|
|
179
|
+
}[]): TransformablePropValue$1<"box-shadow", {
|
|
180
|
+
$$type: "shadow";
|
|
143
181
|
value: {
|
|
182
|
+
color?: any;
|
|
144
183
|
position?: any;
|
|
145
184
|
hOffset?: any;
|
|
146
185
|
vOffset?: any;
|
|
147
186
|
blur?: any;
|
|
148
187
|
spread?: any;
|
|
149
|
-
color?: any;
|
|
150
188
|
};
|
|
151
|
-
$$type: "shadow";
|
|
152
|
-
disabled?: boolean | undefined;
|
|
153
|
-
}[]): {
|
|
154
|
-
value: {
|
|
155
|
-
value: {
|
|
156
|
-
position?: any;
|
|
157
|
-
hOffset?: any;
|
|
158
|
-
vOffset?: any;
|
|
159
|
-
blur?: any;
|
|
160
|
-
spread?: any;
|
|
161
|
-
color?: any;
|
|
162
|
-
};
|
|
163
|
-
$$type: "shadow";
|
|
164
|
-
disabled?: boolean | undefined;
|
|
165
|
-
}[];
|
|
166
|
-
$$type: "box-shadow";
|
|
167
189
|
disabled?: boolean | undefined;
|
|
168
|
-
}
|
|
190
|
+
}[]>;
|
|
169
191
|
(value: {
|
|
192
|
+
$$type: "shadow";
|
|
170
193
|
value: {
|
|
194
|
+
color?: any;
|
|
171
195
|
position?: any;
|
|
172
196
|
hOffset?: any;
|
|
173
197
|
vOffset?: any;
|
|
174
198
|
blur?: any;
|
|
175
199
|
spread?: any;
|
|
176
|
-
color?: any;
|
|
177
200
|
};
|
|
178
|
-
$$type: "shadow";
|
|
179
201
|
disabled?: boolean | undefined;
|
|
180
|
-
}[], createOptions?: CreateOptions): {
|
|
202
|
+
}[], createOptions?: CreateOptions): TransformablePropValue$1<"box-shadow", {
|
|
203
|
+
$$type: "shadow";
|
|
181
204
|
value: {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
};
|
|
190
|
-
$$type: "shadow";
|
|
191
|
-
disabled?: boolean | undefined;
|
|
192
|
-
}[];
|
|
193
|
-
$$type: "box-shadow";
|
|
205
|
+
color?: any;
|
|
206
|
+
position?: any;
|
|
207
|
+
hOffset?: any;
|
|
208
|
+
vOffset?: any;
|
|
209
|
+
blur?: any;
|
|
210
|
+
spread?: any;
|
|
211
|
+
};
|
|
194
212
|
disabled?: boolean | undefined;
|
|
195
|
-
}
|
|
213
|
+
}[]>;
|
|
196
214
|
(value: (prev?: {
|
|
215
|
+
$$type: "shadow";
|
|
197
216
|
value: {
|
|
217
|
+
color?: any;
|
|
198
218
|
position?: any;
|
|
199
219
|
hOffset?: any;
|
|
200
220
|
vOffset?: any;
|
|
201
221
|
blur?: any;
|
|
202
222
|
spread?: any;
|
|
203
|
-
color?: any;
|
|
204
223
|
};
|
|
205
|
-
$$type: "shadow";
|
|
206
224
|
disabled?: boolean | undefined;
|
|
207
225
|
}[] | undefined) => {
|
|
226
|
+
$$type: "shadow";
|
|
208
227
|
value: {
|
|
228
|
+
color?: any;
|
|
209
229
|
position?: any;
|
|
210
230
|
hOffset?: any;
|
|
211
231
|
vOffset?: any;
|
|
212
232
|
blur?: any;
|
|
213
233
|
spread?: any;
|
|
234
|
+
};
|
|
235
|
+
disabled?: boolean | undefined;
|
|
236
|
+
}[], createOptions: CreateOptions): TransformablePropValue$1<"box-shadow", {
|
|
237
|
+
$$type: "shadow";
|
|
238
|
+
value: {
|
|
214
239
|
color?: any;
|
|
240
|
+
position?: any;
|
|
241
|
+
hOffset?: any;
|
|
242
|
+
vOffset?: any;
|
|
243
|
+
blur?: any;
|
|
244
|
+
spread?: any;
|
|
215
245
|
};
|
|
246
|
+
disabled?: boolean | undefined;
|
|
247
|
+
}[]>;
|
|
248
|
+
};
|
|
249
|
+
schema: z.ZodObject<{
|
|
250
|
+
$$type: z.ZodLiteral<"box-shadow">;
|
|
251
|
+
value: z.ZodType<{
|
|
216
252
|
$$type: "shadow";
|
|
253
|
+
value: {
|
|
254
|
+
color?: any;
|
|
255
|
+
position?: any;
|
|
256
|
+
hOffset?: any;
|
|
257
|
+
vOffset?: any;
|
|
258
|
+
blur?: any;
|
|
259
|
+
spread?: any;
|
|
260
|
+
};
|
|
217
261
|
disabled?: boolean | undefined;
|
|
218
|
-
}[],
|
|
262
|
+
}[], z.ZodTypeDef, {
|
|
263
|
+
$$type: "shadow";
|
|
219
264
|
value: {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
};
|
|
228
|
-
$$type: "shadow";
|
|
229
|
-
disabled?: boolean | undefined;
|
|
230
|
-
}[];
|
|
231
|
-
$$type: "box-shadow";
|
|
265
|
+
color?: any;
|
|
266
|
+
position?: any;
|
|
267
|
+
hOffset?: any;
|
|
268
|
+
vOffset?: any;
|
|
269
|
+
blur?: any;
|
|
270
|
+
spread?: any;
|
|
271
|
+
};
|
|
232
272
|
disabled?: boolean | undefined;
|
|
233
|
-
}
|
|
234
|
-
};
|
|
235
|
-
schema: z.ZodType<{ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
236
|
-
$$type: z.ZodLiteral<TKey>;
|
|
237
|
-
value: TValue;
|
|
238
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
239
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
240
|
-
$$type: z.ZodLiteral<TKey>;
|
|
241
|
-
value: TValue;
|
|
273
|
+
}[]>;
|
|
242
274
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
-
}
|
|
275
|
+
}, "strict", z.ZodTypeAny, {
|
|
276
|
+
$$type: "box-shadow";
|
|
277
|
+
value: {
|
|
278
|
+
$$type: "shadow";
|
|
279
|
+
value: {
|
|
280
|
+
color?: any;
|
|
281
|
+
position?: any;
|
|
282
|
+
hOffset?: any;
|
|
283
|
+
vOffset?: any;
|
|
284
|
+
blur?: any;
|
|
285
|
+
spread?: any;
|
|
286
|
+
};
|
|
287
|
+
disabled?: boolean | undefined;
|
|
288
|
+
}[];
|
|
289
|
+
disabled?: boolean | undefined;
|
|
290
|
+
}, {
|
|
291
|
+
$$type: "box-shadow";
|
|
292
|
+
value: {
|
|
293
|
+
$$type: "shadow";
|
|
294
|
+
value: {
|
|
295
|
+
color?: any;
|
|
296
|
+
position?: any;
|
|
297
|
+
hOffset?: any;
|
|
298
|
+
vOffset?: any;
|
|
299
|
+
blur?: any;
|
|
300
|
+
spread?: any;
|
|
301
|
+
};
|
|
302
|
+
disabled?: boolean | undefined;
|
|
303
|
+
}[];
|
|
304
|
+
disabled?: boolean | undefined;
|
|
305
|
+
}>;
|
|
244
306
|
};
|
|
245
307
|
type BoxShadowPropValue = z.infer<typeof boxShadowPropTypeUtil.schema>;
|
|
246
308
|
|
|
@@ -251,47 +313,35 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
251
313
|
'bottom-right'?: any;
|
|
252
314
|
'bottom-left'?: any;
|
|
253
315
|
} | null;
|
|
254
|
-
isValid: (prop: unknown) => prop is {
|
|
255
|
-
|
|
316
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-radius", {
|
|
317
|
+
'top-left'?: any;
|
|
318
|
+
'top-right'?: any;
|
|
319
|
+
'bottom-right'?: any;
|
|
320
|
+
'bottom-left'?: any;
|
|
321
|
+
}>;
|
|
322
|
+
create: {
|
|
323
|
+
(value: {
|
|
256
324
|
'top-left'?: any;
|
|
257
325
|
'top-right'?: any;
|
|
258
326
|
'bottom-right'?: any;
|
|
259
327
|
'bottom-left'?: any;
|
|
260
|
-
}
|
|
261
|
-
$$type: "border-radius";
|
|
262
|
-
disabled?: boolean | undefined;
|
|
263
|
-
};
|
|
264
|
-
create: {
|
|
265
|
-
(value: {
|
|
328
|
+
}): TransformablePropValue$1<"border-radius", {
|
|
266
329
|
'top-left'?: any;
|
|
267
330
|
'top-right'?: any;
|
|
268
331
|
'bottom-right'?: any;
|
|
269
332
|
'bottom-left'?: any;
|
|
270
|
-
}
|
|
271
|
-
value: {
|
|
272
|
-
'top-left'?: any;
|
|
273
|
-
'top-right'?: any;
|
|
274
|
-
'bottom-right'?: any;
|
|
275
|
-
'bottom-left'?: any;
|
|
276
|
-
};
|
|
277
|
-
$$type: "border-radius";
|
|
278
|
-
disabled?: boolean | undefined;
|
|
279
|
-
};
|
|
333
|
+
}>;
|
|
280
334
|
(value: {
|
|
281
335
|
'top-left'?: any;
|
|
282
336
|
'top-right'?: any;
|
|
283
337
|
'bottom-right'?: any;
|
|
284
338
|
'bottom-left'?: any;
|
|
285
|
-
}, createOptions?: CreateOptions): {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
};
|
|
292
|
-
$$type: "border-radius";
|
|
293
|
-
disabled?: boolean | undefined;
|
|
294
|
-
};
|
|
339
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-radius", {
|
|
340
|
+
'top-left'?: any;
|
|
341
|
+
'top-right'?: any;
|
|
342
|
+
'bottom-right'?: any;
|
|
343
|
+
'bottom-left'?: any;
|
|
344
|
+
}>;
|
|
295
345
|
(value: (prev?: {
|
|
296
346
|
'top-left'?: any;
|
|
297
347
|
'top-right'?: any;
|
|
@@ -302,26 +352,46 @@ declare const borderRadiusPropTypeUtil: {
|
|
|
302
352
|
'top-right'?: any;
|
|
303
353
|
'bottom-right'?: any;
|
|
304
354
|
'bottom-left'?: any;
|
|
305
|
-
}, createOptions: CreateOptions): {
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
};
|
|
312
|
-
$$type: "border-radius";
|
|
313
|
-
disabled?: boolean | undefined;
|
|
314
|
-
};
|
|
355
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"border-radius", {
|
|
356
|
+
'top-left'?: any;
|
|
357
|
+
'top-right'?: any;
|
|
358
|
+
'bottom-right'?: any;
|
|
359
|
+
'bottom-left'?: any;
|
|
360
|
+
}>;
|
|
315
361
|
};
|
|
316
|
-
schema: z.
|
|
317
|
-
$$type: z.ZodLiteral<
|
|
318
|
-
value:
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
362
|
+
schema: z.ZodObject<{
|
|
363
|
+
$$type: z.ZodLiteral<"border-radius">;
|
|
364
|
+
value: z.ZodType<{
|
|
365
|
+
'top-left'?: any;
|
|
366
|
+
'top-right'?: any;
|
|
367
|
+
'bottom-right'?: any;
|
|
368
|
+
'bottom-left'?: any;
|
|
369
|
+
}, z.ZodTypeDef, {
|
|
370
|
+
'top-left'?: any;
|
|
371
|
+
'top-right'?: any;
|
|
372
|
+
'bottom-right'?: any;
|
|
373
|
+
'bottom-left'?: any;
|
|
374
|
+
}>;
|
|
323
375
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
324
|
-
}
|
|
376
|
+
}, "strict", z.ZodTypeAny, {
|
|
377
|
+
$$type: "border-radius";
|
|
378
|
+
value: {
|
|
379
|
+
'top-left'?: any;
|
|
380
|
+
'top-right'?: any;
|
|
381
|
+
'bottom-right'?: any;
|
|
382
|
+
'bottom-left'?: any;
|
|
383
|
+
};
|
|
384
|
+
disabled?: boolean | undefined;
|
|
385
|
+
}, {
|
|
386
|
+
$$type: "border-radius";
|
|
387
|
+
value: {
|
|
388
|
+
'top-left'?: any;
|
|
389
|
+
'top-right'?: any;
|
|
390
|
+
'bottom-right'?: any;
|
|
391
|
+
'bottom-left'?: any;
|
|
392
|
+
};
|
|
393
|
+
disabled?: boolean | undefined;
|
|
394
|
+
}>;
|
|
325
395
|
};
|
|
326
396
|
type BorderRadiusPropValue = z.infer<typeof borderRadiusPropTypeUtil.schema>;
|
|
327
397
|
|
|
@@ -332,47 +402,35 @@ declare const borderWidthPropTypeUtil: {
|
|
|
332
402
|
bottom?: any;
|
|
333
403
|
left?: any;
|
|
334
404
|
} | null;
|
|
335
|
-
isValid: (prop: unknown) => prop is {
|
|
336
|
-
|
|
405
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"border-width", {
|
|
406
|
+
top?: any;
|
|
407
|
+
right?: any;
|
|
408
|
+
bottom?: any;
|
|
409
|
+
left?: any;
|
|
410
|
+
}>;
|
|
411
|
+
create: {
|
|
412
|
+
(value: {
|
|
337
413
|
top?: any;
|
|
338
414
|
right?: any;
|
|
339
415
|
bottom?: any;
|
|
340
416
|
left?: any;
|
|
341
|
-
}
|
|
342
|
-
$$type: "border-width";
|
|
343
|
-
disabled?: boolean | undefined;
|
|
344
|
-
};
|
|
345
|
-
create: {
|
|
346
|
-
(value: {
|
|
417
|
+
}): TransformablePropValue$1<"border-width", {
|
|
347
418
|
top?: any;
|
|
348
419
|
right?: any;
|
|
349
420
|
bottom?: any;
|
|
350
421
|
left?: any;
|
|
351
|
-
}
|
|
352
|
-
value: {
|
|
353
|
-
top?: any;
|
|
354
|
-
right?: any;
|
|
355
|
-
bottom?: any;
|
|
356
|
-
left?: any;
|
|
357
|
-
};
|
|
358
|
-
$$type: "border-width";
|
|
359
|
-
disabled?: boolean | undefined;
|
|
360
|
-
};
|
|
422
|
+
}>;
|
|
361
423
|
(value: {
|
|
362
424
|
top?: any;
|
|
363
425
|
right?: any;
|
|
364
426
|
bottom?: any;
|
|
365
427
|
left?: any;
|
|
366
|
-
}, createOptions?: CreateOptions): {
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
};
|
|
373
|
-
$$type: "border-width";
|
|
374
|
-
disabled?: boolean | undefined;
|
|
375
|
-
};
|
|
428
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"border-width", {
|
|
429
|
+
top?: any;
|
|
430
|
+
right?: any;
|
|
431
|
+
bottom?: any;
|
|
432
|
+
left?: any;
|
|
433
|
+
}>;
|
|
376
434
|
(value: (prev?: {
|
|
377
435
|
top?: any;
|
|
378
436
|
right?: any;
|
|
@@ -383,98 +441,94 @@ declare const borderWidthPropTypeUtil: {
|
|
|
383
441
|
right?: any;
|
|
384
442
|
bottom?: any;
|
|
385
443
|
left?: any;
|
|
386
|
-
}, createOptions: CreateOptions): {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
};
|
|
393
|
-
$$type: "border-width";
|
|
394
|
-
disabled?: boolean | undefined;
|
|
395
|
-
};
|
|
444
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"border-width", {
|
|
445
|
+
top?: any;
|
|
446
|
+
right?: any;
|
|
447
|
+
bottom?: any;
|
|
448
|
+
left?: any;
|
|
449
|
+
}>;
|
|
396
450
|
};
|
|
397
|
-
schema: z.
|
|
398
|
-
$$type: z.ZodLiteral<
|
|
399
|
-
value:
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
451
|
+
schema: z.ZodObject<{
|
|
452
|
+
$$type: z.ZodLiteral<"border-width">;
|
|
453
|
+
value: z.ZodType<{
|
|
454
|
+
top?: any;
|
|
455
|
+
right?: any;
|
|
456
|
+
bottom?: any;
|
|
457
|
+
left?: any;
|
|
458
|
+
}, z.ZodTypeDef, {
|
|
459
|
+
top?: any;
|
|
460
|
+
right?: any;
|
|
461
|
+
bottom?: any;
|
|
462
|
+
left?: any;
|
|
463
|
+
}>;
|
|
404
464
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
405
|
-
}
|
|
465
|
+
}, "strict", z.ZodTypeAny, {
|
|
466
|
+
$$type: "border-width";
|
|
467
|
+
value: {
|
|
468
|
+
top?: any;
|
|
469
|
+
right?: any;
|
|
470
|
+
bottom?: any;
|
|
471
|
+
left?: any;
|
|
472
|
+
};
|
|
473
|
+
disabled?: boolean | undefined;
|
|
474
|
+
}, {
|
|
475
|
+
$$type: "border-width";
|
|
476
|
+
value: {
|
|
477
|
+
top?: any;
|
|
478
|
+
right?: any;
|
|
479
|
+
bottom?: any;
|
|
480
|
+
left?: any;
|
|
481
|
+
};
|
|
482
|
+
disabled?: boolean | undefined;
|
|
483
|
+
}>;
|
|
406
484
|
};
|
|
407
485
|
type BorderWidthPropValue = z.infer<typeof borderWidthPropTypeUtil.schema>;
|
|
408
486
|
|
|
409
487
|
declare const classesPropTypeUtil: {
|
|
410
488
|
extract: (prop: unknown) => string[] | null;
|
|
411
|
-
isValid: (prop: unknown) => prop is
|
|
412
|
-
value: string[];
|
|
413
|
-
$$type: "classes";
|
|
414
|
-
disabled?: boolean | undefined;
|
|
415
|
-
};
|
|
489
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"classes", string[]>;
|
|
416
490
|
create: {
|
|
417
|
-
(value: string[]):
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
disabled?: boolean | undefined;
|
|
421
|
-
};
|
|
422
|
-
(value: string[], createOptions?: CreateOptions): {
|
|
423
|
-
value: string[];
|
|
424
|
-
$$type: "classes";
|
|
425
|
-
disabled?: boolean | undefined;
|
|
426
|
-
};
|
|
427
|
-
(value: (prev?: string[] | undefined) => string[], createOptions: CreateOptions): {
|
|
428
|
-
value: string[];
|
|
429
|
-
$$type: "classes";
|
|
430
|
-
disabled?: boolean | undefined;
|
|
431
|
-
};
|
|
491
|
+
(value: string[]): TransformablePropValue$1<"classes", string[]>;
|
|
492
|
+
(value: string[], createOptions?: CreateOptions): TransformablePropValue$1<"classes", string[]>;
|
|
493
|
+
(value: (prev?: string[] | undefined) => string[], createOptions: CreateOptions): TransformablePropValue$1<"classes", string[]>;
|
|
432
494
|
};
|
|
433
|
-
schema: z.
|
|
434
|
-
$$type: z.ZodLiteral<
|
|
435
|
-
value:
|
|
436
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
437
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
438
|
-
$$type: z.ZodLiteral<TKey>;
|
|
439
|
-
value: TValue;
|
|
495
|
+
schema: z.ZodObject<{
|
|
496
|
+
$$type: z.ZodLiteral<"classes">;
|
|
497
|
+
value: z.ZodType<string[], z.ZodTypeDef, string[]>;
|
|
440
498
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
-
}
|
|
499
|
+
}, "strict", z.ZodTypeAny, {
|
|
500
|
+
$$type: "classes";
|
|
501
|
+
value: string[];
|
|
502
|
+
disabled?: boolean | undefined;
|
|
503
|
+
}, {
|
|
504
|
+
$$type: "classes";
|
|
505
|
+
value: string[];
|
|
506
|
+
disabled?: boolean | undefined;
|
|
507
|
+
}>;
|
|
442
508
|
};
|
|
443
509
|
type ClassesPropValue = z.infer<typeof classesPropTypeUtil.schema>;
|
|
444
510
|
|
|
445
511
|
declare const colorPropTypeUtil: {
|
|
446
512
|
extract: (prop: unknown) => string | null;
|
|
447
|
-
isValid: (prop: unknown) => prop is
|
|
448
|
-
value: string;
|
|
449
|
-
$$type: "color";
|
|
450
|
-
disabled?: boolean | undefined;
|
|
451
|
-
};
|
|
513
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"color", string>;
|
|
452
514
|
create: {
|
|
453
|
-
(value: string):
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
disabled?: boolean | undefined;
|
|
457
|
-
};
|
|
458
|
-
(value: string, createOptions?: CreateOptions): {
|
|
459
|
-
value: string;
|
|
460
|
-
$$type: "color";
|
|
461
|
-
disabled?: boolean | undefined;
|
|
462
|
-
};
|
|
463
|
-
(value: (prev?: string | undefined) => string, createOptions: CreateOptions): {
|
|
464
|
-
value: string;
|
|
465
|
-
$$type: "color";
|
|
466
|
-
disabled?: boolean | undefined;
|
|
467
|
-
};
|
|
515
|
+
(value: string): TransformablePropValue$1<"color", string>;
|
|
516
|
+
(value: string, createOptions?: CreateOptions): TransformablePropValue$1<"color", string>;
|
|
517
|
+
(value: (prev?: string | undefined) => string, createOptions: CreateOptions): TransformablePropValue$1<"color", string>;
|
|
468
518
|
};
|
|
469
|
-
schema: z.
|
|
470
|
-
$$type: z.ZodLiteral<
|
|
471
|
-
value:
|
|
472
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
473
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
474
|
-
$$type: z.ZodLiteral<TKey>;
|
|
475
|
-
value: TValue;
|
|
519
|
+
schema: z.ZodObject<{
|
|
520
|
+
$$type: z.ZodLiteral<"color">;
|
|
521
|
+
value: z.ZodType<string, z.ZodTypeDef, string>;
|
|
476
522
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
477
|
-
}
|
|
523
|
+
}, "strict", z.ZodTypeAny, {
|
|
524
|
+
$$type: "color";
|
|
525
|
+
value: string;
|
|
526
|
+
disabled?: boolean | undefined;
|
|
527
|
+
}, {
|
|
528
|
+
$$type: "color";
|
|
529
|
+
value: string;
|
|
530
|
+
disabled?: boolean | undefined;
|
|
531
|
+
}>;
|
|
478
532
|
};
|
|
479
533
|
type ColorPropValue = z.infer<typeof colorPropTypeUtil.schema>;
|
|
480
534
|
|
|
@@ -483,97 +537,85 @@ declare const imagePropTypeUtil: {
|
|
|
483
537
|
src?: any;
|
|
484
538
|
size?: any;
|
|
485
539
|
} | null;
|
|
486
|
-
isValid: (prop: unknown) => prop is {
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
};
|
|
491
|
-
$$type: "image";
|
|
492
|
-
disabled?: boolean | undefined;
|
|
493
|
-
};
|
|
540
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"image", {
|
|
541
|
+
src?: any;
|
|
542
|
+
size?: any;
|
|
543
|
+
}>;
|
|
494
544
|
create: {
|
|
495
545
|
(value: {
|
|
496
546
|
src?: any;
|
|
497
547
|
size?: any;
|
|
498
|
-
}): {
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
};
|
|
503
|
-
$$type: "image";
|
|
504
|
-
disabled?: boolean | undefined;
|
|
505
|
-
};
|
|
548
|
+
}): TransformablePropValue$1<"image", {
|
|
549
|
+
src?: any;
|
|
550
|
+
size?: any;
|
|
551
|
+
}>;
|
|
506
552
|
(value: {
|
|
507
553
|
src?: any;
|
|
508
554
|
size?: any;
|
|
509
|
-
}, createOptions?: CreateOptions): {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
};
|
|
514
|
-
$$type: "image";
|
|
515
|
-
disabled?: boolean | undefined;
|
|
516
|
-
};
|
|
555
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"image", {
|
|
556
|
+
src?: any;
|
|
557
|
+
size?: any;
|
|
558
|
+
}>;
|
|
517
559
|
(value: (prev?: {
|
|
518
560
|
src?: any;
|
|
519
561
|
size?: any;
|
|
520
562
|
} | undefined) => {
|
|
521
563
|
src?: any;
|
|
522
564
|
size?: any;
|
|
523
|
-
}, createOptions: CreateOptions): {
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
};
|
|
528
|
-
$$type: "image";
|
|
529
|
-
disabled?: boolean | undefined;
|
|
530
|
-
};
|
|
565
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"image", {
|
|
566
|
+
src?: any;
|
|
567
|
+
size?: any;
|
|
568
|
+
}>;
|
|
531
569
|
};
|
|
532
|
-
schema: z.
|
|
533
|
-
$$type: z.ZodLiteral<
|
|
534
|
-
value:
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
570
|
+
schema: z.ZodObject<{
|
|
571
|
+
$$type: z.ZodLiteral<"image">;
|
|
572
|
+
value: z.ZodType<{
|
|
573
|
+
src?: any;
|
|
574
|
+
size?: any;
|
|
575
|
+
}, z.ZodTypeDef, {
|
|
576
|
+
src?: any;
|
|
577
|
+
size?: any;
|
|
578
|
+
}>;
|
|
539
579
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
540
|
-
}
|
|
580
|
+
}, "strict", z.ZodTypeAny, {
|
|
581
|
+
$$type: "image";
|
|
582
|
+
value: {
|
|
583
|
+
src?: any;
|
|
584
|
+
size?: any;
|
|
585
|
+
};
|
|
586
|
+
disabled?: boolean | undefined;
|
|
587
|
+
}, {
|
|
588
|
+
$$type: "image";
|
|
589
|
+
value: {
|
|
590
|
+
src?: any;
|
|
591
|
+
size?: any;
|
|
592
|
+
};
|
|
593
|
+
disabled?: boolean | undefined;
|
|
594
|
+
}>;
|
|
541
595
|
};
|
|
542
596
|
type ImagePropValue = z.infer<typeof imagePropTypeUtil.schema>;
|
|
543
597
|
|
|
544
598
|
declare const imageAttachmentIdPropType: {
|
|
545
599
|
extract: (prop: unknown) => number | null;
|
|
546
|
-
isValid: (prop: unknown) => prop is
|
|
547
|
-
value: number;
|
|
548
|
-
$$type: "image-attachment-id";
|
|
549
|
-
disabled?: boolean | undefined;
|
|
550
|
-
};
|
|
600
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"image-attachment-id", number>;
|
|
551
601
|
create: {
|
|
552
|
-
(value: number):
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
disabled?: boolean | undefined;
|
|
556
|
-
};
|
|
557
|
-
(value: number, createOptions?: CreateOptions): {
|
|
558
|
-
value: number;
|
|
559
|
-
$$type: "image-attachment-id";
|
|
560
|
-
disabled?: boolean | undefined;
|
|
561
|
-
};
|
|
562
|
-
(value: (prev?: number | undefined) => number, createOptions: CreateOptions): {
|
|
563
|
-
value: number;
|
|
564
|
-
$$type: "image-attachment-id";
|
|
565
|
-
disabled?: boolean | undefined;
|
|
566
|
-
};
|
|
602
|
+
(value: number): TransformablePropValue$1<"image-attachment-id", number>;
|
|
603
|
+
(value: number, createOptions?: CreateOptions): TransformablePropValue$1<"image-attachment-id", number>;
|
|
604
|
+
(value: (prev?: number | undefined) => number, createOptions: CreateOptions): TransformablePropValue$1<"image-attachment-id", number>;
|
|
567
605
|
};
|
|
568
|
-
schema: z.
|
|
569
|
-
$$type: z.ZodLiteral<
|
|
570
|
-
value:
|
|
571
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
572
|
-
}>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
573
|
-
$$type: z.ZodLiteral<TKey>;
|
|
574
|
-
value: TValue;
|
|
606
|
+
schema: z.ZodObject<{
|
|
607
|
+
$$type: z.ZodLiteral<"image-attachment-id">;
|
|
608
|
+
value: z.ZodType<number, z.ZodTypeDef, number>;
|
|
575
609
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
576
|
-
}
|
|
610
|
+
}, "strict", z.ZodTypeAny, {
|
|
611
|
+
$$type: "image-attachment-id";
|
|
612
|
+
value: number;
|
|
613
|
+
disabled?: boolean | undefined;
|
|
614
|
+
}, {
|
|
615
|
+
$$type: "image-attachment-id";
|
|
616
|
+
value: number;
|
|
617
|
+
disabled?: boolean | undefined;
|
|
618
|
+
}>;
|
|
577
619
|
};
|
|
578
620
|
type ImageAttachmentIdPropValue = z.infer<typeof imageAttachmentIdPropType.schema>;
|
|
579
621
|
|
|
@@ -585,52 +627,40 @@ declare const imageSrcPropTypeUtil: {
|
|
|
585
627
|
id: null;
|
|
586
628
|
url?: any;
|
|
587
629
|
} | null;
|
|
588
|
-
isValid: (prop: unknown) => prop is {
|
|
589
|
-
|
|
630
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"image-src", {
|
|
631
|
+
url: null;
|
|
632
|
+
id?: any;
|
|
633
|
+
} | {
|
|
634
|
+
id: null;
|
|
635
|
+
url?: any;
|
|
636
|
+
}>;
|
|
637
|
+
create: {
|
|
638
|
+
(value: {
|
|
590
639
|
url: null;
|
|
591
640
|
id?: any;
|
|
592
641
|
} | {
|
|
593
642
|
id: null;
|
|
594
643
|
url?: any;
|
|
595
|
-
}
|
|
596
|
-
$$type: "image-src";
|
|
597
|
-
disabled?: boolean | undefined;
|
|
598
|
-
};
|
|
599
|
-
create: {
|
|
600
|
-
(value: {
|
|
644
|
+
}): TransformablePropValue$1<"image-src", {
|
|
601
645
|
url: null;
|
|
602
646
|
id?: any;
|
|
603
647
|
} | {
|
|
604
648
|
id: null;
|
|
605
649
|
url?: any;
|
|
606
|
-
}
|
|
607
|
-
value: {
|
|
608
|
-
url: null;
|
|
609
|
-
id?: any;
|
|
610
|
-
} | {
|
|
611
|
-
id: null;
|
|
612
|
-
url?: any;
|
|
613
|
-
};
|
|
614
|
-
$$type: "image-src";
|
|
615
|
-
disabled?: boolean | undefined;
|
|
616
|
-
};
|
|
650
|
+
}>;
|
|
617
651
|
(value: {
|
|
618
652
|
url: null;
|
|
619
653
|
id?: any;
|
|
620
654
|
} | {
|
|
621
655
|
id: null;
|
|
622
656
|
url?: any;
|
|
623
|
-
}, createOptions?: CreateOptions): {
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
};
|
|
631
|
-
$$type: "image-src";
|
|
632
|
-
disabled?: boolean | undefined;
|
|
633
|
-
};
|
|
657
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"image-src", {
|
|
658
|
+
url: null;
|
|
659
|
+
id?: any;
|
|
660
|
+
} | {
|
|
661
|
+
id: null;
|
|
662
|
+
url?: any;
|
|
663
|
+
}>;
|
|
634
664
|
(value: (prev?: {
|
|
635
665
|
url: null;
|
|
636
666
|
id?: any;
|
|
@@ -643,27 +673,51 @@ declare const imageSrcPropTypeUtil: {
|
|
|
643
673
|
} | {
|
|
644
674
|
id: null;
|
|
645
675
|
url?: any;
|
|
646
|
-
}, createOptions: CreateOptions): {
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
};
|
|
654
|
-
$$type: "image-src";
|
|
655
|
-
disabled?: boolean | undefined;
|
|
656
|
-
};
|
|
676
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"image-src", {
|
|
677
|
+
url: null;
|
|
678
|
+
id?: any;
|
|
679
|
+
} | {
|
|
680
|
+
id: null;
|
|
681
|
+
url?: any;
|
|
682
|
+
}>;
|
|
657
683
|
};
|
|
658
|
-
schema: z.
|
|
659
|
-
$$type: z.ZodLiteral<
|
|
660
|
-
value:
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
684
|
+
schema: z.ZodObject<{
|
|
685
|
+
$$type: z.ZodLiteral<"image-src">;
|
|
686
|
+
value: z.ZodType<{
|
|
687
|
+
url: null;
|
|
688
|
+
id?: any;
|
|
689
|
+
} | {
|
|
690
|
+
id: null;
|
|
691
|
+
url?: any;
|
|
692
|
+
}, z.ZodTypeDef, {
|
|
693
|
+
url: null;
|
|
694
|
+
id?: any;
|
|
695
|
+
} | {
|
|
696
|
+
id: null;
|
|
697
|
+
url?: any;
|
|
698
|
+
}>;
|
|
665
699
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
666
|
-
}
|
|
700
|
+
}, "strict", z.ZodTypeAny, {
|
|
701
|
+
$$type: "image-src";
|
|
702
|
+
value: {
|
|
703
|
+
url: null;
|
|
704
|
+
id?: any;
|
|
705
|
+
} | {
|
|
706
|
+
id: null;
|
|
707
|
+
url?: any;
|
|
708
|
+
};
|
|
709
|
+
disabled?: boolean | undefined;
|
|
710
|
+
}, {
|
|
711
|
+
$$type: "image-src";
|
|
712
|
+
value: {
|
|
713
|
+
url: null;
|
|
714
|
+
id?: any;
|
|
715
|
+
} | {
|
|
716
|
+
id: null;
|
|
717
|
+
url?: any;
|
|
718
|
+
};
|
|
719
|
+
disabled?: boolean | undefined;
|
|
720
|
+
}>;
|
|
667
721
|
};
|
|
668
722
|
type ImageSrcPropValue = z.infer<typeof imageSrcPropTypeUtil.schema>;
|
|
669
723
|
|
|
@@ -675,52 +729,40 @@ declare const linkedDimensionsPropTypeUtil: {
|
|
|
675
729
|
left?: any;
|
|
676
730
|
isLinked?: any;
|
|
677
731
|
} | null;
|
|
678
|
-
isValid: (prop: unknown) => prop is {
|
|
679
|
-
|
|
732
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"linked-dimensions", {
|
|
733
|
+
top?: any;
|
|
734
|
+
right?: any;
|
|
735
|
+
bottom?: any;
|
|
736
|
+
left?: any;
|
|
737
|
+
isLinked?: any;
|
|
738
|
+
}>;
|
|
739
|
+
create: {
|
|
740
|
+
(value: {
|
|
680
741
|
top?: any;
|
|
681
742
|
right?: any;
|
|
682
743
|
bottom?: any;
|
|
683
744
|
left?: any;
|
|
684
745
|
isLinked?: any;
|
|
685
|
-
}
|
|
686
|
-
$$type: "linked-dimensions";
|
|
687
|
-
disabled?: boolean | undefined;
|
|
688
|
-
};
|
|
689
|
-
create: {
|
|
690
|
-
(value: {
|
|
746
|
+
}): TransformablePropValue$1<"linked-dimensions", {
|
|
691
747
|
top?: any;
|
|
692
748
|
right?: any;
|
|
693
749
|
bottom?: any;
|
|
694
750
|
left?: any;
|
|
695
751
|
isLinked?: any;
|
|
696
|
-
}
|
|
697
|
-
value: {
|
|
698
|
-
top?: any;
|
|
699
|
-
right?: any;
|
|
700
|
-
bottom?: any;
|
|
701
|
-
left?: any;
|
|
702
|
-
isLinked?: any;
|
|
703
|
-
};
|
|
704
|
-
$$type: "linked-dimensions";
|
|
705
|
-
disabled?: boolean | undefined;
|
|
706
|
-
};
|
|
752
|
+
}>;
|
|
707
753
|
(value: {
|
|
708
754
|
top?: any;
|
|
709
755
|
right?: any;
|
|
710
756
|
bottom?: any;
|
|
711
757
|
left?: any;
|
|
712
758
|
isLinked?: any;
|
|
713
|
-
}, createOptions?: CreateOptions): {
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
};
|
|
721
|
-
$$type: "linked-dimensions";
|
|
722
|
-
disabled?: boolean | undefined;
|
|
723
|
-
};
|
|
759
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"linked-dimensions", {
|
|
760
|
+
top?: any;
|
|
761
|
+
right?: any;
|
|
762
|
+
bottom?: any;
|
|
763
|
+
left?: any;
|
|
764
|
+
isLinked?: any;
|
|
765
|
+
}>;
|
|
724
766
|
(value: (prev?: {
|
|
725
767
|
top?: any;
|
|
726
768
|
right?: any;
|
|
@@ -733,162 +775,190 @@ declare const linkedDimensionsPropTypeUtil: {
|
|
|
733
775
|
bottom?: any;
|
|
734
776
|
left?: any;
|
|
735
777
|
isLinked?: any;
|
|
736
|
-
}, createOptions: CreateOptions): {
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
};
|
|
744
|
-
$$type: "linked-dimensions";
|
|
745
|
-
disabled?: boolean | undefined;
|
|
746
|
-
};
|
|
778
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"linked-dimensions", {
|
|
779
|
+
top?: any;
|
|
780
|
+
right?: any;
|
|
781
|
+
bottom?: any;
|
|
782
|
+
left?: any;
|
|
783
|
+
isLinked?: any;
|
|
784
|
+
}>;
|
|
747
785
|
};
|
|
748
|
-
schema: z.
|
|
749
|
-
$$type: z.ZodLiteral<
|
|
750
|
-
value:
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
786
|
+
schema: z.ZodObject<{
|
|
787
|
+
$$type: z.ZodLiteral<"linked-dimensions">;
|
|
788
|
+
value: z.ZodType<{
|
|
789
|
+
top?: any;
|
|
790
|
+
right?: any;
|
|
791
|
+
bottom?: any;
|
|
792
|
+
left?: any;
|
|
793
|
+
isLinked?: any;
|
|
794
|
+
}, z.ZodTypeDef, {
|
|
795
|
+
top?: any;
|
|
796
|
+
right?: any;
|
|
797
|
+
bottom?: any;
|
|
798
|
+
left?: any;
|
|
799
|
+
isLinked?: any;
|
|
800
|
+
}>;
|
|
755
801
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
756
|
-
}
|
|
802
|
+
}, "strict", z.ZodTypeAny, {
|
|
803
|
+
$$type: "linked-dimensions";
|
|
804
|
+
value: {
|
|
805
|
+
top?: any;
|
|
806
|
+
right?: any;
|
|
807
|
+
bottom?: any;
|
|
808
|
+
left?: any;
|
|
809
|
+
isLinked?: any;
|
|
810
|
+
};
|
|
811
|
+
disabled?: boolean | undefined;
|
|
812
|
+
}, {
|
|
813
|
+
$$type: "linked-dimensions";
|
|
814
|
+
value: {
|
|
815
|
+
top?: any;
|
|
816
|
+
right?: any;
|
|
817
|
+
bottom?: any;
|
|
818
|
+
left?: any;
|
|
819
|
+
isLinked?: any;
|
|
820
|
+
};
|
|
821
|
+
disabled?: boolean | undefined;
|
|
822
|
+
}>;
|
|
757
823
|
};
|
|
758
824
|
type LinkedDimensionsPropValue = z.infer<typeof linkedDimensionsPropTypeUtil.schema>;
|
|
759
825
|
|
|
760
826
|
declare const numberPropTypeUtil: {
|
|
761
827
|
extract: (prop: unknown) => number | null;
|
|
762
|
-
isValid: (prop: unknown) => prop is
|
|
763
|
-
value: number;
|
|
764
|
-
$$type: "number";
|
|
765
|
-
disabled?: boolean | undefined;
|
|
766
|
-
};
|
|
828
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"number", number>;
|
|
767
829
|
create: {
|
|
768
|
-
(value: number):
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
disabled?: boolean | undefined;
|
|
772
|
-
};
|
|
773
|
-
(value: number, createOptions?: CreateOptions): {
|
|
774
|
-
value: number;
|
|
775
|
-
$$type: "number";
|
|
776
|
-
disabled?: boolean | undefined;
|
|
777
|
-
};
|
|
778
|
-
(value: (prev?: number | undefined) => number, createOptions: CreateOptions): {
|
|
779
|
-
value: number;
|
|
780
|
-
$$type: "number";
|
|
781
|
-
disabled?: boolean | undefined;
|
|
782
|
-
};
|
|
830
|
+
(value: number): TransformablePropValue$1<"number", number>;
|
|
831
|
+
(value: number, createOptions?: CreateOptions): TransformablePropValue$1<"number", number>;
|
|
832
|
+
(value: (prev?: number | undefined) => number, createOptions: CreateOptions): TransformablePropValue$1<"number", number>;
|
|
783
833
|
};
|
|
784
|
-
schema: z.
|
|
785
|
-
$$type: z.ZodLiteral<
|
|
786
|
-
value:
|
|
834
|
+
schema: z.ZodObject<{
|
|
835
|
+
$$type: z.ZodLiteral<"number">;
|
|
836
|
+
value: z.ZodType<number, z.ZodTypeDef, number>;
|
|
787
837
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
788
|
-
}
|
|
789
|
-
$$type:
|
|
790
|
-
value:
|
|
791
|
-
disabled
|
|
792
|
-
}
|
|
838
|
+
}, "strict", z.ZodTypeAny, {
|
|
839
|
+
$$type: "number";
|
|
840
|
+
value: number;
|
|
841
|
+
disabled?: boolean | undefined;
|
|
842
|
+
}, {
|
|
843
|
+
$$type: "number";
|
|
844
|
+
value: number;
|
|
845
|
+
disabled?: boolean | undefined;
|
|
846
|
+
}>;
|
|
793
847
|
};
|
|
794
848
|
type NumberPropValue = z.infer<typeof numberPropTypeUtil.schema>;
|
|
795
849
|
|
|
796
850
|
declare const shadowPropTypeUtil: {
|
|
797
851
|
extract: (prop: unknown) => {
|
|
852
|
+
color?: any;
|
|
798
853
|
position?: any;
|
|
799
854
|
hOffset?: any;
|
|
800
855
|
vOffset?: any;
|
|
801
856
|
blur?: any;
|
|
802
857
|
spread?: any;
|
|
803
|
-
color?: any;
|
|
804
858
|
} | null;
|
|
805
|
-
isValid: (prop: unknown) => prop is {
|
|
806
|
-
|
|
859
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"shadow", {
|
|
860
|
+
color?: any;
|
|
861
|
+
position?: any;
|
|
862
|
+
hOffset?: any;
|
|
863
|
+
vOffset?: any;
|
|
864
|
+
blur?: any;
|
|
865
|
+
spread?: any;
|
|
866
|
+
}>;
|
|
867
|
+
create: {
|
|
868
|
+
(value: {
|
|
869
|
+
color?: any;
|
|
807
870
|
position?: any;
|
|
808
871
|
hOffset?: any;
|
|
809
872
|
vOffset?: any;
|
|
810
873
|
blur?: any;
|
|
811
874
|
spread?: any;
|
|
875
|
+
}): TransformablePropValue$1<"shadow", {
|
|
812
876
|
color?: any;
|
|
813
|
-
};
|
|
814
|
-
$$type: "shadow";
|
|
815
|
-
disabled?: boolean | undefined;
|
|
816
|
-
};
|
|
817
|
-
create: {
|
|
818
|
-
(value: {
|
|
819
877
|
position?: any;
|
|
820
878
|
hOffset?: any;
|
|
821
879
|
vOffset?: any;
|
|
822
880
|
blur?: any;
|
|
823
881
|
spread?: any;
|
|
824
|
-
|
|
825
|
-
}): {
|
|
826
|
-
value: {
|
|
827
|
-
position?: any;
|
|
828
|
-
hOffset?: any;
|
|
829
|
-
vOffset?: any;
|
|
830
|
-
blur?: any;
|
|
831
|
-
spread?: any;
|
|
832
|
-
color?: any;
|
|
833
|
-
};
|
|
834
|
-
$$type: "shadow";
|
|
835
|
-
disabled?: boolean | undefined;
|
|
836
|
-
};
|
|
882
|
+
}>;
|
|
837
883
|
(value: {
|
|
884
|
+
color?: any;
|
|
838
885
|
position?: any;
|
|
839
886
|
hOffset?: any;
|
|
840
887
|
vOffset?: any;
|
|
841
888
|
blur?: any;
|
|
842
889
|
spread?: any;
|
|
890
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"shadow", {
|
|
843
891
|
color?: any;
|
|
844
|
-
}, createOptions?: CreateOptions): {
|
|
845
|
-
value: {
|
|
846
|
-
position?: any;
|
|
847
|
-
hOffset?: any;
|
|
848
|
-
vOffset?: any;
|
|
849
|
-
blur?: any;
|
|
850
|
-
spread?: any;
|
|
851
|
-
color?: any;
|
|
852
|
-
};
|
|
853
|
-
$$type: "shadow";
|
|
854
|
-
disabled?: boolean | undefined;
|
|
855
|
-
};
|
|
856
|
-
(value: (prev?: {
|
|
857
892
|
position?: any;
|
|
858
893
|
hOffset?: any;
|
|
859
894
|
vOffset?: any;
|
|
860
895
|
blur?: any;
|
|
861
896
|
spread?: any;
|
|
897
|
+
}>;
|
|
898
|
+
(value: (prev?: {
|
|
862
899
|
color?: any;
|
|
900
|
+
position?: any;
|
|
901
|
+
hOffset?: any;
|
|
902
|
+
vOffset?: any;
|
|
903
|
+
blur?: any;
|
|
904
|
+
spread?: any;
|
|
863
905
|
} | undefined) => {
|
|
906
|
+
color?: any;
|
|
864
907
|
position?: any;
|
|
865
908
|
hOffset?: any;
|
|
866
909
|
vOffset?: any;
|
|
867
910
|
blur?: any;
|
|
868
911
|
spread?: any;
|
|
912
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"shadow", {
|
|
869
913
|
color?: any;
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
spread?: any;
|
|
877
|
-
color?: any;
|
|
878
|
-
};
|
|
879
|
-
$$type: "shadow";
|
|
880
|
-
disabled?: boolean | undefined;
|
|
881
|
-
};
|
|
914
|
+
position?: any;
|
|
915
|
+
hOffset?: any;
|
|
916
|
+
vOffset?: any;
|
|
917
|
+
blur?: any;
|
|
918
|
+
spread?: any;
|
|
919
|
+
}>;
|
|
882
920
|
};
|
|
883
|
-
schema: z.
|
|
884
|
-
$$type: z.ZodLiteral<
|
|
885
|
-
value:
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
921
|
+
schema: z.ZodObject<{
|
|
922
|
+
$$type: z.ZodLiteral<"shadow">;
|
|
923
|
+
value: z.ZodType<{
|
|
924
|
+
color?: any;
|
|
925
|
+
position?: any;
|
|
926
|
+
hOffset?: any;
|
|
927
|
+
vOffset?: any;
|
|
928
|
+
blur?: any;
|
|
929
|
+
spread?: any;
|
|
930
|
+
}, z.ZodTypeDef, {
|
|
931
|
+
color?: any;
|
|
932
|
+
position?: any;
|
|
933
|
+
hOffset?: any;
|
|
934
|
+
vOffset?: any;
|
|
935
|
+
blur?: any;
|
|
936
|
+
spread?: any;
|
|
937
|
+
}>;
|
|
890
938
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
891
|
-
}
|
|
939
|
+
}, "strict", z.ZodTypeAny, {
|
|
940
|
+
$$type: "shadow";
|
|
941
|
+
value: {
|
|
942
|
+
color?: any;
|
|
943
|
+
position?: any;
|
|
944
|
+
hOffset?: any;
|
|
945
|
+
vOffset?: any;
|
|
946
|
+
blur?: any;
|
|
947
|
+
spread?: any;
|
|
948
|
+
};
|
|
949
|
+
disabled?: boolean | undefined;
|
|
950
|
+
}, {
|
|
951
|
+
$$type: "shadow";
|
|
952
|
+
value: {
|
|
953
|
+
color?: any;
|
|
954
|
+
position?: any;
|
|
955
|
+
hOffset?: any;
|
|
956
|
+
vOffset?: any;
|
|
957
|
+
blur?: any;
|
|
958
|
+
spread?: any;
|
|
959
|
+
};
|
|
960
|
+
disabled?: boolean | undefined;
|
|
961
|
+
}>;
|
|
892
962
|
};
|
|
893
963
|
type ShadowPropValue = z.infer<typeof shadowPropTypeUtil.schema>;
|
|
894
964
|
|
|
@@ -897,97 +967,85 @@ declare const sizePropTypeUtil: {
|
|
|
897
967
|
size: number;
|
|
898
968
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
899
969
|
} | null;
|
|
900
|
-
isValid: (prop: unknown) => prop is {
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
};
|
|
905
|
-
$$type: "size";
|
|
906
|
-
disabled?: boolean | undefined;
|
|
907
|
-
};
|
|
970
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"size", {
|
|
971
|
+
size: number;
|
|
972
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
973
|
+
}>;
|
|
908
974
|
create: {
|
|
909
975
|
(value: {
|
|
910
976
|
size: number;
|
|
911
977
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
912
|
-
}): {
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
};
|
|
917
|
-
$$type: "size";
|
|
918
|
-
disabled?: boolean | undefined;
|
|
919
|
-
};
|
|
978
|
+
}): TransformablePropValue$1<"size", {
|
|
979
|
+
size: number;
|
|
980
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
981
|
+
}>;
|
|
920
982
|
(value: {
|
|
921
983
|
size: number;
|
|
922
984
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
923
|
-
}, createOptions?: CreateOptions): {
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
};
|
|
928
|
-
$$type: "size";
|
|
929
|
-
disabled?: boolean | undefined;
|
|
930
|
-
};
|
|
985
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"size", {
|
|
986
|
+
size: number;
|
|
987
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
988
|
+
}>;
|
|
931
989
|
(value: (prev?: {
|
|
932
990
|
size: number;
|
|
933
991
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
934
992
|
} | undefined) => {
|
|
935
993
|
size: number;
|
|
936
994
|
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
937
|
-
}, createOptions: CreateOptions): {
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
};
|
|
942
|
-
$$type: "size";
|
|
943
|
-
disabled?: boolean | undefined;
|
|
944
|
-
};
|
|
995
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"size", {
|
|
996
|
+
size: number;
|
|
997
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
998
|
+
}>;
|
|
945
999
|
};
|
|
946
|
-
schema: z.
|
|
947
|
-
$$type: z.ZodLiteral<
|
|
948
|
-
value:
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
1000
|
+
schema: z.ZodObject<{
|
|
1001
|
+
$$type: z.ZodLiteral<"size">;
|
|
1002
|
+
value: z.ZodType<{
|
|
1003
|
+
size: number;
|
|
1004
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1005
|
+
}, z.ZodTypeDef, {
|
|
1006
|
+
size: number;
|
|
1007
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1008
|
+
}>;
|
|
953
1009
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
954
|
-
}
|
|
1010
|
+
}, "strict", z.ZodTypeAny, {
|
|
1011
|
+
$$type: "size";
|
|
1012
|
+
value: {
|
|
1013
|
+
size: number;
|
|
1014
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1015
|
+
};
|
|
1016
|
+
disabled?: boolean | undefined;
|
|
1017
|
+
}, {
|
|
1018
|
+
$$type: "size";
|
|
1019
|
+
value: {
|
|
1020
|
+
size: number;
|
|
1021
|
+
unit: "px" | "em" | "rem" | "%" | "vw" | "vh";
|
|
1022
|
+
};
|
|
1023
|
+
disabled?: boolean | undefined;
|
|
1024
|
+
}>;
|
|
955
1025
|
};
|
|
956
1026
|
type SizePropValue = z.infer<typeof sizePropTypeUtil.schema>;
|
|
957
1027
|
|
|
958
1028
|
declare const stringPropTypeUtil: {
|
|
959
1029
|
extract: (prop: unknown) => string | null;
|
|
960
|
-
isValid: (prop: unknown) => prop is
|
|
961
|
-
value: string | null;
|
|
962
|
-
$$type: "string";
|
|
963
|
-
disabled?: boolean | undefined;
|
|
964
|
-
};
|
|
1030
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"string", string | null>;
|
|
965
1031
|
create: {
|
|
966
|
-
(value: string | null):
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
disabled?: boolean | undefined;
|
|
970
|
-
};
|
|
971
|
-
(value: string | null, createOptions?: CreateOptions): {
|
|
972
|
-
value: string | null;
|
|
973
|
-
$$type: "string";
|
|
974
|
-
disabled?: boolean | undefined;
|
|
975
|
-
};
|
|
976
|
-
(value: (prev?: string | null | undefined) => string | null, createOptions: CreateOptions): {
|
|
977
|
-
value: string | null;
|
|
978
|
-
$$type: "string";
|
|
979
|
-
disabled?: boolean | undefined;
|
|
980
|
-
};
|
|
1032
|
+
(value: string | null): TransformablePropValue$1<"string", string | null>;
|
|
1033
|
+
(value: string | null, createOptions?: CreateOptions): TransformablePropValue$1<"string", string | null>;
|
|
1034
|
+
(value: (prev?: string | null | undefined) => string | null, createOptions: CreateOptions): TransformablePropValue$1<"string", string | null>;
|
|
981
1035
|
};
|
|
982
|
-
schema: z.
|
|
983
|
-
$$type: z.ZodLiteral<
|
|
984
|
-
value:
|
|
1036
|
+
schema: z.ZodObject<{
|
|
1037
|
+
$$type: z.ZodLiteral<"string">;
|
|
1038
|
+
value: z.ZodType<string | null, z.ZodTypeDef, string | null>;
|
|
985
1039
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
986
|
-
}
|
|
987
|
-
$$type:
|
|
988
|
-
value:
|
|
989
|
-
disabled
|
|
990
|
-
}
|
|
1040
|
+
}, "strict", z.ZodTypeAny, {
|
|
1041
|
+
$$type: "string";
|
|
1042
|
+
value: string | null;
|
|
1043
|
+
disabled?: boolean | undefined;
|
|
1044
|
+
}, {
|
|
1045
|
+
$$type: "string";
|
|
1046
|
+
value: string | null;
|
|
1047
|
+
disabled?: boolean | undefined;
|
|
1048
|
+
}>;
|
|
991
1049
|
};
|
|
992
1050
|
type StringPropValue = z.infer<typeof stringPropTypeUtil.schema>;
|
|
993
1051
|
|
|
@@ -996,97 +1054,85 @@ declare const strokePropTypeUtil: {
|
|
|
996
1054
|
color?: any;
|
|
997
1055
|
width?: any;
|
|
998
1056
|
} | null;
|
|
999
|
-
isValid: (prop: unknown) => prop is {
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
};
|
|
1004
|
-
$$type: "stroke";
|
|
1005
|
-
disabled?: boolean | undefined;
|
|
1006
|
-
};
|
|
1057
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"stroke", {
|
|
1058
|
+
color?: any;
|
|
1059
|
+
width?: any;
|
|
1060
|
+
}>;
|
|
1007
1061
|
create: {
|
|
1008
1062
|
(value: {
|
|
1009
1063
|
color?: any;
|
|
1010
1064
|
width?: any;
|
|
1011
|
-
}): {
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
};
|
|
1016
|
-
$$type: "stroke";
|
|
1017
|
-
disabled?: boolean | undefined;
|
|
1018
|
-
};
|
|
1065
|
+
}): TransformablePropValue$1<"stroke", {
|
|
1066
|
+
color?: any;
|
|
1067
|
+
width?: any;
|
|
1068
|
+
}>;
|
|
1019
1069
|
(value: {
|
|
1020
1070
|
color?: any;
|
|
1021
1071
|
width?: any;
|
|
1022
|
-
}, createOptions?: CreateOptions): {
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
};
|
|
1027
|
-
$$type: "stroke";
|
|
1028
|
-
disabled?: boolean | undefined;
|
|
1029
|
-
};
|
|
1072
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"stroke", {
|
|
1073
|
+
color?: any;
|
|
1074
|
+
width?: any;
|
|
1075
|
+
}>;
|
|
1030
1076
|
(value: (prev?: {
|
|
1031
1077
|
color?: any;
|
|
1032
1078
|
width?: any;
|
|
1033
1079
|
} | undefined) => {
|
|
1034
1080
|
color?: any;
|
|
1035
1081
|
width?: any;
|
|
1036
|
-
}, createOptions: CreateOptions): {
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
};
|
|
1041
|
-
$$type: "stroke";
|
|
1042
|
-
disabled?: boolean | undefined;
|
|
1043
|
-
};
|
|
1082
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"stroke", {
|
|
1083
|
+
color?: any;
|
|
1084
|
+
width?: any;
|
|
1085
|
+
}>;
|
|
1044
1086
|
};
|
|
1045
|
-
schema: z.
|
|
1046
|
-
$$type: z.ZodLiteral<
|
|
1047
|
-
value:
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1087
|
+
schema: z.ZodObject<{
|
|
1088
|
+
$$type: z.ZodLiteral<"stroke">;
|
|
1089
|
+
value: z.ZodType<{
|
|
1090
|
+
color?: any;
|
|
1091
|
+
width?: any;
|
|
1092
|
+
}, z.ZodTypeDef, {
|
|
1093
|
+
color?: any;
|
|
1094
|
+
width?: any;
|
|
1095
|
+
}>;
|
|
1052
1096
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1053
|
-
}
|
|
1097
|
+
}, "strict", z.ZodTypeAny, {
|
|
1098
|
+
$$type: "stroke";
|
|
1099
|
+
value: {
|
|
1100
|
+
color?: any;
|
|
1101
|
+
width?: any;
|
|
1102
|
+
};
|
|
1103
|
+
disabled?: boolean | undefined;
|
|
1104
|
+
}, {
|
|
1105
|
+
$$type: "stroke";
|
|
1106
|
+
value: {
|
|
1107
|
+
color?: any;
|
|
1108
|
+
width?: any;
|
|
1109
|
+
};
|
|
1110
|
+
disabled?: boolean | undefined;
|
|
1111
|
+
}>;
|
|
1054
1112
|
};
|
|
1055
1113
|
type StrokePropValue = z.infer<typeof strokePropTypeUtil.schema>;
|
|
1056
1114
|
|
|
1057
1115
|
declare const urlPropTypeUtil: {
|
|
1058
1116
|
extract: (prop: unknown) => string | null;
|
|
1059
|
-
isValid: (prop: unknown) => prop is
|
|
1060
|
-
value: string | null;
|
|
1061
|
-
$$type: "url";
|
|
1062
|
-
disabled?: boolean | undefined;
|
|
1063
|
-
};
|
|
1117
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"url", string | null>;
|
|
1064
1118
|
create: {
|
|
1065
|
-
(value: string | null):
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
disabled?: boolean | undefined;
|
|
1069
|
-
};
|
|
1070
|
-
(value: string | null, createOptions?: CreateOptions): {
|
|
1071
|
-
value: string | null;
|
|
1072
|
-
$$type: "url";
|
|
1073
|
-
disabled?: boolean | undefined;
|
|
1074
|
-
};
|
|
1075
|
-
(value: (prev?: string | null | undefined) => string | null, createOptions: CreateOptions): {
|
|
1076
|
-
value: string | null;
|
|
1077
|
-
$$type: "url";
|
|
1078
|
-
disabled?: boolean | undefined;
|
|
1079
|
-
};
|
|
1119
|
+
(value: string | null): TransformablePropValue$1<"url", string | null>;
|
|
1120
|
+
(value: string | null, createOptions?: CreateOptions): TransformablePropValue$1<"url", string | null>;
|
|
1121
|
+
(value: (prev?: string | null | undefined) => string | null, createOptions: CreateOptions): TransformablePropValue$1<"url", string | null>;
|
|
1080
1122
|
};
|
|
1081
|
-
schema: z.
|
|
1082
|
-
$$type: z.ZodLiteral<
|
|
1083
|
-
value:
|
|
1123
|
+
schema: z.ZodObject<{
|
|
1124
|
+
$$type: z.ZodLiteral<"url">;
|
|
1125
|
+
value: z.ZodType<string | null, z.ZodTypeDef, string | null>;
|
|
1084
1126
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1085
|
-
}
|
|
1086
|
-
$$type:
|
|
1087
|
-
value:
|
|
1088
|
-
disabled
|
|
1089
|
-
}
|
|
1127
|
+
}, "strict", z.ZodTypeAny, {
|
|
1128
|
+
$$type: "url";
|
|
1129
|
+
value: string | null;
|
|
1130
|
+
disabled?: boolean | undefined;
|
|
1131
|
+
}, {
|
|
1132
|
+
$$type: "url";
|
|
1133
|
+
value: string | null;
|
|
1134
|
+
disabled?: boolean | undefined;
|
|
1135
|
+
}>;
|
|
1090
1136
|
};
|
|
1091
1137
|
type UrlPropValue = z.infer<typeof urlPropTypeUtil.schema>;
|
|
1092
1138
|
|
|
@@ -1094,143 +1140,151 @@ declare const colorGradientPropTypeUtil: {
|
|
|
1094
1140
|
extract: (prop: unknown) => {
|
|
1095
1141
|
color?: any;
|
|
1096
1142
|
} | null;
|
|
1097
|
-
isValid: (prop: unknown) => prop is {
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
};
|
|
1101
|
-
$$type: "background-overlay";
|
|
1102
|
-
disabled?: boolean | undefined;
|
|
1103
|
-
};
|
|
1143
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"background-overlay", {
|
|
1144
|
+
color?: any;
|
|
1145
|
+
}>;
|
|
1104
1146
|
create: {
|
|
1105
1147
|
(value: {
|
|
1106
1148
|
color?: any;
|
|
1107
|
-
}): {
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
};
|
|
1111
|
-
$$type: "background-overlay";
|
|
1112
|
-
disabled?: boolean | undefined;
|
|
1113
|
-
};
|
|
1149
|
+
}): TransformablePropValue$1<"background-overlay", {
|
|
1150
|
+
color?: any;
|
|
1151
|
+
}>;
|
|
1114
1152
|
(value: {
|
|
1115
1153
|
color?: any;
|
|
1116
|
-
}, createOptions?: CreateOptions): {
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
};
|
|
1120
|
-
$$type: "background-overlay";
|
|
1121
|
-
disabled?: boolean | undefined;
|
|
1122
|
-
};
|
|
1154
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"background-overlay", {
|
|
1155
|
+
color?: any;
|
|
1156
|
+
}>;
|
|
1123
1157
|
(value: (prev?: {
|
|
1124
1158
|
color?: any;
|
|
1125
1159
|
} | undefined) => {
|
|
1126
1160
|
color?: any;
|
|
1127
|
-
}, createOptions: CreateOptions): {
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
};
|
|
1131
|
-
$$type: "background-overlay";
|
|
1132
|
-
disabled?: boolean | undefined;
|
|
1133
|
-
};
|
|
1161
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"background-overlay", {
|
|
1162
|
+
color?: any;
|
|
1163
|
+
}>;
|
|
1134
1164
|
};
|
|
1135
|
-
schema: z.
|
|
1136
|
-
$$type: z.ZodLiteral<
|
|
1137
|
-
value:
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1165
|
+
schema: z.ZodObject<{
|
|
1166
|
+
$$type: z.ZodLiteral<"background-overlay">;
|
|
1167
|
+
value: z.ZodType<{
|
|
1168
|
+
color?: any;
|
|
1169
|
+
}, z.ZodTypeDef, {
|
|
1170
|
+
color?: any;
|
|
1171
|
+
}>;
|
|
1142
1172
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1143
|
-
}
|
|
1173
|
+
}, "strict", z.ZodTypeAny, {
|
|
1174
|
+
$$type: "background-overlay";
|
|
1175
|
+
value: {
|
|
1176
|
+
color?: any;
|
|
1177
|
+
};
|
|
1178
|
+
disabled?: boolean | undefined;
|
|
1179
|
+
}, {
|
|
1180
|
+
$$type: "background-overlay";
|
|
1181
|
+
value: {
|
|
1182
|
+
color?: any;
|
|
1183
|
+
};
|
|
1184
|
+
disabled?: boolean | undefined;
|
|
1185
|
+
}>;
|
|
1144
1186
|
};
|
|
1145
1187
|
type ColorGradientPropValue = z.infer<typeof colorGradientPropTypeUtil.schema>;
|
|
1146
1188
|
|
|
1147
1189
|
declare const backgroundImagePropTypeUtil: {
|
|
1148
1190
|
extract: (prop: unknown) => {
|
|
1191
|
+
$$type: "background-overlay";
|
|
1149
1192
|
value: {
|
|
1150
1193
|
color?: any;
|
|
1151
1194
|
};
|
|
1152
|
-
$$type: "background-overlay";
|
|
1153
1195
|
disabled?: boolean | undefined;
|
|
1154
1196
|
}[] | null;
|
|
1155
|
-
isValid: (prop: unknown) => prop is {
|
|
1197
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"background-image", {
|
|
1198
|
+
$$type: "background-overlay";
|
|
1156
1199
|
value: {
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
};
|
|
1160
|
-
$$type: "background-overlay";
|
|
1161
|
-
disabled?: boolean | undefined;
|
|
1162
|
-
}[];
|
|
1163
|
-
$$type: "background-image";
|
|
1200
|
+
color?: any;
|
|
1201
|
+
};
|
|
1164
1202
|
disabled?: boolean | undefined;
|
|
1165
|
-
}
|
|
1203
|
+
}[]>;
|
|
1166
1204
|
create: {
|
|
1167
1205
|
(value: {
|
|
1206
|
+
$$type: "background-overlay";
|
|
1168
1207
|
value: {
|
|
1169
1208
|
color?: any;
|
|
1170
1209
|
};
|
|
1171
|
-
$$type: "background-overlay";
|
|
1172
1210
|
disabled?: boolean | undefined;
|
|
1173
|
-
}[]): {
|
|
1211
|
+
}[]): TransformablePropValue$1<"background-image", {
|
|
1212
|
+
$$type: "background-overlay";
|
|
1174
1213
|
value: {
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
};
|
|
1178
|
-
$$type: "background-overlay";
|
|
1179
|
-
disabled?: boolean | undefined;
|
|
1180
|
-
}[];
|
|
1181
|
-
$$type: "background-image";
|
|
1214
|
+
color?: any;
|
|
1215
|
+
};
|
|
1182
1216
|
disabled?: boolean | undefined;
|
|
1183
|
-
}
|
|
1217
|
+
}[]>;
|
|
1184
1218
|
(value: {
|
|
1219
|
+
$$type: "background-overlay";
|
|
1185
1220
|
value: {
|
|
1186
1221
|
color?: any;
|
|
1187
1222
|
};
|
|
1188
|
-
$$type: "background-overlay";
|
|
1189
1223
|
disabled?: boolean | undefined;
|
|
1190
|
-
}[], createOptions?: CreateOptions): {
|
|
1224
|
+
}[], createOptions?: CreateOptions): TransformablePropValue$1<"background-image", {
|
|
1225
|
+
$$type: "background-overlay";
|
|
1191
1226
|
value: {
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
};
|
|
1195
|
-
$$type: "background-overlay";
|
|
1196
|
-
disabled?: boolean | undefined;
|
|
1197
|
-
}[];
|
|
1198
|
-
$$type: "background-image";
|
|
1227
|
+
color?: any;
|
|
1228
|
+
};
|
|
1199
1229
|
disabled?: boolean | undefined;
|
|
1200
|
-
}
|
|
1230
|
+
}[]>;
|
|
1201
1231
|
(value: (prev?: {
|
|
1232
|
+
$$type: "background-overlay";
|
|
1202
1233
|
value: {
|
|
1203
1234
|
color?: any;
|
|
1204
1235
|
};
|
|
1205
|
-
$$type: "background-overlay";
|
|
1206
1236
|
disabled?: boolean | undefined;
|
|
1207
1237
|
}[] | undefined) => {
|
|
1238
|
+
$$type: "background-overlay";
|
|
1208
1239
|
value: {
|
|
1209
1240
|
color?: any;
|
|
1210
1241
|
};
|
|
1211
|
-
$$type: "background-overlay";
|
|
1212
1242
|
disabled?: boolean | undefined;
|
|
1213
|
-
}[], createOptions: CreateOptions): {
|
|
1243
|
+
}[], createOptions: CreateOptions): TransformablePropValue$1<"background-image", {
|
|
1244
|
+
$$type: "background-overlay";
|
|
1214
1245
|
value: {
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
};
|
|
1218
|
-
$$type: "background-overlay";
|
|
1219
|
-
disabled?: boolean | undefined;
|
|
1220
|
-
}[];
|
|
1221
|
-
$$type: "background-image";
|
|
1246
|
+
color?: any;
|
|
1247
|
+
};
|
|
1222
1248
|
disabled?: boolean | undefined;
|
|
1223
|
-
}
|
|
1249
|
+
}[]>;
|
|
1224
1250
|
};
|
|
1225
|
-
schema: z.
|
|
1226
|
-
$$type: z.ZodLiteral<
|
|
1227
|
-
value:
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1251
|
+
schema: z.ZodObject<{
|
|
1252
|
+
$$type: z.ZodLiteral<"background-image">;
|
|
1253
|
+
value: z.ZodType<{
|
|
1254
|
+
$$type: "background-overlay";
|
|
1255
|
+
value: {
|
|
1256
|
+
color?: any;
|
|
1257
|
+
};
|
|
1258
|
+
disabled?: boolean | undefined;
|
|
1259
|
+
}[], z.ZodTypeDef, {
|
|
1260
|
+
$$type: "background-overlay";
|
|
1261
|
+
value: {
|
|
1262
|
+
color?: any;
|
|
1263
|
+
};
|
|
1264
|
+
disabled?: boolean | undefined;
|
|
1265
|
+
}[]>;
|
|
1232
1266
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1233
|
-
}
|
|
1267
|
+
}, "strict", z.ZodTypeAny, {
|
|
1268
|
+
$$type: "background-image";
|
|
1269
|
+
value: {
|
|
1270
|
+
$$type: "background-overlay";
|
|
1271
|
+
value: {
|
|
1272
|
+
color?: any;
|
|
1273
|
+
};
|
|
1274
|
+
disabled?: boolean | undefined;
|
|
1275
|
+
}[];
|
|
1276
|
+
disabled?: boolean | undefined;
|
|
1277
|
+
}, {
|
|
1278
|
+
$$type: "background-image";
|
|
1279
|
+
value: {
|
|
1280
|
+
$$type: "background-overlay";
|
|
1281
|
+
value: {
|
|
1282
|
+
color?: any;
|
|
1283
|
+
};
|
|
1284
|
+
disabled?: boolean | undefined;
|
|
1285
|
+
}[];
|
|
1286
|
+
disabled?: boolean | undefined;
|
|
1287
|
+
}>;
|
|
1234
1288
|
};
|
|
1235
1289
|
type backgroundImageTypePropValue = z.infer<typeof backgroundImagePropTypeUtil.schema>;
|
|
1236
1290
|
|
|
@@ -1238,121 +1292,220 @@ declare const linkPropTypeUtil: {
|
|
|
1238
1292
|
extract: (prop: unknown) => {
|
|
1239
1293
|
enabled: boolean;
|
|
1240
1294
|
href: {
|
|
1241
|
-
value: string | null;
|
|
1242
1295
|
$$type: "url";
|
|
1296
|
+
value: string | null;
|
|
1243
1297
|
disabled?: boolean | undefined;
|
|
1244
1298
|
};
|
|
1245
1299
|
isTargetBlank: boolean;
|
|
1246
1300
|
} | null;
|
|
1247
|
-
isValid: (prop: unknown) => prop is {
|
|
1248
|
-
|
|
1301
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"link", {
|
|
1302
|
+
enabled: boolean;
|
|
1303
|
+
href: {
|
|
1304
|
+
$$type: "url";
|
|
1305
|
+
value: string | null;
|
|
1306
|
+
disabled?: boolean | undefined;
|
|
1307
|
+
};
|
|
1308
|
+
isTargetBlank: boolean;
|
|
1309
|
+
}>;
|
|
1310
|
+
create: {
|
|
1311
|
+
(value: {
|
|
1249
1312
|
enabled: boolean;
|
|
1250
1313
|
href: {
|
|
1314
|
+
$$type: "url";
|
|
1251
1315
|
value: string | null;
|
|
1316
|
+
disabled?: boolean | undefined;
|
|
1317
|
+
};
|
|
1318
|
+
isTargetBlank: boolean;
|
|
1319
|
+
}): TransformablePropValue$1<"link", {
|
|
1320
|
+
enabled: boolean;
|
|
1321
|
+
href: {
|
|
1252
1322
|
$$type: "url";
|
|
1323
|
+
value: string | null;
|
|
1253
1324
|
disabled?: boolean | undefined;
|
|
1254
1325
|
};
|
|
1255
1326
|
isTargetBlank: boolean;
|
|
1256
|
-
}
|
|
1257
|
-
$$type: "link";
|
|
1258
|
-
disabled?: boolean | undefined;
|
|
1259
|
-
};
|
|
1260
|
-
create: {
|
|
1327
|
+
}>;
|
|
1261
1328
|
(value: {
|
|
1262
1329
|
enabled: boolean;
|
|
1263
1330
|
href: {
|
|
1264
|
-
value: string | null;
|
|
1265
1331
|
$$type: "url";
|
|
1332
|
+
value: string | null;
|
|
1266
1333
|
disabled?: boolean | undefined;
|
|
1267
1334
|
};
|
|
1268
1335
|
isTargetBlank: boolean;
|
|
1269
|
-
}): {
|
|
1270
|
-
value: {
|
|
1271
|
-
enabled: boolean;
|
|
1272
|
-
href: {
|
|
1273
|
-
value: string | null;
|
|
1274
|
-
$$type: "url";
|
|
1275
|
-
disabled?: boolean | undefined;
|
|
1276
|
-
};
|
|
1277
|
-
isTargetBlank: boolean;
|
|
1278
|
-
};
|
|
1279
|
-
$$type: "link";
|
|
1280
|
-
disabled?: boolean | undefined;
|
|
1281
|
-
};
|
|
1282
|
-
(value: {
|
|
1336
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"link", {
|
|
1283
1337
|
enabled: boolean;
|
|
1284
1338
|
href: {
|
|
1339
|
+
$$type: "url";
|
|
1285
1340
|
value: string | null;
|
|
1341
|
+
disabled?: boolean | undefined;
|
|
1342
|
+
};
|
|
1343
|
+
isTargetBlank: boolean;
|
|
1344
|
+
}>;
|
|
1345
|
+
(value: (prev?: {
|
|
1346
|
+
enabled: boolean;
|
|
1347
|
+
href: {
|
|
1286
1348
|
$$type: "url";
|
|
1349
|
+
value: string | null;
|
|
1287
1350
|
disabled?: boolean | undefined;
|
|
1288
1351
|
};
|
|
1289
1352
|
isTargetBlank: boolean;
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
disabled?: boolean | undefined;
|
|
1297
|
-
};
|
|
1298
|
-
isTargetBlank: boolean;
|
|
1353
|
+
} | undefined) => {
|
|
1354
|
+
enabled: boolean;
|
|
1355
|
+
href: {
|
|
1356
|
+
$$type: "url";
|
|
1357
|
+
value: string | null;
|
|
1358
|
+
disabled?: boolean | undefined;
|
|
1299
1359
|
};
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
};
|
|
1303
|
-
(value: (prev?: {
|
|
1360
|
+
isTargetBlank: boolean;
|
|
1361
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"link", {
|
|
1304
1362
|
enabled: boolean;
|
|
1305
1363
|
href: {
|
|
1364
|
+
$$type: "url";
|
|
1306
1365
|
value: string | null;
|
|
1366
|
+
disabled?: boolean | undefined;
|
|
1367
|
+
};
|
|
1368
|
+
isTargetBlank: boolean;
|
|
1369
|
+
}>;
|
|
1370
|
+
};
|
|
1371
|
+
schema: z.ZodObject<{
|
|
1372
|
+
$$type: z.ZodLiteral<"link">;
|
|
1373
|
+
value: z.ZodType<{
|
|
1374
|
+
enabled: boolean;
|
|
1375
|
+
href: {
|
|
1307
1376
|
$$type: "url";
|
|
1377
|
+
value: string | null;
|
|
1308
1378
|
disabled?: boolean | undefined;
|
|
1309
1379
|
};
|
|
1310
1380
|
isTargetBlank: boolean;
|
|
1311
|
-
}
|
|
1381
|
+
}, z.ZodTypeDef, {
|
|
1312
1382
|
enabled: boolean;
|
|
1313
1383
|
href: {
|
|
1384
|
+
$$type: "url";
|
|
1314
1385
|
value: string | null;
|
|
1386
|
+
disabled?: boolean | undefined;
|
|
1387
|
+
};
|
|
1388
|
+
isTargetBlank: boolean;
|
|
1389
|
+
}>;
|
|
1390
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1391
|
+
}, "strict", z.ZodTypeAny, {
|
|
1392
|
+
$$type: "link";
|
|
1393
|
+
value: {
|
|
1394
|
+
enabled: boolean;
|
|
1395
|
+
href: {
|
|
1315
1396
|
$$type: "url";
|
|
1397
|
+
value: string | null;
|
|
1316
1398
|
disabled?: boolean | undefined;
|
|
1317
1399
|
};
|
|
1318
1400
|
isTargetBlank: boolean;
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1401
|
+
};
|
|
1402
|
+
disabled?: boolean | undefined;
|
|
1403
|
+
}, {
|
|
1404
|
+
$$type: "link";
|
|
1405
|
+
value: {
|
|
1406
|
+
enabled: boolean;
|
|
1407
|
+
href: {
|
|
1408
|
+
$$type: "url";
|
|
1409
|
+
value: string | null;
|
|
1410
|
+
disabled?: boolean | undefined;
|
|
1328
1411
|
};
|
|
1329
|
-
|
|
1330
|
-
disabled?: boolean | undefined;
|
|
1412
|
+
isTargetBlank: boolean;
|
|
1331
1413
|
};
|
|
1414
|
+
disabled?: boolean | undefined;
|
|
1415
|
+
}>;
|
|
1416
|
+
};
|
|
1417
|
+
type LinkPropValue = z.infer<typeof linkPropTypeUtil.schema>;
|
|
1418
|
+
|
|
1419
|
+
declare const gapPropTypeUtil: {
|
|
1420
|
+
extract: (prop: unknown) => {
|
|
1421
|
+
isLinked: boolean;
|
|
1422
|
+
row?: any;
|
|
1423
|
+
column?: any;
|
|
1424
|
+
} | null;
|
|
1425
|
+
isValid: (prop: unknown) => prop is TransformablePropValue$1<"gap", {
|
|
1426
|
+
isLinked: boolean;
|
|
1427
|
+
row?: any;
|
|
1428
|
+
column?: any;
|
|
1429
|
+
}>;
|
|
1430
|
+
create: {
|
|
1431
|
+
(value: {
|
|
1432
|
+
isLinked: boolean;
|
|
1433
|
+
row?: any;
|
|
1434
|
+
column?: any;
|
|
1435
|
+
}): TransformablePropValue$1<"gap", {
|
|
1436
|
+
isLinked: boolean;
|
|
1437
|
+
row?: any;
|
|
1438
|
+
column?: any;
|
|
1439
|
+
}>;
|
|
1440
|
+
(value: {
|
|
1441
|
+
isLinked: boolean;
|
|
1442
|
+
row?: any;
|
|
1443
|
+
column?: any;
|
|
1444
|
+
}, createOptions?: CreateOptions): TransformablePropValue$1<"gap", {
|
|
1445
|
+
isLinked: boolean;
|
|
1446
|
+
row?: any;
|
|
1447
|
+
column?: any;
|
|
1448
|
+
}>;
|
|
1449
|
+
(value: (prev?: {
|
|
1450
|
+
isLinked: boolean;
|
|
1451
|
+
row?: any;
|
|
1452
|
+
column?: any;
|
|
1453
|
+
} | undefined) => {
|
|
1454
|
+
isLinked: boolean;
|
|
1455
|
+
row?: any;
|
|
1456
|
+
column?: any;
|
|
1457
|
+
}, createOptions: CreateOptions): TransformablePropValue$1<"gap", {
|
|
1458
|
+
isLinked: boolean;
|
|
1459
|
+
row?: any;
|
|
1460
|
+
column?: any;
|
|
1461
|
+
}>;
|
|
1332
1462
|
};
|
|
1333
|
-
schema: z.
|
|
1334
|
-
$$type: z.ZodLiteral<
|
|
1335
|
-
value:
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1463
|
+
schema: z.ZodObject<{
|
|
1464
|
+
$$type: z.ZodLiteral<"gap">;
|
|
1465
|
+
value: z.ZodType<{
|
|
1466
|
+
isLinked: boolean;
|
|
1467
|
+
row?: any;
|
|
1468
|
+
column?: any;
|
|
1469
|
+
}, z.ZodTypeDef, {
|
|
1470
|
+
isLinked: boolean;
|
|
1471
|
+
row?: any;
|
|
1472
|
+
column?: any;
|
|
1473
|
+
}>;
|
|
1340
1474
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1341
|
-
}
|
|
1475
|
+
}, "strict", z.ZodTypeAny, {
|
|
1476
|
+
$$type: "gap";
|
|
1477
|
+
value: {
|
|
1478
|
+
isLinked: boolean;
|
|
1479
|
+
row?: any;
|
|
1480
|
+
column?: any;
|
|
1481
|
+
};
|
|
1482
|
+
disabled?: boolean | undefined;
|
|
1483
|
+
}, {
|
|
1484
|
+
$$type: "gap";
|
|
1485
|
+
value: {
|
|
1486
|
+
isLinked: boolean;
|
|
1487
|
+
row?: any;
|
|
1488
|
+
column?: any;
|
|
1489
|
+
};
|
|
1490
|
+
disabled?: boolean | undefined;
|
|
1491
|
+
}>;
|
|
1342
1492
|
};
|
|
1343
|
-
type
|
|
1493
|
+
type GapPropValue = z.infer<typeof gapPropTypeUtil.schema>;
|
|
1344
1494
|
|
|
1345
1495
|
declare const transformableSchema: z.ZodObject<{
|
|
1346
1496
|
$$type: z.ZodString;
|
|
1347
1497
|
value: z.ZodAny;
|
|
1498
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1348
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1349
1500
|
$$type: string;
|
|
1350
1501
|
value?: any;
|
|
1502
|
+
disabled?: boolean | undefined;
|
|
1351
1503
|
}, {
|
|
1352
1504
|
$$type: string;
|
|
1353
1505
|
value?: any;
|
|
1506
|
+
disabled?: boolean | undefined;
|
|
1354
1507
|
}>;
|
|
1355
1508
|
type TransformablePropValue = z.infer<typeof transformableSchema>;
|
|
1356
1509
|
declare const isTransformable: (value: unknown) => value is TransformablePropValue;
|
|
1357
1510
|
|
|
1358
|
-
export { type ArrayPropType, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, type ClassesPropValue, type ColorGradientPropValue, type ColorPropValue, type CreateOptions, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type LinkPropValue, type LinkedDimensionsPropValue, type NumberPropValue, type ObjectPropType, type PlainPropType, type PlainPropValue, type PlainProps, type PropKey, type PropType, type PropTypeUtil, type PropValue, type Props, type ShadowPropValue, type SizePropValue, type StringPropValue, type StrokePropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue, backgroundImagePropTypeUtil, type backgroundImageTypePropValue, borderRadiusPropTypeUtil, borderWidthPropTypeUtil, boxShadowPropTypeUtil, classesPropTypeUtil, colorGradientPropTypeUtil, colorPropTypeUtil, createPropUtils, imageAttachmentIdPropType, imagePropTypeUtil, imageSrcPropTypeUtil, isTransformable, linkPropTypeUtil, linkedDimensionsPropTypeUtil, numberPropTypeUtil, shadowPropTypeUtil, sizePropTypeUtil, stringPropTypeUtil, strokePropTypeUtil, urlPropTypeUtil };
|
|
1511
|
+
export { type ArrayPropType, type BackgroundOverlayPropTypeUtil, type BorderRadiusPropValue, type BorderWidthPropValue, type BoxShadowPropValue, type ClassesPropValue, type ColorGradientPropValue, type ColorPropValue, type CreateOptions, type GapPropValue, type ImageAttachmentIdPropValue, type ImagePropValue, type ImageSrcPropValue, type LinkPropValue, type LinkedDimensionsPropValue, type NumberPropValue, type ObjectPropType, type PlainPropType, type PlainPropValue, type PlainProps, type PropKey, type PropType, type PropTypeUtil, type PropValue, type Props, type ShadowPropValue, type SizePropValue, type StringPropValue, type StrokePropValue, type TransformablePropType, type TransformablePropValue$1 as TransformablePropValue, type UnionPropType, type UrlPropValue, backgroundImagePropTypeUtil, type backgroundImageTypePropValue, backgroundOverlayPropTypeUtil, borderRadiusPropTypeUtil, borderWidthPropTypeUtil, boxShadowPropTypeUtil, classesPropTypeUtil, colorGradientPropTypeUtil, colorPropTypeUtil, createPropUtils, gapPropTypeUtil, imageAttachmentIdPropType, imagePropTypeUtil, imageSrcPropTypeUtil, isTransformable, linkPropTypeUtil, linkedDimensionsPropTypeUtil, numberPropTypeUtil, shadowPropTypeUtil, sizePropTypeUtil, stringPropTypeUtil, strokePropTypeUtil, urlPropTypeUtil };
|