@yext/visual-editor 1.0.3 → 1.0.4

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.
@@ -622,9 +622,12 @@ export default Locator;
622
622
  image: {
623
623
  field: "",
624
624
  constantValue: {
625
- url: "https://a.mktgcdn.com/p/wa83C1O1lvtxHI9cGqEdP2HILyUzbD0jvtzwWpOAJfE/196x196.jpg",
626
- height: 100,
627
- width: 100
625
+ hasLocalizedValue: "true",
626
+ en: {
627
+ url: "https://a.mktgcdn.com/p/wa83C1O1lvtxHI9cGqEdP2HILyUzbD0jvtzwWpOAJfE/196x196.jpg",
628
+ height: 100,
629
+ width: 100
630
+ }
628
631
  },
629
632
  constantValueEnabled: !0
630
633
  }
@@ -684,7 +687,7 @@ export default Locator;
684
687
  en: "Call to Action",
685
688
  hasLocalizedValue: "true"
686
689
  },
687
- link: "#",
690
+ link: { en: "#", hasLocalizedValue: "true" },
688
691
  linkType: "URL",
689
692
  ctaType: "textAndLink"
690
693
  },
@@ -712,7 +715,7 @@ export default Locator;
712
715
  en: "Call to Action",
713
716
  hasLocalizedValue: "true"
714
717
  },
715
- link: "#",
718
+ link: { en: "#", hasLocalizedValue: "true" },
716
719
  linkType: "URL",
717
720
  ctaType: "textAndLink"
718
721
  },
@@ -899,9 +902,12 @@ export default Locator;
899
902
  backgroundImage: {
900
903
  field: "",
901
904
  constantValue: {
902
- url: "https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&width=640&height=360&fit=max",
903
- height: 360,
904
- width: 640
905
+ hasLocalizedValue: "true",
906
+ en: {
907
+ url: "https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&width=640&height=360&fit=max",
908
+ height: 360,
909
+ width: 640
910
+ }
905
911
  },
906
912
  constantValueEnabled: !0
907
913
  }
@@ -979,9 +985,12 @@ export default Locator;
979
985
  image: {
980
986
  field: "",
981
987
  constantValue: {
982
- url: "https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&width=640&height=360&fit=max",
983
- height: 360,
984
- width: 640
988
+ hasLocalizedValue: "true",
989
+ en: {
990
+ url: "https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&width=640&height=360&fit=max",
991
+ height: 360,
992
+ width: 640
993
+ }
985
994
  },
986
995
  constantValueEnabled: !0
987
996
  }
@@ -1005,7 +1014,7 @@ export default Locator;
1005
1014
  en: "Call To Action",
1006
1015
  hasLocalizedValue: "true"
1007
1016
  },
1008
- link: "#",
1017
+ link: { en: "#", hasLocalizedValue: "true" },
1009
1018
  linkType: "URL",
1010
1019
  ctaType: "textAndLink"
1011
1020
  }
@@ -1027,7 +1036,7 @@ export default Locator;
1027
1036
  field: "",
1028
1037
  constantValue: {
1029
1038
  label: { en: "Learn More", hasLocalizedValue: "true" },
1030
- link: "#",
1039
+ link: { en: "#", hasLocalizedValue: "true" },
1031
1040
  linkType: "URL",
1032
1041
  ctaType: "textAndLink"
1033
1042
  },
@@ -1265,9 +1274,12 @@ export default Locator;
1265
1274
  image: {
1266
1275
  field: "",
1267
1276
  constantValue: {
1268
- url: "https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
1269
- height: 360,
1270
- width: 640
1277
+ hasLocalizedValue: "true",
1278
+ en: {
1279
+ url: "https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
1280
+ height: 360,
1281
+ width: 640
1282
+ }
1271
1283
  },
1272
1284
  constantValueEnabled: !0
1273
1285
  }
@@ -1292,7 +1304,7 @@ export default Locator;
1292
1304
  field: "",
1293
1305
  constantValue: {
1294
1306
  label: "Learn More",
1295
- link: "#",
1307
+ link: { en: "#", hasLocalizedValue: "true" },
1296
1308
  linkType: "URL",
1297
1309
  ctaType: "textAndLink"
1298
1310
  },
@@ -1383,9 +1395,12 @@ export default Locator;
1383
1395
  image: {
1384
1396
  field: "",
1385
1397
  constantValue: {
1386
- url: "https://images.unsplash.com/photo-1504548840739-580b10ae7715?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
1387
- height: 360,
1388
- width: 640
1398
+ hasLocalizedValue: "true",
1399
+ en: {
1400
+ url: "https://images.unsplash.com/photo-1504548840739-580b10ae7715?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
1401
+ height: 360,
1402
+ width: 640
1403
+ }
1389
1404
  },
1390
1405
  constantValueEnabled: !0
1391
1406
  }
@@ -1472,7 +1487,10 @@ export default Locator;
1472
1487
  field: "",
1473
1488
  constantValue: {
1474
1489
  label: "Learn More",
1475
- link: "#",
1490
+ link: {
1491
+ en: "#",
1492
+ hasLocalizedValue: "true"
1493
+ },
1476
1494
  linkType: "URL",
1477
1495
  ctaType: "textAndLink"
1478
1496
  },
@@ -1512,9 +1530,12 @@ export default Locator;
1512
1530
  image: {
1513
1531
  field: "",
1514
1532
  constantValue: {
1515
- url: "https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
1516
- height: 360,
1517
- width: 640
1533
+ hasLocalizedValue: "true",
1534
+ en: {
1535
+ url: "https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
1536
+ height: 360,
1537
+ width: 640
1538
+ }
1518
1539
  },
1519
1540
  constantValueEnabled: !0
1520
1541
  }
@@ -1601,7 +1622,10 @@ export default Locator;
1601
1622
  field: "",
1602
1623
  constantValue: {
1603
1624
  label: "Learn More",
1604
- link: "#",
1625
+ link: {
1626
+ en: "#",
1627
+ hasLocalizedValue: "true"
1628
+ },
1605
1629
  linkType: "URL",
1606
1630
  ctaType: "textAndLink"
1607
1631
  },
@@ -1641,9 +1665,12 @@ export default Locator;
1641
1665
  image: {
1642
1666
  field: "",
1643
1667
  constantValue: {
1644
- url: "https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
1645
- height: 360,
1646
- width: 640
1668
+ hasLocalizedValue: "true",
1669
+ en: {
1670
+ url: "https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
1671
+ height: 360,
1672
+ width: 640
1673
+ }
1647
1674
  },
1648
1675
  constantValueEnabled: !0
1649
1676
  }
@@ -1730,7 +1757,10 @@ export default Locator;
1730
1757
  field: "",
1731
1758
  constantValue: {
1732
1759
  label: "Learn More",
1733
- link: "#",
1760
+ link: {
1761
+ en: "#",
1762
+ hasLocalizedValue: "true"
1763
+ },
1734
1764
  linkType: "URL",
1735
1765
  ctaType: "textAndLink"
1736
1766
  },
@@ -2363,9 +2393,12 @@ export default Locator;
2363
2393
  image: {
2364
2394
  field: "",
2365
2395
  constantValue: {
2366
- url: "https://a.mktgcdn.com/p/EQRaOZG5zFlcbEHYaH16EV6WmkzV8kd6vMd73Myg4AA/196x196.jpg",
2367
- height: 80,
2368
- width: 80
2396
+ hasLocalizedValue: "true",
2397
+ en: {
2398
+ url: "https://a.mktgcdn.com/p/EQRaOZG5zFlcbEHYaH16EV6WmkzV8kd6vMd73Myg4AA/196x196.jpg",
2399
+ height: 80,
2400
+ width: 80
2401
+ }
2369
2402
  },
2370
2403
  constantValueEnabled: !0
2371
2404
  }
@@ -2481,7 +2514,10 @@ export default Locator;
2481
2514
  en: "Visit Profile",
2482
2515
  hasLocalizedValue: "true"
2483
2516
  },
2484
- link: "#",
2517
+ link: {
2518
+ en: "#",
2519
+ hasLocalizedValue: "true"
2520
+ },
2485
2521
  linkType: "URL",
2486
2522
  ctaType: "textAndLink"
2487
2523
  },
@@ -2528,9 +2564,12 @@ export default Locator;
2528
2564
  image: {
2529
2565
  field: "",
2530
2566
  constantValue: {
2531
- url: "https://a.mktgcdn.com/p/EQRaOZG5zFlcbEHYaH16EV6WmkzV8kd6vMd73Myg4AA/196x196.jpg",
2532
- height: 80,
2533
- width: 80
2567
+ hasLocalizedValue: "true",
2568
+ en: {
2569
+ url: "https://a.mktgcdn.com/p/EQRaOZG5zFlcbEHYaH16EV6WmkzV8kd6vMd73Myg4AA/196x196.jpg",
2570
+ height: 80,
2571
+ width: 80
2572
+ }
2534
2573
  },
2535
2574
  constantValueEnabled: !0
2536
2575
  }
@@ -2644,7 +2683,10 @@ export default Locator;
2644
2683
  en: "Visit Profile",
2645
2684
  hasLocalizedValue: "true"
2646
2685
  },
2647
- link: "#",
2686
+ link: {
2687
+ en: "#",
2688
+ hasLocalizedValue: "true"
2689
+ },
2648
2690
  linkType: "URL",
2649
2691
  ctaType: "textAndLink"
2650
2692
  },
@@ -2691,9 +2733,12 @@ export default Locator;
2691
2733
  image: {
2692
2734
  field: "",
2693
2735
  constantValue: {
2694
- url: "https://a.mktgcdn.com/p/EQRaOZG5zFlcbEHYaH16EV6WmkzV8kd6vMd73Myg4AA/196x196.jpg",
2695
- height: 80,
2696
- width: 80
2736
+ hasLocalizedValue: "true",
2737
+ en: {
2738
+ url: "https://a.mktgcdn.com/p/EQRaOZG5zFlcbEHYaH16EV6WmkzV8kd6vMd73Myg4AA/196x196.jpg",
2739
+ height: 80,
2740
+ width: 80
2741
+ }
2697
2742
  },
2698
2743
  constantValueEnabled: !0
2699
2744
  }
@@ -2807,7 +2852,10 @@ export default Locator;
2807
2852
  en: "Visit Profile",
2808
2853
  hasLocalizedValue: "true"
2809
2854
  },
2810
- link: "#",
2855
+ link: {
2856
+ en: "#",
2857
+ hasLocalizedValue: "true"
2858
+ },
2811
2859
  linkType: "URL",
2812
2860
  ctaType: "textAndLink"
2813
2861
  },
@@ -2913,9 +2961,12 @@ export default Locator;
2913
2961
  image: {
2914
2962
  field: "",
2915
2963
  constantValue: {
2916
- url: "https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
2917
- height: 360,
2918
- width: 640
2964
+ hasLocalizedValue: "true",
2965
+ en: {
2966
+ url: "https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
2967
+ height: 360,
2968
+ width: 640
2969
+ }
2919
2970
  },
2920
2971
  constantValueEnabled: !0
2921
2972
  }
@@ -3029,7 +3080,10 @@ export default Locator;
3029
3080
  en: "Read More",
3030
3081
  hasLocalizedValue: "true"
3031
3082
  },
3032
- link: "#",
3083
+ link: {
3084
+ en: "#",
3085
+ hasLocalizedValue: "true"
3086
+ },
3033
3087
  linkType: "URL",
3034
3088
  ctaType: "textAndLink"
3035
3089
  },
@@ -3071,9 +3125,12 @@ export default Locator;
3071
3125
  image: {
3072
3126
  field: "",
3073
3127
  constantValue: {
3074
- url: "https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
3075
- height: 360,
3076
- width: 640
3128
+ hasLocalizedValue: "true",
3129
+ en: {
3130
+ url: "https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
3131
+ height: 360,
3132
+ width: 640
3133
+ }
3077
3134
  },
3078
3135
  constantValueEnabled: !0
3079
3136
  }
@@ -3187,7 +3244,10 @@ export default Locator;
3187
3244
  en: "Read More",
3188
3245
  hasLocalizedValue: "true"
3189
3246
  },
3190
- link: "#",
3247
+ link: {
3248
+ en: "#",
3249
+ hasLocalizedValue: "true"
3250
+ },
3191
3251
  linkType: "URL",
3192
3252
  ctaType: "textAndLink"
3193
3253
  },
@@ -3229,9 +3289,12 @@ export default Locator;
3229
3289
  image: {
3230
3290
  field: "",
3231
3291
  constantValue: {
3232
- url: "https://images.unsplash.com/photo-1504548840739-580b10ae7715?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
3233
- height: 360,
3234
- width: 640
3292
+ hasLocalizedValue: "true",
3293
+ en: {
3294
+ url: "https://images.unsplash.com/photo-1504548840739-580b10ae7715?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
3295
+ height: 360,
3296
+ width: 640
3297
+ }
3235
3298
  },
3236
3299
  constantValueEnabled: !0
3237
3300
  }
@@ -3345,7 +3408,10 @@ export default Locator;
3345
3408
  en: "Read More",
3346
3409
  hasLocalizedValue: "true"
3347
3410
  },
3348
- link: "#",
3411
+ link: {
3412
+ en: "#",
3413
+ hasLocalizedValue: "true"
3414
+ },
3349
3415
  linkType: "URL",
3350
3416
  ctaType: "textAndLink"
3351
3417
  },
@@ -3516,9 +3582,13 @@ export default Locator;
3516
3582
  image: {
3517
3583
  field: "",
3518
3584
  constantValue: {
3519
- url: "https://images.unsplash.com/photo-1504548840739-580b10ae7715?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
3520
- height: 360,
3521
- width: 640
3585
+ hasLocalizedValue: "true",
3586
+ en: {
3587
+ url: "https://images.unsplash.com/photo-1504548840739-580b10ae7715?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
3588
+ height: 360,
3589
+ width: 640,
3590
+ alternateText: "Event Image"
3591
+ }
3522
3592
  },
3523
3593
  constantValueEnabled: !0
3524
3594
  }
@@ -3609,7 +3679,10 @@ export default Locator;
3609
3679
  field: "",
3610
3680
  constantValue: {
3611
3681
  label: "Learn More",
3612
- link: "#",
3682
+ link: {
3683
+ en: "#",
3684
+ hasLocalizedValue: "true"
3685
+ },
3613
3686
  linkType: "URL",
3614
3687
  ctaType: "textAndLink"
3615
3688
  },
@@ -3656,9 +3729,13 @@ export default Locator;
3656
3729
  image: {
3657
3730
  field: "",
3658
3731
  constantValue: {
3659
- url: "https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
3660
- height: 360,
3661
- width: 640
3732
+ hasLocalizedValue: "true",
3733
+ en: {
3734
+ url: "https://images.unsplash.com/photo-1502252430442-aac78f397426?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
3735
+ height: 360,
3736
+ width: 640,
3737
+ alternateText: "Event Image"
3738
+ }
3662
3739
  },
3663
3740
  constantValueEnabled: !0
3664
3741
  }
@@ -3749,7 +3826,10 @@ export default Locator;
3749
3826
  field: "",
3750
3827
  constantValue: {
3751
3828
  label: "Learn More",
3752
- link: "#",
3829
+ link: {
3830
+ en: "#",
3831
+ hasLocalizedValue: "true"
3832
+ },
3753
3833
  linkType: "URL",
3754
3834
  ctaType: "textAndLink"
3755
3835
  },
@@ -3796,9 +3876,13 @@ export default Locator;
3796
3876
  image: {
3797
3877
  field: "",
3798
3878
  constantValue: {
3799
- url: "https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
3800
- height: 360,
3801
- width: 640
3879
+ hasLocalizedValue: "true",
3880
+ en: {
3881
+ url: "https://images.unsplash.com/photo-1755745360285-0633c972b0fd?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&height=360&width=640&fit=max",
3882
+ height: 360,
3883
+ width: 640,
3884
+ alternateText: "Event Image"
3885
+ }
3802
3886
  },
3803
3887
  constantValueEnabled: !0
3804
3888
  }
@@ -3889,7 +3973,10 @@ export default Locator;
3889
3973
  field: "",
3890
3974
  constantValue: {
3891
3975
  label: "Learn More",
3892
- link: "#",
3976
+ link: {
3977
+ en: "#",
3978
+ hasLocalizedValue: "true"
3979
+ },
3893
3980
  linkType: "URL",
3894
3981
  ctaType: "textAndLink"
3895
3982
  },
@@ -4000,10 +4087,16 @@ export default Locator;
4000
4087
  image: {
4001
4088
  field: "",
4002
4089
  constantValue: {
4003
- url: "https://a.mktgcdn.com/p/wa83C1O1lvtxHI9cGqEdP2HILyUzbD0jvtzwWpOAJfE/196x196.jpg",
4004
- height: 100,
4005
- width: 100,
4006
- alternateText: { en: "Logo", hasLocalizedValue: "true" }
4090
+ hasLocalizedValue: "true",
4091
+ en: {
4092
+ url: "https://a.mktgcdn.com/p/wa83C1O1lvtxHI9cGqEdP2HILyUzbD0jvtzwWpOAJfE/196x196.jpg",
4093
+ height: 100,
4094
+ width: 100,
4095
+ alternateText: {
4096
+ en: "Logo",
4097
+ hasLocalizedValue: "true"
4098
+ }
4099
+ }
4007
4100
  },
4008
4101
  constantValueEnabled: !0
4009
4102
  }
@@ -4411,9 +4504,12 @@ export default Locator;
4411
4504
  image: {
4412
4505
  field: "",
4413
4506
  constantValue: {
4414
- url: "https://a.mktgcdn.com/p/wa83C1O1lvtxHI9cGqEdP2HILyUzbD0jvtzwWpOAJfE/196x196.jpg",
4415
- height: 100,
4416
- width: 100
4507
+ hasLocalizedValue: "true",
4508
+ en: {
4509
+ url: "https://a.mktgcdn.com/p/wa83C1O1lvtxHI9cGqEdP2HILyUzbD0jvtzwWpOAJfE/196x196.jpg",
4510
+ height: 100,
4511
+ width: 100
4512
+ }
4417
4513
  },
4418
4514
  constantValueEnabled: !0
4419
4515
  }
@@ -4473,7 +4569,7 @@ export default Locator;
4473
4569
  en: "Call to Action",
4474
4570
  hasLocalizedValue: "true"
4475
4571
  },
4476
- link: "#",
4572
+ link: { en: "#", hasLocalizedValue: "true" },
4477
4573
  linkType: "URL",
4478
4574
  ctaType: "textAndLink"
4479
4575
  },
@@ -4502,7 +4598,7 @@ export default Locator;
4502
4598
  en: "Call to Action",
4503
4599
  hasLocalizedValue: "true"
4504
4600
  },
4505
- link: "#",
4601
+ link: { en: "#", hasLocalizedValue: "true" },
4506
4602
  linkType: "URL",
4507
4603
  ctaType: "textAndLink"
4508
4604
  },
@@ -4733,10 +4829,16 @@ export default Locator;
4733
4829
  image: {
4734
4830
  field: "",
4735
4831
  constantValue: {
4736
- url: "https://a.mktgcdn.com/p/wa83C1O1lvtxHI9cGqEdP2HILyUzbD0jvtzwWpOAJfE/196x196.jpg",
4737
- height: 100,
4738
- width: 100,
4739
- alternateText: { en: "Logo", hasLocalizedValue: "true" }
4832
+ hasLocalizedValue: "true",
4833
+ en: {
4834
+ url: "https://a.mktgcdn.com/p/wa83C1O1lvtxHI9cGqEdP2HILyUzbD0jvtzwWpOAJfE/196x196.jpg",
4835
+ height: 100,
4836
+ width: 100,
4837
+ alternateText: {
4838
+ en: "Logo",
4839
+ hasLocalizedValue: "true"
4840
+ }
4841
+ }
4740
4842
  },
4741
4843
  constantValueEnabled: !0
4742
4844
  }