@mapcreator/api 3.0.0 → 3.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.
@@ -29,11 +29,11 @@
29
29
  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
30
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
31
  *
32
- * hash:98130e43e661d32774d4, chunkhash:d61d2a0248e2844d3b5f, name:bundle.browser, version:v3.0.0
32
+ * hash:5412b93737e4696bbbfa, chunkhash:307464330dbd0ffbe2ca, name:bundle.browser, version:v3.0.1
33
33
  */
34
34
  /*!
35
35
  * This bundle contains the following packages:
36
- * └─ @mapcreator/api (3.0.0) ── BSD 3-clause "New" or "Revised" License (http://www.opensource.org/licenses/BSD-3-Clause) ── package.json
36
+ * └─ @mapcreator/api (3.0.1) ── BSD 3-clause "New" or "Revised" License (http://www.opensource.org/licenses/BSD-3-Clause) ── package.json
37
37
  * ├─ @babel/runtime (7.10.2) ── MIT License (http://www.opensource.org/licenses/MIT) ── node_modules/@babel/runtime/package.json
38
38
  * │ └─ regenerator-runtime (0.13.5) ── MIT License (http://www.opensource.org/licenses/MIT) ── node_modules/@babel/runtime ~ regenerator-runtime/package.json
39
39
  * ├─ case (1.6.3) ── mit or gpl 3.0 or later ── node_modules/case/package.json
@@ -510,7 +510,7 @@ function hasTrait(Subject, TraitClass) {
510
510
  "use strict";
511
511
  __webpack_require__.r(__webpack_exports__);
512
512
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return CrudBase; });
513
- /* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68);
513
+ /* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69);
514
514
  /* harmony import */ var _ResourceBase__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
515
515
  /* harmony import */ var _utils_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
516
516
  /*
@@ -761,6 +761,7 @@ __webpack_require__.d(__webpack_exports__, "JobType", function() { return /* ree
761
761
  __webpack_require__.d(__webpack_exports__, "Language", function() { return /* reexport */ Language["default"]; });
762
762
  __webpack_require__.d(__webpack_exports__, "Layer", function() { return /* reexport */ Layer["default"]; });
763
763
  __webpack_require__.d(__webpack_exports__, "LayerFaq", function() { return /* reexport */ LayerFaq_LayerFaq; });
764
+ __webpack_require__.d(__webpack_exports__, "LayerGroup", function() { return /* reexport */ LayerGroup["default"]; });
764
765
  __webpack_require__.d(__webpack_exports__, "Mapstyle", function() { return /* reexport */ Mapstyle["default"]; });
765
766
  __webpack_require__.d(__webpack_exports__, "MapstyleSet", function() { return /* reexport */ MapstyleSet["default"]; });
766
767
  __webpack_require__.d(__webpack_exports__, "Message", function() { return /* reexport */ Message["default"]; });
@@ -1093,6 +1094,9 @@ class LayerFaq_LayerFaq extends CrudSetItemBase["default"] {
1093
1094
  }
1094
1095
 
1095
1096
  }
1097
+ // EXTERNAL MODULE: ./src/resources/LayerGroup.js
1098
+ var LayerGroup = __webpack_require__(67);
1099
+
1096
1100
  // EXTERNAL MODULE: ./src/resources/Mapstyle.js
1097
1101
  var Mapstyle = __webpack_require__(44);
1098
1102
 
@@ -1439,6 +1443,7 @@ class VectorChoropleth_VectorChoropleth extends ResourceBase["default"] {
1439
1443
 
1440
1444
 
1441
1445
 
1446
+
1442
1447
 
1443
1448
 
1444
1449
  /**
@@ -2327,7 +2332,7 @@ __webpack_require__.r(__webpack_exports__);
2327
2332
  /* harmony import */ var _errors_AbstractError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11);
2328
2333
  /* harmony import */ var _Mapcreator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26);
2329
2334
  /* harmony import */ var _proxy_SimpleResourceProxy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(18);
2330
- /* harmony import */ var _traits_Injectable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(69);
2335
+ /* harmony import */ var _traits_Injectable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(70);
2331
2336
  /* harmony import */ var _utils_hash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29);
2332
2337
  /* harmony import */ var _utils_reflection__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1);
2333
2338
  /* harmony import */ var _utils_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0);
@@ -6002,7 +6007,7 @@ var resources = __webpack_require__(3);
6002
6007
  var ResourceBase = __webpack_require__(6);
6003
6008
 
6004
6009
  // EXTERNAL MODULE: ./src/traits/Injectable.js
6005
- var Injectable = __webpack_require__(69);
6010
+ var Injectable = __webpack_require__(70);
6006
6011
 
6007
6012
  // EXTERNAL MODULE: ./src/utils/hash.js
6008
6013
  var hash = __webpack_require__(29);
@@ -6166,9 +6171,6 @@ var requests = __webpack_require__(5);
6166
6171
  var events = __webpack_require__(52);
6167
6172
  var events_default = /*#__PURE__*/__webpack_require__.n(events);
6168
6173
 
6169
- // EXTERNAL MODULE: ./src/resources/LayerGroup.js
6170
- var LayerGroup = __webpack_require__(70);
6171
-
6172
6174
  // CONCATENATED MODULE: ./src/Mapcreator.js
6173
6175
  /*
6174
6176
  * BSD 3-Clause License
@@ -6220,7 +6222,6 @@ var LayerGroup = __webpack_require__(70);
6220
6222
 
6221
6223
 
6222
6224
 
6223
-
6224
6225
  /**
6225
6226
  * Base API class
6226
6227
  *
@@ -6711,7 +6712,7 @@ class Mapcreator_Mapcreator extends Object(reflection["mix"])(events_default.a,
6711
6712
 
6712
6713
 
6713
6714
  get layerGroups() {
6714
- return this.static(LayerGroup["default"]);
6715
+ return this.static(resources["LayerGroup"]);
6715
6716
  }
6716
6717
  /**
6717
6718
  * Mapstyle accessor
@@ -10364,7 +10365,7 @@ __webpack_require__.r(__webpack_exports__);
10364
10365
  /* harmony import */ var _User__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(48);
10365
10366
  /* harmony import */ var _utils_helpers__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(0);
10366
10367
  /* harmony import */ var _utils_requests__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(5);
10367
- /* harmony import */ var _LayerGroup__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(70);
10368
+ /* harmony import */ var _LayerGroup__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(67);
10368
10369
  /*
10369
10370
  * BSD 3-Clause License
10370
10371
  *
@@ -12292,6 +12293,76 @@ class Role extends _base_CrudBase__WEBPACK_IMPORTED_MODULE_1__["default"] {
12292
12293
  /* 67 */
12293
12294
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12294
12295
 
12296
+ "use strict";
12297
+ __webpack_require__.r(__webpack_exports__);
12298
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return LayerGroup; });
12299
+ /* harmony import */ var _traits_OwnableResource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
12300
+ /* harmony import */ var _utils_reflection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
12301
+ /* harmony import */ var _Layer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
12302
+ /* harmony import */ var _base_CrudSetBase__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17);
12303
+ /* harmony import */ var _proxy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68);
12304
+ /*
12305
+ * BSD 3-Clause License
12306
+ *
12307
+ * Copyright (c) 2020, Mapcreator
12308
+ * All rights reserved.
12309
+ *
12310
+ * Redistribution and use in source and binary forms, with or without
12311
+ * modification, are permitted provided that the following conditions are met:
12312
+ *
12313
+ * Redistributions of source code must retain the above copyright notice, this
12314
+ * list of conditions and the following disclaimer.
12315
+ *
12316
+ * Redistributions in binary form must reproduce the above copyright notice,
12317
+ * this list of conditions and the following disclaimer in the documentation
12318
+ * and/or other materials provided with the distribution.
12319
+ *
12320
+ * Neither the name of the copyright holder nor the names of its
12321
+ * contributors may be used to endorse or promote products derived from
12322
+ * this software without specific prior written permission.
12323
+ *
12324
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
12325
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
12326
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
12327
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
12328
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
12329
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
12330
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
12331
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
12332
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
12333
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12334
+ */
12335
+
12336
+
12337
+
12338
+
12339
+
12340
+ /**
12341
+ * LayerGroup
12342
+ * @extends CrudBase
12343
+ * @mixes OwnableResource
12344
+ * @mixes HandlesImages
12345
+ */
12346
+
12347
+ class LayerGroup extends Object(_utils_reflection__WEBPACK_IMPORTED_MODULE_1__["mix"])(_base_CrudSetBase__WEBPACK_IMPORTED_MODULE_3__["default"], _traits_OwnableResource__WEBPACK_IMPORTED_MODULE_0__["default"]) {
12348
+ static get resourceName() {
12349
+ return 'layer-groups';
12350
+ }
12351
+
12352
+ get items() {
12353
+ return new _proxy__WEBPACK_IMPORTED_MODULE_4__["OwnedResourceProxy"](this.api, this, this._Child);
12354
+ }
12355
+
12356
+ get _Child() {
12357
+ return _Layer__WEBPACK_IMPORTED_MODULE_2__["default"];
12358
+ }
12359
+
12360
+ }
12361
+
12362
+ /***/ }),
12363
+ /* 68 */
12364
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
12365
+
12295
12366
  "use strict";
12296
12367
  __webpack_require__.r(__webpack_exports__);
12297
12368
  /* harmony import */ var _GeoResourceProxy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
@@ -12347,7 +12418,7 @@ __webpack_require__.r(__webpack_exports__);
12347
12418
 
12348
12419
 
12349
12420
  /***/ }),
12350
- /* 68 */
12421
+ /* 69 */
12351
12422
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12352
12423
 
12353
12424
  "use strict";
@@ -12461,7 +12532,7 @@ var GeoError = __webpack_require__(31);
12461
12532
 
12462
12533
 
12463
12534
  /***/ }),
12464
- /* 69 */
12535
+ /* 70 */
12465
12536
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12466
12537
 
12467
12538
  "use strict";
@@ -12705,76 +12776,6 @@ class Injectable extends _Trait__WEBPACK_IMPORTED_MODULE_2__["default"] {
12705
12776
 
12706
12777
  }
12707
12778
 
12708
- /***/ }),
12709
- /* 70 */
12710
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
12711
-
12712
- "use strict";
12713
- __webpack_require__.r(__webpack_exports__);
12714
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return LayerGroup; });
12715
- /* harmony import */ var _traits_OwnableResource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
12716
- /* harmony import */ var _utils_reflection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
12717
- /* harmony import */ var _Layer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
12718
- /* harmony import */ var _base_CrudSetBase__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17);
12719
- /* harmony import */ var _proxy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(67);
12720
- /*
12721
- * BSD 3-Clause License
12722
- *
12723
- * Copyright (c) 2020, Mapcreator
12724
- * All rights reserved.
12725
- *
12726
- * Redistribution and use in source and binary forms, with or without
12727
- * modification, are permitted provided that the following conditions are met:
12728
- *
12729
- * Redistributions of source code must retain the above copyright notice, this
12730
- * list of conditions and the following disclaimer.
12731
- *
12732
- * Redistributions in binary form must reproduce the above copyright notice,
12733
- * this list of conditions and the following disclaimer in the documentation
12734
- * and/or other materials provided with the distribution.
12735
- *
12736
- * Neither the name of the copyright holder nor the names of its
12737
- * contributors may be used to endorse or promote products derived from
12738
- * this software without specific prior written permission.
12739
- *
12740
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
12741
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
12742
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
12743
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
12744
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
12745
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
12746
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
12747
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
12748
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
12749
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12750
- */
12751
-
12752
-
12753
-
12754
-
12755
-
12756
- /**
12757
- * LayerGroup
12758
- * @extends CrudBase
12759
- * @mixes OwnableResource
12760
- * @mixes HandlesImages
12761
- */
12762
-
12763
- class LayerGroup extends Object(_utils_reflection__WEBPACK_IMPORTED_MODULE_1__["mix"])(_base_CrudSetBase__WEBPACK_IMPORTED_MODULE_3__["default"], _traits_OwnableResource__WEBPACK_IMPORTED_MODULE_0__["default"]) {
12764
- static get resourceName() {
12765
- return 'layer-groups';
12766
- }
12767
-
12768
- get items() {
12769
- return new _proxy__WEBPACK_IMPORTED_MODULE_4__["OwnedResourceProxy"](this.api, this, this._Child);
12770
- }
12771
-
12772
- get _Child() {
12773
- return _Layer__WEBPACK_IMPORTED_MODULE_2__["default"];
12774
- }
12775
-
12776
- }
12777
-
12778
12779
  /***/ }),
12779
12780
  /* 71 */
12780
12781
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -14360,10 +14361,10 @@ var ResourceLister = __webpack_require__(59);
14360
14361
  var geo = __webpack_require__(56);
14361
14362
 
14362
14363
  // EXTERNAL MODULE: ./src/errors/index.js + 1 modules
14363
- var errors = __webpack_require__(68);
14364
+ var errors = __webpack_require__(69);
14364
14365
 
14365
14366
  // EXTERNAL MODULE: ./src/proxy/index.js
14366
- var proxy = __webpack_require__(67);
14367
+ var proxy = __webpack_require__(68);
14367
14368
 
14368
14369
  // CONCATENATED MODULE: ./src/index.js
14369
14370
  /*
@@ -14436,7 +14437,7 @@ var proxy = __webpack_require__(67);
14436
14437
  * @private
14437
14438
  */
14438
14439
 
14439
- const version = "v3.0.0";
14440
+ const version = "v3.0.1";
14440
14441
 
14441
14442
  /***/ })
14442
14443
  /******/ ]);