@kq_npm/client3d_webgl_vue 4.5.48 → 4.5.49
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 +6 -5
- package/clientPrint/index.js +432 -24
- package/fixedzoomin/index.js +7 -5
- package/fixedzoomout/index.js +7 -5
- package/index.js +402 -20
- package/modelmaterialedit/index.js +596 -0
- package/modelmaterialedit/style/index.js +3 -0
- package/modelmaterialedit/style/modelmaterialedit.css +1 -0
- package/package.json +1 -1
- package/sceneapp/index.js +432 -24
- package/sceneview/index.js +432 -24
- package/style.css +1 -1
- package/webgl.es.js +437 -74
package/sceneapp/index.js
CHANGED
|
@@ -8275,8 +8275,6 @@ return (_ctx, _cache) => {
|
|
|
8275
8275
|
const __exports__ = SceneViewvue_type_script_setup_true_lang_js;
|
|
8276
8276
|
|
|
8277
8277
|
/* harmony default export */ var SceneView = (__exports__);
|
|
8278
|
-
// EXTERNAL MODULE: ./src/common/KqGIS.js
|
|
8279
|
-
var KqGIS = __webpack_require__(8353);
|
|
8280
8278
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
8281
8279
|
var init_js_ = __webpack_require__(455);
|
|
8282
8280
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
@@ -8289,7 +8287,6 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
8289
8287
|
|
|
8290
8288
|
|
|
8291
8289
|
|
|
8292
|
-
|
|
8293
8290
|
SceneView.install = (Vue, opts) => {
|
|
8294
8291
|
init_js_default()(Vue, opts);
|
|
8295
8292
|
Vue.component(SceneView.name, SceneView);
|
|
@@ -8297,7 +8294,7 @@ SceneView.install = (Vue, opts) => {
|
|
|
8297
8294
|
|
|
8298
8295
|
|
|
8299
8296
|
|
|
8300
|
-
|
|
8297
|
+
kq_npm_client3d_webgl_vue.KqSceneView = SceneView;
|
|
8301
8298
|
|
|
8302
8299
|
|
|
8303
8300
|
/***/ }),
|
|
@@ -19836,10 +19833,10 @@ const __exports__ = FixedZoomoutvue_type_script_setup_true_lang_js;
|
|
|
19836
19833
|
var init_js_ = __webpack_require__(455);
|
|
19837
19834
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
19838
19835
|
;// ./src/webgl/fixedzoomout/index.js
|
|
19839
|
-
/*
|
|
19840
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
19841
|
-
* All rights reserved.
|
|
19842
|
-
*/
|
|
19836
|
+
/*
|
|
19837
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
19838
|
+
* All rights reserved.
|
|
19839
|
+
*/
|
|
19843
19840
|
|
|
19844
19841
|
|
|
19845
19842
|
|
|
@@ -19849,7 +19846,9 @@ FixedZoomout.install = (Vue, opts) => {
|
|
|
19849
19846
|
Vue.component(FixedZoomout.name, FixedZoomout);
|
|
19850
19847
|
};
|
|
19851
19848
|
|
|
19852
|
-
|
|
19849
|
+
|
|
19850
|
+
|
|
19851
|
+
kq_npm_client3d_webgl_vue.Kq3dFixedZoomout = FixedZoomout;
|
|
19853
19852
|
|
|
19854
19853
|
/***/ }),
|
|
19855
19854
|
|
|
@@ -27129,10 +27128,10 @@ const __exports__ = FixedZoominvue_type_script_setup_true_lang_js;
|
|
|
27129
27128
|
var init_js_ = __webpack_require__(455);
|
|
27130
27129
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
27131
27130
|
;// ./src/webgl/fixedzoomin/index.js
|
|
27132
|
-
/*
|
|
27133
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
27134
|
-
* All rights reserved.
|
|
27135
|
-
*/
|
|
27131
|
+
/*
|
|
27132
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
27133
|
+
* All rights reserved.
|
|
27134
|
+
*/
|
|
27136
27135
|
|
|
27137
27136
|
|
|
27138
27137
|
|
|
@@ -27142,7 +27141,9 @@ FixedZoomin.install = (Vue, opts) => {
|
|
|
27142
27141
|
Vue.component(FixedZoomin.name, FixedZoomin);
|
|
27143
27142
|
};
|
|
27144
27143
|
|
|
27145
|
-
|
|
27144
|
+
|
|
27145
|
+
|
|
27146
|
+
kq_npm_client3d_webgl_vue.Kq3dFixedZoomin = FixedZoomin;
|
|
27146
27147
|
|
|
27147
27148
|
/***/ }),
|
|
27148
27149
|
|
|
@@ -46316,7 +46317,8 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tool-bar-wrapper-3d-component .tool-b
|
|
|
46316
46317
|
/* harmony import */ var _webgl_buildpolygonmodel__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(440);
|
|
46317
46318
|
/* harmony import */ var _webgl_buildpointmodel__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(8321);
|
|
46318
46319
|
/* harmony import */ var _webgl_buildpolylinemodel__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(9493);
|
|
46319
|
-
/* harmony import */ var
|
|
46320
|
+
/* harmony import */ var _webgl_modelmaterialedit__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(8614);
|
|
46321
|
+
/* harmony import */ var _webgl_sceneapp__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(6441);
|
|
46320
46322
|
/*
|
|
46321
46323
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
46322
46324
|
* All rights reserved.
|
|
@@ -46502,6 +46504,9 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tool-bar-wrapper-3d-component .tool-b
|
|
|
46502
46504
|
// 三维地理设计-构建点模型
|
|
46503
46505
|
|
|
46504
46506
|
|
|
46507
|
+
// 三维地理设计-构建点模型
|
|
46508
|
+
|
|
46509
|
+
|
|
46505
46510
|
|
|
46506
46511
|
|
|
46507
46512
|
|
|
@@ -46555,14 +46560,15 @@ const webglComponents = {
|
|
|
46555
46560
|
Kq3dSlopeAspectAnalysis: _webgl_slopeaspectanalysis__WEBPACK_IMPORTED_MODULE_35__["default"],
|
|
46556
46561
|
Kq3dSceneToHDImage: _webgl_scenetohdimage__WEBPACK_IMPORTED_MODULE_15__["default"],
|
|
46557
46562
|
Kq3dHeatmap: _webgl_heatmap3d__WEBPACK_IMPORTED_MODULE_19__["default"],
|
|
46558
|
-
KqSceneApp:
|
|
46563
|
+
KqSceneApp: _webgl_sceneapp__WEBPACK_IMPORTED_MODULE_57__["default"],
|
|
46559
46564
|
Kq3dSceneAdvancedToImage: _webgl_sceneadvancedtoimage__WEBPACK_IMPORTED_MODULE_16__["default"],
|
|
46560
46565
|
Kq3dTyphoonTrac: _webgl_typhoontrac__WEBPACK_IMPORTED_MODULE_24__["default"],
|
|
46561
46566
|
Kq3dWindySlicing: _webgl_windyslicing__WEBPACK_IMPORTED_MODULE_23__["default"],
|
|
46562
46567
|
Kq3dModelEdit: _webgl_modeledit__WEBPACK_IMPORTED_MODULE_22__["default"],
|
|
46563
46568
|
Kq3dBuildPolygonModel: _webgl_buildpolygonmodel__WEBPACK_IMPORTED_MODULE_53__["default"],
|
|
46564
46569
|
Kq3dBuildPointModel: _webgl_buildpointmodel__WEBPACK_IMPORTED_MODULE_54__["default"],
|
|
46565
|
-
Kq3dBuildPolylineModel: _webgl_buildpolylinemodel__WEBPACK_IMPORTED_MODULE_55__["default"]
|
|
46570
|
+
Kq3dBuildPolylineModel: _webgl_buildpolylinemodel__WEBPACK_IMPORTED_MODULE_55__["default"],
|
|
46571
|
+
Kq3dModelMaterialEdit: _webgl_modelmaterialedit__WEBPACK_IMPORTED_MODULE_56__["default"]
|
|
46566
46572
|
};
|
|
46567
46573
|
|
|
46568
46574
|
// 全局引入
|
|
@@ -50547,10 +50553,9 @@ BuildPointModel.install = (Vue, opts) => {
|
|
|
50547
50553
|
|
|
50548
50554
|
"use strict";
|
|
50549
50555
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
50550
|
-
/* harmony export */ Z: function() { return /* binding */ kq_npm_client3d_webgl_vue; },
|
|
50551
50556
|
/* harmony export */ yR: function() { return /* binding */ kq_npm_client_common_vue; }
|
|
50552
50557
|
/* harmony export */ });
|
|
50553
|
-
/* unused harmony
|
|
50558
|
+
/* unused harmony exports kq_npm_client_leaflet_vue, kq_npm_client3d_webgl_vue */
|
|
50554
50559
|
let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
|
|
50555
50560
|
|
|
50556
50561
|
__webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
|
|
@@ -50565,6 +50570,408 @@ __webpack_require__.g.kq_npm_client3d_webgl_vue = kq_npm_client3d_webgl_vue;
|
|
|
50565
50570
|
|
|
50566
50571
|
|
|
50567
50572
|
|
|
50573
|
+
/***/ }),
|
|
50574
|
+
|
|
50575
|
+
/***/ 8614:
|
|
50576
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
50577
|
+
|
|
50578
|
+
"use strict";
|
|
50579
|
+
|
|
50580
|
+
// EXPORTS
|
|
50581
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
50582
|
+
"default": function() { return /* reexport */ ModelMaterialEdit; }
|
|
50583
|
+
});
|
|
50584
|
+
|
|
50585
|
+
// UNUSED EXPORTS: ModelMaterialEditViewModel
|
|
50586
|
+
|
|
50587
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
50588
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
50589
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
50590
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
50591
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
50592
|
+
var gis_utils_ = __webpack_require__(64);
|
|
50593
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
50594
|
+
var message = __webpack_require__(1092);
|
|
50595
|
+
;// ./src/webgl/modelmaterialedit/ModelMaterialEditViewModel.js
|
|
50596
|
+
/*
|
|
50597
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
50598
|
+
* All rights reserved.
|
|
50599
|
+
*/
|
|
50600
|
+
|
|
50601
|
+
class BuildPolygonModelViewModel {
|
|
50602
|
+
_options = {};
|
|
50603
|
+
_scenceView = null;
|
|
50604
|
+
constructor(scenceView, formItem) {
|
|
50605
|
+
this._scenceView = scenceView;
|
|
50606
|
+
this._options = formItem;
|
|
50607
|
+
|
|
50608
|
+
}
|
|
50609
|
+
//清除
|
|
50610
|
+
clear() {
|
|
50611
|
+
|
|
50612
|
+
}
|
|
50613
|
+
//销毁
|
|
50614
|
+
destroy() {
|
|
50615
|
+
this.clear();
|
|
50616
|
+
}
|
|
50617
|
+
}
|
|
50618
|
+
|
|
50619
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util.js"
|
|
50620
|
+
var util_js_ = __webpack_require__(3684);
|
|
50621
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/configprovider/useGlobalConfig.js"
|
|
50622
|
+
var useGlobalConfig_js_ = __webpack_require__(5711);
|
|
50623
|
+
;// ./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/modelmaterialedit/ModelMaterialEdit.vue?vue&type=script&setup=true&lang=js
|
|
50624
|
+
|
|
50625
|
+
|
|
50626
|
+
const _hoisted_1 = { class: "kq3d-model-material-edit-box" }
|
|
50627
|
+
const _hoisted_2 = { class: "thumbnail-container" }
|
|
50628
|
+
const _hoisted_3 = { class: "thumbnails-grid" }
|
|
50629
|
+
const _hoisted_4 = { class: "thumbnail-name" }
|
|
50630
|
+
const _hoisted_5 = ["src", "alt"]
|
|
50631
|
+
const _hoisted_6 = { class: "thumbnail-name" }
|
|
50632
|
+
|
|
50633
|
+
;
|
|
50634
|
+
|
|
50635
|
+
|
|
50636
|
+
|
|
50637
|
+
|
|
50638
|
+
|
|
50639
|
+
|
|
50640
|
+
|
|
50641
|
+
const __default__ = {
|
|
50642
|
+
name: "Kq3dModelMaterialEdit"
|
|
50643
|
+
};
|
|
50644
|
+
|
|
50645
|
+
/* harmony default export */ var ModelMaterialEditvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
50646
|
+
props: {
|
|
50647
|
+
mapTarget: {
|
|
50648
|
+
type: String
|
|
50649
|
+
},
|
|
50650
|
+
settingParams: {
|
|
50651
|
+
type: String
|
|
50652
|
+
},
|
|
50653
|
+
// 是否显示阴影
|
|
50654
|
+
showShadow: {
|
|
50655
|
+
type: Boolean,
|
|
50656
|
+
default: true
|
|
50657
|
+
},
|
|
50658
|
+
/**
|
|
50659
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
50660
|
+
*/
|
|
50661
|
+
position: [String, Object],
|
|
50662
|
+
// 是否生成HeaderTemp
|
|
50663
|
+
showHeaderTemp: {
|
|
50664
|
+
type: Boolean,
|
|
50665
|
+
default: false
|
|
50666
|
+
},
|
|
50667
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
50668
|
+
isCollapseHeaderTemp: {
|
|
50669
|
+
type: Boolean,
|
|
50670
|
+
default: false
|
|
50671
|
+
},
|
|
50672
|
+
// HeaderTemp标题
|
|
50673
|
+
headerTempTitle: {
|
|
50674
|
+
type: String
|
|
50675
|
+
},
|
|
50676
|
+
// HeaderTemp图标
|
|
50677
|
+
headerTempIcon: {
|
|
50678
|
+
type: [Object, String],
|
|
50679
|
+
default: client_icons_vue_.IconModelMaterialEdit
|
|
50680
|
+
},
|
|
50681
|
+
// HeaderTemp Title&Icon的位置
|
|
50682
|
+
isRight: {
|
|
50683
|
+
type: Boolean,
|
|
50684
|
+
default: true
|
|
50685
|
+
}
|
|
50686
|
+
},
|
|
50687
|
+
setup(__props, { expose: __expose }) {
|
|
50688
|
+
|
|
50689
|
+
const { t, lang, locale } = (0,useGlobalConfig_js_.useLocale)();
|
|
50690
|
+
// 获取组件传参
|
|
50691
|
+
const props = __props;
|
|
50692
|
+
// 关联数据
|
|
50693
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
50694
|
+
collapseValue: props?.settingParams?.collapseValue ?? "setting", // 默认展开属性设置
|
|
50695
|
+
materialPart: props?.settingParams?.materialPart ?? "", // 材质部位
|
|
50696
|
+
materialGroup: props?.settingParams?.materialGroup ?? "" // 材质分组
|
|
50697
|
+
});
|
|
50698
|
+
let materialParts = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([locale.value.webgl.roof, locale.value.webgl.facade]);
|
|
50699
|
+
let materialGroups = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([locale.value.webgl.wallTile, locale.value.webgl.road, locale.value.webgl.metal]);
|
|
50700
|
+
|
|
50701
|
+
let materialImages = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([
|
|
50702
|
+
{ name: "自然风光", url: "https://picsum.photos/100/80?random=1" },
|
|
50703
|
+
{ name: "城市建筑", url: "https://picsum.photos/100/80?random=2" },
|
|
50704
|
+
{ name: "可爱动物", url: "https://picsum.photos/100/80?random=3" },
|
|
50705
|
+
{ name: "美食佳肴", url: "https://picsum.photos/100/80?random=4" },
|
|
50706
|
+
{ name: "科技产品", url: "https://picsum.photos/100/80?random=5" },
|
|
50707
|
+
{ name: "艺术设计", url: "https://picsum.photos/100/80?random=6" },
|
|
50708
|
+
{ name: "旅行记忆", url: "https://picsum.photos/100/80?random=7" },
|
|
50709
|
+
{ name: "人物肖像", url: "https://picsum.photos/100/80?random=8" },
|
|
50710
|
+
{ name: "艺术设计", url: "https://picsum.photos/100/80?random=6" },
|
|
50711
|
+
{ name: "旅行记忆", url: "https://picsum.photos/100/80?random=7" },
|
|
50712
|
+
{ name: "人物肖像", url: "https://picsum.photos/100/80?random=8" }
|
|
50713
|
+
]);
|
|
50714
|
+
let showNotification = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
50715
|
+
let notificationText = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
50716
|
+
// 组件容器Ref
|
|
50717
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
50718
|
+
// 生成组件默认header
|
|
50719
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
50720
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
50721
|
+
let viewModel = null;
|
|
50722
|
+
|
|
50723
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
50724
|
+
(0,util_js_.updatePosition)(boxRef.value, props);
|
|
50725
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(
|
|
50726
|
+
() => props.position,
|
|
50727
|
+
(newVal, oldVal) => {
|
|
50728
|
+
(0,util_js_.updatePosition)(boxRef.value, props);
|
|
50729
|
+
}
|
|
50730
|
+
);
|
|
50731
|
+
watchCreateHeaderTemp();
|
|
50732
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(
|
|
50733
|
+
() => props.showHeaderTemp,
|
|
50734
|
+
(newVal, oldVal) => {
|
|
50735
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
50736
|
+
watchCreateHeaderTemp();
|
|
50737
|
+
});
|
|
50738
|
+
}
|
|
50739
|
+
);
|
|
50740
|
+
|
|
50741
|
+
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
50742
|
+
if (scenceView) {
|
|
50743
|
+
viewModel = new BuildPolygonModelViewModel(scenceView, formItem);
|
|
50744
|
+
}
|
|
50745
|
+
});
|
|
50746
|
+
});
|
|
50747
|
+
|
|
50748
|
+
/**
|
|
50749
|
+
* @description 监听header生成
|
|
50750
|
+
*/
|
|
50751
|
+
const watchCreateHeaderTemp = () => {
|
|
50752
|
+
if (props.showHeaderTemp) {
|
|
50753
|
+
// 生成headerTemp
|
|
50754
|
+
headerTemp.value = (0,util_js_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, "webgl.modelMaterialEditTitle");
|
|
50755
|
+
}
|
|
50756
|
+
};
|
|
50757
|
+
//
|
|
50758
|
+
function paramsChanged(key) {}
|
|
50759
|
+
// 添加图片
|
|
50760
|
+
function addImage(){
|
|
50761
|
+
|
|
50762
|
+
}
|
|
50763
|
+
function clear() {
|
|
50764
|
+
viewModel?.clear();
|
|
50765
|
+
}
|
|
50766
|
+
// 销毁
|
|
50767
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
50768
|
+
clear();
|
|
50769
|
+
});
|
|
50770
|
+
|
|
50771
|
+
__expose({});
|
|
50772
|
+
|
|
50773
|
+
return (_ctx, _cache) => {
|
|
50774
|
+
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option")
|
|
50775
|
+
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select")
|
|
50776
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row")
|
|
50777
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item")
|
|
50778
|
+
const _component_kq_radio_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-button")
|
|
50779
|
+
const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group")
|
|
50780
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form")
|
|
50781
|
+
|
|
50782
|
+
return ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
50783
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-material-edit", { 'kq-box-shadow': __props.showShadow }]),
|
|
50784
|
+
ref_key: "boxRef",
|
|
50785
|
+
ref: boxRef
|
|
50786
|
+
}, [
|
|
50787
|
+
(__props.showHeaderTemp)
|
|
50788
|
+
? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
50789
|
+
key: 0,
|
|
50790
|
+
ref_key: "headerTempRef",
|
|
50791
|
+
ref: headerTempRef
|
|
50792
|
+
}, null, 512 /* NEED_PATCH */))
|
|
50793
|
+
: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true),
|
|
50794
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [
|
|
50795
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
50796
|
+
"label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(lang) === 'zh' ? '100px' : '120px',
|
|
50797
|
+
"label-position": "left"
|
|
50798
|
+
}, {
|
|
50799
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50800
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
50801
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50802
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
50803
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(locale).webgl.materialPart
|
|
50804
|
+
}, {
|
|
50805
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50806
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
50807
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50808
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
50809
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialPart,
|
|
50810
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialPart) = $event)),
|
|
50811
|
+
onChange: _cache[1] || (_cache[1] = $event => (paramsChanged('materialPart'))),
|
|
50812
|
+
style: {"width":"100%"}
|
|
50813
|
+
}, {
|
|
50814
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50815
|
+
((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)(materialParts), (item, index) => {
|
|
50816
|
+
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_option, {
|
|
50817
|
+
label: item,
|
|
50818
|
+
key: index,
|
|
50819
|
+
value: item
|
|
50820
|
+
}, null, 8 /* PROPS */, ["label", "value"]))
|
|
50821
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
50822
|
+
]),
|
|
50823
|
+
_: 1 /* STABLE */
|
|
50824
|
+
}, 8 /* PROPS */, ["modelValue"])
|
|
50825
|
+
]),
|
|
50826
|
+
_: 1 /* STABLE */
|
|
50827
|
+
})
|
|
50828
|
+
]),
|
|
50829
|
+
_: 1 /* STABLE */
|
|
50830
|
+
}, 8 /* PROPS */, ["label"])
|
|
50831
|
+
]),
|
|
50832
|
+
_: 1 /* STABLE */
|
|
50833
|
+
}),
|
|
50834
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
50835
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50836
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
50837
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(locale).webgl.materialGroup
|
|
50838
|
+
}, {
|
|
50839
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50840
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
50841
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50842
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
50843
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialGroup,
|
|
50844
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialGroup) = $event)),
|
|
50845
|
+
onChange: _cache[3] || (_cache[3] = $event => (paramsChanged('materialGroup'))),
|
|
50846
|
+
style: {"width":"100%"}
|
|
50847
|
+
}, {
|
|
50848
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50849
|
+
((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)(materialGroups), (item, index) => {
|
|
50850
|
+
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_option, {
|
|
50851
|
+
label: item,
|
|
50852
|
+
key: index,
|
|
50853
|
+
value: item
|
|
50854
|
+
}, null, 8 /* PROPS */, ["label", "value"]))
|
|
50855
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
50856
|
+
]),
|
|
50857
|
+
_: 1 /* STABLE */
|
|
50858
|
+
}, 8 /* PROPS */, ["modelValue"])
|
|
50859
|
+
]),
|
|
50860
|
+
_: 1 /* STABLE */
|
|
50861
|
+
})
|
|
50862
|
+
]),
|
|
50863
|
+
_: 1 /* STABLE */
|
|
50864
|
+
}, 8 /* PROPS */, ["label"])
|
|
50865
|
+
]),
|
|
50866
|
+
_: 1 /* STABLE */
|
|
50867
|
+
}),
|
|
50868
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
50869
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50870
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [
|
|
50871
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [
|
|
50872
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
50873
|
+
class: "thumbnail-item",
|
|
50874
|
+
onClick: addImage
|
|
50875
|
+
}, [
|
|
50876
|
+
_cache[6] || (_cache[6] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", { class: "add-image" }, [
|
|
50877
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", { class: "add-icon" }, "+")
|
|
50878
|
+
], -1 /* CACHED */)),
|
|
50879
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(locale).webgl.newMaterial), 1 /* TEXT */)
|
|
50880
|
+
]),
|
|
50881
|
+
((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)(materialImages), (image, index) => {
|
|
50882
|
+
return ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", {
|
|
50883
|
+
class: "thumbnail-item",
|
|
50884
|
+
key: index
|
|
50885
|
+
}, [
|
|
50886
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
50887
|
+
src: image.url,
|
|
50888
|
+
alt: image.name,
|
|
50889
|
+
class: "thumbnail-img"
|
|
50890
|
+
}, null, 8 /* PROPS */, _hoisted_5),
|
|
50891
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_6, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(image.name), 1 /* TEXT */)
|
|
50892
|
+
]))
|
|
50893
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
50894
|
+
])
|
|
50895
|
+
])
|
|
50896
|
+
]),
|
|
50897
|
+
_: 1 /* STABLE */
|
|
50898
|
+
}),
|
|
50899
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"margin-bootom":"0px"} }, {
|
|
50900
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50901
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
50902
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(locale).webgl.materialType
|
|
50903
|
+
}, {
|
|
50904
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50905
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
50906
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50907
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_group, {
|
|
50908
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialType,
|
|
50909
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialType) = $event)),
|
|
50910
|
+
onChange: _cache[5] || (_cache[5] = $event => (paramsChanged('materialType')))
|
|
50911
|
+
}, {
|
|
50912
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50913
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, { label: 1 }, {
|
|
50914
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50915
|
+
(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)(t)('webgl.commonMaterial')), 1 /* TEXT */)
|
|
50916
|
+
]),
|
|
50917
|
+
_: 1 /* STABLE */
|
|
50918
|
+
}),
|
|
50919
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, { label: 2 }, {
|
|
50920
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
50921
|
+
(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)(t)('webgl.pbrMaterial')), 1 /* TEXT */)
|
|
50922
|
+
]),
|
|
50923
|
+
_: 1 /* STABLE */
|
|
50924
|
+
})
|
|
50925
|
+
]),
|
|
50926
|
+
_: 1 /* STABLE */
|
|
50927
|
+
}, 8 /* PROPS */, ["modelValue"])
|
|
50928
|
+
]),
|
|
50929
|
+
_: 1 /* STABLE */
|
|
50930
|
+
})
|
|
50931
|
+
]),
|
|
50932
|
+
_: 1 /* STABLE */
|
|
50933
|
+
}, 8 /* PROPS */, ["label"])
|
|
50934
|
+
]),
|
|
50935
|
+
_: 1 /* STABLE */
|
|
50936
|
+
})
|
|
50937
|
+
]),
|
|
50938
|
+
_: 1 /* STABLE */
|
|
50939
|
+
}, 8 /* PROPS */, ["label-width"])
|
|
50940
|
+
])
|
|
50941
|
+
], 2 /* CLASS */))
|
|
50942
|
+
}
|
|
50943
|
+
}
|
|
50944
|
+
|
|
50945
|
+
}));
|
|
50946
|
+
;// ./src/webgl/modelmaterialedit/ModelMaterialEdit.vue?vue&type=script&setup=true&lang=js
|
|
50947
|
+
|
|
50948
|
+
;// ./src/webgl/modelmaterialedit/ModelMaterialEdit.vue
|
|
50949
|
+
|
|
50950
|
+
|
|
50951
|
+
|
|
50952
|
+
const __exports__ = ModelMaterialEditvue_type_script_setup_true_lang_js;
|
|
50953
|
+
|
|
50954
|
+
/* harmony default export */ var ModelMaterialEdit = (__exports__);
|
|
50955
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
50956
|
+
var init_js_ = __webpack_require__(455);
|
|
50957
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
50958
|
+
;// ./src/webgl/modelmaterialedit/index.js
|
|
50959
|
+
/*
|
|
50960
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
50961
|
+
* All rights reserved.
|
|
50962
|
+
*/
|
|
50963
|
+
|
|
50964
|
+
|
|
50965
|
+
|
|
50966
|
+
|
|
50967
|
+
ModelMaterialEdit.install = (Vue, opts) => {
|
|
50968
|
+
init_js_default()(Vue, opts);
|
|
50969
|
+
Vue.component(ModelMaterialEdit.name, ModelMaterialEdit);
|
|
50970
|
+
};
|
|
50971
|
+
|
|
50972
|
+
|
|
50973
|
+
|
|
50974
|
+
|
|
50568
50975
|
/***/ }),
|
|
50569
50976
|
|
|
50570
50977
|
/***/ 8974:
|
|
@@ -58111,10 +58518,10 @@ const __exports__ = AddDatavue_type_script_setup_true_lang_js;
|
|
|
58111
58518
|
var init_js_ = __webpack_require__(455);
|
|
58112
58519
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
58113
58520
|
;// ./src/webgl/adddata/index.js
|
|
58114
|
-
/*
|
|
58115
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
58116
|
-
* All rights reserved.
|
|
58117
|
-
*/
|
|
58521
|
+
/*
|
|
58522
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
58523
|
+
* All rights reserved.
|
|
58524
|
+
*/
|
|
58118
58525
|
|
|
58119
58526
|
|
|
58120
58527
|
|
|
@@ -58125,7 +58532,8 @@ AddData.install = (Vue, opts) => {
|
|
|
58125
58532
|
};
|
|
58126
58533
|
|
|
58127
58534
|
|
|
58128
|
-
|
|
58535
|
+
|
|
58536
|
+
kq_npm_client3d_webgl_vue.Kq3dAddData = AddData;
|
|
58129
58537
|
|
|
58130
58538
|
/***/ }),
|
|
58131
58539
|
|