@kq_npm/client3d_webgl_vue 1.5.9-beta → 1.6.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/index.js +16 -2
- package/package.json +1 -1
- package/scenceview/index.js +16 -2
package/index.js
CHANGED
|
@@ -2868,7 +2868,9 @@ const __default__ = {
|
|
|
2868
2868
|
}
|
|
2869
2869
|
},
|
|
2870
2870
|
|
|
2871
|
-
setup(__props
|
|
2871
|
+
setup(__props, {
|
|
2872
|
+
expose
|
|
2873
|
+
}) {
|
|
2872
2874
|
const props = __props;
|
|
2873
2875
|
const {
|
|
2874
2876
|
proxy
|
|
@@ -2913,10 +2915,22 @@ const __default__ = {
|
|
|
2913
2915
|
|
|
2914
2916
|
viewModel = new ScenceViewViewModel(props, _language);
|
|
2915
2917
|
viewModel.initViewer();
|
|
2916
|
-
});
|
|
2918
|
+
});
|
|
2919
|
+
/**
|
|
2920
|
+
* 获取ScenceView的逻辑类
|
|
2921
|
+
*/
|
|
2922
|
+
|
|
2923
|
+
function getViewModel() {
|
|
2924
|
+
return viewModel;
|
|
2925
|
+
} // 销毁
|
|
2926
|
+
|
|
2917
2927
|
|
|
2918
2928
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeUnmount)(() => {
|
|
2919
2929
|
viewModel && viewModel.destroy();
|
|
2930
|
+
}); // 抛出方法 外部调用
|
|
2931
|
+
|
|
2932
|
+
expose({
|
|
2933
|
+
getViewModel
|
|
2920
2934
|
});
|
|
2921
2935
|
return (_ctx, _cache) => {
|
|
2922
2936
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.renderSlot)(_ctx.$slots, "default"), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", {
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"1.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"1.6.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","css-vars-ponyfill":"^2.4.8","xe-utils":"^3.5.4"}}
|
package/scenceview/index.js
CHANGED
|
@@ -2393,7 +2393,9 @@ const __default__ = {
|
|
|
2393
2393
|
}
|
|
2394
2394
|
},
|
|
2395
2395
|
|
|
2396
|
-
setup(__props
|
|
2396
|
+
setup(__props, {
|
|
2397
|
+
expose
|
|
2398
|
+
}) {
|
|
2397
2399
|
const props = __props;
|
|
2398
2400
|
const {
|
|
2399
2401
|
proxy
|
|
@@ -2438,10 +2440,22 @@ const __default__ = {
|
|
|
2438
2440
|
|
|
2439
2441
|
viewModel = new ScenceViewViewModel(props, _language);
|
|
2440
2442
|
viewModel.initViewer();
|
|
2441
|
-
});
|
|
2443
|
+
});
|
|
2444
|
+
/**
|
|
2445
|
+
* 获取ScenceView的逻辑类
|
|
2446
|
+
*/
|
|
2447
|
+
|
|
2448
|
+
function getViewModel() {
|
|
2449
|
+
return viewModel;
|
|
2450
|
+
} // 销毁
|
|
2451
|
+
|
|
2442
2452
|
|
|
2443
2453
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeUnmount)(() => {
|
|
2444
2454
|
viewModel && viewModel.destroy();
|
|
2455
|
+
}); // 抛出方法 外部调用
|
|
2456
|
+
|
|
2457
|
+
expose({
|
|
2458
|
+
getViewModel
|
|
2445
2459
|
});
|
|
2446
2460
|
return (_ctx, _cache) => {
|
|
2447
2461
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.renderSlot)(_ctx.$slots, "default"), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", {
|