@abi-software/flatmapvuer 0.4.5 → 0.4.6-fixes-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/package-lock.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@abi-software/flatmapvuer",
3
- "version": "0.4.5",
3
+ "version": "0.4.6-fixes-1",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
7
7
  "@abi-software/flatmap-viewer": {
8
- "version": "2.3.2-b.4",
9
- "resolved": "https://registry.npmjs.org/@abi-software/flatmap-viewer/-/flatmap-viewer-2.3.2-b.4.tgz",
10
- "integrity": "sha512-2CNV160FBZZ0ERcaBwEJJERG1L4ZsWHnJuSkfeZDYbmX3HgeYBC9NaNwaYCVte2hyxUtlyzBAegRyTUUSZc5sA==",
8
+ "version": "2.3.4",
9
+ "resolved": "https://registry.npmjs.org/@abi-software/flatmap-viewer/-/flatmap-viewer-2.3.4.tgz",
10
+ "integrity": "sha512-p6xHf6sArnv5Cr0P9KwyPwI+rgTyL20KJVilbVAHiRCZ+zMCaNGpXctuwBHmOSpf7YfPku8U+OLHgMkAxTqdOA==",
11
11
  "requires": {
12
12
  "@babel/runtime": "^7.10.4",
13
13
  "@fortawesome/fontawesome-free": "^6.4.0",
@@ -1328,11 +1328,6 @@
1328
1328
  "resolved": "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz",
1329
1329
  "integrity": "sha512-rY0o9A5ECsTQRVhv7tL/OyDpGAoUB4tTvLiW1DSzQGq4bvTPhNw1VpSNjDJc5GFZ2XuyOtSWSVN05qOtcD71qQ=="
1330
1330
  },
1331
- "@mapbox/mapbox-gl-supported": {
1332
- "version": "2.0.1",
1333
- "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-2.0.1.tgz",
1334
- "integrity": "sha512-HP6XvfNIzfoMVfyGjBckjiAOQK9WfX0ywdLubuPMPv+Vqf5fj0uCbgBQYpiqcWZT6cbyyRnTSXDheT1ugvF6UQ=="
1335
- },
1336
1331
  "@mapbox/point-geometry": {
1337
1332
  "version": "0.1.0",
1338
1333
  "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz",
@@ -1361,6 +1356,28 @@
1361
1356
  "resolved": "https://registry.npmjs.org/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz",
1362
1357
  "integrity": "sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q=="
1363
1358
  },
1359
+ "@maplibre/maplibre-gl-style-spec": {
1360
+ "version": "19.2.1",
1361
+ "resolved": "https://registry.npmjs.org/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-19.2.1.tgz",
1362
+ "integrity": "sha512-ZVT5QlkVhlxlPav+ca0NO3Moc7EzbHDO2FXW4ic3Q0Vm+TDUw9I8A2EBws7xUUQZf7HQB3kQ+3Jsh5mFLRD4GQ==",
1363
+ "requires": {
1364
+ "@mapbox/jsonlint-lines-primitives": "~2.0.2",
1365
+ "@mapbox/point-geometry": "^0.1.0",
1366
+ "@mapbox/unitbezier": "^0.0.1",
1367
+ "@types/mapbox__point-geometry": "^0.1.2",
1368
+ "json-stringify-pretty-compact": "^3.0.0",
1369
+ "minimist": "^1.2.8",
1370
+ "rw": "^1.3.3",
1371
+ "sort-object": "^3.0.3"
1372
+ },
1373
+ "dependencies": {
1374
+ "minimist": {
1375
+ "version": "1.2.8",
1376
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
1377
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="
1378
+ }
1379
+ }
1380
+ },
1364
1381
  "@mrmlnc/readdir-enhanced": {
1365
1382
  "version": "2.2.1",
1366
1383
  "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz",
@@ -2599,8 +2616,7 @@
2599
2616
  "arr-union": {
2600
2617
  "version": "3.1.0",
2601
2618
  "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
2602
- "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=",
2603
- "dev": true
2619
+ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ="
2604
2620
  },
2605
2621
  "array-find-index": {
2606
2622
  "version": "1.0.2",
@@ -2713,8 +2729,7 @@
2713
2729
  "assign-symbols": {
2714
2730
  "version": "1.0.0",
2715
2731
  "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
2716
- "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=",
2717
- "dev": true
2732
+ "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c="
2718
2733
  },
2719
2734
  "astral-regex": {
2720
2735
  "version": "1.0.0",
@@ -3381,6 +3396,23 @@
3381
3396
  "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
3382
3397
  "dev": true
3383
3398
  },
3399
+ "bytewise": {
3400
+ "version": "1.1.0",
3401
+ "resolved": "https://registry.npmjs.org/bytewise/-/bytewise-1.1.0.tgz",
3402
+ "integrity": "sha512-rHuuseJ9iQ0na6UDhnrRVDh8YnWVlU6xM3VH6q/+yHDeUH2zIhUzP+2/h3LIrhLDBtTqzWpE3p3tP/boefskKQ==",
3403
+ "requires": {
3404
+ "bytewise-core": "^1.2.2",
3405
+ "typewise": "^1.0.3"
3406
+ }
3407
+ },
3408
+ "bytewise-core": {
3409
+ "version": "1.2.3",
3410
+ "resolved": "https://registry.npmjs.org/bytewise-core/-/bytewise-core-1.2.3.tgz",
3411
+ "integrity": "sha512-nZD//kc78OOxeYtRlVk8/zXqTB4gf/nlguL1ggWA8FuchMyOxcyHR4QPQZMUmA7czC+YnaBrPUCubqAWe50DaA==",
3412
+ "requires": {
3413
+ "typewise-core": "^1.2"
3414
+ }
3415
+ },
3384
3416
  "cacache": {
3385
3417
  "version": "12.0.4",
3386
3418
  "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz",
@@ -4502,11 +4534,6 @@
4502
4534
  "integrity": "sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ==",
4503
4535
  "dev": true
4504
4536
  },
4505
- "csscolorparser": {
4506
- "version": "1.0.3",
4507
- "resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz",
4508
- "integrity": "sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w=="
4509
- },
4510
4537
  "cssesc": {
4511
4538
  "version": "3.0.0",
4512
4539
  "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
@@ -5867,7 +5894,6 @@
5867
5894
  "version": "3.0.2",
5868
5895
  "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
5869
5896
  "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=",
5870
- "dev": true,
5871
5897
  "requires": {
5872
5898
  "assign-symbols": "^1.0.0",
5873
5899
  "is-extendable": "^1.0.1"
@@ -5877,7 +5903,6 @@
5877
5903
  "version": "1.0.1",
5878
5904
  "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
5879
5905
  "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
5880
- "dev": true,
5881
5906
  "requires": {
5882
5907
  "is-plain-object": "^2.0.4"
5883
5908
  }
@@ -6433,8 +6458,7 @@
6433
6458
  "get-value": {
6434
6459
  "version": "2.0.6",
6435
6460
  "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
6436
- "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=",
6437
- "dev": true
6461
+ "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg="
6438
6462
  },
6439
6463
  "getpass": {
6440
6464
  "version": "0.1.7",
@@ -7581,8 +7605,7 @@
7581
7605
  "is-extendable": {
7582
7606
  "version": "0.1.1",
7583
7607
  "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
7584
- "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",
7585
- "dev": true
7608
+ "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik="
7586
7609
  },
7587
7610
  "is-extglob": {
7588
7611
  "version": "2.1.1",
@@ -7686,7 +7709,6 @@
7686
7709
  "version": "2.0.4",
7687
7710
  "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
7688
7711
  "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
7689
- "dev": true,
7690
7712
  "requires": {
7691
7713
  "isobject": "^3.0.1"
7692
7714
  }
@@ -7787,8 +7809,7 @@
7787
7809
  "isobject": {
7788
7810
  "version": "3.0.1",
7789
7811
  "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
7790
- "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",
7791
- "dev": true
7812
+ "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8="
7792
7813
  },
7793
7814
  "isstream": {
7794
7815
  "version": "0.1.2",
@@ -7871,6 +7892,11 @@
7871
7892
  "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=",
7872
7893
  "dev": true
7873
7894
  },
7895
+ "json-stringify-pretty-compact": {
7896
+ "version": "3.0.0",
7897
+ "resolved": "https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-3.0.0.tgz",
7898
+ "integrity": "sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA=="
7899
+ },
7874
7900
  "json-stringify-safe": {
7875
7901
  "version": "5.0.1",
7876
7902
  "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
@@ -7912,9 +7938,9 @@
7912
7938
  }
7913
7939
  },
7914
7940
  "kdbush": {
7915
- "version": "3.0.0",
7916
- "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz",
7917
- "integrity": "sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew=="
7941
+ "version": "4.0.2",
7942
+ "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-4.0.2.tgz",
7943
+ "integrity": "sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA=="
7918
7944
  },
7919
7945
  "killable": {
7920
7946
  "version": "1.0.1",
@@ -8186,32 +8212,32 @@
8186
8212
  }
8187
8213
  },
8188
8214
  "maplibre-gl": {
8189
- "version": "2.4.0",
8190
- "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-2.4.0.tgz",
8191
- "integrity": "sha512-csNFylzntPmHWidczfgCZpvbTSmhaWvLRj9e1ezUDBEPizGgshgm3ea1T5TCNEEBq0roauu7BPuRZjA3wO4KqA==",
8215
+ "version": "3.0.1",
8216
+ "resolved": "https://registry.npmjs.org/maplibre-gl/-/maplibre-gl-3.0.1.tgz",
8217
+ "integrity": "sha512-OdFpejEkvaDwwVT9qAn6oA2h7093VlemaenF2/ssfD3TadNPz5oIVPzywn3cgso5i1D7IMKvEpba0A8A5qvXow==",
8192
8218
  "requires": {
8193
8219
  "@mapbox/geojson-rewind": "^0.5.2",
8194
8220
  "@mapbox/jsonlint-lines-primitives": "^2.0.2",
8195
- "@mapbox/mapbox-gl-supported": "^2.0.1",
8196
8221
  "@mapbox/point-geometry": "^0.1.0",
8197
- "@mapbox/tiny-sdf": "^2.0.5",
8222
+ "@mapbox/tiny-sdf": "^2.0.6",
8198
8223
  "@mapbox/unitbezier": "^0.0.1",
8199
8224
  "@mapbox/vector-tile": "^1.3.1",
8200
8225
  "@mapbox/whoots-js": "^3.1.0",
8226
+ "@maplibre/maplibre-gl-style-spec": "^19.2.1",
8201
8227
  "@types/geojson": "^7946.0.10",
8202
8228
  "@types/mapbox__point-geometry": "^0.1.2",
8203
8229
  "@types/mapbox__vector-tile": "^1.3.0",
8204
8230
  "@types/pbf": "^3.0.2",
8205
- "csscolorparser": "~1.0.3",
8206
8231
  "earcut": "^2.2.4",
8207
8232
  "geojson-vt": "^3.2.1",
8208
8233
  "gl-matrix": "^3.4.3",
8209
8234
  "global-prefix": "^3.0.0",
8235
+ "kdbush": "^4.0.2",
8210
8236
  "murmurhash-js": "^1.0.0",
8211
8237
  "pbf": "^3.2.1",
8212
- "potpack": "^1.0.2",
8238
+ "potpack": "^2.0.0",
8213
8239
  "quickselect": "^2.0.0",
8214
- "supercluster": "^7.1.5",
8240
+ "supercluster": "^8.0.1",
8215
8241
  "tinyqueue": "^2.0.3",
8216
8242
  "vt-pbf": "^3.1.3"
8217
8243
  }
@@ -10567,9 +10593,9 @@
10567
10593
  "dev": true
10568
10594
  },
10569
10595
  "potpack": {
10570
- "version": "1.0.2",
10571
- "resolved": "https://registry.npmjs.org/potpack/-/potpack-1.0.2.tgz",
10572
- "integrity": "sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ=="
10596
+ "version": "2.0.0",
10597
+ "resolved": "https://registry.npmjs.org/potpack/-/potpack-2.0.0.tgz",
10598
+ "integrity": "sha512-Q+/tYsFU9r7xoOJ+y/ZTtdVQwTWfzjbiXBDMM/JKUux3+QPP02iUuIoeBQ+Ot6oEDlC+/PGjB/5A3K7KKb7hcw=="
10573
10599
  },
10574
10600
  "prelude-ls": {
10575
10601
  "version": "1.1.2",
@@ -11295,6 +11321,11 @@
11295
11321
  "aproba": "^1.1.1"
11296
11322
  }
11297
11323
  },
11324
+ "rw": {
11325
+ "version": "1.3.3",
11326
+ "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz",
11327
+ "integrity": "sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ=="
11328
+ },
11298
11329
  "rxjs": {
11299
11330
  "version": "6.6.7",
11300
11331
  "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz",
@@ -11694,7 +11725,6 @@
11694
11725
  "version": "2.0.1",
11695
11726
  "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
11696
11727
  "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
11697
- "dev": true,
11698
11728
  "requires": {
11699
11729
  "extend-shallow": "^2.0.1",
11700
11730
  "is-extendable": "^0.1.1",
@@ -11706,7 +11736,6 @@
11706
11736
  "version": "2.0.1",
11707
11737
  "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
11708
11738
  "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
11709
- "dev": true,
11710
11739
  "requires": {
11711
11740
  "is-extendable": "^0.1.0"
11712
11741
  }
@@ -12000,6 +12029,16 @@
12000
12029
  }
12001
12030
  }
12002
12031
  },
12032
+ "sort-asc": {
12033
+ "version": "0.2.0",
12034
+ "resolved": "https://registry.npmjs.org/sort-asc/-/sort-asc-0.2.0.tgz",
12035
+ "integrity": "sha512-umMGhjPeHAI6YjABoSTrFp2zaBtXBej1a0yKkuMUyjjqu6FJsTF+JYwCswWDg+zJfk/5npWUUbd33HH/WLzpaA=="
12036
+ },
12037
+ "sort-desc": {
12038
+ "version": "0.2.0",
12039
+ "resolved": "https://registry.npmjs.org/sort-desc/-/sort-desc-0.2.0.tgz",
12040
+ "integrity": "sha512-NqZqyvL4VPW+RAxxXnB8gvE1kyikh8+pR+T+CXLksVRN9eiQqkQlPwqWYU0mF9Jm7UnctShlxLyAt1CaBOTL1w=="
12041
+ },
12003
12042
  "sort-keys": {
12004
12043
  "version": "1.1.2",
12005
12044
  "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz",
@@ -12017,6 +12056,19 @@
12017
12056
  }
12018
12057
  }
12019
12058
  },
12059
+ "sort-object": {
12060
+ "version": "3.0.3",
12061
+ "resolved": "https://registry.npmjs.org/sort-object/-/sort-object-3.0.3.tgz",
12062
+ "integrity": "sha512-nK7WOY8jik6zaG9CRwZTaD5O7ETWDLZYMM12pqY8htll+7dYeqGfEUPcUBHOpSJg2vJOrvFIY2Dl5cX2ih1hAQ==",
12063
+ "requires": {
12064
+ "bytewise": "^1.1.0",
12065
+ "get-value": "^2.0.2",
12066
+ "is-extendable": "^0.1.1",
12067
+ "sort-asc": "^0.2.0",
12068
+ "sort-desc": "^0.2.0",
12069
+ "union-value": "^1.0.1"
12070
+ }
12071
+ },
12020
12072
  "source-list-map": {
12021
12073
  "version": "2.0.1",
12022
12074
  "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz",
@@ -12138,7 +12190,6 @@
12138
12190
  "version": "3.1.0",
12139
12191
  "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
12140
12192
  "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",
12141
- "dev": true,
12142
12193
  "requires": {
12143
12194
  "extend-shallow": "^3.0.0"
12144
12195
  }
@@ -12409,11 +12460,11 @@
12409
12460
  }
12410
12461
  },
12411
12462
  "supercluster": {
12412
- "version": "7.1.5",
12413
- "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.5.tgz",
12414
- "integrity": "sha512-EulshI3pGUM66o6ZdH3ReiFcvHpM3vAigyK+vcxdjpJyEbIIrtbmBdY23mGgnI24uXiGFvrGq9Gkum/8U7vJWg==",
12463
+ "version": "8.0.1",
12464
+ "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-8.0.1.tgz",
12465
+ "integrity": "sha512-IiOea5kJ9iqzD2t7QJq/cREyLHTtSmUT6gQsweojg9WH2sYJqZK9SswTu6jrscO6D1G5v5vYZ9ru/eq85lXeZQ==",
12415
12466
  "requires": {
12416
- "kdbush": "^3.0.0"
12467
+ "kdbush": "^4.0.2"
12417
12468
  }
12418
12469
  },
12419
12470
  "supports-color": {
@@ -12894,6 +12945,19 @@
12894
12945
  "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
12895
12946
  "dev": true
12896
12947
  },
12948
+ "typewise": {
12949
+ "version": "1.0.3",
12950
+ "resolved": "https://registry.npmjs.org/typewise/-/typewise-1.0.3.tgz",
12951
+ "integrity": "sha512-aXofE06xGhaQSPzt8hlTY+/YWQhm9P0jYUp1f2XtmW/3Bk0qzXcyFWAtPoo2uTGQj1ZwbDuSyuxicq+aDo8lCQ==",
12952
+ "requires": {
12953
+ "typewise-core": "^1.2.0"
12954
+ }
12955
+ },
12956
+ "typewise-core": {
12957
+ "version": "1.2.0",
12958
+ "resolved": "https://registry.npmjs.org/typewise-core/-/typewise-core-1.2.0.tgz",
12959
+ "integrity": "sha512-2SCC/WLzj2SbUwzFOzqMCkz5amXLlxtJqDKTICqg30x+2DZxcfZN2MvQZmGfXWKNWaKK9pBPsvkcwv8bF/gxKg=="
12960
+ },
12897
12961
  "uglify-js": {
12898
12962
  "version": "3.4.10",
12899
12963
  "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz",
@@ -12956,7 +13020,6 @@
12956
13020
  "version": "1.0.1",
12957
13021
  "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
12958
13022
  "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
12959
- "dev": true,
12960
13023
  "requires": {
12961
13024
  "arr-union": "^3.1.0",
12962
13025
  "get-value": "^2.0.6",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmapvuer",
3
- "version": "0.4.5",
3
+ "version": "0.4.6-fixes-1",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/flatmapvuer.common.js",
6
6
  "files": [
@@ -22,7 +22,7 @@
22
22
  "lint": "vue-cli-service lint"
23
23
  },
24
24
  "dependencies": {
25
- "@abi-software/flatmap-viewer": "^2.3.2-b.4",
25
+ "@abi-software/flatmap-viewer": "^2.3.3-b.4",
26
26
  "@abi-software/svg-sprite": "^0.1.14",
27
27
  "core-js": "^3.3.2",
28
28
  "css-element-queries": "^1.2.2",
package/src/App.vue CHANGED
@@ -163,7 +163,7 @@ export default {
163
163
  position:absolute;
164
164
  }
165
165
 
166
- .mapboxgl-ctrl-top-left .mapboxgl-ctrl {
166
+ .maplibregl-ctrl-top-left .maplibregl-ctrl {
167
167
  margin-top:120px;
168
168
  }
169
169
 
@@ -191,7 +191,7 @@ body {
191
191
  margin: 0px;
192
192
  }
193
193
 
194
- .mapboxgl-ctrl-top-left .mapboxgl-ctrl {
194
+ .maplibregl-ctrl-top-left .maplibregl-ctrl {
195
195
  margin-top:120px;
196
196
  }
197
197
 
@@ -539,10 +539,10 @@ export default {
539
539
  // Below is a hack to remove flatmap tooltips while popup is open
540
540
  let ftooltip = document.querySelector(".flatmap-tooltip-popup");
541
541
  if (ftooltip) ftooltip.style.display = "none";
542
- document.querySelector(".mapboxgl-popup-close-button").style.display =
542
+ document.querySelector(".maplibregl-popup-close-button").style.display =
543
543
  "block";
544
544
  this.$refs.tooltip.$el.style.display = "flex";
545
- document.querySelector(".mapboxgl-popup-close-button").onclick = () => {
545
+ document.querySelector(".maplibregl-popup-close-button").onclick = () => {
546
546
  document.querySelector(".flatmap-tooltip-popup").style.display =
547
547
  "block";
548
548
  };
@@ -607,16 +607,16 @@ export default {
607
607
  },
608
608
  showToolitip: function(tooltipNumber) {
609
609
  if (!this.inHelp) {
610
- clearTimeout(this.tooltipWait);
611
- this.tooltipWait = setTimeout(() => {
610
+ clearTimeout(this.tooltipWait[tooltipNumber]);
611
+ this.tooltipWait[tooltipNumber] = setTimeout(() => {
612
612
  this.hoverVisibilities[tooltipNumber].value = true;
613
613
  }, 500);
614
614
  }
615
615
  },
616
616
  hideToolitip: function(tooltipNumber) {
617
617
  if (!this.inHelp) {
618
- clearTimeout(this.tooltipWait);
619
- this.tooltipWait = setTimeout(() => {
618
+ clearTimeout(this.tooltipWait[tooltipNumber]);
619
+ this.tooltipWait[tooltipNumber] = setTimeout(() => {
620
620
  this.hoverVisibilities[tooltipNumber].value = false;
621
621
  }, 500);
622
622
  }
@@ -641,7 +641,7 @@ export default {
641
641
  },
642
642
  closeFlatmapHelpPopup: function() {
643
643
  this.$el
644
- .querySelectorAll(".mapboxgl-popup-close-button")
644
+ .querySelectorAll(".maplibregl-popup-close-button")
645
645
  .forEach(item => {
646
646
  item.click();
647
647
  });
@@ -1017,6 +1017,8 @@ export default {
1017
1017
  },
1018
1018
  mounted: function() {
1019
1019
  const flatmap = require("@abi-software/flatmap-viewer");
1020
+ this.tooltipWait = [];
1021
+ this.tooltipWait.length = this.hoverVisibilities.length;
1020
1022
  this.mapManager = new flatmap.MapManager(this.flatmapAPI);
1021
1023
  this.flatmapQueries = new FlatmapQueries();
1022
1024
  this.flatmapQueries.initialise(this.sparcAPI, this.flatmapAPI);
@@ -1155,13 +1157,13 @@ export default {
1155
1157
  display: none;
1156
1158
  }
1157
1159
 
1158
- ::v-deep .mapboxgl-popup {
1160
+ ::v-deep .maplibregl-popup {
1159
1161
  max-width: 300px !important;
1160
1162
  }
1161
1163
 
1162
1164
  ::v-deep .flatmap-tooltip-popup {
1163
- &.mapboxgl-popup-anchor-bottom {
1164
- .mapboxgl-popup-content {
1165
+ &.maplibregl-popup-anchor-bottom {
1166
+ .maplibregl-popup-content {
1165
1167
  margin-bottom: 12px;
1166
1168
  &::after,
1167
1169
  &::before {
@@ -1180,8 +1182,8 @@ export default {
1180
1182
  }
1181
1183
  }
1182
1184
  }
1183
- &.mapboxgl-popup-anchor-top {
1184
- .mapboxgl-popup-content {
1185
+ &.maplibregl-popup-anchor-top {
1186
+ .maplibregl-popup-content {
1185
1187
  margin-top: 18px;
1186
1188
  &::after,
1187
1189
  &::before {
@@ -1199,7 +1201,7 @@ export default {
1199
1201
  }
1200
1202
  }
1201
1203
  }
1202
- .mapboxgl-popup-content {
1204
+ .maplibregl-popup-content {
1203
1205
  border-radius: 4px;
1204
1206
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
1205
1207
  pointer-events: none;
@@ -1222,12 +1224,12 @@ export default {
1222
1224
  flex-shrink: 0;
1223
1225
  }
1224
1226
  }
1225
- .mapboxgl-popup-tip {
1227
+ .maplibregl-popup-tip {
1226
1228
  display: none;
1227
1229
  }
1228
1230
  }
1229
1231
 
1230
- ::v-deep .mapboxgl-popup {
1232
+ ::v-deep .maplibregl-popup {
1231
1233
  &.flatmap-marker-popup {
1232
1234
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
1233
1235
  pointer-events: auto;
@@ -1238,25 +1240,25 @@ export default {
1238
1240
  /* Fix for chrome bug where under triangle pops up above one on top of it */
1239
1241
  .selector:not(*:root),
1240
1242
  ::v-deep.flatmap-tooltip-popup {
1241
- .mapboxgl-popup-content::after {
1243
+ .maplibregl-popup-content::after {
1242
1244
  top: 99.9%;
1243
1245
  }
1244
1246
  }
1245
1247
 
1246
1248
  ::v-deep .flatmap-tooltip-dialog {
1247
- .mapboxgl-popup-tip {
1249
+ .maplibregl-popup-tip {
1248
1250
  display: none;
1249
1251
  }
1250
1252
  }
1251
1253
 
1252
1254
  ::v-deep .flatmap-marker-popup {
1253
- .mapboxgl-popup-content {
1255
+ .maplibregl-popup-content {
1254
1256
  padding: 0px;
1255
1257
  }
1256
1258
  }
1257
1259
 
1258
1260
  ::v-deep .flatmapvuer-popover {
1259
- .mapboxgl-popup-close-button {
1261
+ .maplibregl-popup-close-button {
1260
1262
  position: absolute;
1261
1263
  right: 0.5em;
1262
1264
  top: 0;
@@ -1357,7 +1359,7 @@ export default {
1357
1359
  @media (max-width: 1250px) {
1358
1360
  height: 125px !important;// important is needed here as we are over-riding the style set by the flatmap
1359
1361
  width: 180px !important;
1360
- >>> .maplibregl-canvas .mapboxgl-canvas {
1362
+ >>> .maplibregl-canvas .maplibregl-canvas {
1361
1363
  height: 125px !important;
1362
1364
  width: 180px !important;
1363
1365
  }
@@ -1365,7 +1367,7 @@ export default {
1365
1367
  @media (min-width: 1251px) {
1366
1368
  height: 190px !important;
1367
1369
  width: 300px !important;
1368
- >>> .maplibregl-canvas .mapboxgl-canvas {
1370
+ >>> .maplibregl-canvas .maplibregl-canvas {
1369
1371
  height: 190px !important;
1370
1372
  width: 300px !important;
1371
1373
  }
@@ -1446,10 +1448,10 @@ export default {
1446
1448
  }
1447
1449
 
1448
1450
  ::v-deep .flatmap-popup-popper {
1449
- .mapboxgl-popup-tip {
1451
+ .maplibregl-popup-tip {
1450
1452
  border-bottom-color: $app-primary-color;
1451
1453
  }
1452
- .mapboxgl-popup-content {
1454
+ .maplibregl-popup-content {
1453
1455
  padding: 6px 4px;
1454
1456
  font-size: 12px;
1455
1457
  color: rgb(48, 49, 51);
@@ -1457,7 +1459,7 @@ export default {
1457
1459
  border: 1px solid $app-primary-color;
1458
1460
  white-space: nowrap;
1459
1461
  min-width: unset;
1460
- .mapboxgl-popup-close-button {
1462
+ .maplibregl-popup-close-button {
1461
1463
  display: none;
1462
1464
  }
1463
1465
  }
@@ -1474,7 +1476,7 @@ export default {
1474
1476
  }
1475
1477
  }
1476
1478
 
1477
- ::v-deep .mapboxgl-popup-content {
1479
+ ::v-deep .maplibregl-popup-content {
1478
1480
  padding: 0px;
1479
1481
  }
1480
1482
 
@@ -1537,7 +1539,7 @@ export default {
1537
1539
  }
1538
1540
  }
1539
1541
 
1540
- ::v-deep .mapboxgl-canvas-container {
1542
+ ::v-deep .maplibregl-canvas-container {
1541
1543
  canvas {
1542
1544
  outline: none;
1543
1545
  }
@@ -1569,10 +1571,10 @@ export default {
1569
1571
  }
1570
1572
 
1571
1573
  ::v-deep .custom-popup {
1572
- .mapboxgl-popup-tip {
1574
+ .maplibregl-popup-tip {
1573
1575
  display: none;
1574
1576
  }
1575
- .mapboxgl-popup-content {
1577
+ .maplibregl-popup-content {
1576
1578
  border-radius: 4px;
1577
1579
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
1578
1580
  pointer-events: none;
@@ -1599,12 +1601,12 @@ export default {
1599
1601
  border-style: solid;
1600
1602
  flex-shrink: 0;
1601
1603
  }
1602
- .mapboxgl-popup-close-button {
1604
+ .maplibregl-popup-close-button {
1603
1605
  display: none;
1604
1606
  }
1605
1607
  }
1606
- &.mapboxgl-popup-anchor-bottom {
1607
- .mapboxgl-popup-content {
1608
+ &.maplibregl-popup-anchor-bottom {
1609
+ .maplibregl-popup-content {
1608
1610
  margin-bottom: 12px;
1609
1611
  &::after,
1610
1612
  &::before {
@@ -1623,8 +1625,8 @@ export default {
1623
1625
  }
1624
1626
  }
1625
1627
  }
1626
- &.mapboxgl-popup-anchor-top {
1627
- .mapboxgl-popup-content {
1628
+ &.maplibregl-popup-anchor-top {
1629
+ .maplibregl-popup-content {
1628
1630
  margin-top: 18px;
1629
1631
  &::after,
1630
1632
  &::before {
@@ -340,7 +340,7 @@ export default {
340
340
  }
341
341
  }
342
342
 
343
- .mapboxgl-popup-anchor-bottom {
343
+ .maplibregl-popup-anchor-bottom {
344
344
  .tooltip-container {
345
345
  &::after, &::before {
346
346
  top: 100%;
@@ -357,7 +357,7 @@ export default {
357
357
  }
358
358
  }
359
359
 
360
- .mapboxgl-popup-anchor-top {
360
+ .maplibregl-popup-anchor-top {
361
361
  .tooltip-container {
362
362
  &::after, &::before {
363
363
  top: -24px;