@visitscotland/component-library 5.19.0 → 5.20.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 (49) hide show
  1. package/dist/client/manifest.json +274 -323
  2. package/dist/client/scripts/093dbadb21acf4310ea2.js +1 -0
  3. package/dist/client/scripts/09efaf35581f94d9341a.js +1 -0
  4. package/dist/client/scripts/1a2fe27ede39fb06df96.js +1 -0
  5. package/dist/client/scripts/50b89672eef23c1cba6c.js +1 -0
  6. package/dist/client/scripts/{937cc99f8cf1e41ae153.js → 64f99a851351addd116c.js} +1 -1
  7. package/dist/client/scripts/{6e70f15e6d2bdbf34199.js → 6c12b23e171896e42a5f.js} +1 -1
  8. package/dist/client/scripts/8e08333a06adfc57e26d.js +1 -0
  9. package/dist/client/scripts/{a518bb1554a077d87d19.js → a084de3f7ec65cfd1bbb.js} +1 -1
  10. package/dist/client/scripts/{891ca6d77a816816d620.js → b6c924ab21e8d58165f5.js} +1 -1
  11. package/dist/client/scripts/dca2c65879ee8c6fe5e7.js +1 -0
  12. package/dist/client/scripts/dfab0d5501435b36f6fb.js +1 -0
  13. package/dist/client/scripts/eacb9fb49685d24d4a62.js +1 -0
  14. package/dist/client/styles/{4fbfda37596f16bf48b4.css → 42559a474b2804a2ef3f.css} +1 -1
  15. package/dist/client/styles/{70f85bd1939b0ffd41bc.css → 72709ccc1d539e0e7922.css} +1 -1
  16. package/dist/client/styles/dca2c65879ee8c6fe5e7.css +1 -0
  17. package/dist/client/styles/{b85e16fbbf8d8cec5583.css → dfab0d5501435b36f6fb.css} +1 -1
  18. package/dist/components/{LoadingSpinner-Bt2Ghlfy.mjs → LoadingSpinner-Bun15Pvs.mjs} +102 -67
  19. package/dist/components/{LoadingSpinner-kkWdRoQn.js → LoadingSpinner-D-h3wMvy.js} +11 -11
  20. package/dist/components/src/custom-components/federated-search/composables/dataLayerComposable.d.ts +47 -0
  21. package/dist/components/src/{stores → custom-components/federated-search/stores}/federatedSearch.store.d.ts +11 -5
  22. package/dist/components/src/{utils/federated-search → custom-components/federated-search/utils}/cludo-autocomplete.d.ts +1 -1
  23. package/dist/components/src/{utils/federated-search → custom-components/federated-search/utils}/cludo-search.d.ts +1 -1
  24. package/dist/components/src/{utils/federated-search → custom-components/federated-search/utils}/event-search.d.ts +1 -1
  25. package/dist/components/src/utils/data-layer-templates.d.ts +4 -0
  26. package/dist/components/style.css +1 -1
  27. package/dist/components/vs-component-library-maps.js +1 -1
  28. package/dist/components/vs-component-library-maps.mjs +1 -1
  29. package/dist/components/vs-component-library.js +105 -105
  30. package/dist/components/vs-component-library.mjs +4484 -4336
  31. package/dist/ssr/index.js +1 -1
  32. package/dist/ssr/manifest.json +1 -1
  33. package/dist/ssr/styles/{3e1d35bdf789dd396767.css → 6fce2da76f8992515487.css} +4 -5
  34. package/package.json +1 -1
  35. package/dist/client/scripts/1714d8bdf57ec37c7f7f.js +0 -1
  36. package/dist/client/scripts/20fefc2e8bed6e73892a.js +0 -1
  37. package/dist/client/scripts/2e638bf18671846cc500.js +0 -1
  38. package/dist/client/scripts/57614c88f07f20a282b2.js +0 -1
  39. package/dist/client/scripts/81f6df895ee29fb5e603.js +0 -1
  40. package/dist/client/scripts/98b385f33830385a4d2d.js +0 -1
  41. package/dist/client/scripts/9b38d68c8dc4375aa543.js +0 -1
  42. package/dist/client/scripts/b85e16fbbf8d8cec5583.js +0 -1
  43. package/dist/client/styles/20fefc2e8bed6e73892a.css +0 -1
  44. package/dist/client/styles/81f6df895ee29fb5e603.css +0 -1
  45. /package/dist/client/scripts/{4fbfda37596f16bf48b4.js → 42559a474b2804a2ef3f.js} +0 -0
  46. /package/dist/client/scripts/{70f85bd1939b0ffd41bc.js → 72709ccc1d539e0e7922.js} +0 -0
  47. /package/dist/client/styles/{2e638bf18671846cc500.css → 093dbadb21acf4310ea2.css} +0 -0
  48. /package/dist/client/styles/{57614c88f07f20a282b2.css → 8e08333a06adfc57e26d.css} +0 -0
  49. /package/dist/client/styles/{1714d8bdf57ec37c7f7f.css → eacb9fb49685d24d4a62.css} +0 -0
@@ -5826,7 +5826,7 @@ const RE = /* @__PURE__ */ ne({
5826
5826
  _: 3
5827
5827
  }, 8, ["id", "class"]));
5828
5828
  }
5829
- }), aS = "1200px", oS = "1116px", iS = "768px", lS = "1140px", sS = "696px", uS = "576px", fS = "992px", dS = "0", cS = "720px", pS = "516px", vS = "936px", gS = "540px", hS = "960px", mS = "1340px", yS = "1316px", bS = "1400px", _S = "12", wS = "24px", xS = "12px", SS = "16px", BS = "20px", AS = "24px", CS = "30px", TS = "40px", ES = "1", kS = "0.5", OS = "0", $S = ".08s", RS = ".2s", FS = ".5s", PS = "no-js", LS = "rgb(42, 40, 41)", IS = "rgb(239, 239, 239)", NS = {
5829
+ }), aS = "1200px", oS = "1116px", iS = "768px", lS = "1140px", sS = "696px", uS = "576px", fS = "992px", dS = "0", cS = "720px", pS = "516px", vS = "936px", gS = "540px", hS = "960px", mS = "1320px", yS = "1296px", bS = "1400px", _S = "12", wS = "24px", xS = "12px", SS = "16px", BS = "20px", AS = "24px", CS = "30px", TS = "40px", ES = "1", kS = "0.5", OS = "0", $S = ".08s", RS = ".2s", FS = ".5s", PS = "no-js", LS = "rgb(42, 40, 41)", IS = "rgb(239, 239, 239)", NS = {
5830
5830
  "vs-color-background-primary": "rgb(255, 255, 255)",
5831
5831
  "vs-color-background-secondary": "rgb(242, 242, 248)",
5832
5832
  "vs-color-background-bold": "rgb(32, 15, 46)",
@@ -6565,6 +6565,35 @@ const xs = /* @__PURE__ */ rn(VS, [["render", DS]]), Vd = fw("datalayer", () =>
6565
6565
  "tag_name",
6566
6566
  "meta_data",
6567
6567
  "event_listing"
6568
+ ], WE = [
6569
+ "event",
6570
+ "referrer_page"
6571
+ ], qE = [
6572
+ "event",
6573
+ "search_query",
6574
+ "query_input",
6575
+ "results_count",
6576
+ "search_usage_index",
6577
+ "search_type"
6578
+ ], GE = [
6579
+ "event",
6580
+ "interaction_type",
6581
+ "search_query",
6582
+ "query_input",
6583
+ "page_number",
6584
+ "page_navigation_direction",
6585
+ "click_text",
6586
+ "click_url",
6587
+ "click_category",
6588
+ "search_usage_index",
6589
+ "results_count"
6590
+ ], jE = [
6591
+ "event",
6592
+ "search_usage_index",
6593
+ "search_query",
6594
+ "query_input",
6595
+ "page_number",
6596
+ "results_count"
6568
6597
  ], nB = {
6569
6598
  computed: {
6570
6599
  // Retrieving page url from the page store created by:
@@ -6910,7 +6939,7 @@ function aB(a, r, n, o, l, s) {
6910
6939
  }
6911
6940
  const oB = /* @__PURE__ */ rn(rB, [["render", aB]]);
6912
6941
  var nr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6913
- function WE(a) {
6942
+ function KE(a) {
6914
6943
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
6915
6944
  }
6916
6945
  function iB(a) {
@@ -10670,7 +10699,7 @@ function uB(a, r, n, o, l, s) {
10670
10699
  _: 3
10671
10700
  }, 8, ["class", "id"]);
10672
10701
  }
10673
- const qE = /* @__PURE__ */ rn(sB, [["render", uB]]), fB = {
10702
+ const JE = /* @__PURE__ */ rn(sB, [["render", uB]]), fB = {
10674
10703
  name: "VsCol",
10675
10704
  status: "prototype",
10676
10705
  release: "0.1.0",
@@ -10702,7 +10731,7 @@ function dB(a, r, n, o, l, s) {
10702
10731
  _: 3
10703
10732
  }, 16);
10704
10733
  }
10705
- const GE = /* @__PURE__ */ rn(fB, [["render", dB]]), cB = {
10734
+ const XE = /* @__PURE__ */ rn(fB, [["render", dB]]), cB = {
10706
10735
  name: "VsRow",
10707
10736
  status: "prototype",
10708
10737
  release: "0.0.1"
@@ -10712,7 +10741,7 @@ function pB(a, r, n, o, l, s) {
10712
10741
  W(a.$slots, "default")
10713
10742
  ], 16);
10714
10743
  }
10715
- const jE = /* @__PURE__ */ rn(cB, [["render", pB]]), vB = {
10744
+ const YE = /* @__PURE__ */ rn(cB, [["render", pB]]), vB = {
10716
10745
  name: "VsContainer",
10717
10746
  status: "prototype",
10718
10747
  release: "0.1.0",
@@ -10729,7 +10758,7 @@ function gB(a, r, n, o, l, s) {
10729
10758
  _: 3
10730
10759
  }, 16);
10731
10760
  }
10732
- const KE = /* @__PURE__ */ rn(vB, [["render", gB]]), hB = {
10761
+ const ZE = /* @__PURE__ */ rn(vB, [["render", gB]]), hB = {
10733
10762
  name: "VsBody",
10734
10763
  status: "prototype",
10735
10764
  release: "0.0.1",
@@ -10892,7 +10921,7 @@ function _B(a, r, n, o, l, s) {
10892
10921
  _: 1
10893
10922
  }, 8, ["label"]);
10894
10923
  }
10895
- const JE = /* @__PURE__ */ rn(bB, [["render", _B]]), wB = {
10924
+ const QE = /* @__PURE__ */ rn(bB, [["render", _B]]), wB = {
10896
10925
  computed: {
10897
10926
  fullSrcSet() {
10898
10927
  return `
@@ -11070,7 +11099,7 @@ function BB(a, r, n, o, l, s) {
11070
11099
  _: 3
11071
11100
  }, 16, ["src", "alt", "fluid", "fluid-grow", "loading", "style", "class", "srcset", "low-res-image", "sizes"]);
11072
11101
  }
11073
- const XE = /* @__PURE__ */ rn(SB, [["render", BB]]);
11102
+ const ek = /* @__PURE__ */ rn(SB, [["render", BB]]);
11074
11103
  function Cp(a, r) {
11075
11104
  return function() {
11076
11105
  return a.apply(r, arguments);
@@ -12823,22 +12852,22 @@ Ye.getAdapter = Gp.getAdapter;
12823
12852
  Ye.HttpStatusCode = rs;
12824
12853
  Ye.default = Ye;
12825
12854
  const {
12826
- Axios: QE,
12827
- AxiosError: ek,
12828
- CanceledError: tk,
12829
- isCancel: nk,
12830
- CancelToken: rk,
12831
- VERSION: ak,
12832
- all: ok,
12833
- Cancel: ik,
12834
- isAxiosError: lk,
12835
- spread: sk,
12836
- toFormData: uk,
12837
- AxiosHeaders: fk,
12838
- HttpStatusCode: dk,
12839
- formToJSON: ck,
12840
- getAdapter: pk,
12841
- mergeConfig: vk
12855
+ Axios: rk,
12856
+ AxiosError: ak,
12857
+ CanceledError: ok,
12858
+ isCancel: ik,
12859
+ CancelToken: lk,
12860
+ VERSION: sk,
12861
+ all: uk,
12862
+ Cancel: fk,
12863
+ isAxiosError: dk,
12864
+ spread: ck,
12865
+ toFormData: pk,
12866
+ AxiosHeaders: vk,
12867
+ HttpStatusCode: gk,
12868
+ formToJSON: hk,
12869
+ getAdapter: mk,
12870
+ mergeConfig: yk
12842
12871
  } = Ye, eC = {
12843
12872
  name: "VsWarning",
12844
12873
  status: "prototype",
@@ -12934,10 +12963,10 @@ function rC(a, r, n, o, l, s) {
12934
12963
  ])
12935
12964
  ], 2);
12936
12965
  }
12937
- const gk = /* @__PURE__ */ rn(eC, [["render", rC]]), aC = {}, oC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12966
+ const bk = /* @__PURE__ */ rn(eC, [["render", rC]]), aC = {}, oC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12938
12967
  __proto__: null,
12939
12968
  default: aC
12940
- }, Symbol.toStringTag, { value: "Module" })), hk = /* @__PURE__ */ iB(oC);
12969
+ }, Symbol.toStringTag, { value: "Module" })), _k = /* @__PURE__ */ iB(oC);
12941
12970
  var iC = "Function.prototype.bind called on incompatible ", lC = Object.prototype.toString, sC = Math.max, uC = "[object Function]", nc = function(r, n) {
12942
12971
  for (var o = [], l = 0; l < r.length; l += 1)
12943
12972
  o[l] = r[l];
@@ -13375,7 +13404,7 @@ var fv = li, BT = ST(), AT = BT(/^\s*(?:function)?\*/), dv = Ts()(), ql = $s, CT
13375
13404
  return Function("return function*() {}")();
13376
13405
  } catch {
13377
13406
  }
13378
- }, Gl, mk = function(r) {
13407
+ }, Gl, wk = function(r) {
13379
13408
  if (typeof r != "function")
13380
13409
  return !1;
13381
13410
  if (AT(TT(r)))
@@ -13632,7 +13661,7 @@ var dE = function(r) {
13632
13661
  return fE(us, n) > -1 ? n : n !== "Object" ? !1 : cE(r);
13633
13662
  }
13634
13663
  return Vo ? dE(r) : null;
13635
- }, vE = pE, yk = function(r) {
13664
+ }, vE = pE, xk = function(r) {
13636
13665
  return !!vE(r);
13637
13666
  };
13638
13667
  const gE = {
@@ -13666,17 +13695,17 @@ function hE(a, r, n, o, l, s) {
13666
13695
  uw('<div class="vs-loading-spinner__dot"></div><div class="vs-loading-spinner__dot"></div><div class="vs-loading-spinner__dot"></div><div class="vs-loading-spinner__dot"></div><div class="vs-loading-spinner__dot"></div><div class="vs-loading-spinner__dot"></div><div class="vs-loading-spinner__dot"></div>', 7)
13667
13696
  ]), 2);
13668
13697
  }
13669
- const bk = /* @__PURE__ */ rn(gE, [["render", hE]]);
13698
+ const Sk = /* @__PURE__ */ rn(gE, [["render", hE]]);
13670
13699
  export {
13671
13700
  FE as $,
13672
13701
  Ts as A,
13673
13702
  li as B,
13674
- mk as C,
13675
- yk as D,
13703
+ wk as C,
13704
+ xk as D,
13676
13705
  OE as E,
13677
13706
  pE as F,
13678
13707
  iB as G,
13679
- WE as H,
13708
+ KE as H,
13680
13709
  kE as I,
13681
13710
  _E as J,
13682
13711
  zE as K,
@@ -13684,7 +13713,7 @@ export {
13684
13713
  ME as M,
13685
13714
  HE as N,
13686
13715
  Ux as O,
13687
- bk as P,
13716
+ Sk as P,
13688
13717
  $E as Q,
13689
13718
  IE as R,
13690
13719
  LE as S,
@@ -13696,50 +13725,56 @@ export {
13696
13725
  rx as Y,
13697
13726
  bE as Z,
13698
13727
  rn as _,
13699
- qE as a,
13728
+ JE as a,
13700
13729
  PE as a0,
13701
13730
  V1 as a1,
13702
13731
  DE as a2,
13703
13732
  VE as a3,
13704
- JE as a4,
13705
- YT as a5,
13706
- ZT as a6,
13707
- Ra as a7,
13708
- AC as a8,
13709
- _C as a9,
13710
- bC as aa,
13711
- lE as ab,
13712
- lv as ac,
13713
- JT as ad,
13714
- SC as ae,
13715
- hC as af,
13716
- Qp as ag,
13717
- Yp as ah,
13718
- kC as ai,
13719
- ST as aj,
13720
- DT as ak,
13721
- xC as al,
13722
- wC as am,
13723
- ii as an,
13724
- $s as ao,
13725
- xT as ap,
13726
- Zp as aq,
13727
- GT as ar,
13728
- Kr as as,
13729
- jT as at,
13730
- CE as au,
13733
+ Vd as a4,
13734
+ Ap as a5,
13735
+ jE as a6,
13736
+ GE as a7,
13737
+ qE as a8,
13738
+ WE as a9,
13739
+ CE as aA,
13740
+ QE as aa,
13741
+ YT as ab,
13742
+ ZT as ac,
13743
+ Ra as ad,
13744
+ AC as ae,
13745
+ _C as af,
13746
+ bC as ag,
13747
+ lE as ah,
13748
+ lv as ai,
13749
+ JT as aj,
13750
+ SC as ak,
13751
+ hC as al,
13752
+ Qp as am,
13753
+ Yp as an,
13754
+ kC as ao,
13755
+ ST as ap,
13756
+ DT as aq,
13757
+ xC as ar,
13758
+ wC as as,
13759
+ ii as at,
13760
+ $s as au,
13761
+ xT as av,
13762
+ Zp as aw,
13763
+ GT as ax,
13764
+ Kr as ay,
13765
+ jT as az,
13731
13766
  gx as b,
13732
13767
  xs as c,
13733
13768
  nB as d,
13734
13769
  yB as e,
13735
- KE as f,
13736
- jE as g,
13737
- GE as h,
13770
+ ZE as f,
13771
+ YE as g,
13772
+ XE as h,
13738
13773
  wE as i,
13739
13774
  ux as j,
13740
13775
  UE as k,
13741
13776
  lB as l,
13742
- XE as m,
13777
+ ek as m,
13743
13778
  yx as n,
13744
13779
  Ye as o,
13745
13780
  xE as p,
@@ -13747,10 +13782,10 @@ export {
13747
13782
  SE as r,
13748
13783
  Sp as s,
13749
13784
  Nx as t,
13750
- gk as u,
13785
+ bk as u,
13751
13786
  Tx as v,
13752
13787
  BE as w,
13753
13788
  nr as x,
13754
- hk as y,
13789
+ _k as y,
13755
13790
  Xp as z
13756
13791
  };