@supermapgis/vue-iclient-leaflet 11.2.1 → 11.3.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/dist/iclient-leaflet-vue.css +23 -9
- package/dist/iclient-leaflet-vue.js +21689 -44354
- package/dist/iclient-leaflet-vue.min.css +2 -2
- package/dist/iclient-leaflet-vue.min.js +39 -293
- package/lib/_assets/iconfont/icon-sm-components.css +21 -7
- package/lib/_assets/iconfont/icon-sm-components.ttf +0 -0
- package/lib/_assets/iconfont/icon-sm-components.woff +0 -0
- package/lib/_assets/iconfont/icon-sm-components.woff2 +0 -0
- package/lib/_lang/en.js +20 -8
- package/lib/_lang/index.js +18 -18
- package/lib/_lang/zh.js +20 -8
- package/lib/_mixin/AntdRender.js +15 -17
- package/lib/_mixin/Card.js +10 -11
- package/lib/_mixin/GridLayer.js +4 -4
- package/lib/_mixin/Layer.js +4 -4
- package/lib/_mixin/Options.js +2 -2
- package/lib/_mixin/Popper.js +2 -2
- package/lib/_mixin/Theme.js +13 -15
- package/lib/_mixin/ThirdService.js +15 -16
- package/lib/_mixin/TileLayer.js +4 -4
- package/lib/_mixin/Timer.js +8 -9
- package/lib/_mixin/VmUpdater.js +10 -11
- package/lib/_mixin/map-events.js +8 -9
- package/lib/_mixin/map-getter.js +13 -14
- package/lib/_types/AddressMatchParameter.js +2 -2
- package/lib/_types/GeoJSONParamter.js +2 -2
- package/lib/_types/RestDataParameter.js +5 -6
- package/lib/_types/RestMapParameter.js +5 -6
- package/lib/_types/RestParameter.js +2 -2
- package/lib/_types/event/BaseTypes.js +2 -2
- package/lib/_types/event/Event.js +4 -4
- package/lib/_types/event/Events.js +10 -10
- package/lib/_types/event/Pixel.js +2 -2
- package/lib/_types/event/Util.js +2 -2
- package/lib/_types/iPortalDataParameter.js +3 -2
- package/lib/_types/iServerBaseParameter.js +3 -2
- package/lib/_types/iServerDataParameter.js +5 -6
- package/lib/_types/iServerMapParameter.js +5 -6
- package/lib/_types/index.js +18 -18
- package/lib/_types/map-event.js +6 -6
- package/lib/_utils/EchartsDataService.js +24 -24
- package/lib/_utils/RestService.js +1345 -1149
- package/lib/_utils/epsg-define.js +45 -34
- package/lib/_utils/get-features.js +23 -10
- package/lib/_utils/global-event.js +6 -6
- package/lib/_utils/iPortalDataService.js +1368 -1147
- package/lib/_utils/iServerRestService.js +1518 -1269
- package/lib/_utils/props-binder.js +2 -2
- package/lib/_utils/statistics.js +8 -17
- package/lib/_utils/style/color/colorPalette.js +4 -4
- package/lib/_utils/style/color/serialColors.js +8 -8
- package/lib/_utils/style/theme/chart.js +1343 -1146
- package/lib/_utils/style/theme/set-theme.js +10 -10
- package/lib/_utils/style/theme/theme.json +6 -6
- package/lib/_utils/util.js +12 -12
- package/lib/_utils/vue-types/utils.js +2 -2
- package/lib/attribute-panel/style/attribute-panel.css +1 -0
- package/lib/attribute-panel/style/css.js +7 -0
- package/lib/attribute-panel/style/index.js +7 -0
- package/lib/avatar/index.js +25 -25
- package/lib/border/index.js +77 -77
- package/lib/breadcrumb/index.js +47 -41
- package/lib/button/index.js +53 -50
- package/lib/card/index.js +47 -41
- package/lib/chart/index.js +1437 -1238
- package/lib/checkbox/index.js +36 -33
- package/lib/collapse/index.js +39 -36
- package/lib/collapse-card/index.js +71 -76
- package/lib/color-picker/index.js +48 -49
- package/lib/date-picker/index.js +107 -95
- package/lib/dropdown/index.js +27 -27
- package/lib/empty/index.js +27 -27
- package/lib/icon/index.js +25 -25
- package/lib/identify/index.js +58 -59
- package/lib/iframe/index.js +31 -31
- package/lib/image/index.js +226 -42
- package/lib/image/style/image.css +1 -1
- package/lib/index.js +4 -4
- package/lib/indicator/index.js +70 -67
- package/lib/init.js +8 -8
- package/lib/input/index.js +150 -135
- package/lib/input-number/index.js +100 -97
- package/lib/layout/index.js +72 -60
- package/lib/liquid-fill/index.js +73 -73
- package/lib/marker/index.js +43 -44
- package/lib/menu/index.js +47 -41
- package/lib/message/index.js +3 -3
- package/lib/message/style/message.css +1 -1
- package/lib/modal/index.js +67 -67
- package/lib/modal/style/modal.css +1 -1
- package/lib/notification/index.js +6 -6
- package/lib/notification/style/notification.css +1 -1
- package/lib/pagination/index.js +34 -34
- package/lib/popup/index.js +45 -46
- package/lib/progress/index.js +440 -440
- package/lib/radio/index.js +48 -42
- package/lib/select/index.js +47 -41
- package/lib/slider/index.js +27 -27
- package/lib/slideshow/index.js +103 -160
- package/lib/spin/index.js +30 -30
- package/lib/steps/index.js +35 -32
- package/lib/switch/index.js +25 -25
- package/lib/table/index.js +50 -44
- package/lib/table/style/table.css +1 -1
- package/lib/table-popup/index.js +43 -37
- package/lib/table-popup/style/table-popup.css +1 -1
- package/lib/tabs/index.js +35 -32
- package/lib/text/index.js +39 -39
- package/lib/tile-layer/index.js +35 -36
- package/lib/time-line/index.js +41 -43
- package/lib/time-picker/index.js +27 -27
- package/lib/time-range/index.js +53 -55
- package/lib/time-slider/index.js +73 -75
- package/lib/time-text/index.js +31 -31
- package/lib/tooltip/index.js +25 -25
- package/lib/tooltip/style/tooltip.css +1 -0
- package/lib/transfer/index.js +27 -27
- package/lib/tree/index.js +48 -42
- package/lib/tree-select/index.js +37 -34
- package/lib/video-player/index.js +98 -97
- package/lib/video-player/style/video-player.css +1 -1
- package/lib/web-map/index.js +2336 -103
- package/package.json +2 -4
- package/src/common/_assets/iconfont/icon-sm-components.css +21 -7
- package/src/common/_assets/iconfont/icon-sm-components.ttf +0 -0
- package/src/common/_assets/iconfont/icon-sm-components.woff +0 -0
- package/src/common/_assets/iconfont/icon-sm-components.woff2 +0 -0
- package/src/common/_lang/en.js +19 -8
- package/src/common/_lang/zh.js +18 -6
- package/src/common/_mixin/Card.ts +1 -1
- package/src/common/_types/iPortalDataParameter.js +1 -0
- package/src/common/_types/iServerBaseParameter.ts +3 -0
- package/src/common/_utils/epsg-define.js +32 -27
- package/src/common/_utils/get-features.js +13 -2
- package/src/common/_utils/iPortalDataService.js +14 -3
- package/src/common/_utils/iServerRestService.js +144 -78
- package/src/common/_utils/statistics.js +6 -14
- package/src/common/_utils/style/theme/theme.json +6 -6
- package/src/common/attribute-panel/AttributePanel.vue +58 -0
- package/src/common/attribute-panel/__test__/AttributePanel.spec.js +39 -0
- package/src/common/attribute-panel/index.js +9 -0
- package/src/common/attribute-panel/style/attribute-panel.scss +35 -0
- package/src/common/attribute-panel/style/index.js +4 -0
- package/src/common/collapse-card/style/collapse-card.scss +2 -2
- package/src/common/iframe/Iframe.vue +1 -1
- package/src/common/image/Image.vue +68 -6
- package/src/common/image/style/image.scss +32 -0
- package/src/common/message/style/message.scss +1 -0
- package/src/common/modal/style/modal.scss +36 -0
- package/src/common/notification/style/notification.scss +9 -0
- package/src/common/slideshow/Slideshow.vue +42 -95
- package/src/common/slideshow/Swiper.js +1 -1
- package/src/common/table/style/table.scss +36 -0
- package/src/common/table-popup/TablePopup.vue +5 -0
- package/src/common/tooltip/style/tooltip.scss +3 -0
- package/src/common/video-player/style/video-player.scss +1 -1
- package/src/leaflet/entrys.json +0 -2
- package/src/leaflet/package.json +2 -4
- package/src/leaflet/web-map/WebMap.vue +4 -4
- package/src/leaflet/web-map/WebMapViewModel.ts +64 -17
- package/static/libs/iclient-common/iclient-common-webmapv2base.js +2 -0
- package/static/libs/iclient-common/iclient-common.js +1 -1
- package/static/libs/iclient-leaflet/iclient-leaflet.min.js +5 -1738
- package/lib/_assets/iconfont/icon-sm-components.eot +0 -0
- package/lib/_assets/iconfont/icon-sm-components.svg +0 -197
- package/lib/_mixin/WebMapBase.js +0 -3467
- package/lib/_utils/WebMapService.js +0 -1607
- package/src/common/_assets/iconfont/icon-sm-components.eot +0 -0
- package/src/common/_assets/iconfont/icon-sm-components.svg +0 -197
- package/src/common/_utils/WebMapService.ts +0 -1292
- package/src/common/web-map/WebMapBase.ts +0 -1178
- package/src/common/web-map/config/MunicipalCenter.json +0 -1
- package/src/common/web-map/config/ProvinceCenter.json +0 -1
package/lib/pagination/index.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 396);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -105,19 +105,20 @@ module.exports = require("@babel/runtime/helpers/interopRequireDefault");
|
|
|
105
105
|
// This module is a runtime utility for cleaner component module output and will
|
|
106
106
|
// be included in the final webpack user bundle.
|
|
107
107
|
|
|
108
|
-
function normalizeComponent(
|
|
108
|
+
function normalizeComponent (
|
|
109
109
|
scriptExports,
|
|
110
110
|
render,
|
|
111
111
|
staticRenderFns,
|
|
112
112
|
functionalTemplate,
|
|
113
113
|
injectStyles,
|
|
114
114
|
scopeId,
|
|
115
|
-
moduleIdentifier /* server only
|
|
115
|
+
moduleIdentifier, /* server only */
|
|
116
116
|
shadowMode /* vue-cli only */
|
|
117
117
|
) {
|
|
118
118
|
// Vue.extend constructor export interop
|
|
119
|
-
var options =
|
|
120
|
-
|
|
119
|
+
var options = typeof scriptExports === 'function'
|
|
120
|
+
? scriptExports.options
|
|
121
|
+
: scriptExports
|
|
121
122
|
|
|
122
123
|
// render functions
|
|
123
124
|
if (render) {
|
|
@@ -137,8 +138,7 @@ function normalizeComponent(
|
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
var hook
|
|
140
|
-
if (moduleIdentifier) {
|
|
141
|
-
// server build
|
|
141
|
+
if (moduleIdentifier) { // server build
|
|
142
142
|
hook = function (context) {
|
|
143
143
|
// 2.3 injection
|
|
144
144
|
context =
|
|
@@ -163,12 +163,7 @@ function normalizeComponent(
|
|
|
163
163
|
options._ssrRegister = hook
|
|
164
164
|
} else if (injectStyles) {
|
|
165
165
|
hook = shadowMode
|
|
166
|
-
? function () {
|
|
167
|
-
injectStyles.call(
|
|
168
|
-
this,
|
|
169
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
170
|
-
)
|
|
171
|
-
}
|
|
166
|
+
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
172
167
|
: injectStyles
|
|
173
168
|
}
|
|
174
169
|
|
|
@@ -177,16 +172,18 @@ function normalizeComponent(
|
|
|
177
172
|
// for template-only hot-reload because in that case the render fn doesn't
|
|
178
173
|
// go through the normalizer
|
|
179
174
|
options._injectStyles = hook
|
|
180
|
-
// register for
|
|
175
|
+
// register for functioal component in vue file
|
|
181
176
|
var originalRender = options.render
|
|
182
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
177
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
183
178
|
hook.call(context)
|
|
184
179
|
return originalRender(h, context)
|
|
185
180
|
}
|
|
186
181
|
} else {
|
|
187
182
|
// inject component registration as beforeCreate hook
|
|
188
183
|
var existing = options.beforeCreate
|
|
189
|
-
options.beforeCreate = existing
|
|
184
|
+
options.beforeCreate = existing
|
|
185
|
+
? [].concat(existing, hook)
|
|
186
|
+
: [hook]
|
|
190
187
|
}
|
|
191
188
|
}
|
|
192
189
|
|
|
@@ -199,19 +196,19 @@ function normalizeComponent(
|
|
|
199
196
|
|
|
200
197
|
/***/ }),
|
|
201
198
|
|
|
202
|
-
/***/
|
|
199
|
+
/***/ 152:
|
|
203
200
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
204
201
|
|
|
205
202
|
"use strict";
|
|
206
203
|
__webpack_require__.r(__webpack_exports__);
|
|
207
|
-
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_ref_0_1_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
204
|
+
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_ref_0_1_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(153);
|
|
208
205
|
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_ref_0_1_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_ref_0_1_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0__);
|
|
209
206
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_ref_0_1_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_ref_0_1_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
210
207
|
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_node_modules_ts_loader_index_js_ref_0_1_node_modules_vue_loader_lib_index_js_vue_loader_options_Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
211
208
|
|
|
212
209
|
/***/ }),
|
|
213
210
|
|
|
214
|
-
/***/
|
|
211
|
+
/***/ 153:
|
|
215
212
|
/***/ (function(module, exports, __webpack_require__) {
|
|
216
213
|
|
|
217
214
|
"use strict";
|
|
@@ -224,9 +221,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
224
221
|
});
|
|
225
222
|
exports.paginationTypes = exports.default = void 0;
|
|
226
223
|
|
|
227
|
-
var _index = _interopRequireDefault(__webpack_require__(
|
|
224
|
+
var _index = _interopRequireDefault(__webpack_require__(398));
|
|
228
225
|
|
|
229
|
-
var _Pagination = __webpack_require__(
|
|
226
|
+
var _Pagination = __webpack_require__(399);
|
|
230
227
|
|
|
231
228
|
var _Theme = _interopRequireDefault(__webpack_require__(2));
|
|
232
229
|
|
|
@@ -272,14 +269,7 @@ module.exports = require("@supermapgis/vue-iclient-leaflet/lib/init.js");
|
|
|
272
269
|
|
|
273
270
|
/***/ }),
|
|
274
271
|
|
|
275
|
-
/***/
|
|
276
|
-
/***/ (function(module, exports) {
|
|
277
|
-
|
|
278
|
-
module.exports = require("@supermapgis/vue-iclient-leaflet/lib/_mixin/AntdRender.js");
|
|
279
|
-
|
|
280
|
-
/***/ }),
|
|
281
|
-
|
|
282
|
-
/***/ 400:
|
|
272
|
+
/***/ 396:
|
|
283
273
|
/***/ (function(module, exports, __webpack_require__) {
|
|
284
274
|
|
|
285
275
|
"use strict";
|
|
@@ -292,7 +282,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
292
282
|
});
|
|
293
283
|
exports.default = void 0;
|
|
294
284
|
|
|
295
|
-
var _Pagination = _interopRequireDefault(__webpack_require__(
|
|
285
|
+
var _Pagination = _interopRequireDefault(__webpack_require__(397));
|
|
296
286
|
|
|
297
287
|
var _init = _interopRequireDefault(__webpack_require__(3));
|
|
298
288
|
|
|
@@ -305,12 +295,12 @@ var _default = exports.default = _Pagination.default;
|
|
|
305
295
|
|
|
306
296
|
/***/ }),
|
|
307
297
|
|
|
308
|
-
/***/
|
|
298
|
+
/***/ 397:
|
|
309
299
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
310
300
|
|
|
311
301
|
"use strict";
|
|
312
302
|
__webpack_require__.r(__webpack_exports__);
|
|
313
|
-
/* harmony import */ var _Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
303
|
+
/* harmony import */ var _Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(152);
|
|
314
304
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Pagination_vue_vue_type_script_lang_ts___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
315
305
|
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
316
306
|
var render, staticRenderFns
|
|
@@ -331,22 +321,32 @@ var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_
|
|
|
331
321
|
|
|
332
322
|
)
|
|
333
323
|
|
|
324
|
+
/* hot reload */
|
|
325
|
+
if (false) { var api; }
|
|
326
|
+
component.options.__file = "src/common/pagination/Pagination.vue"
|
|
334
327
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
335
328
|
|
|
336
329
|
/***/ }),
|
|
337
330
|
|
|
338
|
-
/***/
|
|
331
|
+
/***/ 398:
|
|
339
332
|
/***/ (function(module, exports) {
|
|
340
333
|
|
|
341
334
|
module.exports = require("ant-design-vue/es/pagination/index");
|
|
342
335
|
|
|
343
336
|
/***/ }),
|
|
344
337
|
|
|
345
|
-
/***/
|
|
338
|
+
/***/ 399:
|
|
346
339
|
/***/ (function(module, exports) {
|
|
347
340
|
|
|
348
341
|
module.exports = require("ant-design-vue/es/pagination/Pagination");
|
|
349
342
|
|
|
343
|
+
/***/ }),
|
|
344
|
+
|
|
345
|
+
/***/ 4:
|
|
346
|
+
/***/ (function(module, exports) {
|
|
347
|
+
|
|
348
|
+
module.exports = require("@supermapgis/vue-iclient-leaflet/lib/_mixin/AntdRender.js");
|
|
349
|
+
|
|
350
350
|
/***/ })
|
|
351
351
|
|
|
352
352
|
/******/ });
|
package/lib/popup/index.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 494);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -105,19 +105,20 @@ module.exports = require("@babel/runtime/helpers/interopRequireDefault");
|
|
|
105
105
|
// This module is a runtime utility for cleaner component module output and will
|
|
106
106
|
// be included in the final webpack user bundle.
|
|
107
107
|
|
|
108
|
-
function normalizeComponent(
|
|
108
|
+
function normalizeComponent (
|
|
109
109
|
scriptExports,
|
|
110
110
|
render,
|
|
111
111
|
staticRenderFns,
|
|
112
112
|
functionalTemplate,
|
|
113
113
|
injectStyles,
|
|
114
114
|
scopeId,
|
|
115
|
-
moduleIdentifier /* server only
|
|
115
|
+
moduleIdentifier, /* server only */
|
|
116
116
|
shadowMode /* vue-cli only */
|
|
117
117
|
) {
|
|
118
118
|
// Vue.extend constructor export interop
|
|
119
|
-
var options =
|
|
120
|
-
|
|
119
|
+
var options = typeof scriptExports === 'function'
|
|
120
|
+
? scriptExports.options
|
|
121
|
+
: scriptExports
|
|
121
122
|
|
|
122
123
|
// render functions
|
|
123
124
|
if (render) {
|
|
@@ -137,8 +138,7 @@ function normalizeComponent(
|
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
var hook
|
|
140
|
-
if (moduleIdentifier) {
|
|
141
|
-
// server build
|
|
141
|
+
if (moduleIdentifier) { // server build
|
|
142
142
|
hook = function (context) {
|
|
143
143
|
// 2.3 injection
|
|
144
144
|
context =
|
|
@@ -163,12 +163,7 @@ function normalizeComponent(
|
|
|
163
163
|
options._ssrRegister = hook
|
|
164
164
|
} else if (injectStyles) {
|
|
165
165
|
hook = shadowMode
|
|
166
|
-
? function () {
|
|
167
|
-
injectStyles.call(
|
|
168
|
-
this,
|
|
169
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
170
|
-
)
|
|
171
|
-
}
|
|
166
|
+
? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
|
172
167
|
: injectStyles
|
|
173
168
|
}
|
|
174
169
|
|
|
@@ -177,16 +172,18 @@ function normalizeComponent(
|
|
|
177
172
|
// for template-only hot-reload because in that case the render fn doesn't
|
|
178
173
|
// go through the normalizer
|
|
179
174
|
options._injectStyles = hook
|
|
180
|
-
// register for
|
|
175
|
+
// register for functioal component in vue file
|
|
181
176
|
var originalRender = options.render
|
|
182
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
177
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
183
178
|
hook.call(context)
|
|
184
179
|
return originalRender(h, context)
|
|
185
180
|
}
|
|
186
181
|
} else {
|
|
187
182
|
// inject component registration as beforeCreate hook
|
|
188
183
|
var existing = options.beforeCreate
|
|
189
|
-
options.beforeCreate = existing
|
|
184
|
+
options.beforeCreate = existing
|
|
185
|
+
? [].concat(existing, hook)
|
|
186
|
+
: [hook]
|
|
190
187
|
}
|
|
191
188
|
}
|
|
192
189
|
|
|
@@ -199,33 +196,33 @@ function normalizeComponent(
|
|
|
199
196
|
|
|
200
197
|
/***/ }),
|
|
201
198
|
|
|
202
|
-
/***/
|
|
199
|
+
/***/ 2:
|
|
203
200
|
/***/ (function(module, exports) {
|
|
204
201
|
|
|
205
|
-
module.exports = require("leaflet");
|
|
202
|
+
module.exports = require("@supermapgis/vue-iclient-leaflet/lib/_mixin/Theme.js");
|
|
206
203
|
|
|
207
204
|
/***/ }),
|
|
208
205
|
|
|
209
|
-
/***/
|
|
206
|
+
/***/ 21:
|
|
210
207
|
/***/ (function(module, exports) {
|
|
211
208
|
|
|
212
|
-
module.exports = require("
|
|
209
|
+
module.exports = require("leaflet");
|
|
213
210
|
|
|
214
211
|
/***/ }),
|
|
215
212
|
|
|
216
|
-
/***/
|
|
213
|
+
/***/ 230:
|
|
217
214
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
218
215
|
|
|
219
216
|
"use strict";
|
|
220
217
|
__webpack_require__.r(__webpack_exports__);
|
|
221
|
-
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
218
|
+
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(231);
|
|
222
219
|
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
|
|
223
220
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
224
221
|
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
225
222
|
|
|
226
223
|
/***/ }),
|
|
227
224
|
|
|
228
|
-
/***/
|
|
225
|
+
/***/ 231:
|
|
229
226
|
/***/ (function(module, exports, __webpack_require__) {
|
|
230
227
|
|
|
231
228
|
"use strict";
|
|
@@ -238,17 +235,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
238
235
|
});
|
|
239
236
|
exports.default = void 0;
|
|
240
237
|
|
|
241
|
-
var _Popper = _interopRequireDefault(__webpack_require__(
|
|
238
|
+
var _Popper = _interopRequireDefault(__webpack_require__(245));
|
|
242
239
|
|
|
243
|
-
var _Options = _interopRequireDefault(__webpack_require__(
|
|
240
|
+
var _Options = _interopRequireDefault(__webpack_require__(56));
|
|
244
241
|
|
|
245
|
-
var _VmUpdater = _interopRequireDefault(__webpack_require__(
|
|
242
|
+
var _VmUpdater = _interopRequireDefault(__webpack_require__(246));
|
|
246
243
|
|
|
247
244
|
var _Theme = _interopRequireDefault(__webpack_require__(2));
|
|
248
245
|
|
|
249
246
|
var _mapGetter = _interopRequireDefault(__webpack_require__(26));
|
|
250
247
|
|
|
251
|
-
var _PopupViewModel = _interopRequireDefault(__webpack_require__(
|
|
248
|
+
var _PopupViewModel = _interopRequireDefault(__webpack_require__(496));
|
|
252
249
|
|
|
253
250
|
var _default2 = exports.default = {
|
|
254
251
|
name: 'SmPopup',
|
|
@@ -351,7 +348,7 @@ var _default2 = exports.default = {
|
|
|
351
348
|
|
|
352
349
|
/***/ }),
|
|
353
350
|
|
|
354
|
-
/***/
|
|
351
|
+
/***/ 245:
|
|
355
352
|
/***/ (function(module, exports, __webpack_require__) {
|
|
356
353
|
|
|
357
354
|
"use strict";
|
|
@@ -395,7 +392,7 @@ var _default = exports.default = {
|
|
|
395
392
|
|
|
396
393
|
/***/ }),
|
|
397
394
|
|
|
398
|
-
/***/
|
|
395
|
+
/***/ 246:
|
|
399
396
|
/***/ (function(module, exports) {
|
|
400
397
|
|
|
401
398
|
module.exports = require("@supermapgis/vue-iclient-leaflet/lib/_mixin/VmUpdater.js");
|
|
@@ -416,7 +413,7 @@ module.exports = require("@supermapgis/vue-iclient-leaflet/lib/init.js");
|
|
|
416
413
|
|
|
417
414
|
/***/ }),
|
|
418
415
|
|
|
419
|
-
/***/
|
|
416
|
+
/***/ 30:
|
|
420
417
|
/***/ (function(module, exports, __webpack_require__) {
|
|
421
418
|
|
|
422
419
|
"use strict";
|
|
@@ -429,7 +426,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
429
426
|
});
|
|
430
427
|
exports.default = void 0;
|
|
431
428
|
|
|
432
|
-
var _leaflet = _interopRequireDefault(__webpack_require__(
|
|
429
|
+
var _leaflet = _interopRequireDefault(__webpack_require__(21));
|
|
433
430
|
|
|
434
431
|
// @property lastId: Number
|
|
435
432
|
// Last unique ID used by [`stamp()`](#util-stamp)
|
|
@@ -561,9 +558,9 @@ _leaflet.default.Map.include({
|
|
|
561
558
|
delete _leaflet.default.Icon.Default.prototype._getIconUrl;
|
|
562
559
|
|
|
563
560
|
_leaflet.default.Icon.Default.mergeOptions({
|
|
564
|
-
iconRetinaUrl: __webpack_require__(
|
|
565
|
-
iconUrl: __webpack_require__(
|
|
566
|
-
shadowUrl: __webpack_require__(
|
|
561
|
+
iconRetinaUrl: __webpack_require__(31),
|
|
562
|
+
iconUrl: __webpack_require__(32),
|
|
563
|
+
shadowUrl: __webpack_require__(33)
|
|
567
564
|
});
|
|
568
565
|
|
|
569
566
|
window.L = _leaflet.default;
|
|
@@ -572,28 +569,28 @@ var _default = exports.default = _leaflet.default;
|
|
|
572
569
|
|
|
573
570
|
/***/ }),
|
|
574
571
|
|
|
575
|
-
/***/
|
|
572
|
+
/***/ 31:
|
|
576
573
|
/***/ (function(module, exports) {
|
|
577
574
|
|
|
578
575
|
module.exports = require("leaflet/dist/images/marker-icon-2x.png");
|
|
579
576
|
|
|
580
577
|
/***/ }),
|
|
581
578
|
|
|
582
|
-
/***/
|
|
579
|
+
/***/ 32:
|
|
583
580
|
/***/ (function(module, exports) {
|
|
584
581
|
|
|
585
582
|
module.exports = require("leaflet/dist/images/marker-icon.png");
|
|
586
583
|
|
|
587
584
|
/***/ }),
|
|
588
585
|
|
|
589
|
-
/***/
|
|
586
|
+
/***/ 33:
|
|
590
587
|
/***/ (function(module, exports) {
|
|
591
588
|
|
|
592
589
|
module.exports = require("leaflet/dist/images/marker-shadow.png");
|
|
593
590
|
|
|
594
591
|
/***/ }),
|
|
595
592
|
|
|
596
|
-
/***/
|
|
593
|
+
/***/ 494:
|
|
597
594
|
/***/ (function(module, exports, __webpack_require__) {
|
|
598
595
|
|
|
599
596
|
"use strict";
|
|
@@ -606,7 +603,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
606
603
|
});
|
|
607
604
|
exports.default = void 0;
|
|
608
605
|
|
|
609
|
-
var _Popup = _interopRequireDefault(__webpack_require__(
|
|
606
|
+
var _Popup = _interopRequireDefault(__webpack_require__(495));
|
|
610
607
|
|
|
611
608
|
var _init = _interopRequireDefault(__webpack_require__(3));
|
|
612
609
|
|
|
@@ -619,12 +616,12 @@ var _default = exports.default = _Popup.default;
|
|
|
619
616
|
|
|
620
617
|
/***/ }),
|
|
621
618
|
|
|
622
|
-
/***/
|
|
619
|
+
/***/ 495:
|
|
623
620
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
624
621
|
|
|
625
622
|
"use strict";
|
|
626
623
|
__webpack_require__.r(__webpack_exports__);
|
|
627
|
-
/* harmony import */ var _Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
624
|
+
/* harmony import */ var _Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(230);
|
|
628
625
|
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _Popup_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
629
626
|
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1);
|
|
630
627
|
var render, staticRenderFns
|
|
@@ -645,11 +642,14 @@ var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_
|
|
|
645
642
|
|
|
646
643
|
)
|
|
647
644
|
|
|
645
|
+
/* hot reload */
|
|
646
|
+
if (false) { var api; }
|
|
647
|
+
component.options.__file = "src/leaflet/popup/Popup.vue"
|
|
648
648
|
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
649
649
|
|
|
650
650
|
/***/ }),
|
|
651
651
|
|
|
652
|
-
/***/
|
|
652
|
+
/***/ 496:
|
|
653
653
|
/***/ (function(module, exports, __webpack_require__) {
|
|
654
654
|
|
|
655
655
|
"use strict";
|
|
@@ -664,7 +664,7 @@ exports.default = void 0;
|
|
|
664
664
|
|
|
665
665
|
var _inheritsLoose2 = _interopRequireDefault(__webpack_require__(6));
|
|
666
666
|
|
|
667
|
-
var _leafletWrapper = _interopRequireDefault(__webpack_require__(
|
|
667
|
+
var _leafletWrapper = _interopRequireDefault(__webpack_require__(30));
|
|
668
668
|
|
|
669
669
|
/**
|
|
670
670
|
* @class PopupViewModel
|
|
@@ -672,8 +672,6 @@ var _leafletWrapper = _interopRequireDefault(__webpack_require__(33));
|
|
|
672
672
|
* @extends leaflet.Evented
|
|
673
673
|
*/
|
|
674
674
|
var PopupViewModel = exports.default = /*#__PURE__*/function (_L$Evented) {
|
|
675
|
-
(0, _inheritsLoose2.default)(PopupViewModel, _L$Evented);
|
|
676
|
-
|
|
677
675
|
function PopupViewModel(map, options) {
|
|
678
676
|
var _this;
|
|
679
677
|
|
|
@@ -694,6 +692,7 @@ var PopupViewModel = exports.default = /*#__PURE__*/function (_L$Evented) {
|
|
|
694
692
|
*/
|
|
695
693
|
|
|
696
694
|
|
|
695
|
+
(0, _inheritsLoose2.default)(PopupViewModel, _L$Evented);
|
|
697
696
|
var _proto = PopupViewModel.prototype;
|
|
698
697
|
|
|
699
698
|
_proto.createPopup = function createPopup() {
|
|
@@ -766,7 +765,7 @@ var PopupViewModel = exports.default = /*#__PURE__*/function (_L$Evented) {
|
|
|
766
765
|
|
|
767
766
|
/***/ }),
|
|
768
767
|
|
|
769
|
-
/***/
|
|
768
|
+
/***/ 56:
|
|
770
769
|
/***/ (function(module, exports, __webpack_require__) {
|
|
771
770
|
|
|
772
771
|
"use strict";
|