@kq_npm/client3d_webgl_vue 4.5.38 → 4.5.40
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 +285 -193
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +45 -14
- package/boxclip/index.js +52 -19
- package/clientPrint/index.js +3539 -1291
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +699 -14
- package/excavatefillanalysis/index.js +48 -18
- package/flight/index.js +45 -4
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +39 -5
- package/geologicalbodyanalysis/index.js +37 -3
- package/gpuspatialquery/index.js +50 -24
- package/heatmap3d/index.js +37 -3
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +3357 -1160
- package/isolineanalysis/index.js +56 -28
- package/light/index.js +19 -22
- package/limitheightanalysis/index.js +46 -16
- package/measure/index.js +56 -14
- package/modelFlat/index.js +37 -3
- package/modelexcavate/index.js +37 -3
- package/modelfilter/index.js +37 -3
- package/modelprofileanalysis/index.js +37 -3
- package/modelselect/index.js +37 -3
- package/package.json +1 -1
- package/particleeffect/index.js +26 -33
- package/planeclip/index.js +47 -18
- package/radarscananalysis/index.js +863 -0
- package/radarscananalysis/style/index.js +3 -0
- package/radarscananalysis/style/radarscananalysis.css +1 -0
- package/scaneffect/index.js +48 -20
- package/scaneffect/style/scaneffect.css +1 -1
- package/sceneadvancedtoimage/index.js +46 -16
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +3538 -1290
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +3533 -1285
- package/sceneview/style/sceneview.css +1 -1
- package/shadowanalysis/index.js +49 -19
- package/sightlineanalysis/index.js +41 -31
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +37 -3
- package/slopeanalysis/index.js +85 -54
- package/slopeaspectanalysis/index.js +520 -135
- package/style.css +1 -1
- package/terrainoperation/index.js +61 -31
- package/terrainprofileanalysis/index.js +45 -14
- package/typhoontrac/index.js +71 -11
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/videofusion/index.js +37 -3
- package/videoproject/index.js +37 -3
- package/weathereffect/index.js +30 -34
- package/windyslicing/index.js +670 -306
- package/windyslicing/style/windyslicing.css +1 -1
- package/wireframesketch/index.js +37 -3
package/adddata/index.js
CHANGED
|
@@ -1,24 +1,43 @@
|
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
-
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/
|
|
3
|
+
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/webmapservice"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/_utils/const-image"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/webmapservice", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/_utils/const-image"], factory);
|
|
6
6
|
else if(typeof exports === 'object')
|
|
7
|
-
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/webmapservice"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/_utils/const-image"));
|
|
8
8
|
else
|
|
9
|
-
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/
|
|
10
|
-
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__3217__, __WEBPACK_EXTERNAL_MODULE__3458__,
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/webmapservice"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/_utils/const-image"]);
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3217__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__6277__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
+
/***/ 3789:
|
|
16
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
|
+
|
|
18
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
+
/* harmony export */ "P": function() { return /* binding */ kq_npm_client_common_vue; }
|
|
20
|
+
/* harmony export */ });
|
|
21
|
+
/* unused harmony export kq_npm_client_leaflet_vue */
|
|
22
|
+
let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
|
|
23
|
+
|
|
24
|
+
__webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
|
|
25
|
+
|
|
26
|
+
let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {});
|
|
27
|
+
|
|
28
|
+
__webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/***/ }),
|
|
32
|
+
|
|
15
33
|
/***/ 1705:
|
|
16
34
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
35
|
|
|
18
36
|
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
|
|
19
37
|
/* 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
|
|
21
|
-
/* harmony import */ var
|
|
38
|
+
/* harmony import */ var _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3789);
|
|
39
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7997);
|
|
40
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_2__);
|
|
22
41
|
/*
|
|
23
42
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
43
|
* All rights reserved.
|
|
@@ -27,12 +46,15 @@ return /******/ (function() { // webpackBootstrap
|
|
|
27
46
|
|
|
28
47
|
|
|
29
48
|
|
|
49
|
+
|
|
30
50
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
31
|
-
|
|
51
|
+
_init__WEBPACK_IMPORTED_MODULE_2___default()(Vue, opts);
|
|
32
52
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
33
53
|
};
|
|
34
54
|
|
|
35
55
|
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
56
|
+
|
|
57
|
+
_common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue.KqMessage */ .P.KqMessage = element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage;
|
|
36
58
|
|
|
37
59
|
|
|
38
60
|
/***/ }),
|
|
@@ -158,6 +180,18 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
158
180
|
/******/ };
|
|
159
181
|
/******/ }();
|
|
160
182
|
/******/
|
|
183
|
+
/******/ /* webpack/runtime/global */
|
|
184
|
+
/******/ !function() {
|
|
185
|
+
/******/ __webpack_require__.g = (function() {
|
|
186
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
187
|
+
/******/ try {
|
|
188
|
+
/******/ return this || new Function('return this')();
|
|
189
|
+
/******/ } catch (e) {
|
|
190
|
+
/******/ if (typeof window === 'object') return window;
|
|
191
|
+
/******/ }
|
|
192
|
+
/******/ })();
|
|
193
|
+
/******/ }();
|
|
194
|
+
/******/
|
|
161
195
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
162
196
|
/******/ !function() {
|
|
163
197
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
@@ -195,13 +229,13 @@ var icons_vue_ = __webpack_require__(8422);
|
|
|
195
229
|
var client_icons_vue_ = __webpack_require__(348);
|
|
196
230
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
197
231
|
var gis_utils_ = __webpack_require__(7135);
|
|
232
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
233
|
+
var message = __webpack_require__(1705);
|
|
198
234
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/webmapservice"
|
|
199
235
|
var webmapservice_ = __webpack_require__(3217);
|
|
200
236
|
var webmapservice_default = /*#__PURE__*/__webpack_require__.n(webmapservice_);
|
|
201
237
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
202
238
|
var util_ = __webpack_require__(3458);
|
|
203
|
-
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
204
|
-
var message = __webpack_require__(1705);
|
|
205
239
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
206
240
|
var const_image_ = __webpack_require__(6277);
|
|
207
241
|
;// CONCATENATED MODULE: external "papaparse"
|
|
@@ -217,7 +251,6 @@ var external_papaparse_default = /*#__PURE__*/__webpack_require__.n(external_pap
|
|
|
217
251
|
|
|
218
252
|
|
|
219
253
|
|
|
220
|
-
|
|
221
254
|
//添加数据逻辑类
|
|
222
255
|
class AddDataViewModel {
|
|
223
256
|
_viewer = null;
|
|
@@ -466,7 +499,7 @@ class AddDataViewModel {
|
|
|
466
499
|
cb && cb("error");
|
|
467
500
|
}
|
|
468
501
|
});
|
|
469
|
-
} else if (ext === "dwg" || ext === "
|
|
502
|
+
} else if (ext === "dwg" || ext === "dxf") {
|
|
470
503
|
(0,util_.uploadCad)(
|
|
471
504
|
this._geometryServerUrl,
|
|
472
505
|
file,
|
|
@@ -536,7 +569,7 @@ class AddDataViewModel {
|
|
|
536
569
|
if (typeof data == "object" && data) {
|
|
537
570
|
ret = data;
|
|
538
571
|
}
|
|
539
|
-
} catch (e) {}
|
|
572
|
+
} catch (e) { }
|
|
540
573
|
|
|
541
574
|
var style = { ...that._geojsonStyle };
|
|
542
575
|
var ds = new Cesium.Kq3dGeoJsonDataSource(name);
|
|
@@ -636,8 +669,8 @@ class AddDataViewModel {
|
|
|
636
669
|
if (typeof data == "object" && data) {
|
|
637
670
|
ret = data;
|
|
638
671
|
}
|
|
639
|
-
} catch (e) {}
|
|
640
|
-
if(that._viewer.timeline.container.style.display != 'block') {
|
|
672
|
+
} catch (e) { }
|
|
673
|
+
if (that._viewer.timeline.container.style.display != 'block') {
|
|
641
674
|
that._viewer.bottomContainer.style.bottom = '15px';
|
|
642
675
|
that._viewer.timeline.container.style.display = 'block';
|
|
643
676
|
that._viewer.animation.container.style.display = 'block';
|
|
@@ -667,7 +700,7 @@ class AddDataViewModel {
|
|
|
667
700
|
if (Array.isArray(data)) {
|
|
668
701
|
ret = data;
|
|
669
702
|
}
|
|
670
|
-
} catch (e) {}
|
|
703
|
+
} catch (e) { }
|
|
671
704
|
let geology = new Cesium.Kq3dGeologyBody({ viewer: that._viewer });
|
|
672
705
|
geology.name = name;
|
|
673
706
|
that._viewer.geologyBodyCollection.push(geology);
|
|
@@ -677,14 +710,14 @@ class AddDataViewModel {
|
|
|
677
710
|
}
|
|
678
711
|
let boundingSpheres = [];
|
|
679
712
|
geobody.geologyPrimitives._primitives.forEach(primitive => {
|
|
680
|
-
if(primitive.geometryInstances.geometry.boundingSphere) {
|
|
713
|
+
if (primitive.geometryInstances.geometry.boundingSphere) {
|
|
681
714
|
boundingSpheres = boundingSpheres.concat(primitive.geometryInstances.geometry.boundingSphere);
|
|
682
715
|
}
|
|
683
716
|
});
|
|
684
|
-
if(boundingSpheres.length > 0) {
|
|
717
|
+
if (boundingSpheres.length > 0) {
|
|
685
718
|
let boundingSphere = Cesium.BoundingSphere.fromBoundingSpheres(boundingSpheres);
|
|
686
719
|
that._viewer.camera.flyToBoundingSphere(boundingSphere, {
|
|
687
|
-
offset: new Cesium.HeadingPitchRange(0.0, Cesium.Math.toRadians(-90.0), boundingSphere.radius*3),
|
|
720
|
+
offset: new Cesium.HeadingPitchRange(0.0, Cesium.Math.toRadians(-90.0), boundingSphere.radius * 3),
|
|
688
721
|
});
|
|
689
722
|
}
|
|
690
723
|
resolve("success");
|
|
@@ -754,7 +787,7 @@ class AddDataViewModel {
|
|
|
754
787
|
} else {
|
|
755
788
|
try {
|
|
756
789
|
this.parseService(options, cb, loadCustom);
|
|
757
|
-
} catch {}
|
|
790
|
+
} catch { }
|
|
758
791
|
}
|
|
759
792
|
})
|
|
760
793
|
.catch(() => {
|
|
@@ -983,6 +1016,7 @@ class AddDataViewModel {
|
|
|
983
1016
|
});
|
|
984
1017
|
break;
|
|
985
1018
|
case "kqgisimageserver": // KQGIS 影像服务
|
|
1019
|
+
let that = this;
|
|
986
1020
|
node = {
|
|
987
1021
|
guid: Cesium.createGuid(),
|
|
988
1022
|
name: name,
|
|
@@ -995,26 +1029,47 @@ class AddDataViewModel {
|
|
|
995
1029
|
let list = service.collectionInfoList;
|
|
996
1030
|
if (list && list.length > 0) {
|
|
997
1031
|
list.forEach(item => {
|
|
998
|
-
|
|
999
|
-
|
|
1032
|
+
if (item.type === 'Image' && item.hasMultidimension && item.additionInfo) {
|
|
1033
|
+
let layerConfig = {
|
|
1034
|
+
...item, // earthstudio使用
|
|
1035
|
+
guid: Cesium.createGuid(),
|
|
1000
1036
|
name: item.collectionName,
|
|
1037
|
+
visible: true,
|
|
1038
|
+
serverType: "imagerylayer",
|
|
1039
|
+
lsType: "ls",
|
|
1001
1040
|
url: url,
|
|
1041
|
+
addType: "kqgisweatherserver",
|
|
1042
|
+
params: that._layerManager._windyViewModel.getWeatherDataOptions(item),
|
|
1002
1043
|
layerName: item.collectionName
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1044
|
+
};
|
|
1045
|
+
node.children.push(layerConfig);
|
|
1046
|
+
this._layerManager.addLayerData(layerConfig, layerConfig.visible);
|
|
1047
|
+
} else {
|
|
1048
|
+
layer = that._viewer.imageryLayers.addImageryProvider(
|
|
1049
|
+
new Cesium.Kq3dKQGISServerImageryProviderExt({
|
|
1050
|
+
name: item.collectionName,
|
|
1051
|
+
url: url,
|
|
1052
|
+
layerName: item.collectionName,
|
|
1053
|
+
queryParameters: {
|
|
1054
|
+
visibletype: 1,
|
|
1055
|
+
isBoundaryVisible: false
|
|
1056
|
+
}
|
|
1057
|
+
})
|
|
1058
|
+
);
|
|
1059
|
+
node.children.push({
|
|
1060
|
+
...item, // earthstudio使用
|
|
1061
|
+
guid: layer.guid,
|
|
1062
|
+
name: item.collectionName,
|
|
1063
|
+
visible: true,
|
|
1064
|
+
serverType: "imagerylayer",
|
|
1065
|
+
lsType: "ls",
|
|
1066
|
+
url: url,
|
|
1067
|
+
addType: type,
|
|
1068
|
+
layerName: item.collectionName
|
|
1069
|
+
});
|
|
1070
|
+
}
|
|
1016
1071
|
});
|
|
1017
|
-
this.flyToLayer(layer);
|
|
1072
|
+
layer && this.flyToLayer(layer);
|
|
1018
1073
|
this._layerManager.addTempLayerNode(node);
|
|
1019
1074
|
cb && cb(node);
|
|
1020
1075
|
}
|
|
@@ -1223,38 +1278,62 @@ class AddDataViewModel {
|
|
|
1223
1278
|
}
|
|
1224
1279
|
}
|
|
1225
1280
|
let defaultName = "wmts";
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
if (
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
};
|
|
1235
|
-
if (type === "wmts") {
|
|
1236
|
-
//图层树显示图标使用
|
|
1237
|
-
node.serverType = "ogcwmts";
|
|
1281
|
+
let serviceInfo = new window.KqGIS.Map.GetMapWMTSInfoService(url);
|
|
1282
|
+
serviceInfo.init((res) => {
|
|
1283
|
+
if (res.resultcode == 'error') {
|
|
1284
|
+
(0,message/* default */.Z)({
|
|
1285
|
+
message: this._language.wmtsParsingError,
|
|
1286
|
+
type: "warning"
|
|
1287
|
+
});
|
|
1288
|
+
return;
|
|
1238
1289
|
}
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1290
|
+
let tileMatrixSet = serviceInfo.root.Contents.TileMatrixSet;
|
|
1291
|
+
let tileMatrix = tileMatrixSet.TileMatrix;
|
|
1292
|
+
if (Array.isArray(tileMatrixSet)) tileMatrix = tileMatrixSet[0].TileMatrix;
|
|
1293
|
+
if (tileMatrix.length > 0) {
|
|
1294
|
+
let scale = Number(tileMatrix[0].ScaleDenominator);
|
|
1295
|
+
let precision = scale * 0.001;
|
|
1296
|
+
if (Math.abs(scale - 559082264.028716) < precision || Math.abs(scale - 279541132.014358) < precision) {
|
|
1297
|
+
this._viewer.addWMTSLayerGroup(url).then(group => {
|
|
1298
|
+
// if(type === "kqgistileserver") defaultName = name;
|
|
1299
|
+
if (type === "kqgisaggregationserver") defaultName = "aggregation";
|
|
1300
|
+
node = {
|
|
1301
|
+
guid: group.guid,
|
|
1302
|
+
name: name || defaultName,
|
|
1303
|
+
children: [],
|
|
1304
|
+
lsType: "ls"
|
|
1305
|
+
};
|
|
1306
|
+
if (type === "wmts") {
|
|
1307
|
+
//图层树显示图标使用
|
|
1308
|
+
node.serverType = "ogcwmts";
|
|
1309
|
+
}
|
|
1310
|
+
var layers = group._addedLayers || group._layers;
|
|
1311
|
+
if (layers) {
|
|
1312
|
+
for (var i = layers.length - 1; i >= 0; i--) {
|
|
1313
|
+
if (i === 0) {
|
|
1314
|
+
this.flyToLayer(layers[i]);
|
|
1315
|
+
}
|
|
1316
|
+
node.children.push({
|
|
1317
|
+
guid: layers[i].guid,
|
|
1318
|
+
name: layers[i].name,
|
|
1319
|
+
visible: true,
|
|
1320
|
+
serverType: "imagerylayer",
|
|
1321
|
+
url: url,
|
|
1322
|
+
addType: type,
|
|
1323
|
+
id: layers[i]._imageryProvider._layer
|
|
1324
|
+
});
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
this._layerManager.addTempLayerNode(node);
|
|
1328
|
+
cb && cb(node);
|
|
1329
|
+
});
|
|
1330
|
+
} else {
|
|
1331
|
+
(0,message/* default */.Z)({
|
|
1332
|
+
message: this._language.serviceParsingWarningMsg,
|
|
1333
|
+
type: "warning"
|
|
1253
1334
|
});
|
|
1254
1335
|
}
|
|
1255
1336
|
}
|
|
1256
|
-
this._layerManager.addTempLayerNode(node);
|
|
1257
|
-
cb && cb(node);
|
|
1258
1337
|
});
|
|
1259
1338
|
break;
|
|
1260
1339
|
case "wfs":
|
|
@@ -1474,7 +1553,7 @@ class AddDataViewModel {
|
|
|
1474
1553
|
// 加载数据集
|
|
1475
1554
|
async _addDataSets(url, datasourceName, datasetList, nodes) {
|
|
1476
1555
|
let dataSourceNode = {
|
|
1477
|
-
guid: window.Cesium.createGuid(),
|
|
1556
|
+
guid: window.Cesium.createGuid(),
|
|
1478
1557
|
name: datasourceName,
|
|
1479
1558
|
visible: true,
|
|
1480
1559
|
children: []
|
|
@@ -1486,9 +1565,9 @@ class AddDataViewModel {
|
|
|
1486
1565
|
} else {
|
|
1487
1566
|
datasetArr.forEach(dataset => {
|
|
1488
1567
|
dataSourceNode.children.unshift({
|
|
1489
|
-
guid: window.Cesium.createGuid(),
|
|
1490
|
-
name: dataset.datasetName,
|
|
1491
|
-
visible: true,
|
|
1568
|
+
guid: window.Cesium.createGuid(),
|
|
1569
|
+
name: dataset.datasetName,
|
|
1570
|
+
visible: true,
|
|
1492
1571
|
children: []
|
|
1493
1572
|
});
|
|
1494
1573
|
});
|
|
@@ -1532,12 +1611,12 @@ class AddDataViewModel {
|
|
|
1532
1611
|
shapeType: featureData.geometryType
|
|
1533
1612
|
});
|
|
1534
1613
|
this._layerManager._layerListData.push(parentNode.children[i]);
|
|
1535
|
-
if(i == 0) this.flyToLayer(ds);
|
|
1614
|
+
if (i == 0) this.flyToLayer(ds);
|
|
1536
1615
|
});
|
|
1537
1616
|
promises.push(promise);
|
|
1538
1617
|
}
|
|
1539
1618
|
return new Promise((resolve) => {
|
|
1540
|
-
Promise.all(promises).then(()=>{
|
|
1619
|
+
Promise.all(promises).then(() => {
|
|
1541
1620
|
resolve();
|
|
1542
1621
|
});
|
|
1543
1622
|
});
|
|
@@ -1581,7 +1660,7 @@ class AddDataViewModel {
|
|
|
1581
1660
|
} else if (layer instanceof Cesium.Cesium3DTileset) {
|
|
1582
1661
|
layer.readyPromise.then(function () {
|
|
1583
1662
|
viewer.camera.flyToBoundingSphere(layer.boundingSphere, {
|
|
1584
|
-
offset: new Cesium.HeadingPitchRange(0.0, Cesium.Math.toRadians(-90.0), layer.boundingSphere.radius*2)
|
|
1663
|
+
offset: new Cesium.HeadingPitchRange(0.0, Cesium.Math.toRadians(-90.0), layer.boundingSphere.radius * 2)
|
|
1585
1664
|
});
|
|
1586
1665
|
});
|
|
1587
1666
|
} else if (layer instanceof Cesium.Kq3dS3MTilesLayer) {
|
|
@@ -1657,6 +1736,7 @@ const _hoisted_12 = { class: "btns_box" }
|
|
|
1657
1736
|
|
|
1658
1737
|
|
|
1659
1738
|
|
|
1739
|
+
|
|
1660
1740
|
const __default__ = {
|
|
1661
1741
|
name: "Kq3dAddData"
|
|
1662
1742
|
};
|
|
@@ -1681,6 +1761,11 @@ const __default__ = {
|
|
|
1681
1761
|
type: String,
|
|
1682
1762
|
default: "upload"
|
|
1683
1763
|
},
|
|
1764
|
+
// 是否显示本地数据tab页
|
|
1765
|
+
isShowLocal: {
|
|
1766
|
+
type: Boolean,
|
|
1767
|
+
default: true
|
|
1768
|
+
},
|
|
1684
1769
|
// 加载回调函数
|
|
1685
1770
|
loadCallback: {
|
|
1686
1771
|
type: Function,
|
|
@@ -2028,6 +2113,10 @@ function loadFiles() {
|
|
|
2028
2113
|
Promise.all(promiseList).then(() => {
|
|
2029
2114
|
removeFiles();
|
|
2030
2115
|
loadingFile.value = false;
|
|
2116
|
+
}).catch(err => {
|
|
2117
|
+
console.log(err);
|
|
2118
|
+
(0,message/* default */.Z)({ message: language.value.fileParsingFailedMessage, type: "error", duration: 2000 });
|
|
2119
|
+
loadingFile.value = false;
|
|
2031
2120
|
});
|
|
2032
2121
|
}
|
|
2033
2122
|
|
|
@@ -2089,142 +2178,145 @@ return (_ctx, _cache) => {
|
|
|
2089
2178
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2090
2179
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderSlot)(_ctx.$slots, "tabs"),
|
|
2091
2180
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [
|
|
2092
|
-
(
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [
|
|
2098
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { class: "kq3d-add-data-title" }, {
|
|
2099
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2100
|
-
(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 */)
|
|
2101
|
-
]),
|
|
2102
|
-
_: 1 /* STABLE */
|
|
2103
|
-
}),
|
|
2104
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { class: "kq3d-add-data-tip" }, {
|
|
2105
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2106
|
-
(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 */)
|
|
2107
|
-
]),
|
|
2108
|
-
_: 1 /* STABLE */
|
|
2109
|
-
})
|
|
2110
|
-
]),
|
|
2111
|
-
(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> "),
|
|
2112
|
-
(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, {
|
|
2113
|
-
drag: "",
|
|
2114
|
-
action: "",
|
|
2115
|
-
"show-file-list": false,
|
|
2116
|
-
"auto-upload": false,
|
|
2117
|
-
"file-list": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(fileList),
|
|
2118
|
-
"onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(fileList) ? (fileList).value = $event : fileList = $event)),
|
|
2119
|
-
accept: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(accept),
|
|
2120
|
-
"on-change": changeFile,
|
|
2121
|
-
ref_key: "upload_ref",
|
|
2122
|
-
ref: upload_ref
|
|
2181
|
+
(props.isShowLocal)
|
|
2182
|
+
? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_tab_pane, {
|
|
2183
|
+
key: 0,
|
|
2184
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).localData,
|
|
2185
|
+
name: "upload"
|
|
2123
2186
|
}, {
|
|
2124
2187
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2125
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
}, {
|
|
2143
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2144
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [
|
|
2145
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, { class: "kq3d-add-data-doc" }, {
|
|
2146
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2147
|
-
(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))
|
|
2148
|
-
]),
|
|
2149
|
-
_: 1 /* STABLE */
|
|
2150
|
-
}),
|
|
2151
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", {
|
|
2152
|
-
title: file.name
|
|
2153
|
-
}, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(file.name), 9 /* TEXT, PROPS */, _hoisted_6),
|
|
2154
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
2155
|
-
class: "kq3d-add-data-close",
|
|
2156
|
-
onClick: $event => (removeFile(file))
|
|
2157
|
-
}, {
|
|
2158
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2159
|
-
(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))
|
|
2160
|
-
]),
|
|
2161
|
-
_: 2 /* DYNAMIC */
|
|
2162
|
-
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"])
|
|
2163
|
-
])
|
|
2164
|
-
]),
|
|
2165
|
-
_: 2 /* DYNAMIC */
|
|
2166
|
-
}, 1024 /* DYNAMIC_SLOTS */))
|
|
2167
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
2168
|
-
]),
|
|
2169
|
-
_: 2 /* DYNAMIC */
|
|
2170
|
-
}, 1024 /* DYNAMIC_SLOTS */))
|
|
2171
|
-
}), 128 /* KEYED_FRAGMENT */))
|
|
2172
|
-
], 512 /* NEED_PATCH */), [
|
|
2173
|
-
[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(fileList).length > 0]
|
|
2174
|
-
]),
|
|
2175
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_7, [
|
|
2176
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderSlot)(_ctx.$slots, "loadingFilesSwitch"),
|
|
2177
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_8, [
|
|
2178
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_upload, {
|
|
2188
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [
|
|
2189
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { class: "kq3d-add-data-title" }, {
|
|
2190
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2191
|
+
(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 */)
|
|
2192
|
+
]),
|
|
2193
|
+
_: 1 /* STABLE */
|
|
2194
|
+
}),
|
|
2195
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { class: "kq3d-add-data-tip" }, {
|
|
2196
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2197
|
+
(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 */)
|
|
2198
|
+
]),
|
|
2199
|
+
_: 1 /* STABLE */
|
|
2200
|
+
})
|
|
2201
|
+
]),
|
|
2202
|
+
(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> "),
|
|
2203
|
+
(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, {
|
|
2204
|
+
drag: "",
|
|
2179
2205
|
action: "",
|
|
2180
2206
|
"show-file-list": false,
|
|
2181
2207
|
"auto-upload": false,
|
|
2208
|
+
"file-list": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(fileList),
|
|
2209
|
+
"onUpdate:fileList": _cache[0] || (_cache[0] = $event => ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(fileList) ? (fileList).value = $event : fileList = $event)),
|
|
2182
2210
|
accept: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(accept),
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
"on-change": changeFile
|
|
2211
|
+
"on-change": changeFile,
|
|
2212
|
+
ref_key: "upload_ref",
|
|
2213
|
+
ref: upload_ref
|
|
2187
2214
|
}, {
|
|
2188
2215
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2216
|
+
(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 */)
|
|
2217
|
+
]),
|
|
2218
|
+
_: 1 /* STABLE */
|
|
2219
|
+
}, 8 /* PROPS */, ["file-list", "accept"]), [
|
|
2220
|
+
[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(fileList).length === 0]
|
|
2221
|
+
]),
|
|
2222
|
+
(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, [
|
|
2223
|
+
((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) => {
|
|
2224
|
+
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, {
|
|
2225
|
+
key: i,
|
|
2226
|
+
gutter: 20
|
|
2227
|
+
}, {
|
|
2228
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2229
|
+
((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)(rowItem, (file, j) => {
|
|
2230
|
+
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_col, {
|
|
2231
|
+
span: 8,
|
|
2232
|
+
key: j
|
|
2233
|
+
}, {
|
|
2234
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2235
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [
|
|
2236
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, { class: "kq3d-add-data-doc" }, {
|
|
2237
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2238
|
+
(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))
|
|
2239
|
+
]),
|
|
2240
|
+
_: 1 /* STABLE */
|
|
2241
|
+
}),
|
|
2242
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", {
|
|
2243
|
+
title: file.name
|
|
2244
|
+
}, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(file.name), 9 /* TEXT, PROPS */, _hoisted_6),
|
|
2245
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
2246
|
+
class: "kq3d-add-data-close",
|
|
2247
|
+
onClick: $event => (removeFile(file))
|
|
2248
|
+
}, {
|
|
2249
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2250
|
+
(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))
|
|
2251
|
+
]),
|
|
2252
|
+
_: 2 /* DYNAMIC */
|
|
2253
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"])
|
|
2254
|
+
])
|
|
2255
|
+
]),
|
|
2256
|
+
_: 2 /* DYNAMIC */
|
|
2257
|
+
}, 1024 /* DYNAMIC_SLOTS */))
|
|
2258
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
2259
|
+
]),
|
|
2260
|
+
_: 2 /* DYNAMIC */
|
|
2261
|
+
}, 1024 /* DYNAMIC_SLOTS */))
|
|
2262
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
2263
|
+
], 512 /* NEED_PATCH */), [
|
|
2264
|
+
[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(fileList).length > 0]
|
|
2265
|
+
]),
|
|
2266
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_7, [
|
|
2267
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderSlot)(_ctx.$slots, "loadingFilesSwitch"),
|
|
2268
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_8, [
|
|
2269
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_upload, {
|
|
2270
|
+
action: "",
|
|
2271
|
+
"show-file-list": false,
|
|
2272
|
+
"auto-upload": false,
|
|
2273
|
+
accept: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(accept),
|
|
2274
|
+
ref_key: "upload_btn_ref",
|
|
2275
|
+
ref: upload_btn_ref,
|
|
2276
|
+
class: "kq3d-add-data-footer-upload",
|
|
2277
|
+
"on-change": changeFile
|
|
2278
|
+
}, {
|
|
2279
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2280
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2281
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).selectFiles,
|
|
2282
|
+
type: "primary"
|
|
2283
|
+
}, {
|
|
2284
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2285
|
+
(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 */)
|
|
2286
|
+
]),
|
|
2287
|
+
_: 1 /* STABLE */
|
|
2288
|
+
}, 8 /* PROPS */, ["title"])
|
|
2289
|
+
]),
|
|
2290
|
+
_: 1 /* STABLE */
|
|
2291
|
+
}, 8 /* PROPS */, ["accept"]),
|
|
2189
2292
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2190
|
-
|
|
2293
|
+
onClick: _cache[1] || (_cache[1] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => (removeFiles()), ["stop"])),
|
|
2294
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearFiles,
|
|
2191
2295
|
type: "primary"
|
|
2192
2296
|
}, {
|
|
2193
2297
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2194
|
-
(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).
|
|
2298
|
+
(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 */)
|
|
2195
2299
|
]),
|
|
2196
2300
|
_: 1 /* STABLE */
|
|
2197
|
-
}, 8 /* PROPS */, ["title"])
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(loadingFile)
|
|
2217
|
-
}, {
|
|
2218
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2219
|
-
(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 */)
|
|
2220
|
-
]),
|
|
2221
|
-
_: 1 /* STABLE */
|
|
2222
|
-
}, 8 /* PROPS */, ["title", "disabled", "loading"])
|
|
2223
|
-
])
|
|
2224
|
-
])
|
|
2225
|
-
]),
|
|
2226
|
-
_: 3 /* FORWARDED */
|
|
2227
|
-
}, 8 /* PROPS */, ["label"]),
|
|
2301
|
+
}, 8 /* PROPS */, ["title"]),
|
|
2302
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
2303
|
+
onClick: _cache[2] || (_cache[2] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => (loadFiles()), ["stop"])),
|
|
2304
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).loadFiles,
|
|
2305
|
+
type: "primary",
|
|
2306
|
+
disabled: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(disabled),
|
|
2307
|
+
loading: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(loadingFile)
|
|
2308
|
+
}, {
|
|
2309
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
2310
|
+
(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 */)
|
|
2311
|
+
]),
|
|
2312
|
+
_: 1 /* STABLE */
|
|
2313
|
+
}, 8 /* PROPS */, ["title", "disabled", "loading"])
|
|
2314
|
+
])
|
|
2315
|
+
])
|
|
2316
|
+
]),
|
|
2317
|
+
_: 3 /* FORWARDED */
|
|
2318
|
+
}, 8 /* PROPS */, ["label"]))
|
|
2319
|
+
: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true),
|
|
2228
2320
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_tab_pane, {
|
|
2229
2321
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).urlData,
|
|
2230
2322
|
name: "url"
|