@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.4-beta
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/adddata/index.js +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +159 -227
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +288 -470
- package/clientPrint/index.js +333 -897
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +181 -252
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +297 -401
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +243 -382
- package/geologicalbodyanalysis/index.js +203 -287
- package/gpuspatialquery/index.js +240 -390
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +426 -733
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +7913 -16839
- package/isolineanalysis/index.js +554 -1231
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +339 -493
- package/modelFlat/index.js +202 -223
- package/modelexcavate/index.js +194 -251
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +180 -173
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +237 -328
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +273 -571
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9018 -17813
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +256 -436
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +200 -339
- package/slopeanalysis/index.js +270 -433
- package/slopeaspectanalysis/index.js +303 -523
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +218 -269
- package/terrainprofileanalysis/index.js +162 -171
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
package/adddata/index.js
CHANGED
|
@@ -7,128 +7,197 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/webmapservice"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/const-image")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/webmapservice"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/const-image"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__7338__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__, __WEBPACK_EXTERNAL_MODULE__4822__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 3275:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
|
-
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6363);
|
|
19
19
|
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
20
|
-
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
20
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(455);
|
|
21
21
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
-
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
|
+
*/
|
|
23
26
|
|
|
24
27
|
|
|
25
28
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
26
29
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
27
30
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
28
31
|
};
|
|
29
|
-
|
|
30
|
-
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
32
|
+
/* harmony default export */ __webpack_exports__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
33
|
|
|
32
34
|
/***/ }),
|
|
33
35
|
|
|
34
|
-
/***/
|
|
36
|
+
/***/ 9371:
|
|
35
37
|
/***/ (function(module) {
|
|
36
38
|
|
|
37
39
|
module.exports = require("@element-plus/icons-vue");
|
|
38
40
|
|
|
39
41
|
/***/ }),
|
|
40
42
|
|
|
41
|
-
/***/
|
|
43
|
+
/***/ 5698:
|
|
42
44
|
/***/ (function(module) {
|
|
43
45
|
|
|
44
46
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
45
47
|
|
|
46
48
|
/***/ }),
|
|
47
49
|
|
|
48
|
-
/***/
|
|
50
|
+
/***/ 2652:
|
|
51
|
+
/***/ (function(module) {
|
|
52
|
+
|
|
53
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
54
|
+
|
|
55
|
+
/***/ }),
|
|
56
|
+
|
|
57
|
+
/***/ 3658:
|
|
58
|
+
/***/ (function(module) {
|
|
59
|
+
|
|
60
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
61
|
+
|
|
62
|
+
/***/ }),
|
|
63
|
+
|
|
64
|
+
/***/ 4669:
|
|
65
|
+
/***/ (function(module) {
|
|
66
|
+
|
|
67
|
+
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
68
|
+
|
|
69
|
+
/***/ }),
|
|
70
|
+
|
|
71
|
+
/***/ 411:
|
|
72
|
+
/***/ (function(module) {
|
|
73
|
+
|
|
74
|
+
module.exports = require("core-js/modules/web.url-search-params.delete.js");
|
|
75
|
+
|
|
76
|
+
/***/ }),
|
|
77
|
+
|
|
78
|
+
/***/ 7168:
|
|
49
79
|
/***/ (function(module) {
|
|
50
80
|
|
|
51
|
-
module.exports = require("core-js/modules/
|
|
81
|
+
module.exports = require("core-js/modules/web.url-search-params.has.js");
|
|
52
82
|
|
|
53
83
|
/***/ }),
|
|
54
84
|
|
|
55
|
-
/***/
|
|
85
|
+
/***/ 6217:
|
|
86
|
+
/***/ (function(module) {
|
|
87
|
+
|
|
88
|
+
module.exports = require("core-js/modules/web.url-search-params.size.js");
|
|
89
|
+
|
|
90
|
+
/***/ }),
|
|
91
|
+
|
|
92
|
+
/***/ 6363:
|
|
56
93
|
/***/ (function(module) {
|
|
57
94
|
|
|
58
95
|
module.exports = require("element-plus/dist/index.full.js");
|
|
59
96
|
|
|
60
97
|
/***/ }),
|
|
61
98
|
|
|
62
|
-
/***/
|
|
99
|
+
/***/ 3579:
|
|
63
100
|
/***/ (function(module) {
|
|
64
101
|
|
|
65
102
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
66
103
|
|
|
67
104
|
/***/ }),
|
|
68
105
|
|
|
69
|
-
/***/
|
|
106
|
+
/***/ 4822:
|
|
70
107
|
/***/ (function(module) {
|
|
71
108
|
|
|
72
|
-
module.exports =
|
|
109
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4822__;
|
|
73
110
|
|
|
74
111
|
/***/ }),
|
|
75
112
|
|
|
76
|
-
/***/
|
|
113
|
+
/***/ 64:
|
|
77
114
|
/***/ (function(module) {
|
|
78
115
|
|
|
79
|
-
module.exports =
|
|
116
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
80
117
|
|
|
81
118
|
/***/ }),
|
|
82
119
|
|
|
83
|
-
/***/
|
|
120
|
+
/***/ 2975:
|
|
84
121
|
/***/ (function(module) {
|
|
85
122
|
|
|
86
|
-
module.exports =
|
|
123
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
87
124
|
|
|
88
125
|
/***/ }),
|
|
89
126
|
|
|
90
|
-
/***/
|
|
127
|
+
/***/ 7338:
|
|
91
128
|
/***/ (function(module) {
|
|
92
129
|
|
|
93
|
-
module.exports =
|
|
130
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7338__;
|
|
94
131
|
|
|
95
132
|
/***/ }),
|
|
96
133
|
|
|
97
|
-
/***/
|
|
134
|
+
/***/ 455:
|
|
98
135
|
/***/ (function(module) {
|
|
99
136
|
|
|
100
|
-
module.exports =
|
|
137
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
101
138
|
|
|
102
139
|
/***/ }),
|
|
103
140
|
|
|
104
|
-
/***/
|
|
141
|
+
/***/ 154:
|
|
105
142
|
/***/ (function(module) {
|
|
106
143
|
|
|
107
|
-
module.exports =
|
|
144
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
108
145
|
|
|
109
146
|
/***/ }),
|
|
110
147
|
|
|
111
|
-
/***/
|
|
148
|
+
/***/ 6913:
|
|
112
149
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
113
150
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
function
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
151
|
+
|
|
152
|
+
// EXPORTS
|
|
153
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
154
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
158
|
+
function _typeof(o) {
|
|
159
|
+
"@babel/helpers - typeof";
|
|
160
|
+
|
|
161
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
162
|
+
return typeof o;
|
|
163
|
+
} : function (o) {
|
|
164
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
165
|
+
}, _typeof(o);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
169
|
+
|
|
170
|
+
function toPrimitive(t, r) {
|
|
171
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
172
|
+
var e = t[Symbol.toPrimitive];
|
|
173
|
+
if (void 0 !== e) {
|
|
174
|
+
var i = e.call(t, r || "default");
|
|
175
|
+
if ("object" != _typeof(i)) return i;
|
|
176
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
127
177
|
}
|
|
178
|
+
return ("string" === r ? String : Number)(t);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
128
182
|
|
|
129
|
-
|
|
183
|
+
|
|
184
|
+
function toPropertyKey(t) {
|
|
185
|
+
var i = toPrimitive(t, "string");
|
|
186
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
130
187
|
}
|
|
131
188
|
|
|
189
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
190
|
+
|
|
191
|
+
function _defineProperty(e, r, t) {
|
|
192
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
193
|
+
value: t,
|
|
194
|
+
enumerable: !0,
|
|
195
|
+
configurable: !0,
|
|
196
|
+
writable: !0
|
|
197
|
+
}) : e[r] = t, e;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
|
|
132
201
|
/***/ })
|
|
133
202
|
|
|
134
203
|
/******/ });
|
|
@@ -200,38 +269,46 @@ function _defineProperty(obj, key, value) {
|
|
|
200
269
|
/******/
|
|
201
270
|
/************************************************************************/
|
|
202
271
|
var __webpack_exports__ = {};
|
|
203
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
204
|
-
!function() {
|
|
205
272
|
// ESM COMPAT FLAG
|
|
206
273
|
__webpack_require__.r(__webpack_exports__);
|
|
207
274
|
|
|
208
275
|
// EXPORTS
|
|
209
276
|
__webpack_require__.d(__webpack_exports__, {
|
|
210
|
-
|
|
277
|
+
AddDataViewModel: function() { return /* reexport */ AddDataViewModel; },
|
|
211
278
|
"default": function() { return /* reexport */ AddData; }
|
|
212
279
|
});
|
|
213
280
|
|
|
214
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.
|
|
215
|
-
var
|
|
281
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
282
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
283
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
284
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
285
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
286
|
+
var esnext_iterator_for_each_js_ = __webpack_require__(4669);
|
|
216
287
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
217
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
288
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
218
289
|
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
219
|
-
var icons_vue_ = __webpack_require__(
|
|
290
|
+
var icons_vue_ = __webpack_require__(9371);
|
|
220
291
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
221
|
-
var client_icons_vue_ = __webpack_require__(
|
|
292
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
222
293
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
223
|
-
var gis_utils_ = __webpack_require__(
|
|
224
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
225
|
-
var defineProperty = __webpack_require__(
|
|
294
|
+
var gis_utils_ = __webpack_require__(64);
|
|
295
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
296
|
+
var defineProperty = __webpack_require__(6913);
|
|
297
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.delete.js"
|
|
298
|
+
var web_url_search_params_delete_js_ = __webpack_require__(411);
|
|
299
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.has.js"
|
|
300
|
+
var web_url_search_params_has_js_ = __webpack_require__(7168);
|
|
301
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.size.js"
|
|
302
|
+
var web_url_search_params_size_js_ = __webpack_require__(6217);
|
|
226
303
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/webmapservice"
|
|
227
|
-
var webmapservice_ = __webpack_require__(
|
|
304
|
+
var webmapservice_ = __webpack_require__(7338);
|
|
228
305
|
var webmapservice_default = /*#__PURE__*/__webpack_require__.n(webmapservice_);
|
|
229
306
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
230
|
-
var util_ = __webpack_require__(
|
|
307
|
+
var util_ = __webpack_require__(2975);
|
|
231
308
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
232
|
-
var message = __webpack_require__(
|
|
309
|
+
var message = __webpack_require__(3275);
|
|
233
310
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
234
|
-
var const_image_ = __webpack_require__(
|
|
311
|
+
var const_image_ = __webpack_require__(4822);
|
|
235
312
|
;// CONCATENATED MODULE: external "papaparse"
|
|
236
313
|
var external_papaparse_namespaceObject = require("papaparse");
|
|
237
314
|
var external_papaparse_default = /*#__PURE__*/__webpack_require__.n(external_papaparse_namespaceObject);
|
|
@@ -241,17 +318,25 @@ var external_papaparse_default = /*#__PURE__*/__webpack_require__.n(external_pap
|
|
|
241
318
|
|
|
242
319
|
|
|
243
320
|
|
|
244
|
-
//添加数据逻辑类
|
|
245
321
|
|
|
246
|
-
class AddDataViewModel {
|
|
247
|
-
constructor(scenceView, options) {
|
|
248
|
-
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
249
322
|
|
|
250
|
-
|
|
323
|
+
/*
|
|
324
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
325
|
+
* All rights reserved.
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
251
331
|
|
|
252
|
-
(0,defineProperty/* default */.Z)(this, "_language", null);
|
|
253
332
|
|
|
254
|
-
|
|
333
|
+
//添加数据逻辑类
|
|
334
|
+
class AddDataViewModel {
|
|
335
|
+
constructor(scenceView, options) {
|
|
336
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
337
|
+
(0,defineProperty/* default */.A)(this, "_layerManager", null);
|
|
338
|
+
(0,defineProperty/* default */.A)(this, "_language", null);
|
|
339
|
+
(0,defineProperty/* default */.A)(this, "_geojsonStyle", {
|
|
255
340
|
label: {
|
|
256
341
|
express: "name",
|
|
257
342
|
// font: "25px 微软雅黑",
|
|
@@ -264,15 +349,15 @@ class AddDataViewModel {
|
|
|
264
349
|
style: Cesium.LabelStyle.FILL_AND_OUTLINE,
|
|
265
350
|
eyeOffset: Cesium.Cartesian3.ZERO,
|
|
266
351
|
pixelOffset: new Cesium.Cartesian2(0, -8),
|
|
267
|
-
disableDepthTestDistance: 10000000
|
|
268
|
-
|
|
352
|
+
disableDepthTestDistance: 10000000
|
|
353
|
+
// disableDepthTestDistance: Number.POSITIVE_INFINITY
|
|
269
354
|
},
|
|
270
355
|
billboard: {
|
|
271
356
|
image: const_image_.BILLBOARD_IMAGE_URL,
|
|
272
357
|
width: 12,
|
|
273
358
|
height: 12,
|
|
274
|
-
disableDepthTestDistance: 10000000
|
|
275
|
-
|
|
359
|
+
disableDepthTestDistance: 10000000
|
|
360
|
+
// disableDepthTestDistance: Number.POSITIVE_INFINITY
|
|
276
361
|
},
|
|
277
362
|
polyline: {
|
|
278
363
|
width: 2.0,
|
|
@@ -287,23 +372,20 @@ class AddDataViewModel {
|
|
|
287
372
|
perPositionHeight: false
|
|
288
373
|
}
|
|
289
374
|
});
|
|
290
|
-
|
|
291
375
|
this._viewer = scenceView._viewer;
|
|
292
376
|
this._layerManager = scenceView._layerManager;
|
|
293
377
|
this._language = scenceView._language;
|
|
294
378
|
this._geometryServerUrl = options.geometryServerUrl;
|
|
295
379
|
this._geometryServerToken = options.geometryServerToken;
|
|
296
380
|
if (options.geojsonStyle) this._geojsonStyle = Object.assign({}, this._geojsonStyle, options.geojsonStyle);
|
|
297
|
-
}
|
|
298
|
-
|
|
381
|
+
}
|
|
299
382
|
|
|
383
|
+
//解析文件
|
|
300
384
|
parseFile(file, cb) {
|
|
301
385
|
var that = this;
|
|
302
386
|
return new Promise((resolve, reject) => {
|
|
303
387
|
var ext = file.name.replace(/.+\./, "").toLowerCase(); //文件扩展名
|
|
304
|
-
|
|
305
388
|
var name = file.name.replace(/(.*\/)*([^.]+).*/gi, "$2"); //文件名
|
|
306
|
-
|
|
307
389
|
if (ext === "zip") {
|
|
308
390
|
(0,util_.uploadSHP)(file, function (res) {
|
|
309
391
|
if (res) {
|
|
@@ -318,10 +400,8 @@ class AddDataViewModel {
|
|
|
318
400
|
};
|
|
319
401
|
}
|
|
320
402
|
});
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
403
|
+
that._viewer.dataSources.add(ds);
|
|
404
|
+
// ds.autoAvoid(that._viewer);
|
|
325
405
|
that.flyToLayer(ds);
|
|
326
406
|
resolve("success");
|
|
327
407
|
var layer = {
|
|
@@ -334,9 +414,7 @@ class AddDataViewModel {
|
|
|
334
414
|
addType: "geojson",
|
|
335
415
|
shapeType: that._layerManager.getShapeType(ds)
|
|
336
416
|
};
|
|
337
|
-
|
|
338
417
|
that._layerManager.addTempLayerNode(layer);
|
|
339
|
-
|
|
340
418
|
cb && cb(layer);
|
|
341
419
|
});
|
|
342
420
|
} else {
|
|
@@ -359,10 +437,8 @@ class AddDataViewModel {
|
|
|
359
437
|
};
|
|
360
438
|
}
|
|
361
439
|
});
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
440
|
+
that._viewer.dataSources.add(ds);
|
|
441
|
+
// ds.autoAvoid(that._viewer);
|
|
366
442
|
that.flyToLayer(ds);
|
|
367
443
|
resolve("success");
|
|
368
444
|
var layer = {
|
|
@@ -375,9 +451,7 @@ class AddDataViewModel {
|
|
|
375
451
|
addType: "geojson",
|
|
376
452
|
shapeType: that._layerManager.getShapeType(ds)
|
|
377
453
|
};
|
|
378
|
-
|
|
379
454
|
that._layerManager.addTempLayerNode(layer);
|
|
380
|
-
|
|
381
455
|
cb && cb(layer);
|
|
382
456
|
});
|
|
383
457
|
} else {
|
|
@@ -395,13 +469,11 @@ class AddDataViewModel {
|
|
|
395
469
|
type: "FeatureCollection",
|
|
396
470
|
features: []
|
|
397
471
|
};
|
|
398
|
-
|
|
399
472
|
for (var i = 0; i < features.length; i++) {
|
|
400
473
|
let item = features[i];
|
|
401
474
|
let lat = null;
|
|
402
475
|
let lng = null;
|
|
403
476
|
let properties = {};
|
|
404
|
-
|
|
405
477
|
for (var j in item) {
|
|
406
478
|
if (j.toUpperCase().indexOf("LAT") != -1) {
|
|
407
479
|
lat = item[j];
|
|
@@ -414,9 +486,8 @@ class AddDataViewModel {
|
|
|
414
486
|
} else {
|
|
415
487
|
properties[j] = item[j];
|
|
416
488
|
}
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
|
|
489
|
+
}
|
|
490
|
+
// 点数据
|
|
420
491
|
if (lat && lng) {
|
|
421
492
|
let _point = {
|
|
422
493
|
type: "Feature",
|
|
@@ -426,11 +497,9 @@ class AddDataViewModel {
|
|
|
426
497
|
},
|
|
427
498
|
properties: properties
|
|
428
499
|
};
|
|
429
|
-
|
|
430
500
|
_featureCollection.features.push(_point);
|
|
431
501
|
} else {}
|
|
432
502
|
}
|
|
433
|
-
|
|
434
503
|
if (_featureCollection.features.length > 0) {
|
|
435
504
|
var ds = new Cesium.Kq3dGeoJsonDataSource(name);
|
|
436
505
|
ds.load(_featureCollection, that._geojsonStyle).then(ds => {
|
|
@@ -443,9 +512,7 @@ class AddDataViewModel {
|
|
|
443
512
|
};
|
|
444
513
|
}
|
|
445
514
|
});
|
|
446
|
-
|
|
447
515
|
that._viewer.dataSources.add(ds);
|
|
448
|
-
|
|
449
516
|
that.flyToLayer(ds);
|
|
450
517
|
resolve("success");
|
|
451
518
|
var layer = {
|
|
@@ -458,9 +525,7 @@ class AddDataViewModel {
|
|
|
458
525
|
addType: "geojson",
|
|
459
526
|
shapeType: that._layerManager.getShapeType(ds)
|
|
460
527
|
};
|
|
461
|
-
|
|
462
528
|
that._layerManager.addTempLayerNode(layer);
|
|
463
|
-
|
|
464
529
|
cb && cb(layer);
|
|
465
530
|
});
|
|
466
531
|
} else {
|
|
@@ -482,9 +547,7 @@ class AddDataViewModel {
|
|
|
482
547
|
};
|
|
483
548
|
}
|
|
484
549
|
});
|
|
485
|
-
|
|
486
550
|
that._viewer.dataSources.add(ds);
|
|
487
|
-
|
|
488
551
|
that.flyToLayer(ds);
|
|
489
552
|
resolve("success");
|
|
490
553
|
var layer = {
|
|
@@ -497,9 +560,7 @@ class AddDataViewModel {
|
|
|
497
560
|
addType: "geojson",
|
|
498
561
|
shapeType: that._layerManager.getShapeType(ds)
|
|
499
562
|
};
|
|
500
|
-
|
|
501
563
|
that._layerManager.addTempLayerNode(layer);
|
|
502
|
-
|
|
503
564
|
cb && cb(layer);
|
|
504
565
|
});
|
|
505
566
|
} else {
|
|
@@ -507,6 +568,47 @@ class AddDataViewModel {
|
|
|
507
568
|
cb && cb("error");
|
|
508
569
|
}
|
|
509
570
|
});
|
|
571
|
+
} else if (ext === "dwg" || ext === "dfx") {
|
|
572
|
+
(0,util_.uploadCad)(this._geometryServerUrl, file, this._geometryServerToken, this._language, "4326", function (res) {
|
|
573
|
+
// console.log(res);
|
|
574
|
+
if (res) {
|
|
575
|
+
if (res.features && res.features.type === "processFailed") {
|
|
576
|
+
reject(file.uid);
|
|
577
|
+
}
|
|
578
|
+
if (res.srs) {
|
|
579
|
+
delete res.srs;
|
|
580
|
+
}
|
|
581
|
+
var ds = new Cesium.Kq3dGeoJsonDataSource(name);
|
|
582
|
+
ds.load(res, that._geojsonStyle).then(ds => {
|
|
583
|
+
ds.entities.values.forEach(entity => {
|
|
584
|
+
if (entity.polygon) {
|
|
585
|
+
entity.polyline = {
|
|
586
|
+
positions: entity.polygon.hierarchy._value.positions,
|
|
587
|
+
width: that._geojsonStyle.polygon.outlineWidth,
|
|
588
|
+
material: that._geojsonStyle.polygon.outlineColor
|
|
589
|
+
};
|
|
590
|
+
}
|
|
591
|
+
});
|
|
592
|
+
that._viewer.dataSources.add(ds);
|
|
593
|
+
that.flyToLayer(ds);
|
|
594
|
+
resolve("success");
|
|
595
|
+
var layer = {
|
|
596
|
+
guid: ds.guid,
|
|
597
|
+
name: name,
|
|
598
|
+
visible: true,
|
|
599
|
+
serverType: "datasource",
|
|
600
|
+
lsType: "ls",
|
|
601
|
+
url: res,
|
|
602
|
+
addType: "geojson",
|
|
603
|
+
shapeType: that._layerManager.getShapeType(ds)
|
|
604
|
+
};
|
|
605
|
+
that._layerManager.addTempLayerNode(layer);
|
|
606
|
+
cb && cb(layer);
|
|
607
|
+
});
|
|
608
|
+
} else {
|
|
609
|
+
reject(file.uid);
|
|
610
|
+
}
|
|
611
|
+
});
|
|
510
612
|
} else {
|
|
511
613
|
var reader = new FileReader();
|
|
512
614
|
reader.readAsText(file); //文本
|
|
@@ -514,36 +616,31 @@ class AddDataViewModel {
|
|
|
514
616
|
//readAsArrayBuffer(file); //原始二进制数据
|
|
515
617
|
//readAsBinaryString(file);//二进制字符串
|
|
516
618
|
//reader.readAsBinaryString(file);
|
|
517
|
-
|
|
518
619
|
reader.onload = function (event) {
|
|
519
620
|
var ret = event.target.result;
|
|
520
|
-
|
|
521
621
|
switch (ext) {
|
|
522
622
|
case "json":
|
|
523
623
|
case "geojson":
|
|
524
624
|
case "topojson":
|
|
525
625
|
ret = ret.replace(/(^\s*)|(\s*$)/, "");
|
|
526
626
|
ret = ret.substring(ret.indexOf("{"));
|
|
527
|
-
|
|
528
627
|
try {
|
|
529
628
|
var data = JSON.parse(ret);
|
|
530
|
-
|
|
531
629
|
if (typeof data == "object" && data) {
|
|
532
630
|
ret = data;
|
|
533
631
|
}
|
|
534
632
|
} catch (e) {}
|
|
535
|
-
|
|
536
|
-
|
|
633
|
+
var style = {
|
|
634
|
+
...that._geojsonStyle
|
|
537
635
|
};
|
|
538
636
|
var ds = new Cesium.Kq3dGeoJsonDataSource(name);
|
|
539
|
-
var addType = "geojson";
|
|
540
|
-
|
|
637
|
+
var addType = "geojson";
|
|
638
|
+
// 判断是否是arcgis格式的json数据
|
|
541
639
|
if (ret.geometryType) {
|
|
542
640
|
ds = new Cesium.Kq3dEsriGeoJsonDataSource(name);
|
|
543
641
|
style.label.express = "NAME";
|
|
544
642
|
addType = "arcjson";
|
|
545
643
|
}
|
|
546
|
-
|
|
547
644
|
ds.load(ret, style).then(ds => {
|
|
548
645
|
ds.entities.values.forEach(entity => {
|
|
549
646
|
if (entity.polygon) {
|
|
@@ -554,10 +651,8 @@ class AddDataViewModel {
|
|
|
554
651
|
};
|
|
555
652
|
}
|
|
556
653
|
});
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
654
|
+
that._viewer.dataSources.add(ds);
|
|
655
|
+
// ds.autoAvoid(that._viewer);
|
|
561
656
|
that.flyToLayer(ds);
|
|
562
657
|
resolve("success");
|
|
563
658
|
var layer = {
|
|
@@ -570,13 +665,10 @@ class AddDataViewModel {
|
|
|
570
665
|
addType: addType,
|
|
571
666
|
shapeType: that._layerManager.getShapeType(ds)
|
|
572
667
|
};
|
|
573
|
-
|
|
574
668
|
that._layerManager.addTempLayerNode(layer);
|
|
575
|
-
|
|
576
669
|
cb && cb(layer);
|
|
577
670
|
});
|
|
578
671
|
break;
|
|
579
|
-
|
|
580
672
|
case "kml":
|
|
581
673
|
ret = ret.replace(/(^\s*)|(\s*$)/, "");
|
|
582
674
|
var options = {
|
|
@@ -590,7 +682,6 @@ class AddDataViewModel {
|
|
|
590
682
|
});
|
|
591
683
|
ds.load(data).then(ds => {
|
|
592
684
|
that._viewer.dataSources.add(ds);
|
|
593
|
-
|
|
594
685
|
that.flyToLayer(ds);
|
|
595
686
|
resolve("success");
|
|
596
687
|
var layer = {
|
|
@@ -602,13 +693,10 @@ class AddDataViewModel {
|
|
|
602
693
|
url: data,
|
|
603
694
|
addType: "kml"
|
|
604
695
|
};
|
|
605
|
-
|
|
606
696
|
that._layerManager.addTempLayerNode(layer);
|
|
607
|
-
|
|
608
697
|
cb && cb(layer);
|
|
609
698
|
});
|
|
610
699
|
break;
|
|
611
|
-
|
|
612
700
|
case "kmz":
|
|
613
701
|
var options = {
|
|
614
702
|
name: name,
|
|
@@ -618,7 +706,6 @@ class AddDataViewModel {
|
|
|
618
706
|
var ds = new Cesium.KmlDataSource(options);
|
|
619
707
|
ds.load(file).then(ds => {
|
|
620
708
|
that._viewer.dataSources.add(ds);
|
|
621
|
-
|
|
622
709
|
that.flyToLayer(ds);
|
|
623
710
|
resolve("success");
|
|
624
711
|
var layer = {
|
|
@@ -630,24 +717,18 @@ class AddDataViewModel {
|
|
|
630
717
|
url: file,
|
|
631
718
|
addType: "kml"
|
|
632
719
|
};
|
|
633
|
-
|
|
634
720
|
that._layerManager.addTempLayerNode(layer);
|
|
635
|
-
|
|
636
721
|
cb && cb(layer);
|
|
637
722
|
});
|
|
638
723
|
break;
|
|
639
|
-
|
|
640
724
|
case "czml":
|
|
641
725
|
ret = ret.replace(/(^\s*)|(\s*$)/, "");
|
|
642
|
-
|
|
643
726
|
try {
|
|
644
727
|
var data = JSON.parse(ret);
|
|
645
|
-
|
|
646
728
|
if (typeof data == "object" && data) {
|
|
647
729
|
ret = data;
|
|
648
730
|
}
|
|
649
731
|
} catch (e) {}
|
|
650
|
-
|
|
651
732
|
that._viewer.dataSources.add(Cesium.CzmlDataSource.load(ret, {
|
|
652
733
|
name: name
|
|
653
734
|
})).then(ds => {
|
|
@@ -662,41 +743,27 @@ class AddDataViewModel {
|
|
|
662
743
|
url: ret,
|
|
663
744
|
addType: "czml"
|
|
664
745
|
};
|
|
665
|
-
|
|
666
746
|
that._layerManager.addTempLayerNode(layer);
|
|
667
|
-
|
|
668
747
|
cb && cb(layer);
|
|
669
748
|
});
|
|
670
|
-
|
|
671
749
|
break;
|
|
672
|
-
|
|
673
|
-
case "csv":
|
|
674
|
-
break;
|
|
675
|
-
|
|
676
|
-
case "xls":
|
|
677
|
-
case "xlsx":
|
|
678
|
-
break;
|
|
679
|
-
|
|
680
750
|
default:
|
|
681
751
|
break;
|
|
682
752
|
}
|
|
683
753
|
};
|
|
684
|
-
|
|
685
754
|
reader.onerror = function () {
|
|
686
755
|
console.log(file.name + " read error.");
|
|
687
756
|
reject(file.name + " read error.");
|
|
688
757
|
};
|
|
689
758
|
}
|
|
690
759
|
});
|
|
691
|
-
}
|
|
692
|
-
|
|
760
|
+
}
|
|
693
761
|
|
|
762
|
+
//解析数据源
|
|
694
763
|
parseDataSource(options, cb, loadCustom) {
|
|
695
764
|
options = options || {};
|
|
696
|
-
|
|
697
765
|
if (options.url && options.url !== "") {
|
|
698
766
|
let url = options.url;
|
|
699
|
-
|
|
700
767
|
if (options.type === "stkterrain") {
|
|
701
768
|
if (url.indexOf("?") > 0) {
|
|
702
769
|
url = url.replace("?", "layer.json?");
|
|
@@ -704,27 +771,24 @@ class AddDataViewModel {
|
|
|
704
771
|
url += "layer.json";
|
|
705
772
|
}
|
|
706
773
|
}
|
|
707
|
-
|
|
708
774
|
try {
|
|
709
775
|
new URL(url);
|
|
710
776
|
} catch (error) {
|
|
711
|
-
(0,message/* default */.
|
|
777
|
+
(0,message/* default */.A)({
|
|
712
778
|
message: this._language.errorUrlAddress,
|
|
713
779
|
type: "warning"
|
|
714
780
|
});
|
|
715
781
|
return;
|
|
716
782
|
}
|
|
717
|
-
|
|
718
783
|
if (options.type === "kml") {
|
|
719
784
|
this.parseService(options, cb, loadCustom);
|
|
720
785
|
return;
|
|
721
786
|
}
|
|
722
|
-
|
|
723
787
|
fetch(url).then(data => {
|
|
724
788
|
return data;
|
|
725
789
|
}).then(data => {
|
|
726
790
|
if (data.status !== 200) {
|
|
727
|
-
(0,message/* default */.
|
|
791
|
+
(0,message/* default */.A)({
|
|
728
792
|
message: this._language.serviceNotAvailable,
|
|
729
793
|
type: "warning"
|
|
730
794
|
});
|
|
@@ -734,35 +798,32 @@ class AddDataViewModel {
|
|
|
734
798
|
} catch {}
|
|
735
799
|
}
|
|
736
800
|
}).catch(() => {
|
|
737
|
-
(0,message/* default */.
|
|
801
|
+
(0,message/* default */.A)({
|
|
738
802
|
message: this._language.serviceNotAvailable,
|
|
739
803
|
type: "warning"
|
|
740
804
|
});
|
|
741
805
|
});
|
|
742
806
|
} else {
|
|
743
|
-
(0,message/* default */.
|
|
807
|
+
(0,message/* default */.A)({
|
|
744
808
|
message: this._language.inputUrlAddress,
|
|
745
809
|
type: "warning"
|
|
746
810
|
});
|
|
747
811
|
}
|
|
748
|
-
}
|
|
749
|
-
|
|
812
|
+
}
|
|
750
813
|
|
|
814
|
+
//解析服务
|
|
751
815
|
parseService(options, cb, loadCustom) {
|
|
752
816
|
let that = this;
|
|
753
817
|
let url = options.url;
|
|
754
818
|
let type = options.type || "";
|
|
755
819
|
type = type.toLowerCase();
|
|
756
820
|
let name = options.name;
|
|
757
|
-
|
|
758
821
|
if (!name || name === "") {
|
|
759
822
|
let ext;
|
|
760
|
-
|
|
761
823
|
if (url.lastIndexOf(".") > url.lastIndexOf("/")) {
|
|
762
824
|
ext = url.substring(url.lastIndexOf(".") + 1);
|
|
763
825
|
ext = ext.toLowerCase();
|
|
764
826
|
}
|
|
765
|
-
|
|
766
827
|
if (["kml", "kmz", "czml", "geojson", "json", "topojson"].indexOf(ext) > -1) {
|
|
767
828
|
name = url.substring(url.lastIndexOf("/") + 1);
|
|
768
829
|
} else {
|
|
@@ -772,9 +833,7 @@ class AddDataViewModel {
|
|
|
772
833
|
}
|
|
773
834
|
}
|
|
774
835
|
}
|
|
775
|
-
|
|
776
836
|
let node, layer;
|
|
777
|
-
|
|
778
837
|
switch (type) {
|
|
779
838
|
case "kq3dimageryfile":
|
|
780
839
|
//影像瓦片文件
|
|
@@ -792,21 +851,16 @@ class AddDataViewModel {
|
|
|
792
851
|
url: url,
|
|
793
852
|
addType: type
|
|
794
853
|
};
|
|
795
|
-
|
|
796
854
|
this._layerManager.addTempLayerNode(node);
|
|
797
|
-
|
|
798
855
|
cb && cb(node);
|
|
799
856
|
break;
|
|
800
|
-
|
|
801
857
|
case "obterrain":
|
|
802
858
|
//ob地形瓦片文件
|
|
803
859
|
layer = new Cesium.Kq3dFileTerrainProvider({
|
|
804
860
|
name: name,
|
|
805
861
|
url: url
|
|
806
862
|
});
|
|
807
|
-
|
|
808
863
|
this._layerManager.setTerrain(layer);
|
|
809
|
-
|
|
810
864
|
this.flyToLayer(layer);
|
|
811
865
|
if (!layer.guid) layer.guid = Cesium.createGuid();
|
|
812
866
|
node = {
|
|
@@ -818,14 +872,10 @@ class AddDataViewModel {
|
|
|
818
872
|
url: url,
|
|
819
873
|
addType: type
|
|
820
874
|
};
|
|
821
|
-
|
|
822
875
|
this._layerManager.addTempLayerNode(node);
|
|
823
|
-
|
|
824
876
|
this._layerManager._terrainProviders.push(layer);
|
|
825
|
-
|
|
826
877
|
cb && cb(node);
|
|
827
878
|
break;
|
|
828
|
-
|
|
829
879
|
case "stkterrain":
|
|
830
880
|
//stk地形瓦片文件
|
|
831
881
|
layer = new Cesium.CesiumTerrainProvider({
|
|
@@ -835,9 +885,7 @@ class AddDataViewModel {
|
|
|
835
885
|
requestWaterMask: false
|
|
836
886
|
});
|
|
837
887
|
if (!layer.guid) layer.guid = Cesium.createGuid();
|
|
838
|
-
|
|
839
888
|
this._layerManager.setTerrain(layer);
|
|
840
|
-
|
|
841
889
|
this.flyToLayer(layer);
|
|
842
890
|
node = {
|
|
843
891
|
guid: layer.guid,
|
|
@@ -848,20 +896,15 @@ class AddDataViewModel {
|
|
|
848
896
|
url: url,
|
|
849
897
|
addType: type
|
|
850
898
|
};
|
|
851
|
-
|
|
852
899
|
this._layerManager.addTempLayerNode(node);
|
|
853
|
-
|
|
854
900
|
this._layerManager._terrainProviders.push(layer);
|
|
855
|
-
|
|
856
901
|
cb && cb(node);
|
|
857
902
|
break;
|
|
858
|
-
|
|
859
903
|
case "3dtiles":
|
|
860
904
|
var tileset = this._viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
|
|
861
905
|
name: name,
|
|
862
906
|
url: url
|
|
863
907
|
}));
|
|
864
|
-
|
|
865
908
|
this.flyToLayer(tileset);
|
|
866
909
|
node = {
|
|
867
910
|
guid: tileset.guid,
|
|
@@ -872,22 +915,18 @@ class AddDataViewModel {
|
|
|
872
915
|
url: url,
|
|
873
916
|
addType: type
|
|
874
917
|
};
|
|
875
|
-
|
|
876
918
|
this._layerManager.addTempLayerNode(node);
|
|
877
|
-
|
|
878
919
|
cb && cb(node);
|
|
879
920
|
break;
|
|
880
|
-
|
|
881
921
|
case "kqgis3dserver":
|
|
882
922
|
// KQGIS 三维服务
|
|
883
|
-
var geojsonStyle0 = {
|
|
923
|
+
var geojsonStyle0 = {
|
|
924
|
+
...this._geojsonStyle
|
|
884
925
|
};
|
|
885
|
-
|
|
886
926
|
this._viewer.addKq3dServerLayerGroupExt(url, {
|
|
887
927
|
geojsonStyle: geojsonStyle0
|
|
888
928
|
}).then(group => {
|
|
889
929
|
var layers = group._addedLayers || group._layers;
|
|
890
|
-
|
|
891
930
|
if (layers && layers.length > 0) {
|
|
892
931
|
node = {
|
|
893
932
|
guid: group.guid,
|
|
@@ -898,7 +937,6 @@ class AddDataViewModel {
|
|
|
898
937
|
var serverType = "";
|
|
899
938
|
var addType = "";
|
|
900
939
|
let promiseList = [];
|
|
901
|
-
|
|
902
940
|
for (var i = 0; i < layers.length; i++) {
|
|
903
941
|
if (layers[i] instanceof Cesium.Cesium3DTileset) {
|
|
904
942
|
serverType = "3dtiles";
|
|
@@ -912,13 +950,11 @@ class AddDataViewModel {
|
|
|
912
950
|
serverType = "terrainprovider";
|
|
913
951
|
addType = "obterrain";
|
|
914
952
|
url = layers[i]._originUrl + layers[i]._urlPramas;
|
|
915
|
-
|
|
916
953
|
this._layerManager._terrainProviders.push(layers[i]);
|
|
917
954
|
} else if (layers[i] instanceof Cesium.CesiumTerrainProvider) {
|
|
918
955
|
serverType = "terrainprovider";
|
|
919
956
|
addType = "stkterrain";
|
|
920
957
|
url = layers[i]._originUrl;
|
|
921
|
-
|
|
922
958
|
this._layerManager._terrainProviders.push(layers[i]);
|
|
923
959
|
} else if (layers[i] instanceof Cesium.Kq3dGeoJsonDataSource) {
|
|
924
960
|
serverType = "datasource";
|
|
@@ -936,11 +972,10 @@ class AddDataViewModel {
|
|
|
936
972
|
};
|
|
937
973
|
}
|
|
938
974
|
});
|
|
939
|
-
let shapeType = "";
|
|
940
|
-
|
|
975
|
+
let shapeType = "";
|
|
976
|
+
// 判断geojson点线面类型
|
|
941
977
|
if (ds.entities.values.length > 0) {
|
|
942
978
|
let entity = ds.entities.values[0];
|
|
943
|
-
|
|
944
979
|
if (entity.polygon) {
|
|
945
980
|
shapeType = "polygon";
|
|
946
981
|
} else if (entity.polyline) {
|
|
@@ -949,7 +984,6 @@ class AddDataViewModel {
|
|
|
949
984
|
shapeType = "point";
|
|
950
985
|
}
|
|
951
986
|
}
|
|
952
|
-
|
|
953
987
|
let dsChild = {
|
|
954
988
|
guid: ds.guid,
|
|
955
989
|
name: ds._name,
|
|
@@ -969,7 +1003,6 @@ class AddDataViewModel {
|
|
|
969
1003
|
addType = "s3m";
|
|
970
1004
|
url = layers[i]._url;
|
|
971
1005
|
}
|
|
972
|
-
|
|
973
1006
|
if (serverType !== "datasource") {
|
|
974
1007
|
if (!layers[i].guid) layers[i].guid = Cesium.createGuid();
|
|
975
1008
|
node.children.push({
|
|
@@ -982,19 +1015,14 @@ class AddDataViewModel {
|
|
|
982
1015
|
});
|
|
983
1016
|
}
|
|
984
1017
|
}
|
|
985
|
-
|
|
986
1018
|
Promise.all(promiseList).then(() => {
|
|
987
1019
|
this.flyToLayer(layers[0]);
|
|
988
|
-
|
|
989
1020
|
this._layerManager.addTempLayerNode(node);
|
|
990
|
-
|
|
991
1021
|
cb && cb(node);
|
|
992
1022
|
});
|
|
993
1023
|
}
|
|
994
1024
|
});
|
|
995
|
-
|
|
996
1025
|
break;
|
|
997
|
-
|
|
998
1026
|
case "kqgisimageserver":
|
|
999
1027
|
// KQGIS 影像服务
|
|
1000
1028
|
node = {
|
|
@@ -1007,7 +1035,6 @@ class AddDataViewModel {
|
|
|
1007
1035
|
service.init(result => {
|
|
1008
1036
|
if (result.resultcode === "success") {
|
|
1009
1037
|
let list = service.collectionInfoList;
|
|
1010
|
-
|
|
1011
1038
|
if (list && list.length > 0) {
|
|
1012
1039
|
list.forEach(item => {
|
|
1013
1040
|
layer = that._viewer.imageryLayers.addImageryProvider(new Cesium.Kq3dKQGISServerImageryProviderExt({
|
|
@@ -1025,13 +1052,10 @@ class AddDataViewModel {
|
|
|
1025
1052
|
addType: type,
|
|
1026
1053
|
layerName: item.collectionName,
|
|
1027
1054
|
type: "Image" // 图层树显示图标使用
|
|
1028
|
-
|
|
1029
1055
|
});
|
|
1030
1056
|
});
|
|
1031
1057
|
this.flyToLayer(layer);
|
|
1032
|
-
|
|
1033
1058
|
this._layerManager.addTempLayerNode(node);
|
|
1034
|
-
|
|
1035
1059
|
cb && cb(node);
|
|
1036
1060
|
}
|
|
1037
1061
|
} else {
|
|
@@ -1039,12 +1063,10 @@ class AddDataViewModel {
|
|
|
1039
1063
|
}
|
|
1040
1064
|
});
|
|
1041
1065
|
break;
|
|
1042
|
-
|
|
1043
1066
|
case "kqgisdataserver":
|
|
1044
1067
|
// KQGIS 数据服务
|
|
1045
1068
|
// addDataServer(url, name);
|
|
1046
1069
|
break;
|
|
1047
|
-
|
|
1048
1070
|
case "kqgismapserver":
|
|
1049
1071
|
// KQGIS 地图服务
|
|
1050
1072
|
if (loadCustom) {
|
|
@@ -1054,41 +1076,37 @@ class AddDataViewModel {
|
|
|
1054
1076
|
});
|
|
1055
1077
|
return;
|
|
1056
1078
|
}
|
|
1057
|
-
|
|
1058
1079
|
node = {
|
|
1059
1080
|
guid: Cesium.createGuid(),
|
|
1060
1081
|
name: name,
|
|
1061
1082
|
children: [],
|
|
1062
1083
|
lsType: "ls"
|
|
1063
|
-
};
|
|
1064
|
-
|
|
1084
|
+
};
|
|
1085
|
+
//使用二维方式解析服务
|
|
1065
1086
|
let serverName = url.split("services/")[1].split("/")[0];
|
|
1066
1087
|
let serverUrl = url.split("services/")[0] + "services/";
|
|
1067
1088
|
let token;
|
|
1068
|
-
|
|
1069
1089
|
if (url.indexOf("ua_token") != -1) {
|
|
1070
1090
|
token = url.split("ua_token=")[1].split("&")[0];
|
|
1071
1091
|
}
|
|
1072
|
-
|
|
1073
1092
|
let webMapService = new (webmapservice_default())(serverName, {
|
|
1074
1093
|
token: token,
|
|
1075
1094
|
serviceUrl: serverUrl
|
|
1076
1095
|
});
|
|
1077
1096
|
webMapService.getMapInfo().then(mapInfo => {
|
|
1078
1097
|
if (mapInfo.resultcode === "error") {
|
|
1079
|
-
(0,message/* default */.
|
|
1098
|
+
(0,message/* default */.A)({
|
|
1080
1099
|
message: mapInfo.message,
|
|
1081
1100
|
type: "warning"
|
|
1082
1101
|
});
|
|
1083
1102
|
return;
|
|
1084
1103
|
}
|
|
1085
|
-
|
|
1086
1104
|
mapInfo = mapInfo.result;
|
|
1087
1105
|
let mapServerInfo = (0,util_.formatKQMapInfo)(mapInfo, serverUrl, serverName, token, null, true);
|
|
1088
1106
|
let showLayers = [];
|
|
1089
1107
|
showLayers = showLayers.concat(mapServerInfo.layers_show);
|
|
1090
|
-
showLayers.reverse();
|
|
1091
|
-
|
|
1108
|
+
showLayers.reverse();
|
|
1109
|
+
//获取图层筛选类型时用
|
|
1092
1110
|
showLayers.forEach(layer => {
|
|
1093
1111
|
layer.sourceType = "kqserver";
|
|
1094
1112
|
});
|
|
@@ -1102,10 +1120,8 @@ class AddDataViewModel {
|
|
|
1102
1120
|
show: layer.visible
|
|
1103
1121
|
});
|
|
1104
1122
|
imageryLayer._guid = layer.guid;
|
|
1105
|
-
|
|
1106
1123
|
this._viewer.imageryLayers.add(imageryLayer);
|
|
1107
1124
|
}, this);
|
|
1108
|
-
|
|
1109
1125
|
if (mapInfo.rect84) {
|
|
1110
1126
|
if (mapInfo.rect84 instanceof Array) {
|
|
1111
1127
|
this._viewer.camera.flyTo({
|
|
@@ -1117,26 +1133,21 @@ class AddDataViewModel {
|
|
|
1117
1133
|
});
|
|
1118
1134
|
}
|
|
1119
1135
|
}
|
|
1120
|
-
|
|
1121
1136
|
setChildrenAddType(mapServerInfo.layerTreeData, type);
|
|
1122
1137
|
mapServerInfo.layerTreeData.forEach(layerData => {
|
|
1123
1138
|
layerData.url = url;
|
|
1124
1139
|
node.children.push(layerData);
|
|
1125
1140
|
});
|
|
1126
|
-
|
|
1127
1141
|
this._layerManager.addTempLayerNode(node, 1);
|
|
1128
|
-
|
|
1129
1142
|
cb && cb(node);
|
|
1130
1143
|
});
|
|
1131
1144
|
break;
|
|
1132
|
-
|
|
1133
1145
|
case "arcgismapserver":
|
|
1134
1146
|
// ARCGIS 地图服务
|
|
1135
1147
|
layer = this._viewer.imageryLayers.addImageryProvider(new Cesium.Kq3dArcGISMapServerImageryProvider({
|
|
1136
1148
|
name: name,
|
|
1137
1149
|
url: url,
|
|
1138
1150
|
usePreCachedTilesIfAvailable: false //使用export请求可支持自定义比例尺
|
|
1139
|
-
|
|
1140
1151
|
}));
|
|
1141
1152
|
this.flyToLayer(layer);
|
|
1142
1153
|
node = {
|
|
@@ -1148,12 +1159,9 @@ class AddDataViewModel {
|
|
|
1148
1159
|
url: url,
|
|
1149
1160
|
addType: type
|
|
1150
1161
|
};
|
|
1151
|
-
|
|
1152
1162
|
this._layerManager.addTempLayerNode(node);
|
|
1153
|
-
|
|
1154
1163
|
cb && cb(node);
|
|
1155
1164
|
break;
|
|
1156
|
-
|
|
1157
1165
|
case "mvt":
|
|
1158
1166
|
// 矢量瓦片
|
|
1159
1167
|
layer = this._viewer.imageryLayers.addImageryProvider(new Cesium.Kq3dMvtImageryProviderExt({
|
|
@@ -1170,14 +1178,10 @@ class AddDataViewModel {
|
|
|
1170
1178
|
url: url,
|
|
1171
1179
|
addType: type,
|
|
1172
1180
|
renderType: "vectortile" // 图层树显示图标使用
|
|
1173
|
-
|
|
1174
1181
|
};
|
|
1175
|
-
|
|
1176
1182
|
this._layerManager.addTempLayerNode(node);
|
|
1177
|
-
|
|
1178
1183
|
cb && cb(node);
|
|
1179
1184
|
break;
|
|
1180
|
-
|
|
1181
1185
|
case "kqgisdataflowserver":
|
|
1182
1186
|
// KQGIS 数据流服务
|
|
1183
1187
|
let guid = Cesium.createGuid();
|
|
@@ -1201,14 +1205,10 @@ class AddDataViewModel {
|
|
|
1201
1205
|
url: url,
|
|
1202
1206
|
addType: type
|
|
1203
1207
|
};
|
|
1204
|
-
|
|
1205
1208
|
this._layerManager.addTempLayerNode(node);
|
|
1206
|
-
|
|
1207
1209
|
this._layerManager._dataFlowLayerList.push(layer);
|
|
1208
|
-
|
|
1209
1210
|
cb && cb(node);
|
|
1210
1211
|
break;
|
|
1211
|
-
|
|
1212
1212
|
case "wms":
|
|
1213
1213
|
this._viewer.addWMSLayerGroup(url).then(group => {
|
|
1214
1214
|
node = {
|
|
@@ -1217,16 +1217,13 @@ class AddDataViewModel {
|
|
|
1217
1217
|
children: [],
|
|
1218
1218
|
lsType: "ls",
|
|
1219
1219
|
serverType: "ogcwms" //图层树显示图标使用
|
|
1220
|
-
|
|
1221
1220
|
};
|
|
1222
1221
|
var layers = group._addedLayers || group._layers;
|
|
1223
|
-
|
|
1224
1222
|
if (layers) {
|
|
1225
1223
|
for (var i = layers.length - 1; i >= 0; i--) {
|
|
1226
1224
|
if (i === 0) {
|
|
1227
1225
|
this.flyToLayer(layers[i]);
|
|
1228
1226
|
}
|
|
1229
|
-
|
|
1230
1227
|
node.children.push({
|
|
1231
1228
|
guid: layers[i].guid,
|
|
1232
1229
|
name: layers[i].name,
|
|
@@ -1238,17 +1235,12 @@ class AddDataViewModel {
|
|
|
1238
1235
|
});
|
|
1239
1236
|
}
|
|
1240
1237
|
}
|
|
1241
|
-
|
|
1242
1238
|
this._layerManager.addTempLayerNode(node);
|
|
1243
|
-
|
|
1244
1239
|
cb && cb(node);
|
|
1245
1240
|
});
|
|
1246
|
-
|
|
1247
1241
|
break;
|
|
1248
|
-
|
|
1249
1242
|
case "wmts":
|
|
1250
1243
|
case "kqgistileserver": // KQGIS 瓦片服务
|
|
1251
|
-
|
|
1252
1244
|
case "kqgisaggregationserver":
|
|
1253
1245
|
// KQGIS 聚合服务
|
|
1254
1246
|
if (type === "kqgistileserver") {
|
|
@@ -1258,9 +1250,7 @@ class AddDataViewModel {
|
|
|
1258
1250
|
url += "/wmts";
|
|
1259
1251
|
}
|
|
1260
1252
|
}
|
|
1261
|
-
|
|
1262
1253
|
let defaultName = "wmts";
|
|
1263
|
-
|
|
1264
1254
|
this._viewer.addWMTSLayerGroup(url).then(group => {
|
|
1265
1255
|
// if(type === "kqgistileserver") defaultName = name;
|
|
1266
1256
|
if (type === "kqgisaggregationserver") defaultName = "aggregation";
|
|
@@ -1270,20 +1260,16 @@ class AddDataViewModel {
|
|
|
1270
1260
|
children: [],
|
|
1271
1261
|
lsType: "ls"
|
|
1272
1262
|
};
|
|
1273
|
-
|
|
1274
1263
|
if (type === "wmts") {
|
|
1275
1264
|
//图层树显示图标使用
|
|
1276
1265
|
node.serverType = "ogcwmts";
|
|
1277
1266
|
}
|
|
1278
|
-
|
|
1279
1267
|
var layers = group._addedLayers || group._layers;
|
|
1280
|
-
|
|
1281
1268
|
if (layers) {
|
|
1282
1269
|
for (var i = layers.length - 1; i >= 0; i--) {
|
|
1283
1270
|
if (i === 0) {
|
|
1284
1271
|
this.flyToLayer(layers[i]);
|
|
1285
1272
|
}
|
|
1286
|
-
|
|
1287
1273
|
node.children.push({
|
|
1288
1274
|
guid: layers[i].guid,
|
|
1289
1275
|
name: layers[i].name,
|
|
@@ -1295,14 +1281,10 @@ class AddDataViewModel {
|
|
|
1295
1281
|
});
|
|
1296
1282
|
}
|
|
1297
1283
|
}
|
|
1298
|
-
|
|
1299
1284
|
this._layerManager.addTempLayerNode(node);
|
|
1300
|
-
|
|
1301
1285
|
cb && cb(node);
|
|
1302
1286
|
});
|
|
1303
|
-
|
|
1304
1287
|
break;
|
|
1305
|
-
|
|
1306
1288
|
case "wfs":
|
|
1307
1289
|
var wfsProvider = new Cesium.Kq3dWebFeatureServiceProvider({
|
|
1308
1290
|
url: url,
|
|
@@ -1311,9 +1293,8 @@ class AddDataViewModel {
|
|
|
1311
1293
|
wfsProvider.load().then(function (data) {
|
|
1312
1294
|
var ds = new Cesium.Kq3dGeoJsonDataSource(name);
|
|
1313
1295
|
ds.load(data, that._geojsonStyle).then(ds => {
|
|
1314
|
-
that._viewer.dataSources.add(ds);
|
|
1315
|
-
|
|
1316
|
-
|
|
1296
|
+
that._viewer.dataSources.add(ds);
|
|
1297
|
+
// ds.autoAvoid(that._viewer);
|
|
1317
1298
|
that.flyToLayer(ds);
|
|
1318
1299
|
node = {
|
|
1319
1300
|
guid: ds.guid,
|
|
@@ -1324,14 +1305,11 @@ class AddDataViewModel {
|
|
|
1324
1305
|
url: url,
|
|
1325
1306
|
addType: type
|
|
1326
1307
|
};
|
|
1327
|
-
|
|
1328
1308
|
that._layerManager.addTempLayerNode(node);
|
|
1329
|
-
|
|
1330
1309
|
cb && cb(node);
|
|
1331
1310
|
});
|
|
1332
1311
|
});
|
|
1333
1312
|
break;
|
|
1334
|
-
|
|
1335
1313
|
case "geojson":
|
|
1336
1314
|
var ds = new Cesium.Kq3dGeoJsonDataSource(name);
|
|
1337
1315
|
ds.load(url, this._geojsonStyle).then(ds => {
|
|
@@ -1344,10 +1322,8 @@ class AddDataViewModel {
|
|
|
1344
1322
|
};
|
|
1345
1323
|
}
|
|
1346
1324
|
}, this);
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1325
|
+
this._viewer.dataSources.add(ds);
|
|
1326
|
+
// ds.autoAvoid(this._viewer);
|
|
1351
1327
|
that.flyToLayer(ds);
|
|
1352
1328
|
node = {
|
|
1353
1329
|
guid: ds.guid,
|
|
@@ -1359,16 +1335,14 @@ class AddDataViewModel {
|
|
|
1359
1335
|
addType: type,
|
|
1360
1336
|
shapeType: this._layerManager.getShapeType(ds)
|
|
1361
1337
|
};
|
|
1362
|
-
|
|
1363
1338
|
this._layerManager.addTempLayerNode(node);
|
|
1364
|
-
|
|
1365
1339
|
cb && cb(node);
|
|
1366
1340
|
});
|
|
1367
1341
|
break;
|
|
1368
|
-
|
|
1369
1342
|
case "arcjson":
|
|
1370
1343
|
var ds = new Cesium.Kq3dEsriGeoJsonDataSource(name);
|
|
1371
|
-
var geojsonStyle = {
|
|
1344
|
+
var geojsonStyle = {
|
|
1345
|
+
...this._geojsonStyle
|
|
1372
1346
|
};
|
|
1373
1347
|
geojsonStyle.label.express = "NAME";
|
|
1374
1348
|
ds.load(url, geojsonStyle).then(ds => {
|
|
@@ -1381,9 +1355,7 @@ class AddDataViewModel {
|
|
|
1381
1355
|
};
|
|
1382
1356
|
}
|
|
1383
1357
|
}, this);
|
|
1384
|
-
|
|
1385
1358
|
this._viewer.dataSources.add(ds);
|
|
1386
|
-
|
|
1387
1359
|
that.flyToLayer(ds);
|
|
1388
1360
|
node = {
|
|
1389
1361
|
guid: ds.guid,
|
|
@@ -1395,13 +1367,10 @@ class AddDataViewModel {
|
|
|
1395
1367
|
addType: type,
|
|
1396
1368
|
shapeType: this._layerManager.getShapeType(ds)
|
|
1397
1369
|
};
|
|
1398
|
-
|
|
1399
1370
|
this._layerManager.addTempLayerNode(node);
|
|
1400
|
-
|
|
1401
1371
|
cb && cb(node);
|
|
1402
1372
|
});
|
|
1403
1373
|
break;
|
|
1404
|
-
|
|
1405
1374
|
case "kml":
|
|
1406
1375
|
var ds = new Cesium.KmlDataSource({
|
|
1407
1376
|
name: name,
|
|
@@ -1410,7 +1379,6 @@ class AddDataViewModel {
|
|
|
1410
1379
|
});
|
|
1411
1380
|
ds.load(url).then(ds => {
|
|
1412
1381
|
this._viewer.dataSources.add(ds);
|
|
1413
|
-
|
|
1414
1382
|
that.flyToLayer(ds);
|
|
1415
1383
|
node = {
|
|
1416
1384
|
guid: ds.guid,
|
|
@@ -1421,18 +1389,14 @@ class AddDataViewModel {
|
|
|
1421
1389
|
url: url,
|
|
1422
1390
|
addType: type
|
|
1423
1391
|
};
|
|
1424
|
-
|
|
1425
1392
|
this._layerManager.addTempLayerNode(node);
|
|
1426
|
-
|
|
1427
1393
|
cb && cb(node);
|
|
1428
1394
|
});
|
|
1429
1395
|
break;
|
|
1430
|
-
|
|
1431
1396
|
case "czml":
|
|
1432
1397
|
var ds = new Cesium.CzmlDataSource(name);
|
|
1433
1398
|
ds.load(url).then(ds => {
|
|
1434
1399
|
this._viewer.dataSources.add(ds);
|
|
1435
|
-
|
|
1436
1400
|
that.flyToLayer(ds);
|
|
1437
1401
|
node = {
|
|
1438
1402
|
guid: ds.guid,
|
|
@@ -1443,13 +1407,10 @@ class AddDataViewModel {
|
|
|
1443
1407
|
url: url,
|
|
1444
1408
|
addType: type
|
|
1445
1409
|
};
|
|
1446
|
-
|
|
1447
1410
|
this._layerManager.addTempLayerNode(node);
|
|
1448
|
-
|
|
1449
1411
|
cb && cb(node);
|
|
1450
1412
|
});
|
|
1451
1413
|
break;
|
|
1452
|
-
|
|
1453
1414
|
case "s3m":
|
|
1454
1415
|
layer = this._viewer.scene.primitives.add(new Cesium.Kq3dS3MTilesLayer({
|
|
1455
1416
|
context: this._viewer.scene._context,
|
|
@@ -1468,23 +1429,19 @@ class AddDataViewModel {
|
|
|
1468
1429
|
url: url,
|
|
1469
1430
|
addType: type
|
|
1470
1431
|
};
|
|
1471
|
-
|
|
1472
1432
|
this._layerManager.addTempLayerNode(node);
|
|
1473
|
-
|
|
1474
1433
|
cb && cb(node);
|
|
1475
1434
|
break;
|
|
1476
|
-
|
|
1477
1435
|
default:
|
|
1478
1436
|
break;
|
|
1479
1437
|
}
|
|
1480
|
-
}
|
|
1481
|
-
|
|
1438
|
+
}
|
|
1482
1439
|
|
|
1440
|
+
// 添加数据服务
|
|
1483
1441
|
addDataServer(url, name) {
|
|
1484
1442
|
window.KqGIS.datasourceService(url).getDatasources(async e => {
|
|
1485
1443
|
if (e.result.resultcode === "success") {
|
|
1486
1444
|
let datasourceList = e.result.result.datasources;
|
|
1487
|
-
|
|
1488
1445
|
if (datasourceList) {
|
|
1489
1446
|
for (let i = 0; i < datasourceList.length; i++) {
|
|
1490
1447
|
await _getDatasetList(url, datasourceList[i].datasourceName);
|
|
@@ -1497,7 +1454,6 @@ class AddDataViewModel {
|
|
|
1497
1454
|
console.error(err);
|
|
1498
1455
|
});
|
|
1499
1456
|
}
|
|
1500
|
-
|
|
1501
1457
|
_getDatasetList(url, dataSourceName) {
|
|
1502
1458
|
let params = new window.KqGIS.Data.GetDatasetsInfoParams({
|
|
1503
1459
|
datasourceName: dataSourceName
|
|
@@ -1516,7 +1472,6 @@ class AddDataViewModel {
|
|
|
1516
1472
|
});
|
|
1517
1473
|
});
|
|
1518
1474
|
}
|
|
1519
|
-
|
|
1520
1475
|
_getFeatureList(url, datasourceName, datasetName) {
|
|
1521
1476
|
let params = new window.KqGIS.Data.GetFeaturesParamsBase({
|
|
1522
1477
|
datasourceName: datasourceName,
|
|
@@ -1540,10 +1495,8 @@ class AddDataViewModel {
|
|
|
1540
1495
|
});
|
|
1541
1496
|
});
|
|
1542
1497
|
}
|
|
1543
|
-
|
|
1544
1498
|
flyToLayer(layer) {
|
|
1545
1499
|
let viewer = this._viewer;
|
|
1546
|
-
|
|
1547
1500
|
if (layer instanceof Cesium.ImageryLayer) {
|
|
1548
1501
|
layer.getViewableRectangle().then(function (rectangle) {
|
|
1549
1502
|
viewer.camera.flyTo({
|
|
@@ -1583,13 +1536,12 @@ class AddDataViewModel {
|
|
|
1583
1536
|
});
|
|
1584
1537
|
}
|
|
1585
1538
|
}
|
|
1539
|
+
}
|
|
1586
1540
|
|
|
1587
|
-
|
|
1588
|
-
|
|
1541
|
+
// 设置子节点addType属性
|
|
1589
1542
|
function setChildrenAddType(nodeList, addType) {
|
|
1590
1543
|
for (let i = 0; i < nodeList.length; i++) {
|
|
1591
1544
|
const node = nodeList[i];
|
|
1592
|
-
|
|
1593
1545
|
if (node.children) {
|
|
1594
1546
|
setChildrenAddType(node.children, addType);
|
|
1595
1547
|
} else {
|
|
@@ -1598,10 +1550,12 @@ function setChildrenAddType(nodeList, addType) {
|
|
|
1598
1550
|
}
|
|
1599
1551
|
}
|
|
1600
1552
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
1601
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
1553
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
1602
1554
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/adddata/AddData.vue?vue&type=script&setup=true&lang=js
|
|
1603
1555
|
|
|
1604
1556
|
|
|
1557
|
+
|
|
1558
|
+
|
|
1605
1559
|
const _hoisted_1 = {
|
|
1606
1560
|
class: "kq3d-add-data-box"
|
|
1607
1561
|
};
|
|
@@ -1646,14 +1600,13 @@ const _hoisted_12 = {
|
|
|
1646
1600
|
const __default__ = {
|
|
1647
1601
|
name: "Kq3dAddData"
|
|
1648
1602
|
};
|
|
1649
|
-
/* harmony default export */ var AddDatavue_type_script_setup_true_lang_js = (
|
|
1603
|
+
/* harmony default export */ var AddDatavue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
1650
1604
|
props: {
|
|
1651
1605
|
// 是否显示阴影
|
|
1652
1606
|
showShadow: {
|
|
1653
1607
|
type: Boolean,
|
|
1654
1608
|
default: true
|
|
1655
1609
|
},
|
|
1656
|
-
|
|
1657
1610
|
/**
|
|
1658
1611
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
1659
1612
|
*/
|
|
@@ -1716,17 +1669,16 @@ const __default__ = {
|
|
|
1716
1669
|
type: String
|
|
1717
1670
|
}
|
|
1718
1671
|
},
|
|
1719
|
-
|
|
1720
1672
|
setup(__props, {
|
|
1721
1673
|
expose: __expose
|
|
1722
1674
|
}) {
|
|
1723
|
-
|
|
1724
|
-
let accept = ".zip,.geojson,.topojson,.json,.kml,.kmz,.czml,.csv,.xls,.xlsx,.txt";
|
|
1675
|
+
let accept = ".zip,.geojson,.topojson,.json,.kml,.kmz,.czml,.csv,.xls,.xlsx,.txt,.dwg,.dfx";
|
|
1725
1676
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
1726
|
-
let selectTypeIndex = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0);
|
|
1727
|
-
|
|
1728
|
-
let dataSourceTypeList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); //选择的数据源类型
|
|
1677
|
+
let selectTypeIndex = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0);
|
|
1729
1678
|
|
|
1679
|
+
//URL服务支持的数据源类型
|
|
1680
|
+
let dataSourceTypeList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
1681
|
+
//选择的数据源类型
|
|
1730
1682
|
let dataSourceType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
1731
1683
|
let dataSource = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
1732
1684
|
url: "",
|
|
@@ -1735,35 +1687,36 @@ const __default__ = {
|
|
|
1735
1687
|
let upload_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
1736
1688
|
let upload_btn_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
1737
1689
|
let fileList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
1738
|
-
let loadingFile = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
1690
|
+
let loadingFile = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
1739
1691
|
|
|
1692
|
+
// 获取组件传参
|
|
1693
|
+
const props = __props;
|
|
1740
1694
|
let operatorArray = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)(() => {
|
|
1741
1695
|
let array = [];
|
|
1742
1696
|
let list = [...fileList.value];
|
|
1743
1697
|
let len = list.length;
|
|
1744
|
-
|
|
1745
1698
|
for (let i = 0, j = 0; i < len; i += 3, j++) {
|
|
1746
1699
|
array[j] = list.splice(0, 3);
|
|
1747
1700
|
}
|
|
1748
|
-
|
|
1749
1701
|
return array;
|
|
1750
1702
|
});
|
|
1751
1703
|
let disabled = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)(() => {
|
|
1752
1704
|
let flag = true;
|
|
1753
|
-
|
|
1754
1705
|
if (fileList.value.length > 0) {
|
|
1755
1706
|
flag = false;
|
|
1756
1707
|
}
|
|
1757
|
-
|
|
1758
1708
|
return flag;
|
|
1759
|
-
});
|
|
1709
|
+
});
|
|
1760
1710
|
|
|
1761
|
-
|
|
1711
|
+
// 组件容器Ref
|
|
1712
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
1762
1713
|
|
|
1714
|
+
// 生成组件默认header
|
|
1763
1715
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1764
1716
|
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
1765
|
-
let viewModel = null;
|
|
1717
|
+
let viewModel = null;
|
|
1766
1718
|
|
|
1719
|
+
// 国际化
|
|
1767
1720
|
let {
|
|
1768
1721
|
locale,
|
|
1769
1722
|
messages
|
|
@@ -1775,9 +1728,9 @@ const __default__ = {
|
|
|
1775
1728
|
dataSourceTypeList.value = setDataSourceType();
|
|
1776
1729
|
dataSourceType.value = dataSourceTypeList.value[selectTypeIndex.value];
|
|
1777
1730
|
});
|
|
1778
|
-
|
|
1779
1731
|
function setDataSourceType() {
|
|
1780
|
-
let types = [
|
|
1732
|
+
let types = [
|
|
1733
|
+
// {
|
|
1781
1734
|
// type: 'kq3dimageryfile',
|
|
1782
1735
|
// name: language.value.ImagertyTileFile,
|
|
1783
1736
|
// namePlaceholder: language.value.optional,
|
|
@@ -1802,7 +1755,8 @@ const __default__ = {
|
|
|
1802
1755
|
namePlaceholder: language.value.optional,
|
|
1803
1756
|
urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/map",
|
|
1804
1757
|
description: language.value.imagertyMapServerdescription
|
|
1805
|
-
},
|
|
1758
|
+
},
|
|
1759
|
+
// {
|
|
1806
1760
|
// type: "kqgisdataserver",
|
|
1807
1761
|
// name: language.value.KQGISDataServer,
|
|
1808
1762
|
// namePlaceholder: language.value.optional,
|
|
@@ -1906,22 +1860,17 @@ const __default__ = {
|
|
|
1906
1860
|
namePlaceholder: language.value.optional,
|
|
1907
1861
|
urlPlaceholder: language.value.format +': http://<host>:<port>/xxx/<servername>/xxx.czml',
|
|
1908
1862
|
description: language.value.imagertyCZMLdescription
|
|
1909
|
-
}*/
|
|
1910
|
-
];
|
|
1911
|
-
|
|
1863
|
+
}*/];
|
|
1912
1864
|
if (props.hideServiceTypes) {
|
|
1913
1865
|
let indexList = props.hideServiceTypes.split(',');
|
|
1914
|
-
|
|
1915
1866
|
for (let i = types.length - 1; i >= 0; i--) {
|
|
1916
1867
|
if (indexList.includes(i.toString())) {
|
|
1917
1868
|
types.splice(i, 1);
|
|
1918
1869
|
}
|
|
1919
1870
|
}
|
|
1920
1871
|
}
|
|
1921
|
-
|
|
1922
1872
|
return types;
|
|
1923
1873
|
}
|
|
1924
|
-
|
|
1925
1874
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
1926
1875
|
(0,util_.updatePosition)(boxRef.value, props);
|
|
1927
1876
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -1942,49 +1891,49 @@ const __default__ = {
|
|
|
1942
1891
|
}
|
|
1943
1892
|
});
|
|
1944
1893
|
});
|
|
1894
|
+
|
|
1945
1895
|
/**
|
|
1946
1896
|
* @description 监听header生成
|
|
1947
1897
|
*/
|
|
1948
|
-
|
|
1949
1898
|
const watchCreateHeaderTemp = () => {
|
|
1950
1899
|
if (props.showHeaderTemp) {
|
|
1951
1900
|
// 生成headerTemp
|
|
1952
1901
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, addDataTitle);
|
|
1953
1902
|
}
|
|
1954
|
-
};
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
function handleChange(pane) {} // 切换类型
|
|
1903
|
+
};
|
|
1958
1904
|
|
|
1905
|
+
// 切换tab页
|
|
1906
|
+
function handleChange(pane) {}
|
|
1959
1907
|
|
|
1908
|
+
// 切换类型
|
|
1960
1909
|
function changeType(index) {
|
|
1961
1910
|
dataSourceType.value = dataSourceTypeList.value[index];
|
|
1962
1911
|
dataSource.url = "";
|
|
1963
1912
|
dataSource.name = "";
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1913
|
+
}
|
|
1966
1914
|
|
|
1915
|
+
//选择文件
|
|
1967
1916
|
function changeFile(file) {
|
|
1968
1917
|
fileList.value.push(file);
|
|
1969
|
-
}
|
|
1970
|
-
|
|
1918
|
+
}
|
|
1971
1919
|
|
|
1920
|
+
// 删除文件
|
|
1972
1921
|
function removeFile(file) {
|
|
1973
1922
|
fileList.value.forEach((item, index) => {
|
|
1974
1923
|
if (item.uid === file.uid) {
|
|
1975
1924
|
fileList.value.splice(index, 1);
|
|
1976
1925
|
}
|
|
1977
1926
|
});
|
|
1978
|
-
}
|
|
1979
|
-
|
|
1927
|
+
}
|
|
1980
1928
|
|
|
1929
|
+
//清空所有文件
|
|
1981
1930
|
function removeFiles() {
|
|
1982
1931
|
upload_ref.value.$refs.child.clearFiles();
|
|
1983
1932
|
upload_btn_ref.value.$refs.child.clearFiles();
|
|
1984
1933
|
fileList.value = [];
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1934
|
+
}
|
|
1987
1935
|
|
|
1936
|
+
//加载文件
|
|
1988
1937
|
function loadFiles() {
|
|
1989
1938
|
loadingFile.value = true;
|
|
1990
1939
|
let promiseList = [];
|
|
@@ -1995,53 +1944,39 @@ const __default__ = {
|
|
|
1995
1944
|
removeFiles();
|
|
1996
1945
|
loadingFile.value = false;
|
|
1997
1946
|
});
|
|
1998
|
-
}
|
|
1999
|
-
|
|
1947
|
+
}
|
|
2000
1948
|
|
|
1949
|
+
//加载URL
|
|
2001
1950
|
function loadURL() {
|
|
2002
1951
|
viewModel.parseDataSource({
|
|
2003
1952
|
type: dataSourceType.value.type,
|
|
2004
1953
|
url: dataSource.url,
|
|
2005
1954
|
name: dataSource.name
|
|
2006
1955
|
}, props.loadCallback, props.loadCustom);
|
|
2007
|
-
}
|
|
2008
|
-
|
|
1956
|
+
}
|
|
2009
1957
|
|
|
1958
|
+
// 重置
|
|
2010
1959
|
function reset() {
|
|
2011
1960
|
dataSource.url = "";
|
|
2012
1961
|
dataSource.name = "";
|
|
2013
|
-
}
|
|
2014
|
-
|
|
1962
|
+
}
|
|
2015
1963
|
|
|
1964
|
+
// 销毁
|
|
2016
1965
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {});
|
|
2017
|
-
|
|
2018
1966
|
__expose({});
|
|
2019
|
-
|
|
2020
1967
|
return (_ctx, _cache) => {
|
|
2021
1968
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
2022
|
-
|
|
2023
1969
|
const _component_kq_upload = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-upload");
|
|
2024
|
-
|
|
2025
1970
|
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
2026
|
-
|
|
2027
1971
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
2028
|
-
|
|
2029
1972
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
2030
|
-
|
|
2031
1973
|
const _component_kq_tab_pane = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-tab-pane");
|
|
2032
|
-
|
|
2033
1974
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
2034
|
-
|
|
2035
1975
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
2036
|
-
|
|
2037
1976
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
2038
|
-
|
|
2039
1977
|
const _component_kq_input = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input");
|
|
2040
|
-
|
|
2041
1978
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
2042
|
-
|
|
2043
1979
|
const _component_kq_tabs = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-tabs");
|
|
2044
|
-
|
|
2045
1980
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
2046
1981
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-add-data", {
|
|
2047
1982
|
'kq-box-shadow': __props.showShadow
|
|
@@ -2052,9 +1987,7 @@ const __default__ = {
|
|
|
2052
1987
|
key: 0,
|
|
2053
1988
|
ref_key: "headerTempRef",
|
|
2054
1989
|
ref: headerTempRef
|
|
2055
|
-
}, null, 512
|
|
2056
|
-
/* NEED_PATCH */
|
|
2057
|
-
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_tabs, {
|
|
1990
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_tabs, {
|
|
2058
1991
|
modelValue: props.activeName,
|
|
2059
1992
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => props.activeName = $event),
|
|
2060
1993
|
onTabChange: handleChange
|
|
@@ -2066,21 +1999,13 @@ const __default__ = {
|
|
|
2066
1999
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
2067
2000
|
class: "kq3d-add-data-title"
|
|
2068
2001
|
}, {
|
|
2069
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fileFormatDescription), 1
|
|
2070
|
-
/*
|
|
2071
|
-
)]),
|
|
2072
|
-
_: 1
|
|
2073
|
-
/* STABLE */
|
|
2074
|
-
|
|
2002
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fileFormatDescription), 1 /* TEXT */)]),
|
|
2003
|
+
_: 1 /* STABLE */
|
|
2075
2004
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
2076
2005
|
class: "kq3d-add-data-tip"
|
|
2077
2006
|
}, {
|
|
2078
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fileFormatDescriptionTips), 1
|
|
2079
|
-
/*
|
|
2080
|
-
)]),
|
|
2081
|
-
_: 1
|
|
2082
|
-
/* STABLE */
|
|
2083
|
-
|
|
2007
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fileFormatDescriptionTips), 1 /* TEXT */)]),
|
|
2008
|
+
_: 1 /* STABLE */
|
|
2084
2009
|
})]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <div>\r\n <kq-row>{{ language.coordinateSystemDescription }}</kq-row>\r\n <kq-row class=\"kq3d-add-data-tip\">{{ language.coordinateSystemDescriptionTips }}</kq-row>\r\n </div> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_upload, {
|
|
2085
2010
|
drag: "",
|
|
2086
2011
|
action: "",
|
|
@@ -2093,15 +2018,9 @@ const __default__ = {
|
|
|
2093
2018
|
ref_key: "upload_ref",
|
|
2094
2019
|
ref: upload_ref
|
|
2095
2020
|
}, {
|
|
2096
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).dragFileToArea), 1
|
|
2097
|
-
/*
|
|
2098
|
-
|
|
2099
|
-
_: 1
|
|
2100
|
-
/* STABLE */
|
|
2101
|
-
|
|
2102
|
-
}, 8
|
|
2103
|
-
/* PROPS */
|
|
2104
|
-
, ["file-list", "accept"]), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(fileList).length === 0]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(operatorArray), (rowItem, i) => {
|
|
2021
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).dragFileToArea), 1 /* TEXT */)]),
|
|
2022
|
+
_: 1 /* STABLE */
|
|
2023
|
+
}, 8 /* PROPS */, ["file-list", "accept"]), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(fileList).length === 0]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(operatorArray), (rowItem, i) => {
|
|
2105
2024
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
2106
2025
|
key: i,
|
|
2107
2026
|
gutter: 20
|
|
@@ -2115,44 +2034,22 @@ const __default__ = {
|
|
|
2115
2034
|
class: "kq3d-add-data-doc"
|
|
2116
2035
|
}, {
|
|
2117
2036
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.Document))]),
|
|
2118
|
-
_: 1
|
|
2119
|
-
/* STABLE */
|
|
2120
|
-
|
|
2037
|
+
_: 1 /* STABLE */
|
|
2121
2038
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", {
|
|
2122
2039
|
title: file.name
|
|
2123
|
-
}, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(file.name), 9
|
|
2124
|
-
/* TEXT, PROPS */
|
|
2125
|
-
, _hoisted_6), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
2040
|
+
}, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(file.name), 9 /* TEXT, PROPS */, _hoisted_6), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
2126
2041
|
class: "kq3d-add-data-close",
|
|
2127
2042
|
onClick: $event => removeFile(file)
|
|
2128
2043
|
}, {
|
|
2129
2044
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(icons_vue_.CircleClose))]),
|
|
2130
|
-
_: 2
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
}, 1024
|
|
2140
|
-
/* DYNAMIC_SLOTS */
|
|
2141
|
-
);
|
|
2142
|
-
}), 128
|
|
2143
|
-
/* KEYED_FRAGMENT */
|
|
2144
|
-
))]),
|
|
2145
|
-
_: 2
|
|
2146
|
-
/* DYNAMIC */
|
|
2147
|
-
|
|
2148
|
-
}, 1024
|
|
2149
|
-
/* DYNAMIC_SLOTS */
|
|
2150
|
-
);
|
|
2151
|
-
}), 128
|
|
2152
|
-
/* KEYED_FRAGMENT */
|
|
2153
|
-
))], 512
|
|
2154
|
-
/* NEED_PATCH */
|
|
2155
|
-
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(fileList).length > 0]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_7, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderSlot)(_ctx.$slots, "loadingFilesSwitch"), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_8, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_upload, {
|
|
2045
|
+
_: 2 /* DYNAMIC */
|
|
2046
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"])])]),
|
|
2047
|
+
_: 2 /* DYNAMIC */
|
|
2048
|
+
}, 1024 /* DYNAMIC_SLOTS */);
|
|
2049
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
2050
|
+
_: 2 /* DYNAMIC */
|
|
2051
|
+
}, 1024 /* DYNAMIC_SLOTS */);
|
|
2052
|
+
}), 128 /* KEYED_FRAGMENT */))], 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(fileList).length > 0]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_7, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderSlot)(_ctx.$slots, "loadingFilesSwitch"), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_8, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_upload, {
|
|
2156
2053
|
action: "",
|
|
2157
2054
|
"show-file-list": false,
|
|
2158
2055
|
"auto-upload": false,
|
|
@@ -2166,55 +2063,29 @@ const __default__ = {
|
|
|
2166
2063
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).selectFiles,
|
|
2167
2064
|
type: "primary"
|
|
2168
2065
|
}, {
|
|
2169
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).selectFiles), 1
|
|
2170
|
-
/*
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
}, 8
|
|
2176
|
-
/* PROPS */
|
|
2177
|
-
, ["title"])]),
|
|
2178
|
-
_: 1
|
|
2179
|
-
/* STABLE */
|
|
2180
|
-
|
|
2181
|
-
}, 8
|
|
2182
|
-
/* PROPS */
|
|
2183
|
-
, ["accept"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2066
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).selectFiles), 1 /* TEXT */)]),
|
|
2067
|
+
_: 1 /* STABLE */
|
|
2068
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
2069
|
+
_: 1 /* STABLE */
|
|
2070
|
+
}, 8 /* PROPS */, ["accept"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2184
2071
|
onClick: _cache[1] || (_cache[1] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => removeFiles(), ["stop"])),
|
|
2185
2072
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearFiles,
|
|
2186
2073
|
type: "primary"
|
|
2187
2074
|
}, {
|
|
2188
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearFiles), 1
|
|
2189
|
-
/*
|
|
2190
|
-
|
|
2191
|
-
_: 1
|
|
2192
|
-
/* STABLE */
|
|
2193
|
-
|
|
2194
|
-
}, 8
|
|
2195
|
-
/* PROPS */
|
|
2196
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2075
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearFiles), 1 /* TEXT */)]),
|
|
2076
|
+
_: 1 /* STABLE */
|
|
2077
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2197
2078
|
onClick: _cache[2] || (_cache[2] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => loadFiles(), ["stop"])),
|
|
2198
2079
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).loadFiles,
|
|
2199
2080
|
type: "primary",
|
|
2200
2081
|
disabled: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(disabled),
|
|
2201
2082
|
loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(loadingFile)
|
|
2202
2083
|
}, {
|
|
2203
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).loadFiles), 1
|
|
2204
|
-
/*
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
}, 8
|
|
2210
|
-
/* PROPS */
|
|
2211
|
-
, ["title", "disabled", "loading"])])])]),
|
|
2212
|
-
_: 3
|
|
2213
|
-
/* FORWARDED */
|
|
2214
|
-
|
|
2215
|
-
}, 8
|
|
2216
|
-
/* PROPS */
|
|
2217
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_tab_pane, {
|
|
2084
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).loadFiles), 1 /* TEXT */)]),
|
|
2085
|
+
_: 1 /* STABLE */
|
|
2086
|
+
}, 8 /* PROPS */, ["title", "disabled", "loading"])])])]),
|
|
2087
|
+
_: 3 /* FORWARDED */
|
|
2088
|
+
}, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_tab_pane, {
|
|
2218
2089
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).urlData,
|
|
2219
2090
|
name: "url"
|
|
2220
2091
|
}, {
|
|
@@ -2236,29 +2107,13 @@ const __default__ = {
|
|
|
2236
2107
|
key: item.name,
|
|
2237
2108
|
label: item.name,
|
|
2238
2109
|
value: index
|
|
2239
|
-
}, null, 8
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
/* STABLE */
|
|
2247
|
-
|
|
2248
|
-
}, 8
|
|
2249
|
-
/* PROPS */
|
|
2250
|
-
, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_9, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSourceType).description), 1
|
|
2251
|
-
/* TEXT */
|
|
2252
|
-
)]),
|
|
2253
|
-
_: 1
|
|
2254
|
-
/* STABLE */
|
|
2255
|
-
|
|
2256
|
-
}, 8
|
|
2257
|
-
/* PROPS */
|
|
2258
|
-
, ["label"])]),
|
|
2259
|
-
_: 1
|
|
2260
|
-
/* STABLE */
|
|
2261
|
-
|
|
2110
|
+
}, null, 8 /* PROPS */, ["label", "value"]);
|
|
2111
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
2112
|
+
_: 1 /* STABLE */
|
|
2113
|
+
}, 8 /* PROPS */, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_9, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSourceType).description), 1 /* TEXT */)]),
|
|
2114
|
+
_: 1 /* STABLE */
|
|
2115
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
2116
|
+
_: 1 /* STABLE */
|
|
2262
2117
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
2263
2118
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
2264
2119
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).url
|
|
@@ -2267,20 +2122,10 @@ const __default__ = {
|
|
|
2267
2122
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSource).url,
|
|
2268
2123
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSource).url = $event),
|
|
2269
2124
|
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSourceType).urlPlaceholder
|
|
2270
|
-
}, null, 8
|
|
2271
|
-
/*
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
)]),
|
|
2275
|
-
_: 1
|
|
2276
|
-
/* STABLE */
|
|
2277
|
-
|
|
2278
|
-
}, 8
|
|
2279
|
-
/* PROPS */
|
|
2280
|
-
, ["label"])]),
|
|
2281
|
-
_: 1
|
|
2282
|
-
/* STABLE */
|
|
2283
|
-
|
|
2125
|
+
}, null, 8 /* PROPS */, ["modelValue", "placeholder"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_10, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSourceType).urlPlaceholder), 1 /* TEXT */)]),
|
|
2126
|
+
_: 1 /* STABLE */
|
|
2127
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
2128
|
+
_: 1 /* STABLE */
|
|
2284
2129
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
2285
2130
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
2286
2131
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).nodeName
|
|
@@ -2289,65 +2134,32 @@ const __default__ = {
|
|
|
2289
2134
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSource).name,
|
|
2290
2135
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSource).name = $event),
|
|
2291
2136
|
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSourceType).namePlaceholder
|
|
2292
|
-
}, null, 8
|
|
2293
|
-
/*
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
/* STABLE */
|
|
2297
|
-
|
|
2298
|
-
}, 8
|
|
2299
|
-
/* PROPS */
|
|
2300
|
-
, ["label"])]),
|
|
2301
|
-
_: 1
|
|
2302
|
-
/* STABLE */
|
|
2303
|
-
|
|
2137
|
+
}, null, 8 /* PROPS */, ["modelValue", "placeholder"])]),
|
|
2138
|
+
_: 1 /* STABLE */
|
|
2139
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
2140
|
+
_: 1 /* STABLE */
|
|
2304
2141
|
})]),
|
|
2305
|
-
_: 1
|
|
2306
|
-
/* STABLE */
|
|
2307
|
-
|
|
2142
|
+
_: 1 /* STABLE */
|
|
2308
2143
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_11, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderSlot)(_ctx.$slots, "loadingURLSwitch"), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_12, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2309
2144
|
onClick: _cache[6] || (_cache[6] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => loadURL(), ["stop"])),
|
|
2310
2145
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).loadFiles,
|
|
2311
2146
|
type: "primary"
|
|
2312
2147
|
}, {
|
|
2313
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).loadFiles), 1
|
|
2314
|
-
/*
|
|
2315
|
-
|
|
2316
|
-
_: 1
|
|
2317
|
-
/* STABLE */
|
|
2318
|
-
|
|
2319
|
-
}, 8
|
|
2320
|
-
/* PROPS */
|
|
2321
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2148
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).loadFiles), 1 /* TEXT */)]),
|
|
2149
|
+
_: 1 /* STABLE */
|
|
2150
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2322
2151
|
onClick: _cache[7] || (_cache[7] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => reset(), ["stop"])),
|
|
2323
2152
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).reset
|
|
2324
2153
|
}, {
|
|
2325
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).reset), 1
|
|
2326
|
-
/*
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
/* PROPS */
|
|
2333
|
-
, ["title"])])])]),
|
|
2334
|
-
_: 3
|
|
2335
|
-
/* FORWARDED */
|
|
2336
|
-
|
|
2337
|
-
}, 8
|
|
2338
|
-
/* PROPS */
|
|
2339
|
-
, ["label"])])]),
|
|
2340
|
-
_: 3
|
|
2341
|
-
/* FORWARDED */
|
|
2342
|
-
|
|
2343
|
-
}, 8
|
|
2344
|
-
/* PROPS */
|
|
2345
|
-
, ["modelValue"])], 2
|
|
2346
|
-
/* CLASS */
|
|
2347
|
-
);
|
|
2154
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).reset), 1 /* TEXT */)]),
|
|
2155
|
+
_: 1 /* STABLE */
|
|
2156
|
+
}, 8 /* PROPS */, ["title"])])])]),
|
|
2157
|
+
_: 3 /* FORWARDED */
|
|
2158
|
+
}, 8 /* PROPS */, ["label"])])]),
|
|
2159
|
+
_: 3 /* FORWARDED */
|
|
2160
|
+
}, 8 /* PROPS */, ["modelValue"])], 2 /* CLASS */);
|
|
2348
2161
|
};
|
|
2349
2162
|
}
|
|
2350
|
-
|
|
2351
2163
|
}));
|
|
2352
2164
|
;// CONCATENATED MODULE: ./src/webgl/adddata/AddData.vue?vue&type=script&setup=true&lang=js
|
|
2353
2165
|
|
|
@@ -2359,10 +2171,13 @@ const __exports__ = AddDatavue_type_script_setup_true_lang_js;
|
|
|
2359
2171
|
|
|
2360
2172
|
/* harmony default export */ var AddData = (__exports__);
|
|
2361
2173
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
2362
|
-
var init_js_ = __webpack_require__(
|
|
2174
|
+
var init_js_ = __webpack_require__(455);
|
|
2363
2175
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
2364
2176
|
;// CONCATENATED MODULE: ./src/webgl/adddata/index.js
|
|
2365
|
-
|
|
2177
|
+
/*
|
|
2178
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
2179
|
+
* All rights reserved.
|
|
2180
|
+
*/
|
|
2366
2181
|
|
|
2367
2182
|
|
|
2368
2183
|
|
|
@@ -2371,8 +2186,6 @@ AddData.install = (Vue, opts) => {
|
|
|
2371
2186
|
Vue.component(AddData.name, AddData);
|
|
2372
2187
|
};
|
|
2373
2188
|
|
|
2374
|
-
|
|
2375
|
-
}();
|
|
2376
2189
|
/******/ return __webpack_exports__;
|
|
2377
2190
|
/******/ })()
|
|
2378
2191
|
;
|