@basemaps/landing 6.29.0 → 6.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/build/__tests__/config.debug.test.js +1 -0
- package/build/__tests__/config.debug.test.js.map +1 -0
- package/build/__tests__/config.test.js +1 -0
- package/build/__tests__/config.test.js.map +1 -0
- package/build/__tests__/geojson.test.js +1 -0
- package/build/__tests__/geojson.test.js.map +1 -0
- package/build/__tests__/map.config.test.js +10 -9
- package/build/__tests__/map.config.test.js.map +1 -0
- package/build/__tests__/tile.matrix.test.js +1 -0
- package/build/__tests__/tile.matrix.test.js.map +1 -0
- package/build/attribution.d.ts +4 -4
- package/build/attribution.d.ts.map +1 -1
- package/build/attribution.js +3 -1
- package/build/attribution.js.map +1 -0
- package/build/components/copyable.js +1 -0
- package/build/components/copyable.js.map +1 -0
- package/build/components/debug.d.ts +15 -10
- package/build/components/debug.d.ts.map +1 -1
- package/build/components/debug.js +57 -31
- package/build/components/debug.js.map +1 -0
- package/build/components/layer.switcher.dropdown.d.ts +0 -6
- package/build/components/layer.switcher.dropdown.d.ts.map +1 -1
- package/build/components/layer.switcher.dropdown.js +16 -24
- package/build/components/layer.switcher.dropdown.js.map +1 -0
- package/build/components/layout.footer.js +1 -0
- package/build/components/layout.footer.js.map +1 -0
- package/build/components/layout.header.d.ts.map +1 -1
- package/build/components/layout.header.js +2 -6
- package/build/components/layout.header.js.map +1 -0
- package/build/components/link.js +1 -0
- package/build/components/link.js.map +1 -0
- package/build/components/map.d.ts +8 -5
- package/build/components/map.d.ts.map +1 -1
- package/build/components/map.js +12 -10
- package/build/components/map.js.map +1 -0
- package/build/components/map.switcher.d.ts +1 -2
- package/build/components/map.switcher.d.ts.map +1 -1
- package/build/components/map.switcher.js +3 -1
- package/build/components/map.switcher.js.map +1 -0
- package/build/config.d.ts +0 -1
- package/build/config.d.ts.map +1 -1
- package/build/config.debug.d.ts +3 -1
- package/build/config.debug.d.ts.map +1 -1
- package/build/config.debug.js +3 -0
- package/build/config.debug.js.map +1 -0
- package/build/config.js +1 -4
- package/build/config.js.map +1 -0
- package/build/config.map.d.ts +3 -1
- package/build/config.map.d.ts.map +1 -1
- package/build/config.map.js +39 -6
- package/build/config.map.js.map +1 -0
- package/build/global.d.ts +1 -2
- package/build/global.d.ts.map +1 -1
- package/build/global.js +1 -0
- package/build/global.js.map +1 -0
- package/build/index.js +1 -0
- package/build/index.js.map +1 -0
- package/build/tile.matrix.d.ts +2 -2
- package/build/tile.matrix.d.ts.map +1 -1
- package/build/tile.matrix.js +1 -0
- package/build/tile.matrix.js.map +1 -0
- package/build/url.d.ts.map +1 -1
- package/build/url.js +3 -5
- package/build/url.js.map +1 -0
- package/build/webp.js +1 -0
- package/build/webp.js.map +1 -0
- package/dist/examples/index.openlayers.attribution.wmts.3857.html +1 -1
- package/dist/index-6.30.0-3328a19b1b63f913.js +28520 -0
- package/dist/{index-6.29.0-f61958521df787d6.css → index-6.30.0-467e63869a31f2e1.css} +1 -1
- package/dist/index-6.30.0-7bdec3e7d1c65337.js +567 -0
- package/dist/index.css +1 -1
- package/dist/index.html +2 -2
- package/dist/index.js +69 -77
- package/dist/lib/{attribution-6.29.0-431936fcac8e2647.js → attribution-6.30.0-431936fcac8e2647.js} +0 -0
- package/dist/lib/{attribution-6.29.0-a5dcb359f35150b9.js → attribution-6.30.0-a5dcb359f35150b9.js} +0 -0
- package/package.json +6 -8
- package/build/split.d.ts +0 -11
- package/build/split.d.ts.map +0 -1
- package/build/split.js +0 -45
- package/dist/index-6.29.0-053c6b9b5e501b18.js +0 -575
- package/dist/index-6.29.0-433a0509539c3f0c.js +0 -35288
package/dist/lib/{attribution-6.29.0-431936fcac8e2647.js → attribution-6.30.0-431936fcac8e2647.js}
RENAMED
|
File without changes
|
package/dist/lib/{attribution-6.29.0-a5dcb359f35150b9.js → attribution-6.30.0-a5dcb359f35150b9.js}
RENAMED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basemaps/landing",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.30.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/linz/basemaps.git",
|
|
@@ -30,14 +30,13 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@basemaps/attribution": "^6.28.1",
|
|
32
32
|
"@basemaps/geo": "^6.28.1",
|
|
33
|
-
"@basemaps/infra": "^6.
|
|
34
|
-
"@basemaps/shared": "^6.
|
|
33
|
+
"@basemaps/infra": "^6.30.0",
|
|
34
|
+
"@basemaps/shared": "^6.30.0",
|
|
35
35
|
"@linzjs/lui": "^10.11.3",
|
|
36
36
|
"@servie/events": "^3.0.0",
|
|
37
|
-
"@splitsoftware/splitio": "^10.16.1",
|
|
38
37
|
"@types/geojson": "^7946.0.7",
|
|
39
38
|
"@types/proj4": "^2.5.0",
|
|
40
|
-
"maplibre-gl": "^
|
|
39
|
+
"maplibre-gl": "^2.1.9",
|
|
41
40
|
"mime-types": "^2.1.35",
|
|
42
41
|
"preact": "^10.5.15",
|
|
43
42
|
"proj4": "^2.6.2",
|
|
@@ -83,8 +82,7 @@
|
|
|
83
82
|
"entry": "src/index.tsx",
|
|
84
83
|
"env": {
|
|
85
84
|
"GOOGLE_ANALYTICS": null,
|
|
86
|
-
"TILE_HOST": null
|
|
87
|
-
"SPLIT_IO_KEY": null
|
|
85
|
+
"TILE_HOST": null
|
|
88
86
|
},
|
|
89
87
|
"platform": "browser"
|
|
90
88
|
},
|
|
@@ -103,5 +101,5 @@
|
|
|
103
101
|
}
|
|
104
102
|
}
|
|
105
103
|
],
|
|
106
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "c4858d318fd769e086a11e8b2a8f052b54964aab"
|
|
107
105
|
}
|
package/build/split.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare enum SplitTreatment {
|
|
2
|
-
LayerSwitcherButton = "layer-switcher-button"
|
|
3
|
-
}
|
|
4
|
-
export declare const SplitIo: {
|
|
5
|
-
client: Promise<import("@splitsoftware/splitio/types/splitio").IClient | null> | null;
|
|
6
|
-
_client: import("@splitsoftware/splitio/types/splitio").IClient | null;
|
|
7
|
-
getClient(): Promise<SplitIO.IClient | null>;
|
|
8
|
-
getClientSync(): SplitIO.IClient | null;
|
|
9
|
-
getTreatment(key: SplitTreatment): string | null;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=split.d.ts.map
|
package/build/split.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"split.d.ts","sourceRoot":"","sources":["../src/split.ts"],"names":[],"mappings":"AAGA,oBAAY,cAAc;IACxB,mBAAmB,0BAA0B;CAC9C;AAED,eAAO,MAAM,OAAO;;;iBAIL,QAAQ,QAAQ,OAAO,GAAG,IAAI,CAAC;qBAwB3B,QAAQ,OAAO,GAAG,IAAI;sBAMrB,cAAc,GAAG,MAAM,GAAG,IAAI;CAKjD,CAAC"}
|
package/build/split.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { SplitFactory } from '@splitsoftware/splitio';
|
|
2
|
-
import { Config } from './config';
|
|
3
|
-
export var SplitTreatment;
|
|
4
|
-
(function (SplitTreatment) {
|
|
5
|
-
SplitTreatment["LayerSwitcherButton"] = "layer-switcher-button";
|
|
6
|
-
})(SplitTreatment || (SplitTreatment = {}));
|
|
7
|
-
export const SplitIo = {
|
|
8
|
-
client: null,
|
|
9
|
-
_client: null,
|
|
10
|
-
getClient() {
|
|
11
|
-
if (this.client != null)
|
|
12
|
-
return this.client;
|
|
13
|
-
if (Config.SplitApiKey === '') {
|
|
14
|
-
this.client = Promise.resolve(null);
|
|
15
|
-
return this.client;
|
|
16
|
-
}
|
|
17
|
-
const factory = SplitFactory({
|
|
18
|
-
core: {
|
|
19
|
-
authorizationKey: Config.SplitApiKey,
|
|
20
|
-
key: Config.ApiKey,
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
this.client = new Promise((resolve) => {
|
|
24
|
-
const client = factory.client();
|
|
25
|
-
client.on(client.Event.SDK_READY, () => {
|
|
26
|
-
SplitIo._client = client;
|
|
27
|
-
resolve(client);
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
return this.client;
|
|
31
|
-
},
|
|
32
|
-
getClientSync() {
|
|
33
|
-
if (this._client)
|
|
34
|
-
return this._client;
|
|
35
|
-
this.getClient();
|
|
36
|
-
return null;
|
|
37
|
-
},
|
|
38
|
-
getTreatment(key) {
|
|
39
|
-
const client = SplitIo.getClientSync();
|
|
40
|
-
if (client == null)
|
|
41
|
-
return null;
|
|
42
|
-
return client.getTreatment(key);
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
window.splitIo = SplitIo;
|