@geotrekce/geotrek-rando-widget 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/geotrek-rando-widget.cjs.js +19 -0
- package/dist/cjs/grw-app_7.cjs.entry.js +14662 -0
- package/dist/cjs/index-31255e29.js +1262 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/collection/assets/arrow-back.svg +1 -0
- package/dist/collection/assets/ascent.svg +1 -0
- package/dist/collection/assets/departure-arrival.svg +1 -0
- package/dist/collection/assets/duration.svg +1 -0
- package/dist/collection/assets/length.svg +1 -0
- package/dist/collection/collection-manifest.json +18 -0
- package/dist/collection/components/grw-app/grw-app.css +112 -0
- package/dist/collection/components/grw-app/grw-app.js +156 -0
- package/dist/collection/components/grw-map/grw-map.css +686 -0
- package/dist/collection/components/grw-map/grw-map.js +187 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.css +66 -0
- package/dist/collection/components/grw-trek-card/grw-trek-card.js +90 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.css +58 -0
- package/dist/collection/components/grw-trek-detail/grw-trek-detail.js +74 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.css +21 -0
- package/dist/collection/components/grw-treks-list/grw-treks-list.js +38 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/store/grw-trek-provider.js +63 -0
- package/dist/collection/store/grw-treks-provider.js +65 -0
- package/dist/collection/store/store.js +11 -0
- package/dist/collection/stories/App.js +9 -0
- package/dist/collection/stories/App.stories.js +21 -0
- package/dist/collection/stories/TrekCard.js +7 -0
- package/dist/collection/stories/TrekCard.stories.js +18 -0
- package/dist/collection/stories/TrekDetail.js +7 -0
- package/dist/collection/stories/TrekDetail.stories.js +18 -0
- package/dist/collection/stories/TrekMap.js +11 -0
- package/dist/collection/stories/TrekMap.stories.js +21 -0
- package/dist/collection/stories/TreksList.js +6 -0
- package/dist/collection/stories/TreksList.stories.js +17 -0
- package/dist/collection/stories/TreksMap.js +7 -0
- package/dist/collection/stories/TreksMap.stories.js +17 -0
- package/dist/collection/types/types.js +1 -0
- package/dist/collection/utils/utils.js +19 -0
- package/dist/components/grw-app.d.ts +11 -0
- package/dist/components/grw-app.js +98 -0
- package/dist/components/grw-map.d.ts +11 -0
- package/dist/components/grw-map.js +6 -0
- package/dist/components/grw-map2.js +14288 -0
- package/dist/components/grw-trek-card.d.ts +11 -0
- package/dist/components/grw-trek-card.js +6 -0
- package/dist/components/grw-trek-card2.js +45 -0
- package/dist/components/grw-trek-detail.d.ts +11 -0
- package/dist/components/grw-trek-detail.js +6 -0
- package/dist/components/grw-trek-detail2.js +44 -0
- package/dist/components/grw-trek-provider.d.ts +11 -0
- package/dist/components/grw-trek-provider.js +6 -0
- package/dist/components/grw-trek-provider2.js +49 -0
- package/dist/components/grw-treks-list.d.ts +11 -0
- package/dist/components/grw-treks-list.js +6 -0
- package/dist/components/grw-treks-list2.js +57 -0
- package/dist/components/grw-treks-provider.d.ts +11 -0
- package/dist/components/grw-treks-provider.js +6 -0
- package/dist/components/grw-treks-provider2.js +51 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +1 -0
- package/dist/components/length.js +27 -0
- package/dist/components/store.js +196 -0
- package/dist/esm/geotrek-rando-widget.js +17 -0
- package/dist/esm/grw-app_7.entry.js +14652 -0
- package/dist/esm/index-b36f38f5.js +1232 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.css +1 -0
- package/dist/geotrek-rando-widget/geotrek-rando-widget.esm.js +1 -0
- package/dist/geotrek-rando-widget/index.esm.js +0 -0
- package/dist/geotrek-rando-widget/p-f721481d.js +2 -0
- package/dist/geotrek-rando-widget/p-fe788eaa.entry.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/grw-app/grw-app.d.ts +15 -0
- package/dist/types/components/grw-map/grw-map.d.ts +17 -0
- package/dist/types/components/grw-trek-card/grw-trek-card.d.ts +12 -0
- package/dist/types/components/grw-trek-detail/grw-trek-detail.d.ts +10 -0
- package/dist/types/components/grw-treks-list/grw-treks-list.d.ts +10 -0
- package/dist/types/components.d.ts +149 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/store/grw-trek-provider.d.ts +7 -0
- package/dist/types/store/grw-treks-provider.d.ts +6 -0
- package/dist/types/store/store.d.ts +18 -0
- package/dist/types/types/types.d.ts +48 -0
- package/dist/types/utils/utils.d.ts +3 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +57 -0
- package/readme.md +3 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-31255e29.js');
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
Stencil Client Patch Esm v2.16.1 | MIT Licensed | https://stenciljs.com
|
|
9
|
+
*/
|
|
10
|
+
const patchEsm = () => {
|
|
11
|
+
return index.promiseResolve();
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const defineCustomElements = (win, options) => {
|
|
15
|
+
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
|
+
return patchEsm().then(() => {
|
|
17
|
+
return index.bootstrapLazy([["grw-app_7.cjs",[[1,"grw-app",{"api":[1],"portals":[1],"appName":[1,"app-name"],"colorPrimary":[1,"color-primary"],"colorPrimaryTint":[1,"color-primary-tint"],"showTrek":[32],"showMap":[32],"currentTrekId":[32]},[[0,"trekCardPress","onTrekCardPress"],[9,"resize","onWindowResize"]]],[1,"grw-treks-list",{"treksToDisplay":[32]}],[0,"grw-map",{"colorTrekLine":[1,"color-trek-line"],"colorDepartureIcon":[1,"color-departure-icon"],"colorArrivalIcon":[1,"color-arrival-icon"]}],[1,"grw-trek-detail",{"trek":[16]}],[0,"grw-trek-provider",{"api":[1],"trekId":[1,"trek-id"]}],[0,"grw-treks-provider",{"api":[1],"portals":[1]}],[1,"grw-trek-card",{"trek":[16]}]]]], options);
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.defineCustomElements = defineCustomElements;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><polyline points="244 400 100 256 244 112" style="fill:none;stroke:#ffffff;stroke-linecap:round;stroke-linejoin:round;stroke-width:48px"/><line x1="120" y1="256" x2="412" y2="256" style="fill:none;stroke:#ffffff;stroke-linecap:round;stroke-linejoin:round;stroke-width:48px"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><polyline points="352 144 464 144 464 256" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path d="M48,368,169.37,246.63a32,32,0,0,1,45.26,0l50.74,50.74a32,32,0,0,0,45.26,0L448,160" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path d="M80,464V68.14a8,8,0,0,1,4-6.9C91.81,56.66,112.92,48,160,48c64,0,145,48,192,48a199.53,199.53,0,0,0,77.23-15.77A2,2,0,0,1,432,82.08V301.44a4,4,0,0,1-2.39,3.65C421.37,308.7,392.33,320,352,320c-48,0-128-32-192-32s-80,16-80,16" style=";fill:none;stroke:currentColor;stroke-linecap:round;stroke-miterlimit:10;stroke-width:32px"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path d="M145.61,464H366.39c19.8,0,35.55-16.29,33.42-35.06C386.06,308,304,310,304,256s83.11-51,95.8-172.94c2-18.78-13.61-35.06-33.41-35.06H145.61c-19.8,0-35.37,16.28-33.41,35.06C124.89,205,208,201,208,256s-82.06,52-95.8,172.94C110.06,447.71,125.81,464,145.61,464Z" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><path d="M343.3,432H169.13c-15.6,0-20-18-9.06-29.16C186.55,376,240,356.78,240,326V224c0-19.85-38-35-61.51-67.2-3.88-5.31-3.49-12.8,6.37-12.8H327.59c8.41,0,10.23,7.43,6.4,12.75C310.82,189,272,204.05,272,224V326c0,30.53,55.71,47,80.4,76.87C362.35,414.91,358.87,432,343.3,432Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><polyline points="304 96 416 96 416 208" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><line x1="405.77" y1="106.2" x2="111.98" y2="400.02" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/><polyline points="208 416 96 416 96 304" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:32px"/></svg>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"entries": [
|
|
3
|
+
"./components/grw-app/grw-app.js",
|
|
4
|
+
"./components/grw-map/grw-map.js",
|
|
5
|
+
"./components/grw-trek-card/grw-trek-card.js",
|
|
6
|
+
"./components/grw-trek-detail/grw-trek-detail.js",
|
|
7
|
+
"./components/grw-treks-list/grw-treks-list.js",
|
|
8
|
+
"./store/grw-trek-provider.js",
|
|
9
|
+
"./store/grw-treks-provider.js"
|
|
10
|
+
],
|
|
11
|
+
"compiler": {
|
|
12
|
+
"name": "@stencil/core",
|
|
13
|
+
"version": "2.16.1",
|
|
14
|
+
"typescriptVersion": "4.5.4"
|
|
15
|
+
},
|
|
16
|
+
"collections": [],
|
|
17
|
+
"bundles": []
|
|
18
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
.header-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
background-color: var(--color-primary);
|
|
5
|
+
height: 64px;
|
|
6
|
+
}
|
|
7
|
+
.header-container .title {
|
|
8
|
+
color: #ffffff;
|
|
9
|
+
font-size: 24px;
|
|
10
|
+
margin-left: 24px;
|
|
11
|
+
}
|
|
12
|
+
.header-container .arrow-back-icon {
|
|
13
|
+
width: 48px;
|
|
14
|
+
height: auto;
|
|
15
|
+
margin-left: 24px;
|
|
16
|
+
}
|
|
17
|
+
.header-container .arrow-back-icon svg {
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
width: 48px;
|
|
20
|
+
height: auto;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.loader-container {
|
|
24
|
+
position: absolute;
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
align-items: center;
|
|
28
|
+
width: 100vw;
|
|
29
|
+
height: 100%;
|
|
30
|
+
}
|
|
31
|
+
.loader-container .loader {
|
|
32
|
+
width: 48px;
|
|
33
|
+
height: 48px;
|
|
34
|
+
border: 5px solid var(--color-primary-tint);
|
|
35
|
+
border-bottom-color: var(--color-primary);
|
|
36
|
+
border-radius: 50%;
|
|
37
|
+
display: inline-block;
|
|
38
|
+
box-sizing: border-box;
|
|
39
|
+
animation: rotation 1s linear infinite;
|
|
40
|
+
}
|
|
41
|
+
@keyframes rotation {
|
|
42
|
+
0% {
|
|
43
|
+
transform: rotate(0deg);
|
|
44
|
+
}
|
|
45
|
+
100% {
|
|
46
|
+
transform: rotate(360deg);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.content-container {
|
|
51
|
+
display: flex;
|
|
52
|
+
height: calc(100vh - 64px);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.app-treks-list-container,
|
|
56
|
+
.app-trek-detail-container {
|
|
57
|
+
width: 100vw;
|
|
58
|
+
height: 100%;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.app-map-container {
|
|
62
|
+
position: absolute;
|
|
63
|
+
width: 100vw;
|
|
64
|
+
height: calc(100vh - 64px);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.map-visibility-button {
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
align-items: center;
|
|
72
|
+
position: absolute;
|
|
73
|
+
bottom: 24px;
|
|
74
|
+
width: 100%;
|
|
75
|
+
z-index: 400;
|
|
76
|
+
user-select: none;
|
|
77
|
+
}
|
|
78
|
+
.map-visibility-button div {
|
|
79
|
+
background-color: var(--color-primary);
|
|
80
|
+
color: #ffffff;
|
|
81
|
+
padding: 12px;
|
|
82
|
+
border-radius: 24px;
|
|
83
|
+
width: 120px;
|
|
84
|
+
text-align: center;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media (min-width: 664px) {
|
|
88
|
+
.map-visibility-button {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.header-container .title {
|
|
93
|
+
font-size: 32px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.loader-container {
|
|
97
|
+
position: relative;
|
|
98
|
+
width: 50vw;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.app-treks-list-container,
|
|
102
|
+
.app-trek-detail-container {
|
|
103
|
+
width: 50vw;
|
|
104
|
+
height: 100%;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.app-map-container {
|
|
108
|
+
position: relative;
|
|
109
|
+
width: 50vw;
|
|
110
|
+
height: 100%;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { Component, Host, h, Listen, State, Prop } from '@stencil/core';
|
|
2
|
+
import state from 'store/store';
|
|
3
|
+
import arrowBackImage from '../../assets/arrow-back.svg';
|
|
4
|
+
export class GrwApp {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.appName = 'Geotrek Rando Widget';
|
|
7
|
+
this.colorPrimary = '#6b0030';
|
|
8
|
+
this.colorPrimaryTint = '#d2b2c0';
|
|
9
|
+
}
|
|
10
|
+
onTrekCardPress(event) {
|
|
11
|
+
this.currentTrekId = event.detail;
|
|
12
|
+
this.showTrek = !this.showTrek;
|
|
13
|
+
}
|
|
14
|
+
onWindowResize(event) {
|
|
15
|
+
this.showMap = !(event.composedPath()[0].innerWidth < 664);
|
|
16
|
+
}
|
|
17
|
+
onTrekDetailsClose() {
|
|
18
|
+
this.currentTrekId = null;
|
|
19
|
+
this.showTrek = !this.showTrek;
|
|
20
|
+
}
|
|
21
|
+
componentWillLoad() {
|
|
22
|
+
this.showMap = !(window.innerWidth < 664);
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
return (h(Host, { style: { '--color-primary': this.colorPrimary, '--color-primary-tint': this.colorPrimaryTint } },
|
|
26
|
+
h("grw-treks-provider", { api: this.api, portals: this.portals },
|
|
27
|
+
h("div", { class: "header-container" }, this.showTrek ? h("div", { onClick: () => this.onTrekDetailsClose(), class: "arrow-back-icon", innerHTML: arrowBackImage }) : h("div", { class: "title" }, this.appName)),
|
|
28
|
+
h("div", { class: "content-container" },
|
|
29
|
+
h("div", { class: "app-treks-list-container", style: { visibility: this.showTrek ? 'hidden' : 'visible', position: this.showTrek ? 'absolute' : 'relative' } },
|
|
30
|
+
h("grw-treks-list", null)),
|
|
31
|
+
this.showTrek && !state.currentTrek && (h("div", { class: "loader-container" },
|
|
32
|
+
h("span", { class: "loader" }))),
|
|
33
|
+
this.showTrek && this.currentTrekId && (h("grw-trek-provider", { api: state.api, "trek-id": this.currentTrekId }, state.currentTrek && (h("div", { class: "app-trek-detail-container" },
|
|
34
|
+
h("grw-trek-detail", null))))),
|
|
35
|
+
h("div", { class: "app-map-container", style: { visibility: this.showMap ? 'visible' : 'hidden' } },
|
|
36
|
+
h("grw-map", null))),
|
|
37
|
+
h("div", { class: "map-visibility-button" },
|
|
38
|
+
h("div", { onClick: () => (this.showMap = !this.showMap) }, this.showMap ? (this.showTrek ? 'Voir la fiche' : 'Voir la liste') : 'Voir la carte')))));
|
|
39
|
+
}
|
|
40
|
+
static get is() { return "grw-app"; }
|
|
41
|
+
static get encapsulation() { return "shadow"; }
|
|
42
|
+
static get originalStyleUrls() { return {
|
|
43
|
+
"$": ["grw-app.scss"]
|
|
44
|
+
}; }
|
|
45
|
+
static get styleUrls() { return {
|
|
46
|
+
"$": ["grw-app.css"]
|
|
47
|
+
}; }
|
|
48
|
+
static get properties() { return {
|
|
49
|
+
"api": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"mutable": false,
|
|
52
|
+
"complexType": {
|
|
53
|
+
"original": "string",
|
|
54
|
+
"resolved": "string",
|
|
55
|
+
"references": {}
|
|
56
|
+
},
|
|
57
|
+
"required": false,
|
|
58
|
+
"optional": false,
|
|
59
|
+
"docs": {
|
|
60
|
+
"tags": [],
|
|
61
|
+
"text": ""
|
|
62
|
+
},
|
|
63
|
+
"attribute": "api",
|
|
64
|
+
"reflect": false
|
|
65
|
+
},
|
|
66
|
+
"portals": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"mutable": false,
|
|
69
|
+
"complexType": {
|
|
70
|
+
"original": "string",
|
|
71
|
+
"resolved": "string",
|
|
72
|
+
"references": {}
|
|
73
|
+
},
|
|
74
|
+
"required": false,
|
|
75
|
+
"optional": false,
|
|
76
|
+
"docs": {
|
|
77
|
+
"tags": [],
|
|
78
|
+
"text": ""
|
|
79
|
+
},
|
|
80
|
+
"attribute": "portals",
|
|
81
|
+
"reflect": false
|
|
82
|
+
},
|
|
83
|
+
"appName": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"mutable": false,
|
|
86
|
+
"complexType": {
|
|
87
|
+
"original": "string",
|
|
88
|
+
"resolved": "string",
|
|
89
|
+
"references": {}
|
|
90
|
+
},
|
|
91
|
+
"required": false,
|
|
92
|
+
"optional": false,
|
|
93
|
+
"docs": {
|
|
94
|
+
"tags": [],
|
|
95
|
+
"text": ""
|
|
96
|
+
},
|
|
97
|
+
"attribute": "app-name",
|
|
98
|
+
"reflect": false,
|
|
99
|
+
"defaultValue": "'Geotrek Rando Widget'"
|
|
100
|
+
},
|
|
101
|
+
"colorPrimary": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "string",
|
|
106
|
+
"resolved": "string",
|
|
107
|
+
"references": {}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": false,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": ""
|
|
114
|
+
},
|
|
115
|
+
"attribute": "color-primary",
|
|
116
|
+
"reflect": false,
|
|
117
|
+
"defaultValue": "'#6b0030'"
|
|
118
|
+
},
|
|
119
|
+
"colorPrimaryTint": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"mutable": false,
|
|
122
|
+
"complexType": {
|
|
123
|
+
"original": "string",
|
|
124
|
+
"resolved": "string",
|
|
125
|
+
"references": {}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": false,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": ""
|
|
132
|
+
},
|
|
133
|
+
"attribute": "color-primary-tint",
|
|
134
|
+
"reflect": false,
|
|
135
|
+
"defaultValue": "'#d2b2c0'"
|
|
136
|
+
}
|
|
137
|
+
}; }
|
|
138
|
+
static get states() { return {
|
|
139
|
+
"showTrek": {},
|
|
140
|
+
"showMap": {},
|
|
141
|
+
"currentTrekId": {}
|
|
142
|
+
}; }
|
|
143
|
+
static get listeners() { return [{
|
|
144
|
+
"name": "trekCardPress",
|
|
145
|
+
"method": "onTrekCardPress",
|
|
146
|
+
"target": undefined,
|
|
147
|
+
"capture": false,
|
|
148
|
+
"passive": false
|
|
149
|
+
}, {
|
|
150
|
+
"name": "resize",
|
|
151
|
+
"method": "onWindowResize",
|
|
152
|
+
"target": "window",
|
|
153
|
+
"capture": false,
|
|
154
|
+
"passive": true
|
|
155
|
+
}]; }
|
|
156
|
+
}
|