@openremote/or-map 1.8.0-snapshot.20250723203453 → 1.8.0-snapshot.20250725070921

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/lib/style.js CHANGED
@@ -1,13 +1,13 @@
1
- import{css,unsafeCSS}from"lit";import{DefaultColor1,DefaultColor2,DefaultColor3,DefaultColor4,DefaultColor5,DefaultHeaderHeight}from"@openremote/core";export const markerColorVar="--internal-or-map-marker-color";export const markerActiveColorVar="--internal-or-map-marker-active-color";export const style=css`
1
+ import{css as r,unsafeCSS as a}from"lit";import{DefaultColor1 as o,DefaultColor2 as e,DefaultColor3 as t,DefaultColor4 as i,DefaultColor5 as n,DefaultHeaderHeight as m}from"@openremote/core";export const markerColorVar="--internal-or-map-marker-color";export const markerActiveColorVar="--internal-or-map-marker-active-color";export const style=r`
2
2
  :host {
3
3
  --internal-or-map-width: var(--or-map-width, 100%);
4
4
  --internal-or-map-min-height: var(--or-map-min-height, 300px);
5
5
  --internal-or-map-marker-transform: var(--or-map-marker-transform, translate(-16px, -29px));
6
6
  --internal-or-map-marker-width: var(--or-map-marker-width, 32px);
7
7
  --internal-or-map-marker-height: var(--or-map-marker-height, 32px);
8
- --internal-or-map-marker-color: var(--or-map-marker-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)}));
8
+ --internal-or-map-marker-color: var(--or-map-marker-color, var(--or-app-color4, ${a(i)}));
9
9
  --internal-or-map-marker-stroke: var(--or-map-marker-stroke, none);
10
- --internal-or-map-marker-icon-color: var(--or-map-marker-icon-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)}));
10
+ --internal-or-map-marker-icon-color: var(--or-map-marker-icon-color, var(--or-app-color1, ${a(o)}));
11
11
  --internal-or-map-marker-icon-stroke: var(--or-map-marker-icon-stroke, none);
12
12
  --internal-or-map-marker-icon-width: var(--or-map-marker-icon-width, 16px);
13
13
  --internal-or-map-marker-icon-height: var(--or-map-marker-icon-height, 16px);
@@ -15,9 +15,9 @@ import{css,unsafeCSS}from"lit";import{DefaultColor1,DefaultColor2,DefaultColor3,
15
15
  --internal-or-map-marker-active-transform: var(--or-map-marker-active-transform, translate(-24px, -44px));
16
16
  --internal-or-map-marker-active-width: var(--or-map-marker-active-width, 48px);
17
17
  --internal-or-map-marker-active-height: var(--or-map-marker-active-height, 48px);
18
- --internal-or-map-marker-active-color: var(--or-map-marker-active-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)}));
18
+ --internal-or-map-marker-active-color: var(--or-map-marker-active-color, var(--or-app-color4, ${a(i)}));
19
19
  --internal-or-map-marker-active-stroke: var(--or-map-marker-active-stroke, 2px);
20
- --internal-or-map-marker-icon-active-color: var(--or-map-marker-icon-active-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)}));
20
+ --internal-or-map-marker-icon-active-color: var(--or-map-marker-icon-active-color, var(--or-app-color1, ${a(o)}));
21
21
  --internal-or-map-marker-icon-active-stroke: var(--or-map-marker-icon-active-stroke, none);
22
22
  --internal-or-map-marker-icon-active-width: var(--or-map-marker-icon-active-width, 24px);
23
23
  --internal-or-map-marker-icon-active-height: var(--or-map-marker-icon-active-height, 24px);
@@ -142,14 +142,14 @@ import{css,unsafeCSS}from"lit";import{DefaultColor1,DefaultColor2,DefaultColor3,
142
142
  right: 12px;
143
143
  }
144
144
  }
145
- `;export const mapAssetCardStyle=css`
145
+ `;export const mapAssetCardStyle=r`
146
146
  :host {
147
- --internal-or-map-asset-card-header-color: var(--or-map-asset-card-header-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)}));
148
- --internal-or-map-asset-card-header-text-color: var(--or-map-asset-card-header-text-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)}));
149
- --internal-or-map-asset-card-header-height: var(--or-map-asset-card-header-height, calc(${unsafeCSS(DefaultHeaderHeight)} - 10px));
150
- --internal-or-map-asset-card-background-color: var(--or-map-asset-card-background-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)}));
151
- --internal-or-map-asset-card-background-text-color: var(--or-map-asset-card-background-text-color, var(--or-app-color3, ${unsafeCSS(DefaultColor3)}));
152
- --internal-or-map-asset-card-separator-color: var(--or-map-asset-card-separator-color, var(--or-app-color2, ${unsafeCSS(DefaultColor2)}));
147
+ --internal-or-map-asset-card-header-color: var(--or-map-asset-card-header-color, var(--or-app-color4, ${a(i)}));
148
+ --internal-or-map-asset-card-header-text-color: var(--or-map-asset-card-header-text-color, var(--or-app-color1, ${a(o)}));
149
+ --internal-or-map-asset-card-header-height: var(--or-map-asset-card-header-height, calc(${a(m)} - 10px));
150
+ --internal-or-map-asset-card-background-color: var(--or-map-asset-card-background-color, var(--or-app-color1, ${a(o)}));
151
+ --internal-or-map-asset-card-background-text-color: var(--or-map-asset-card-background-text-color, var(--or-app-color3, ${a(t)}));
152
+ --internal-or-map-asset-card-separator-color: var(--or-map-asset-card-separator-color, var(--or-app-color2, ${a(e)}));
153
153
 
154
154
  display: block;
155
155
  }
@@ -168,7 +168,7 @@ import{css,unsafeCSS}from"lit";import{DefaultColor1,DefaultColor2,DefaultColor3,
168
168
  height: var(--internal-or-map-asset-card-header-height);
169
169
  background-color: var(--internal-or-map-asset-card-header-color);
170
170
  line-height: var(--internal-or-map-asset-card-header-height);
171
- border-bottom: 1px solid ${unsafeCSS(DefaultColor5)};
171
+ border-bottom: 1px solid ${a(n)};
172
172
  text-align: center;
173
173
  color: var(--internal-or-map-asset-card-header-text-color);
174
174
  --or-icon-fill: var(--internal-or-map-asset-card-header-text-color);
package/lib/util.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="leaflet" />
2
1
  import { LngLatBounds, LngLatBoundsLike, LngLatLike } from "maplibre-gl";
3
2
  import { Asset, AssetDescriptor, GeoJSONPoint, ValueHolder } from "@openremote/model";
4
3
  import { AttributeMarkerColoursRange, MapMarkerColours } from "./markers/or-map-marker-asset";
package/lib/util.js CHANGED
@@ -1 +1 @@
1
- import{LngLat,LngLatBounds}from"maplibre-gl";import{AssetModelUtil}from"@openremote/model";export function getLngLat(t){if(t){if(t instanceof LngLat)return t;if(t.lat)return t.lon?{lng:t.lon,lat:t.lat}:{lng:t.lng,lat:t.lat};if(Array.isArray(t))return{lng:t[0],lat:t[1]};if(t.coordinates&&Array.isArray(t.coordinates)&&t.coordinates.length>=2)return getLngLat(t.coordinates);if(t.attributes){const n=t.attributes.location;if(!n)return;return n.value?getLngLat(n.value):void 0}return t.value?getLngLat(t.value):void 0}}export function getGeoJSONPoint(t){if(t)return Array.isArray(t)?{type:"Point",coordinates:t}:{type:"Point",coordinates:[t.hasOwnProperty("lng")?t.lng:t.lon,t.lat]}}export function getLngLatBounds(t){if(t){if(t instanceof LngLatBounds)return t;const n=t;if(2===n.length){const t=getLngLat(n[0]),e=getLngLat(n[1]);if(t&&e)return new LngLatBounds(t,e)}if(4===n.length)return new LngLatBounds([n[0],n[1],n[2],n[3]])}}export function getLatLngBounds(t){const n=getLngLatBounds(t);if(n)return L.latLngBounds(n.getNorthEast(),n.getSouthWest())}export function getMarkerIconAndColorFromAssetType(t,n){if(!t)return;const e="string"==typeof t?AssetModelUtil.getAssetDescriptor(t):t,o=e&&e.icon?e.icon:"help-circle";let r=e&&e.colour?e.colour:void 0;if(n&&n.markerConfig){const t=n.markerConfig,e=n.currentValue;if("range"===t.type&&t.ranges&&"number"==typeof e){const n=t.ranges;r=(n.sort(((t,n)=>n.min-t.min)).find((t=>e>=t.min))||n.reduce(((t,n)=>n.min>t.min?t:n))).colour||void 0}else"boolean"===t.type?r=t[!!e+""]:"string"===t.type&&(r=t[e+""])}return{color:r,icon:o}}
1
+ import{LngLat as t,LngLatBounds as e}from"maplibre-gl";import{AssetModelUtil as n}from"@openremote/model";export function getLngLat(e){if(e){if(e instanceof t)return e;if(e.lat)return e.lon?{lng:e.lon,lat:e.lat}:{lng:e.lng,lat:e.lat};if(Array.isArray(e))return{lng:e[0],lat:e[1]};if(e.coordinates&&Array.isArray(e.coordinates)&&e.coordinates.length>=2)return getLngLat(e.coordinates);if(e.attributes){let t=e.attributes.location;return t&&t.value?getLngLat(t.value):void 0}if(e.value)return getLngLat(e.value)}}export function getGeoJSONPoint(t){if(t)return Array.isArray(t)?{type:"Point",coordinates:t}:{type:"Point",coordinates:[t.hasOwnProperty("lng")?t.lng:t.lon,t.lat]}}export function getLngLatBounds(t){if(t){if(t instanceof e)return t;if(2===t.length){let n=getLngLat(t[0]),r=getLngLat(t[1]);if(n&&r)return new e(n,r)}if(4===t.length)return new e([t[0],t[1],t[2],t[3]])}}export function getLatLngBounds(t){let e=getLngLatBounds(t);if(e)return L.latLngBounds(e.getNorthEast(),e.getSouthWest())}export function getMarkerIconAndColorFromAssetType(t,e){if(!t)return;let r="string"==typeof t?n.getAssetDescriptor(t):t,o=r&&r.icon?r.icon:"help-circle",i=r&&r.colour?r.colour:void 0;if(e&&e.markerConfig){let t=e.markerConfig,n=e.currentValue;if("range"===t.type&&t.ranges&&"number"==typeof n){let e=t.ranges;i=(e.sort((t,e)=>e.min-t.min).find(t=>n>=t.min)||e.reduce((t,e)=>e.min>t.min?t:e)).colour||void 0}else"boolean"===t.type?i=t[!!n+""]:"string"===t.type&&(i=t[n+""])}return{color:i,icon:o}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openremote/or-map",
3
- "version": "1.8.0-snapshot.20250723203453",
3
+ "version": "1.8.0-snapshot.20250725070921",
4
4
  "description": "Displays s vector or raster map",
5
5
  "customElements": "custom-elements.json",
6
6
  "main": "dist/umd/index.bundle.js",
@@ -14,18 +14,18 @@
14
14
  "analyze": "npx cem analyze --config ../custom-elements-manifest.config.mjs",
15
15
  "build": "npx tsc -b",
16
16
  "test": "echo \"No tests\" && exit 0",
17
- "prepack": "npx webpack"
17
+ "prepack": "npx rspack"
18
18
  },
19
19
  "author": "OpenRemote",
20
20
  "license": "AGPL-3.0-or-later",
21
21
  "dependencies": {
22
22
  "@maplibre/maplibre-gl-geocoder": "^1.5.0",
23
- "@openremote/core": "1.8.0-snapshot.20250723203453",
24
- "@openremote/model": "1.8.0-snapshot.20250723203453",
25
- "@openremote/or-icon": "1.8.0-snapshot.20250723203453",
26
- "@openremote/or-mwc-components": "1.8.0-snapshot.20250723203453",
27
- "@openremote/or-translate": "1.8.0-snapshot.20250723203453",
28
- "@openremote/rest": "1.8.0-snapshot.20250723203453",
23
+ "@openremote/core": "1.8.0-snapshot.20250725070921",
24
+ "@openremote/model": "1.8.0-snapshot.20250725070921",
25
+ "@openremote/or-icon": "1.8.0-snapshot.20250725070921",
26
+ "@openremote/or-mwc-components": "1.8.0-snapshot.20250725070921",
27
+ "@openremote/or-translate": "1.8.0-snapshot.20250725070921",
28
+ "@openremote/rest": "1.8.0-snapshot.20250725070921",
29
29
  "@polymer/polymer": "^3.3.1",
30
30
  "@types/mapbox": "^1.6.42",
31
31
  "lit": "^2.0.2",
@@ -33,7 +33,7 @@
33
33
  "maplibre-gl": "^4.1.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@openremote/util": "1.8.0-snapshot.20250723203453",
36
+ "@openremote/util": "1.8.0-snapshot.20250725070921",
37
37
  "@types/geojson": "^7946.0.7"
38
38
  },
39
39
  "publishConfig": {
@@ -1,160 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
15
-
16
- /**
17
- * @license
18
- * Copyright 2016 Google Inc.
19
- *
20
- * Permission is hereby granted, free of charge, to any person obtaining a copy
21
- * of this software and associated documentation files (the "Software"), to deal
22
- * in the Software without restriction, including without limitation the rights
23
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
24
- * copies of the Software, and to permit persons to whom the Software is
25
- * furnished to do so, subject to the following conditions:
26
- *
27
- * The above copyright notice and this permission notice shall be included in
28
- * all copies or substantial portions of the Software.
29
- *
30
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
36
- * THE SOFTWARE.
37
- */
38
-
39
- /**
40
- * @license
41
- * Copyright 2017 Google LLC
42
- * SPDX-License-Identifier: BSD-3-Clause
43
- */
44
-
45
- /**
46
- * @license
47
- * Copyright 2018 Google Inc.
48
- *
49
- * Permission is hereby granted, free of charge, to any person obtaining a copy
50
- * of this software and associated documentation files (the "Software"), to deal
51
- * in the Software without restriction, including without limitation the rights
52
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
53
- * copies of the Software, and to permit persons to whom the Software is
54
- * furnished to do so, subject to the following conditions:
55
- *
56
- * The above copyright notice and this permission notice shall be included in
57
- * all copies or substantial portions of the Software.
58
- *
59
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
60
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
61
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
62
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
63
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
64
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
65
- * THE SOFTWARE.
66
- */
67
-
68
- /**
69
- * @license
70
- * Copyright 2018 Google LLC
71
- * SPDX-License-Identifier: BSD-3-Clause
72
- */
73
-
74
- /**
75
- * @license
76
- * Copyright 2019 Google Inc.
77
- *
78
- * Permission is hereby granted, free of charge, to any person obtaining a copy
79
- * of this software and associated documentation files (the "Software"), to deal
80
- * in the Software without restriction, including without limitation the rights
81
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
82
- * copies of the Software, and to permit persons to whom the Software is
83
- * furnished to do so, subject to the following conditions:
84
- *
85
- * The above copyright notice and this permission notice shall be included in
86
- * all copies or substantial portions of the Software.
87
- *
88
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
89
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
90
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
91
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
92
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
93
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
94
- * THE SOFTWARE.
95
- */
96
-
97
- /**
98
- * @license
99
- * Copyright 2019 Google LLC
100
- * SPDX-License-Identifier: BSD-3-Clause
101
- */
102
-
103
- /**
104
- * @license
105
- * Copyright 2020 Google Inc.
106
- *
107
- * Permission is hereby granted, free of charge, to any person obtaining a copy
108
- * of this software and associated documentation files (the "Software"), to deal
109
- * in the Software without restriction, including without limitation the rights
110
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
111
- * copies of the Software, and to permit persons to whom the Software is
112
- * furnished to do so, subject to the following conditions:
113
- *
114
- * The above copyright notice and this permission notice shall be included in
115
- * all copies or substantial portions of the Software.
116
- *
117
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
118
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
119
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
120
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
121
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
122
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
123
- * THE SOFTWARE.
124
- */
125
-
126
- /**
127
- * @license
128
- * Copyright 2020 Google LLC
129
- * SPDX-License-Identifier: BSD-3-Clause
130
- */
131
-
132
- /**
133
- * @license
134
- * Copyright 2021 Google LLC
135
- * SPDX-License-Identifier: BSD-3-Clause
136
- */
137
-
138
- /**
139
- * @license
140
- * Lodash <https://lodash.com/>
141
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
142
- * Released under MIT license <https://lodash.com/license>
143
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
144
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
145
- */
146
-
147
- /**
148
- * MapLibre GL JS
149
- * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.1.2/LICENSE.txt
150
- */
151
-
152
- /**
153
- @license
154
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
155
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
156
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
157
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
158
- Code distributed by Google as part of the polymer project is also
159
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
160
- */
@@ -1,155 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
15
-
16
- /**
17
- * @license
18
- * Copyright 2016 Google Inc.
19
- *
20
- * Permission is hereby granted, free of charge, to any person obtaining a copy
21
- * of this software and associated documentation files (the "Software"), to deal
22
- * in the Software without restriction, including without limitation the rights
23
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
24
- * copies of the Software, and to permit persons to whom the Software is
25
- * furnished to do so, subject to the following conditions:
26
- *
27
- * The above copyright notice and this permission notice shall be included in
28
- * all copies or substantial portions of the Software.
29
- *
30
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
36
- * THE SOFTWARE.
37
- */
38
-
39
- /**
40
- * @license
41
- * Copyright 2017 Google LLC
42
- * SPDX-License-Identifier: BSD-3-Clause
43
- */
44
-
45
- /**
46
- * @license
47
- * Copyright 2018 Google Inc.
48
- *
49
- * Permission is hereby granted, free of charge, to any person obtaining a copy
50
- * of this software and associated documentation files (the "Software"), to deal
51
- * in the Software without restriction, including without limitation the rights
52
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
53
- * copies of the Software, and to permit persons to whom the Software is
54
- * furnished to do so, subject to the following conditions:
55
- *
56
- * The above copyright notice and this permission notice shall be included in
57
- * all copies or substantial portions of the Software.
58
- *
59
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
60
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
61
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
62
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
63
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
64
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
65
- * THE SOFTWARE.
66
- */
67
-
68
- /**
69
- * @license
70
- * Copyright 2018 Google LLC
71
- * SPDX-License-Identifier: BSD-3-Clause
72
- */
73
-
74
- /**
75
- * @license
76
- * Copyright 2019 Google Inc.
77
- *
78
- * Permission is hereby granted, free of charge, to any person obtaining a copy
79
- * of this software and associated documentation files (the "Software"), to deal
80
- * in the Software without restriction, including without limitation the rights
81
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
82
- * copies of the Software, and to permit persons to whom the Software is
83
- * furnished to do so, subject to the following conditions:
84
- *
85
- * The above copyright notice and this permission notice shall be included in
86
- * all copies or substantial portions of the Software.
87
- *
88
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
89
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
90
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
91
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
92
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
93
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
94
- * THE SOFTWARE.
95
- */
96
-
97
- /**
98
- * @license
99
- * Copyright 2019 Google LLC
100
- * SPDX-License-Identifier: BSD-3-Clause
101
- */
102
-
103
- /**
104
- * @license
105
- * Copyright 2020 Google Inc.
106
- *
107
- * Permission is hereby granted, free of charge, to any person obtaining a copy
108
- * of this software and associated documentation files (the "Software"), to deal
109
- * in the Software without restriction, including without limitation the rights
110
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
111
- * copies of the Software, and to permit persons to whom the Software is
112
- * furnished to do so, subject to the following conditions:
113
- *
114
- * The above copyright notice and this permission notice shall be included in
115
- * all copies or substantial portions of the Software.
116
- *
117
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
118
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
119
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
120
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
121
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
122
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
123
- * THE SOFTWARE.
124
- */
125
-
126
- /**
127
- * @license
128
- * Copyright 2020 Google LLC
129
- * SPDX-License-Identifier: BSD-3-Clause
130
- */
131
-
132
- /**
133
- * @license
134
- * Copyright 2021 Google LLC
135
- * SPDX-License-Identifier: BSD-3-Clause
136
- */
137
-
138
- /**
139
- * @license
140
- * Lodash <https://lodash.com/>
141
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
142
- * Released under MIT license <https://lodash.com/license>
143
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
144
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
145
- */
146
-
147
- /**
148
- @license
149
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
150
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
151
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
152
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
153
- Code distributed by Google as part of the polymer project is also
154
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
155
- */
@@ -1,181 +0,0 @@
1
- /*!
2
- * Platform.js v1.3.6
3
- * Copyright 2014-2020 Benjamin Tan
4
- * Copyright 2011-2013 John-David Dalton
5
- * Available under MIT license
6
- */
7
-
8
- /*! *****************************************************************************
9
- Copyright (c) Microsoft Corporation.
10
-
11
- Permission to use, copy, modify, and/or distribute this software for any
12
- purpose with or without fee is hereby granted.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
15
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
16
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
17
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
18
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20
- PERFORMANCE OF THIS SOFTWARE.
21
- ***************************************************************************** */
22
-
23
- /**
24
- * @license
25
- * Copyright 2016 Google Inc.
26
- *
27
- * Permission is hereby granted, free of charge, to any person obtaining a copy
28
- * of this software and associated documentation files (the "Software"), to deal
29
- * in the Software without restriction, including without limitation the rights
30
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
31
- * copies of the Software, and to permit persons to whom the Software is
32
- * furnished to do so, subject to the following conditions:
33
- *
34
- * The above copyright notice and this permission notice shall be included in
35
- * all copies or substantial portions of the Software.
36
- *
37
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
41
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
42
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
43
- * THE SOFTWARE.
44
- */
45
-
46
- /**
47
- * @license
48
- * Copyright 2017 Google LLC
49
- * SPDX-License-Identifier: BSD-3-Clause
50
- */
51
-
52
- /**
53
- * @license
54
- * Copyright 2018 Google Inc.
55
- *
56
- * Permission is hereby granted, free of charge, to any person obtaining a copy
57
- * of this software and associated documentation files (the "Software"), to deal
58
- * in the Software without restriction, including without limitation the rights
59
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
60
- * copies of the Software, and to permit persons to whom the Software is
61
- * furnished to do so, subject to the following conditions:
62
- *
63
- * The above copyright notice and this permission notice shall be included in
64
- * all copies or substantial portions of the Software.
65
- *
66
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
67
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
68
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
69
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
70
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
71
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
72
- * THE SOFTWARE.
73
- */
74
-
75
- /**
76
- * @license
77
- * Copyright 2018 Google LLC
78
- * SPDX-License-Identifier: BSD-3-Clause
79
- */
80
-
81
- /**
82
- * @license
83
- * Copyright 2019 Google Inc.
84
- *
85
- * Permission is hereby granted, free of charge, to any person obtaining a copy
86
- * of this software and associated documentation files (the "Software"), to deal
87
- * in the Software without restriction, including without limitation the rights
88
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
89
- * copies of the Software, and to permit persons to whom the Software is
90
- * furnished to do so, subject to the following conditions:
91
- *
92
- * The above copyright notice and this permission notice shall be included in
93
- * all copies or substantial portions of the Software.
94
- *
95
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
96
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
97
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
98
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
99
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
100
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
101
- * THE SOFTWARE.
102
- */
103
-
104
- /**
105
- * @license
106
- * Copyright 2020 Google Inc.
107
- *
108
- * Permission is hereby granted, free of charge, to any person obtaining a copy
109
- * of this software and associated documentation files (the "Software"), to deal
110
- * in the Software without restriction, including without limitation the rights
111
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
112
- * copies of the Software, and to permit persons to whom the Software is
113
- * furnished to do so, subject to the following conditions:
114
- *
115
- * The above copyright notice and this permission notice shall be included in
116
- * all copies or substantial portions of the Software.
117
- *
118
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
119
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
120
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
121
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
122
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
123
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
124
- * THE SOFTWARE.
125
- */
126
-
127
- /**
128
- * @license
129
- * Copyright 2020 Google LLC
130
- * SPDX-License-Identifier: BSD-3-Clause
131
- */
132
-
133
- /**
134
- * @license
135
- * Copyright 2021 Google LLC
136
- * SPDX-License-Identifier: BSD-3-Clause
137
- */
138
-
139
- /**
140
- * @license
141
- * Lodash <https://lodash.com/>
142
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
143
- * Released under MIT license <https://lodash.com/license>
144
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
145
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
146
- */
147
-
148
- /**
149
- * MapLibre GL JS
150
- * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.1.2/LICENSE.txt
151
- */
152
-
153
- /**
154
- * [js-sha256]{@link https://github.com/emn178/js-sha256}
155
- *
156
- * @version 0.11.0
157
- * @author Chen, Yi-Cyuan [emn178@gmail.com]
158
- * @copyright Chen, Yi-Cyuan 2014-2024
159
- * @license MIT
160
- */
161
-
162
- /**
163
- @license
164
- Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
165
- This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
166
- The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
167
- The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
168
- Code distributed by Google as part of the polymer project is also
169
- subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
170
- */
171
-
172
- /**!
173
- * url-search-params-polyfill
174
- *
175
- * @author Jerry Bendy (https://github.com/jerrybendy)
176
- * @licence MIT
177
- */
178
-
179
- //! moment.js
180
-
181
- //! moment.js locale configuration