@kq_npm/client3d_webgl_vue 0.3.8-beta → 0.4.0-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/boxclip/index.js +6 -23
- package/index.js +4 -10
- package/package.json +1 -1
- package/planeclip/index.js +1 -2
package/boxclip/index.js
CHANGED
|
@@ -74,25 +74,9 @@ function _defineProperty(obj, key, value) {
|
|
|
74
74
|
|
|
75
75
|
return obj;
|
|
76
76
|
}
|
|
77
|
-
;// CONCATENATED MODULE: external "element-plus/es"
|
|
78
|
-
var es_namespaceObject = require("element-plus/es");
|
|
79
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
80
|
-
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
81
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
82
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
87
|
-
init_js_default()(Vue, opts);
|
|
88
|
-
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
92
77
|
;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClipViewModel.js
|
|
93
78
|
|
|
94
|
-
|
|
95
|
-
|
|
79
|
+
//Box裁剪逻辑类
|
|
96
80
|
class BoxClipViewModel {
|
|
97
81
|
constructor(scenceView, options) {
|
|
98
82
|
_defineProperty(this, "_viewer", null);
|
|
@@ -185,18 +169,14 @@ class BoxClipViewModel {
|
|
|
185
169
|
image: null
|
|
186
170
|
});
|
|
187
171
|
} else {
|
|
188
|
-
|
|
189
|
-
message: "请添加模型后裁剪!",
|
|
190
|
-
type: "warning"
|
|
191
|
-
});
|
|
172
|
+
throw "请添加模型后裁剪!";
|
|
192
173
|
}
|
|
193
174
|
} //清除全部
|
|
194
175
|
|
|
195
176
|
|
|
196
177
|
clear() {
|
|
197
178
|
if (this._boxclipAnalysis) this._boxclipAnalysis.boxEnable = false;
|
|
198
|
-
this._boxclipAnalysis && this._boxclipAnalysis.remove();
|
|
199
|
-
this._boxclipAnalysis = null;
|
|
179
|
+
this._boxclipAnalysis && this._boxclipAnalysis.remove(); // this._boxclipAnalysis = null;
|
|
200
180
|
} //销毁
|
|
201
181
|
|
|
202
182
|
|
|
@@ -1093,6 +1073,9 @@ const __default__ = {
|
|
|
1093
1073
|
const __exports__ = BoxClipvue_type_script_setup_true_lang_js;
|
|
1094
1074
|
|
|
1095
1075
|
/* harmony default export */ var BoxClip = (__exports__);
|
|
1076
|
+
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1077
|
+
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
1078
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
1096
1079
|
;// CONCATENATED MODULE: ./src/webgl/boxclip/index.js
|
|
1097
1080
|
|
|
1098
1081
|
|
package/index.js
CHANGED
|
@@ -14306,8 +14306,7 @@ IsolineAnalysis.install = (Vue, opts) => {
|
|
|
14306
14306
|
|
|
14307
14307
|
;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClipViewModel.js
|
|
14308
14308
|
|
|
14309
|
-
|
|
14310
|
-
|
|
14309
|
+
//Box裁剪逻辑类
|
|
14311
14310
|
class BoxClipViewModel {
|
|
14312
14311
|
constructor(scenceView, options) {
|
|
14313
14312
|
_defineProperty(this, "_viewer", null);
|
|
@@ -14400,18 +14399,14 @@ class BoxClipViewModel {
|
|
|
14400
14399
|
image: null
|
|
14401
14400
|
});
|
|
14402
14401
|
} else {
|
|
14403
|
-
|
|
14404
|
-
message: "请添加模型后裁剪!",
|
|
14405
|
-
type: "warning"
|
|
14406
|
-
});
|
|
14402
|
+
throw "请添加模型后裁剪!";
|
|
14407
14403
|
}
|
|
14408
14404
|
} //清除全部
|
|
14409
14405
|
|
|
14410
14406
|
|
|
14411
14407
|
clear() {
|
|
14412
14408
|
if (this._boxclipAnalysis) this._boxclipAnalysis.boxEnable = false;
|
|
14413
|
-
this._boxclipAnalysis && this._boxclipAnalysis.remove();
|
|
14414
|
-
this._boxclipAnalysis = null;
|
|
14409
|
+
this._boxclipAnalysis && this._boxclipAnalysis.remove(); // this._boxclipAnalysis = null;
|
|
14415
14410
|
} //销毁
|
|
14416
14411
|
|
|
14417
14412
|
|
|
@@ -15433,8 +15428,7 @@ class PlaneClipViewModel {
|
|
|
15433
15428
|
|
|
15434
15429
|
clear() {
|
|
15435
15430
|
if (this._planeclipAnalysis) this._planeclipAnalysis.boxEnable = false;
|
|
15436
|
-
this._planeclipAnalysis && this._planeclipAnalysis.remove();
|
|
15437
|
-
this._planeclipAnalysis = null;
|
|
15431
|
+
this._planeclipAnalysis && this._planeclipAnalysis.remove(); // this._planeclipAnalysis = null;
|
|
15438
15432
|
} //销毁
|
|
15439
15433
|
|
|
15440
15434
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"0.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"0.4.0-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"^1.1.1","echarts":"^5.3.3","js-cookie":"^3.0.1","omit.js":"^2.0.2","save":"^2.5.0","tinycolor2":"^1.4.2","vue-i18n":"^9.2.0-beta.36","xlsx":"^0.18.5","@turf/turf":"^6.5.0","css-vars-ponyfill":"^2.4.8","xe-utils":"^3.5.4"}}
|
package/planeclip/index.js
CHANGED
|
@@ -188,8 +188,7 @@ class PlaneClipViewModel {
|
|
|
188
188
|
|
|
189
189
|
clear() {
|
|
190
190
|
if (this._planeclipAnalysis) this._planeclipAnalysis.boxEnable = false;
|
|
191
|
-
this._planeclipAnalysis && this._planeclipAnalysis.remove();
|
|
192
|
-
this._planeclipAnalysis = null;
|
|
191
|
+
this._planeclipAnalysis && this._planeclipAnalysis.remove(); // this._planeclipAnalysis = null;
|
|
193
192
|
} //销毁
|
|
194
193
|
|
|
195
194
|
|