@kq_npm/client3d_webgl_vue 3.0.5-beta → 3.0.6-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 +77 -66
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +8 -0
- package/baseterraingallery/index.js +8 -0
- package/boxclip/index.js +8 -0
- package/excavatefillanalysis/index.js +8 -0
- package/flight/index.js +25 -14
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +8 -0
- package/gpuspatialquery/index.js +8 -0
- package/headertemp/index.js +8 -0
- package/index.js +159 -142
- package/isolineanalysis/index.js +8 -0
- package/measure/index.js +73 -62
- package/measure/style/measure.css +1 -1
- package/modelselect/index.js +8 -0
- package/package.json +1 -1
- package/particleeffect/index.js +8 -0
- package/planeclip/index.js +8 -0
- package/profileanalysis/index.js +8 -0
- package/roller/index.js +8 -0
- package/roller/style/roller.css +1 -1
- package/scenceview/index.js +159 -142
- package/screenshot/index.js +8 -0
- package/shadowanalysis/index.js +8 -0
- package/sightlineanalysis/index.js +8 -0
- package/skylineanalysis/index.js +8 -0
- package/slopeanalysis/index.js +8 -0
- package/style.css +1 -1
- package/terrainoperation/index.js +8 -0
- package/viewshedanalysis/index.js +8 -0
- package/weathereffect/index.js +8 -0
package/isolineanalysis/index.js
CHANGED
|
@@ -81,6 +81,14 @@ const __default__ = {
|
|
|
81
81
|
(0,util_.addClass)(dom, "kq-is-hide");
|
|
82
82
|
(0,util_.removeClass)(dom, "kq-is-show");
|
|
83
83
|
}
|
|
84
|
+
} else {
|
|
85
|
+
if (props.showShadow) {
|
|
86
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
87
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
88
|
+
} else {
|
|
89
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
90
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
91
|
+
}
|
|
84
92
|
}
|
|
85
93
|
}); // 图标按钮点击事件
|
|
86
94
|
|
package/measure/index.js
CHANGED
|
@@ -81,6 +81,14 @@ const __default__ = {
|
|
|
81
81
|
(0,util_.addClass)(dom, "kq-is-hide");
|
|
82
82
|
(0,util_.removeClass)(dom, "kq-is-show");
|
|
83
83
|
}
|
|
84
|
+
} else {
|
|
85
|
+
if (props.showShadow) {
|
|
86
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
87
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
88
|
+
} else {
|
|
89
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
90
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
91
|
+
}
|
|
84
92
|
}
|
|
85
93
|
}); // 图标按钮点击事件
|
|
86
94
|
|
|
@@ -448,108 +456,111 @@ var headertemp = __webpack_require__(519);
|
|
|
448
456
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/measure/Measure.vue?vue&type=script&setup=true&lang=js
|
|
449
457
|
|
|
450
458
|
const _hoisted_1 = {
|
|
451
|
-
class: "kq-measure3d-
|
|
459
|
+
class: "kq-measure3d-box"
|
|
452
460
|
};
|
|
453
461
|
const _hoisted_2 = {
|
|
454
|
-
class: "
|
|
462
|
+
class: "kq-measure3d-mode"
|
|
455
463
|
};
|
|
456
464
|
const _hoisted_3 = {
|
|
465
|
+
class: "panel"
|
|
466
|
+
};
|
|
467
|
+
const _hoisted_4 = {
|
|
457
468
|
class: "title",
|
|
458
469
|
style: {
|
|
459
470
|
"line-height": "14px"
|
|
460
471
|
}
|
|
461
472
|
};
|
|
462
|
-
const
|
|
473
|
+
const _hoisted_5 = {
|
|
463
474
|
class: "kq-measure3d-btns"
|
|
464
475
|
};
|
|
465
|
-
const
|
|
466
|
-
key:
|
|
476
|
+
const _hoisted_6 = {
|
|
477
|
+
key: 0,
|
|
467
478
|
class: "kq-measure3d-tip"
|
|
468
479
|
};
|
|
469
|
-
const
|
|
480
|
+
const _hoisted_7 = {
|
|
470
481
|
key: 0
|
|
471
482
|
};
|
|
472
|
-
const
|
|
483
|
+
const _hoisted_8 = {
|
|
473
484
|
key: 1
|
|
474
485
|
};
|
|
475
|
-
const
|
|
476
|
-
key:
|
|
486
|
+
const _hoisted_9 = {
|
|
487
|
+
key: 1,
|
|
477
488
|
class: "kq-measure3d-result"
|
|
478
489
|
};
|
|
479
|
-
const
|
|
490
|
+
const _hoisted_10 = {
|
|
480
491
|
class: "kq-measure3d-result-panel"
|
|
481
492
|
};
|
|
482
|
-
const
|
|
493
|
+
const _hoisted_11 = {
|
|
483
494
|
key: 0,
|
|
484
495
|
class: "panel"
|
|
485
496
|
};
|
|
486
|
-
const
|
|
497
|
+
const _hoisted_12 = {
|
|
487
498
|
class: "title"
|
|
488
499
|
};
|
|
489
|
-
const
|
|
500
|
+
const _hoisted_13 = {
|
|
490
501
|
class: "panel"
|
|
491
502
|
};
|
|
492
|
-
const
|
|
503
|
+
const _hoisted_14 = {
|
|
493
504
|
class: "title"
|
|
494
505
|
};
|
|
495
|
-
const
|
|
506
|
+
const _hoisted_15 = {
|
|
496
507
|
key: 0,
|
|
497
508
|
class: "result"
|
|
498
509
|
};
|
|
499
|
-
const
|
|
510
|
+
const _hoisted_16 = {
|
|
500
511
|
class: "tit"
|
|
501
512
|
};
|
|
502
|
-
const
|
|
513
|
+
const _hoisted_17 = {
|
|
503
514
|
class: "res"
|
|
504
515
|
};
|
|
505
|
-
const
|
|
516
|
+
const _hoisted_18 = {
|
|
506
517
|
class: "tit"
|
|
507
518
|
};
|
|
508
|
-
const
|
|
519
|
+
const _hoisted_19 = {
|
|
509
520
|
class: "res"
|
|
510
521
|
};
|
|
511
|
-
const
|
|
522
|
+
const _hoisted_20 = {
|
|
512
523
|
class: "tit"
|
|
513
524
|
};
|
|
514
|
-
const
|
|
525
|
+
const _hoisted_21 = {
|
|
515
526
|
class: "res"
|
|
516
527
|
};
|
|
517
|
-
const
|
|
528
|
+
const _hoisted_22 = {
|
|
518
529
|
class: "tit"
|
|
519
530
|
};
|
|
520
|
-
const
|
|
531
|
+
const _hoisted_23 = {
|
|
521
532
|
class: "res"
|
|
522
533
|
};
|
|
523
|
-
const
|
|
534
|
+
const _hoisted_24 = {
|
|
524
535
|
key: 1,
|
|
525
536
|
class: "result"
|
|
526
537
|
};
|
|
527
|
-
const
|
|
538
|
+
const _hoisted_25 = {
|
|
528
539
|
class: "tit"
|
|
529
540
|
};
|
|
530
|
-
const
|
|
541
|
+
const _hoisted_26 = {
|
|
531
542
|
class: "res"
|
|
532
543
|
};
|
|
533
|
-
const
|
|
544
|
+
const _hoisted_27 = {
|
|
534
545
|
class: "tit"
|
|
535
546
|
};
|
|
536
|
-
const
|
|
547
|
+
const _hoisted_28 = {
|
|
537
548
|
class: "res"
|
|
538
549
|
};
|
|
539
|
-
const
|
|
550
|
+
const _hoisted_29 = {
|
|
540
551
|
class: "tit"
|
|
541
552
|
};
|
|
542
|
-
const
|
|
553
|
+
const _hoisted_30 = {
|
|
543
554
|
class: "res"
|
|
544
555
|
};
|
|
545
|
-
const
|
|
556
|
+
const _hoisted_31 = {
|
|
546
557
|
key: 2,
|
|
547
558
|
class: "result"
|
|
548
559
|
};
|
|
549
|
-
const
|
|
560
|
+
const _hoisted_32 = {
|
|
550
561
|
class: "tit"
|
|
551
562
|
};
|
|
552
|
-
const
|
|
563
|
+
const _hoisted_33 = {
|
|
553
564
|
class: "res"
|
|
554
565
|
};
|
|
555
566
|
|
|
@@ -636,23 +647,23 @@ const __default__ = {
|
|
|
636
647
|
viewModel = new MeasureViewModel/* default */.Z(scenceView._viewer); //注册测量事件,以获取测量结果
|
|
637
648
|
|
|
638
649
|
viewModel.measureEvent.addEventListener(function (res) {
|
|
639
|
-
if (measureType.value ===
|
|
650
|
+
if (measureType.value === "distance") {
|
|
640
651
|
if (res.distance) {
|
|
641
652
|
distanceValue = res.distance;
|
|
642
653
|
result.value = formatDistance(res.distance);
|
|
643
654
|
}
|
|
644
|
-
} else if (measureType.value ===
|
|
655
|
+
} else if (measureType.value === "height" && res) {
|
|
645
656
|
result.value = {
|
|
646
657
|
spaceDistance: res.distance ? res.distance.toFixed(2) : 0,
|
|
647
658
|
horizontalDistance: res.hDistance ? res.hDistance.toFixed(2) : 0,
|
|
648
659
|
verticalDistance: res.vDistance ? res.vDistance.toFixed(2) : 0,
|
|
649
660
|
angle: res.angle ? res.angle.toFixed(2) : 0
|
|
650
661
|
};
|
|
651
|
-
} else if (measureType.value ===
|
|
662
|
+
} else if (measureType.value === "area") {
|
|
652
663
|
if (res && res.area) result.value = formatArea(res.area);
|
|
653
|
-
} else if (measureType.value ===
|
|
664
|
+
} else if (measureType.value === "azimuth") {
|
|
654
665
|
if (res && res.azimuth) result.value = formatAzimuth(res.azimuth);
|
|
655
|
-
} else if (measureType.value ===
|
|
666
|
+
} else if (measureType.value === "coordinate") {
|
|
656
667
|
if (res && res.coordinate) {
|
|
657
668
|
result.value = {
|
|
658
669
|
longitude: res.coordinate.longitude ? res.coordinate.longitude.toFixed(5) : 0,
|
|
@@ -665,7 +676,7 @@ const __default__ = {
|
|
|
665
676
|
});
|
|
666
677
|
viewModel.activeEvent.addEventListener(function (active) {
|
|
667
678
|
if (!active) {
|
|
668
|
-
if (measureType.value ===
|
|
679
|
+
if (measureType.value === "height" && result.value.angle === 0) return;
|
|
669
680
|
isActive.value = null;
|
|
670
681
|
isResult.value = true;
|
|
671
682
|
}
|
|
@@ -832,7 +843,7 @@ const __default__ = {
|
|
|
832
843
|
isRight: __props.isRight
|
|
833
844
|
}, null, 8
|
|
834
845
|
/* PROPS */
|
|
835
|
-
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("
|
|
846
|
+
, ["showShadow", "headerTempTitle", "headerTempIcon", "isCollapse", "isRight"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).mode), 1
|
|
836
847
|
/* TEXT */
|
|
837
848
|
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
838
849
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(mode),
|
|
@@ -855,7 +866,7 @@ const __default__ = {
|
|
|
855
866
|
|
|
856
867
|
}, 8
|
|
857
868
|
/* PROPS */
|
|
858
|
-
, ["modelValue", "disabled"])])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
869
|
+
, ["modelValue", "disabled"])])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
859
870
|
onClick: _cache[1] || (_cache[1] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startMeasure('distance'), ["stop"])),
|
|
860
871
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) == 'distance' ? 'is-active' : null),
|
|
861
872
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).distance
|
|
@@ -947,11 +958,11 @@ const __default__ = {
|
|
|
947
958
|
|
|
948
959
|
}, 8
|
|
949
960
|
/* PROPS */
|
|
950
|
-
, ["onClick", "title"])]), !!(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
961
|
+
, ["onClick", "title"])]), !!(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_6, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'height' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p", _hoisted_7, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).measureTips1), 1
|
|
951
962
|
/* TEXT */
|
|
952
|
-
)) : ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p",
|
|
963
|
+
)) : ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p", _hoisted_8, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).measureTips), 1
|
|
953
964
|
/* TEXT */
|
|
954
|
-
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isResult) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
965
|
+
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isResult) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_9, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'distance' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_11, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_12, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).unit), 1
|
|
955
966
|
/* TEXT */
|
|
956
967
|
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
957
968
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(distanceUnit),
|
|
@@ -974,41 +985,41 @@ const __default__ = {
|
|
|
974
985
|
|
|
975
986
|
}, 8
|
|
976
987
|
/* PROPS */
|
|
977
|
-
, ["modelValue"])])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
988
|
+
, ["modelValue"])])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_13, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_14, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).measureResult), 1
|
|
978
989
|
/* TEXT */
|
|
979
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'height' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
990
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'height' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_15, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_16, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).spaceDistance), 1
|
|
980
991
|
/* TEXT */
|
|
981
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
992
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_17, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).spaceDistance) + " m", 1
|
|
982
993
|
/* TEXT */
|
|
983
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
994
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_18, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).horizontalDistance), 1
|
|
984
995
|
/* TEXT */
|
|
985
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
996
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_19, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).horizontalDistance) + " m", 1
|
|
986
997
|
/* TEXT */
|
|
987
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
998
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_20, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).verticalDistance), 1
|
|
988
999
|
/* TEXT */
|
|
989
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
1000
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_21, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).verticalDistance) + " m", 1
|
|
990
1001
|
/* TEXT */
|
|
991
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
1002
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_22, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).angle), 1
|
|
992
1003
|
/* TEXT */
|
|
993
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
1004
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_23, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).angle) + " °", 1
|
|
994
1005
|
/* TEXT */
|
|
995
|
-
)])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'coordinate' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
1006
|
+
)])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'coordinate' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_24, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_25, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).longitude), 1
|
|
996
1007
|
/* TEXT */
|
|
997
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
1008
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_26, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).longitude), 1
|
|
998
1009
|
/* TEXT */
|
|
999
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
1010
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_27, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).latitude), 1
|
|
1000
1011
|
/* TEXT */
|
|
1001
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
1012
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_28, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).latitude), 1
|
|
1002
1013
|
/* TEXT */
|
|
1003
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
1014
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_29, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).height), 1
|
|
1004
1015
|
/* TEXT */
|
|
1005
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
1016
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_30, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).height) + " m", 1
|
|
1006
1017
|
/* TEXT */
|
|
1007
|
-
)])) : ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div",
|
|
1018
|
+
)])) : ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_31, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_32, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language)[(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType)]), 1
|
|
1008
1019
|
/* TEXT */
|
|
1009
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
1020
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_33, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result)), 1
|
|
1010
1021
|
/* TEXT */
|
|
1011
|
-
)]))])])])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)], 2
|
|
1022
|
+
)]))])])])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)])], 2
|
|
1012
1023
|
/* CLASS */
|
|
1013
1024
|
);
|
|
1014
1025
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.kq-measure3d{z-index:999;
|
|
1
|
+
.kq-measure3d{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq-measure3d .kq-measure3d-box{width:304px}.kq-measure3d p{margin:0}.kq-measure3d .kq-measure3d-mode .panel{width:100%}.kq-measure3d .kq-measure3d-mode .panel .title{color:var(--kq-text-color-regular);margin:0 0 8px;font-size:14px}.kq-measure3d .kq-measure3d-mode .panel .kq-select{width:100%}.kq-measure3d .kq-measure3d-btns{margin-top:12px}.kq-measure3d .kq-measure3d-btns .kq-button{width:48px;height:48px}.kq-measure3d .kq-measure3d-btns .kq-button .kq-icon{color:var(--kq-color-primary)}.kq-measure3d .kq-measure3d-btns .kq-button .icon-delete{color:var(--kq-color-danger)}.kq-measure3d .kq-measure3d-btns .kq-button:active .icon-delete,.kq-measure3d .kq-measure3d-btns .kq-button:focus .icon-delete,.kq-measure3d .kq-measure3d-btns .kq-button:hover .icon-delete{color:var(--kq-color-white)!important}.kq-measure3d .kq-measure3d-btns .kq-button+.kq-button{margin-left:16px}.kq-measure3d .kq-measure3d-tip{color:var(--kq-text-color-regular);font-size:13px}.kq-measure3d .kq-measure3d-tip .kq-divider{margin:16px 0}.kq-measure3d .kq-measure3d-tip>p{margin:0}.kq-measure3d .kq-measure3d-result .kq-divider{margin:16px 0}.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel{padding-bottom:16px}.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel:last-child{padding:0}.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel .title{color:var(--kq-text-color-regular);margin:0 0 8px;font-size:14px}.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel .kq-select{width:100%}.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel .result{padding:8px;background:var(--kq-sub-bg-color);border-radius:var(--kq-border-radius-base);color:var(--kq-text-color-regular);font-size:14px}.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel .result .tit{padding-bottom:8px}.kq-measure3d .kq-measure3d-result .kq-measure3d-result-panel .panel .result .res+.tit{padding-top:12px}
|
package/modelselect/index.js
CHANGED
|
@@ -81,6 +81,14 @@ const __default__ = {
|
|
|
81
81
|
(0,util_.addClass)(dom, "kq-is-hide");
|
|
82
82
|
(0,util_.removeClass)(dom, "kq-is-show");
|
|
83
83
|
}
|
|
84
|
+
} else {
|
|
85
|
+
if (props.showShadow) {
|
|
86
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
87
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
88
|
+
} else {
|
|
89
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
90
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
91
|
+
}
|
|
84
92
|
}
|
|
85
93
|
}); // 图标按钮点击事件
|
|
86
94
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"3.0.
|
|
1
|
+
{"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"3.0.6-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","html2canvas":"^1.4.1","xe-utils":"^3.5.4"}}
|
package/particleeffect/index.js
CHANGED
|
@@ -81,6 +81,14 @@ const __default__ = {
|
|
|
81
81
|
(0,util_.addClass)(dom, "kq-is-hide");
|
|
82
82
|
(0,util_.removeClass)(dom, "kq-is-show");
|
|
83
83
|
}
|
|
84
|
+
} else {
|
|
85
|
+
if (props.showShadow) {
|
|
86
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
87
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
88
|
+
} else {
|
|
89
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
90
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
91
|
+
}
|
|
84
92
|
}
|
|
85
93
|
}); // 图标按钮点击事件
|
|
86
94
|
|
package/planeclip/index.js
CHANGED
|
@@ -81,6 +81,14 @@ const __default__ = {
|
|
|
81
81
|
(0,util_.addClass)(dom, "kq-is-hide");
|
|
82
82
|
(0,util_.removeClass)(dom, "kq-is-show");
|
|
83
83
|
}
|
|
84
|
+
} else {
|
|
85
|
+
if (props.showShadow) {
|
|
86
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
87
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
88
|
+
} else {
|
|
89
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
90
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
91
|
+
}
|
|
84
92
|
}
|
|
85
93
|
}); // 图标按钮点击事件
|
|
86
94
|
|
package/profileanalysis/index.js
CHANGED
|
@@ -81,6 +81,14 @@ const __default__ = {
|
|
|
81
81
|
(0,util_.addClass)(dom, "kq-is-hide");
|
|
82
82
|
(0,util_.removeClass)(dom, "kq-is-show");
|
|
83
83
|
}
|
|
84
|
+
} else {
|
|
85
|
+
if (props.showShadow) {
|
|
86
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
87
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
88
|
+
} else {
|
|
89
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
90
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
91
|
+
}
|
|
84
92
|
}
|
|
85
93
|
}); // 图标按钮点击事件
|
|
86
94
|
|
package/roller/index.js
CHANGED
|
@@ -81,6 +81,14 @@ const __default__ = {
|
|
|
81
81
|
(0,util_.addClass)(dom, "kq-is-hide");
|
|
82
82
|
(0,util_.removeClass)(dom, "kq-is-show");
|
|
83
83
|
}
|
|
84
|
+
} else {
|
|
85
|
+
if (props.showShadow) {
|
|
86
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
87
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
88
|
+
} else {
|
|
89
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
90
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
91
|
+
}
|
|
84
92
|
}
|
|
85
93
|
}); // 图标按钮点击事件
|
|
86
94
|
|
package/roller/style/roller.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.kq3d-roller{z-index:999;width:280px;border-radius:var(--kq-border-radius-base);padding:16px 16px 8px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)
|
|
1
|
+
.kq3d-roller{z-index:999;width:280px;border-radius:var(--kq-border-radius-base);padding:16px 16px 8px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq3d-roller .kq3d-roller-form .kq-row{margin-bottom:8px}.kq3d-roller .kq3d-roller-form .kq-col-8{line-height:40px}.kq3d-roller .kq3d-roller-form .kq3d-roller-span{color:var(--kq-text-color-regular);line-height:32px;font-size:14px}.kq3d-roller .kq3d-roller-form .kq3d-roller-span1{color:var(--kq-text-color-regular);line-height:normal;white-space:pre-line;word-break:break-all;display:inline-block}#lrSlider{display:none;position:absolute;background-color:#267ee6;z-index:998;left:50%;top:0;width:3px;height:100%}#lrSlider:hover{cursor:ew-resize}#tbSlider{display:none;position:absolute;background-color:#267ee6;z-index:998;left:0;top:50%;width:100%;height:3px}#tbSlider:hover{cursor:ns-resize}
|