@yext/visual-editor 1.1.0-alpha.6 → 1.1.0-alpha.8

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 (79) hide show
  1. package/dist/editor.css +1 -1
  2. package/dist/index.d.ts +31 -2
  3. package/dist/plugin/plugin.js +177 -59
  4. package/dist/style.css +1 -1
  5. package/dist/{visual-editor-FEvmncVY.js → visual-editor-4PC_Jbxw.js} +388 -371
  6. package/dist/{visual-editor-CYATTw_e.js → visual-editor-5hC9CiKV.js} +404 -387
  7. package/dist/{visual-editor-Cn1e8wBD.js → visual-editor-61w72F9n.js} +386 -369
  8. package/dist/visual-editor-B1g1zuGA.js +197 -0
  9. package/dist/{visual-editor-I2KrwdMb.js → visual-editor-BDA7Unrg.js} +394 -377
  10. package/dist/visual-editor-BYS2Ltqo.js +197 -0
  11. package/dist/visual-editor-BZsYFw5Y.js +197 -0
  12. package/dist/{visual-editor-B9ruYiM4.js → visual-editor-B_0TDDMF.js} +418 -401
  13. package/dist/visual-editor-B_hM9xz0.js +197 -0
  14. package/dist/{visual-editor-DUrgyNTQ.js → visual-editor-Ba6zACDQ.js} +385 -368
  15. package/dist/{visual-editor-DDui4sEC.js → visual-editor-Bg35gfR-.js} +404 -387
  16. package/dist/{visual-editor-yWgEdvAk.js → visual-editor-BkxAQO_k.js} +384 -367
  17. package/dist/{visual-editor-DaUGqO_6.js → visual-editor-BoTPwHeG.js} +401 -384
  18. package/dist/visual-editor-Bqbe9eY3.js +209 -0
  19. package/dist/visual-editor-BtG64Fhc.js +209 -0
  20. package/dist/{visual-editor-DrKi4pSm.js → visual-editor-ByYpunlr.js} +384 -367
  21. package/dist/visual-editor-Bz2F1AP3.js +209 -0
  22. package/dist/{visual-editor-CM8SN-lR.js → visual-editor-C4JNTg1k.js} +394 -377
  23. package/dist/visual-editor-CB6pY2S6.js +197 -0
  24. package/dist/visual-editor-CC6NDyDt.js +197 -0
  25. package/dist/visual-editor-CG5u_8Wq.js +209 -0
  26. package/dist/visual-editor-CGQpxjE0.js +197 -0
  27. package/dist/visual-editor-CJtwiWfR.js +209 -0
  28. package/dist/{visual-editor-CMItvTm5.js → visual-editor-CNcsYpC2.js} +394 -377
  29. package/dist/{visual-editor-sF7zDzzm.js → visual-editor-CW8akV_N.js} +394 -377
  30. package/dist/{visual-editor-O3mHo-6U.js → visual-editor-CXL-7dJk.js} +414 -397
  31. package/dist/{visual-editor-rgXKF8W_.js → visual-editor-Cb4czzH6.js} +388 -371
  32. package/dist/visual-editor-Ce7thgPY.js +221 -0
  33. package/dist/{visual-editor-D8Pw0j5j.js → visual-editor-DF2RHbHR.js} +404 -391
  34. package/dist/{visual-editor-Cj9pJl4P.js → visual-editor-DHVv7xF2.js} +420 -403
  35. package/dist/visual-editor-DIVmTakP.js +197 -0
  36. package/dist/visual-editor-DL3JgtH-.js +197 -0
  37. package/dist/visual-editor-DMc0Aka2.js +197 -0
  38. package/dist/{visual-editor-CpgJzO49.js → visual-editor-DU3n5X-L.js} +402 -385
  39. package/dist/visual-editor-DWw0LdJe.js +209 -0
  40. package/dist/visual-editor-DYkTM2vr.js +197 -0
  41. package/dist/{visual-editor-C9JzaegG.js → visual-editor-Dk-mLAYL.js} +406 -389
  42. package/dist/visual-editor-DwTwZYAH.js +221 -0
  43. package/dist/{visual-editor-BRF-MqmJ.js → visual-editor-Dyg4VAca.js} +394 -377
  44. package/dist/visual-editor-HYr72_rc.js +197 -0
  45. package/dist/{visual-editor-CKIvSiAE.js → visual-editor-Ik6jPnPB.js} +389 -372
  46. package/dist/visual-editor-Pb1OBn4r.js +197 -0
  47. package/dist/visual-editor-YRVOkD4u.js +221 -0
  48. package/dist/visual-editor-YiQJ3Exb.js +221 -0
  49. package/dist/{visual-editor-6XpxFfFs.js → visual-editor-jcJjuKEF.js} +391 -374
  50. package/dist/visual-editor-oB2xWu3p.js +197 -0
  51. package/dist/{visual-editor-D_KJNwhp.js → visual-editor-rnH99oHL.js} +394 -377
  52. package/dist/{visual-editor-TaFxZzke.js → visual-editor-yVhbEcAn.js} +410 -393
  53. package/dist/{visual-editor-Bhxtuq_6.js → visual-editor-ypri9B8k.js} +412 -395
  54. package/dist/visual-editor.js +12156 -11728
  55. package/package.json +2 -2
  56. package/dist/visual-editor-6brnk1dc.js +0 -193
  57. package/dist/visual-editor-BA7dQAHX.js +0 -193
  58. package/dist/visual-editor-BK2pmoC4.js +0 -193
  59. package/dist/visual-editor-BN7ZE3Ob.js +0 -205
  60. package/dist/visual-editor-BTpekLd4.js +0 -205
  61. package/dist/visual-editor-Bctil6we.js +0 -193
  62. package/dist/visual-editor-Bip0ocIS.js +0 -193
  63. package/dist/visual-editor-C26VZrLz.js +0 -193
  64. package/dist/visual-editor-C3Oq114H.js +0 -205
  65. package/dist/visual-editor-CEkiOT-U.js +0 -193
  66. package/dist/visual-editor-CQdNePf4.js +0 -205
  67. package/dist/visual-editor-CQuxAKah.js +0 -205
  68. package/dist/visual-editor-CTL6UoZK.js +0 -217
  69. package/dist/visual-editor-CYxri0B-.js +0 -193
  70. package/dist/visual-editor-D9stmAYr.js +0 -193
  71. package/dist/visual-editor-DKfXnNUa.js +0 -217
  72. package/dist/visual-editor-DTLe23pu.js +0 -193
  73. package/dist/visual-editor-DbEdIUAy.js +0 -217
  74. package/dist/visual-editor-DkF8PTV4.js +0 -217
  75. package/dist/visual-editor-Dnl0sbuA.js +0 -205
  76. package/dist/visual-editor-DpFmrzKq.js +0 -193
  77. package/dist/visual-editor-DsUDDDXe.js +0 -193
  78. package/dist/visual-editor-MjwOnPGF.js +0 -193
  79. package/dist/visual-editor-uzAZ4PTA.js +0 -193
@@ -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 {
@@ -29,6 +29,7 @@ import {
29
29
  getSchema,
30
30
  injectTranslations,
31
31
  getCanonicalUrl,
32
+ GTMBody,
32
33
  resolveUrlTemplate,
33
34
  } from "@yext/visual-editor";
34
35
  import { AnalyticsProvider, SchemaWrapper } from "@yext/pages-components";
@@ -160,11 +161,13 @@ const Location: Template<TemplateRenderProps> = (props) => {
160
161
  requireOptIn={requireAnalyticsOptIn}
161
162
  >
162
163
  <VisualEditorProvider templateProps={props}>
163
- <Render
164
- config={filteredConfig}
165
- data={data}
166
- metadata={{ streamDocument: document }}
167
- />
164
+ <GTMBody>
165
+ <Render
166
+ config={filteredConfig}
167
+ data={data}
168
+ metadata={{ streamDocument: document }}
169
+ />
170
+ </GTMBody>
168
171
  </VisualEditorProvider>
169
172
  </AnalyticsProvider>
170
173
  );
@@ -294,6 +297,7 @@ import {
294
297
  getSchema,
295
298
  injectTranslations,
296
299
  getCanonicalUrl,
300
+ GTMBody,
297
301
  resolveUrlTemplate,
298
302
  } from "@yext/visual-editor";
299
303
  import { AnalyticsProvider, SchemaWrapper } from "@yext/pages-components";
@@ -417,11 +421,13 @@ const Directory: Template<TemplateRenderProps> = (props) => {
417
421
  requireOptIn={requireAnalyticsOptIn}
418
422
  >
419
423
  <VisualEditorProvider templateProps={props}>
420
- <Render
421
- config={directoryConfig}
422
- data={data}
423
- metadata={{ streamDocument: document }}
424
- />
424
+ <GTMBody>
425
+ <Render
426
+ config={directoryConfig}
427
+ data={data}
428
+ metadata={{ streamDocument: document }}
429
+ />
430
+ </GTMBody>
425
431
  </VisualEditorProvider>
426
432
  </AnalyticsProvider>
427
433
  );
@@ -455,6 +461,7 @@ import {
455
461
  getCanonicalUrl,
456
462
  migrate,
457
463
  migrationRegistry,
464
+ GTMBody,
458
465
  resolveUrlTemplate,
459
466
  } from "@yext/visual-editor";
460
467
  import { AnalyticsProvider, SchemaWrapper } from "@yext/pages-components";
@@ -590,11 +597,13 @@ const Locator: Template<TemplateRenderProps> = (props) => {
590
597
  requireOptIn={requireAnalyticsOptIn}
591
598
  >
592
599
  <VisualEditorProvider templateProps={props}>
593
- <Render
594
- config={locatorConfig}
595
- data={data}
596
- metadata={{ streamDocument: document }}
597
- />
600
+ <GTMBody>
601
+ <Render
602
+ config={locatorConfig}
603
+ data={data}
604
+ metadata={{ streamDocument: document }}
605
+ />
606
+ </GTMBody>
598
607
  </VisualEditorProvider>
599
608
  </AnalyticsProvider>
600
609
  </>
@@ -655,7 +664,7 @@ export default Locator;
655
664
  }, y = {
656
665
  root: {
657
666
  props: {
658
- version: 63,
667
+ version: 68,
659
668
  title: {
660
669
  field: "name",
661
670
  constantValue: "",
@@ -725,18 +734,21 @@ export default Locator;
725
734
  linkType: "URL",
726
735
  label: { defaultValue: "Header Link" },
727
736
  link: "#",
737
+ normalizeLink: !0,
728
738
  openInNewTab: !1
729
739
  },
730
740
  {
731
741
  linkType: "URL",
732
742
  label: { defaultValue: "Header Link" },
733
743
  link: "#",
744
+ normalizeLink: !0,
734
745
  openInNewTab: !1
735
746
  },
736
747
  {
737
748
  linkType: "URL",
738
749
  label: { defaultValue: "Header Link" },
739
750
  link: "#",
751
+ normalizeLink: !0,
740
752
  openInNewTab: !1
741
753
  }
742
754
  ],
@@ -761,6 +773,7 @@ export default Locator;
761
773
  data: {
762
774
  show: !0,
763
775
  actionType: "link",
776
+ normalizeLink: !0,
764
777
  buttonText: { defaultValue: "Button" },
765
778
  entityField: {
766
779
  field: "",
@@ -789,6 +802,7 @@ export default Locator;
789
802
  data: {
790
803
  show: !0,
791
804
  actionType: "link",
805
+ normalizeLink: !0,
792
806
  buttonText: { defaultValue: "Button" },
793
807
  entityField: {
794
808
  field: "",
@@ -839,18 +853,21 @@ export default Locator;
839
853
  linkType: "URL",
840
854
  label: { defaultValue: "Header Link" },
841
855
  link: "#",
856
+ normalizeLink: !0,
842
857
  openInNewTab: !1
843
858
  },
844
859
  {
845
860
  linkType: "URL",
846
861
  label: { defaultValue: "Header Link" },
847
862
  link: "#",
863
+ normalizeLink: !0,
848
864
  openInNewTab: !1
849
865
  },
850
866
  {
851
867
  linkType: "URL",
852
868
  label: { defaultValue: "Header Link" },
853
869
  link: "#",
870
+ normalizeLink: !0,
854
871
  openInNewTab: !1
855
872
  }
856
873
  ],
@@ -910,18 +927,21 @@ export default Locator;
910
927
  linkType: "URL",
911
928
  label: { defaultValue: "Header Link" },
912
929
  link: "#",
930
+ normalizeLink: !0,
913
931
  openInNewTab: !1
914
932
  },
915
933
  {
916
934
  linkType: "URL",
917
935
  label: { defaultValue: "Header Link" },
918
936
  link: "#",
937
+ normalizeLink: !0,
919
938
  openInNewTab: !1
920
939
  },
921
940
  {
922
941
  linkType: "URL",
923
942
  label: { defaultValue: "Header Link" },
924
943
  link: "#",
944
+ normalizeLink: !0,
925
945
  openInNewTab: !1
926
946
  }
927
947
  ],
@@ -984,13 +1004,19 @@ export default Locator;
984
1004
  type: "BreadcrumbsSection",
985
1005
  props: {
986
1006
  data: {
987
- directoryRoot: { defaultValue: "Directory Root" }
1007
+ directoryRoot: { defaultValue: "Directory Root" },
1008
+ currentPage: {
1009
+ constantValue: { defaultValue: "[[name]]" },
1010
+ field: "name",
1011
+ constantValueEnabled: !1
1012
+ }
988
1013
  },
989
1014
  styles: {
990
1015
  backgroundColor: {
991
1016
  bgColor: "bg-white",
992
1017
  textColor: "text-black"
993
- }
1018
+ },
1019
+ showCurrentPage: !0
994
1020
  },
995
1021
  analytics: {
996
1022
  scope: "breadcrumbs"
@@ -1127,6 +1153,7 @@ export default Locator;
1127
1153
  id: "CTASlot-46811f58-2779-4c49-a871-26cf27454544",
1128
1154
  data: {
1129
1155
  actionType: "link",
1156
+ normalizeLink: !0,
1130
1157
  buttonText: { defaultValue: "Button" },
1131
1158
  customId: "",
1132
1159
  customClass: "",
@@ -1158,6 +1185,7 @@ export default Locator;
1158
1185
  id: "CTASlot-633345f6-c438-400b-bdf7-92dce47746bc",
1159
1186
  data: {
1160
1187
  actionType: "link",
1188
+ normalizeLink: !0,
1161
1189
  buttonText: { defaultValue: "Button" },
1162
1190
  customId: "",
1163
1191
  customClass: "",
@@ -1495,6 +1523,7 @@ export default Locator;
1495
1523
  id: "CTASlot-e8531a98-b8ff-4ce1-a299-11fc085eb6c3",
1496
1524
  data: {
1497
1525
  actionType: "link",
1526
+ normalizeLink: !0,
1498
1527
  buttonText: { defaultValue: "Button" },
1499
1528
  customId: "",
1500
1529
  customClass: "",
@@ -1685,6 +1714,7 @@ export default Locator;
1685
1714
  id: "ProductCard-4ddddc07-d36d-4ed3-90e8-1ca3ca2e8447-cta",
1686
1715
  data: {
1687
1716
  actionType: "link",
1717
+ normalizeLink: !0,
1688
1718
  buttonText: { defaultValue: "Button" },
1689
1719
  customId: "",
1690
1720
  customClass: "",
@@ -1856,6 +1886,7 @@ export default Locator;
1856
1886
  id: "ProductCard-996096bf-bc44-4827-ab79-21e9106abf53-cta",
1857
1887
  data: {
1858
1888
  actionType: "link",
1889
+ normalizeLink: !0,
1859
1890
  buttonText: { defaultValue: "Button" },
1860
1891
  customId: "",
1861
1892
  customClass: "",
@@ -2027,6 +2058,7 @@ export default Locator;
2027
2058
  id: "ProductCard-a7549442-809c-489f-9f73-4cd5c6038f51-cta",
2028
2059
  data: {
2029
2060
  actionType: "link",
2061
+ normalizeLink: !0,
2030
2062
  buttonText: { defaultValue: "Button" },
2031
2063
  customId: "",
2032
2064
  customClass: "",
@@ -2781,6 +2813,7 @@ export default Locator;
2781
2813
  id: "CTASlot-84f00400-c27d-4cd7-aa28-a1632694b359",
2782
2814
  data: {
2783
2815
  actionType: "link",
2816
+ normalizeLink: !0,
2784
2817
  buttonText: { defaultValue: "Button" },
2785
2818
  customId: "",
2786
2819
  customClass: "",
@@ -2953,6 +2986,7 @@ export default Locator;
2953
2986
  id: "CTASlot-2f5fcbf5-5f6f-4f18-814d-30b6de491d0a",
2954
2987
  data: {
2955
2988
  actionType: "link",
2989
+ normalizeLink: !0,
2956
2990
  buttonText: { defaultValue: "Button" },
2957
2991
  customId: "",
2958
2992
  customClass: "",
@@ -3125,6 +3159,7 @@ export default Locator;
3125
3159
  id: "CTASlot-569564d0-a69a-44f6-b528-d0aacdc875e5",
3126
3160
  data: {
3127
3161
  actionType: "link",
3162
+ normalizeLink: !0,
3128
3163
  buttonText: { defaultValue: "Button" },
3129
3164
  customId: "",
3130
3165
  customClass: "",
@@ -3371,6 +3406,7 @@ export default Locator;
3371
3406
  id: "InsightCard-1-cta",
3372
3407
  data: {
3373
3408
  actionType: "link",
3409
+ normalizeLink: !0,
3374
3410
  buttonText: { defaultValue: "Button" },
3375
3411
  customId: "",
3376
3412
  customClass: "",
@@ -3537,6 +3573,7 @@ export default Locator;
3537
3573
  id: "InsightCard-2-cta",
3538
3574
  data: {
3539
3575
  actionType: "link",
3576
+ normalizeLink: !0,
3540
3577
  buttonText: { defaultValue: "Button" },
3541
3578
  customId: "",
3542
3579
  customClass: "",
@@ -3703,6 +3740,7 @@ export default Locator;
3703
3740
  id: "InsightCard-3-cta",
3704
3741
  data: {
3705
3742
  actionType: "link",
3743
+ normalizeLink: !0,
3706
3744
  buttonText: { defaultValue: "Button" },
3707
3745
  customId: "",
3708
3746
  customClass: "",
@@ -4015,6 +4053,7 @@ export default Locator;
4015
4053
  id: "EventCard-92abd8ca-550c-4aee-92d9-4140b4ef53ad-cta",
4016
4054
  data: {
4017
4055
  actionType: "link",
4056
+ normalizeLink: !0,
4018
4057
  buttonText: { defaultValue: "Button" },
4019
4058
  customId: "",
4020
4059
  customClass: "",
@@ -4172,6 +4211,7 @@ export default Locator;
4172
4211
  id: "EventCard-b1fd4377-76db-433e-9803-ea5ae0d9f996-cta",
4173
4212
  data: {
4174
4213
  actionType: "link",
4214
+ normalizeLink: !0,
4175
4215
  buttonText: { defaultValue: "Button" },
4176
4216
  customId: "",
4177
4217
  customClass: "",
@@ -4329,6 +4369,7 @@ export default Locator;
4329
4369
  id: "EventCard-90968d53-5878-4459-b3dc-0b9b75e028ea-cta",
4330
4370
  data: {
4331
4371
  actionType: "link",
4372
+ normalizeLink: !0,
4332
4373
  buttonText: { defaultValue: "Button" },
4333
4374
  customId: "",
4334
4375
  customClass: "",
@@ -4527,27 +4568,32 @@ export default Locator;
4527
4568
  {
4528
4569
  linkType: "URL",
4529
4570
  label: { defaultValue: "Footer Link" },
4530
- link: { defaultValue: "#" }
4571
+ link: "#",
4572
+ normalizeLink: !0
4531
4573
  },
4532
4574
  {
4533
4575
  linkType: "URL",
4534
4576
  label: { defaultValue: "Footer Link" },
4535
- link: { defaultValue: "#" }
4577
+ link: "#",
4578
+ normalizeLink: !0
4536
4579
  },
4537
4580
  {
4538
4581
  linkType: "URL",
4539
4582
  label: { defaultValue: "Footer Link" },
4540
- link: { defaultValue: "#" }
4583
+ link: "#",
4584
+ normalizeLink: !0
4541
4585
  },
4542
4586
  {
4543
4587
  linkType: "URL",
4544
4588
  label: { defaultValue: "Footer Link" },
4545
- link: { defaultValue: "#" }
4589
+ link: "#",
4590
+ normalizeLink: !0
4546
4591
  },
4547
4592
  {
4548
4593
  linkType: "URL",
4549
4594
  label: { defaultValue: "Footer Link" },
4550
- link: { defaultValue: "#" }
4595
+ link: "#",
4596
+ normalizeLink: !0
4551
4597
  }
4552
4598
  ]
4553
4599
  },
@@ -4569,27 +4615,32 @@ export default Locator;
4569
4615
  {
4570
4616
  linkType: "URL",
4571
4617
  label: { defaultValue: "Footer Link" },
4572
- link: "#"
4618
+ link: "#",
4619
+ normalizeLink: !0
4573
4620
  },
4574
4621
  {
4575
4622
  linkType: "URL",
4576
4623
  label: { defaultValue: "Footer Link" },
4577
- link: "#"
4624
+ link: "#",
4625
+ normalizeLink: !0
4578
4626
  },
4579
4627
  {
4580
4628
  linkType: "URL",
4581
4629
  label: { defaultValue: "Footer Link" },
4582
- link: "#"
4630
+ link: "#",
4631
+ normalizeLink: !0
4583
4632
  },
4584
4633
  {
4585
4634
  linkType: "URL",
4586
4635
  label: { defaultValue: "Footer Link" },
4587
- link: "#"
4636
+ link: "#",
4637
+ normalizeLink: !0
4588
4638
  },
4589
4639
  {
4590
4640
  linkType: "URL",
4591
4641
  label: { defaultValue: "Footer Link" },
4592
- link: "#"
4642
+ link: "#",
4643
+ normalizeLink: !0
4593
4644
  }
4594
4645
  ]
4595
4646
  },
@@ -4599,27 +4650,32 @@ export default Locator;
4599
4650
  {
4600
4651
  linkType: "URL",
4601
4652
  label: { defaultValue: "Footer Link" },
4602
- link: "#"
4653
+ link: "#",
4654
+ normalizeLink: !0
4603
4655
  },
4604
4656
  {
4605
4657
  linkType: "URL",
4606
4658
  label: { defaultValue: "Footer Link" },
4607
- link: "#"
4659
+ link: "#",
4660
+ normalizeLink: !0
4608
4661
  },
4609
4662
  {
4610
4663
  linkType: "URL",
4611
4664
  label: { defaultValue: "Footer Link" },
4612
- link: "#"
4665
+ link: "#",
4666
+ normalizeLink: !0
4613
4667
  },
4614
4668
  {
4615
4669
  linkType: "URL",
4616
4670
  label: { defaultValue: "Footer Link" },
4617
- link: "#"
4671
+ link: "#",
4672
+ normalizeLink: !0
4618
4673
  },
4619
4674
  {
4620
4675
  linkType: "URL",
4621
4676
  label: { defaultValue: "Footer Link" },
4622
- link: "#"
4677
+ link: "#",
4678
+ normalizeLink: !0
4623
4679
  }
4624
4680
  ]
4625
4681
  },
@@ -4629,27 +4685,32 @@ export default Locator;
4629
4685
  {
4630
4686
  linkType: "URL",
4631
4687
  label: { defaultValue: "Footer Link" },
4632
- link: "#"
4688
+ link: "#",
4689
+ normalizeLink: !0
4633
4690
  },
4634
4691
  {
4635
4692
  linkType: "URL",
4636
4693
  label: { defaultValue: "Footer Link" },
4637
- link: "#"
4694
+ link: "#",
4695
+ normalizeLink: !0
4638
4696
  },
4639
4697
  {
4640
4698
  linkType: "URL",
4641
4699
  label: { defaultValue: "Footer Link" },
4642
- link: "#"
4700
+ link: "#",
4701
+ normalizeLink: !0
4643
4702
  },
4644
4703
  {
4645
4704
  linkType: "URL",
4646
4705
  label: { defaultValue: "Footer Link" },
4647
- link: "#"
4706
+ link: "#",
4707
+ normalizeLink: !0
4648
4708
  },
4649
4709
  {
4650
4710
  linkType: "URL",
4651
4711
  label: { defaultValue: "Footer Link" },
4652
- link: "#"
4712
+ link: "#",
4713
+ normalizeLink: !0
4653
4714
  }
4654
4715
  ]
4655
4716
  },
@@ -4659,27 +4720,32 @@ export default Locator;
4659
4720
  {
4660
4721
  linkType: "URL",
4661
4722
  label: { defaultValue: "Footer Link" },
4662
- link: "#"
4723
+ link: "#",
4724
+ normalizeLink: !0
4663
4725
  },
4664
4726
  {
4665
4727
  linkType: "URL",
4666
4728
  label: { defaultValue: "Footer Link" },
4667
- link: "#"
4729
+ link: "#",
4730
+ normalizeLink: !0
4668
4731
  },
4669
4732
  {
4670
4733
  linkType: "URL",
4671
4734
  label: { defaultValue: "Footer Link" },
4672
- link: "#"
4735
+ link: "#",
4736
+ normalizeLink: !0
4673
4737
  },
4674
4738
  {
4675
4739
  linkType: "URL",
4676
4740
  label: { defaultValue: "Footer Link" },
4677
- link: "#"
4741
+ link: "#",
4742
+ normalizeLink: !0
4678
4743
  },
4679
4744
  {
4680
4745
  linkType: "URL",
4681
4746
  label: { defaultValue: "Footer Link" },
4682
- link: "#"
4747
+ link: "#",
4748
+ normalizeLink: !0
4683
4749
  }
4684
4750
  ]
4685
4751
  }
@@ -4708,27 +4774,32 @@ export default Locator;
4708
4774
  {
4709
4775
  linkType: "URL",
4710
4776
  label: { defaultValue: "Footer Link" },
4711
- link: "#"
4777
+ link: "#",
4778
+ normalizeLink: !0
4712
4779
  },
4713
4780
  {
4714
4781
  linkType: "URL",
4715
4782
  label: { defaultValue: "Footer Link" },
4716
- link: "#"
4783
+ link: "#",
4784
+ normalizeLink: !0
4717
4785
  },
4718
4786
  {
4719
4787
  linkType: "URL",
4720
4788
  label: { defaultValue: "Footer Link" },
4721
- link: "#"
4789
+ link: "#",
4790
+ normalizeLink: !0
4722
4791
  },
4723
4792
  {
4724
4793
  linkType: "URL",
4725
4794
  label: { defaultValue: "Footer Link" },
4726
- link: "#"
4795
+ link: "#",
4796
+ normalizeLink: !0
4727
4797
  },
4728
4798
  {
4729
4799
  linkType: "URL",
4730
4800
  label: { defaultValue: "Footer Link" },
4731
- link: "#"
4801
+ link: "#",
4802
+ normalizeLink: !0
4732
4803
  }
4733
4804
  ]
4734
4805
  },
@@ -4785,7 +4856,7 @@ export default Locator;
4785
4856
  }, g = {
4786
4857
  root: {
4787
4858
  props: {
4788
- version: 63,
4859
+ version: 68,
4789
4860
  title: {
4790
4861
  field: "",
4791
4862
  constantValue: { defaultValue: "PLACEHOLDER" },
@@ -4856,18 +4927,21 @@ export default Locator;
4856
4927
  linkType: "URL",
4857
4928
  label: { defaultValue: "Header Link" },
4858
4929
  link: "#",
4930
+ normalizeLink: !0,
4859
4931
  openInNewTab: !1
4860
4932
  },
4861
4933
  {
4862
4934
  linkType: "URL",
4863
4935
  label: { defaultValue: "Header Link" },
4864
4936
  link: "#",
4937
+ normalizeLink: !0,
4865
4938
  openInNewTab: !1
4866
4939
  },
4867
4940
  {
4868
4941
  linkType: "URL",
4869
4942
  label: { defaultValue: "Header Link" },
4870
4943
  link: "#",
4944
+ normalizeLink: !0,
4871
4945
  openInNewTab: !1
4872
4946
  }
4873
4947
  ],
@@ -4892,6 +4966,7 @@ export default Locator;
4892
4966
  data: {
4893
4967
  show: !0,
4894
4968
  actionType: "link",
4969
+ normalizeLink: !0,
4895
4970
  buttonText: { defaultValue: "Button" },
4896
4971
  entityField: {
4897
4972
  field: "",
@@ -4920,6 +4995,7 @@ export default Locator;
4920
4995
  data: {
4921
4996
  show: !0,
4922
4997
  actionType: "link",
4998
+ normalizeLink: !0,
4923
4999
  buttonText: { defaultValue: "Button" },
4924
5000
  entityField: {
4925
5001
  field: "",
@@ -4970,18 +5046,21 @@ export default Locator;
4970
5046
  linkType: "URL",
4971
5047
  label: { defaultValue: "Header Link" },
4972
5048
  link: "#",
5049
+ normalizeLink: !0,
4973
5050
  openInNewTab: !1
4974
5051
  },
4975
5052
  {
4976
5053
  linkType: "URL",
4977
5054
  label: { defaultValue: "Header Link" },
4978
5055
  link: "#",
5056
+ normalizeLink: !0,
4979
5057
  openInNewTab: !1
4980
5058
  },
4981
5059
  {
4982
5060
  linkType: "URL",
4983
5061
  label: { defaultValue: "Header Link" },
4984
5062
  link: "#",
5063
+ normalizeLink: !0,
4985
5064
  openInNewTab: !1
4986
5065
  }
4987
5066
  ],
@@ -5041,18 +5120,21 @@ export default Locator;
5041
5120
  linkType: "URL",
5042
5121
  label: { defaultValue: "Header Link" },
5043
5122
  link: "#",
5123
+ normalizeLink: !0,
5044
5124
  openInNewTab: !1
5045
5125
  },
5046
5126
  {
5047
5127
  linkType: "URL",
5048
5128
  label: { defaultValue: "Header Link" },
5049
5129
  link: "#",
5130
+ normalizeLink: !0,
5050
5131
  openInNewTab: !1
5051
5132
  },
5052
5133
  {
5053
5134
  linkType: "URL",
5054
5135
  label: { defaultValue: "Header Link" },
5055
5136
  link: "#",
5137
+ normalizeLink: !0,
5056
5138
  openInNewTab: !1
5057
5139
  }
5058
5140
  ],
@@ -5129,13 +5211,19 @@ export default Locator;
5129
5211
  props: {
5130
5212
  id: "BreadcrumbsSlot-13dba298-abd1-4f75-a7e9-b19779a4fc5b",
5131
5213
  data: {
5132
- directoryRoot: { defaultValue: "Directory Root" }
5214
+ directoryRoot: { defaultValue: "Directory Root" },
5215
+ currentPage: {
5216
+ constantValue: { defaultValue: "[[name]]" },
5217
+ field: "name",
5218
+ constantValueEnabled: !1
5219
+ }
5133
5220
  },
5134
5221
  styles: {
5135
5222
  backgroundColor: {
5136
5223
  bgColor: "bg-white",
5137
5224
  textColor: "text-black"
5138
- }
5225
+ },
5226
+ showCurrentPage: !0
5139
5227
  },
5140
5228
  analytics: { scope: "directory" },
5141
5229
  liveVisibility: !0
@@ -5220,30 +5308,35 @@ export default Locator;
5220
5308
  linkType: "URL",
5221
5309
  label: { defaultValue: "Footer Link" },
5222
5310
  link: "#",
5311
+ normalizeLink: !0,
5223
5312
  openInNewTab: !1
5224
5313
  },
5225
5314
  {
5226
5315
  linkType: "URL",
5227
5316
  label: { defaultValue: "Footer Link" },
5228
5317
  link: "#",
5318
+ normalizeLink: !0,
5229
5319
  openInNewTab: !1
5230
5320
  },
5231
5321
  {
5232
5322
  linkType: "URL",
5233
5323
  label: { defaultValue: "Footer Link" },
5234
5324
  link: "#",
5325
+ normalizeLink: !0,
5235
5326
  openInNewTab: !1
5236
5327
  },
5237
5328
  {
5238
5329
  linkType: "URL",
5239
5330
  label: { defaultValue: "Footer Link" },
5240
5331
  link: "#",
5332
+ normalizeLink: !0,
5241
5333
  openInNewTab: !1
5242
5334
  },
5243
5335
  {
5244
5336
  linkType: "URL",
5245
5337
  label: { defaultValue: "Footer Link" },
5246
5338
  link: "#",
5339
+ normalizeLink: !0,
5247
5340
  openInNewTab: !1
5248
5341
  }
5249
5342
  ]
@@ -5267,30 +5360,35 @@ export default Locator;
5267
5360
  linkType: "URL",
5268
5361
  label: { defaultValue: "Footer Link" },
5269
5362
  link: "#",
5363
+ normalizeLink: !0,
5270
5364
  openInNewTab: !1
5271
5365
  },
5272
5366
  {
5273
5367
  linkType: "URL",
5274
5368
  label: { defaultValue: "Footer Link" },
5275
5369
  link: "#",
5370
+ normalizeLink: !0,
5276
5371
  openInNewTab: !1
5277
5372
  },
5278
5373
  {
5279
5374
  linkType: "URL",
5280
5375
  label: { defaultValue: "Footer Link" },
5281
5376
  link: "#",
5377
+ normalizeLink: !0,
5282
5378
  openInNewTab: !1
5283
5379
  },
5284
5380
  {
5285
5381
  linkType: "URL",
5286
5382
  label: { defaultValue: "Footer Link" },
5287
5383
  link: "#",
5384
+ normalizeLink: !0,
5288
5385
  openInNewTab: !1
5289
5386
  },
5290
5387
  {
5291
5388
  linkType: "URL",
5292
5389
  label: { defaultValue: "Footer Link" },
5293
5390
  link: "#",
5391
+ normalizeLink: !0,
5294
5392
  openInNewTab: !1
5295
5393
  }
5296
5394
  ]
@@ -5302,30 +5400,35 @@ export default Locator;
5302
5400
  linkType: "URL",
5303
5401
  label: { defaultValue: "Footer Link" },
5304
5402
  link: "#",
5403
+ normalizeLink: !0,
5305
5404
  openInNewTab: !1
5306
5405
  },
5307
5406
  {
5308
5407
  linkType: "URL",
5309
5408
  label: { defaultValue: "Footer Link" },
5310
5409
  link: "#",
5410
+ normalizeLink: !0,
5311
5411
  openInNewTab: !1
5312
5412
  },
5313
5413
  {
5314
5414
  linkType: "URL",
5315
5415
  label: { defaultValue: "Footer Link" },
5316
5416
  link: "#",
5417
+ normalizeLink: !0,
5317
5418
  openInNewTab: !1
5318
5419
  },
5319
5420
  {
5320
5421
  linkType: "URL",
5321
5422
  label: { defaultValue: "Footer Link" },
5322
5423
  link: "#",
5424
+ normalizeLink: !0,
5323
5425
  openInNewTab: !1
5324
5426
  },
5325
5427
  {
5326
5428
  linkType: "URL",
5327
5429
  label: { defaultValue: "Footer Link" },
5328
5430
  link: "#",
5431
+ normalizeLink: !0,
5329
5432
  openInNewTab: !1
5330
5433
  }
5331
5434
  ]
@@ -5337,30 +5440,35 @@ export default Locator;
5337
5440
  linkType: "URL",
5338
5441
  label: { defaultValue: "Footer Link" },
5339
5442
  link: "#",
5443
+ normalizeLink: !0,
5340
5444
  openInNewTab: !1
5341
5445
  },
5342
5446
  {
5343
5447
  linkType: "URL",
5344
5448
  label: { defaultValue: "Footer Link" },
5345
5449
  link: "#",
5450
+ normalizeLink: !0,
5346
5451
  openInNewTab: !1
5347
5452
  },
5348
5453
  {
5349
5454
  linkType: "URL",
5350
5455
  label: { defaultValue: "Footer Link" },
5351
5456
  link: "#",
5457
+ normalizeLink: !0,
5352
5458
  openInNewTab: !1
5353
5459
  },
5354
5460
  {
5355
5461
  linkType: "URL",
5356
5462
  label: { defaultValue: "Footer Link" },
5357
5463
  link: "#",
5464
+ normalizeLink: !0,
5358
5465
  openInNewTab: !1
5359
5466
  },
5360
5467
  {
5361
5468
  linkType: "URL",
5362
5469
  label: { defaultValue: "Footer Link" },
5363
5470
  link: "#",
5471
+ normalizeLink: !0,
5364
5472
  openInNewTab: !1
5365
5473
  }
5366
5474
  ]
@@ -5372,30 +5480,35 @@ export default Locator;
5372
5480
  linkType: "URL",
5373
5481
  label: { defaultValue: "Footer Link" },
5374
5482
  link: "#",
5483
+ normalizeLink: !0,
5375
5484
  openInNewTab: !1
5376
5485
  },
5377
5486
  {
5378
5487
  linkType: "URL",
5379
5488
  label: { defaultValue: "Footer Link" },
5380
5489
  link: "#",
5490
+ normalizeLink: !0,
5381
5491
  openInNewTab: !1
5382
5492
  },
5383
5493
  {
5384
5494
  linkType: "URL",
5385
5495
  label: { defaultValue: "Footer Link" },
5386
5496
  link: "#",
5497
+ normalizeLink: !0,
5387
5498
  openInNewTab: !1
5388
5499
  },
5389
5500
  {
5390
5501
  linkType: "URL",
5391
5502
  label: { defaultValue: "Footer Link" },
5392
5503
  link: "#",
5504
+ normalizeLink: !0,
5393
5505
  openInNewTab: !1
5394
5506
  },
5395
5507
  {
5396
5508
  linkType: "URL",
5397
5509
  label: { defaultValue: "Footer Link" },
5398
5510
  link: "#",
5511
+ normalizeLink: !0,
5399
5512
  openInNewTab: !1
5400
5513
  }
5401
5514
  ]
@@ -5431,30 +5544,35 @@ export default Locator;
5431
5544
  linkType: "URL",
5432
5545
  label: { defaultValue: "Footer Link" },
5433
5546
  link: "#",
5547
+ normalizeLink: !0,
5434
5548
  openInNewTab: !1
5435
5549
  },
5436
5550
  {
5437
5551
  linkType: "URL",
5438
5552
  label: { defaultValue: "Footer Link" },
5439
5553
  link: "#",
5554
+ normalizeLink: !0,
5440
5555
  openInNewTab: !1
5441
5556
  },
5442
5557
  {
5443
5558
  linkType: "URL",
5444
5559
  label: { defaultValue: "Footer Link" },
5445
5560
  link: "#",
5561
+ normalizeLink: !0,
5446
5562
  openInNewTab: !1
5447
5563
  },
5448
5564
  {
5449
5565
  linkType: "URL",
5450
5566
  label: { defaultValue: "Footer Link" },
5451
5567
  link: "#",
5568
+ normalizeLink: !0,
5452
5569
  openInNewTab: !1
5453
5570
  },
5454
5571
  {
5455
5572
  linkType: "URL",
5456
5573
  label: { defaultValue: "Footer Link" },
5457
5574
  link: "#",
5575
+ normalizeLink: !0,
5458
5576
  openInNewTab: !1
5459
5577
  }
5460
5578
  ]
@@ -5535,10 +5653,10 @@ export default Locator;
5535
5653
  main: JSON.stringify(y),
5536
5654
  directory: JSON.stringify(g),
5537
5655
  locator: JSON.stringify(h)
5538
- }, x = [
5656
+ }, k = [
5539
5657
  {
5540
5658
  filepath: "src/templates/main.tsx",
5541
- content: u,
5659
+ content: p,
5542
5660
  templateManifestEntry: {
5543
5661
  name: "main",
5544
5662
  description: "Use this template to generate pages for each of your Locations.",
@@ -5584,11 +5702,11 @@ export default Locator;
5584
5702
  filepath: "src/templates/edit.tsx",
5585
5703
  content: m
5586
5704
  }
5587
- ], V = () => {
5705
+ ], S = () => {
5588
5706
  let d = !1;
5589
- const c = [], p = () => {
5707
+ const c = [], u = () => {
5590
5708
  const a = { templates: [] };
5591
- x.forEach((o) => {
5709
+ k.forEach((o) => {
5592
5710
  const l = r.join(process.cwd(), o.filepath);
5593
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);
5594
5712
  });
@@ -5609,7 +5727,7 @@ export default Locator;
5609
5727
  d = n === "build";
5610
5728
  },
5611
5729
  buildStart() {
5612
- p();
5730
+ u();
5613
5731
  },
5614
5732
  buildEnd() {
5615
5733
  d && i();
@@ -5617,5 +5735,5 @@ export default Locator;
5617
5735
  };
5618
5736
  };
5619
5737
  export {
5620
- V as yextVisualEditorPlugin
5738
+ S as yextVisualEditorPlugin
5621
5739
  };