@visitscotland/component-library 5.65.0 → 5.66.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.
- package/dist/components/{LoadingSpinner-DLhnjm96.js → LoadingSpinner-BIBGH_VZ.js} +14 -14
- package/dist/components/{LoadingSpinner-CkG_hjpf.mjs → LoadingSpinner-CffQnFjG.mjs} +241 -206
- package/dist/components/components/quote/Quote.vue.d.ts +4 -0
- package/dist/components/vs-component-library-maps.js +1 -1
- package/dist/components/vs-component-library-maps.mjs +1 -1
- package/dist/components/vs-component-library.js +4 -4
- package/dist/components/vs-component-library.mjs +26 -22
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { openBlock, createElementBlock, renderSlot, inject, computed as computed$1, toValue, watch, ref, onMounted, nextTick as nextTick$1, getCurrentInstance, readonly, onBeforeUnmount, onUnmounted, defineComponent, unref, toRef, useId, shallowRef, useSlots, useModel, useTemplateRef, createBlock, withCtx, Transition, mergeProps, withDirectives, createElementVNode, withModifiers, normalizeClass, normalizeProps, guardReactiveProps, resolveDynamicComponent, createTextVNode, toDisplayString, Fragment, createCommentVNode, createVNode, vShow, normalizeStyle, mergeModels, provide, onActivated, renderList, useAttrs, render as render$e, h, vModelSelect, withKeys, resolveComponent, resolveDirective, createSlots, reactive, onBeforeMount, isRef, isReactive, isReadonly, onUpdated, onBeforeUpdate, isVNode, markRaw, Teleport, toHandlers, vModelText, Suspense } from "vue";
|
|
2
|
-
import { _ as _export_sfc, b as breadcrumbGlobalIndexKey, a as breadcrumbRegistryKey, u as useEventListener, s as showHideRegistryKey, c as useThrottleFn, d as useDefaults, g as getSafeDocument, e as createSharedComposable, f as useScrollLock$1, h as useMutationObserver, i as getSafeWindow, t as toArray, j as unrefElement, n as notNullish, k as tryOnScopeDispose, l as useId$1, o as onKeyStroke, m as isEmptySlot, p as useColorVariantClasses, q as getModalZIndex, C as ConditionalTeleport_default, B as BButton_default, r as modalManagerKey, v as getSSRHandler, w as progressInjectionKey, x as useToNumber, y as formGroupKey, z as useAriaInvalid, A as useStateClass, D as useFocus, E as inputGroupKey, F as get$1, G as useBLinkHelper, H as BLink_default, I as ConditionalWrapper_default, J as pick, K as omit$2, L as BImg_default, M as offset$2, N as flip$2, O as autoPlacement, P as shift$2, Q as hide, R as inline, S as arrow$2, T as size, U as useFloating, V as autoUpdate$1, W as onClickOutside, X as useMouse$2, Y as buttonGroupKey, Z as dropdownInjectionKey, $ as collapseInjectionKey, a0 as navbarInjectionKey, a1 as formSelectKey, a2 as isVisible, a3 as useBreakpoints, a4 as breakpointsBootstrapV5, a5 as tabsInjectionKey, a6 as sortSlotElementsByPosition, a7 as defaultsKey, a8 as VsButton, a9 as dataLayerMixin, aa as VsHeading, ab as VsIcon, ac as lodashExports, ad as VsBody, ae as VsContainer, af as VsRow, ag as VsCol, ah as dmoUrls, ai as VsImg, aj as axios, ak as designTokens, al as BFormRadio_default, am as BFormRadioGroup_default, an as BFormGroup_default, ao as VsWarning, ap as BFormCheckbox_default, aq as getDefaultExportFromCjs, ar as products, as as paths, at as monthsEnglish, au as VsLoading, av as BThead_default, aw as BTh_default, ax as BTbody_default, ay as BTr_default, az as BTd_default, aA as BTfoot_default, aB as useDataLayerStore, aC as checkVendorLibrary, aD as siteSearchCloseTemplate, aE as siteSearchClickTemplate, aF as siteSearchUsageTemplate, aG as siteSearchOpenTemplate, aH as googleMapInteractionTemplate, aI as googleMapTimeToFirstInteractionTemplate, aJ as googleMapFilterInteractionTemplate, aK as googleMapSearchTemplate } from "./LoadingSpinner-
|
|
3
|
-
import { aL as qe } from "./LoadingSpinner-
|
|
2
|
+
import { _ as _export_sfc, b as breadcrumbGlobalIndexKey, a as breadcrumbRegistryKey, u as useEventListener, s as showHideRegistryKey, c as useThrottleFn, d as useDefaults, g as getSafeDocument, e as createSharedComposable, f as useScrollLock$1, h as useMutationObserver, i as getSafeWindow, t as toArray, j as unrefElement, n as notNullish, k as tryOnScopeDispose, l as useId$1, o as onKeyStroke, m as isEmptySlot, p as useColorVariantClasses, q as getModalZIndex, C as ConditionalTeleport_default, B as BButton_default, r as modalManagerKey, v as getSSRHandler, w as progressInjectionKey, x as useToNumber, y as formGroupKey, z as useAriaInvalid, A as useStateClass, D as useFocus, E as inputGroupKey, F as get$1, G as useBLinkHelper, H as BLink_default, I as ConditionalWrapper_default, J as pick, K as omit$2, L as BImg_default, M as offset$2, N as flip$2, O as autoPlacement, P as shift$2, Q as hide, R as inline, S as arrow$2, T as size, U as useFloating, V as autoUpdate$1, W as onClickOutside, X as useMouse$2, Y as buttonGroupKey, Z as dropdownInjectionKey, $ as collapseInjectionKey, a0 as navbarInjectionKey, a1 as formSelectKey, a2 as isVisible, a3 as useBreakpoints, a4 as breakpointsBootstrapV5, a5 as tabsInjectionKey, a6 as sortSlotElementsByPosition, a7 as defaultsKey, a8 as VsButton, a9 as dataLayerMixin, aa as VsHeading, ab as VsIcon, ac as lodashExports, ad as VsBody, ae as VsContainer, af as VsRow, ag as VsCol, ah as dmoUrls, ai as VsImg, aj as axios, ak as designTokens, al as BFormRadio_default, am as BFormRadioGroup_default, an as BFormGroup_default, ao as VsWarning, ap as BFormCheckbox_default, aq as getDefaultExportFromCjs, ar as products, as as paths, at as monthsEnglish, au as VsLoading, av as BThead_default, aw as BTh_default, ax as BTbody_default, ay as BTr_default, az as BTd_default, aA as BTfoot_default, aB as useDataLayerStore, aC as checkVendorLibrary, aD as siteSearchCloseTemplate, aE as siteSearchClickTemplate, aF as siteSearchUsageTemplate, aG as siteSearchOpenTemplate, aH as googleMapInteractionTemplate, aI as googleMapTimeToFirstInteractionTemplate, aJ as googleMapFilterInteractionTemplate, aK as googleMapSearchTemplate } from "./LoadingSpinner-CffQnFjG.mjs";
|
|
3
|
+
import { aL as qe } from "./LoadingSpinner-CffQnFjG.mjs";
|
|
4
4
|
import { defineStore, storeToRefs } from "pinia";
|
|
5
5
|
const _sfc_main$2E = {
|
|
6
6
|
name: "VsAccordion",
|
|
@@ -8751,7 +8751,7 @@ const CannedSearch = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["render", _sfc_
|
|
|
8751
8751
|
return (t - e) * a / (n - e);
|
|
8752
8752
|
}
|
|
8753
8753
|
}
|
|
8754
|
-
}, _hoisted_1$1F = ["width", "height"], _hoisted_2$1b = ["stroke"], _hoisted_3$Z = ["stroke"], _hoisted_4$I = ["stroke"], _hoisted_5$w = ["stroke"], _hoisted_6$l = ["stroke"], _hoisted_7$h = ["stroke"], _hoisted_8$8 = ["stroke"], _hoisted_9$6 = ["stroke"], _hoisted_10$6 = ["stroke"], _hoisted_11$
|
|
8754
|
+
}, _hoisted_1$1F = ["width", "height"], _hoisted_2$1b = ["stroke"], _hoisted_3$Z = ["stroke"], _hoisted_4$I = ["stroke"], _hoisted_5$w = ["stroke"], _hoisted_6$l = ["stroke"], _hoisted_7$h = ["stroke"], _hoisted_8$8 = ["stroke"], _hoisted_9$6 = ["stroke"], _hoisted_10$6 = ["stroke"], _hoisted_11$4 = ["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 = ["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"];
|
|
8755
8755
|
function _sfc_render$1S(e, n, t, a, o, r) {
|
|
8756
8756
|
return openBlock(), createElementBlock("svg", {
|
|
8757
8757
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -8871,7 +8871,7 @@ function _sfc_render$1S(e, n, t, a, o, r) {
|
|
|
8871
8871
|
"stroke-linejoin": "round",
|
|
8872
8872
|
"stroke-width": "0.5",
|
|
8873
8873
|
"fill-rule": "evenodd"
|
|
8874
|
-
}, null, 8, _hoisted_11$
|
|
8874
|
+
}, null, 8, _hoisted_11$4),
|
|
8875
8875
|
createElementVNode("path", {
|
|
8876
8876
|
d: `M46.6205,36.1343c0,.184.167.552.167.736.167.184.167.368.334.368,
|
|
8877
8877
|
1.169.92,1.336-1.287.167-1.287C46.9545,35.95,46.7875,35.95,46.6205,36.1343Z`,
|
|
@@ -32493,7 +32493,7 @@ const _hoisted_1$r = {
|
|
|
32493
32493
|
}, _hoisted_2$i = {
|
|
32494
32494
|
key: 0,
|
|
32495
32495
|
class: "container"
|
|
32496
|
-
}, _hoisted_3$c = { class: "row" }, _hoisted_4$a = { class: "col-12" }, _hoisted_5$a = ["action"], _hoisted_6$a = { class: "form-group product-search__type mb-100" }, _hoisted_7$8 = { for: "prodtypes" }, _hoisted_8$6 = { class: "product-search__in d-none d-md-block mt-100" }, _hoisted_9$5 = { "aria-live": "polite" }, _hoisted_10$5 = ["disabled", "value"], _hoisted_11$
|
|
32496
|
+
}, _hoisted_3$c = { class: "row" }, _hoisted_4$a = { class: "col-12" }, _hoisted_5$a = ["action"], _hoisted_6$a = { class: "form-group product-search__type mb-100" }, _hoisted_7$8 = { for: "prodtypes" }, _hoisted_8$6 = { class: "product-search__in d-none d-md-block mt-100" }, _hoisted_9$5 = { "aria-live": "polite" }, _hoisted_10$5 = ["disabled", "value"], _hoisted_11$3 = ["disabled", "value"], _hoisted_12$2 = ["value"], _hoisted_13$2 = {
|
|
32497
32497
|
key: 4,
|
|
32498
32498
|
type: "hidden",
|
|
32499
32499
|
name: "areaproxdist",
|
|
@@ -32676,7 +32676,7 @@ const _hoisted_1$r = {
|
|
|
32676
32676
|
name: "locpoly",
|
|
32677
32677
|
disabled: unref(r)?.type !== "POLYGON",
|
|
32678
32678
|
value: unref(r)?.key || ""
|
|
32679
|
-
}, null, 8, _hoisted_11$
|
|
32679
|
+
}, null, 8, _hoisted_11$3)) : createCommentVNode("", !0),
|
|
32680
32680
|
a.value !== "tour" ? (openBlock(), createElementBlock("input", {
|
|
32681
32681
|
key: 3,
|
|
32682
32682
|
type: "hidden",
|
|
@@ -32869,6 +32869,8 @@ const ProductSearch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_
|
|
|
32869
32869
|
props: {
|
|
32870
32870
|
/**
|
|
32871
32871
|
* Sets the quote text content.
|
|
32872
|
+
*
|
|
32873
|
+
* @deprecated Use the `quote-content` slot instead. Will be removed in a future major release.
|
|
32872
32874
|
*/
|
|
32873
32875
|
quoteText: {
|
|
32874
32876
|
type: String,
|
|
@@ -32934,19 +32936,19 @@ const ProductSearch = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["render", _sfc_
|
|
|
32934
32936
|
key: 0,
|
|
32935
32937
|
class: "vs-quote-new vs-quote-new--blockquote",
|
|
32936
32938
|
"data-test": "vs-quote-new"
|
|
32937
|
-
}, _hoisted_2$g = { class: "vs-quote-new__wrapper" }, _hoisted_3$b = {
|
|
32939
|
+
}, _hoisted_2$g = { class: "vs-quote-new__wrapper" }, _hoisted_3$b = {
|
|
32938
32940
|
key: 0,
|
|
32939
32941
|
class: "vs-quote__name"
|
|
32940
|
-
},
|
|
32942
|
+
}, _hoisted_4$9 = { key: 0 }, _hoisted_5$9 = {
|
|
32941
32943
|
key: 0,
|
|
32942
32944
|
class: "vs-quote__speech-container"
|
|
32943
|
-
},
|
|
32945
|
+
}, _hoisted_6$9 = {
|
|
32944
32946
|
key: 1,
|
|
32945
32947
|
class: "vs-quote__author-container"
|
|
32946
|
-
},
|
|
32948
|
+
}, _hoisted_7$7 = { class: "vs-quote__content-container" }, _hoisted_8$5 = { class: "vs-quote__content" }, _hoisted_9$4 = {
|
|
32947
32949
|
key: 0,
|
|
32948
32950
|
class: "vs-quote__author-name"
|
|
32949
|
-
},
|
|
32951
|
+
}, _hoisted_10$4 = {
|
|
32950
32952
|
key: 2,
|
|
32951
32953
|
class: "vs-quote__quote-link"
|
|
32952
32954
|
};
|
|
@@ -32957,17 +32959,17 @@ function _sfc_render$m(e, n, t, a, o, r) {
|
|
|
32957
32959
|
class: normalizeClass(["vs-quote", r.variantClass]),
|
|
32958
32960
|
"data-test": "vs-quote"
|
|
32959
32961
|
}, [
|
|
32960
|
-
t.withBorder ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div",
|
|
32962
|
+
t.withBorder ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_5$9, [...n[0] || (n[0] = [
|
|
32961
32963
|
createElementVNode("span", { class: "vs-quote__speech-mark" }, "“", -1)
|
|
32962
32964
|
])])),
|
|
32963
|
-
r.hasAuthorImage ? (openBlock(), createElementBlock("div",
|
|
32965
|
+
r.hasAuthorImage ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
32964
32966
|
renderSlot(e.$slots, "quote-image")
|
|
32965
32967
|
])) : createCommentVNode("", !0),
|
|
32966
|
-
createElementVNode("div",
|
|
32967
|
-
createElementVNode("div",
|
|
32968
|
+
createElementVNode("div", _hoisted_7$7, [
|
|
32969
|
+
createElementVNode("div", _hoisted_8$5, [
|
|
32968
32970
|
renderSlot(e.$slots, "quote-content")
|
|
32969
32971
|
]),
|
|
32970
|
-
r.hasAuthorName ? (openBlock(), createElementBlock("p",
|
|
32972
|
+
r.hasAuthorName ? (openBlock(), createElementBlock("p", _hoisted_9$4, [
|
|
32971
32973
|
renderSlot(e.$slots, "quote-author-name")
|
|
32972
32974
|
])) : createCommentVNode("", !0),
|
|
32973
32975
|
r.hasAuthorTitle ? (openBlock(), createElementBlock("p", {
|
|
@@ -32976,17 +32978,19 @@ function _sfc_render$m(e, n, t, a, o, r) {
|
|
|
32976
32978
|
}, [
|
|
32977
32979
|
renderSlot(e.$slots, "quote-author-title")
|
|
32978
32980
|
], 2)) : createCommentVNode("", !0),
|
|
32979
|
-
e.$slots["quote-link"] ? (openBlock(), createElementBlock("div",
|
|
32981
|
+
e.$slots["quote-link"] ? (openBlock(), createElementBlock("div", _hoisted_10$4, [
|
|
32980
32982
|
renderSlot(e.$slots, "quote-link", { if: "$slots['quote-link']" })
|
|
32981
32983
|
])) : createCommentVNode("", !0)
|
|
32982
32984
|
])
|
|
32983
32985
|
], 2)) : (openBlock(), createElementBlock("blockquote", _hoisted_1$m, [
|
|
32984
32986
|
createElementVNode("div", _hoisted_2$g, [
|
|
32985
|
-
createVNode(s,
|
|
32987
|
+
createVNode(s, { class: "vs-quote__text" }, {
|
|
32986
32988
|
default: withCtx(() => [
|
|
32987
|
-
|
|
32989
|
+
renderSlot(e.$slots, "quote-content", {}, () => [
|
|
32990
|
+
createTextVNode(toDisplayString(t.quoteText), 1)
|
|
32991
|
+
])
|
|
32988
32992
|
]),
|
|
32989
|
-
_:
|
|
32993
|
+
_: 3
|
|
32990
32994
|
}),
|
|
32991
32995
|
t.quoteName || e.$slots["quote-details"] ? (openBlock(), createBlock(i, {
|
|
32992
32996
|
key: 0,
|
|
@@ -32995,9 +32999,9 @@ function _sfc_render$m(e, n, t, a, o, r) {
|
|
|
32995
32999
|
}, {
|
|
32996
33000
|
default: withCtx(() => [
|
|
32997
33001
|
createElementVNode("p", null, [
|
|
32998
|
-
t.quoteName ? (openBlock(), createElementBlock("span",
|
|
33002
|
+
t.quoteName ? (openBlock(), createElementBlock("span", _hoisted_3$b, [
|
|
32999
33003
|
createTextVNode(toDisplayString(t.quoteName), 1),
|
|
33000
|
-
e.$slots["quote-details"] ? (openBlock(), createElementBlock("span",
|
|
33004
|
+
e.$slots["quote-details"] ? (openBlock(), createElementBlock("span", _hoisted_4$9, ", ")) : createCommentVNode("", !0)
|
|
33001
33005
|
])) : createCommentVNode("", !0),
|
|
33002
33006
|
renderSlot(e.$slots, "quote-details")
|
|
33003
33007
|
])
|
package/package.json
CHANGED