@elementor/editor-props 4.2.0-868 → 4.2.0-870
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 +169 -1
- package/dist/index.d.ts +169 -1
- package/dist/index.js +105 -85
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +104 -85
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/prop-types/emails.ts +22 -0
- package/src/prop-types/index.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -304,14 +304,32 @@ var emailPropTypeUtil = createPropUtils(
|
|
|
304
304
|
})
|
|
305
305
|
);
|
|
306
306
|
|
|
307
|
+
// src/prop-types/emails.ts
|
|
308
|
+
import { z as z26 } from "@elementor/schema";
|
|
309
|
+
var emailsPropTypeUtil = createPropUtils(
|
|
310
|
+
"emails",
|
|
311
|
+
z26.strictObject({
|
|
312
|
+
to: unknownChildrenSchema,
|
|
313
|
+
subject: unknownChildrenSchema,
|
|
314
|
+
message: unknownChildrenSchema,
|
|
315
|
+
from: unknownChildrenSchema,
|
|
316
|
+
"meta-data": unknownChildrenSchema,
|
|
317
|
+
"send-as": unknownChildrenSchema,
|
|
318
|
+
"from-name": unknownChildrenSchema,
|
|
319
|
+
"reply-to": unknownChildrenSchema,
|
|
320
|
+
cc: unknownChildrenSchema,
|
|
321
|
+
bcc: unknownChildrenSchema
|
|
322
|
+
})
|
|
323
|
+
);
|
|
324
|
+
|
|
307
325
|
// src/prop-types/selection-size.ts
|
|
308
|
-
import { z as
|
|
326
|
+
import { z as z28 } from "@elementor/schema";
|
|
309
327
|
|
|
310
328
|
// src/prop-types/key-value.ts
|
|
311
|
-
import { z as
|
|
329
|
+
import { z as z27 } from "@elementor/schema";
|
|
312
330
|
var keyValuePropTypeUtil = createPropUtils(
|
|
313
331
|
"key-value",
|
|
314
|
-
|
|
332
|
+
z27.strictObject({
|
|
315
333
|
key: unknownChildrenSchema,
|
|
316
334
|
value: unknownChildrenSchema
|
|
317
335
|
})
|
|
@@ -320,17 +338,17 @@ var keyValuePropTypeUtil = createPropUtils(
|
|
|
320
338
|
// src/prop-types/selection-size.ts
|
|
321
339
|
var selectionSizePropTypeUtil = createPropUtils(
|
|
322
340
|
"selection-size",
|
|
323
|
-
|
|
324
|
-
selection:
|
|
341
|
+
z28.strictObject({
|
|
342
|
+
selection: z28.union([keyValuePropTypeUtil.schema, stringPropTypeUtil.schema]),
|
|
325
343
|
size: unknownChildrenSchema
|
|
326
344
|
})
|
|
327
345
|
);
|
|
328
346
|
|
|
329
347
|
// src/prop-types/background-prop-types/background.ts
|
|
330
|
-
import { z as
|
|
348
|
+
import { z as z29 } from "@elementor/schema";
|
|
331
349
|
var backgroundPropTypeUtil = createPropUtils(
|
|
332
350
|
"background",
|
|
333
|
-
|
|
351
|
+
z29.strictObject({
|
|
334
352
|
color: unknownChildrenSchema,
|
|
335
353
|
clip: unknownChildrenSchema,
|
|
336
354
|
"background-overlay": unknownChildrenSchema
|
|
@@ -338,7 +356,7 @@ var backgroundPropTypeUtil = createPropUtils(
|
|
|
338
356
|
);
|
|
339
357
|
|
|
340
358
|
// src/prop-types/background-prop-types/background-overlay.ts
|
|
341
|
-
import { z as
|
|
359
|
+
import { z as z30 } from "@elementor/schema";
|
|
342
360
|
|
|
343
361
|
// src/prop-types/background-prop-types/background-color-overlay.ts
|
|
344
362
|
var backgroundColorOverlayPropTypeUtil = createPropUtils("background-color-overlay", unknownChildrenSchema);
|
|
@@ -354,7 +372,7 @@ var backgroundImageOverlayPropTypeUtil = createPropUtils("background-image-overl
|
|
|
354
372
|
|
|
355
373
|
// src/prop-types/background-prop-types/background-overlay.ts
|
|
356
374
|
var backgroundOverlayItem = backgroundColorOverlayPropTypeUtil.schema.or(backgroundGradientOverlayPropTypeUtil.schema).or(backgroundImageOverlayPropTypeUtil.schema);
|
|
357
|
-
var backgroundOverlayPropTypeUtil = createPropUtils("background-overlay",
|
|
375
|
+
var backgroundOverlayPropTypeUtil = createPropUtils("background-overlay", z30.array(backgroundOverlayItem));
|
|
358
376
|
|
|
359
377
|
// src/prop-types/background-prop-types/background-image-position-offset.ts
|
|
360
378
|
var backgroundImagePositionOffsetPropTypeUtil = createPropUtils(
|
|
@@ -369,71 +387,71 @@ var backgroundImageSizeScalePropTypeUtil = createPropUtils(
|
|
|
369
387
|
);
|
|
370
388
|
|
|
371
389
|
// src/prop-types/boolean.ts
|
|
372
|
-
import { z as
|
|
373
|
-
var booleanPropTypeUtil = createPropUtils("boolean",
|
|
390
|
+
import { z as z31 } from "@elementor/schema";
|
|
391
|
+
var booleanPropTypeUtil = createPropUtils("boolean", z31.boolean().nullable());
|
|
374
392
|
|
|
375
393
|
// src/prop-types/color-stop.ts
|
|
376
|
-
import { z as
|
|
394
|
+
import { z as z32 } from "@elementor/schema";
|
|
377
395
|
var colorStopPropTypeUtil = createPropUtils(
|
|
378
396
|
"color-stop",
|
|
379
|
-
|
|
397
|
+
z32.strictObject({
|
|
380
398
|
color: unknownChildrenSchema,
|
|
381
399
|
offset: unknownChildrenSchema
|
|
382
400
|
})
|
|
383
401
|
);
|
|
384
402
|
|
|
385
403
|
// src/prop-types/gradient-color-stop.ts
|
|
386
|
-
import { z as
|
|
404
|
+
import { z as z33 } from "@elementor/schema";
|
|
387
405
|
var gradientColorStopPropTypeUtil = createPropUtils(
|
|
388
406
|
"gradient-color-stop",
|
|
389
|
-
|
|
407
|
+
z33.array(colorStopPropTypeUtil.schema)
|
|
390
408
|
);
|
|
391
409
|
|
|
392
410
|
// src/prop-types/number-range.ts
|
|
393
|
-
import { z as
|
|
411
|
+
import { z as z34 } from "@elementor/schema";
|
|
394
412
|
var numberRangePropTypeUtil = createPropUtils(
|
|
395
413
|
"number-range",
|
|
396
|
-
|
|
414
|
+
z34.strictObject({
|
|
397
415
|
min: unknownChildrenSchema,
|
|
398
416
|
max: unknownChildrenSchema
|
|
399
417
|
})
|
|
400
418
|
);
|
|
401
419
|
|
|
402
420
|
// src/prop-types/date-time.ts
|
|
403
|
-
import { z as
|
|
421
|
+
import { z as z35 } from "@elementor/schema";
|
|
404
422
|
var DateTimePropTypeUtil = createPropUtils(
|
|
405
423
|
"date-time",
|
|
406
|
-
|
|
424
|
+
z35.strictObject({
|
|
407
425
|
date: unknownChildrenSchema,
|
|
408
426
|
time: unknownChildrenSchema
|
|
409
427
|
})
|
|
410
428
|
);
|
|
411
429
|
|
|
412
430
|
// src/prop-types/position.ts
|
|
413
|
-
import { z as
|
|
431
|
+
import { z as z36 } from "@elementor/schema";
|
|
414
432
|
var positionPropTypeUtil = createPropUtils(
|
|
415
433
|
"object-position",
|
|
416
|
-
|
|
434
|
+
z36.strictObject({
|
|
417
435
|
x: unknownChildrenSchema,
|
|
418
436
|
y: unknownChildrenSchema
|
|
419
437
|
})
|
|
420
438
|
);
|
|
421
439
|
|
|
422
440
|
// src/prop-types/query.ts
|
|
423
|
-
import { z as
|
|
441
|
+
import { z as z37 } from "@elementor/schema";
|
|
424
442
|
var queryPropTypeUtil = createPropUtils(
|
|
425
443
|
"query",
|
|
426
|
-
|
|
444
|
+
z37.strictObject({
|
|
427
445
|
id: unknownChildrenSchema,
|
|
428
446
|
label: unknownChildrenSchema
|
|
429
447
|
})
|
|
430
448
|
);
|
|
431
449
|
|
|
432
450
|
// src/prop-types/query-filter.ts
|
|
433
|
-
import { z as
|
|
451
|
+
import { z as z38 } from "@elementor/schema";
|
|
434
452
|
var queryFilterPropTypeUtil = createPropUtils(
|
|
435
453
|
"query-filter",
|
|
436
|
-
|
|
454
|
+
z38.strictObject({
|
|
437
455
|
key: unknownChildrenSchema,
|
|
438
456
|
values: unknownChildrenSchema
|
|
439
457
|
})
|
|
@@ -444,41 +462,41 @@ var queryFilterArrayPropTypeUtil = createArrayPropUtils(
|
|
|
444
462
|
);
|
|
445
463
|
|
|
446
464
|
// src/prop-types/html.ts
|
|
447
|
-
import { z as
|
|
448
|
-
var htmlPropTypeUtil = createPropUtils("html",
|
|
465
|
+
import { z as z39 } from "@elementor/schema";
|
|
466
|
+
var htmlPropTypeUtil = createPropUtils("html", z39.string().nullable());
|
|
449
467
|
|
|
450
468
|
// src/prop-types/html-v2.ts
|
|
451
|
-
import { z as
|
|
452
|
-
var childElementSchema =
|
|
453
|
-
() =>
|
|
454
|
-
id:
|
|
455
|
-
type:
|
|
456
|
-
content:
|
|
457
|
-
children:
|
|
469
|
+
import { z as z40 } from "@elementor/schema";
|
|
470
|
+
var childElementSchema = z40.lazy(
|
|
471
|
+
() => z40.object({
|
|
472
|
+
id: z40.string(),
|
|
473
|
+
type: z40.string(),
|
|
474
|
+
content: z40.string().optional(),
|
|
475
|
+
children: z40.array(childElementSchema).optional()
|
|
458
476
|
})
|
|
459
477
|
);
|
|
460
|
-
var htmlV2ValueSchema =
|
|
461
|
-
content:
|
|
462
|
-
children:
|
|
478
|
+
var htmlV2ValueSchema = z40.object({
|
|
479
|
+
content: z40.string().nullable(),
|
|
480
|
+
children: z40.array(childElementSchema)
|
|
463
481
|
});
|
|
464
482
|
var htmlV2PropTypeUtil = createPropUtils("html-v2", htmlV2ValueSchema);
|
|
465
483
|
|
|
466
484
|
// src/prop-types/html-v3.ts
|
|
467
|
-
import { z as
|
|
468
|
-
var htmlV3ValueSchema =
|
|
485
|
+
import { z as z41 } from "@elementor/schema";
|
|
486
|
+
var htmlV3ValueSchema = z41.object({
|
|
469
487
|
content: stringPropTypeUtil.schema.nullable(),
|
|
470
|
-
children:
|
|
488
|
+
children: z41.array(z41.unknown())
|
|
471
489
|
});
|
|
472
490
|
var htmlV3PropTypeUtil = createPropUtils("html-v3", htmlV3ValueSchema);
|
|
473
491
|
|
|
474
492
|
// src/prop-types/filter-prop-types/filter.ts
|
|
475
|
-
import { z as
|
|
493
|
+
import { z as z47 } from "@elementor/schema";
|
|
476
494
|
|
|
477
495
|
// src/prop-types/filter-prop-types/drop-shadow-filter.ts
|
|
478
|
-
import { z as
|
|
496
|
+
import { z as z42 } from "@elementor/schema";
|
|
479
497
|
var dropShadowFilterPropTypeUtil = createPropUtils(
|
|
480
498
|
"drop-shadow",
|
|
481
|
-
|
|
499
|
+
z42.object({
|
|
482
500
|
xAxis: unknownChildrenSchema,
|
|
483
501
|
yAxis: unknownChildrenSchema,
|
|
484
502
|
blur: unknownChildrenSchema,
|
|
@@ -487,37 +505,37 @@ var dropShadowFilterPropTypeUtil = createPropUtils(
|
|
|
487
505
|
);
|
|
488
506
|
|
|
489
507
|
// src/prop-types/filter-prop-types/filter-functions/blur-filter.ts
|
|
490
|
-
import { z as
|
|
508
|
+
import { z as z43 } from "@elementor/schema";
|
|
491
509
|
var blurFilterPropTypeUtil = createPropUtils(
|
|
492
510
|
"blur",
|
|
493
|
-
|
|
511
|
+
z43.strictObject({
|
|
494
512
|
size: unknownChildrenSchema
|
|
495
513
|
})
|
|
496
514
|
);
|
|
497
515
|
|
|
498
516
|
// src/prop-types/filter-prop-types/filter-functions/color-tone-filter.ts
|
|
499
|
-
import { z as
|
|
517
|
+
import { z as z44 } from "@elementor/schema";
|
|
500
518
|
var colorToneFilterPropTypeUtil = createPropUtils(
|
|
501
519
|
"color-tone",
|
|
502
|
-
|
|
520
|
+
z44.strictObject({
|
|
503
521
|
size: unknownChildrenSchema
|
|
504
522
|
})
|
|
505
523
|
);
|
|
506
524
|
|
|
507
525
|
// src/prop-types/filter-prop-types/filter-functions/hue-rotate-filter.ts
|
|
508
|
-
import { z as
|
|
526
|
+
import { z as z45 } from "@elementor/schema";
|
|
509
527
|
var hueRotateFilterPropTypeUtil = createPropUtils(
|
|
510
528
|
"hue-rotate",
|
|
511
|
-
|
|
529
|
+
z45.strictObject({
|
|
512
530
|
size: unknownChildrenSchema
|
|
513
531
|
})
|
|
514
532
|
);
|
|
515
533
|
|
|
516
534
|
// src/prop-types/filter-prop-types/filter-functions/intensity-filter.ts
|
|
517
|
-
import { z as
|
|
535
|
+
import { z as z46 } from "@elementor/schema";
|
|
518
536
|
var intensityFilterPropTypeUtil = createPropUtils(
|
|
519
537
|
"intensity",
|
|
520
|
-
|
|
538
|
+
z46.strictObject({
|
|
521
539
|
size: unknownChildrenSchema
|
|
522
540
|
})
|
|
523
541
|
);
|
|
@@ -525,9 +543,9 @@ var intensityFilterPropTypeUtil = createPropUtils(
|
|
|
525
543
|
// src/prop-types/filter-prop-types/filter.ts
|
|
526
544
|
var cssFilterFunctionPropUtil = createPropUtils(
|
|
527
545
|
"css-filter-func",
|
|
528
|
-
|
|
546
|
+
z47.object({
|
|
529
547
|
func: stringPropTypeUtil.schema,
|
|
530
|
-
args:
|
|
548
|
+
args: z47.union([
|
|
531
549
|
blurFilterPropTypeUtil.schema,
|
|
532
550
|
intensityFilterPropTypeUtil.schema,
|
|
533
551
|
colorToneFilterPropTypeUtil.schema,
|
|
@@ -536,13 +554,13 @@ var cssFilterFunctionPropUtil = createPropUtils(
|
|
|
536
554
|
])
|
|
537
555
|
})
|
|
538
556
|
);
|
|
539
|
-
var filterPropTypeUtil = createPropUtils("filter",
|
|
557
|
+
var filterPropTypeUtil = createPropUtils("filter", z47.array(cssFilterFunctionPropUtil.schema));
|
|
540
558
|
|
|
541
559
|
// src/prop-types/transform-prop-types/transform.ts
|
|
542
|
-
import { z as
|
|
560
|
+
import { z as z48 } from "@elementor/schema";
|
|
543
561
|
var transformPropTypeUtil = createPropUtils(
|
|
544
562
|
"transform",
|
|
545
|
-
|
|
563
|
+
z48.strictObject({
|
|
546
564
|
"transform-functions": unknownChildrenSchema,
|
|
547
565
|
"transform-origin": unknownChildrenSchema,
|
|
548
566
|
perspective: unknownChildrenSchema,
|
|
@@ -551,10 +569,10 @@ var transformPropTypeUtil = createPropUtils(
|
|
|
551
569
|
);
|
|
552
570
|
|
|
553
571
|
// src/prop-types/transform-prop-types/transform-functions.ts
|
|
554
|
-
import { z as
|
|
572
|
+
import { z as z53 } from "@elementor/schema";
|
|
555
573
|
|
|
556
574
|
// src/prop-types/transform-prop-types/transform-functions/move-transform.ts
|
|
557
|
-
import { z as
|
|
575
|
+
import { z as z49 } from "@elementor/schema";
|
|
558
576
|
|
|
559
577
|
// src/prop-types/transform-prop-types/types.ts
|
|
560
578
|
var TransformFunctionKeys = {
|
|
@@ -567,7 +585,7 @@ var TransformFunctionKeys = {
|
|
|
567
585
|
// src/prop-types/transform-prop-types/transform-functions/move-transform.ts
|
|
568
586
|
var moveTransformPropTypeUtil = createPropUtils(
|
|
569
587
|
TransformFunctionKeys.move,
|
|
570
|
-
|
|
588
|
+
z49.strictObject({
|
|
571
589
|
x: unknownChildrenSchema,
|
|
572
590
|
y: unknownChildrenSchema,
|
|
573
591
|
z: unknownChildrenSchema
|
|
@@ -575,10 +593,10 @@ var moveTransformPropTypeUtil = createPropUtils(
|
|
|
575
593
|
);
|
|
576
594
|
|
|
577
595
|
// src/prop-types/transform-prop-types/transform-functions/rotate-transform.ts
|
|
578
|
-
import { z as
|
|
596
|
+
import { z as z50 } from "@elementor/schema";
|
|
579
597
|
var rotateTransformPropTypeUtil = createPropUtils(
|
|
580
598
|
TransformFunctionKeys.rotate,
|
|
581
|
-
|
|
599
|
+
z50.strictObject({
|
|
582
600
|
x: unknownChildrenSchema,
|
|
583
601
|
y: unknownChildrenSchema,
|
|
584
602
|
z: unknownChildrenSchema
|
|
@@ -586,10 +604,10 @@ var rotateTransformPropTypeUtil = createPropUtils(
|
|
|
586
604
|
);
|
|
587
605
|
|
|
588
606
|
// src/prop-types/transform-prop-types/transform-functions/scale-transform.ts
|
|
589
|
-
import { z as
|
|
607
|
+
import { z as z51 } from "@elementor/schema";
|
|
590
608
|
var scaleTransformPropTypeUtil = createPropUtils(
|
|
591
609
|
TransformFunctionKeys.scale,
|
|
592
|
-
|
|
610
|
+
z51.strictObject({
|
|
593
611
|
x: numberPropTypeUtil.schema.nullable(),
|
|
594
612
|
y: numberPropTypeUtil.schema.nullable(),
|
|
595
613
|
z: numberPropTypeUtil.schema.nullable()
|
|
@@ -597,10 +615,10 @@ var scaleTransformPropTypeUtil = createPropUtils(
|
|
|
597
615
|
);
|
|
598
616
|
|
|
599
617
|
// src/prop-types/transform-prop-types/transform-functions/skew-transform.ts
|
|
600
|
-
import { z as
|
|
618
|
+
import { z as z52 } from "@elementor/schema";
|
|
601
619
|
var skewTransformPropTypeUtil = createPropUtils(
|
|
602
620
|
TransformFunctionKeys.skew,
|
|
603
|
-
|
|
621
|
+
z52.strictObject({
|
|
604
622
|
x: unknownChildrenSchema,
|
|
605
623
|
y: unknownChildrenSchema
|
|
606
624
|
})
|
|
@@ -608,13 +626,13 @@ var skewTransformPropTypeUtil = createPropUtils(
|
|
|
608
626
|
|
|
609
627
|
// src/prop-types/transform-prop-types/transform-functions.ts
|
|
610
628
|
var filterTypes = moveTransformPropTypeUtil.schema.or(scaleTransformPropTypeUtil.schema).or(rotateTransformPropTypeUtil.schema).or(skewTransformPropTypeUtil.schema);
|
|
611
|
-
var transformFunctionsPropTypeUtil = createPropUtils("transform-functions",
|
|
629
|
+
var transformFunctionsPropTypeUtil = createPropUtils("transform-functions", z53.array(filterTypes));
|
|
612
630
|
|
|
613
631
|
// src/prop-types/transform-prop-types/transform-origin.ts
|
|
614
|
-
import { z as
|
|
632
|
+
import { z as z54 } from "@elementor/schema";
|
|
615
633
|
var transformOriginPropTypeUtil = createPropUtils(
|
|
616
634
|
"transform-origin",
|
|
617
|
-
|
|
635
|
+
z54.strictObject({
|
|
618
636
|
x: unknownChildrenSchema,
|
|
619
637
|
y: unknownChildrenSchema,
|
|
620
638
|
z: unknownChildrenSchema
|
|
@@ -622,49 +640,49 @@ var transformOriginPropTypeUtil = createPropUtils(
|
|
|
622
640
|
);
|
|
623
641
|
|
|
624
642
|
// src/prop-types/transform-prop-types/perspective-origin.ts
|
|
625
|
-
import { z as
|
|
643
|
+
import { z as z55 } from "@elementor/schema";
|
|
626
644
|
var perspectiveOriginPropTypeUtil = createPropUtils(
|
|
627
645
|
"perspective-origin",
|
|
628
|
-
|
|
646
|
+
z55.strictObject({
|
|
629
647
|
x: unknownChildrenSchema,
|
|
630
648
|
y: unknownChildrenSchema
|
|
631
649
|
})
|
|
632
650
|
);
|
|
633
651
|
|
|
634
652
|
// src/prop-types/filter-prop-types/backdrop-filter.ts
|
|
635
|
-
import { z as
|
|
653
|
+
import { z as z56 } from "@elementor/schema";
|
|
636
654
|
var backdropFilterPropTypeUtil = createPropUtils(
|
|
637
655
|
"backdrop-filter",
|
|
638
|
-
|
|
656
|
+
z56.array(cssFilterFunctionPropUtil.schema)
|
|
639
657
|
);
|
|
640
658
|
|
|
641
659
|
// src/prop-types/date-range.ts
|
|
642
|
-
import { z as
|
|
660
|
+
import { z as z57 } from "@elementor/schema";
|
|
643
661
|
var dateRangePropTypeUtil = createPropUtils(
|
|
644
662
|
"date-range",
|
|
645
|
-
|
|
663
|
+
z57.strictObject({
|
|
646
664
|
min: unknownChildrenSchema,
|
|
647
665
|
max: unknownChildrenSchema
|
|
648
666
|
})
|
|
649
667
|
);
|
|
650
668
|
|
|
651
669
|
// src/prop-types/date-string.ts
|
|
652
|
-
import { z as
|
|
653
|
-
var dateStringPropTypeUtil = createPropUtils("date-string",
|
|
670
|
+
import { z as z58 } from "@elementor/schema";
|
|
671
|
+
var dateStringPropTypeUtil = createPropUtils("date-string", z58.string());
|
|
654
672
|
|
|
655
673
|
// src/prop-types/time-range.ts
|
|
656
|
-
import { z as
|
|
674
|
+
import { z as z59 } from "@elementor/schema";
|
|
657
675
|
var timeRangePropTypeUtil = createPropUtils(
|
|
658
676
|
"time-range",
|
|
659
|
-
|
|
677
|
+
z59.strictObject({
|
|
660
678
|
min: unknownChildrenSchema,
|
|
661
679
|
max: unknownChildrenSchema
|
|
662
680
|
})
|
|
663
681
|
);
|
|
664
682
|
|
|
665
683
|
// src/prop-types/time-string.ts
|
|
666
|
-
import { z as
|
|
667
|
-
var timeStringPropTypeUtil = createPropUtils("time-string",
|
|
684
|
+
import { z as z60 } from "@elementor/schema";
|
|
685
|
+
var timeStringPropTypeUtil = createPropUtils("time-string", z60.string());
|
|
668
686
|
|
|
669
687
|
// src/utils/adjust-llm-prop-value-schema.ts
|
|
670
688
|
var ensureNotNull = (v, fallback) => v === null ? fallback : v;
|
|
@@ -1091,11 +1109,11 @@ var validatePropValue = (schema, value) => {
|
|
|
1091
1109
|
};
|
|
1092
1110
|
|
|
1093
1111
|
// src/utils/is-transformable.ts
|
|
1094
|
-
import { z as
|
|
1095
|
-
var transformableSchema =
|
|
1096
|
-
$$type:
|
|
1097
|
-
value:
|
|
1098
|
-
disabled:
|
|
1112
|
+
import { z as z61 } from "@elementor/schema";
|
|
1113
|
+
var transformableSchema = z61.object({
|
|
1114
|
+
$$type: z61.string(),
|
|
1115
|
+
value: z61.any(),
|
|
1116
|
+
disabled: z61.boolean().optional()
|
|
1099
1117
|
});
|
|
1100
1118
|
var isTransformable = (value) => {
|
|
1101
1119
|
return transformableSchema.safeParse(value).success;
|
|
@@ -1361,6 +1379,7 @@ export {
|
|
|
1361
1379
|
dimensionsPropTypeUtil,
|
|
1362
1380
|
dropShadowFilterPropTypeUtil,
|
|
1363
1381
|
emailPropTypeUtil,
|
|
1382
|
+
emailsPropTypeUtil,
|
|
1364
1383
|
evaluateTerm,
|
|
1365
1384
|
extractValue,
|
|
1366
1385
|
filterEmptyValues,
|