@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.
package/dist/bundle.js CHANGED
@@ -29,7 +29,7 @@
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:452fe880fd2e35799556, chunkhash:69e60e74e788408c97e3, name:bundle, version:v3.0.0
32
+ * hash:0ae3dd49b2e011513986, chunkhash:dd64a885c9392c17795a, name:bundle, version:v3.0.1
33
33
  */
34
34
  module.exports =
35
35
  /******/ (function(modules) { // webpackBootstrap
@@ -477,7 +477,7 @@ function hasTrait(Subject, TraitClass) {
477
477
  "use strict";
478
478
  __webpack_require__.r(__webpack_exports__);
479
479
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return CrudBase; });
480
- /* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(68);
480
+ /* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(69);
481
481
  /* harmony import */ var _ResourceBase__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6);
482
482
  /* harmony import */ var _utils_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(0);
483
483
  /*
@@ -728,6 +728,7 @@ __webpack_require__.d(__webpack_exports__, "JobType", function() { return /* ree
728
728
  __webpack_require__.d(__webpack_exports__, "Language", function() { return /* reexport */ Language["default"]; });
729
729
  __webpack_require__.d(__webpack_exports__, "Layer", function() { return /* reexport */ Layer["default"]; });
730
730
  __webpack_require__.d(__webpack_exports__, "LayerFaq", function() { return /* reexport */ LayerFaq_LayerFaq; });
731
+ __webpack_require__.d(__webpack_exports__, "LayerGroup", function() { return /* reexport */ LayerGroup["default"]; });
731
732
  __webpack_require__.d(__webpack_exports__, "Mapstyle", function() { return /* reexport */ Mapstyle["default"]; });
732
733
  __webpack_require__.d(__webpack_exports__, "MapstyleSet", function() { return /* reexport */ MapstyleSet["default"]; });
733
734
  __webpack_require__.d(__webpack_exports__, "Message", function() { return /* reexport */ Message["default"]; });
@@ -1060,6 +1061,9 @@ class LayerFaq_LayerFaq extends CrudSetItemBase["default"] {
1060
1061
  }
1061
1062
 
1062
1063
  }
1064
+ // EXTERNAL MODULE: ./src/resources/LayerGroup.js
1065
+ var LayerGroup = __webpack_require__(67);
1066
+
1063
1067
  // EXTERNAL MODULE: ./src/resources/Mapstyle.js
1064
1068
  var Mapstyle = __webpack_require__(44);
1065
1069
 
@@ -1406,6 +1410,7 @@ class VectorChoropleth_VectorChoropleth extends ResourceBase["default"] {
1406
1410
 
1407
1411
 
1408
1412
 
1413
+
1409
1414
 
1410
1415
 
1411
1416
  /**
@@ -2294,7 +2299,7 @@ __webpack_require__.r(__webpack_exports__);
2294
2299
  /* harmony import */ var _errors_AbstractError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11);
2295
2300
  /* harmony import */ var _Mapcreator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(26);
2296
2301
  /* harmony import */ var _proxy_SimpleResourceProxy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(18);
2297
- /* harmony import */ var _traits_Injectable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(69);
2302
+ /* harmony import */ var _traits_Injectable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(70);
2298
2303
  /* harmony import */ var _utils_hash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29);
2299
2304
  /* harmony import */ var _utils_reflection__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1);
2300
2305
  /* harmony import */ var _utils_helpers__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(0);
@@ -5785,7 +5790,7 @@ var resources = __webpack_require__(3);
5785
5790
  var ResourceBase = __webpack_require__(6);
5786
5791
 
5787
5792
  // EXTERNAL MODULE: ./src/traits/Injectable.js
5788
- var Injectable = __webpack_require__(69);
5793
+ var Injectable = __webpack_require__(70);
5789
5794
 
5790
5795
  // EXTERNAL MODULE: ./src/utils/hash.js
5791
5796
  var hash = __webpack_require__(29);
@@ -5949,9 +5954,6 @@ var requests = __webpack_require__(5);
5949
5954
  var external_events_ = __webpack_require__(53);
5950
5955
  var external_events_default = /*#__PURE__*/__webpack_require__.n(external_events_);
5951
5956
 
5952
- // EXTERNAL MODULE: ./src/resources/LayerGroup.js
5953
- var LayerGroup = __webpack_require__(70);
5954
-
5955
5957
  // CONCATENATED MODULE: ./src/Mapcreator.js
5956
5958
  /*
5957
5959
  * BSD 3-Clause License
@@ -6003,7 +6005,6 @@ var LayerGroup = __webpack_require__(70);
6003
6005
 
6004
6006
 
6005
6007
 
6006
-
6007
6008
  /**
6008
6009
  * Base API class
6009
6010
  *
@@ -6494,7 +6495,7 @@ class Mapcreator_Mapcreator extends Object(reflection["mix"])(external_events_de
6494
6495
 
6495
6496
 
6496
6497
  get layerGroups() {
6497
- return this.static(LayerGroup["default"]);
6498
+ return this.static(resources["LayerGroup"]);
6498
6499
  }
6499
6500
  /**
6500
6501
  * Mapstyle accessor
@@ -9185,7 +9186,7 @@ __webpack_require__.r(__webpack_exports__);
9185
9186
  /* harmony import */ var _User__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(48);
9186
9187
  /* harmony import */ var _utils_helpers__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(0);
9187
9188
  /* harmony import */ var _utils_requests__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(5);
9188
- /* harmony import */ var _LayerGroup__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(70);
9189
+ /* harmony import */ var _LayerGroup__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(67);
9189
9190
  /*
9190
9191
  * BSD 3-Clause License
9191
9192
  *
@@ -11113,6 +11114,76 @@ class Role extends _base_CrudBase__WEBPACK_IMPORTED_MODULE_1__["default"] {
11113
11114
  /* 67 */
11114
11115
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11115
11116
 
11117
+ "use strict";
11118
+ __webpack_require__.r(__webpack_exports__);
11119
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return LayerGroup; });
11120
+ /* harmony import */ var _traits_OwnableResource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
11121
+ /* harmony import */ var _utils_reflection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
11122
+ /* harmony import */ var _Layer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
11123
+ /* harmony import */ var _base_CrudSetBase__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17);
11124
+ /* harmony import */ var _proxy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(68);
11125
+ /*
11126
+ * BSD 3-Clause License
11127
+ *
11128
+ * Copyright (c) 2020, Mapcreator
11129
+ * All rights reserved.
11130
+ *
11131
+ * Redistribution and use in source and binary forms, with or without
11132
+ * modification, are permitted provided that the following conditions are met:
11133
+ *
11134
+ * Redistributions of source code must retain the above copyright notice, this
11135
+ * list of conditions and the following disclaimer.
11136
+ *
11137
+ * Redistributions in binary form must reproduce the above copyright notice,
11138
+ * this list of conditions and the following disclaimer in the documentation
11139
+ * and/or other materials provided with the distribution.
11140
+ *
11141
+ * Neither the name of the copyright holder nor the names of its
11142
+ * contributors may be used to endorse or promote products derived from
11143
+ * this software without specific prior written permission.
11144
+ *
11145
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
11146
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
11147
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
11148
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
11149
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
11150
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
11151
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
11152
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
11153
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
11154
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11155
+ */
11156
+
11157
+
11158
+
11159
+
11160
+
11161
+ /**
11162
+ * LayerGroup
11163
+ * @extends CrudBase
11164
+ * @mixes OwnableResource
11165
+ * @mixes HandlesImages
11166
+ */
11167
+
11168
+ 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"]) {
11169
+ static get resourceName() {
11170
+ return 'layer-groups';
11171
+ }
11172
+
11173
+ get items() {
11174
+ return new _proxy__WEBPACK_IMPORTED_MODULE_4__["OwnedResourceProxy"](this.api, this, this._Child);
11175
+ }
11176
+
11177
+ get _Child() {
11178
+ return _Layer__WEBPACK_IMPORTED_MODULE_2__["default"];
11179
+ }
11180
+
11181
+ }
11182
+
11183
+ /***/ }),
11184
+ /* 68 */
11185
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
11186
+
11116
11187
  "use strict";
11117
11188
  __webpack_require__.r(__webpack_exports__);
11118
11189
  /* harmony import */ var _GeoResourceProxy__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(32);
@@ -11168,7 +11239,7 @@ __webpack_require__.r(__webpack_exports__);
11168
11239
 
11169
11240
 
11170
11241
  /***/ }),
11171
- /* 68 */
11242
+ /* 69 */
11172
11243
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11173
11244
 
11174
11245
  "use strict";
@@ -11282,7 +11353,7 @@ var GeoError = __webpack_require__(31);
11282
11353
 
11283
11354
 
11284
11355
  /***/ }),
11285
- /* 69 */
11356
+ /* 70 */
11286
11357
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11287
11358
 
11288
11359
  "use strict";
@@ -11526,76 +11597,6 @@ class Injectable extends _Trait__WEBPACK_IMPORTED_MODULE_2__["default"] {
11526
11597
 
11527
11598
  }
11528
11599
 
11529
- /***/ }),
11530
- /* 70 */
11531
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
11532
-
11533
- "use strict";
11534
- __webpack_require__.r(__webpack_exports__);
11535
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return LayerGroup; });
11536
- /* harmony import */ var _traits_OwnableResource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
11537
- /* harmony import */ var _utils_reflection__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
11538
- /* harmony import */ var _Layer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(22);
11539
- /* harmony import */ var _base_CrudSetBase__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(17);
11540
- /* harmony import */ var _proxy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(67);
11541
- /*
11542
- * BSD 3-Clause License
11543
- *
11544
- * Copyright (c) 2020, Mapcreator
11545
- * All rights reserved.
11546
- *
11547
- * Redistribution and use in source and binary forms, with or without
11548
- * modification, are permitted provided that the following conditions are met:
11549
- *
11550
- * Redistributions of source code must retain the above copyright notice, this
11551
- * list of conditions and the following disclaimer.
11552
- *
11553
- * Redistributions in binary form must reproduce the above copyright notice,
11554
- * this list of conditions and the following disclaimer in the documentation
11555
- * and/or other materials provided with the distribution.
11556
- *
11557
- * Neither the name of the copyright holder nor the names of its
11558
- * contributors may be used to endorse or promote products derived from
11559
- * this software without specific prior written permission.
11560
- *
11561
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
11562
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
11563
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
11564
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
11565
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
11566
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
11567
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
11568
- * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
11569
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
11570
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11571
- */
11572
-
11573
-
11574
-
11575
-
11576
-
11577
- /**
11578
- * LayerGroup
11579
- * @extends CrudBase
11580
- * @mixes OwnableResource
11581
- * @mixes HandlesImages
11582
- */
11583
-
11584
- 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"]) {
11585
- static get resourceName() {
11586
- return 'layer-groups';
11587
- }
11588
-
11589
- get items() {
11590
- return new _proxy__WEBPACK_IMPORTED_MODULE_4__["OwnedResourceProxy"](this.api, this, this._Child);
11591
- }
11592
-
11593
- get _Child() {
11594
- return _Layer__WEBPACK_IMPORTED_MODULE_2__["default"];
11595
- }
11596
-
11597
- }
11598
-
11599
11600
  /***/ }),
11600
11601
  /* 71 */
11601
11602
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -12649,10 +12650,10 @@ var ResourceLister = __webpack_require__(59);
12649
12650
  var geo = __webpack_require__(56);
12650
12651
 
12651
12652
  // EXTERNAL MODULE: ./src/errors/index.js + 1 modules
12652
- var errors = __webpack_require__(68);
12653
+ var errors = __webpack_require__(69);
12653
12654
 
12654
12655
  // EXTERNAL MODULE: ./src/proxy/index.js
12655
- var proxy = __webpack_require__(67);
12656
+ var proxy = __webpack_require__(68);
12656
12657
 
12657
12658
  // CONCATENATED MODULE: ./src/index.js
12658
12659
  /*
@@ -12725,7 +12726,7 @@ var proxy = __webpack_require__(67);
12725
12726
  * @private
12726
12727
  */
12727
12728
 
12728
- const version = "v3.0.0";
12729
+ const version = "v3.0.1";
12729
12730
 
12730
12731
  /***/ })
12731
12732
  /******/ ]);