@visitscotland/component-library 5.59.4 → 5.59.5
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.
|
@@ -32839,17 +32839,17 @@ const useGoogleMapStore = defineStore("googleMap", () => {
|
|
|
32839
32839
|
onMounted(() => {
|
|
32840
32840
|
a.selectedDestinationType = n[0].id;
|
|
32841
32841
|
});
|
|
32842
|
-
const o = (
|
|
32842
|
+
const o = (d) => a.selectedDestinationType === d ? "primary" : "secondary", i = n.filter((d) => d.id !== "towns"), l = {
|
|
32843
32843
|
cities: "fa-regular fa-city",
|
|
32844
32844
|
regions: "fa-regular fa-map-location-dot",
|
|
32845
32845
|
islands: "fa-regular fa-island-tropical",
|
|
32846
32846
|
towns: "fa-regular fa-house-chimney-window",
|
|
32847
32847
|
"national-parks": "fa-kit fa-vs-icon-national-park"
|
|
32848
32848
|
};
|
|
32849
|
-
function
|
|
32850
|
-
a.selectedDestinationType =
|
|
32849
|
+
function c(d) {
|
|
32850
|
+
a.selectedDestinationType = d, s();
|
|
32851
32851
|
}
|
|
32852
|
-
return (
|
|
32852
|
+
return (d, u) => (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
32853
32853
|
createVNode(VsDetail, {
|
|
32854
32854
|
color: "secondary",
|
|
32855
32855
|
size: "small"
|
|
@@ -32860,15 +32860,15 @@ const useGoogleMapStore = defineStore("googleMap", () => {
|
|
|
32860
32860
|
_: 1
|
|
32861
32861
|
}),
|
|
32862
32862
|
createElementVNode("div", _hoisted_2$2, [
|
|
32863
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(
|
|
32864
|
-
key:
|
|
32865
|
-
icon:
|
|
32863
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(i), (f) => (openBlock(), createBlock(VsButton, {
|
|
32864
|
+
key: f.id,
|
|
32865
|
+
icon: l[f.id],
|
|
32866
32866
|
size: "sm",
|
|
32867
|
-
variant: o(
|
|
32868
|
-
onClick: (
|
|
32867
|
+
variant: o(f.id),
|
|
32868
|
+
onClick: (m) => c(f.id)
|
|
32869
32869
|
}, {
|
|
32870
32870
|
default: withCtx(() => [
|
|
32871
|
-
createTextVNode(toDisplayString(
|
|
32871
|
+
createTextVNode(toDisplayString(f.label), 1)
|
|
32872
32872
|
]),
|
|
32873
32873
|
_: 2
|
|
32874
32874
|
}, 1032, ["icon", "variant", "onClick"]))), 128))
|
|
@@ -32876,9 +32876,9 @@ const useGoogleMapStore = defineStore("googleMap", () => {
|
|
|
32876
32876
|
createElementVNode("div", _hoisted_3$2, [
|
|
32877
32877
|
createVNode(VsRow, { class: "vs-map__destinations" }, {
|
|
32878
32878
|
default: withCtx(() => [
|
|
32879
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(t), (
|
|
32880
|
-
key:
|
|
32881
|
-
place:
|
|
32879
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(unref(t), (f) => (openBlock(), createBlock(_sfc_main$3, {
|
|
32880
|
+
key: f.properties.id,
|
|
32881
|
+
place: f
|
|
32882
32882
|
}, null, 8, ["place"]))), 128))
|
|
32883
32883
|
]),
|
|
32884
32884
|
_: 1
|
package/package.json
CHANGED