@elementor/editor-props 4.3.0-1047 → 4.3.0-1049

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.mjs CHANGED
@@ -518,14 +518,18 @@ var htmlV3ValueSchema = z43.object({
518
518
  });
519
519
  var htmlV3PropTypeUtil = createPropUtils("html-v3", htmlV3ValueSchema);
520
520
 
521
+ // src/prop-types/escaped-html.ts
522
+ import { z as z44 } from "@elementor/schema";
523
+ var escapedHtmlPropTypeUtil = createPropUtils("escaped-html", z44.string().nullable());
524
+
521
525
  // src/prop-types/filter-prop-types/filter.ts
522
- import { z as z49 } from "@elementor/schema";
526
+ import { z as z50 } from "@elementor/schema";
523
527
 
524
528
  // src/prop-types/filter-prop-types/drop-shadow-filter.ts
525
- import { z as z44 } from "@elementor/schema";
529
+ import { z as z45 } from "@elementor/schema";
526
530
  var dropShadowFilterPropTypeUtil = createPropUtils(
527
531
  "drop-shadow",
528
- z44.object({
532
+ z45.object({
529
533
  xAxis: unknownChildrenSchema,
530
534
  yAxis: unknownChildrenSchema,
531
535
  blur: unknownChildrenSchema,
@@ -534,37 +538,37 @@ var dropShadowFilterPropTypeUtil = createPropUtils(
534
538
  );
535
539
 
536
540
  // src/prop-types/filter-prop-types/filter-functions/blur-filter.ts
537
- import { z as z45 } from "@elementor/schema";
541
+ import { z as z46 } from "@elementor/schema";
538
542
  var blurFilterPropTypeUtil = createPropUtils(
539
543
  "blur",
540
- z45.strictObject({
544
+ z46.strictObject({
541
545
  size: unknownChildrenSchema
542
546
  })
543
547
  );
544
548
 
545
549
  // src/prop-types/filter-prop-types/filter-functions/color-tone-filter.ts
546
- import { z as z46 } from "@elementor/schema";
550
+ import { z as z47 } from "@elementor/schema";
547
551
  var colorToneFilterPropTypeUtil = createPropUtils(
548
552
  "color-tone",
549
- z46.strictObject({
553
+ z47.strictObject({
550
554
  size: unknownChildrenSchema
551
555
  })
552
556
  );
553
557
 
554
558
  // src/prop-types/filter-prop-types/filter-functions/hue-rotate-filter.ts
555
- import { z as z47 } from "@elementor/schema";
559
+ import { z as z48 } from "@elementor/schema";
556
560
  var hueRotateFilterPropTypeUtil = createPropUtils(
557
561
  "hue-rotate",
558
- z47.strictObject({
562
+ z48.strictObject({
559
563
  size: unknownChildrenSchema
560
564
  })
561
565
  );
562
566
 
563
567
  // src/prop-types/filter-prop-types/filter-functions/intensity-filter.ts
564
- import { z as z48 } from "@elementor/schema";
568
+ import { z as z49 } from "@elementor/schema";
565
569
  var intensityFilterPropTypeUtil = createPropUtils(
566
570
  "intensity",
567
- z48.strictObject({
571
+ z49.strictObject({
568
572
  size: unknownChildrenSchema
569
573
  })
570
574
  );
@@ -572,9 +576,9 @@ var intensityFilterPropTypeUtil = createPropUtils(
572
576
  // src/prop-types/filter-prop-types/filter.ts
573
577
  var cssFilterFunctionPropUtil = createPropUtils(
574
578
  "css-filter-func",
575
- z49.object({
579
+ z50.object({
576
580
  func: stringPropTypeUtil.schema,
577
- args: z49.union([
581
+ args: z50.union([
578
582
  blurFilterPropTypeUtil.schema,
579
583
  intensityFilterPropTypeUtil.schema,
580
584
  colorToneFilterPropTypeUtil.schema,
@@ -583,13 +587,13 @@ var cssFilterFunctionPropUtil = createPropUtils(
583
587
  ])
584
588
  })
585
589
  );
586
- var filterPropTypeUtil = createPropUtils("filter", z49.array(cssFilterFunctionPropUtil.schema));
590
+ var filterPropTypeUtil = createPropUtils("filter", z50.array(cssFilterFunctionPropUtil.schema));
587
591
 
588
592
  // src/prop-types/transform-prop-types/transform.ts
589
- import { z as z50 } from "@elementor/schema";
593
+ import { z as z51 } from "@elementor/schema";
590
594
  var transformPropTypeUtil = createPropUtils(
591
595
  "transform",
592
- z50.strictObject({
596
+ z51.strictObject({
593
597
  "transform-functions": unknownChildrenSchema,
594
598
  "transform-origin": unknownChildrenSchema,
595
599
  perspective: unknownChildrenSchema,
@@ -598,10 +602,10 @@ var transformPropTypeUtil = createPropUtils(
598
602
  );
599
603
 
600
604
  // src/prop-types/transform-prop-types/transform-functions.ts
601
- import { z as z55 } from "@elementor/schema";
605
+ import { z as z56 } from "@elementor/schema";
602
606
 
603
607
  // src/prop-types/transform-prop-types/transform-functions/move-transform.ts
604
- import { z as z51 } from "@elementor/schema";
608
+ import { z as z52 } from "@elementor/schema";
605
609
 
606
610
  // src/prop-types/transform-prop-types/types.ts
607
611
  var TransformFunctionKeys = {
@@ -614,7 +618,7 @@ var TransformFunctionKeys = {
614
618
  // src/prop-types/transform-prop-types/transform-functions/move-transform.ts
615
619
  var moveTransformPropTypeUtil = createPropUtils(
616
620
  TransformFunctionKeys.move,
617
- z51.strictObject({
621
+ z52.strictObject({
618
622
  x: unknownChildrenSchema,
619
623
  y: unknownChildrenSchema,
620
624
  z: unknownChildrenSchema
@@ -622,10 +626,10 @@ var moveTransformPropTypeUtil = createPropUtils(
622
626
  );
623
627
 
624
628
  // src/prop-types/transform-prop-types/transform-functions/rotate-transform.ts
625
- import { z as z52 } from "@elementor/schema";
629
+ import { z as z53 } from "@elementor/schema";
626
630
  var rotateTransformPropTypeUtil = createPropUtils(
627
631
  TransformFunctionKeys.rotate,
628
- z52.strictObject({
632
+ z53.strictObject({
629
633
  x: unknownChildrenSchema,
630
634
  y: unknownChildrenSchema,
631
635
  z: unknownChildrenSchema
@@ -633,10 +637,10 @@ var rotateTransformPropTypeUtil = createPropUtils(
633
637
  );
634
638
 
635
639
  // src/prop-types/transform-prop-types/transform-functions/scale-transform.ts
636
- import { z as z53 } from "@elementor/schema";
640
+ import { z as z54 } from "@elementor/schema";
637
641
  var scaleTransformPropTypeUtil = createPropUtils(
638
642
  TransformFunctionKeys.scale,
639
- z53.strictObject({
643
+ z54.strictObject({
640
644
  x: numberPropTypeUtil.schema.nullable(),
641
645
  y: numberPropTypeUtil.schema.nullable(),
642
646
  z: numberPropTypeUtil.schema.nullable()
@@ -644,10 +648,10 @@ var scaleTransformPropTypeUtil = createPropUtils(
644
648
  );
645
649
 
646
650
  // src/prop-types/transform-prop-types/transform-functions/skew-transform.ts
647
- import { z as z54 } from "@elementor/schema";
651
+ import { z as z55 } from "@elementor/schema";
648
652
  var skewTransformPropTypeUtil = createPropUtils(
649
653
  TransformFunctionKeys.skew,
650
- z54.strictObject({
654
+ z55.strictObject({
651
655
  x: unknownChildrenSchema,
652
656
  y: unknownChildrenSchema
653
657
  })
@@ -655,13 +659,13 @@ var skewTransformPropTypeUtil = createPropUtils(
655
659
 
656
660
  // src/prop-types/transform-prop-types/transform-functions.ts
657
661
  var filterTypes = moveTransformPropTypeUtil.schema.or(scaleTransformPropTypeUtil.schema).or(rotateTransformPropTypeUtil.schema).or(skewTransformPropTypeUtil.schema);
658
- var transformFunctionsPropTypeUtil = createPropUtils("transform-functions", z55.array(filterTypes));
662
+ var transformFunctionsPropTypeUtil = createPropUtils("transform-functions", z56.array(filterTypes));
659
663
 
660
664
  // src/prop-types/transform-prop-types/transform-origin.ts
661
- import { z as z56 } from "@elementor/schema";
665
+ import { z as z57 } from "@elementor/schema";
662
666
  var transformOriginPropTypeUtil = createPropUtils(
663
667
  "transform-origin",
664
- z56.strictObject({
668
+ z57.strictObject({
665
669
  x: unknownChildrenSchema,
666
670
  y: unknownChildrenSchema,
667
671
  z: unknownChildrenSchema
@@ -669,49 +673,49 @@ var transformOriginPropTypeUtil = createPropUtils(
669
673
  );
670
674
 
671
675
  // src/prop-types/transform-prop-types/perspective-origin.ts
672
- import { z as z57 } from "@elementor/schema";
676
+ import { z as z58 } from "@elementor/schema";
673
677
  var perspectiveOriginPropTypeUtil = createPropUtils(
674
678
  "perspective-origin",
675
- z57.strictObject({
679
+ z58.strictObject({
676
680
  x: unknownChildrenSchema,
677
681
  y: unknownChildrenSchema
678
682
  })
679
683
  );
680
684
 
681
685
  // src/prop-types/filter-prop-types/backdrop-filter.ts
682
- import { z as z58 } from "@elementor/schema";
686
+ import { z as z59 } from "@elementor/schema";
683
687
  var backdropFilterPropTypeUtil = createPropUtils(
684
688
  "backdrop-filter",
685
- z58.array(cssFilterFunctionPropUtil.schema)
689
+ z59.array(cssFilterFunctionPropUtil.schema)
686
690
  );
687
691
 
688
692
  // src/prop-types/date-range.ts
689
- import { z as z59 } from "@elementor/schema";
693
+ import { z as z60 } from "@elementor/schema";
690
694
  var dateRangePropTypeUtil = createPropUtils(
691
695
  "date-range",
692
- z59.strictObject({
696
+ z60.strictObject({
693
697
  min: unknownChildrenSchema,
694
698
  max: unknownChildrenSchema
695
699
  })
696
700
  );
697
701
 
698
702
  // src/prop-types/date-string.ts
699
- import { z as z60 } from "@elementor/schema";
700
- var dateStringPropTypeUtil = createPropUtils("date-string", z60.string());
703
+ import { z as z61 } from "@elementor/schema";
704
+ var dateStringPropTypeUtil = createPropUtils("date-string", z61.string());
701
705
 
702
706
  // src/prop-types/time-range.ts
703
- import { z as z61 } from "@elementor/schema";
707
+ import { z as z62 } from "@elementor/schema";
704
708
  var timeRangePropTypeUtil = createPropUtils(
705
709
  "time-range",
706
- z61.strictObject({
710
+ z62.strictObject({
707
711
  min: unknownChildrenSchema,
708
712
  max: unknownChildrenSchema
709
713
  })
710
714
  );
711
715
 
712
716
  // src/prop-types/time-string.ts
713
- import { z as z62 } from "@elementor/schema";
714
- var timeStringPropTypeUtil = createPropUtils("time-string", z62.string());
717
+ import { z as z63 } from "@elementor/schema";
718
+ var timeStringPropTypeUtil = createPropUtils("time-string", z63.string());
715
719
 
716
720
  // src/utils/adjust-llm-prop-value-schema.ts
717
721
  var ensureNotNull = (v, fallback) => v === null ? fallback : v;
@@ -1178,11 +1182,11 @@ var validatePropValue = (schema, value) => {
1178
1182
  };
1179
1183
 
1180
1184
  // src/utils/is-transformable.ts
1181
- import { z as z63 } from "@elementor/schema";
1182
- var transformableSchema = z63.object({
1183
- $$type: z63.string(),
1184
- value: z63.any(),
1185
- disabled: z63.boolean().optional()
1185
+ import { z as z64 } from "@elementor/schema";
1186
+ var transformableSchema = z64.object({
1187
+ $$type: z64.string(),
1188
+ value: z64.any(),
1189
+ disabled: z64.boolean().optional()
1186
1190
  });
1187
1191
  var isTransformable = (value) => {
1188
1192
  return transformableSchema.safeParse(value).success;
@@ -1450,6 +1454,7 @@ export {
1450
1454
  dropShadowFilterPropTypeUtil,
1451
1455
  emailPropTypeUtil,
1452
1456
  emailsPropTypeUtil,
1457
+ escapedHtmlPropTypeUtil,
1453
1458
  evaluateTerm,
1454
1459
  extractValue,
1455
1460
  filterEmptyValues,