@visitscotland/component-library 3.0.3 → 3.0.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.
- package/CHANGELOG.md +1736 -0
- package/dist/client/fonts/fa-duotone-900.ttf +0 -0
- package/dist/client/fonts/fa-duotone-900.woff2 +0 -0
- package/dist/client/manifest.json +207 -210
- package/dist/client/scripts/2c9771b621321ebce2f1.js +1 -0
- package/dist/client/scripts/{87c81786aba52ad2c8de.js → 2ec96066459c23785cbe.js} +1 -1
- package/dist/client/scripts/{57f474f5e19eb8baccea.js → 317bf5d5727006b94afd.js} +1 -1
- package/dist/client/scripts/369660f549d80a83b319.js +1 -0
- package/dist/client/scripts/{ce05b548e362b5886d8d.js → 3f076d8e7a9978382389.js} +1 -1
- package/dist/client/scripts/54bee03d4647544c11f5.js +1 -0
- package/dist/client/scripts/{ce3e6734cb84e74451cd.js → 6207179e793d6e2f8d9e.js} +1 -1
- package/dist/client/scripts/62dee53b5ff29bcdf2a4.js +1 -0
- package/dist/client/scripts/{48d53e3631b7bf81ef29.js → 645e6203105968ad0f41.js} +1 -1
- package/dist/client/scripts/{4f262ff6d88d67a5edb0.js → 6fc9b98332d4c5c0030e.js} +1 -1
- package/dist/client/scripts/71e47f081f1872f4933e.js +1 -0
- package/dist/client/scripts/{31f9d972fa4753eaee60.js → 8e0a1eb35d5006bcaf29.js} +1 -1
- package/dist/client/scripts/8e3fa387146c24502ada.js +1 -0
- package/dist/client/scripts/{83e6099b792b76d2ee7f.js → 9101e0f2b766ea15df2e.js} +1 -1
- package/dist/client/scripts/9f065385334d4171c659.js +1 -0
- package/dist/client/scripts/adb997ae050ff11118c3.js +1 -0
- package/dist/client/scripts/b54e126bdfc77cdd9070.js +1 -0
- package/dist/client/scripts/{b6a50a2b854d09970111.js → bef607c592b6cb0a9124.js} +1 -1
- package/dist/client/scripts/c95930ffa2e73a2cc9f9.js +1 -0
- package/dist/client/scripts/cebe2ecd315979d611b4.js +1 -0
- package/dist/client/scripts/d98904f0243929183f90.js +1 -0
- package/dist/client/scripts/{31a2579101bbbb9e5f30.js → dd2e53bdbe88461c7844.js} +1 -1
- package/dist/client/scripts/{8751d1ac21308fc7e78b.js → ee1669cbdcce1bd4b354.js} +1 -1
- package/dist/client/scripts/{1ea58060bdd59b73f2cc.js → eeed4d3e9c67f63e7289.js} +1 -1
- package/dist/client/scripts/f20d9d2c0dba637ea47e.js +1 -0
- package/dist/client/scripts/{43310958bc4363082dd8.js → f35abe8b7b5ef124937e.js} +1 -1
- package/dist/client/scripts/{829fb548fb318cc6c227.js → f4970884abfc851ae32f.js} +1 -1
- package/dist/client/scripts/{8fc24289899913dd4b9c.js → fea0e33760eef6a2afcc.js} +1 -1
- package/dist/client/styles/{87c81786aba52ad2c8de.css → 2ec96066459c23785cbe.css} +1 -1
- package/dist/client/styles/3f076d8e7a9978382389.css +1 -0
- package/dist/client/styles/{c01ba1121e07f8275c28.css → 54bee03d4647544c11f5.css} +1 -1
- package/dist/client/styles/{ce3e6734cb84e74451cd.css → 6207179e793d6e2f8d9e.css} +1 -1
- package/dist/client/styles/{48d53e3631b7bf81ef29.css → 645e6203105968ad0f41.css} +1 -1
- package/dist/client/styles/{4f262ff6d88d67a5edb0.css → 6fc9b98332d4c5c0030e.css} +1 -1
- package/dist/client/styles/71e47f081f1872f4933e.css +1 -0
- package/dist/client/styles/{f304d9429842a3472c24.css → 8e3fa387146c24502ada.css} +1 -1
- package/dist/client/styles/{7f0830b7d5e434d7a977.css → a4bf5693a18f72023719.css} +1 -1
- package/dist/client/styles/{f03a2509e55a384da74a.css → b54e126bdfc77cdd9070.css} +1 -1
- package/dist/client/styles/{37a9f1240efe0ca78ea6.css → bd26b75ba38ccee0dc01.css} +2 -2
- package/dist/client/styles/{1ce57deef9f60d08e168.css → d98904f0243929183f90.css} +1 -1
- package/dist/client/styles/{31a2579101bbbb9e5f30.css → dd2e53bdbe88461c7844.css} +1 -1
- package/dist/client/styles/{70ed495c15ada9f41f04.css → ec0a9a2c688a656c0695.css} +1 -1
- package/dist/client/styles/{829fb548fb318cc6c227.css → f4970884abfc851ae32f.css} +1 -1
- package/dist/client/styles/third-party/_cludo-search-results.css +1 -1
- package/dist/client/styles/third-party/_font-awesome.css +2 -2
- package/dist/components/components/accordion/components/AccordionItem.vue.d.ts +1 -1
- package/dist/components/components/accordion/index.d.ts +1 -1
- package/dist/components/components/button/Button.vue.d.ts +2 -2
- package/dist/components/components/canned-search/CannedSearch.vue.d.ts +1 -1
- package/dist/components/components/canned-search/components/CannedSearchDuration.vue.d.ts +1 -1
- package/dist/components/components/canned-search/components/CannedSearchLogos.vue.d.ts +1 -1
- package/dist/components/components/canned-search/components/CannedSearchPrice.vue.d.ts +1 -1
- package/dist/components/components/canned-search/components/CannedSearchSummaryBox.vue.d.ts +1 -1
- package/dist/components/components/caption/Caption.vue.d.ts +260 -1
- package/dist/components/components/carbon-calculator/components/CarbonCalculatorResults.vue.d.ts +262 -1
- package/dist/components/components/carousel/Carousel.vue.d.ts +2 -2
- package/dist/components/components/carousel/components/CarouselSlide.vue.d.ts +3 -3
- package/dist/components/components/checkbox/Checkbox.vue.d.ts +2 -2
- package/dist/components/components/embed-wrapper/EmbedWrapper.vue.d.ts +1 -1
- package/dist/components/components/footer/components/FooterAccordionItem.vue.d.ts +1 -1
- package/dist/components/components/form/Form.vue.d.ts +2 -1
- package/dist/components/components/heading/Heading.vue.d.ts +1 -1
- package/dist/components/components/icon/Icon.vue.d.ts +1 -1
- package/dist/components/components/icon/index.d.ts +1 -1
- package/dist/components/components/image-with-caption/ImageWithCaption.vue.d.ts +6 -6
- package/dist/components/components/img/Img.vue.d.ts +11 -4
- package/dist/components/components/input/Input.vue.d.ts +2 -2
- package/dist/components/components/link/Link.vue.d.ts +1 -1
- package/dist/components/components/link-list/components/LinkListItem.vue.d.ts +12 -1
- package/dist/components/components/list/List.vue.d.ts +1 -1
- package/dist/components/components/mega-nav/MegaNav.vue.d.ts +282 -1
- package/dist/components/components/mega-nav/components/MegaNavDropdownContainer.vue.d.ts +1 -1
- package/dist/components/components/megalinks/Megalinks.vue.d.ts +1 -1
- package/dist/components/components/megalinks/components/megalink-link-list/MegalinkLinkList.vue.d.ts +5 -5
- package/dist/components/components/megalinks/components/megalink-multi-image/MegalinkMultiImage.vue.d.ts +5 -5
- package/dist/components/components/number-input/NumberInput.vue.d.ts +4 -4
- package/dist/components/components/radio-button/RadioButton.vue.d.ts +1 -1
- package/dist/components/components/select/Select.vue.d.ts +1 -1
- package/dist/components/components/ski-scotland/ski-scotland-status/SkiScotlandStatus.vue.d.ts +272 -1
- package/dist/components/components/stretched-link-card/StretchedLinkCard.vue.d.ts +26 -6
- package/dist/components/components/svg-link/SvgLink.vue.d.ts +2 -2
- package/dist/components/components/video/Video.vue.d.ts +1 -1
- package/dist/components/components/video-caption/VideoCaption.vue.d.ts +23 -3
- package/dist/components/icons.css +2 -2
- package/dist/components/mixins/verifyCookiesMixin.d.ts +1 -1
- package/dist/components/stores/map.store.d.ts +2 -2
- package/dist/components/stores/video.store.d.ts +1 -1
- package/dist/components/utils/breakpoints.d.ts +1 -1
- package/dist/components/vs-component-library.css +1 -1
- package/dist/components/vs-component-library.js +216 -181
- package/dist/components/vs-component-library.mjs +18289 -10977
- package/dist/ssr/fonts/fa-duotone-900.ttf +0 -0
- package/dist/ssr/fonts/fa-duotone-900.woff2 +0 -0
- package/dist/ssr/index.js +1 -1
- package/dist/ssr/manifest.json +1 -1
- package/dist/ssr/styles/{8d13415be9d7633cf1b5.css → f6729228ac24b0bedea4.css} +16 -16
- package/package.json +230 -231
- package/dist/client/scripts/1ce57deef9f60d08e168.js +0 -1
- package/dist/client/scripts/4a4ba7ebd4b744564fb1.js +0 -1
- package/dist/client/scripts/5d2e8fcc89de9881e3f0.js +0 -1
- package/dist/client/scripts/5e005447771fd3cd6b2b.js +0 -1
- package/dist/client/scripts/6cd0e09564354b3d5ff2.js +0 -1
- package/dist/client/scripts/86ef112affb6b291623a.js +0 -1
- package/dist/client/scripts/b9d33994c69b2a8de5fe.js +0 -1
- package/dist/client/scripts/ba790fc15aa9dd2a524f.js +0 -1
- package/dist/client/scripts/c01ba1121e07f8275c28.js +0 -1
- package/dist/client/scripts/ebfecb5cb9655ada3826.js +0 -1
- package/dist/client/scripts/ec98e9fccfc20586c905.js +0 -1
- package/dist/client/scripts/f03a2509e55a384da74a.js +0 -1
- package/dist/client/scripts/f304d9429842a3472c24.js +0 -1
- package/dist/client/scripts/ff019a30624b95c825db.js +0 -1
- package/dist/client/styles/ba790fc15aa9dd2a524f.css +0 -1
- package/dist/client/styles/ce05b548e362b5886d8d.css +0 -1
- package/dist/components/components/map/Map.vue.d.ts +0 -370
- package/dist/components/components/map/components/MapMarker.vue.d.ts +0 -87
- package/dist/components/components/map-marker-icon/MapMarkerIcon.vue.d.ts +0 -50
- package/dist/components/components/map-with-sidebar/MapWithSidebar.vue.d.ts +0 -366
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarButtons.vue.d.ts +0 -39
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarCategory.vue.d.ts +0 -57
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarControls.vue.d.ts +0 -16
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarDetail.vue.d.ts +0 -36
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarListItem.vue.d.ts +0 -65
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarPanel.vue.d.ts +0 -274
- package/dist/components/components/map-with-sidebar/components/MapWithSidebarSubcategory.vue.d.ts +0 -35
- package/dist/components/maps.css +0 -1
- package/dist/components/maps.js +0 -508
- package/dist/components/maps.mjs +0 -20815
- package/dist/components/v4-Dx4zqkIC.mjs +0 -7197
- package/dist/components/v4-tWlzORDj.js +0 -36
- package/dist/components/v4.css +0 -1
- /package/dist/client/scripts/{7f0830b7d5e434d7a977.js → a4bf5693a18f72023719.js} +0 -0
- /package/dist/client/scripts/{37a9f1240efe0ca78ea6.js → bd26b75ba38ccee0dc01.js} +0 -0
- /package/dist/client/scripts/{70ed495c15ada9f41f04.js → ec0a9a2c688a656c0695.js} +0 -0
- /package/dist/client/styles/{ec98e9fccfc20586c905.css → 2c9771b621321ebce2f1.css} +0 -0
- /package/dist/client/styles/{57f474f5e19eb8baccea.css → 317bf5d5727006b94afd.css} +0 -0
- /package/dist/client/styles/{b9d33994c69b2a8de5fe.css → 369660f549d80a83b319.css} +0 -0
- /package/dist/client/styles/{ebfecb5cb9655ada3826.css → 62dee53b5ff29bcdf2a4.css} +0 -0
- /package/dist/client/styles/{31f9d972fa4753eaee60.css → 8e0a1eb35d5006bcaf29.css} +0 -0
- /package/dist/client/styles/{5d2e8fcc89de9881e3f0.css → 9f065385334d4171c659.css} +0 -0
- /package/dist/client/styles/{ff019a30624b95c825db.css → adb997ae050ff11118c3.css} +0 -0
- /package/dist/client/styles/{5e005447771fd3cd6b2b.css → c95930ffa2e73a2cc9f9.css} +0 -0
- /package/dist/client/styles/{8751d1ac21308fc7e78b.css → ee1669cbdcce1bd4b354.css} +0 -0
- /package/dist/client/styles/{1ea58060bdd59b73f2cc.css → eeed4d3e9c67f63e7289.css} +0 -0
- /package/dist/client/styles/{4a4ba7ebd4b744564fb1.css → f20d9d2c0dba637ea47e.css} +0 -0
- /package/dist/client/styles/{8fc24289899913dd4b9c.css → fea0e33760eef6a2afcc.css} +0 -0
package/package.json
CHANGED
|
@@ -1,231 +1,230 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@visitscotland/component-library",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"description": "VisitScotland Component Library",
|
|
5
|
-
"author": "VisitScotland",
|
|
6
|
-
"homepage": "https://github.com/visitscotland/vs-component-library#readme",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist"
|
|
9
|
-
],
|
|
10
|
-
"exports": {
|
|
11
|
-
".": {
|
|
12
|
-
"require": "./dist/ssr/index.js"
|
|
13
|
-
},
|
|
14
|
-
"./components": {
|
|
15
|
-
"import": "./dist/components/vs-component-library.mjs",
|
|
16
|
-
"require": "./dist/components/vs-component-library.umd.js",
|
|
17
|
-
"types": "./dist/components/component-entry.d.ts"
|
|
18
|
-
},
|
|
19
|
-
"./maps": {
|
|
20
|
-
"import": "./dist/components/maps.mjs"
|
|
21
|
-
},
|
|
22
|
-
"./components/style.css": "./dist/components/vs-component-library.css",
|
|
23
|
-
"./components/fonts.css": "./dist/components/fonts.css",
|
|
24
|
-
"./components/icons.css": "./dist/components/icons.css"
|
|
25
|
-
},
|
|
26
|
-
"license": "MIT",
|
|
27
|
-
"scripts": {
|
|
28
|
-
"storybook": "yarn theo && storybook dev -p 6006",
|
|
29
|
-
"build-storybook": "yarn theo && storybook build",
|
|
30
|
-
"build": "yarn theo && npm-run-all build:library build:ssr third-party build:vite",
|
|
31
|
-
"build:dev": "yarn theo && npm-run-all build:library:dev build:ssr:dev third-party",
|
|
32
|
-
"build:library": "cross-env NODE_ENV=production webpack --config ./build/webpack.conf.js",
|
|
33
|
-
"build:library:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.conf.js",
|
|
34
|
-
"build:ssr": "cross-env NODE_ENV=production webpack --config ./build/webpack.ssr.conf.js",
|
|
35
|
-
"build:ssr:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.ssr.conf.js",
|
|
36
|
-
"build:vite": "yarn theo && vite build",
|
|
37
|
-
"build:vite-no-theo": "vite build",
|
|
38
|
-
"test": "yarn theo && jest --config ./test/unit/jest.conf.js",
|
|
39
|
-
"test:no-theo": "jest --config ./test/unit/jest.conf.js",
|
|
40
|
-
"lint": "eslint",
|
|
41
|
-
"lint:all": "yarn lint:src && yarn lint:build && yarn lint:stories",
|
|
42
|
-
"lint:src": "yarn lint \"src/**/*.{js,vue,ts}\"",
|
|
43
|
-
"lint:build": "yarn lint \"build/*.{js,vue,ts}\"",
|
|
44
|
-
"lint:stories": "yarn lint \"stories/**/*.{js,vue,ts}\"",
|
|
45
|
-
"lint:fix": "yarn lint \"src/**/*.{js,vue,ts}\" \"stories/**/*.js\" --fix",
|
|
46
|
-
"prettier": "prettier . --list-different",
|
|
47
|
-
"theo": "theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens",
|
|
48
|
-
"third-party": "webpack --config ./build/third-party.webpack.conf.js",
|
|
49
|
-
"commit": "cz",
|
|
50
|
-
"prepare": "husky install",
|
|
51
|
-
"prepublishOnly": "yarn build",
|
|
52
|
-
"release:patch": "standard-version --release-as patch",
|
|
53
|
-
"release:minor": "standard-version --release-as minor",
|
|
54
|
-
"release:major": "standard-version --release-as major"
|
|
55
|
-
},
|
|
56
|
-
"lint-staged": {
|
|
57
|
-
"*.{js,vue,ts}": "eslint"
|
|
58
|
-
},
|
|
59
|
-
"repository": {
|
|
60
|
-
"type": "git",
|
|
61
|
-
"url": "https://github.com/visitscotland/vs-component-library.git"
|
|
62
|
-
},
|
|
63
|
-
"keywords": [
|
|
64
|
-
"vue.js",
|
|
65
|
-
"visit scotland",
|
|
66
|
-
"vue",
|
|
67
|
-
"design system",
|
|
68
|
-
"design",
|
|
69
|
-
"system"
|
|
70
|
-
],
|
|
71
|
-
"devDependencies": {
|
|
72
|
-
"@babel/core": "^7.23.2",
|
|
73
|
-
"@babel/eslint-parser": "^7.21.8",
|
|
74
|
-
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
75
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
|
76
|
-
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
77
|
-
"@babel/plugin-transform-runtime": "^7.23.2",
|
|
78
|
-
"@babel/polyfill": "^7.10.4",
|
|
79
|
-
"@babel/preset-env": "^7.23.2",
|
|
80
|
-
"@babel/preset-react": "7.12.13",
|
|
81
|
-
"@chromatic-com/storybook": "^1.3.4",
|
|
82
|
-
"@originjs/vite-plugin-require-context": "^1.0.9",
|
|
83
|
-
"@rushstack/eslint-patch": "^1.3.0",
|
|
84
|
-
"@storybook/addon-a11y": "^8.0.10",
|
|
85
|
-
"@storybook/addon-essentials": "^8.0.10",
|
|
86
|
-
"@storybook/addon-interactions": "^8.0.10",
|
|
87
|
-
"@storybook/addon-links": "^8.0.10",
|
|
88
|
-
"@storybook/blocks": "8.0.10",
|
|
89
|
-
"@storybook/vue3": "^8.0.10",
|
|
90
|
-
"@storybook/vue3-vite": "^8.0.10",
|
|
91
|
-
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
92
|
-
"@typescript-eslint/parser": "^5.59.8",
|
|
93
|
-
"@vitejs/plugin-vue": "^5.0.4",
|
|
94
|
-
"@vue/eslint-config-airbnb": "^7.0.0",
|
|
95
|
-
"@vue/test-utils": "^2.3.2",
|
|
96
|
-
"@vue/vue3-jest": "^29.2.4",
|
|
97
|
-
"babel-jest": "^29.5.0",
|
|
98
|
-
"babel-loader": "^9.1.2",
|
|
99
|
-
"babel-plugin-macros": "^2.4.2",
|
|
100
|
-
"bootstrap": "^5.3.2",
|
|
101
|
-
"chromatic": "^6.17.3",
|
|
102
|
-
"clean-webpack-plugin": "^4.0.0",
|
|
103
|
-
"commitizen": "^4.3.0",
|
|
104
|
-
"cross-env": "^7.0.3",
|
|
105
|
-
"css-loader": "^6.7.3",
|
|
106
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
107
|
-
"dotenv-webpack": "^8.0.1",
|
|
108
|
-
"eslint": "^8.2.0",
|
|
109
|
-
"eslint-import-resolver-webpack": "^0.13.2",
|
|
110
|
-
"eslint-plugin-import": "^2.25.2",
|
|
111
|
-
"eslint-plugin-storybook": "^0.8.0",
|
|
112
|
-
"eslint-plugin-vue": "^9.11.1",
|
|
113
|
-
"eslint-webpack-plugin": "^4.0.1",
|
|
114
|
-
"file-loader": "^6.2.0",
|
|
115
|
-
"husky": "^8.0.3",
|
|
116
|
-
"jest": "^29.5.0",
|
|
117
|
-
"jest-axe": "^8.0.0",
|
|
118
|
-
"jest-environment-jsdom": "^29.5.0",
|
|
119
|
-
"jest-serializer-vue": "^3.1.0",
|
|
120
|
-
"lint-staged": "^15.2.2",
|
|
121
|
-
"mini-css-extract-plugin": "^2.7.5",
|
|
122
|
-
"moxios": "^0.4.0",
|
|
123
|
-
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
124
|
-
"node-sass": "^8.0.0",
|
|
125
|
-
"npm-run-all": "^4.1.5",
|
|
126
|
-
"optimist": "^0.6.1",
|
|
127
|
-
"path": "^0.12.7",
|
|
128
|
-
"postcss-safe-parser": "^6.0.0",
|
|
129
|
-
"prettier": "^3.2.5",
|
|
130
|
-
"require-context.macro": "^1.2.2",
|
|
131
|
-
"sass": "^1.62.1",
|
|
132
|
-
"sass-loader": "^13.2.2",
|
|
133
|
-
"speed-measure-webpack-plugin": "^1.5.0",
|
|
134
|
-
"standard-version": "^9.5.0",
|
|
135
|
-
"storybook": "^8.0.10",
|
|
136
|
-
"storybook-addon-datalayer-watcher": "^1.0.2",
|
|
137
|
-
"storybook-addon-mock": "^5.0.0",
|
|
138
|
-
"style-loader": "^3.3.2",
|
|
139
|
-
"svgo-loader": "^4.0.0",
|
|
140
|
-
"theo": "^8.1.5",
|
|
141
|
-
"time-analytics-webpack-plugin": "^0.1.20",
|
|
142
|
-
"ts-jest": "^29.1.0",
|
|
143
|
-
"ts-loader": "^9.4.3",
|
|
144
|
-
"typescript": "^5.0.4",
|
|
145
|
-
"upgrade": "^1.1.0",
|
|
146
|
-
"vite": "^5.2.10",
|
|
147
|
-
"vite-plugin-dts": "^3.7.2",
|
|
148
|
-
"vite-plugin-turbosnap": "^1.0.2",
|
|
149
|
-
"vue": "^3.4.19",
|
|
150
|
-
"vue-jest": "^5.0.0-alpha.10",
|
|
151
|
-
"vue-loader": "^17.1.0",
|
|
152
|
-
"vue-style-loader": "^4.1.3",
|
|
153
|
-
"webpack": "^5.81.0",
|
|
154
|
-
"webpack-cli": "^5.0.2",
|
|
155
|
-
"webpack-manifest-plugin": "^5.0.0",
|
|
156
|
-
"webpack-merge": "^5.1.4",
|
|
157
|
-
"webpack-node-externals": "^3.0.0"
|
|
158
|
-
},
|
|
159
|
-
"dependencies": {
|
|
160
|
-
"@mapbox/geojson-extent": "^1.0.1",
|
|
161
|
-
"@pinia/testing": "^0.1.3",
|
|
162
|
-
"@storybook/addon-a11y": "^7.5.3",
|
|
163
|
-
"@storybook/test": "^8.0.10",
|
|
164
|
-
"@vuelidate/core": "^2.0.2",
|
|
165
|
-
"@vuelidate/validators": "^2.0.2",
|
|
166
|
-
"axios": "^1.4.0",
|
|
167
|
-
"bootstrap-vue-next": "^0.
|
|
168
|
-
"glob": "^8.1.0",
|
|
169
|
-
"lodash": "^4.17.21",
|
|
170
|
-
"mapbox-gl": "^1.11.1",
|
|
171
|
-
"mitt": "^3.0.0",
|
|
172
|
-
"pinia": "^2.1.3",
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"vue": "^
|
|
176
|
-
"vue-
|
|
177
|
-
"vue-
|
|
178
|
-
"
|
|
179
|
-
"vue3-
|
|
180
|
-
"vue3-
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"webpack-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
"
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
"
|
|
198
|
-
"
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"not
|
|
202
|
-
"not
|
|
203
|
-
"not
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
"
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@visitscotland/component-library",
|
|
3
|
+
"version": "3.0.5",
|
|
4
|
+
"description": "VisitScotland Component Library",
|
|
5
|
+
"author": "VisitScotland",
|
|
6
|
+
"homepage": "https://github.com/visitscotland/vs-component-library#readme",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"require": "./dist/ssr/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./components": {
|
|
15
|
+
"import": "./dist/components/vs-component-library.mjs",
|
|
16
|
+
"require": "./dist/components/vs-component-library.umd.js",
|
|
17
|
+
"types": "./dist/components/component-entry.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./maps": {
|
|
20
|
+
"import": "./dist/components/maps.mjs"
|
|
21
|
+
},
|
|
22
|
+
"./components/style.css": "./dist/components/vs-component-library.css",
|
|
23
|
+
"./components/fonts.css": "./dist/components/fonts.css",
|
|
24
|
+
"./components/icons.css": "./dist/components/icons.css"
|
|
25
|
+
},
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"scripts": {
|
|
28
|
+
"storybook": "yarn theo && storybook dev -p 6006",
|
|
29
|
+
"build-storybook": "yarn theo && storybook build",
|
|
30
|
+
"build": "yarn theo && npm-run-all build:library build:ssr third-party build:vite-no-theo",
|
|
31
|
+
"build:dev": "yarn theo && npm-run-all build:library:dev build:ssr:dev third-party",
|
|
32
|
+
"build:library": "cross-env NODE_ENV=production webpack --config ./build/webpack.conf.js",
|
|
33
|
+
"build:library:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.conf.js",
|
|
34
|
+
"build:ssr": "cross-env NODE_ENV=production webpack --config ./build/webpack.ssr.conf.js",
|
|
35
|
+
"build:ssr:dev": "cross-env NODE_ENV=development webpack --config ./build/webpack.ssr.conf.js",
|
|
36
|
+
"build:vite": "yarn theo && vite build",
|
|
37
|
+
"build:vite-no-theo": "vite build",
|
|
38
|
+
"test": "yarn theo && jest --config ./test/unit/jest.conf.js",
|
|
39
|
+
"test:no-theo": "jest --config ./test/unit/jest.conf.js",
|
|
40
|
+
"lint": "eslint",
|
|
41
|
+
"lint:all": "yarn lint:src && yarn lint:build && yarn lint:stories",
|
|
42
|
+
"lint:src": "yarn lint \"src/**/*.{js,vue,ts}\"",
|
|
43
|
+
"lint:build": "yarn lint \"build/*.{js,vue,ts}\"",
|
|
44
|
+
"lint:stories": "yarn lint \"stories/**/*.{js,vue,ts}\"",
|
|
45
|
+
"lint:fix": "yarn lint \"src/**/*.{js,vue,ts}\" \"stories/**/*.js\" --fix",
|
|
46
|
+
"prettier": "prettier . --list-different",
|
|
47
|
+
"theo": "theo ./src/tokens/tokens.yml --transform web --format map.scss,scss,raw.json,json --dest ./src/assets/tokens",
|
|
48
|
+
"third-party": "webpack --config ./build/third-party.webpack.conf.js",
|
|
49
|
+
"commit": "cz",
|
|
50
|
+
"prepare": "husky install",
|
|
51
|
+
"prepublishOnly": "yarn build",
|
|
52
|
+
"release:patch": "standard-version --release-as patch",
|
|
53
|
+
"release:minor": "standard-version --release-as minor",
|
|
54
|
+
"release:major": "standard-version --release-as major"
|
|
55
|
+
},
|
|
56
|
+
"lint-staged": {
|
|
57
|
+
"*.{js,vue,ts}": "eslint"
|
|
58
|
+
},
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "https://github.com/visitscotland/vs-component-library.git"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"vue.js",
|
|
65
|
+
"visit scotland",
|
|
66
|
+
"vue",
|
|
67
|
+
"design system",
|
|
68
|
+
"design",
|
|
69
|
+
"system"
|
|
70
|
+
],
|
|
71
|
+
"devDependencies": {
|
|
72
|
+
"@babel/core": "^7.23.2",
|
|
73
|
+
"@babel/eslint-parser": "^7.21.8",
|
|
74
|
+
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
75
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
|
76
|
+
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
77
|
+
"@babel/plugin-transform-runtime": "^7.23.2",
|
|
78
|
+
"@babel/polyfill": "^7.10.4",
|
|
79
|
+
"@babel/preset-env": "^7.23.2",
|
|
80
|
+
"@babel/preset-react": "7.12.13",
|
|
81
|
+
"@chromatic-com/storybook": "^1.3.4",
|
|
82
|
+
"@originjs/vite-plugin-require-context": "^1.0.9",
|
|
83
|
+
"@rushstack/eslint-patch": "^1.3.0",
|
|
84
|
+
"@storybook/addon-a11y": "^8.0.10",
|
|
85
|
+
"@storybook/addon-essentials": "^8.0.10",
|
|
86
|
+
"@storybook/addon-interactions": "^8.0.10",
|
|
87
|
+
"@storybook/addon-links": "^8.0.10",
|
|
88
|
+
"@storybook/blocks": "8.0.10",
|
|
89
|
+
"@storybook/vue3": "^8.0.10",
|
|
90
|
+
"@storybook/vue3-vite": "^8.0.10",
|
|
91
|
+
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
92
|
+
"@typescript-eslint/parser": "^5.59.8",
|
|
93
|
+
"@vitejs/plugin-vue": "^5.0.4",
|
|
94
|
+
"@vue/eslint-config-airbnb": "^7.0.0",
|
|
95
|
+
"@vue/test-utils": "^2.3.2",
|
|
96
|
+
"@vue/vue3-jest": "^29.2.4",
|
|
97
|
+
"babel-jest": "^29.5.0",
|
|
98
|
+
"babel-loader": "^9.1.2",
|
|
99
|
+
"babel-plugin-macros": "^2.4.2",
|
|
100
|
+
"bootstrap": "^5.3.2",
|
|
101
|
+
"chromatic": "^6.17.3",
|
|
102
|
+
"clean-webpack-plugin": "^4.0.0",
|
|
103
|
+
"commitizen": "^4.3.0",
|
|
104
|
+
"cross-env": "^7.0.3",
|
|
105
|
+
"css-loader": "^6.7.3",
|
|
106
|
+
"cz-conventional-changelog": "^3.3.0",
|
|
107
|
+
"dotenv-webpack": "^8.0.1",
|
|
108
|
+
"eslint": "^8.2.0",
|
|
109
|
+
"eslint-import-resolver-webpack": "^0.13.2",
|
|
110
|
+
"eslint-plugin-import": "^2.25.2",
|
|
111
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
112
|
+
"eslint-plugin-vue": "^9.11.1",
|
|
113
|
+
"eslint-webpack-plugin": "^4.0.1",
|
|
114
|
+
"file-loader": "^6.2.0",
|
|
115
|
+
"husky": "^8.0.3",
|
|
116
|
+
"jest": "^29.5.0",
|
|
117
|
+
"jest-axe": "^8.0.0",
|
|
118
|
+
"jest-environment-jsdom": "^29.5.0",
|
|
119
|
+
"jest-serializer-vue": "^3.1.0",
|
|
120
|
+
"lint-staged": "^15.2.2",
|
|
121
|
+
"mini-css-extract-plugin": "^2.7.5",
|
|
122
|
+
"moxios": "^0.4.0",
|
|
123
|
+
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
124
|
+
"node-sass": "^8.0.0",
|
|
125
|
+
"npm-run-all": "^4.1.5",
|
|
126
|
+
"optimist": "^0.6.1",
|
|
127
|
+
"path": "^0.12.7",
|
|
128
|
+
"postcss-safe-parser": "^6.0.0",
|
|
129
|
+
"prettier": "^3.2.5",
|
|
130
|
+
"require-context.macro": "^1.2.2",
|
|
131
|
+
"sass": "^1.62.1",
|
|
132
|
+
"sass-loader": "^13.2.2",
|
|
133
|
+
"speed-measure-webpack-plugin": "^1.5.0",
|
|
134
|
+
"standard-version": "^9.5.0",
|
|
135
|
+
"storybook": "^8.0.10",
|
|
136
|
+
"storybook-addon-datalayer-watcher": "^1.0.2",
|
|
137
|
+
"storybook-addon-mock": "^5.0.0",
|
|
138
|
+
"style-loader": "^3.3.2",
|
|
139
|
+
"svgo-loader": "^4.0.0",
|
|
140
|
+
"theo": "^8.1.5",
|
|
141
|
+
"time-analytics-webpack-plugin": "^0.1.20",
|
|
142
|
+
"ts-jest": "^29.1.0",
|
|
143
|
+
"ts-loader": "^9.4.3",
|
|
144
|
+
"typescript": "^5.0.4",
|
|
145
|
+
"upgrade": "^1.1.0",
|
|
146
|
+
"vite": "^5.2.10",
|
|
147
|
+
"vite-plugin-dts": "^3.7.2",
|
|
148
|
+
"vite-plugin-turbosnap": "^1.0.2",
|
|
149
|
+
"vue": "^3.4.19",
|
|
150
|
+
"vue-jest": "^5.0.0-alpha.10",
|
|
151
|
+
"vue-loader": "^17.1.0",
|
|
152
|
+
"vue-style-loader": "^4.1.3",
|
|
153
|
+
"webpack": "^5.81.0",
|
|
154
|
+
"webpack-cli": "^5.0.2",
|
|
155
|
+
"webpack-manifest-plugin": "^5.0.0",
|
|
156
|
+
"webpack-merge": "^5.1.4",
|
|
157
|
+
"webpack-node-externals": "^3.0.0"
|
|
158
|
+
},
|
|
159
|
+
"dependencies": {
|
|
160
|
+
"@mapbox/geojson-extent": "^1.0.1",
|
|
161
|
+
"@pinia/testing": "^0.1.3",
|
|
162
|
+
"@storybook/addon-a11y": "^7.5.3",
|
|
163
|
+
"@storybook/test": "^8.0.10",
|
|
164
|
+
"@vuelidate/core": "^2.0.2",
|
|
165
|
+
"@vuelidate/validators": "^2.0.2",
|
|
166
|
+
"axios": "^1.4.0",
|
|
167
|
+
"bootstrap-vue-next": "^0.17.0",
|
|
168
|
+
"glob": "^8.1.0",
|
|
169
|
+
"lodash": "^4.17.21",
|
|
170
|
+
"mapbox-gl": "^1.11.1",
|
|
171
|
+
"mitt": "^3.0.0",
|
|
172
|
+
"pinia": "^2.1.3",
|
|
173
|
+
"vite": "^5.1.3",
|
|
174
|
+
"vue": "^3.3.4",
|
|
175
|
+
"vue-combo-blocks": "^2.1.1",
|
|
176
|
+
"vue-recaptcha": "^2.0.1",
|
|
177
|
+
"vue-youtube-vue-3": "^1.5.0",
|
|
178
|
+
"vue3-charts": "^1.1.33",
|
|
179
|
+
"vue3-lazy-hydration": "^1.2.1",
|
|
180
|
+
"vue3-simple-typeahead": "^1.0.11",
|
|
181
|
+
"vuelidate": "^0.7.7",
|
|
182
|
+
"vuex": "^4.1.0",
|
|
183
|
+
"webpack-merge": "^5.1.4",
|
|
184
|
+
"webpack-node-externals": "^3.0.0"
|
|
185
|
+
},
|
|
186
|
+
"peerDependencies": {
|
|
187
|
+
"@popperjs/core": "*",
|
|
188
|
+
"postcss": "*"
|
|
189
|
+
},
|
|
190
|
+
"engines": {
|
|
191
|
+
"node": ">= 16.20.0",
|
|
192
|
+
"npm": ">= 6.14.5",
|
|
193
|
+
"yarn": ">= 1.22.4"
|
|
194
|
+
},
|
|
195
|
+
"browserslist": [
|
|
196
|
+
"> 1%",
|
|
197
|
+
"last 2 versions",
|
|
198
|
+
"not Explorer > 0",
|
|
199
|
+
"IE 11",
|
|
200
|
+
"not ExplorerMobile > 0",
|
|
201
|
+
"not BlackBerry > 0",
|
|
202
|
+
"not OperaMini all",
|
|
203
|
+
"not OperaMobile > 0"
|
|
204
|
+
],
|
|
205
|
+
"jest": {
|
|
206
|
+
"testPathIgnorePatterns": [
|
|
207
|
+
".test",
|
|
208
|
+
"node_modules"
|
|
209
|
+
],
|
|
210
|
+
"jest.pathToJest": "node_modules/.bin/jest"
|
|
211
|
+
},
|
|
212
|
+
"config": {
|
|
213
|
+
"commitizen": {
|
|
214
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"bugs": {
|
|
218
|
+
"url": "https://github.com/visitscotland/vs-component-library/issues"
|
|
219
|
+
},
|
|
220
|
+
"resolutions": {
|
|
221
|
+
"minimist": "^0.2.4",
|
|
222
|
+
"json5": "^1.0.2",
|
|
223
|
+
"word-wrap": "^1.2.4",
|
|
224
|
+
"highlight.js": "^10.4.1",
|
|
225
|
+
"semver": "^7.5.4",
|
|
226
|
+
"get-func-name": "^2.0.1",
|
|
227
|
+
"svgo": "3.2.0"
|
|
228
|
+
},
|
|
229
|
+
"packageManager": "yarn@4.2.1"
|
|
230
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[2710],{79110:function(){},99750:function(t,n,o){"use strict";var e=o(34352),r=o(2543);n.A={name:"VsDropdown",status:"prototype",release:"0.0.1",components:{BDropdown:e.UV},props:{text:{type:String,default:""}},computed:{nonButtonContentSlots:function(){return(0,r.reject)(this.$slots,{name:"button-content"})}}}},92674:function(t,n,o){"use strict";o.d(n,{X:function(){return s}});var e=o(20641),r=o(90033);function s(t,n,o,s,u,c){var i=(0,e.g2)("BDropdown");return(0,e.uX)(),(0,e.Wv)(i,(0,e.v6)(t.$attrs,{variant:"primary",class:"vs-dropdown"}),(0,e.eX)({"button-content":(0,e.k6)((function(){return[(0,e.RG)(t.$slots,"button-content",{},(function(){return[(0,e.eW)((0,r.toDisplayString)(o.text),1)]}))]})),default:(0,e.k6)((function(){return[(0,e.RG)(t.$slots,"default")]})),_:2},[(0,e.pI)(c.nonButtonContentSlots,(function(n,o){return{name:o,fn:(0,e.k6)((function(){return[(0,e.RG)(t.$slots,o)]}))}}))]),1040)}},73464:function(t,n,o){"use strict";var e=o(85072),r=o.n(e),s=o(97825),u=o.n(s),c=o(77659),i=o.n(c),a=o(55056),l=o.n(a),f=o(10540),p=o.n(f),d=o(41113),v=o.n(d),m=o(79110),b=o.n(m),y={};y.styleTagTransform=v(),y.setAttributes=l(),y.insert=i().bind(null,"head"),y.domAPI=u(),y.insertStyleElement=p(),r()(b(),y),b()&&b().locals&&b().locals},62710:function(t,n,o){"use strict";o.r(n);var e=o(92674),r=o(45754);o(5124);const s=(0,o(66262).A)(r.A,[["render",e.X]]);n.default=s},45754:function(t,n,o){"use strict";o.d(n,{A:function(){return e.A}});var e=o(99750)},5124:function(t,n,o){"use strict";o(73464)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1371],{54374:function(){},10141:function(t,n,e){"use strict";var s=e(34352);n.A={name:"VsTableDataCell",status:"prototype",release:"0.0.1",components:{BTd:s.NC},props:{stackedHeading:{type:String,default:null}}}},51765:function(t,n,e){"use strict";e.d(n,{X:function(){return a}});var s=e(20641);function a(t,n,e,a,r,u){var c=(0,s.g2)("BTd");return(0,s.uX)(),(0,s.Wv)(c,(0,s.v6)({"data-test":"vs-table-data-cell","stacked-heading":e.stackedHeading},t.$attrs),{default:(0,s.k6)((function(){return[(0,s.RG)(t.$slots,"default")]})),_:3},16,["stacked-heading"])}},33531:function(t,n,e){"use strict";var s=e(85072),a=e.n(s),r=e(97825),u=e.n(r),c=e(77659),i=e.n(c),l=e(55056),o=e.n(l),d=e(10540),f=e.n(d),p=e(41113),v=e.n(p),k=e(54374),b=e.n(k),g={};g.styleTagTransform=v(),g.setAttributes=o(),g.insert=i().bind(null,"head"),g.domAPI=u(),g.insertStyleElement=f(),a()(b(),g),b()&&b().locals&&b().locals},51371:function(t,n,e){"use strict";e.r(n);var s=e(51765),a=e(40289);e(23199);const r=(0,e(66262).A)(a.A,[["render",s.X]]);n.default=r},40289:function(t,n,e){"use strict";e.d(n,{A:function(){return s.A}});var s=e(10141)},23199:function(t,n,e){"use strict";e(33531)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsForm=t():e.VsForm=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[1736],{91929:function(){},97272:function(e,t,n){"use strict";var i=n(64467),a=n(3453),r=n(34352),s=n(57536),o=n(88620),l=n(22142),d=n(51688),u=n(26358),f=n(88258),c=n(48836),g=n(13838),h=n(79122),m=n(98745);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.A={name:"VsForm",status:"prototype",release:"0.0.1",components:{VsInput:l.default,VsSelect:d.default,VsCheckbox:u.default,BFormGroup:r.a3,VsRecaptcha:f.default,VsButton:c.default,VsHeading:g.default,VsWarning:h.default},mixins:[m.default],props:{isMarketo:{type:Boolean,default:!0},submitUrl:{type:String,default:""},dataUrl:{type:String,required:!0},recaptchaKey:{type:String,default:(0,o.A)("RECAPTCHA_TOKEN")},recaptchaTextareaLabel:{type:String,default:"Does not need any text"},isProd:{type:Boolean,default:!1},munchkinId:{type:String,required:!0},marketoInstance:{type:String,required:!0},language:{type:String,default:"en"},messagingUrl:{type:String,required:!0},countryListUrl:{type:String,default:""},isTest:{type:Boolean,default:!0}},data:function(){return{submitted:!1,submitting:!1,submitError:!1,formData:{},messagingData:{},form:{},formIsInvalid:!1,showErrorMessage:!1,errorFields:[],triggerValidate:!1,recaptchaVerified:!1,conditionalFields:{},inputVal:"",reAlertErrors:!1}},computed:{formId:function(){return this.isProd?this.formData.formLiveId:this.formData.formSandboxId},showFormHeading:function(){return!this.isUndefined(this.getTranslatedContent)&&!this.isUndefined(this.getTranslatedContent("heading"))}},created:function(){this.getFormData(),this.getGlobalMessaging()},methods:{getFormData:function(){var e=this;s.A.get(this.dataUrl).then((function(t){e.formData=t.data,e.isMarketo&&window.MktoForms2&&window.MktoForms2.loadForm(e.marketoInstance,e.munchkinId,e.formId),t.data.fields.forEach((function(t){e.form[t.name]="",t.conditional&&(e.conditionalFields[t.name]=!1)}))})).catch((function(){}))},getGlobalMessaging:function(){var e=this;s.A.get(this.messagingUrl).then((function(t){e.messagingData=t.data})).catch((function(){}))},getLanguageObj:function(){return this.isUndefined(this.formData[this.language])?{}:this.formData[this.language]||void 0},getTranslatedLabel:function(e,t){var n=this.getLanguageObj(),i="";return i="en"===this.language||this.isUndefined(n[e])||this.isUndefined(n[e].label)?this.formData.fields[t].label:n[e].label,this.showOptionalText(this.formData.fields[t])&&!this.isUndefined(this.getMessagingData("optional",this.language))&&(i="".concat(i," (").concat(this.getMessagingData("optional",this.language),")")),i},getTranslatedLegend:function(e,t){var n=this.getLanguageObj();return"en"===this.language||this.isUndefined(n[e])||this.isUndefined(n[e].descriptor)?this.formData.fields[t].descriptor:n[e].descriptor},getTranslatedInfo:function(e,t){var n=this.getLanguageObj();return"en"===this.language||this.isUndefined(n[e])||this.isUndefined(n[e].info)?this.formData.fields[t].info:n[e].info},getTranslatedValidation:function(e,t){var n,i=this.getLanguageObj();return"en"!==this.language||this.isUndefined(this.formData.fields[t].validationMessages)?this.isUndefined(i[e])||this.isUndefined(i[e].validationMessages)?"en"===this.language&&(n=this.formData.fields[t].validationMessages):n=i[e].validationMessages:n=this.formData.fields[t].validationMessages,n},getTranslatedOptions:function(e,t){var n=this.getLanguageObj(),i=[];return void 0===(i="en"===this.language||this.isUndefined(n[e])||this.isUndefined([e].options)?this.formData.fields[t].options:n[e].options)&&(i=[]),i},getTranslatedHint:function(e,t){var n=this.getLanguageObj();return"en"===this.language||this.isUndefined(n[e])||this.isUndefined(n[e].hint)?this.isUndefined(this.formData.fields[t].hint)?"":this.formData.fields[t].hint:n[e].hint},getTranslatedContent:function(e){var t=this.getLanguageObj();return"en"!==this.language||this.isUndefined(this.formData.content)||this.isUndefined(this.formData.content[e])?this.isUndefined(t.content)||this.isUndefined(t.content[e])?this.getMessagingData(e,this.language):t.content[e]:this.formData.content[e]},getMessagingData:function(e,t){return Object.keys(this.messagingData).length>0?this.messagingData[t][e]:"validation"===e?{}:""},isUndefined:function(e){return void 0===e},updateFieldData:function(e){this.form[e.field]=e.value||"",Array.isArray(e.errors)?this.formIsInvalid=e.errors.length>0:this.formIsInvalid=null!==e.errors,this.manageErrorStatus(e.field,e.errors),this.checkConditionalFields()},manageErrorStatus:function(e,t){var n=this.errorFields.indexOf(e);-1!==n?(!t||t.length<1)&&this.errorFields.splice(n,1):t&&t.length>0&&this.errorFields.push(e)},showOptionalText:function(e){return!(!this.isUndefined(e.validation)&&!this.isUndefined(e.validation.required))},needsLabel:function(e){return"radio"!==e.element&&"submit"!==e.element&&"checkbox"!==e.element},preSubmit:function(e){var t=this;e.preventDefault(),this.isTest||this.onRecaptchaVerify(),this.triggerValidate=!0;var n=this.formData.fields.filter((function(e){return e.validation&&e.validation.required}));0===n.length?this.formIsInvalid=!1:n.forEach((function(e){""===t.form[e.name]&&(t.formIsInvalid=!0)})),this.showErrorMessage=this.formIsInvalid,Object.entries(this.conditionalFields).forEach((function(e){var n=(0,a.A)(e,2),i=n[0];n[1]||(t.form[i]="")})),this.errorFields.length>0&&(this.formIsInvalid=!0),!this.formIsInvalid&&this.recaptchaVerified?this.isMarketo?this.marketoSubmit():this.axiosSubmit():(this.showErrorMessage=!0,this.reAlertErrors=!0,setTimeout((function(){t.reAlertErrors=!1}),100))},marketoSubmit:function(){var e=this;this.createDataLayerObject("formsDataEvent");var t=window.MktoForms2.allForms()[0];t.addHiddenFields(this.form),window.grecaptcha&&t.addHiddenFields({lastReCAPTCHAUserFingerprint:window.grecaptcha.getResponse(),lastRecaptchaEnabledFormID:this.formId}),t.onSuccess((function(){return e.submitting=!1,e.submitted=!0,!1})),t.onSubmit((function(){e.submitting=!0})),t.submit()},axiosSubmit:function(){var e=this;this.submitting=!0;var t="";window.grecaptcha&&(t=window.grecaptcha.getResponse()),s.A.post(this.submitUrl,v(v({},this.form),{},{formType:this.formData.content?this.formData.content.formType:"","g-recaptcha-response":t})).then((function(){return e.submitting=!1,e.submitted=!0,!1})).catch((function(){}))},onRecaptchaVerify:function(){window.grecaptcha&&"function"==typeof window.grecaptcha.getResponse&&""!==window.grecaptcha.getResponse()?this.recaptchaVerified=!0:this.recaptchaVerified=!1},checkConditionalFields:function(){var e=this;Object.keys(this.conditionalFields).forEach((function(t){var n=e.formData.fields.find((function(e){return e.name===t})),i=!0;Object.keys(n.conditional).forEach((function(a){var r=n.conditional[a];Array.isArray(r)?-1===r.indexOf(e.form[a])&&(i=!1):e.form[a]!==r&&(i=!1),e.conditionalFields[t]=!!i}))}))},conditionalElementClass:function(e){return!0===this.conditionalFields[e]||void 0===this.conditionalFields[e]?"":"d-none"}}}},30809:function(e,t,n){"use strict";n.d(t,{X:function(){return h}});var i=n(20641),a=n(53751),r=n(90033),s={class:"vs-form","data-test":"vs-form"},o=(0,i.Lk)("form",{class:"d-none"},null,-1),l={class:"vs-form__main-heading vs-heading--style-level-2 float-none","data-test":"vs-form__main-heading"},d={key:0},u={"aria-live":"assertive"},f={key:0},c=["innerHTML"],g={key:2};function h(e,t,n,h,m,p){var v=(0,i.g2)("VsInput"),b=(0,i.g2)("VsSelect"),y=(0,i.g2)("VsCheckbox"),D=(0,i.g2)("BFormGroup"),k=(0,i.g2)("VsRecaptcha"),F=(0,i.g2)("VsButton"),O=(0,i.g2)("VsWarning"),T=(0,i.g2)("VsHeading");return(0,i.uX)(),(0,i.CE)("div",s,[o,m.submitted?(0,i.Q3)("",!0):((0,i.uX)(),(0,i.CE)("form",{key:0,onSubmit:t[0]||(t[0]=(0,a.withModifiers)((function(){return p.preSubmit&&p.preSubmit.apply(p,arguments)}),["prevent"]))},[(0,i.Lk)("fieldset",null,[(0,i.Lk)("legend",l,(0,r.toDisplayString)(p.getTranslatedContent("heading")),1),((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(m.formData.fields,(function(e,t){return(0,i.uX)(),(0,i.Wv)(D,{key:e.name,label:p.needsLabel(e)?p.getTranslatedLabel(e.name,t):"","label-for":p.needsLabel(e)?e.name:"",class:(0,r.normalizeClass)(p.conditionalElementClass(e.name))},{default:(0,i.k6)((function(){return[p.isUndefined(e.descriptor)||"checkbox"!==e.element?(0,i.Q3)("",!0):((0,i.uX)(),(0,i.CE)("legend",d,(0,r.toDisplayString)(p.getTranslatedLegend(e.name,t)),1)),(0,i.Lk)("div",{class:(0,r.normalizeClass)(p.conditionalElementClass(e.name))},["input"===e.element?((0,i.uX)(),(0,i.Wv)(v,{key:0,ref_for:!0,ref:e.name,onStatusUpdate:p.updateFieldData,"field-name":e.name,type:e.type,"validation-rules":e.validation||{},"validation-messages":p.getTranslatedValidation(e.name,t)||{},"generic-validation":p.getMessagingData("validation",n.language),invalid:m.errorFields.indexOf(e.name)>-1,"trigger-validate":m.triggerValidate,"hint-text":p.getTranslatedHint(e.name,t),placeholder:e.placeholder||"","re-alert-errors":m.reAlertErrors},null,8,["onStatusUpdate","field-name","type","validation-rules","validation-messages","generic-validation","invalid","trigger-validate","hint-text","placeholder","re-alert-errors"])):(0,i.Q3)("",!0),"select"===e.element?((0,i.uX)(),(0,i.Wv)(b,{key:1,options:p.getTranslatedOptions(e.name,t),ref_for:!0,ref:e.name,onStatusUpdate:p.updateFieldData,"field-name":e.name,"validation-rules":e.validation||{},"validation-messages":p.getTranslatedValidation(e.name,t)||{},"generic-validation":p.getMessagingData("validation",n.language),invalid:m.errorFields.indexOf(e.name)>-1,"trigger-validate":m.triggerValidate,"country-list-url":n.countryListUrl,countries:e.countries,"hint-text":p.getTranslatedHint(e.name,t),"re-alert-errors":m.reAlertErrors},null,8,["options","onStatusUpdate","field-name","validation-rules","validation-messages","generic-validation","invalid","trigger-validate","country-list-url","countries","hint-text","re-alert-errors"])):(0,i.Q3)("",!0),"checkbox"===e.element?((0,i.uX)(),(0,i.Wv)(y,{key:e.name,ref_for:!0,ref:e.name,name:e.name,value:e.value,label:p.getTranslatedLabel(e.name,t),onStatusUpdate:p.updateFieldData,"field-name":e.name,"validation-rules":e.validation||{},"validation-messages":p.getTranslatedValidation(e.name,t)||{},"generic-validation":p.getMessagingData("validation",n.language),invalid:m.errorFields.indexOf(e.name)>-1,"trigger-validate":m.triggerValidate,"optional-text":p.getMessagingData("optional",n.language),"hint-text":p.getTranslatedHint(e.name,t),"info-text":p.getTranslatedInfo(e.name,t),"re-alert-errors":m.reAlertErrors},null,8,["name","value","label","onStatusUpdate","field-name","validation-rules","validation-messages","generic-validation","invalid","trigger-validate","optional-text","hint-text","info-text","re-alert-errors"])):(0,i.Q3)("",!0)],2)]})),_:2},1032,["label","label-for","class"])})),128))]),(0,i.RG)(e.$slots,"hidden-fields"),(0,i.bF)(k,{onVerified:p.onRecaptchaVerify,"site-key":n.recaptchaKey,invalid:!m.recaptchaVerified&&m.showErrorMessage,language:n.language,"error-msg":p.getMessagingData("recaptchaError",n.language),class:"mt-9","textarea-label":n.recaptchaTextareaLabel,"re-alert-errors":m.reAlertErrors},null,8,["onVerified","site-key","invalid","language","error-msg","textarea-label","re-alert-errors"]),(0,i.bF)(F,{variant:"primary",type:"submit",class:"vs-form__submit mt-9",onClick:p.preSubmit},{default:(0,i.k6)((function(){return[(0,i.eW)((0,r.toDisplayString)(p.getTranslatedContent("submit")),1)]})),_:1},8,["onClick"])],32)),(0,i.bF)(O,{class:"vs-form__no-js"},{default:(0,i.k6)((function(){return[(0,i.RG)(e.$slots,"no-js")]})),_:3}),(0,i.Lk)("div",u,[m.submitting?((0,i.uX)(),(0,i.CE)("p",f,[(0,i.RG)(e.$slots,"submitting")])):(0,i.Q3)("",!0),m.submitted?((0,i.uX)(),(0,i.CE)(i.FK,{key:1},[p.getTranslatedContent("successHeading")?((0,i.uX)(),(0,i.Wv)(T,{key:0,level:"2"},{default:(0,i.k6)((function(){return[(0,i.eW)((0,r.toDisplayString)(p.getTranslatedContent("successHeading")),1)]})),_:1})):(0,i.Q3)("",!0),(0,i.Lk)("p",{class:"vs-form__content",innerHTML:p.getTranslatedContent("successContent")},null,8,c)],64)):(0,i.Q3)("",!0),m.submitError?((0,i.uX)(),(0,i.CE)("p",g,[(0,i.RG)(e.$slots,"submit-error")])):(0,i.Q3)("",!0)])])}},4131:function(e,t,n){"use strict";var i=n(85072),a=n.n(i),r=n(97825),s=n.n(r),o=n(77659),l=n.n(o),d=n(55056),u=n.n(d),f=n(10540),c=n.n(f),g=n(41113),h=n.n(g),m=n(91929),p=n.n(m),v={};v.styleTagTransform=h(),v.setAttributes=u(),v.insert=l().bind(null,"head"),v.domAPI=s(),v.insertStyleElement=c(),a()(p(),v),p()&&p().locals&&p().locals},19464:function(e,t,n){"use strict";n.r(t);var i=n(38025),a=n(18668);n(24903);const r=(0,n(66262).A)(a.A,[["render",i.X]]);t.default=r},18668:function(e,t,n){"use strict";n.d(t,{A:function(){return i.A}});var i=n(97272)},38025:function(e,t,n){"use strict";n.d(t,{X:function(){return i.X}});var i=n(30809)},24903:function(e,t,n){"use strict";n(4131)}},function(e){return e.O(0,[641,6262,7510,3751,4352,4467,7527,8086,810,2543,3453,281,7536,7171,6422,8745,8836,3838,9122,4282,2142,1688,6358,8258],(function(){return 19464,e(e.s=19464)})),e.O()}])}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsMegaNav=t():e.VsMegaNav=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[823],{42228:function(){},86309:function(e,t,n){"use strict";var o=n(11438),s=n(47553),a=n(61718),i=n(4953),l=n(48836),u=n(57033),r=n(12152),c=n(34982),g=n(80617),d=n(98745);t.A={name:"VsMegaNav",status:"prototype",release:"0.1.0",components:{VsCol:o.Il,VsRow:o.AQ,VsContainer:o.T$,VsSvgLink:s.default,VsMegaNavTopMenu:a.default,VsMegaNavMobileMenu:i.default,VsSiteSearch:u.default,VsSiteSearchForm:r.default,VsButton:l.default},directives:{clickOutside:g.A},mixins:[d.default],props:{href:{type:String,required:!0},menuToggleAltText:{type:String,required:!0},logoAltText:{type:String,default:"VisitScotland Home"},searchButtonText:{type:String,required:!0},searchLabelText:{type:String,default:"What are you looking for?"},searchClearButtonText:{type:String,default:"Clear form"},searchCloseButtonText:{type:String,default:"Close search form"},noSearch:{type:Boolean,default:!1}},data:function(){return{isOpen:!1,showSearch:!1,tokens:c}},mounted:function(){this.addTabClose()},methods:{menuToggle:function(){this.isOpen=!this.isOpen},toggleSearch:function(){this.showSearch=!this.showSearch},closeMenu:function(e){var t=document.getElementsByClassName("vs-mega-nav__menu-mobile")[0];this.isOpen&&!t.contains(e.target)&&(this.isOpen=!1)},addTabClose:function(){var e=this;document.body.addEventListener("focusin",(function(t){e.isOpen&&(t.target.closest("#vs-mega-nav__menu-mobile")||(e.isOpen=!1))}))}}}},85904:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});var o=n(20641),s=n(90033),a=n(53751),i={class:"vs-mega-nav bg-white","aria-label":"main nav","data-test":"vs-mega-nav",id:"main-nav"},l={class:"vs-mega-nav__menu-mobile d-lg-none",id:"vs-mega-nav__menu-mobile","data-test":"vs-mega-nav-mobile-container"},u={class:"visually-hidden"};function r(e,t,n,r,c,g){var d=(0,o.g2)("VsSvgLink"),f=(0,o.g2)("VsCol"),v=(0,o.g2)("VsMegaNavTopMenu"),m=(0,o.g2)("VsSiteSearch"),h=(0,o.g2)("VsButton"),b=(0,o.g2)("VsMegaNavMobileMenu"),p=(0,o.g2)("VsRow"),k=(0,o.g2)("VsContainer"),S=(0,o.g2)("VsSiteSearchForm"),_=(0,o.gN)("click-outside");return(0,o.uX)(),(0,o.CE)("div",null,[(0,o.Lk)("nav",i,[(0,o.bF)(k,{fluid:"lg",class:"h-100"},{default:(0,o.k6)((function(){return[(0,o.bF)(p,{class:"align-items-center h-100"},{default:(0,o.k6)((function(){return[(0,o.bF)(f,{cols:"8",md:"4",lg:"3"},{default:(0,o.k6)((function(){return[(0,o.Lk)("div",null,[(0,o.bF)(d,{class:"vs-mega-nav__logo","data-test":"vs-mega-nav__logo","link-alt-text":n.logoAltText,href:n.href,"svg-fill":c.tokens["vs-color-brand"],"svg-path":"visitscotland-logo","data-layer-value":"homePageLogoClickDataEvent"},null,8,["link-alt-text","href","svg-fill"])])]})),_:1}),(0,o.bF)(f,{cols:"4",md:"6",lg:n.noSearch?9:7,class:"vs-mega-nav__menu d-none d-lg-block"},{default:(0,o.k6)((function(){return[(0,o.bF)(v,null,{default:(0,o.k6)((function(){return[(0,o.RG)(e.$slots,"mega-nav-top-menu-items")]})),_:3})]})),_:3},8,["lg"]),(0,o.bF)(f,{cols:"4",md:"8",lg:"2",class:"justify-content-end align-items-center position-static d-flex h-100"},{default:(0,o.k6)((function(){return[n.noSearch?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.Wv)(m,{key:0,onToggleAction:g.toggleSearch,"is-showing":c.showSearch},{default:(0,o.k6)((function(){return[(0,o.eW)((0,s.toDisplayString)(n.searchButtonText),1)]})),_:1},8,["onToggleAction","is-showing"])),(0,o.Lk)("div",l,[(0,o.bF)(h,{class:"vs-mega-nav__mobile-menu-toggle p-0","icon-only":"",icon:c.isOpen?"close":"bars-mobile-menu",variant:"transparent",onClick:t[0]||(t[0]=function(e){return g.menuToggle()}),ref:"toggleButton","aria-haspopup":"true"},{default:(0,o.k6)((function(){return[(0,o.Lk)("span",u,(0,s.toDisplayString)(n.menuToggleAltText),1)]})),_:1},8,["icon"]),c.isOpen?(0,o.bo)(((0,o.uX)(),(0,o.Wv)(b,{key:0},{default:(0,o.k6)((function(){return[(0,o.RG)(e.$slots,"mega-nav-accordion-items")]})),_:3})),[[_,g.closeMenu]]):(0,o.Q3)("",!0)])]})),_:3})]})),_:3})]})),_:3})]),(0,o.bo)((0,o.bF)(S,{onToggleAction:g.toggleSearch,"is-showing":c.showSearch,"label-text":n.searchLabelText,"submit-button-text":n.searchButtonText,"clear-button-text":n.searchClearButtonText,"close-button-text":n.searchCloseButtonText},null,8,["onToggleAction","is-showing","label-text","submit-button-text","clear-button-text","close-button-text"]),[[a.vShow,c.showSearch]])])}},80617:function(e,t){"use strict";var n={mounted:function(e,t){e.clickOutsideEvent=function(n){e===n.target||e.contains(n.target)||t.value(n)},document.body.addEventListener("click",e.clickOutsideEvent)},unmounted:function(e){document.body.removeEventListener("click",e.clickOutsideEvent)}};t.A=n},21326:function(e,t,n){"use strict";var o=n(85072),s=n.n(o),a=n(97825),i=n.n(a),l=n(77659),u=n.n(l),r=n(55056),c=n.n(r),g=n(10540),d=n.n(g),f=n(41113),v=n.n(f),m=n(42228),h=n.n(m),b={};b.styleTagTransform=v(),b.setAttributes=c(),b.insert=u().bind(null,"head"),b.domAPI=i(),b.insertStyleElement=d(),s()(h(),b),h()&&h().locals&&h().locals},77311:function(e,t,n){"use strict";n.r(t);var o=n(67776),s=n(16649);n(45898);const a=(0,n(66262).A)(s.A,[["render",o.X]]);t.default=a},16649:function(e,t,n){"use strict";n.d(t,{A:function(){return o.A}});var o=n(86309)},67776:function(e,t,n){"use strict";n.d(t,{X:function(){return o.X}});var o=n(85904)},45898:function(e,t,n){"use strict";n(21326)}},function(e){return e.O(0,[641,6262,7510,3751,4352,4467,7527,8086,810,2543,3453,281,6422,8745,8836,8638,2368,7521,1438,5676,4282,4448,2142,6494,4982,7553,2152,7033,4953,1718],(function(){return 77311,e(e.s=77311)})),e.O()}])}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[3130],{15180:function(n,t,r){var o=r(34352);t.A={name:"VsDropdownItem",status:"prototype",release:"0.0.1",components:{BDropdownItem:o.H_}}},59982:function(n,t,r){r.d(t,{X:function(){return u}});var o=r(20641),e=r(90033);function u(n,t,r,u,a,s){var c=(0,o.g2)("BDropdownItem");return(0,o.uX)(),(0,o.Wv)(c,(0,e.normalizeProps)((0,o.Ng)(n.$attrs)),{default:(0,o.k6)((function(){return[(0,o.RG)(n.$slots,"default")]})),_:3},16)}},83130:function(n,t,r){r.r(t);var o=r(59982),e=r(68064);const u=(0,r(66262).A)(e.A,[["render",o.X]]);t.default=u},68064:function(n,t,r){r.d(t,{A:function(){return o.A}});var o=r(15180)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[2831],{22831:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return a.default}});var r=s(n(13518)),u=s(n(14948)),o=s(n(45073)),f=s(n(77186)),l=s(n(14808)),a=s(n(7775)),d=s(n(37037)),i=s(n(49910)),c=s(n(96792));function s(e){return e&&e.__esModule?e:{default:e}}},22311:function(e,t){function n(e){return 14+(e+64>>>9<<4)+1}function r(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function u(e,t,n,u,o,f){return r((l=r(r(t,e),r(u,f)))<<(a=o)|l>>>32-a,n);var l,a}function o(e,t,n,r,o,f,l){return u(t&n|~t&r,e,t,o,f,l)}function f(e,t,n,r,o,f,l){return u(t&r|n&~r,e,t,o,f,l)}function l(e,t,n,r,o,f,l){return u(t^n^r,e,t,o,f,l)}function a(e,t,n,r,o,f,l){return u(n^(t|~r),e,t,o,f,l)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){const t=[],n=32*e.length,r="0123456789abcdef";for(let u=0;u<n;u+=8){const n=e[u>>5]>>>u%32&255,o=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;let u=1732584193,d=-271733879,i=-1732584194,c=271733878;for(let t=0;t<e.length;t+=16){const n=u,s=d,p=i,v=c;u=o(u,d,i,c,e[t],7,-680876936),c=o(c,u,d,i,e[t+1],12,-389564586),i=o(i,c,u,d,e[t+2],17,606105819),d=o(d,i,c,u,e[t+3],22,-1044525330),u=o(u,d,i,c,e[t+4],7,-176418897),c=o(c,u,d,i,e[t+5],12,1200080426),i=o(i,c,u,d,e[t+6],17,-1473231341),d=o(d,i,c,u,e[t+7],22,-45705983),u=o(u,d,i,c,e[t+8],7,1770035416),c=o(c,u,d,i,e[t+9],12,-1958414417),i=o(i,c,u,d,e[t+10],17,-42063),d=o(d,i,c,u,e[t+11],22,-1990404162),u=o(u,d,i,c,e[t+12],7,1804603682),c=o(c,u,d,i,e[t+13],12,-40341101),i=o(i,c,u,d,e[t+14],17,-1502002290),d=o(d,i,c,u,e[t+15],22,1236535329),u=f(u,d,i,c,e[t+1],5,-165796510),c=f(c,u,d,i,e[t+6],9,-1069501632),i=f(i,c,u,d,e[t+11],14,643717713),d=f(d,i,c,u,e[t],20,-373897302),u=f(u,d,i,c,e[t+5],5,-701558691),c=f(c,u,d,i,e[t+10],9,38016083),i=f(i,c,u,d,e[t+15],14,-660478335),d=f(d,i,c,u,e[t+4],20,-405537848),u=f(u,d,i,c,e[t+9],5,568446438),c=f(c,u,d,i,e[t+14],9,-1019803690),i=f(i,c,u,d,e[t+3],14,-187363961),d=f(d,i,c,u,e[t+8],20,1163531501),u=f(u,d,i,c,e[t+13],5,-1444681467),c=f(c,u,d,i,e[t+2],9,-51403784),i=f(i,c,u,d,e[t+7],14,1735328473),d=f(d,i,c,u,e[t+12],20,-1926607734),u=l(u,d,i,c,e[t+5],4,-378558),c=l(c,u,d,i,e[t+8],11,-2022574463),i=l(i,c,u,d,e[t+11],16,1839030562),d=l(d,i,c,u,e[t+14],23,-35309556),u=l(u,d,i,c,e[t+1],4,-1530992060),c=l(c,u,d,i,e[t+4],11,1272893353),i=l(i,c,u,d,e[t+7],16,-155497632),d=l(d,i,c,u,e[t+10],23,-1094730640),u=l(u,d,i,c,e[t+13],4,681279174),c=l(c,u,d,i,e[t],11,-358537222),i=l(i,c,u,d,e[t+3],16,-722521979),d=l(d,i,c,u,e[t+6],23,76029189),u=l(u,d,i,c,e[t+9],4,-640364487),c=l(c,u,d,i,e[t+12],11,-421815835),i=l(i,c,u,d,e[t+15],16,530742520),d=l(d,i,c,u,e[t+2],23,-995338651),u=a(u,d,i,c,e[t],6,-198630844),c=a(c,u,d,i,e[t+7],10,1126891415),i=a(i,c,u,d,e[t+14],15,-1416354905),d=a(d,i,c,u,e[t+5],21,-57434055),u=a(u,d,i,c,e[t+12],6,1700485571),c=a(c,u,d,i,e[t+3],10,-1894986606),i=a(i,c,u,d,e[t+10],15,-1051523),d=a(d,i,c,u,e[t+1],21,-2054922799),u=a(u,d,i,c,e[t+8],6,1873313359),c=a(c,u,d,i,e[t+15],10,-30611744),i=a(i,c,u,d,e[t+6],15,-1560198380),d=a(d,i,c,u,e[t+13],21,1309151649),u=a(u,d,i,c,e[t+4],6,-145523070),c=a(c,u,d,i,e[t+11],10,-1120210379),i=a(i,c,u,d,e[t+2],15,718787259),d=a(d,i,c,u,e[t+9],21,-343485551),u=r(u,n),d=r(d,s),i=r(i,p),c=r(c,v)}return[u,d,i,c]}(function(e){if(0===e.length)return[];const t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))}},46140:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};t.default=n},14808:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default="00000000-0000-0000-0000-000000000000"},96792:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,u=(r=n(37037))&&r.__esModule?r:{default:r};t.default=function(e){if(!(0,u.default)(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}},27656:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},2858:function(e,t){let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)};const r=new Uint8Array(16)},9042:function(e,t){function n(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function r(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],u=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,f=Math.ceil(o/16),l=new Array(f);for(let t=0;t<f;++t){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];l[t]=n}l[f-1][14]=8*(e.length-1)/Math.pow(2,32),l[f-1][14]=Math.floor(l[f-1][14]),l[f-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<f;++e){const o=new Uint32Array(80);for(let t=0;t<16;++t)o[t]=l[e][t];for(let e=16;e<80;++e)o[e]=r(o[e-3]^o[e-8]^o[e-14]^o[e-16],1);let f=u[0],a=u[1],d=u[2],i=u[3],c=u[4];for(let e=0;e<80;++e){const u=Math.floor(e/20),l=r(f,5)+n(u,a,d,i)+c+t[u]+o[e]>>>0;c=i,i=d,d=r(a,30)>>>0,a=f,f=l}u[0]=u[0]+f>>>0,u[1]=u[1]+a>>>0,u[2]=u[2]+d>>>0,u[3]=u[3]+i>>>0,u[4]=u[4]+c>>>0}return[u[0]>>24&255,u[0]>>16&255,u[0]>>8&255,255&u[0],u[1]>>24&255,u[1]>>16&255,u[1]>>8&255,255&u[1],u[2]>>24&255,u[2]>>16&255,u[2]>>8&255,255&u[2],u[3]>>24&255,u[3]>>16&255,u[3]>>8&255,255&u[3],u[4]>>24&255,u[4]>>16&255,u[4]>>8&255,255&u[4]]}},49910:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=f;var r,u=(r=n(37037))&&r.__esModule?r:{default:r};const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function f(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}t.default=function(e,t=0){const n=f(e,t);if(!(0,u.default)(n))throw TypeError("Stringified UUID is invalid");return n}},13518:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,u=(r=n(2858))&&r.__esModule?r:{default:r},o=n(49910);let f,l,a=0,d=0;t.default=function(e,t,n){let r=t&&n||0;const i=t||new Array(16);let c=(e=e||{}).node||f,s=void 0!==e.clockseq?e.clockseq:l;if(null==c||null==s){const t=e.random||(e.rng||u.default)();null==c&&(c=f=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==s&&(s=l=16383&(t[6]<<8|t[7]))}let p=void 0!==e.msecs?e.msecs:Date.now(),v=void 0!==e.nsecs?e.nsecs:d+1;const y=p-a+(v-d)/1e4;if(y<0&&void 0===e.clockseq&&(s=s+1&16383),(y<0||p>a)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=p,d=v,l=s,p+=122192928e5;const _=(1e4*(268435455&p)+v)%4294967296;i[r++]=_>>>24&255,i[r++]=_>>>16&255,i[r++]=_>>>8&255,i[r++]=255&_;const b=p/4294967296*1e4&268435455;i[r++]=b>>>8&255,i[r++]=255&b,i[r++]=b>>>24&15|16,i[r++]=b>>>16&255,i[r++]=s>>>8|128,i[r++]=255&s;for(let e=0;e<6;++e)i[r+e]=c[e];return t||(0,o.unsafeStringify)(i)}},14948:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(59025)),u=o(n(22311));function o(e){return e&&e.__esModule?e:{default:e}}var f=(0,r.default)("v3",48,u.default);t.default=f},59025:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,n){function r(e,r,f,l){var a;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=(0,o.default)(r)),16!==(null===(a=r)||void 0===a?void 0:a.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let d=new Uint8Array(16+e.length);if(d.set(r),d.set(e,r.length),d=n(d),d[6]=15&d[6]|t,d[8]=63&d[8]|128,f){l=l||0;for(let e=0;e<16;++e)f[l+e]=d[e];return f}return(0,u.unsafeStringify)(d)}try{r.name=e}catch(e){}return r.DNS=f,r.URL=l,r};var r,u=n(49910),o=(r=n(96792))&&r.__esModule?r:{default:r};const f="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=f;const l="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=l},45073:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(46140)),u=f(n(2858)),o=n(49910);function f(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,n){if(r.default.randomUUID&&!t&&!e)return r.default.randomUUID();const f=(e=e||{}).random||(e.rng||u.default)();if(f[6]=15&f[6]|64,f[8]=63&f[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=f[e];return t}return(0,o.unsafeStringify)(f)}},77186:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(59025)),u=o(n(9042));function o(e){return e&&e.__esModule?e:{default:e}}var f=(0,r.default)("v5",80,u.default);t.default=f},37037:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,u=(r=n(27656))&&r.__esModule?r:{default:r};t.default=function(e){return"string"==typeof e&&u.default.test(e)}},7775:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,u=(r=n(37037))&&r.__esModule?r:{default:r};t.default=function(e){if(!(0,u.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[681],{1975:function(){},57255:function(e,t,r){"use strict";var i=r(64467),n=r(10810),a=r(79920),s=r(32536);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){(0,i.A)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var u=null;t.A={name:"VsMapMarker",status:"prototype",release:"0.0.1",components:{VsMapMarkerIcon:s.default},props:{feature:{type:Object,required:!0},mapId:{type:String,required:!0},hasPopups:{type:Boolean,required:!0},selectedPlace:{type:String,default:null}},emits:["showDetail","setCategory"],setup:function(){u=(0,a.A)()},computed:o(o({isActive:function(){return!(!this.activePlace||!this.activePlace.properties||this.activePlace.properties.id!==this.feature.properties.id)||!(!this.highlightedPlace||!this.highlightedPlace.properties||this.highlightedPlace.properties.id!==this.feature.properties.id)}},(0,n.aH)(a.A,{highlightedPlace:function(e){return e.getHoveredStop(this.mapId)},activePlace:function(e){return e.getActivePlace(this.mapId)?e.getActivePlace(this.mapId):""},activeSubcat:function(e){return e.selectedSubCategory}})),{},{getMarkerIcon:function(){var e;return"null"===(e=""!==this.feature.properties.type?this.feature.properties.type:null!==this.activeSubcat?this.activeSubcat:"featured")&&(e=""),e}}),watch:{isActive:function(){return!!(this.activePlace&&this.activePlace.properties.id===this.feature.properties.id||this.highlightedPlace&&this.highlightedPlace.properties.id===this.feature.properties.id)||(this.activePlace&&this.activePlace.properties.id===this.feature.properties.id&&u.setActiveMarkerPos(this.feature.geometry.coordinates),!1)},activePlace:function(){this.activePlace&&this.activePlace.properties.id===this.feature.properties.id&&u.setActiveMarkerPos(this.feature.geometry.coordinates)}},mounted:function(){this.hasPopups&&document.body.addEventListener("click",this.handleClickEvent)},beforeUnmount:function(){document.body.removeEventListener("click",this.handleClickEvent)},methods:{markerClick:function(){u.setActiveMarkerPos(this.feature.geometry.coordinates),u.setActivePlace({mapId:this.mapId,activeFeature:this.feature}),this.$emit("showDetail",this.feature),this.$emit("setCategory",this.feature.properties.type)},handleHover:function(e){u.setHoveredPlace({mapId:this.mapId,hoveredFeature:e})},handleClickEvent:function(e){var t=document.getElementsByClassName("mapboxgl-canvas");e.target===t[0]&&u.setActivePlace({mapId:this.mapId,activeFeature:null})}}}},68187:function(e,t,r){"use strict";r.d(t,{X:function(){return s}});var i=r(20641),n=r(90033),a=r(53751);function s(e,t,r,s,c,o){var u=(0,i.g2)("VsMapMarkerIcon");return(0,i.uX)(),(0,i.CE)("button",{type:"button",class:(0,n.normalizeClass)(["vs-map-marker",o.isActive?"vs-map-marker--active":""]),"data-test":"vs-map-marker",variant:"transparent",onClick:t[0]||(t[0]=function(){return o.markerClick&&o.markerClick.apply(o,arguments)}),onKeydown:t[1]||(t[1]=(0,a.withKeys)((function(){return o.markerClick&&o.markerClick.apply(o,arguments)}),["enter"])),onMouseover:t[2]||(t[2]=function(e){return o.handleHover(r.feature)}),onMouseleave:t[3]||(t[3]=function(e){return o.handleHover("")}),onFocusin:t[4]||(t[4]=function(e){return o.handleHover(r.feature)}),onFocusout:t[5]||(t[5]=function(e){return o.handleHover("")})},[(0,i.bF)(u,{id:o.getMarkerIcon,"is-map-marker":!0,number:r.feature.properties.stopCount?r.feature.properties.stopCount:""},null,8,["id","number"])],34)}},57309:function(e,t,r){"use strict";var i=r(85072),n=r.n(i),a=r(97825),s=r.n(a),c=r(77659),o=r.n(c),u=r(55056),p=r.n(u),l=r(10540),h=r.n(l),d=r(41113),f=r.n(d),v=r(1975),m=r.n(v),g={};g.styleTagTransform=f(),g.setAttributes=p(),g.insert=o().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=h(),n()(m(),g),m()&&m().locals&&m().locals},30681:function(e,t,r){"use strict";r.r(t);var i=r(68187),n=r(4243);r(11753);const a=(0,r(66262).A)(n.A,[["render",i.X]]);t.default=a},4243:function(e,t,r){"use strict";r.d(t,{A:function(){return i.A}});var i=r(57255)},11753:function(e,t,r){"use strict";r(57309)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VsSocialShare=t():e.VsSocialShare=t()}(self,(function(){return(self.webpackChunk_visitscotland_component_library=self.webpackChunk_visitscotland_component_library||[]).push([[6680],{90268:function(){},72799:function(e,t,n){"use strict";var o=n(48836),r=n(13838),s=n(34179),i=n(11438),a=n(34352);t.A={name:"VsSocialShare",status:"prototype",release:"0.0.1",components:{VsButton:o.default,VsHeading:r.default,VsModuleWrapper:s.default,BPopover:a.u$,VsRow:i.AQ,VsContainer:i.T$,VsCol:i.Il},provide:function(){return{referringPageUrl:this.pageUrl,pageTitle:this.pageTitle,noJs:this.noJs}},props:{shareBtnText:{type:String,required:!0},sharePopoverTitle:{type:String,required:!0},pageUrl:{type:String,required:!0},pageTitle:{type:String,default:""},closeAltText:{type:String,required:!0},id:{type:String,required:!0},noJs:{type:Boolean,default:!1}},data:function(){return{copyLink:!1,renderPopover:!1}},mounted:function(){this.renderPopover=!0},methods:{onClose:function(e){this.$refs.popover.hideFn(e)},onShown:function(){this.focusFirst()},onHidden:function(){this.focusRef(this.$refs.shareButton)},onHide:function(e){this.copyLink&&(e.preventDefault(),this.focusFirst(),this.copyLink=!1)},onCopyLink:function(){this.copyLink=!0},focusRef:function(e){var t=this;this.$nextTick((function(){t.$nextTick((function(){(e.$el||e).focus()}))}))},focusFirst:function(){var e=this;this.$nextTick((function(){e.$nextTick((function(){e.$refs.popoverShareRow.$el.querySelector(".vs-social-share-item a ").focus()}))}))},tabFromClose:function(e){e.shiftKey||(e.preventDefault(),this.focusFirst())},tabBackFromHidden:function(e){e.shiftKey&&(e.preventDefault(),this.focusRef(this.$refs.closeButton))}}}},89140:function(e,t,n){"use strict";n.d(t,{X:function(){return a}});var o=n(20641),r=n(90033),s=n(53751),i={class:"visually-hidden"};function a(e,t,n,a,u,c){var l=(0,o.g2)("VsButton"),f=(0,o.g2)("VsHeading"),d=(0,o.g2)("VsRow"),p=(0,o.g2)("BPopover"),h=(0,o.g2)("VsCol"),v=(0,o.g2)("VsContainer"),y=(0,o.g2)("VsModuleWrapper");return(0,o.uX)(),(0,o.CE)("div",{class:(0,r.normalizeClass)(["vs-social-share",n.noJs?"vs-module-wrapper__outer--hidden":"vs-module-wrapper__outer--light"]),"data-test":"vs-social-share",ref:"socialShareContainer"},[n.noJs?(0,o.Q3)("",!0):((0,o.uX)(),(0,o.Wv)(l,{key:0,"icon-with-text":"",class:"vs-social-share__share-btn",variant:"transparent",icon:"share",id:"vs-social-share-popover--".concat(n.id),ref:"shareButton"},{default:(0,o.k6)((function(){return[(0,o.eW)((0,r.toDisplayString)(n.shareBtnText),1)]})),_:1},8,["id"])),!n.noJs&&u.renderPopover?((0,o.uX)(),(0,o.Wv)(p,{key:1,"custom-class":"vs-social-share__popover",target:"vs-social-share-popover--".concat(n.id),click:!0,container:"body",placement:"left-end",onShown:c.onShown,onHidden:c.onHidden,onHide:c.onHide,ref:"popover"},{default:(0,o.k6)((function(){return[(0,o.bF)(f,{thin:"",level:"3",tabindex:"0",ref:"shareHeader",class:"vs-social-share__header",onKeydown:t[0]||(t[0]=(0,s.withKeys)((function(e){return c.tabBackFromHidden(e)}),["tab"]))},{default:(0,o.k6)((function(){return[(0,o.eW)((0,r.toDisplayString)(n.sharePopoverTitle),1)]})),_:1},512),(0,o.bF)(d,{ref:"popoverShareRow"},{default:(0,o.k6)((function(){return[(0,o.RG)(e.$slots,"default",{onCopyLink:c.onCopyLink})]})),_:3},512),(0,o.bF)(l,{"icon-only":"",class:"vs-social-share__close-btn",icon:"close",size:"lg",variant:"transparent",ref:"closeButton",onClick:c.onClose,onKeydown:t[1]||(t[1]=(0,s.withKeys)((function(e){return c.tabFromClose(e)}),["tab"]))},{default:(0,o.k6)((function(){return[(0,o.Lk)("span",i,(0,r.toDisplayString)(n.closeAltText),1)]})),_:1},8,["onClick"])]})),_:3},8,["target","onShown","onHidden","onHide"])):(0,o.Q3)("",!0),n.noJs?((0,o.uX)(),(0,o.Wv)(y,{key:2,class:"vs-social-share--module-list"},{default:(0,o.k6)((function(){return[(0,o.bF)(v,null,{default:(0,o.k6)((function(){return[(0,o.bF)(d,null,{default:(0,o.k6)((function(){return[(0,o.bF)(h,{cols:"12"},{default:(0,o.k6)((function(){return[(0,o.bF)(f,{thin:"",level:"2","override-style-level":"3",class:"mb-9 mt-0"},{default:(0,o.k6)((function(){return[(0,o.eW)((0,r.toDisplayString)(n.sharePopoverTitle),1)]})),_:1})]})),_:1})]})),_:1}),(0,o.bF)(d,{class:"justify-content-center"},{default:(0,o.k6)((function(){return[(0,o.RG)(e.$slots,"default")]})),_:3})]})),_:3})]})),_:3})):(0,o.Q3)("",!0)],2)}},82462:function(e,t,n){"use strict";var o=n(85072),r=n.n(o),s=n(97825),i=n.n(s),a=n(77659),u=n.n(a),c=n(55056),l=n.n(c),f=n(10540),d=n.n(f),p=n(41113),h=n.n(p),v=n(90268),y=n.n(v),k={};k.styleTagTransform=h(),k.setAttributes=l(),k.insert=u().bind(null,"head"),k.domAPI=i(),k.insertStyleElement=d(),r()(y(),k),y()&&y().locals&&y().locals},75465:function(e,t,n){"use strict";n.r(t);var o=n(46468),r=n(99539);n(87962);const s=(0,n(66262).A)(r.A,[["render",o.X]]);t.default=s},99539:function(e,t,n){"use strict";n.d(t,{A:function(){return o.A}});var o=n(72799)},46468:function(e,t,n){"use strict";n.d(t,{X:function(){return o.X}});var o=n(89140)},87962:function(e,t,n){"use strict";n(82462)}},function(e){return e.O(0,[641,6262,7510,3751,4352,4467,7527,8086,810,2543,6422,8745,8836,8638,3838,2368,7521,1438,2958,4179],(function(){return 75465,e(e.s=75465)})),e.O()}])}));
|