@visitscotland/component-library 4.23.0 → 4.24.1

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 (40) hide show
  1. package/dist/client/manifest.json +25 -24
  2. package/dist/client/scripts/6069eb3b71eb41d6632e.js +1 -0
  3. package/dist/client/scripts/d84e0e90f5b7e70d5436.js +1 -0
  4. package/dist/client/scripts/d9053e61ed7e29dd8716.js +1 -0
  5. package/dist/client/scripts/fad71b4ec0ca375306a5.js +1 -0
  6. package/dist/client/styles/{358c009b66b455e075e8.css → 32b910f8c089a2bdac6d.css} +1 -1
  7. package/dist/client/styles/6069eb3b71eb41d6632e.css +1 -0
  8. package/dist/client/styles/d84e0e90f5b7e70d5436.css +1 -0
  9. package/dist/components/components/badge/Badge.vue.d.ts +433 -0
  10. package/dist/components/components/badge/index.d.ts +1 -1
  11. package/dist/components/components/carbon-calculator/CarbonCalculator.vue.d.ts +2 -0
  12. package/dist/components/components/carbon-calculator/components/CarbonCalculatorQuestion.vue.d.ts +2 -0
  13. package/dist/components/components/card/Card.vue.d.ts +16 -3
  14. package/dist/components/components/checkbox/Checkbox.vue.d.ts +1 -0
  15. package/dist/components/components/form/Form.vue.d.ts +8 -2
  16. package/dist/components/components/index.d.ts +1 -1
  17. package/dist/components/components/input/Input.vue.d.ts +1 -0
  18. package/dist/components/components/mega-nav/MegaNav.vue.d.ts +1 -0
  19. package/dist/components/components/number-input/NumberInput.vue.d.ts +1 -0
  20. package/dist/components/components/radio-button/RadioButton.vue.d.ts +1 -0
  21. package/dist/components/components/select/Select.vue.d.ts +1 -0
  22. package/dist/components/components/site-search/components/SiteSearchForm.vue.d.ts +1 -0
  23. package/dist/components/components/textarea/Textarea.vue.d.ts +5 -2
  24. package/dist/components/mixins/validateFormElementMixin.d.ts +1 -0
  25. package/dist/components/vs-component-library.css +1 -1
  26. package/dist/components/vs-component-library.js +9 -9
  27. package/dist/components/vs-component-library.mjs +140 -106
  28. package/dist/ssr/index.js +1 -1
  29. package/dist/ssr/manifest.json +1 -1
  30. package/dist/ssr/styles/{e71dd279024362bff8d7.css → d2a5404a7ecd4d926716.css} +3 -3
  31. package/package.json +1 -1
  32. package/dist/client/scripts/35c18916245c104df979.js +0 -1
  33. package/dist/client/scripts/8f58ab422cb2f9354a28.js +0 -1
  34. package/dist/client/scripts/9388acba3683b5c6e8be.js +0 -1
  35. package/dist/client/scripts/cb991e60689f62d952f3.js +0 -1
  36. package/dist/client/styles/35c18916245c104df979.css +0 -1
  37. package/dist/client/styles/9388acba3683b5c6e8be.css +0 -1
  38. package/dist/components/components/badge/VsBadge.vue.d.ts +0 -9
  39. /package/dist/client/scripts/{358c009b66b455e075e8.js → 32b910f8c089a2bdac6d.js} +0 -0
  40. /package/dist/client/styles/{8f58ab422cb2f9354a28.css → fad71b4ec0ca375306a5.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  var gm = Object.defineProperty;
2
2
  var _m = (e, n, t) => n in e ? gm(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var sn = (e, n, t) => _m(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { openBlock, createElementBlock, renderSlot, mergeProps, ref as ref$1, resolveComponent, createBlock, withKeys, withCtx, normalizeClass, createCommentVNode, createElementVNode, resolveDynamicComponent, inject, createVNode, normalizeStyle, withDirectives, vShow, normalizeProps, guardReactiveProps, toDisplayString, onMounted, onUnmounted, createTextVNode, unref, Fragment, renderList, resolveDirective, withModifiers, createSlots, getCurrentInstance, defineComponent, computed as computed$1, watch, reactive, provide, onBeforeMount, isRef, onBeforeUnmount, isReactive, isReadonly, nextTick, isVNode, toRef, markRaw, createStaticVNode, h, mergeModels, useModel, toHandlers, vModelText } from "vue";
4
+ import { openBlock, createElementBlock, renderSlot, mergeProps, ref as ref$1, resolveComponent, createBlock, withKeys, withCtx, normalizeClass, createCommentVNode, createElementVNode, resolveDynamicComponent, inject, createVNode, normalizeStyle, withDirectives, vShow, normalizeProps, guardReactiveProps, toDisplayString, onMounted, onUnmounted, createTextVNode, Fragment, renderList, resolveDirective, withModifiers, createSlots, getCurrentInstance, defineComponent, computed as computed$1, watch, reactive, provide, onBeforeMount, isRef, onBeforeUnmount, unref, isReactive, isReadonly, nextTick, isVNode, toRef, markRaw, createStaticVNode, h, mergeModels, useModel, toHandlers, vModelText } from "vue";
5
5
  import { BButton, BCard, BCardHeader, BCardBody, BCol, BContainer, BBadge, BBreadcrumb, BBreadcrumbItem, BFormGroup, BFormRadioGroup, BFormRadio, BImg, vBTooltip, BProgress, BProgressBar, BFormInput, BFormCheckbox, BDropdown, BDropdownItem, BFormSelect, BFormTextarea, BModal, BTableSimple, BThead, BTh, BTbody, BTr, BTd, BTfoot, BPopover, BTabs, BTab } from "bootstrap-vue-next";
6
6
  import { defineStore, mapState } from "pinia";
7
7
  const _export_sfc = (e, n) => {
@@ -32,16 +32,16 @@ const _export_sfc = (e, n) => {
32
32
  validator: (e) => e.match(/(xs|sm|md|lg|xl|xxl)/)
33
33
  }
34
34
  }
35
- }, _hoisted_1$1R = {
35
+ }, _hoisted_1$1Q = {
36
36
  class: "vs-accordion",
37
37
  "data-test": "vs-accordion"
38
38
  };
39
- function _sfc_render$2g(e, n, t, a, r, o) {
40
- return openBlock(), createElementBlock("div", _hoisted_1$1R, [
39
+ function _sfc_render$2h(e, n, t, a, r, o) {
40
+ return openBlock(), createElementBlock("div", _hoisted_1$1Q, [
41
41
  renderSlot(e.$slots, "default")
42
42
  ]);
43
43
  }
44
- const VsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["render", _sfc_render$2g]]), _sfc_main$2t = {
44
+ const VsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["render", _sfc_render$2h]]), _sfc_main$2t = {
45
45
  name: "VsIcon",
46
46
  status: "prototype",
47
47
  release: "0.1.0",
@@ -249,7 +249,7 @@ const VsAccordion = /* @__PURE__ */ _export_sfc(_sfc_main$2u, [["render", _sfc_r
249
249
  }
250
250
  }
251
251
  };
252
- function _sfc_render$2f(e, n, t, a, r, o) {
252
+ function _sfc_render$2g(e, n, t, a, r, o) {
253
253
  return openBlock(), createElementBlock("i", mergeProps({
254
254
  class: {
255
255
  fak: !0,
@@ -265,7 +265,7 @@ function _sfc_render$2f(e, n, t, a, r, o) {
265
265
  style: [t.customColour ? { color: t.customColour } : {}]
266
266
  }, e.$attrs, { "data-test": "vs-icon" }), null, 16);
267
267
  }
268
- const VsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$2t, [["render", _sfc_render$2f]]), useDataLayerStore = defineStore("datalayer", () => {
268
+ const VsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$2t, [["render", _sfc_render$2g]]), useDataLayerStore = defineStore("datalayer", () => {
269
269
  const e = ref$1(""), n = ref$1(!1), t = ref$1({});
270
270
  function a(c) {
271
271
  n.value = c;
@@ -1009,7 +1009,7 @@ const VsIcon = /* @__PURE__ */ _export_sfc(_sfc_main$2t, [["render", _sfc_render
1009
1009
  }
1010
1010
  }
1011
1011
  };
1012
- function _sfc_render$2e(e, n, t, a, r, o) {
1012
+ function _sfc_render$2f(e, n, t, a, r, o) {
1013
1013
  const l = resolveComponent("VsIcon"), c = resolveComponent("BButton");
1014
1014
  return openBlock(), createBlock(c, mergeProps({
1015
1015
  variant: t.variant,
@@ -1039,7 +1039,7 @@ function _sfc_render$2e(e, n, t, a, r, o) {
1039
1039
  _: 3
1040
1040
  }, 16, ["variant", "href", "tabindex", "class", "size", "aria-disabled", "onKeyup"]);
1041
1041
  }
1042
- const VsButton = /* @__PURE__ */ _export_sfc(_sfc_main$2s, [["render", _sfc_render$2e]]), _sfc_main$2r = {
1042
+ const VsButton = /* @__PURE__ */ _export_sfc(_sfc_main$2s, [["render", _sfc_render$2f]]), _sfc_main$2r = {
1043
1043
  name: "VsAccordionToggle",
1044
1044
  status: "prototype",
1045
1045
  release: "0.0.1",
@@ -1068,8 +1068,8 @@ const VsButton = /* @__PURE__ */ _export_sfc(_sfc_main$2s, [["render", _sfc_rend
1068
1068
  this.$emit("toggle-panel");
1069
1069
  }
1070
1070
  }
1071
- }, _hoisted_1$1Q = { class: "vs-accordion-toggle__text" }, _hoisted_2$1h = { class: "vs-accordion-toggle__icon" };
1072
- function _sfc_render$2d(e, n, t, a, r, o) {
1071
+ }, _hoisted_1$1P = { class: "vs-accordion-toggle__text" }, _hoisted_2$1h = { class: "vs-accordion-toggle__icon" };
1072
+ function _sfc_render$2e(e, n, t, a, r, o) {
1073
1073
  const l = resolveComponent("VsButton");
1074
1074
  return openBlock(), createBlock(l, {
1075
1075
  animate: !1,
@@ -1081,7 +1081,7 @@ function _sfc_render$2d(e, n, t, a, r, o) {
1081
1081
  rounded: !1
1082
1082
  }, {
1083
1083
  default: withCtx(() => [
1084
- createElementVNode("span", _hoisted_1$1Q, [
1084
+ createElementVNode("span", _hoisted_1$1P, [
1085
1085
  renderSlot(e.$slots, "default")
1086
1086
  ]),
1087
1087
  createElementVNode("span", _hoisted_2$1h, [
@@ -1091,7 +1091,7 @@ function _sfc_render$2d(e, n, t, a, r, o) {
1091
1091
  _: 3
1092
1092
  }, 8, ["aria-expanded", "onClick", "class", "variant"]);
1093
1093
  }
1094
- const VsAccordionToggle = /* @__PURE__ */ _export_sfc(_sfc_main$2r, [["render", _sfc_render$2d]]);
1094
+ const VsAccordionToggle = /* @__PURE__ */ _export_sfc(_sfc_main$2r, [["render", _sfc_render$2e]]);
1095
1095
  var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1096
1096
  function getDefaultExportFromCjs$1(e) {
1097
1097
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -4861,7 +4861,7 @@ const _sfc_main$2q = {
4861
4861
  }
4862
4862
  }
4863
4863
  };
4864
- function _sfc_render$2c(e, n, t, a, r, o) {
4864
+ function _sfc_render$2d(e, n, t, a, r, o) {
4865
4865
  return openBlock(), createBlock(resolveDynamicComponent(o.type), {
4866
4866
  class: normalizeClass(["vs-heading", o.headingClasses]),
4867
4867
  id: t.id
@@ -4878,7 +4878,7 @@ function _sfc_render$2c(e, n, t, a, r, o) {
4878
4878
  _: 3
4879
4879
  }, 8, ["class", "id"]);
4880
4880
  }
4881
- const VsHeading = /* @__PURE__ */ _export_sfc(_sfc_main$2q, [["render", _sfc_render$2c]]), _sfc_main$2p = {
4881
+ const VsHeading = /* @__PURE__ */ _export_sfc(_sfc_main$2q, [["render", _sfc_render$2d]]), _sfc_main$2p = {
4882
4882
  name: "VsAccordionItem",
4883
4883
  status: "prototype",
4884
4884
  release: "0.0.1",
@@ -4975,7 +4975,7 @@ const VsHeading = /* @__PURE__ */ _export_sfc(_sfc_main$2q, [["render", _sfc_ren
4975
4975
  }
4976
4976
  }
4977
4977
  };
4978
- function _sfc_render$2b(e, n, t, a, r, o) {
4978
+ function _sfc_render$2c(e, n, t, a, r, o) {
4979
4979
  const l = resolveComponent("VsIcon"), c = resolveComponent("VsAccordionToggle"), d = resolveComponent("VsHeading"), p = resolveComponent("BCardHeader"), f = resolveComponent("BCardBody"), m = resolveComponent("BCard");
4980
4980
  return openBlock(), createBlock(m, {
4981
4981
  "no-body": "",
@@ -5054,20 +5054,20 @@ function _sfc_render$2b(e, n, t, a, r, o) {
5054
5054
  _: 3
5055
5055
  }, 8, ["class"]);
5056
5056
  }
5057
- const VsAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2p, [["render", _sfc_render$2b]]), _sfc_main$2o = {
5057
+ const VsAccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2p, [["render", _sfc_render$2c]]), _sfc_main$2o = {
5058
5058
  name: "VsAddress",
5059
5059
  status: "prototype",
5060
5060
  release: "0.1.0",
5061
5061
  components: {
5062
5062
  VsIcon
5063
5063
  }
5064
- }, _hoisted_1$1P = {
5064
+ }, _hoisted_1$1O = {
5065
5065
  class: "vs-address",
5066
5066
  "data-test": "vs-address"
5067
5067
  }, _hoisted_2$1g = { class: "vs-address__address-box" };
5068
- function _sfc_render$2a(e, n, t, a, r, o) {
5068
+ function _sfc_render$2b(e, n, t, a, r, o) {
5069
5069
  const l = resolveComponent("VsIcon");
5070
- return openBlock(), createElementBlock("div", _hoisted_1$1P, [
5070
+ return openBlock(), createElementBlock("div", _hoisted_1$1O, [
5071
5071
  createVNode(l, {
5072
5072
  name: "map-marker",
5073
5073
  class: "vs-address__map-marker me-050"
@@ -5077,20 +5077,20 @@ function _sfc_render$2a(e, n, t, a, r, o) {
5077
5077
  ])
5078
5078
  ]);
5079
5079
  }
5080
- const Address = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["render", _sfc_render$2a]]), _sfc_main$2n = {
5080
+ const Address = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["render", _sfc_render$2b]]), _sfc_main$2n = {
5081
5081
  name: "VsAlert",
5082
5082
  status: "prototype",
5083
5083
  release: "0.1.0",
5084
5084
  components: {
5085
5085
  VsIcon
5086
5086
  }
5087
- }, _hoisted_1$1O = {
5087
+ }, _hoisted_1$1N = {
5088
5088
  class: "vs-alert",
5089
5089
  "data-test": "vs-alert"
5090
- }, _hoisted_2$1f = { class: "vs-alert__icon-holder" }, _hoisted_3$Z = { class: "vs-alert__content-wrapper" }, _hoisted_4$I = { class: "vs-alert__content" };
5091
- function _sfc_render$29(e, n, t, a, r, o) {
5090
+ }, _hoisted_2$1f = { class: "vs-alert__icon-holder" }, _hoisted_3$_ = { class: "vs-alert__content-wrapper" }, _hoisted_4$I = { class: "vs-alert__content" };
5091
+ function _sfc_render$2a(e, n, t, a, r, o) {
5092
5092
  const l = resolveComponent("VsIcon");
5093
- return openBlock(), createElementBlock("div", _hoisted_1$1O, [
5093
+ return openBlock(), createElementBlock("div", _hoisted_1$1N, [
5094
5094
  createElementVNode("div", _hoisted_2$1f, [
5095
5095
  createVNode(l, {
5096
5096
  class: "vs-alert__icon",
@@ -5098,14 +5098,14 @@ function _sfc_render$29(e, n, t, a, r, o) {
5098
5098
  variant: "inverse"
5099
5099
  })
5100
5100
  ]),
5101
- createElementVNode("div", _hoisted_3$Z, [
5101
+ createElementVNode("div", _hoisted_3$_, [
5102
5102
  createElementVNode("div", _hoisted_4$I, [
5103
5103
  renderSlot(e.$slots, "default")
5104
5104
  ])
5105
5105
  ])
5106
5106
  ]);
5107
5107
  }
5108
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["render", _sfc_render$29]]), _sfc_main$2m = {
5108
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["render", _sfc_render$2a]]), _sfc_main$2m = {
5109
5109
  name: "VsCol",
5110
5110
  status: "prototype",
5111
5111
  release: "0.1.0",
@@ -5113,7 +5113,7 @@ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["render", _sfc_render$
5113
5113
  BCol
5114
5114
  }
5115
5115
  };
5116
- function _sfc_render$28(e, n, t, a, r, o) {
5116
+ function _sfc_render$29(e, n, t, a, r, o) {
5117
5117
  const l = resolveComponent("BCol");
5118
5118
  return openBlock(), createBlock(l, normalizeProps(guardReactiveProps(e.$attrs)), {
5119
5119
  default: withCtx(() => [
@@ -5122,17 +5122,17 @@ function _sfc_render$28(e, n, t, a, r, o) {
5122
5122
  _: 3
5123
5123
  }, 16);
5124
5124
  }
5125
- const VsCol = /* @__PURE__ */ _export_sfc(_sfc_main$2m, [["render", _sfc_render$28]]), _sfc_main$2l = {
5125
+ const VsCol = /* @__PURE__ */ _export_sfc(_sfc_main$2m, [["render", _sfc_render$29]]), _sfc_main$2l = {
5126
5126
  name: "VsRow",
5127
5127
  status: "prototype",
5128
5128
  release: "0.0.1"
5129
5129
  };
5130
- function _sfc_render$27(e, n, t, a, r, o) {
5130
+ function _sfc_render$28(e, n, t, a, r, o) {
5131
5131
  return openBlock(), createElementBlock("div", mergeProps({ class: "row" }, e.$attrs), [
5132
5132
  renderSlot(e.$slots, "default")
5133
5133
  ], 16);
5134
5134
  }
5135
- const VsRow = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["render", _sfc_render$27]]), _sfc_main$2k = {
5135
+ const VsRow = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["render", _sfc_render$28]]), _sfc_main$2k = {
5136
5136
  name: "VsContainer",
5137
5137
  status: "prototype",
5138
5138
  release: "0.1.0",
@@ -5140,7 +5140,7 @@ const VsRow = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["render", _sfc_render$
5140
5140
  BContainer
5141
5141
  }
5142
5142
  };
5143
- function _sfc_render$26(e, n, t, a, r, o) {
5143
+ function _sfc_render$27(e, n, t, a, r, o) {
5144
5144
  const l = resolveComponent("BContainer");
5145
5145
  return openBlock(), createBlock(l, mergeProps({ tag: "div" }, e.$attrs), {
5146
5146
  default: withCtx(() => [
@@ -5149,7 +5149,7 @@ function _sfc_render$26(e, n, t, a, r, o) {
5149
5149
  _: 3
5150
5150
  }, 16);
5151
5151
  }
5152
- const VsContainer = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["render", _sfc_render$26]]), _sfc_main$2j = {
5152
+ const VsContainer = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["render", _sfc_render$27]]), _sfc_main$2j = {
5153
5153
  name: "VsRichTextWrapper",
5154
5154
  status: "prototype",
5155
5155
  release: "0.0.1",
@@ -5165,7 +5165,7 @@ const VsContainer = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["render", _sfc_r
5165
5165
  }
5166
5166
  }
5167
5167
  };
5168
- function _sfc_render$25(e, n, t, a, r, o) {
5168
+ function _sfc_render$26(e, n, t, a, r, o) {
5169
5169
  return openBlock(), createElementBlock("div", {
5170
5170
  class: normalizeClass(["vs-rich-text-wrapper", [
5171
5171
  `vs-rich-text-wrapper--${t.variant}`
@@ -5174,7 +5174,7 @@ function _sfc_render$25(e, n, t, a, r, o) {
5174
5174
  renderSlot(e.$slots, "default")
5175
5175
  ], 2);
5176
5176
  }
5177
- const VsRichTextWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["render", _sfc_render$25]]), _sfc_main$2i = {
5177
+ const VsRichTextWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["render", _sfc_render$26]]), _sfc_main$2i = {
5178
5178
  name: "VsArticle",
5179
5179
  status: "prototype",
5180
5180
  release: "0.0.1",
@@ -5231,8 +5231,8 @@ const VsRichTextWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["render",
5231
5231
  )
5232
5232
  }
5233
5233
  }
5234
- }, _hoisted_1$1N = ["id"], _hoisted_2$1e = { class: "vs-article__content" };
5235
- function _sfc_render$24(e, n, t, a, r, o) {
5234
+ }, _hoisted_1$1M = ["id"], _hoisted_2$1e = { class: "vs-article__content" };
5235
+ function _sfc_render$25(e, n, t, a, r, o) {
5236
5236
  const l = resolveComponent("VsHeading"), c = resolveComponent("VsRichTextWrapper"), d = resolveComponent("VsCol"), p = resolveComponent("VsRow"), f = resolveComponent("VsContainer");
5237
5237
  return openBlock(), createElementBlock("article", mergeProps({
5238
5238
  class: "vs-article",
@@ -5270,7 +5270,7 @@ function _sfc_render$24(e, n, t, a, r, o) {
5270
5270
  default: withCtx(() => [
5271
5271
  createElementVNode("span", {
5272
5272
  id: t.anchorLink ? t.anchorLink : ""
5273
- }, toDisplayString(t.title), 9, _hoisted_1$1N)
5273
+ }, toDisplayString(t.title), 9, _hoisted_1$1M)
5274
5274
  ]),
5275
5275
  _: 1
5276
5276
  }, 8, ["level", "heading-style", "class"]),
@@ -5316,7 +5316,7 @@ function _sfc_render$24(e, n, t, a, r, o) {
5316
5316
  })
5317
5317
  ], 16);
5318
5318
  }
5319
- const Article = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["render", _sfc_render$24]]), _sfc_main$2h = {
5319
+ const Article = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["render", _sfc_render$25]]), _sfc_main$2h = {
5320
5320
  name: "VsArticleSection",
5321
5321
  status: "prototype",
5322
5322
  release: "0.0.1",
@@ -5348,7 +5348,7 @@ const Article = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["render", _sfc_rende
5348
5348
  }
5349
5349
  }
5350
5350
  };
5351
- function _sfc_render$23(e, n, t, a, r, o) {
5351
+ function _sfc_render$24(e, n, t, a, r, o) {
5352
5352
  const l = resolveComponent("VsCol"), c = resolveComponent("VsRichTextWrapper"), d = resolveComponent("VsRow");
5353
5353
  return openBlock(), createElementBlock("div", {
5354
5354
  class: normalizeClass(["vs-article-section mb-200 mb-md-400", o.sidebarAlignClass]),
@@ -5397,7 +5397,7 @@ function _sfc_render$23(e, n, t, a, r, o) {
5397
5397
  })
5398
5398
  ], 2);
5399
5399
  }
5400
- const ArticleSection = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sfc_render$23]]), _sfc_main$2g = {
5400
+ const ArticleSection = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sfc_render$24]]), _sfc_main$2g = {
5401
5401
  name: "VsArticleSidebar",
5402
5402
  status: "prototype",
5403
5403
  release: "0.0.1",
@@ -5417,7 +5417,7 @@ const ArticleSection = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sf
5417
5417
  }
5418
5418
  }
5419
5419
  };
5420
- function _sfc_render$22(e, n, t, a, r, o) {
5420
+ function _sfc_render$23(e, n, t, a, r, o) {
5421
5421
  return openBlock(), createElementBlock("div", {
5422
5422
  class: normalizeClass(["vs-article-sidebar", o.sidebarAlignClass]),
5423
5423
  "data-test": "vs-article-sidebar"
@@ -5436,7 +5436,7 @@ function _sfc_render$22(e, n, t, a, r, o) {
5436
5436
  ], 2)) : createCommentVNode("", !0)
5437
5437
  ], 2);
5438
5438
  }
5439
- const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["render", _sfc_render$22]]), _hoisted_1$1M = {
5439
+ const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["render", _sfc_render$23]]), _hoisted_1$1L = {
5440
5440
  class: "vs-back-to-top",
5441
5441
  "data-test": "vs-back-to-top"
5442
5442
  }, _sfc_main$2f = {
@@ -5472,7 +5472,7 @@ const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["render", _sf
5472
5472
  window.addEventListener("scroll", a);
5473
5473
  }), onUnmounted(() => {
5474
5474
  window.removeEventListener("scroll", a);
5475
- }), (o, l) => (openBlock(), createElementBlock("div", _hoisted_1$1M, [
5475
+ }), (o, l) => (openBlock(), createElementBlock("div", _hoisted_1$1L, [
5476
5476
  t.value ? (openBlock(), createBlock(VsButton, {
5477
5477
  key: 0,
5478
5478
  icon: "arrow-up",
@@ -5487,22 +5487,48 @@ const ArticleSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["render", _sf
5487
5487
  })) : createCommentVNode("", !0)
5488
5488
  ]));
5489
5489
  }
5490
- }, _hoisted_1$1L = {
5491
- class: "vs-badge",
5492
- "data-test": "vs-badge"
5493
5490
  }, _sfc_main$2e = {
5494
- __name: "VsBadge",
5495
- setup(e) {
5496
- return (n, t) => (openBlock(), createElementBlock("div", _hoisted_1$1L, [
5497
- createVNode(unref(BBadge), null, {
5498
- default: withCtx(() => [
5499
- renderSlot(n.$slots, "default")
5500
- ]),
5501
- _: 3
5502
- })
5503
- ]));
5491
+ name: "VsBadge",
5492
+ status: "prototype",
5493
+ release: "0.0.1",
5494
+ components: {
5495
+ BBadge
5496
+ },
5497
+ props: {
5498
+ /**
5499
+ * Variant of the badge
5500
+ * @values default, subtle
5501
+ */
5502
+ variant: {
5503
+ type: String,
5504
+ default: "default",
5505
+ validator: (e) => e.match(/(default|subtle)/)
5506
+ }
5507
+ },
5508
+ computed: {
5509
+ badgeClasses() {
5510
+ return [
5511
+ `vs-badge--${this.variant}`,
5512
+ "vs-badge"
5513
+ ];
5514
+ }
5504
5515
  }
5505
- }, cookieMixin = {
5516
+ };
5517
+ function _sfc_render$22(e, n, t, a, r, o) {
5518
+ const l = resolveComponent("BBadge");
5519
+ return openBlock(), createElementBlock("div", {
5520
+ class: normalizeClass(o.badgeClasses),
5521
+ "data-test": "vs-badge"
5522
+ }, [
5523
+ createVNode(l, null, {
5524
+ default: withCtx(() => [
5525
+ renderSlot(e.$slots, "default")
5526
+ ]),
5527
+ _: 3
5528
+ })
5529
+ ], 2);
5530
+ }
5531
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["render", _sfc_render$22]]), cookieMixin = {
5506
5532
  computed: {
5507
5533
  selectedLanguage() {
5508
5534
  return this.language.substr(0, 2).toUpperCase();
@@ -5710,7 +5736,7 @@ const Banner = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["render", _sfc_render
5710
5736
  }, _hoisted_2$1c = {
5711
5737
  key: 0,
5712
5738
  class: "vs-blog-details__author vs-blog-details--highlight"
5713
- }, _hoisted_3$Y = {
5739
+ }, _hoisted_3$Z = {
5714
5740
  key: 0,
5715
5741
  class: "vs-blog-details__date"
5716
5742
  };
@@ -5728,7 +5754,7 @@ function _sfc_render$20(e, n, t, a, r, o) {
5728
5754
  class: "align-text-top me-050"
5729
5755
  }, null, 8, ["variant"]),
5730
5756
  createTextVNode(toDisplayString(t.blogReadTime) + " ", 1),
5731
- t.blogPublishDate ? (openBlock(), createElementBlock("span", _hoisted_3$Y, [
5757
+ t.blogPublishDate ? (openBlock(), createElementBlock("span", _hoisted_3$Z, [
5732
5758
  n[0] || (n[0] = createElementVNode("span", { class: "vs-blog-details__divider" }, "•", -1)),
5733
5759
  createTextVNode(" " + toDisplayString(t.blogPublishDate), 1)
5734
5760
  ])) : createCommentVNode("", !0)
@@ -6299,7 +6325,7 @@ const VsLink = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["render", _sfc_render
6299
6325
  return this.visibleSlides.indexOf(e) >= 0;
6300
6326
  }
6301
6327
  }
6302
- }, _hoisted_1$1G = { class: "vs-product-card__image-container" }, _hoisted_2$1b = { class: "vs-product-card__image-inner-container" }, _hoisted_3$X = { class: "vs-product-card__description" }, _hoisted_4$H = {
6328
+ }, _hoisted_1$1G = { class: "vs-product-card__image-container" }, _hoisted_2$1b = { class: "vs-product-card__image-inner-container" }, _hoisted_3$Y = { class: "vs-product-card__description" }, _hoisted_4$H = {
6303
6329
  key: 0,
6304
6330
  class: "vs-product-card__description-inner"
6305
6331
  }, _hoisted_5$w = { class: "visually-hidden" }, _hoisted_6$k = {
@@ -6363,7 +6389,7 @@ function _sfc_render$1W(e, n, t, a, r, o) {
6363
6389
  renderSlot(e.$slots, "vs-canned-search-sub-heading"),
6364
6390
  renderSlot(e.$slots, "vs-canned-search-star-rating"),
6365
6391
  renderSlot(e.$slots, "vs-canned-search-categories"),
6366
- createElementVNode("div", _hoisted_3$X, [
6392
+ createElementVNode("div", _hoisted_3$Y, [
6367
6393
  renderSlot(e.$slots, "vs-canned-search-tour-info"),
6368
6394
  t.description ? (openBlock(), createElementBlock("p", _hoisted_4$H, toDisplayString(t.description), 1)) : createCommentVNode("", !0),
6369
6395
  createVNode(c, {
@@ -6414,13 +6440,13 @@ const VsCannedSearchProductCard = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["r
6414
6440
  }, _hoisted_1$1F = {
6415
6441
  class: "vs-canned-search-stars",
6416
6442
  "data-test": "vs-canned-search-stars"
6417
- }, _hoisted_2$1a = { key: 0 }, _hoisted_3$W = { key: 1 };
6443
+ }, _hoisted_2$1a = { key: 0 }, _hoisted_3$X = { key: 1 };
6418
6444
  function _sfc_render$1V(e, n, t, a, r, o) {
6419
6445
  return openBlock(), createElementBlock("div", _hoisted_1$1F, [
6420
6446
  t.min && t.max && t.min !== t.max ? (openBlock(), createElementBlock("div", _hoisted_2$1a, [
6421
6447
  n[0] || (n[0] = createElementVNode("span", { class: "vs-canned-search-stars__star" }, " ★ ", -1)),
6422
6448
  createTextVNode(" " + toDisplayString(t.min) + "-" + toDisplayString(t.max), 1)
6423
- ])) : (openBlock(), createElementBlock("div", _hoisted_3$W, [
6449
+ ])) : (openBlock(), createElementBlock("div", _hoisted_3$X, [
6424
6450
  (openBlock(!0), createElementBlock(Fragment, null, renderList(t.min, (l) => (openBlock(), createElementBlock("span", {
6425
6451
  key: l,
6426
6452
  class: "vs-canned-search-stars__star"
@@ -6656,7 +6682,7 @@ const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["re
6656
6682
  }, _hoisted_1$1C = { class: "vs-canned-search-price" }, _hoisted_2$19 = {
6657
6683
  key: 0,
6658
6684
  class: "vs-canned-search-price__intro"
6659
- }, _hoisted_3$V = {
6685
+ }, _hoisted_3$W = {
6660
6686
  key: 1,
6661
6687
  class: "vs-canned-search-price__main"
6662
6688
  }, _hoisted_4$G = {
@@ -6666,7 +6692,7 @@ const VsCannedSearchCategories = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["re
6666
6692
  function _sfc_render$1R(e, n, t, a, r, o) {
6667
6693
  return openBlock(), createElementBlock("div", _hoisted_1$1C, [
6668
6694
  t.priceIntro ? (openBlock(), createElementBlock("div", _hoisted_2$19, toDisplayString(t.priceIntro), 1)) : createCommentVNode("", !0),
6669
- t.price ? (openBlock(), createElementBlock("div", _hoisted_3$V, toDisplayString(t.price), 1)) : createCommentVNode("", !0),
6695
+ t.price ? (openBlock(), createElementBlock("div", _hoisted_3$W, toDisplayString(t.price), 1)) : createCommentVNode("", !0),
6670
6696
  t.priceOutro ? (openBlock(), createElementBlock("div", _hoisted_4$G, toDisplayString(t.priceOutro), 1)) : createCommentVNode("", !0)
6671
6697
  ]);
6672
6698
  }
@@ -6693,14 +6719,14 @@ const VsCannedSearchPrice = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render"
6693
6719
  }, _hoisted_1$1B = { class: "vs-canned-search-duration" }, _hoisted_2$18 = {
6694
6720
  key: 0,
6695
6721
  class: "vs-canned-search-duration__intro"
6696
- }, _hoisted_3$U = {
6722
+ }, _hoisted_3$V = {
6697
6723
  key: 1,
6698
6724
  class: "vs-canned-search-duration__main"
6699
6725
  };
6700
6726
  function _sfc_render$1Q(e, n, t, a, r, o) {
6701
6727
  return openBlock(), createElementBlock("div", _hoisted_1$1B, [
6702
6728
  t.durationIntro ? (openBlock(), createElementBlock("div", _hoisted_2$18, toDisplayString(t.durationIntro), 1)) : createCommentVNode("", !0),
6703
- t.duration ? (openBlock(), createElementBlock("div", _hoisted_3$U, toDisplayString(t.duration), 1)) : createCommentVNode("", !0)
6729
+ t.duration ? (openBlock(), createElementBlock("div", _hoisted_3$V, toDisplayString(t.duration), 1)) : createCommentVNode("", !0)
6704
6730
  ]);
6705
6731
  }
6706
6732
  const VsCannedSearchDuration = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["render", _sfc_render$1Q]]), _sfc_main$1$ = {
@@ -6843,11 +6869,11 @@ const VsCannedSearchSummaryBox = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["re
6843
6869
  return this.period && this.period.startDay ? this.period.endDay ? `${this.period.startDay} - ${this.period.endDay}` : this.period.startDay : "";
6844
6870
  }
6845
6871
  }
6846
- }, _hoisted_1$1z = { class: "vs-canned-search-dates" }, _hoisted_2$16 = { class: "vs-canned-search-dates__intro" }, _hoisted_3$T = { class: "vs-canned-search-dates__main" };
6872
+ }, _hoisted_1$1z = { class: "vs-canned-search-dates" }, _hoisted_2$16 = { class: "vs-canned-search-dates__intro" }, _hoisted_3$U = { class: "vs-canned-search-dates__main" };
6847
6873
  function _sfc_render$1O(e, n, t, a, r, o) {
6848
6874
  return openBlock(), createElementBlock("div", _hoisted_1$1z, [
6849
6875
  createElementVNode("div", _hoisted_2$16, toDisplayString(t.label), 1),
6850
- createElementVNode("div", _hoisted_3$T, toDisplayString(o.datePeriod), 1)
6876
+ createElementVNode("div", _hoisted_3$U, toDisplayString(o.datePeriod), 1)
6851
6877
  ]);
6852
6878
  }
6853
6879
  const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["render", _sfc_render$1O]]), _sfc_main$1Z = {
@@ -6898,7 +6924,7 @@ const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["render"
6898
6924
  }, _hoisted_1$1y = { class: "vs-canned-search-badges" }, _hoisted_2$15 = {
6899
6925
  key: 0,
6900
6926
  class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--category vs-canned-search-badges__badge--tr"
6901
- }, _hoisted_3$S = {
6927
+ }, _hoisted_3$T = {
6902
6928
  key: 1,
6903
6929
  class: "vs-canned-search-badges__multi-badge-holder"
6904
6930
  }, _hoisted_4$F = {
@@ -6910,7 +6936,7 @@ const VsCannedSearchDates = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["render"
6910
6936
  };
6911
6937
  function _sfc_render$1N(e, n, t, a, r, o) {
6912
6938
  return openBlock(), createElementBlock("div", _hoisted_1$1y, [
6913
- t.badgeOne ? (openBlock(), createElementBlock("div", _hoisted_2$15, toDisplayString(t.badgeOne), 1)) : t.multiBadgeOne && t.multiBadgeOne.length ? (openBlock(), createElementBlock("div", _hoisted_3$S, [
6939
+ t.badgeOne ? (openBlock(), createElementBlock("div", _hoisted_2$15, toDisplayString(t.badgeOne), 1)) : t.multiBadgeOne && t.multiBadgeOne.length ? (openBlock(), createElementBlock("div", _hoisted_3$T, [
6914
6940
  (openBlock(!0), createElementBlock(Fragment, null, renderList(o.limitedMulti, (l, c) => (openBlock(), createElementBlock("div", {
6915
6941
  key: c,
6916
6942
  class: "vs-canned-search-badges__badge vs-canned-search-badges__badge--category vs-canned-search-badges__multi-badge"
@@ -7235,7 +7261,7 @@ const VsCannedSearchTourDeparts = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["r
7235
7261
  class: "vs-carousel",
7236
7262
  "data-test": "vs-carousel",
7237
7263
  ref: "carousel"
7238
- }, _hoisted_2$13 = { class: "slider" }, _hoisted_3$R = {
7264
+ }, _hoisted_2$13 = { class: "slider" }, _hoisted_3$S = {
7239
7265
  key: 2,
7240
7266
  class: "vs-carousel__navigation"
7241
7267
  }, _hoisted_4$E = ["onClick", "onKeypress", "data-test"], _hoisted_5$u = { class: "visually-hidden" }, _hoisted_6$j = {
@@ -7298,7 +7324,7 @@ function _sfc_render$1I(e, n, t, a, r, o) {
7298
7324
  ]),
7299
7325
  _: 1
7300
7326
  }, 512)),
7301
- r.totalSlides > o.slidesPerPage[r.currentWidth] ? (openBlock(), createElementBlock("ul", _hoisted_3$R, [
7327
+ r.totalSlides > o.slidesPerPage[r.currentWidth] ? (openBlock(), createElementBlock("ul", _hoisted_3$S, [
7302
7328
  (openBlock(!0), createElementBlock(Fragment, null, renderList(r.maxPages, (f) => (openBlock(), createElementBlock("li", { key: f }, [
7303
7329
  createElementVNode("button", {
7304
7330
  type: "button",
@@ -10888,7 +10914,7 @@ const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["render", _sfc_
10888
10914
  return (t - e) * a / (n - e);
10889
10915
  }
10890
10916
  }
10891
- }, _hoisted_1$1s = ["width", "height"], _hoisted_2$12 = ["stroke"], _hoisted_3$Q = ["stroke"], _hoisted_4$D = ["stroke"], _hoisted_5$t = ["stroke"], _hoisted_6$i = ["stroke"], _hoisted_7$d = ["stroke"], _hoisted_8$5 = ["stroke"], _hoisted_9$4 = ["stroke"], _hoisted_10$4 = ["stroke"], _hoisted_11$3 = ["stroke"], _hoisted_12$3 = ["stroke"], _hoisted_13$3 = ["stroke"], _hoisted_14$2 = ["stroke"], _hoisted_15$2 = ["stroke"], _hoisted_16$2 = ["stroke"], _hoisted_17$2 = ["stroke"], _hoisted_18$1 = ["stroke"], _hoisted_19$1 = ["stroke"], _hoisted_20$1 = ["stroke"], _hoisted_21 = ["stroke"], _hoisted_22 = ["stroke"], _hoisted_23 = ["stroke"], _hoisted_24 = ["stroke"], _hoisted_25 = ["stroke"], _hoisted_26 = ["stroke"], _hoisted_27 = ["stroke"], _hoisted_28 = ["stroke"], _hoisted_29 = ["stroke"], _hoisted_30 = ["stroke"], _hoisted_31 = ["stroke"], _hoisted_32 = ["width", "height"], _hoisted_33 = ["fill", "cx", "cy"];
10917
+ }, _hoisted_1$1s = ["width", "height"], _hoisted_2$12 = ["stroke"], _hoisted_3$R = ["stroke"], _hoisted_4$D = ["stroke"], _hoisted_5$t = ["stroke"], _hoisted_6$i = ["stroke"], _hoisted_7$d = ["stroke"], _hoisted_8$5 = ["stroke"], _hoisted_9$4 = ["stroke"], _hoisted_10$4 = ["stroke"], _hoisted_11$3 = ["stroke"], _hoisted_12$3 = ["stroke"], _hoisted_13$3 = ["stroke"], _hoisted_14$2 = ["stroke"], _hoisted_15$2 = ["stroke"], _hoisted_16$2 = ["stroke"], _hoisted_17$2 = ["stroke"], _hoisted_18$1 = ["stroke"], _hoisted_19$1 = ["stroke"], _hoisted_20$1 = ["stroke"], _hoisted_21 = ["stroke"], _hoisted_22 = ["stroke"], _hoisted_23 = ["stroke"], _hoisted_24 = ["stroke"], _hoisted_25 = ["stroke"], _hoisted_26 = ["stroke"], _hoisted_27 = ["stroke"], _hoisted_28 = ["stroke"], _hoisted_29 = ["stroke"], _hoisted_30 = ["stroke"], _hoisted_31 = ["stroke"], _hoisted_32 = ["width", "height"], _hoisted_33 = ["fill", "cx", "cy"];
10892
10918
  function _sfc_render$1F(e, n, t, a, r, o) {
10893
10919
  return openBlock(), createElementBlock("svg", {
10894
10920
  xmlns: "http://www.w3.org/2000/svg",
@@ -10920,7 +10946,7 @@ function _sfc_render$1F(e, n, t, a, r, o) {
10920
10946
  "stroke-linejoin": "round",
10921
10947
  "stroke-width": "0.5",
10922
10948
  "fill-rule": "evenodd"
10923
- }, null, 8, _hoisted_3$Q),
10949
+ }, null, 8, _hoisted_3$R),
10924
10950
  createElementVNode("path", {
10925
10951
  d: "M66.1635,11.4883l1.336.184-.336-.736Z",
10926
10952
  transform: "translate(-0.2662 -0.2662)",
@@ -11388,7 +11414,7 @@ const VsCaptionImageMap = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["render",
11388
11414
  }, _hoisted_1$1r = { class: "vs-caption__caption-info" }, _hoisted_2$11 = {
11389
11415
  key: 0,
11390
11416
  class: "vs-caption__image-caption"
11391
- }, _hoisted_3$P = {
11417
+ }, _hoisted_3$Q = {
11392
11418
  key: 1,
11393
11419
  class: "vs-caption__image-credit"
11394
11420
  }, _hoisted_4$C = { class: "vs-caption__map-wrapper pt-075 pt-sm-050 pb-sm-050 mx-auto" };
@@ -11410,7 +11436,7 @@ function _sfc_render$1E(e, n, t, a, r, o) {
11410
11436
  e.$slots.caption ? (openBlock(), createElementBlock("p", _hoisted_2$11, [
11411
11437
  renderSlot(e.$slots, "caption")
11412
11438
  ])) : createCommentVNode("", !0),
11413
- e.$slots.credit ? (openBlock(), createElementBlock("p", _hoisted_3$P, [
11439
+ e.$slots.credit ? (openBlock(), createElementBlock("p", _hoisted_3$Q, [
11414
11440
  renderSlot(e.$slots, "credit")
11415
11441
  ])) : createCommentVNode("", !0)
11416
11442
  ])
@@ -11602,7 +11628,7 @@ const VsWarning = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["render", _sfc_ren
11602
11628
  }, _hoisted_1$1p = {
11603
11629
  key: 1,
11604
11630
  class: "vs-progress-bar__stepper"
11605
- }, _hoisted_2$$ = ["id"], _hoisted_3$O = ["id"];
11631
+ }, _hoisted_2$$ = ["id"], _hoisted_3$P = ["id"];
11606
11632
  function _sfc_render$1C(e, n, t, a, r, o) {
11607
11633
  const l = resolveComponent("BProgressBar"), c = resolveComponent("BProgress");
11608
11634
  return openBlock(), createElementBlock("div", {
@@ -11643,7 +11669,7 @@ function _sfc_render$1C(e, n, t, a, r, o) {
11643
11669
  key: 3,
11644
11670
  class: "vs-progress-bar__label",
11645
11671
  id: "progress-bar-" + r.compId
11646
- }, toDisplayString(t.currentStep) + " / " + toDisplayString(t.max), 9, _hoisted_3$O))
11672
+ }, toDisplayString(t.currentStep) + " / " + toDisplayString(t.max), 9, _hoisted_3$P))
11647
11673
  ], 2);
11648
11674
  }
11649
11675
  const VsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc_render$1C]]), _sfc_main$1N = {
@@ -11668,7 +11694,7 @@ const VsProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["render", _sfc
11668
11694
  }, _hoisted_1$1o = {
11669
11695
  class: "vs-carbon-calculator-tip",
11670
11696
  "data-test": "vs-carbon-calculator-tip"
11671
- }, _hoisted_2$_ = { class: "vs-carbon-calculator-tip__icon-container" }, _hoisted_3$N = { class: "vs-carbon-calculator-tip__content" }, _hoisted_4$B = ["innerHTML"], _hoisted_5$s = ["innerHTML"];
11697
+ }, _hoisted_2$_ = { class: "vs-carbon-calculator-tip__icon-container" }, _hoisted_3$O = { class: "vs-carbon-calculator-tip__content" }, _hoisted_4$B = ["innerHTML"], _hoisted_5$s = ["innerHTML"];
11672
11698
  function _sfc_render$1B(e, n, t, a, r, o) {
11673
11699
  const l = resolveComponent("VsIcon"), c = resolveComponent("VsHeading");
11674
11700
  return openBlock(), createElementBlock("div", _hoisted_1$1o, [
@@ -11680,7 +11706,7 @@ function _sfc_render$1B(e, n, t, a, r, o) {
11680
11706
  class: "vs-carbon-calculator-tip__icon"
11681
11707
  })
11682
11708
  ]),
11683
- createElementVNode("div", _hoisted_3$N, [
11709
+ createElementVNode("div", _hoisted_3$O, [
11684
11710
  createVNode(c, {
11685
11711
  level: "3",
11686
11712
  "heading-style": "heading-xs"
@@ -16172,7 +16198,7 @@ var script$1 = defineComponent({
16172
16198
  const _hoisted_1$1$1 = {
16173
16199
  class: "treemap",
16174
16200
  style: { display: "flex", position: "relative" }
16175
- }, _hoisted_2$1$1 = ["width", "height", "viewBox"], _hoisted_3$M = { class: "layer-rectangles" }, _hoisted_4$A = ["transform", "onMouseover"], _hoisted_5$r = ["width", "height"], _hoisted_6$h = {
16201
+ }, _hoisted_2$1$1 = ["width", "height", "viewBox"], _hoisted_3$N = { class: "layer-rectangles" }, _hoisted_4$A = ["transform", "onMouseover"], _hoisted_5$r = ["width", "height"], _hoisted_6$h = {
16176
16202
  x: 10,
16177
16203
  y: 20,
16178
16204
  "font-size": "15px",
@@ -16187,7 +16213,7 @@ function render$1(e, n, t, a, r, o) {
16187
16213
  viewBox: `0 0 ${e.size.width} ${e.size.height}`,
16188
16214
  ref: "el"
16189
16215
  }, [
16190
- createElementVNode("g", _hoisted_3$M, [
16216
+ createElementVNode("g", _hoisted_3$N, [
16191
16217
  (openBlock(!0), createElementBlock(
16192
16218
  Fragment,
16193
16219
  null,
@@ -16462,7 +16488,7 @@ const _sfc_main$1M = {
16462
16488
  };
16463
16489
  }
16464
16490
  }
16465
- }, _hoisted_1$1m = { class: "vs-carbon-calculator-results__headline" }, _hoisted_2$Y = { class: "mb-050" }, _hoisted_3$L = { class: "vs-carbon-calculator-results__total" }, _hoisted_4$z = ["innerHTML"], _hoisted_5$q = { class: "vs-carbon-calculator-results__unicorn-icon-container" }, _hoisted_6$g = { class: "vs-carbon-calculator-results__unicorn-content" };
16491
+ }, _hoisted_1$1m = { class: "vs-carbon-calculator-results__headline" }, _hoisted_2$Y = { class: "mb-050" }, _hoisted_3$M = { class: "vs-carbon-calculator-results__total" }, _hoisted_4$z = ["innerHTML"], _hoisted_5$q = { class: "vs-carbon-calculator-results__unicorn-icon-container" }, _hoisted_6$g = { class: "vs-carbon-calculator-results__unicorn-content" };
16466
16492
  function _sfc_render$1A(e, n, t, a, r, o) {
16467
16493
  const l = resolveComponent("VsHeading"), c = resolveComponent("VsCol"), d = resolveComponent("VsRow"), p = resolveComponent("VsIcon"), f = resolveComponent("Grid"), m = resolveComponent("Bar"), _ = resolveComponent("Chart"), v = resolveComponent("Responsive");
16468
16494
  return openBlock(), createBlock(d, {
@@ -16496,7 +16522,7 @@ function _sfc_render$1A(e, n, t, a, r, o) {
16496
16522
  createElementVNode("div", _hoisted_1$1m, [
16497
16523
  createElementVNode("p", _hoisted_2$Y, toDisplayString(o.labelsMap.resultsIntro), 1),
16498
16524
  createElementVNode("p", null, [
16499
- createElementVNode("span", _hoisted_3$L, toDisplayString(t.totalKilos.toLocaleString(t.language, {
16525
+ createElementVNode("span", _hoisted_3$M, toDisplayString(t.totalKilos.toLocaleString(t.language, {
16500
16526
  minimumFractionDigits: 3
16501
16527
  })), 1),
16502
16528
  createTextVNode(" " + toDisplayString(o.labelsMap.kgsOf), 1)
@@ -16631,7 +16657,7 @@ const VsCarbonCalculatorResults = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["r
16631
16657
  }, _hoisted_1$1l = {
16632
16658
  class: "vs-carbon-calculator-running-total",
16633
16659
  "data-test": "vs-carbon-calculator-running-total"
16634
- }, _hoisted_2$X = { class: "vs-carbon-calculator-running-total__icon" }, _hoisted_3$K = { class: "vs-carbon-calculator-running-total__content" }, _hoisted_4$y = { class: "font-weight-bold" };
16660
+ }, _hoisted_2$X = { class: "vs-carbon-calculator-running-total__icon" }, _hoisted_3$L = { class: "vs-carbon-calculator-running-total__content" }, _hoisted_4$y = { class: "font-weight-bold" };
16635
16661
  function _sfc_render$1z(e, n, t, a, r, o) {
16636
16662
  const l = resolveComponent("VsIcon");
16637
16663
  return openBlock(), createElementBlock("div", _hoisted_1$1l, [
@@ -16641,7 +16667,7 @@ function _sfc_render$1z(e, n, t, a, r, o) {
16641
16667
  size: "lg"
16642
16668
  })
16643
16669
  ]),
16644
- createElementVNode("div", _hoisted_3$K, [
16670
+ createElementVNode("div", _hoisted_3$L, [
16645
16671
  createElementVNode("p", null, toDisplayString(o.labelsMap.soFar), 1),
16646
16672
  createElementVNode("p", null, [
16647
16673
  createElementVNode("span", _hoisted_4$y, toDisplayString(t.totalKilos.toLocaleString(t.language, { minimumFractionDigits: 3 })), 1),
@@ -17417,6 +17443,9 @@ regex(urlRegex);
17417
17443
  regex(/(^[0-9]*$)|(^-[0-9]+$)/);
17418
17444
  regex(/^[-]?\d*(\.\d+)?$/);
17419
17445
  const postcode = common$1.regex(/^([A-Za-z][A-HJ-Ya-hj-y]?\d[A-Za-z\d]? ?\d[A-Za-z]{2}|GIR ?0A{2})$/), validateFormElementMixin = {
17446
+ emits: [
17447
+ "status-update"
17448
+ ],
17420
17449
  data() {
17421
17450
  return {
17422
17451
  inputVal: this.value,
@@ -17697,7 +17726,7 @@ const postcode = common$1.regex(/^([A-Za-z][A-HJ-Ya-hj-y]?\d[A-Za-z\d]? ?\d[A-Za
17697
17726
  }, _hoisted_1$1j = {
17698
17727
  class: "vs-radio-button",
17699
17728
  "data-test": "vs-radio-button"
17700
- }, _hoisted_2$W = ["id"], _hoisted_3$J = { class: "visually-hidden" }, _hoisted_4$x = ["id"];
17729
+ }, _hoisted_2$W = ["id"], _hoisted_3$K = { class: "visually-hidden" }, _hoisted_4$x = ["id"];
17701
17730
  function _sfc_render$1x(e, n, t, a, r, o) {
17702
17731
  const l = resolveComponent("BFormRadio"), c = resolveComponent("BFormRadioGroup");
17703
17732
  return openBlock(), createElementBlock("div", _hoisted_1$1j, [
@@ -17711,7 +17740,7 @@ function _sfc_render$1x(e, n, t, a, r, o) {
17711
17740
  key: d,
17712
17741
  class: "error mb-0"
17713
17742
  }, [
17714
- createElementVNode("span", _hoisted_3$J, toDisplayString(t.fieldName), 1),
17743
+ createElementVNode("span", _hoisted_3$K, toDisplayString(t.fieldName), 1),
17715
17744
  createTextVNode(" " + toDisplayString(t.validationMessages[d] || t.genericValidation[d]), 1)
17716
17745
  ])), [
17717
17746
  [vShow, !t.reAlertErrors && !r.clearErrorsOnFocus]
@@ -17982,7 +18011,7 @@ const VsRadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc
17982
18011
  validations() {
17983
18012
  return this.rules;
17984
18013
  }
17985
- }, _hoisted_1$1i = { "data-test": "vs-number-input" }, _hoisted_2$V = ["id"], _hoisted_3$I = ["id"], _hoisted_4$w = { class: "visually-hidden" }, _hoisted_5$p = { class: "visually-hidden" };
18014
+ }, _hoisted_1$1i = { "data-test": "vs-number-input" }, _hoisted_2$V = ["id"], _hoisted_3$J = ["id"], _hoisted_4$w = { class: "visually-hidden" }, _hoisted_5$p = { class: "visually-hidden" };
17986
18015
  function _sfc_render$1w(e, n, t, a, r, o) {
17987
18016
  const l = resolveComponent("VsButton"), c = resolveComponent("BFormInput");
17988
18017
  return openBlock(), createElementBlock("div", _hoisted_1$1i, [
@@ -18006,7 +18035,7 @@ function _sfc_render$1w(e, n, t, a, r, o) {
18006
18035
  ])), [
18007
18036
  [vShow, !t.reAlertErrors && !r.clearErrorsOnFocus]
18008
18037
  ])), 128))
18009
- ], 8, _hoisted_3$I)) : createCommentVNode("", !0),
18038
+ ], 8, _hoisted_3$J)) : createCommentVNode("", !0),
18010
18039
  createVNode(l, {
18011
18040
  class: "vs-number-input__increment",
18012
18041
  "icon-only": !0,
@@ -18837,6 +18866,13 @@ const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _
18837
18866
  default: "vs-color-background-cta-subtle"
18838
18867
  },
18839
18868
  /**
18869
+ * Adds an accent bar to the left of the card
18870
+ */
18871
+ accentBar: {
18872
+ type: Boolean,
18873
+ default: !1
18874
+ },
18875
+ /**
18840
18876
  * Sets the card to horizontal layout
18841
18877
  */
18842
18878
  horizontal: {
@@ -18853,17 +18889,12 @@ const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _
18853
18889
  cardClasses() {
18854
18890
  return [
18855
18891
  {
18856
- "vs-card--horizontal": this.horizontal
18892
+ "vs-card--horizontal": this.horizontal,
18893
+ "vs-card--accent-bar": this.accentBar
18857
18894
  },
18858
18895
  this.cardStyle ? `vs-card--${this.cardStyle}` : null
18859
18896
  ];
18860
18897
  },
18861
- bodyClasses() {
18862
- const e = this.$slots["vs-card-body"];
18863
- return {
18864
- "vs-card__body--centered": e && e().length > 0
18865
- };
18866
- },
18867
18898
  cardStyles() {
18868
18899
  return this.fillColor ? {
18869
18900
  "background-color": this.tokens[this.fillColor] || this.fillColor
@@ -18874,6 +18905,9 @@ const CarbonCalculator = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _
18874
18905
  key: 0,
18875
18906
  class: "vs-card__header"
18876
18907
  }, _hoisted_2$T = {
18908
+ key: 1,
18909
+ class: "vs-card__body"
18910
+ }, _hoisted_3$I = {
18877
18911
  key: 2,
18878
18912
  class: "vs-card__footer"
18879
18913
  };
@@ -18886,13 +18920,10 @@ function _sfc_render$1t(e, n, t, a, r, o) {
18886
18920
  e.$slots["vs-card-header"] && e.$slots["vs-card-header"]() ? (openBlock(), createElementBlock("div", _hoisted_1$1f, [
18887
18921
  renderSlot(e.$slots, "vs-card-header")
18888
18922
  ])) : createCommentVNode("", !0),
18889
- e.$slots["vs-card-body"] && e.$slots["vs-card-body"]() ? (openBlock(), createElementBlock("div", {
18890
- key: 1,
18891
- class: normalizeClass(["vs-card__body", o.bodyClasses])
18892
- }, [
18923
+ e.$slots["vs-card-body"] && e.$slots["vs-card-body"]() ? (openBlock(), createElementBlock("div", _hoisted_2$T, [
18893
18924
  renderSlot(e.$slots, "vs-card-body")
18894
- ], 2)) : createCommentVNode("", !0),
18895
- e.$slots["vs-card-footer"] && e.$slots["vs-card-footer"]() ? (openBlock(), createElementBlock("div", _hoisted_2$T, [
18925
+ ])) : createCommentVNode("", !0),
18926
+ e.$slots["vs-card-footer"] && e.$slots["vs-card-footer"]() ? (openBlock(), createElementBlock("div", _hoisted_3$I, [
18896
18927
  renderSlot(e.$slots, "vs-card-footer")
18897
18928
  ])) : createCommentVNode("", !0)
18898
18929
  ], 6);
@@ -33618,6 +33649,9 @@ const VsRecaptcha = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_re
33618
33649
  default: 2
33619
33650
  }
33620
33651
  },
33652
+ emits: [
33653
+ "updated"
33654
+ ],
33621
33655
  setup: () => ({
33622
33656
  v$: useVuelidate()
33623
33657
  }),
@@ -42198,7 +42232,7 @@ export {
42198
42232
  ArticleSection as VsArticleSection,
42199
42233
  ArticleSidebar as VsArticleSidebar,
42200
42234
  _sfc_main$2f as VsBackToTop,
42201
- _sfc_main$2e as VsBadge,
42235
+ Badge as VsBadge,
42202
42236
  Banner as VsBanner,
42203
42237
  BlogDetails as VsBlogDetails,
42204
42238
  Breadcrumb as VsBreadcrumb,