@yext/visual-editor 1.1.0-alpha.7 → 1.1.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.
Files changed (29) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/plugin/plugin.js +153 -44
  3. package/dist/{visual-editor-D3SxKC9N.js → visual-editor-4PC_Jbxw.js} +309 -305
  4. package/dist/{visual-editor-C_G0suXC.js → visual-editor-5hC9CiKV.js} +315 -311
  5. package/dist/{visual-editor-Df1NSOm2.js → visual-editor-61w72F9n.js} +310 -306
  6. package/dist/{visual-editor-CVGBMM0p.js → visual-editor-BDA7Unrg.js} +312 -308
  7. package/dist/{visual-editor-DUEVobuF.js → visual-editor-B_0TDDMF.js} +332 -328
  8. package/dist/{visual-editor-CBBGlwhT.js → visual-editor-Ba6zACDQ.js} +308 -304
  9. package/dist/{visual-editor-BvrlRFeN.js → visual-editor-Bg35gfR-.js} +327 -323
  10. package/dist/{visual-editor-IIXyBUza.js → visual-editor-BkxAQO_k.js} +308 -304
  11. package/dist/{visual-editor-Dnj8SqSC.js → visual-editor-BoTPwHeG.js} +326 -322
  12. package/dist/{visual-editor-DhuvBmZm.js → visual-editor-ByYpunlr.js} +315 -311
  13. package/dist/{visual-editor-BwKGSuIF.js → visual-editor-C4JNTg1k.js} +316 -312
  14. package/dist/{visual-editor-BbYiBO1j.js → visual-editor-CNcsYpC2.js} +314 -310
  15. package/dist/{visual-editor-Brfv6AWa.js → visual-editor-CW8akV_N.js} +310 -306
  16. package/dist/{visual-editor-BOySOT3m.js → visual-editor-CXL-7dJk.js} +336 -332
  17. package/dist/{visual-editor-BS26FK6Q.js → visual-editor-Cb4czzH6.js} +314 -310
  18. package/dist/{visual-editor-DFEHwWva.js → visual-editor-DF2RHbHR.js} +317 -313
  19. package/dist/{visual-editor-z06FEVPk.js → visual-editor-DHVv7xF2.js} +328 -324
  20. package/dist/{visual-editor-BFsjt8TD.js → visual-editor-DU3n5X-L.js} +327 -323
  21. package/dist/{visual-editor-E1Pmt2Sb.js → visual-editor-Dk-mLAYL.js} +320 -316
  22. package/dist/{visual-editor-DgF3siln.js → visual-editor-Dyg4VAca.js} +314 -310
  23. package/dist/{visual-editor-CMGuJl5_.js → visual-editor-Ik6jPnPB.js} +314 -310
  24. package/dist/{visual-editor-lnqTjhgN.js → visual-editor-jcJjuKEF.js} +316 -312
  25. package/dist/{visual-editor-Bja7GuOa.js → visual-editor-rnH99oHL.js} +316 -312
  26. package/dist/{visual-editor-jAddRY8-.js → visual-editor-yVhbEcAn.js} +310 -306
  27. package/dist/{visual-editor-DeyY5NiX.js → visual-editor-ypri9B8k.js} +332 -328
  28. package/dist/visual-editor.js +6599 -6549
  29. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import r from "node:path";
2
2
  import t from "fs-extra";
3
- const u = `/** THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED */
3
+ const p = `/** THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED */
4
4
  import "@yext/visual-editor/style.css";
5
5
  import "../index.css";
6
6
  import {
@@ -664,7 +664,7 @@ export default Locator;
664
664
  }, y = {
665
665
  root: {
666
666
  props: {
667
- version: 63,
667
+ version: 68,
668
668
  title: {
669
669
  field: "name",
670
670
  constantValue: "",
@@ -734,18 +734,21 @@ export default Locator;
734
734
  linkType: "URL",
735
735
  label: { defaultValue: "Header Link" },
736
736
  link: "#",
737
+ normalizeLink: !0,
737
738
  openInNewTab: !1
738
739
  },
739
740
  {
740
741
  linkType: "URL",
741
742
  label: { defaultValue: "Header Link" },
742
743
  link: "#",
744
+ normalizeLink: !0,
743
745
  openInNewTab: !1
744
746
  },
745
747
  {
746
748
  linkType: "URL",
747
749
  label: { defaultValue: "Header Link" },
748
750
  link: "#",
751
+ normalizeLink: !0,
749
752
  openInNewTab: !1
750
753
  }
751
754
  ],
@@ -770,6 +773,7 @@ export default Locator;
770
773
  data: {
771
774
  show: !0,
772
775
  actionType: "link",
776
+ normalizeLink: !0,
773
777
  buttonText: { defaultValue: "Button" },
774
778
  entityField: {
775
779
  field: "",
@@ -798,6 +802,7 @@ export default Locator;
798
802
  data: {
799
803
  show: !0,
800
804
  actionType: "link",
805
+ normalizeLink: !0,
801
806
  buttonText: { defaultValue: "Button" },
802
807
  entityField: {
803
808
  field: "",
@@ -848,18 +853,21 @@ export default Locator;
848
853
  linkType: "URL",
849
854
  label: { defaultValue: "Header Link" },
850
855
  link: "#",
856
+ normalizeLink: !0,
851
857
  openInNewTab: !1
852
858
  },
853
859
  {
854
860
  linkType: "URL",
855
861
  label: { defaultValue: "Header Link" },
856
862
  link: "#",
863
+ normalizeLink: !0,
857
864
  openInNewTab: !1
858
865
  },
859
866
  {
860
867
  linkType: "URL",
861
868
  label: { defaultValue: "Header Link" },
862
869
  link: "#",
870
+ normalizeLink: !0,
863
871
  openInNewTab: !1
864
872
  }
865
873
  ],
@@ -919,18 +927,21 @@ export default Locator;
919
927
  linkType: "URL",
920
928
  label: { defaultValue: "Header Link" },
921
929
  link: "#",
930
+ normalizeLink: !0,
922
931
  openInNewTab: !1
923
932
  },
924
933
  {
925
934
  linkType: "URL",
926
935
  label: { defaultValue: "Header Link" },
927
936
  link: "#",
937
+ normalizeLink: !0,
928
938
  openInNewTab: !1
929
939
  },
930
940
  {
931
941
  linkType: "URL",
932
942
  label: { defaultValue: "Header Link" },
933
943
  link: "#",
944
+ normalizeLink: !0,
934
945
  openInNewTab: !1
935
946
  }
936
947
  ],
@@ -993,13 +1004,19 @@ export default Locator;
993
1004
  type: "BreadcrumbsSection",
994
1005
  props: {
995
1006
  data: {
996
- directoryRoot: { defaultValue: "Directory Root" }
1007
+ directoryRoot: { defaultValue: "Directory Root" },
1008
+ currentPage: {
1009
+ constantValue: { defaultValue: "[[name]]" },
1010
+ field: "name",
1011
+ constantValueEnabled: !1
1012
+ }
997
1013
  },
998
1014
  styles: {
999
1015
  backgroundColor: {
1000
1016
  bgColor: "bg-white",
1001
1017
  textColor: "text-black"
1002
- }
1018
+ },
1019
+ showCurrentPage: !0
1003
1020
  },
1004
1021
  analytics: {
1005
1022
  scope: "breadcrumbs"
@@ -1136,6 +1153,7 @@ export default Locator;
1136
1153
  id: "CTASlot-46811f58-2779-4c49-a871-26cf27454544",
1137
1154
  data: {
1138
1155
  actionType: "link",
1156
+ normalizeLink: !0,
1139
1157
  buttonText: { defaultValue: "Button" },
1140
1158
  customId: "",
1141
1159
  customClass: "",
@@ -1167,6 +1185,7 @@ export default Locator;
1167
1185
  id: "CTASlot-633345f6-c438-400b-bdf7-92dce47746bc",
1168
1186
  data: {
1169
1187
  actionType: "link",
1188
+ normalizeLink: !0,
1170
1189
  buttonText: { defaultValue: "Button" },
1171
1190
  customId: "",
1172
1191
  customClass: "",
@@ -1504,6 +1523,7 @@ export default Locator;
1504
1523
  id: "CTASlot-e8531a98-b8ff-4ce1-a299-11fc085eb6c3",
1505
1524
  data: {
1506
1525
  actionType: "link",
1526
+ normalizeLink: !0,
1507
1527
  buttonText: { defaultValue: "Button" },
1508
1528
  customId: "",
1509
1529
  customClass: "",
@@ -1694,6 +1714,7 @@ export default Locator;
1694
1714
  id: "ProductCard-4ddddc07-d36d-4ed3-90e8-1ca3ca2e8447-cta",
1695
1715
  data: {
1696
1716
  actionType: "link",
1717
+ normalizeLink: !0,
1697
1718
  buttonText: { defaultValue: "Button" },
1698
1719
  customId: "",
1699
1720
  customClass: "",
@@ -1865,6 +1886,7 @@ export default Locator;
1865
1886
  id: "ProductCard-996096bf-bc44-4827-ab79-21e9106abf53-cta",
1866
1887
  data: {
1867
1888
  actionType: "link",
1889
+ normalizeLink: !0,
1868
1890
  buttonText: { defaultValue: "Button" },
1869
1891
  customId: "",
1870
1892
  customClass: "",
@@ -2036,6 +2058,7 @@ export default Locator;
2036
2058
  id: "ProductCard-a7549442-809c-489f-9f73-4cd5c6038f51-cta",
2037
2059
  data: {
2038
2060
  actionType: "link",
2061
+ normalizeLink: !0,
2039
2062
  buttonText: { defaultValue: "Button" },
2040
2063
  customId: "",
2041
2064
  customClass: "",
@@ -2790,6 +2813,7 @@ export default Locator;
2790
2813
  id: "CTASlot-84f00400-c27d-4cd7-aa28-a1632694b359",
2791
2814
  data: {
2792
2815
  actionType: "link",
2816
+ normalizeLink: !0,
2793
2817
  buttonText: { defaultValue: "Button" },
2794
2818
  customId: "",
2795
2819
  customClass: "",
@@ -2962,6 +2986,7 @@ export default Locator;
2962
2986
  id: "CTASlot-2f5fcbf5-5f6f-4f18-814d-30b6de491d0a",
2963
2987
  data: {
2964
2988
  actionType: "link",
2989
+ normalizeLink: !0,
2965
2990
  buttonText: { defaultValue: "Button" },
2966
2991
  customId: "",
2967
2992
  customClass: "",
@@ -3134,6 +3159,7 @@ export default Locator;
3134
3159
  id: "CTASlot-569564d0-a69a-44f6-b528-d0aacdc875e5",
3135
3160
  data: {
3136
3161
  actionType: "link",
3162
+ normalizeLink: !0,
3137
3163
  buttonText: { defaultValue: "Button" },
3138
3164
  customId: "",
3139
3165
  customClass: "",
@@ -3380,6 +3406,7 @@ export default Locator;
3380
3406
  id: "InsightCard-1-cta",
3381
3407
  data: {
3382
3408
  actionType: "link",
3409
+ normalizeLink: !0,
3383
3410
  buttonText: { defaultValue: "Button" },
3384
3411
  customId: "",
3385
3412
  customClass: "",
@@ -3546,6 +3573,7 @@ export default Locator;
3546
3573
  id: "InsightCard-2-cta",
3547
3574
  data: {
3548
3575
  actionType: "link",
3576
+ normalizeLink: !0,
3549
3577
  buttonText: { defaultValue: "Button" },
3550
3578
  customId: "",
3551
3579
  customClass: "",
@@ -3712,6 +3740,7 @@ export default Locator;
3712
3740
  id: "InsightCard-3-cta",
3713
3741
  data: {
3714
3742
  actionType: "link",
3743
+ normalizeLink: !0,
3715
3744
  buttonText: { defaultValue: "Button" },
3716
3745
  customId: "",
3717
3746
  customClass: "",
@@ -4024,6 +4053,7 @@ export default Locator;
4024
4053
  id: "EventCard-92abd8ca-550c-4aee-92d9-4140b4ef53ad-cta",
4025
4054
  data: {
4026
4055
  actionType: "link",
4056
+ normalizeLink: !0,
4027
4057
  buttonText: { defaultValue: "Button" },
4028
4058
  customId: "",
4029
4059
  customClass: "",
@@ -4181,6 +4211,7 @@ export default Locator;
4181
4211
  id: "EventCard-b1fd4377-76db-433e-9803-ea5ae0d9f996-cta",
4182
4212
  data: {
4183
4213
  actionType: "link",
4214
+ normalizeLink: !0,
4184
4215
  buttonText: { defaultValue: "Button" },
4185
4216
  customId: "",
4186
4217
  customClass: "",
@@ -4338,6 +4369,7 @@ export default Locator;
4338
4369
  id: "EventCard-90968d53-5878-4459-b3dc-0b9b75e028ea-cta",
4339
4370
  data: {
4340
4371
  actionType: "link",
4372
+ normalizeLink: !0,
4341
4373
  buttonText: { defaultValue: "Button" },
4342
4374
  customId: "",
4343
4375
  customClass: "",
@@ -4536,27 +4568,32 @@ export default Locator;
4536
4568
  {
4537
4569
  linkType: "URL",
4538
4570
  label: { defaultValue: "Footer Link" },
4539
- link: { defaultValue: "#" }
4571
+ link: "#",
4572
+ normalizeLink: !0
4540
4573
  },
4541
4574
  {
4542
4575
  linkType: "URL",
4543
4576
  label: { defaultValue: "Footer Link" },
4544
- link: { defaultValue: "#" }
4577
+ link: "#",
4578
+ normalizeLink: !0
4545
4579
  },
4546
4580
  {
4547
4581
  linkType: "URL",
4548
4582
  label: { defaultValue: "Footer Link" },
4549
- link: { defaultValue: "#" }
4583
+ link: "#",
4584
+ normalizeLink: !0
4550
4585
  },
4551
4586
  {
4552
4587
  linkType: "URL",
4553
4588
  label: { defaultValue: "Footer Link" },
4554
- link: { defaultValue: "#" }
4589
+ link: "#",
4590
+ normalizeLink: !0
4555
4591
  },
4556
4592
  {
4557
4593
  linkType: "URL",
4558
4594
  label: { defaultValue: "Footer Link" },
4559
- link: { defaultValue: "#" }
4595
+ link: "#",
4596
+ normalizeLink: !0
4560
4597
  }
4561
4598
  ]
4562
4599
  },
@@ -4578,27 +4615,32 @@ export default Locator;
4578
4615
  {
4579
4616
  linkType: "URL",
4580
4617
  label: { defaultValue: "Footer Link" },
4581
- link: "#"
4618
+ link: "#",
4619
+ normalizeLink: !0
4582
4620
  },
4583
4621
  {
4584
4622
  linkType: "URL",
4585
4623
  label: { defaultValue: "Footer Link" },
4586
- link: "#"
4624
+ link: "#",
4625
+ normalizeLink: !0
4587
4626
  },
4588
4627
  {
4589
4628
  linkType: "URL",
4590
4629
  label: { defaultValue: "Footer Link" },
4591
- link: "#"
4630
+ link: "#",
4631
+ normalizeLink: !0
4592
4632
  },
4593
4633
  {
4594
4634
  linkType: "URL",
4595
4635
  label: { defaultValue: "Footer Link" },
4596
- link: "#"
4636
+ link: "#",
4637
+ normalizeLink: !0
4597
4638
  },
4598
4639
  {
4599
4640
  linkType: "URL",
4600
4641
  label: { defaultValue: "Footer Link" },
4601
- link: "#"
4642
+ link: "#",
4643
+ normalizeLink: !0
4602
4644
  }
4603
4645
  ]
4604
4646
  },
@@ -4608,27 +4650,32 @@ export default Locator;
4608
4650
  {
4609
4651
  linkType: "URL",
4610
4652
  label: { defaultValue: "Footer Link" },
4611
- link: "#"
4653
+ link: "#",
4654
+ normalizeLink: !0
4612
4655
  },
4613
4656
  {
4614
4657
  linkType: "URL",
4615
4658
  label: { defaultValue: "Footer Link" },
4616
- link: "#"
4659
+ link: "#",
4660
+ normalizeLink: !0
4617
4661
  },
4618
4662
  {
4619
4663
  linkType: "URL",
4620
4664
  label: { defaultValue: "Footer Link" },
4621
- link: "#"
4665
+ link: "#",
4666
+ normalizeLink: !0
4622
4667
  },
4623
4668
  {
4624
4669
  linkType: "URL",
4625
4670
  label: { defaultValue: "Footer Link" },
4626
- link: "#"
4671
+ link: "#",
4672
+ normalizeLink: !0
4627
4673
  },
4628
4674
  {
4629
4675
  linkType: "URL",
4630
4676
  label: { defaultValue: "Footer Link" },
4631
- link: "#"
4677
+ link: "#",
4678
+ normalizeLink: !0
4632
4679
  }
4633
4680
  ]
4634
4681
  },
@@ -4638,27 +4685,32 @@ export default Locator;
4638
4685
  {
4639
4686
  linkType: "URL",
4640
4687
  label: { defaultValue: "Footer Link" },
4641
- link: "#"
4688
+ link: "#",
4689
+ normalizeLink: !0
4642
4690
  },
4643
4691
  {
4644
4692
  linkType: "URL",
4645
4693
  label: { defaultValue: "Footer Link" },
4646
- link: "#"
4694
+ link: "#",
4695
+ normalizeLink: !0
4647
4696
  },
4648
4697
  {
4649
4698
  linkType: "URL",
4650
4699
  label: { defaultValue: "Footer Link" },
4651
- link: "#"
4700
+ link: "#",
4701
+ normalizeLink: !0
4652
4702
  },
4653
4703
  {
4654
4704
  linkType: "URL",
4655
4705
  label: { defaultValue: "Footer Link" },
4656
- link: "#"
4706
+ link: "#",
4707
+ normalizeLink: !0
4657
4708
  },
4658
4709
  {
4659
4710
  linkType: "URL",
4660
4711
  label: { defaultValue: "Footer Link" },
4661
- link: "#"
4712
+ link: "#",
4713
+ normalizeLink: !0
4662
4714
  }
4663
4715
  ]
4664
4716
  },
@@ -4668,27 +4720,32 @@ export default Locator;
4668
4720
  {
4669
4721
  linkType: "URL",
4670
4722
  label: { defaultValue: "Footer Link" },
4671
- link: "#"
4723
+ link: "#",
4724
+ normalizeLink: !0
4672
4725
  },
4673
4726
  {
4674
4727
  linkType: "URL",
4675
4728
  label: { defaultValue: "Footer Link" },
4676
- link: "#"
4729
+ link: "#",
4730
+ normalizeLink: !0
4677
4731
  },
4678
4732
  {
4679
4733
  linkType: "URL",
4680
4734
  label: { defaultValue: "Footer Link" },
4681
- link: "#"
4735
+ link: "#",
4736
+ normalizeLink: !0
4682
4737
  },
4683
4738
  {
4684
4739
  linkType: "URL",
4685
4740
  label: { defaultValue: "Footer Link" },
4686
- link: "#"
4741
+ link: "#",
4742
+ normalizeLink: !0
4687
4743
  },
4688
4744
  {
4689
4745
  linkType: "URL",
4690
4746
  label: { defaultValue: "Footer Link" },
4691
- link: "#"
4747
+ link: "#",
4748
+ normalizeLink: !0
4692
4749
  }
4693
4750
  ]
4694
4751
  }
@@ -4717,27 +4774,32 @@ export default Locator;
4717
4774
  {
4718
4775
  linkType: "URL",
4719
4776
  label: { defaultValue: "Footer Link" },
4720
- link: "#"
4777
+ link: "#",
4778
+ normalizeLink: !0
4721
4779
  },
4722
4780
  {
4723
4781
  linkType: "URL",
4724
4782
  label: { defaultValue: "Footer Link" },
4725
- link: "#"
4783
+ link: "#",
4784
+ normalizeLink: !0
4726
4785
  },
4727
4786
  {
4728
4787
  linkType: "URL",
4729
4788
  label: { defaultValue: "Footer Link" },
4730
- link: "#"
4789
+ link: "#",
4790
+ normalizeLink: !0
4731
4791
  },
4732
4792
  {
4733
4793
  linkType: "URL",
4734
4794
  label: { defaultValue: "Footer Link" },
4735
- link: "#"
4795
+ link: "#",
4796
+ normalizeLink: !0
4736
4797
  },
4737
4798
  {
4738
4799
  linkType: "URL",
4739
4800
  label: { defaultValue: "Footer Link" },
4740
- link: "#"
4801
+ link: "#",
4802
+ normalizeLink: !0
4741
4803
  }
4742
4804
  ]
4743
4805
  },
@@ -4794,7 +4856,7 @@ export default Locator;
4794
4856
  }, g = {
4795
4857
  root: {
4796
4858
  props: {
4797
- version: 63,
4859
+ version: 68,
4798
4860
  title: {
4799
4861
  field: "",
4800
4862
  constantValue: { defaultValue: "PLACEHOLDER" },
@@ -4865,18 +4927,21 @@ export default Locator;
4865
4927
  linkType: "URL",
4866
4928
  label: { defaultValue: "Header Link" },
4867
4929
  link: "#",
4930
+ normalizeLink: !0,
4868
4931
  openInNewTab: !1
4869
4932
  },
4870
4933
  {
4871
4934
  linkType: "URL",
4872
4935
  label: { defaultValue: "Header Link" },
4873
4936
  link: "#",
4937
+ normalizeLink: !0,
4874
4938
  openInNewTab: !1
4875
4939
  },
4876
4940
  {
4877
4941
  linkType: "URL",
4878
4942
  label: { defaultValue: "Header Link" },
4879
4943
  link: "#",
4944
+ normalizeLink: !0,
4880
4945
  openInNewTab: !1
4881
4946
  }
4882
4947
  ],
@@ -4901,6 +4966,7 @@ export default Locator;
4901
4966
  data: {
4902
4967
  show: !0,
4903
4968
  actionType: "link",
4969
+ normalizeLink: !0,
4904
4970
  buttonText: { defaultValue: "Button" },
4905
4971
  entityField: {
4906
4972
  field: "",
@@ -4929,6 +4995,7 @@ export default Locator;
4929
4995
  data: {
4930
4996
  show: !0,
4931
4997
  actionType: "link",
4998
+ normalizeLink: !0,
4932
4999
  buttonText: { defaultValue: "Button" },
4933
5000
  entityField: {
4934
5001
  field: "",
@@ -4979,18 +5046,21 @@ export default Locator;
4979
5046
  linkType: "URL",
4980
5047
  label: { defaultValue: "Header Link" },
4981
5048
  link: "#",
5049
+ normalizeLink: !0,
4982
5050
  openInNewTab: !1
4983
5051
  },
4984
5052
  {
4985
5053
  linkType: "URL",
4986
5054
  label: { defaultValue: "Header Link" },
4987
5055
  link: "#",
5056
+ normalizeLink: !0,
4988
5057
  openInNewTab: !1
4989
5058
  },
4990
5059
  {
4991
5060
  linkType: "URL",
4992
5061
  label: { defaultValue: "Header Link" },
4993
5062
  link: "#",
5063
+ normalizeLink: !0,
4994
5064
  openInNewTab: !1
4995
5065
  }
4996
5066
  ],
@@ -5050,18 +5120,21 @@ export default Locator;
5050
5120
  linkType: "URL",
5051
5121
  label: { defaultValue: "Header Link" },
5052
5122
  link: "#",
5123
+ normalizeLink: !0,
5053
5124
  openInNewTab: !1
5054
5125
  },
5055
5126
  {
5056
5127
  linkType: "URL",
5057
5128
  label: { defaultValue: "Header Link" },
5058
5129
  link: "#",
5130
+ normalizeLink: !0,
5059
5131
  openInNewTab: !1
5060
5132
  },
5061
5133
  {
5062
5134
  linkType: "URL",
5063
5135
  label: { defaultValue: "Header Link" },
5064
5136
  link: "#",
5137
+ normalizeLink: !0,
5065
5138
  openInNewTab: !1
5066
5139
  }
5067
5140
  ],
@@ -5138,13 +5211,19 @@ export default Locator;
5138
5211
  props: {
5139
5212
  id: "BreadcrumbsSlot-13dba298-abd1-4f75-a7e9-b19779a4fc5b",
5140
5213
  data: {
5141
- directoryRoot: { defaultValue: "Directory Root" }
5214
+ directoryRoot: { defaultValue: "Directory Root" },
5215
+ currentPage: {
5216
+ constantValue: { defaultValue: "[[name]]" },
5217
+ field: "name",
5218
+ constantValueEnabled: !1
5219
+ }
5142
5220
  },
5143
5221
  styles: {
5144
5222
  backgroundColor: {
5145
5223
  bgColor: "bg-white",
5146
5224
  textColor: "text-black"
5147
- }
5225
+ },
5226
+ showCurrentPage: !0
5148
5227
  },
5149
5228
  analytics: { scope: "directory" },
5150
5229
  liveVisibility: !0
@@ -5229,30 +5308,35 @@ export default Locator;
5229
5308
  linkType: "URL",
5230
5309
  label: { defaultValue: "Footer Link" },
5231
5310
  link: "#",
5311
+ normalizeLink: !0,
5232
5312
  openInNewTab: !1
5233
5313
  },
5234
5314
  {
5235
5315
  linkType: "URL",
5236
5316
  label: { defaultValue: "Footer Link" },
5237
5317
  link: "#",
5318
+ normalizeLink: !0,
5238
5319
  openInNewTab: !1
5239
5320
  },
5240
5321
  {
5241
5322
  linkType: "URL",
5242
5323
  label: { defaultValue: "Footer Link" },
5243
5324
  link: "#",
5325
+ normalizeLink: !0,
5244
5326
  openInNewTab: !1
5245
5327
  },
5246
5328
  {
5247
5329
  linkType: "URL",
5248
5330
  label: { defaultValue: "Footer Link" },
5249
5331
  link: "#",
5332
+ normalizeLink: !0,
5250
5333
  openInNewTab: !1
5251
5334
  },
5252
5335
  {
5253
5336
  linkType: "URL",
5254
5337
  label: { defaultValue: "Footer Link" },
5255
5338
  link: "#",
5339
+ normalizeLink: !0,
5256
5340
  openInNewTab: !1
5257
5341
  }
5258
5342
  ]
@@ -5276,30 +5360,35 @@ export default Locator;
5276
5360
  linkType: "URL",
5277
5361
  label: { defaultValue: "Footer Link" },
5278
5362
  link: "#",
5363
+ normalizeLink: !0,
5279
5364
  openInNewTab: !1
5280
5365
  },
5281
5366
  {
5282
5367
  linkType: "URL",
5283
5368
  label: { defaultValue: "Footer Link" },
5284
5369
  link: "#",
5370
+ normalizeLink: !0,
5285
5371
  openInNewTab: !1
5286
5372
  },
5287
5373
  {
5288
5374
  linkType: "URL",
5289
5375
  label: { defaultValue: "Footer Link" },
5290
5376
  link: "#",
5377
+ normalizeLink: !0,
5291
5378
  openInNewTab: !1
5292
5379
  },
5293
5380
  {
5294
5381
  linkType: "URL",
5295
5382
  label: { defaultValue: "Footer Link" },
5296
5383
  link: "#",
5384
+ normalizeLink: !0,
5297
5385
  openInNewTab: !1
5298
5386
  },
5299
5387
  {
5300
5388
  linkType: "URL",
5301
5389
  label: { defaultValue: "Footer Link" },
5302
5390
  link: "#",
5391
+ normalizeLink: !0,
5303
5392
  openInNewTab: !1
5304
5393
  }
5305
5394
  ]
@@ -5311,30 +5400,35 @@ export default Locator;
5311
5400
  linkType: "URL",
5312
5401
  label: { defaultValue: "Footer Link" },
5313
5402
  link: "#",
5403
+ normalizeLink: !0,
5314
5404
  openInNewTab: !1
5315
5405
  },
5316
5406
  {
5317
5407
  linkType: "URL",
5318
5408
  label: { defaultValue: "Footer Link" },
5319
5409
  link: "#",
5410
+ normalizeLink: !0,
5320
5411
  openInNewTab: !1
5321
5412
  },
5322
5413
  {
5323
5414
  linkType: "URL",
5324
5415
  label: { defaultValue: "Footer Link" },
5325
5416
  link: "#",
5417
+ normalizeLink: !0,
5326
5418
  openInNewTab: !1
5327
5419
  },
5328
5420
  {
5329
5421
  linkType: "URL",
5330
5422
  label: { defaultValue: "Footer Link" },
5331
5423
  link: "#",
5424
+ normalizeLink: !0,
5332
5425
  openInNewTab: !1
5333
5426
  },
5334
5427
  {
5335
5428
  linkType: "URL",
5336
5429
  label: { defaultValue: "Footer Link" },
5337
5430
  link: "#",
5431
+ normalizeLink: !0,
5338
5432
  openInNewTab: !1
5339
5433
  }
5340
5434
  ]
@@ -5346,30 +5440,35 @@ export default Locator;
5346
5440
  linkType: "URL",
5347
5441
  label: { defaultValue: "Footer Link" },
5348
5442
  link: "#",
5443
+ normalizeLink: !0,
5349
5444
  openInNewTab: !1
5350
5445
  },
5351
5446
  {
5352
5447
  linkType: "URL",
5353
5448
  label: { defaultValue: "Footer Link" },
5354
5449
  link: "#",
5450
+ normalizeLink: !0,
5355
5451
  openInNewTab: !1
5356
5452
  },
5357
5453
  {
5358
5454
  linkType: "URL",
5359
5455
  label: { defaultValue: "Footer Link" },
5360
5456
  link: "#",
5457
+ normalizeLink: !0,
5361
5458
  openInNewTab: !1
5362
5459
  },
5363
5460
  {
5364
5461
  linkType: "URL",
5365
5462
  label: { defaultValue: "Footer Link" },
5366
5463
  link: "#",
5464
+ normalizeLink: !0,
5367
5465
  openInNewTab: !1
5368
5466
  },
5369
5467
  {
5370
5468
  linkType: "URL",
5371
5469
  label: { defaultValue: "Footer Link" },
5372
5470
  link: "#",
5471
+ normalizeLink: !0,
5373
5472
  openInNewTab: !1
5374
5473
  }
5375
5474
  ]
@@ -5381,30 +5480,35 @@ export default Locator;
5381
5480
  linkType: "URL",
5382
5481
  label: { defaultValue: "Footer Link" },
5383
5482
  link: "#",
5483
+ normalizeLink: !0,
5384
5484
  openInNewTab: !1
5385
5485
  },
5386
5486
  {
5387
5487
  linkType: "URL",
5388
5488
  label: { defaultValue: "Footer Link" },
5389
5489
  link: "#",
5490
+ normalizeLink: !0,
5390
5491
  openInNewTab: !1
5391
5492
  },
5392
5493
  {
5393
5494
  linkType: "URL",
5394
5495
  label: { defaultValue: "Footer Link" },
5395
5496
  link: "#",
5497
+ normalizeLink: !0,
5396
5498
  openInNewTab: !1
5397
5499
  },
5398
5500
  {
5399
5501
  linkType: "URL",
5400
5502
  label: { defaultValue: "Footer Link" },
5401
5503
  link: "#",
5504
+ normalizeLink: !0,
5402
5505
  openInNewTab: !1
5403
5506
  },
5404
5507
  {
5405
5508
  linkType: "URL",
5406
5509
  label: { defaultValue: "Footer Link" },
5407
5510
  link: "#",
5511
+ normalizeLink: !0,
5408
5512
  openInNewTab: !1
5409
5513
  }
5410
5514
  ]
@@ -5440,30 +5544,35 @@ export default Locator;
5440
5544
  linkType: "URL",
5441
5545
  label: { defaultValue: "Footer Link" },
5442
5546
  link: "#",
5547
+ normalizeLink: !0,
5443
5548
  openInNewTab: !1
5444
5549
  },
5445
5550
  {
5446
5551
  linkType: "URL",
5447
5552
  label: { defaultValue: "Footer Link" },
5448
5553
  link: "#",
5554
+ normalizeLink: !0,
5449
5555
  openInNewTab: !1
5450
5556
  },
5451
5557
  {
5452
5558
  linkType: "URL",
5453
5559
  label: { defaultValue: "Footer Link" },
5454
5560
  link: "#",
5561
+ normalizeLink: !0,
5455
5562
  openInNewTab: !1
5456
5563
  },
5457
5564
  {
5458
5565
  linkType: "URL",
5459
5566
  label: { defaultValue: "Footer Link" },
5460
5567
  link: "#",
5568
+ normalizeLink: !0,
5461
5569
  openInNewTab: !1
5462
5570
  },
5463
5571
  {
5464
5572
  linkType: "URL",
5465
5573
  label: { defaultValue: "Footer Link" },
5466
5574
  link: "#",
5575
+ normalizeLink: !0,
5467
5576
  openInNewTab: !1
5468
5577
  }
5469
5578
  ]
@@ -5544,10 +5653,10 @@ export default Locator;
5544
5653
  main: JSON.stringify(y),
5545
5654
  directory: JSON.stringify(g),
5546
5655
  locator: JSON.stringify(h)
5547
- }, x = [
5656
+ }, k = [
5548
5657
  {
5549
5658
  filepath: "src/templates/main.tsx",
5550
- content: u,
5659
+ content: p,
5551
5660
  templateManifestEntry: {
5552
5661
  name: "main",
5553
5662
  description: "Use this template to generate pages for each of your Locations.",
@@ -5593,11 +5702,11 @@ export default Locator;
5593
5702
  filepath: "src/templates/edit.tsx",
5594
5703
  content: m
5595
5704
  }
5596
- ], V = () => {
5705
+ ], S = () => {
5597
5706
  let d = !1;
5598
- const c = [], p = () => {
5707
+ const c = [], u = () => {
5599
5708
  const a = { templates: [] };
5600
- x.forEach((o) => {
5709
+ k.forEach((o) => {
5601
5710
  const l = r.join(process.cwd(), o.filepath);
5602
5711
  t.mkdirSync(r.dirname(l), { recursive: !0 }), t.existsSync(l) || (c.push(l), t.writeFileSync(l, o.content)), o.templateManifestEntry && a.templates.push(o.templateManifestEntry);
5603
5712
  });
@@ -5618,7 +5727,7 @@ export default Locator;
5618
5727
  d = n === "build";
5619
5728
  },
5620
5729
  buildStart() {
5621
- p();
5730
+ u();
5622
5731
  },
5623
5732
  buildEnd() {
5624
5733
  d && i();
@@ -5626,5 +5735,5 @@ export default Locator;
5626
5735
  };
5627
5736
  };
5628
5737
  export {
5629
- V as yextVisualEditorPlugin
5738
+ S as yextVisualEditorPlugin
5630
5739
  };