@elementor/editor-props 4.1.0-817 → 4.1.0-819
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/dist/index.d.mts +26 -1
- package/dist/index.d.ts +26 -1
- package/dist/index.js +93 -87
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +92 -87
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/prop-types/index.ts +1 -0
- package/src/prop-types/span.ts +7 -0
package/dist/index.mjs
CHANGED
|
@@ -238,42 +238,46 @@ var sizePropTypeUtil = createPropUtils(
|
|
|
238
238
|
)
|
|
239
239
|
);
|
|
240
240
|
|
|
241
|
-
// src/prop-types/
|
|
241
|
+
// src/prop-types/span.ts
|
|
242
242
|
import { z as z19 } from "@elementor/schema";
|
|
243
|
-
var
|
|
243
|
+
var spanPropTypeUtil = createPropUtils("span", z19.number().nullable());
|
|
244
|
+
|
|
245
|
+
// src/prop-types/string.ts
|
|
246
|
+
import { z as z20 } from "@elementor/schema";
|
|
247
|
+
var stringPropTypeUtil = createPropUtils("string", z20.string().nullable());
|
|
244
248
|
|
|
245
249
|
// src/prop-types/string-array.ts
|
|
246
250
|
var stringArrayPropTypeUtil = createArrayPropUtils(stringPropTypeUtil.key, stringPropTypeUtil.schema);
|
|
247
251
|
|
|
248
252
|
// src/prop-types/stroke.ts
|
|
249
|
-
import { z as
|
|
253
|
+
import { z as z21 } from "@elementor/schema";
|
|
250
254
|
var strokePropTypeUtil = createPropUtils(
|
|
251
255
|
"stroke",
|
|
252
|
-
|
|
256
|
+
z21.strictObject({
|
|
253
257
|
color: unknownChildrenSchema,
|
|
254
258
|
width: unknownChildrenSchema
|
|
255
259
|
})
|
|
256
260
|
);
|
|
257
261
|
|
|
258
262
|
// src/prop-types/url.ts
|
|
259
|
-
import { z as
|
|
260
|
-
var urlPropTypeUtil = createPropUtils("url",
|
|
263
|
+
import { z as z22 } from "@elementor/schema";
|
|
264
|
+
var urlPropTypeUtil = createPropUtils("url", z22.string().nullable());
|
|
261
265
|
|
|
262
266
|
// src/prop-types/layout-direction.ts
|
|
263
|
-
import { z as
|
|
267
|
+
import { z as z23 } from "@elementor/schema";
|
|
264
268
|
var layoutDirectionPropTypeUtil = createPropUtils(
|
|
265
269
|
"layout-direction",
|
|
266
|
-
|
|
267
|
-
row:
|
|
268
|
-
column:
|
|
270
|
+
z23.object({
|
|
271
|
+
row: z23.any(),
|
|
272
|
+
column: z23.any()
|
|
269
273
|
})
|
|
270
274
|
);
|
|
271
275
|
|
|
272
276
|
// src/prop-types/link.ts
|
|
273
|
-
import { z as
|
|
277
|
+
import { z as z24 } from "@elementor/schema";
|
|
274
278
|
var linkPropTypeUtil = createPropUtils(
|
|
275
279
|
"link",
|
|
276
|
-
|
|
280
|
+
z24.strictObject({
|
|
277
281
|
destination: unknownChildrenSchema,
|
|
278
282
|
isTargetBlank: unknownChildrenSchema,
|
|
279
283
|
tag: unknownChildrenSchema
|
|
@@ -281,10 +285,10 @@ var linkPropTypeUtil = createPropUtils(
|
|
|
281
285
|
);
|
|
282
286
|
|
|
283
287
|
// src/prop-types/email.ts
|
|
284
|
-
import { z as
|
|
288
|
+
import { z as z25 } from "@elementor/schema";
|
|
285
289
|
var emailPropTypeUtil = createPropUtils(
|
|
286
290
|
"email",
|
|
287
|
-
|
|
291
|
+
z25.strictObject({
|
|
288
292
|
to: unknownChildrenSchema,
|
|
289
293
|
subject: unknownChildrenSchema,
|
|
290
294
|
message: unknownChildrenSchema,
|
|
@@ -299,13 +303,13 @@ var emailPropTypeUtil = createPropUtils(
|
|
|
299
303
|
);
|
|
300
304
|
|
|
301
305
|
// src/prop-types/selection-size.ts
|
|
302
|
-
import { z as
|
|
306
|
+
import { z as z27 } from "@elementor/schema";
|
|
303
307
|
|
|
304
308
|
// src/prop-types/key-value.ts
|
|
305
|
-
import { z as
|
|
309
|
+
import { z as z26 } from "@elementor/schema";
|
|
306
310
|
var keyValuePropTypeUtil = createPropUtils(
|
|
307
311
|
"key-value",
|
|
308
|
-
|
|
312
|
+
z26.strictObject({
|
|
309
313
|
key: unknownChildrenSchema,
|
|
310
314
|
value: unknownChildrenSchema
|
|
311
315
|
})
|
|
@@ -314,17 +318,17 @@ var keyValuePropTypeUtil = createPropUtils(
|
|
|
314
318
|
// src/prop-types/selection-size.ts
|
|
315
319
|
var selectionSizePropTypeUtil = createPropUtils(
|
|
316
320
|
"selection-size",
|
|
317
|
-
|
|
318
|
-
selection:
|
|
321
|
+
z27.strictObject({
|
|
322
|
+
selection: z27.union([keyValuePropTypeUtil.schema, stringPropTypeUtil.schema]),
|
|
319
323
|
size: unknownChildrenSchema
|
|
320
324
|
})
|
|
321
325
|
);
|
|
322
326
|
|
|
323
327
|
// src/prop-types/background-prop-types/background.ts
|
|
324
|
-
import { z as
|
|
328
|
+
import { z as z28 } from "@elementor/schema";
|
|
325
329
|
var backgroundPropTypeUtil = createPropUtils(
|
|
326
330
|
"background",
|
|
327
|
-
|
|
331
|
+
z28.strictObject({
|
|
328
332
|
color: unknownChildrenSchema,
|
|
329
333
|
clip: unknownChildrenSchema,
|
|
330
334
|
"background-overlay": unknownChildrenSchema
|
|
@@ -332,7 +336,7 @@ var backgroundPropTypeUtil = createPropUtils(
|
|
|
332
336
|
);
|
|
333
337
|
|
|
334
338
|
// src/prop-types/background-prop-types/background-overlay.ts
|
|
335
|
-
import { z as
|
|
339
|
+
import { z as z29 } from "@elementor/schema";
|
|
336
340
|
|
|
337
341
|
// src/prop-types/background-prop-types/background-color-overlay.ts
|
|
338
342
|
var backgroundColorOverlayPropTypeUtil = createPropUtils("background-color-overlay", unknownChildrenSchema);
|
|
@@ -348,7 +352,7 @@ var backgroundImageOverlayPropTypeUtil = createPropUtils("background-image-overl
|
|
|
348
352
|
|
|
349
353
|
// src/prop-types/background-prop-types/background-overlay.ts
|
|
350
354
|
var backgroundOverlayItem = backgroundColorOverlayPropTypeUtil.schema.or(backgroundGradientOverlayPropTypeUtil.schema).or(backgroundImageOverlayPropTypeUtil.schema);
|
|
351
|
-
var backgroundOverlayPropTypeUtil = createPropUtils("background-overlay",
|
|
355
|
+
var backgroundOverlayPropTypeUtil = createPropUtils("background-overlay", z29.array(backgroundOverlayItem));
|
|
352
356
|
|
|
353
357
|
// src/prop-types/background-prop-types/background-image-position-offset.ts
|
|
354
358
|
var backgroundImagePositionOffsetPropTypeUtil = createPropUtils(
|
|
@@ -363,92 +367,92 @@ var backgroundImageSizeScalePropTypeUtil = createPropUtils(
|
|
|
363
367
|
);
|
|
364
368
|
|
|
365
369
|
// src/prop-types/boolean.ts
|
|
366
|
-
import { z as
|
|
367
|
-
var booleanPropTypeUtil = createPropUtils("boolean",
|
|
370
|
+
import { z as z30 } from "@elementor/schema";
|
|
371
|
+
var booleanPropTypeUtil = createPropUtils("boolean", z30.boolean().nullable());
|
|
368
372
|
|
|
369
373
|
// src/prop-types/color-stop.ts
|
|
370
|
-
import { z as
|
|
374
|
+
import { z as z31 } from "@elementor/schema";
|
|
371
375
|
var colorStopPropTypeUtil = createPropUtils(
|
|
372
376
|
"color-stop",
|
|
373
|
-
|
|
377
|
+
z31.strictObject({
|
|
374
378
|
color: unknownChildrenSchema,
|
|
375
379
|
offset: unknownChildrenSchema
|
|
376
380
|
})
|
|
377
381
|
);
|
|
378
382
|
|
|
379
383
|
// src/prop-types/gradient-color-stop.ts
|
|
380
|
-
import { z as
|
|
384
|
+
import { z as z32 } from "@elementor/schema";
|
|
381
385
|
var gradientColorStopPropTypeUtil = createPropUtils(
|
|
382
386
|
"gradient-color-stop",
|
|
383
|
-
|
|
387
|
+
z32.array(colorStopPropTypeUtil.schema)
|
|
384
388
|
);
|
|
385
389
|
|
|
386
390
|
// src/prop-types/date-time.ts
|
|
387
|
-
import { z as
|
|
391
|
+
import { z as z33 } from "@elementor/schema";
|
|
388
392
|
var DateTimePropTypeUtil = createPropUtils(
|
|
389
393
|
"date-time",
|
|
390
|
-
|
|
394
|
+
z33.strictObject({
|
|
391
395
|
date: unknownChildrenSchema,
|
|
392
396
|
time: unknownChildrenSchema
|
|
393
397
|
})
|
|
394
398
|
);
|
|
395
399
|
|
|
396
400
|
// src/prop-types/position.ts
|
|
397
|
-
import { z as
|
|
401
|
+
import { z as z34 } from "@elementor/schema";
|
|
398
402
|
var positionPropTypeUtil = createPropUtils(
|
|
399
403
|
"object-position",
|
|
400
|
-
|
|
404
|
+
z34.strictObject({
|
|
401
405
|
x: unknownChildrenSchema,
|
|
402
406
|
y: unknownChildrenSchema
|
|
403
407
|
})
|
|
404
408
|
);
|
|
405
409
|
|
|
406
410
|
// src/prop-types/query.ts
|
|
407
|
-
import { z as
|
|
411
|
+
import { z as z35 } from "@elementor/schema";
|
|
408
412
|
var queryPropTypeUtil = createPropUtils(
|
|
409
413
|
"query",
|
|
410
|
-
|
|
414
|
+
z35.strictObject({
|
|
411
415
|
id: unknownChildrenSchema,
|
|
412
416
|
label: unknownChildrenSchema
|
|
413
417
|
})
|
|
414
418
|
);
|
|
415
419
|
|
|
416
420
|
// src/prop-types/html.ts
|
|
417
|
-
import { z as
|
|
418
|
-
var htmlPropTypeUtil = createPropUtils("html",
|
|
421
|
+
import { z as z36 } from "@elementor/schema";
|
|
422
|
+
var htmlPropTypeUtil = createPropUtils("html", z36.string().nullable());
|
|
419
423
|
|
|
420
424
|
// src/prop-types/html-v2.ts
|
|
421
|
-
import { z as
|
|
422
|
-
var childElementSchema =
|
|
423
|
-
() =>
|
|
424
|
-
id:
|
|
425
|
-
type:
|
|
426
|
-
content:
|
|
427
|
-
children:
|
|
425
|
+
import { z as z37 } from "@elementor/schema";
|
|
426
|
+
var childElementSchema = z37.lazy(
|
|
427
|
+
() => z37.object({
|
|
428
|
+
id: z37.string(),
|
|
429
|
+
type: z37.string(),
|
|
430
|
+
content: z37.string().optional(),
|
|
431
|
+
children: z37.array(childElementSchema).optional()
|
|
428
432
|
})
|
|
429
433
|
);
|
|
430
|
-
var htmlV2ValueSchema =
|
|
431
|
-
content:
|
|
432
|
-
children:
|
|
434
|
+
var htmlV2ValueSchema = z37.object({
|
|
435
|
+
content: z37.string().nullable(),
|
|
436
|
+
children: z37.array(childElementSchema)
|
|
433
437
|
});
|
|
434
438
|
var htmlV2PropTypeUtil = createPropUtils("html-v2", htmlV2ValueSchema);
|
|
435
439
|
|
|
436
440
|
// src/prop-types/html-v3.ts
|
|
437
|
-
import { z as
|
|
438
|
-
var htmlV3ValueSchema =
|
|
441
|
+
import { z as z38 } from "@elementor/schema";
|
|
442
|
+
var htmlV3ValueSchema = z38.object({
|
|
439
443
|
content: stringPropTypeUtil.schema.nullable(),
|
|
440
|
-
children:
|
|
444
|
+
children: z38.array(z38.unknown())
|
|
441
445
|
});
|
|
442
446
|
var htmlV3PropTypeUtil = createPropUtils("html-v3", htmlV3ValueSchema);
|
|
443
447
|
|
|
444
448
|
// src/prop-types/filter-prop-types/filter.ts
|
|
445
|
-
import { z as
|
|
449
|
+
import { z as z44 } from "@elementor/schema";
|
|
446
450
|
|
|
447
451
|
// src/prop-types/filter-prop-types/drop-shadow-filter.ts
|
|
448
|
-
import { z as
|
|
452
|
+
import { z as z39 } from "@elementor/schema";
|
|
449
453
|
var dropShadowFilterPropTypeUtil = createPropUtils(
|
|
450
454
|
"drop-shadow",
|
|
451
|
-
|
|
455
|
+
z39.object({
|
|
452
456
|
xAxis: unknownChildrenSchema,
|
|
453
457
|
yAxis: unknownChildrenSchema,
|
|
454
458
|
blur: unknownChildrenSchema,
|
|
@@ -457,37 +461,37 @@ var dropShadowFilterPropTypeUtil = createPropUtils(
|
|
|
457
461
|
);
|
|
458
462
|
|
|
459
463
|
// src/prop-types/filter-prop-types/filter-functions/blur-filter.ts
|
|
460
|
-
import { z as
|
|
464
|
+
import { z as z40 } from "@elementor/schema";
|
|
461
465
|
var blurFilterPropTypeUtil = createPropUtils(
|
|
462
466
|
"blur",
|
|
463
|
-
|
|
467
|
+
z40.strictObject({
|
|
464
468
|
size: unknownChildrenSchema
|
|
465
469
|
})
|
|
466
470
|
);
|
|
467
471
|
|
|
468
472
|
// src/prop-types/filter-prop-types/filter-functions/color-tone-filter.ts
|
|
469
|
-
import { z as
|
|
473
|
+
import { z as z41 } from "@elementor/schema";
|
|
470
474
|
var colorToneFilterPropTypeUtil = createPropUtils(
|
|
471
475
|
"color-tone",
|
|
472
|
-
|
|
476
|
+
z41.strictObject({
|
|
473
477
|
size: unknownChildrenSchema
|
|
474
478
|
})
|
|
475
479
|
);
|
|
476
480
|
|
|
477
481
|
// src/prop-types/filter-prop-types/filter-functions/hue-rotate-filter.ts
|
|
478
|
-
import { z as
|
|
482
|
+
import { z as z42 } from "@elementor/schema";
|
|
479
483
|
var hueRotateFilterPropTypeUtil = createPropUtils(
|
|
480
484
|
"hue-rotate",
|
|
481
|
-
|
|
485
|
+
z42.strictObject({
|
|
482
486
|
size: unknownChildrenSchema
|
|
483
487
|
})
|
|
484
488
|
);
|
|
485
489
|
|
|
486
490
|
// src/prop-types/filter-prop-types/filter-functions/intensity-filter.ts
|
|
487
|
-
import { z as
|
|
491
|
+
import { z as z43 } from "@elementor/schema";
|
|
488
492
|
var intensityFilterPropTypeUtil = createPropUtils(
|
|
489
493
|
"intensity",
|
|
490
|
-
|
|
494
|
+
z43.strictObject({
|
|
491
495
|
size: unknownChildrenSchema
|
|
492
496
|
})
|
|
493
497
|
);
|
|
@@ -495,9 +499,9 @@ var intensityFilterPropTypeUtil = createPropUtils(
|
|
|
495
499
|
// src/prop-types/filter-prop-types/filter.ts
|
|
496
500
|
var cssFilterFunctionPropUtil = createPropUtils(
|
|
497
501
|
"css-filter-func",
|
|
498
|
-
|
|
502
|
+
z44.object({
|
|
499
503
|
func: stringPropTypeUtil.schema,
|
|
500
|
-
args:
|
|
504
|
+
args: z44.union([
|
|
501
505
|
blurFilterPropTypeUtil.schema,
|
|
502
506
|
intensityFilterPropTypeUtil.schema,
|
|
503
507
|
colorToneFilterPropTypeUtil.schema,
|
|
@@ -506,13 +510,13 @@ var cssFilterFunctionPropUtil = createPropUtils(
|
|
|
506
510
|
])
|
|
507
511
|
})
|
|
508
512
|
);
|
|
509
|
-
var filterPropTypeUtil = createPropUtils("filter",
|
|
513
|
+
var filterPropTypeUtil = createPropUtils("filter", z44.array(cssFilterFunctionPropUtil.schema));
|
|
510
514
|
|
|
511
515
|
// src/prop-types/transform-prop-types/transform.ts
|
|
512
|
-
import { z as
|
|
516
|
+
import { z as z45 } from "@elementor/schema";
|
|
513
517
|
var transformPropTypeUtil = createPropUtils(
|
|
514
518
|
"transform",
|
|
515
|
-
|
|
519
|
+
z45.strictObject({
|
|
516
520
|
"transform-functions": unknownChildrenSchema,
|
|
517
521
|
"transform-origin": unknownChildrenSchema,
|
|
518
522
|
perspective: unknownChildrenSchema,
|
|
@@ -521,10 +525,10 @@ var transformPropTypeUtil = createPropUtils(
|
|
|
521
525
|
);
|
|
522
526
|
|
|
523
527
|
// src/prop-types/transform-prop-types/transform-functions.ts
|
|
524
|
-
import { z as
|
|
528
|
+
import { z as z50 } from "@elementor/schema";
|
|
525
529
|
|
|
526
530
|
// src/prop-types/transform-prop-types/transform-functions/move-transform.ts
|
|
527
|
-
import { z as
|
|
531
|
+
import { z as z46 } from "@elementor/schema";
|
|
528
532
|
|
|
529
533
|
// src/prop-types/transform-prop-types/types.ts
|
|
530
534
|
var TransformFunctionKeys = {
|
|
@@ -537,7 +541,7 @@ var TransformFunctionKeys = {
|
|
|
537
541
|
// src/prop-types/transform-prop-types/transform-functions/move-transform.ts
|
|
538
542
|
var moveTransformPropTypeUtil = createPropUtils(
|
|
539
543
|
TransformFunctionKeys.move,
|
|
540
|
-
|
|
544
|
+
z46.strictObject({
|
|
541
545
|
x: unknownChildrenSchema,
|
|
542
546
|
y: unknownChildrenSchema,
|
|
543
547
|
z: unknownChildrenSchema
|
|
@@ -545,10 +549,10 @@ var moveTransformPropTypeUtil = createPropUtils(
|
|
|
545
549
|
);
|
|
546
550
|
|
|
547
551
|
// src/prop-types/transform-prop-types/transform-functions/rotate-transform.ts
|
|
548
|
-
import { z as
|
|
552
|
+
import { z as z47 } from "@elementor/schema";
|
|
549
553
|
var rotateTransformPropTypeUtil = createPropUtils(
|
|
550
554
|
TransformFunctionKeys.rotate,
|
|
551
|
-
|
|
555
|
+
z47.strictObject({
|
|
552
556
|
x: unknownChildrenSchema,
|
|
553
557
|
y: unknownChildrenSchema,
|
|
554
558
|
z: unknownChildrenSchema
|
|
@@ -556,10 +560,10 @@ var rotateTransformPropTypeUtil = createPropUtils(
|
|
|
556
560
|
);
|
|
557
561
|
|
|
558
562
|
// src/prop-types/transform-prop-types/transform-functions/scale-transform.ts
|
|
559
|
-
import { z as
|
|
563
|
+
import { z as z48 } from "@elementor/schema";
|
|
560
564
|
var scaleTransformPropTypeUtil = createPropUtils(
|
|
561
565
|
TransformFunctionKeys.scale,
|
|
562
|
-
|
|
566
|
+
z48.strictObject({
|
|
563
567
|
x: numberPropTypeUtil.schema.nullable(),
|
|
564
568
|
y: numberPropTypeUtil.schema.nullable(),
|
|
565
569
|
z: numberPropTypeUtil.schema.nullable()
|
|
@@ -567,10 +571,10 @@ var scaleTransformPropTypeUtil = createPropUtils(
|
|
|
567
571
|
);
|
|
568
572
|
|
|
569
573
|
// src/prop-types/transform-prop-types/transform-functions/skew-transform.ts
|
|
570
|
-
import { z as
|
|
574
|
+
import { z as z49 } from "@elementor/schema";
|
|
571
575
|
var skewTransformPropTypeUtil = createPropUtils(
|
|
572
576
|
TransformFunctionKeys.skew,
|
|
573
|
-
|
|
577
|
+
z49.strictObject({
|
|
574
578
|
x: unknownChildrenSchema,
|
|
575
579
|
y: unknownChildrenSchema
|
|
576
580
|
})
|
|
@@ -578,13 +582,13 @@ var skewTransformPropTypeUtil = createPropUtils(
|
|
|
578
582
|
|
|
579
583
|
// src/prop-types/transform-prop-types/transform-functions.ts
|
|
580
584
|
var filterTypes = moveTransformPropTypeUtil.schema.or(scaleTransformPropTypeUtil.schema).or(rotateTransformPropTypeUtil.schema).or(skewTransformPropTypeUtil.schema);
|
|
581
|
-
var transformFunctionsPropTypeUtil = createPropUtils("transform-functions",
|
|
585
|
+
var transformFunctionsPropTypeUtil = createPropUtils("transform-functions", z50.array(filterTypes));
|
|
582
586
|
|
|
583
587
|
// src/prop-types/transform-prop-types/transform-origin.ts
|
|
584
|
-
import { z as
|
|
588
|
+
import { z as z51 } from "@elementor/schema";
|
|
585
589
|
var transformOriginPropTypeUtil = createPropUtils(
|
|
586
590
|
"transform-origin",
|
|
587
|
-
|
|
591
|
+
z51.strictObject({
|
|
588
592
|
x: unknownChildrenSchema,
|
|
589
593
|
y: unknownChildrenSchema,
|
|
590
594
|
z: unknownChildrenSchema
|
|
@@ -592,20 +596,20 @@ var transformOriginPropTypeUtil = createPropUtils(
|
|
|
592
596
|
);
|
|
593
597
|
|
|
594
598
|
// src/prop-types/transform-prop-types/perspective-origin.ts
|
|
595
|
-
import { z as
|
|
599
|
+
import { z as z52 } from "@elementor/schema";
|
|
596
600
|
var perspectiveOriginPropTypeUtil = createPropUtils(
|
|
597
601
|
"perspective-origin",
|
|
598
|
-
|
|
602
|
+
z52.strictObject({
|
|
599
603
|
x: unknownChildrenSchema,
|
|
600
604
|
y: unknownChildrenSchema
|
|
601
605
|
})
|
|
602
606
|
);
|
|
603
607
|
|
|
604
608
|
// src/prop-types/filter-prop-types/backdrop-filter.ts
|
|
605
|
-
import { z as
|
|
609
|
+
import { z as z53 } from "@elementor/schema";
|
|
606
610
|
var backdropFilterPropTypeUtil = createPropUtils(
|
|
607
611
|
"backdrop-filter",
|
|
608
|
-
|
|
612
|
+
z53.array(cssFilterFunctionPropUtil.schema)
|
|
609
613
|
);
|
|
610
614
|
|
|
611
615
|
// src/utils/adjust-llm-prop-value-schema.ts
|
|
@@ -1030,11 +1034,11 @@ var validatePropValue = (schema, value) => {
|
|
|
1030
1034
|
};
|
|
1031
1035
|
|
|
1032
1036
|
// src/utils/is-transformable.ts
|
|
1033
|
-
import { z as
|
|
1034
|
-
var transformableSchema =
|
|
1035
|
-
$$type:
|
|
1036
|
-
value:
|
|
1037
|
-
disabled:
|
|
1037
|
+
import { z as z54 } from "@elementor/schema";
|
|
1038
|
+
var transformableSchema = z54.object({
|
|
1039
|
+
$$type: z54.string(),
|
|
1040
|
+
value: z54.any(),
|
|
1041
|
+
disabled: z54.boolean().optional()
|
|
1038
1042
|
});
|
|
1039
1043
|
var isTransformable = (value) => {
|
|
1040
1044
|
return transformableSchema.safeParse(value).success;
|
|
@@ -1304,6 +1308,7 @@ export {
|
|
|
1304
1308
|
shadowPropTypeUtil,
|
|
1305
1309
|
sizePropTypeUtil,
|
|
1306
1310
|
skewTransformPropTypeUtil,
|
|
1311
|
+
spanPropTypeUtil,
|
|
1307
1312
|
stringArrayPropTypeUtil,
|
|
1308
1313
|
stringPropTypeUtil,
|
|
1309
1314
|
strokePropTypeUtil,
|