@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/index.js
CHANGED
|
@@ -1176,6 +1176,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1176
1176
|
Kq3dModelFilterViewModel: function() { return /* reexport */ ModelFilterViewModel; },
|
|
1177
1177
|
Kq3dModelFlat: function() { return /* reexport */ ModelFlat; },
|
|
1178
1178
|
Kq3dModelFlatViewModel: function() { return /* reexport */ ModelFlatViewModel; },
|
|
1179
|
+
Kq3dModelMaterialEdit: function() { return /* reexport */ ModelMaterialEdit; },
|
|
1180
|
+
Kq3dModelMaterialEditViewModel: function() { return /* reexport */ ModelMaterialEditViewModel_BuildPolygonModelViewModel; },
|
|
1179
1181
|
Kq3dModelProfileAnalysis: function() { return /* reexport */ ModelProfileAnalysis; },
|
|
1180
1182
|
Kq3dModelProfileAnalysisViewModel: function() { return /* reexport */ ModelProfileAnalysisViewModel; },
|
|
1181
1183
|
Kq3dModelSelect: function() { return /* reexport */ ModelSelect; },
|
|
@@ -2742,9 +2744,9 @@ let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_np
|
|
|
2742
2744
|
|
|
2743
2745
|
__webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
|
|
2744
2746
|
|
|
2745
|
-
let
|
|
2747
|
+
let KqGIS_kq_npm_client3d_webgl_vue = (window.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue || {});
|
|
2746
2748
|
|
|
2747
|
-
__webpack_require__.g.kq_npm_client3d_webgl_vue =
|
|
2749
|
+
__webpack_require__.g.kq_npm_client3d_webgl_vue = KqGIS_kq_npm_client3d_webgl_vue;
|
|
2748
2750
|
|
|
2749
2751
|
|
|
2750
2752
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
@@ -6625,7 +6627,6 @@ const __exports__ = SceneViewvue_type_script_setup_true_lang_js;
|
|
|
6625
6627
|
|
|
6626
6628
|
|
|
6627
6629
|
|
|
6628
|
-
|
|
6629
6630
|
SceneView.install = (Vue, opts) => {
|
|
6630
6631
|
init_js_default()(Vue, opts);
|
|
6631
6632
|
Vue.component(SceneView.name, SceneView);
|
|
@@ -6633,7 +6634,7 @@ SceneView.install = (Vue, opts) => {
|
|
|
6633
6634
|
|
|
6634
6635
|
|
|
6635
6636
|
|
|
6636
|
-
kq_npm_client3d_webgl_vue.KqSceneView = SceneView
|
|
6637
|
+
kq_npm_client3d_webgl_vue.KqSceneView = SceneView;
|
|
6637
6638
|
|
|
6638
6639
|
;// external "@element-plus/icons-vue"
|
|
6639
6640
|
var icons_vue_namespaceObject = require("@element-plus/icons-vue");
|
|
@@ -6815,10 +6816,10 @@ const FixedZoomout_exports_ = FixedZoomoutvue_type_script_setup_true_lang_js;
|
|
|
6815
6816
|
|
|
6816
6817
|
/* harmony default export */ var FixedZoomout = (FixedZoomout_exports_);
|
|
6817
6818
|
;// ./src/webgl/fixedzoomout/index.js
|
|
6818
|
-
/*
|
|
6819
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
6820
|
-
* All rights reserved.
|
|
6821
|
-
*/
|
|
6819
|
+
/*
|
|
6820
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
6821
|
+
* All rights reserved.
|
|
6822
|
+
*/
|
|
6822
6823
|
|
|
6823
6824
|
|
|
6824
6825
|
|
|
@@ -6828,7 +6829,9 @@ FixedZoomout.install = (Vue, opts) => {
|
|
|
6828
6829
|
Vue.component(FixedZoomout.name, FixedZoomout);
|
|
6829
6830
|
};
|
|
6830
6831
|
|
|
6831
|
-
|
|
6832
|
+
|
|
6833
|
+
|
|
6834
|
+
kq_npm_client3d_webgl_vue.Kq3dFixedZoomout = FixedZoomout;
|
|
6832
6835
|
;// ./src/webgl/fixedzoomin/FixedZoominViewModel.js
|
|
6833
6836
|
/*
|
|
6834
6837
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
@@ -7006,10 +7009,10 @@ const FixedZoomin_exports_ = FixedZoominvue_type_script_setup_true_lang_js;
|
|
|
7006
7009
|
|
|
7007
7010
|
/* harmony default export */ var FixedZoomin = (FixedZoomin_exports_);
|
|
7008
7011
|
;// ./src/webgl/fixedzoomin/index.js
|
|
7009
|
-
/*
|
|
7010
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
7011
|
-
* All rights reserved.
|
|
7012
|
-
*/
|
|
7012
|
+
/*
|
|
7013
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
7014
|
+
* All rights reserved.
|
|
7015
|
+
*/
|
|
7013
7016
|
|
|
7014
7017
|
|
|
7015
7018
|
|
|
@@ -7019,7 +7022,9 @@ FixedZoomin.install = (Vue, opts) => {
|
|
|
7019
7022
|
Vue.component(FixedZoomin.name, FixedZoomin);
|
|
7020
7023
|
};
|
|
7021
7024
|
|
|
7022
|
-
|
|
7025
|
+
|
|
7026
|
+
|
|
7027
|
+
kq_npm_client3d_webgl_vue.Kq3dFixedZoomin = FixedZoomin;
|
|
7023
7028
|
;// ./src/webgl/resetview/ResetViewViewModel.js
|
|
7024
7029
|
/*
|
|
7025
7030
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
@@ -41709,10 +41714,10 @@ const AddData_exports_ = AddDatavue_type_script_setup_true_lang_js;
|
|
|
41709
41714
|
|
|
41710
41715
|
/* harmony default export */ var AddData = (AddData_exports_);
|
|
41711
41716
|
;// ./src/webgl/adddata/index.js
|
|
41712
|
-
/*
|
|
41713
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
41714
|
-
* All rights reserved.
|
|
41715
|
-
*/
|
|
41717
|
+
/*
|
|
41718
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
41719
|
+
* All rights reserved.
|
|
41720
|
+
*/
|
|
41716
41721
|
|
|
41717
41722
|
|
|
41718
41723
|
|
|
@@ -41723,7 +41728,8 @@ AddData.install = (Vue, opts) => {
|
|
|
41723
41728
|
};
|
|
41724
41729
|
|
|
41725
41730
|
|
|
41726
|
-
|
|
41731
|
+
|
|
41732
|
+
kq_npm_client3d_webgl_vue.Kq3dAddData = AddData;
|
|
41727
41733
|
;// ./src/webgl/particleeffect/ParticleEffectViewModel.js
|
|
41728
41734
|
/*
|
|
41729
41735
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
@@ -55206,6 +55212,378 @@ BuildPolylineModel.install = (Vue, opts) => {
|
|
|
55206
55212
|
|
|
55207
55213
|
|
|
55208
55214
|
|
|
55215
|
+
;// ./src/webgl/modelmaterialedit/ModelMaterialEditViewModel.js
|
|
55216
|
+
/*
|
|
55217
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
55218
|
+
* All rights reserved.
|
|
55219
|
+
*/
|
|
55220
|
+
|
|
55221
|
+
class ModelMaterialEditViewModel_BuildPolygonModelViewModel {
|
|
55222
|
+
_options = {};
|
|
55223
|
+
_scenceView = null;
|
|
55224
|
+
constructor(scenceView, formItem) {
|
|
55225
|
+
this._scenceView = scenceView;
|
|
55226
|
+
this._options = formItem;
|
|
55227
|
+
|
|
55228
|
+
}
|
|
55229
|
+
//清除
|
|
55230
|
+
clear() {
|
|
55231
|
+
|
|
55232
|
+
}
|
|
55233
|
+
//销毁
|
|
55234
|
+
destroy() {
|
|
55235
|
+
this.clear();
|
|
55236
|
+
}
|
|
55237
|
+
}
|
|
55238
|
+
|
|
55239
|
+
;// ./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/modelmaterialedit/ModelMaterialEdit.vue?vue&type=script&setup=true&lang=js
|
|
55240
|
+
|
|
55241
|
+
|
|
55242
|
+
const ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_1 = { class: "kq3d-model-material-edit-box" }
|
|
55243
|
+
const ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_2 = { class: "thumbnail-container" }
|
|
55244
|
+
const ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_3 = { class: "thumbnails-grid" }
|
|
55245
|
+
const ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_4 = { class: "thumbnail-name" }
|
|
55246
|
+
const ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_5 = ["src", "alt"]
|
|
55247
|
+
const ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_6 = { class: "thumbnail-name" }
|
|
55248
|
+
|
|
55249
|
+
;
|
|
55250
|
+
|
|
55251
|
+
|
|
55252
|
+
|
|
55253
|
+
|
|
55254
|
+
|
|
55255
|
+
|
|
55256
|
+
|
|
55257
|
+
const ModelMaterialEditvue_type_script_setup_true_lang_js_default_ = {
|
|
55258
|
+
name: "Kq3dModelMaterialEdit"
|
|
55259
|
+
};
|
|
55260
|
+
|
|
55261
|
+
/* harmony default export */ var ModelMaterialEditvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(ModelMaterialEditvue_type_script_setup_true_lang_js_default_, {
|
|
55262
|
+
props: {
|
|
55263
|
+
mapTarget: {
|
|
55264
|
+
type: String
|
|
55265
|
+
},
|
|
55266
|
+
settingParams: {
|
|
55267
|
+
type: String
|
|
55268
|
+
},
|
|
55269
|
+
// 是否显示阴影
|
|
55270
|
+
showShadow: {
|
|
55271
|
+
type: Boolean,
|
|
55272
|
+
default: true
|
|
55273
|
+
},
|
|
55274
|
+
/**
|
|
55275
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
55276
|
+
*/
|
|
55277
|
+
position: [String, Object],
|
|
55278
|
+
// 是否生成HeaderTemp
|
|
55279
|
+
showHeaderTemp: {
|
|
55280
|
+
type: Boolean,
|
|
55281
|
+
default: false
|
|
55282
|
+
},
|
|
55283
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
55284
|
+
isCollapseHeaderTemp: {
|
|
55285
|
+
type: Boolean,
|
|
55286
|
+
default: false
|
|
55287
|
+
},
|
|
55288
|
+
// HeaderTemp标题
|
|
55289
|
+
headerTempTitle: {
|
|
55290
|
+
type: String
|
|
55291
|
+
},
|
|
55292
|
+
// HeaderTemp图标
|
|
55293
|
+
headerTempIcon: {
|
|
55294
|
+
type: [Object, String],
|
|
55295
|
+
default: client_icons_vue_namespaceObject.IconModelMaterialEdit
|
|
55296
|
+
},
|
|
55297
|
+
// HeaderTemp Title&Icon的位置
|
|
55298
|
+
isRight: {
|
|
55299
|
+
type: Boolean,
|
|
55300
|
+
default: true
|
|
55301
|
+
}
|
|
55302
|
+
},
|
|
55303
|
+
setup(__props, { expose: __expose }) {
|
|
55304
|
+
|
|
55305
|
+
const { t, lang, locale } = (0,useGlobalConfig_js_.useLocale)();
|
|
55306
|
+
// 获取组件传参
|
|
55307
|
+
const props = __props;
|
|
55308
|
+
// 关联数据
|
|
55309
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
55310
|
+
collapseValue: props?.settingParams?.collapseValue ?? "setting", // 默认展开属性设置
|
|
55311
|
+
materialPart: props?.settingParams?.materialPart ?? "", // 材质部位
|
|
55312
|
+
materialGroup: props?.settingParams?.materialGroup ?? "" // 材质分组
|
|
55313
|
+
});
|
|
55314
|
+
let materialParts = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([locale.value.webgl.roof, locale.value.webgl.facade]);
|
|
55315
|
+
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]);
|
|
55316
|
+
|
|
55317
|
+
let materialImages = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([
|
|
55318
|
+
{ name: "自然风光", url: "https://picsum.photos/100/80?random=1" },
|
|
55319
|
+
{ name: "城市建筑", url: "https://picsum.photos/100/80?random=2" },
|
|
55320
|
+
{ name: "可爱动物", url: "https://picsum.photos/100/80?random=3" },
|
|
55321
|
+
{ name: "美食佳肴", url: "https://picsum.photos/100/80?random=4" },
|
|
55322
|
+
{ name: "科技产品", url: "https://picsum.photos/100/80?random=5" },
|
|
55323
|
+
{ name: "艺术设计", url: "https://picsum.photos/100/80?random=6" },
|
|
55324
|
+
{ name: "旅行记忆", url: "https://picsum.photos/100/80?random=7" },
|
|
55325
|
+
{ name: "人物肖像", url: "https://picsum.photos/100/80?random=8" },
|
|
55326
|
+
{ name: "艺术设计", url: "https://picsum.photos/100/80?random=6" },
|
|
55327
|
+
{ name: "旅行记忆", url: "https://picsum.photos/100/80?random=7" },
|
|
55328
|
+
{ name: "人物肖像", url: "https://picsum.photos/100/80?random=8" }
|
|
55329
|
+
]);
|
|
55330
|
+
let showNotification = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
55331
|
+
let notificationText = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
55332
|
+
// 组件容器Ref
|
|
55333
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
55334
|
+
// 生成组件默认header
|
|
55335
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
55336
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
55337
|
+
let viewModel = null;
|
|
55338
|
+
|
|
55339
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
55340
|
+
(0,util_js_.updatePosition)(boxRef.value, props);
|
|
55341
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(
|
|
55342
|
+
() => props.position,
|
|
55343
|
+
(newVal, oldVal) => {
|
|
55344
|
+
(0,util_js_.updatePosition)(boxRef.value, props);
|
|
55345
|
+
}
|
|
55346
|
+
);
|
|
55347
|
+
watchCreateHeaderTemp();
|
|
55348
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(
|
|
55349
|
+
() => props.showHeaderTemp,
|
|
55350
|
+
(newVal, oldVal) => {
|
|
55351
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
55352
|
+
watchCreateHeaderTemp();
|
|
55353
|
+
});
|
|
55354
|
+
}
|
|
55355
|
+
);
|
|
55356
|
+
|
|
55357
|
+
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
55358
|
+
if (scenceView) {
|
|
55359
|
+
viewModel = new ModelMaterialEditViewModel_BuildPolygonModelViewModel(scenceView, formItem);
|
|
55360
|
+
}
|
|
55361
|
+
});
|
|
55362
|
+
});
|
|
55363
|
+
|
|
55364
|
+
/**
|
|
55365
|
+
* @description 监听header生成
|
|
55366
|
+
*/
|
|
55367
|
+
const watchCreateHeaderTemp = () => {
|
|
55368
|
+
if (props.showHeaderTemp) {
|
|
55369
|
+
// 生成headerTemp
|
|
55370
|
+
headerTemp.value = (0,util_js_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, "webgl.modelMaterialEditTitle");
|
|
55371
|
+
}
|
|
55372
|
+
};
|
|
55373
|
+
//
|
|
55374
|
+
function paramsChanged(key) {}
|
|
55375
|
+
// 添加图片
|
|
55376
|
+
function addImage(){
|
|
55377
|
+
|
|
55378
|
+
}
|
|
55379
|
+
function clear() {
|
|
55380
|
+
viewModel?.clear();
|
|
55381
|
+
}
|
|
55382
|
+
// 销毁
|
|
55383
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
55384
|
+
clear();
|
|
55385
|
+
});
|
|
55386
|
+
|
|
55387
|
+
__expose({});
|
|
55388
|
+
|
|
55389
|
+
return (_ctx, _cache) => {
|
|
55390
|
+
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option")
|
|
55391
|
+
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select")
|
|
55392
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row")
|
|
55393
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item")
|
|
55394
|
+
const _component_kq_radio_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-button")
|
|
55395
|
+
const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group")
|
|
55396
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form")
|
|
55397
|
+
|
|
55398
|
+
return ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
55399
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-material-edit", { 'kq-box-shadow': __props.showShadow }]),
|
|
55400
|
+
ref_key: "boxRef",
|
|
55401
|
+
ref: boxRef
|
|
55402
|
+
}, [
|
|
55403
|
+
(__props.showHeaderTemp)
|
|
55404
|
+
? ((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)), {
|
|
55405
|
+
key: 0,
|
|
55406
|
+
ref_key: "headerTempRef",
|
|
55407
|
+
ref: headerTempRef
|
|
55408
|
+
}, null, 512 /* NEED_PATCH */))
|
|
55409
|
+
: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true),
|
|
55410
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_1, [
|
|
55411
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
55412
|
+
"label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(lang) === 'zh' ? '100px' : '120px',
|
|
55413
|
+
"label-position": "left"
|
|
55414
|
+
}, {
|
|
55415
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55416
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
55417
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55418
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
55419
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(locale).webgl.materialPart
|
|
55420
|
+
}, {
|
|
55421
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55422
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
55423
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55424
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
55425
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialPart,
|
|
55426
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialPart) = $event)),
|
|
55427
|
+
onChange: _cache[1] || (_cache[1] = $event => (paramsChanged('materialPart'))),
|
|
55428
|
+
style: {"width":"100%"}
|
|
55429
|
+
}, {
|
|
55430
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55431
|
+
((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) => {
|
|
55432
|
+
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, {
|
|
55433
|
+
label: item,
|
|
55434
|
+
key: index,
|
|
55435
|
+
value: item
|
|
55436
|
+
}, null, 8 /* PROPS */, ["label", "value"]))
|
|
55437
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
55438
|
+
]),
|
|
55439
|
+
_: 1 /* STABLE */
|
|
55440
|
+
}, 8 /* PROPS */, ["modelValue"])
|
|
55441
|
+
]),
|
|
55442
|
+
_: 1 /* STABLE */
|
|
55443
|
+
})
|
|
55444
|
+
]),
|
|
55445
|
+
_: 1 /* STABLE */
|
|
55446
|
+
}, 8 /* PROPS */, ["label"])
|
|
55447
|
+
]),
|
|
55448
|
+
_: 1 /* STABLE */
|
|
55449
|
+
}),
|
|
55450
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
55451
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55452
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
55453
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(locale).webgl.materialGroup
|
|
55454
|
+
}, {
|
|
55455
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55456
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
55457
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55458
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
55459
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialGroup,
|
|
55460
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialGroup) = $event)),
|
|
55461
|
+
onChange: _cache[3] || (_cache[3] = $event => (paramsChanged('materialGroup'))),
|
|
55462
|
+
style: {"width":"100%"}
|
|
55463
|
+
}, {
|
|
55464
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55465
|
+
((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) => {
|
|
55466
|
+
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, {
|
|
55467
|
+
label: item,
|
|
55468
|
+
key: index,
|
|
55469
|
+
value: item
|
|
55470
|
+
}, null, 8 /* PROPS */, ["label", "value"]))
|
|
55471
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
55472
|
+
]),
|
|
55473
|
+
_: 1 /* STABLE */
|
|
55474
|
+
}, 8 /* PROPS */, ["modelValue"])
|
|
55475
|
+
]),
|
|
55476
|
+
_: 1 /* STABLE */
|
|
55477
|
+
})
|
|
55478
|
+
]),
|
|
55479
|
+
_: 1 /* STABLE */
|
|
55480
|
+
}, 8 /* PROPS */, ["label"])
|
|
55481
|
+
]),
|
|
55482
|
+
_: 1 /* STABLE */
|
|
55483
|
+
}),
|
|
55484
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
55485
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55486
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_2, [
|
|
55487
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_3, [
|
|
55488
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
55489
|
+
class: "thumbnail-item",
|
|
55490
|
+
onClick: addImage
|
|
55491
|
+
}, [
|
|
55492
|
+
_cache[6] || (_cache[6] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", { class: "add-image" }, [
|
|
55493
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", { class: "add-icon" }, "+")
|
|
55494
|
+
], -1 /* CACHED */)),
|
|
55495
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", ModelMaterialEditvue_type_script_setup_true_lang_js_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 */)
|
|
55496
|
+
]),
|
|
55497
|
+
((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) => {
|
|
55498
|
+
return ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", {
|
|
55499
|
+
class: "thumbnail-item",
|
|
55500
|
+
key: index
|
|
55501
|
+
}, [
|
|
55502
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
55503
|
+
src: image.url,
|
|
55504
|
+
alt: image.name,
|
|
55505
|
+
class: "thumbnail-img"
|
|
55506
|
+
}, null, 8 /* PROPS */, ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_5),
|
|
55507
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", ModelMaterialEditvue_type_script_setup_true_lang_js_hoisted_6, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(image.name), 1 /* TEXT */)
|
|
55508
|
+
]))
|
|
55509
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
55510
|
+
])
|
|
55511
|
+
])
|
|
55512
|
+
]),
|
|
55513
|
+
_: 1 /* STABLE */
|
|
55514
|
+
}),
|
|
55515
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"margin-bootom":"0px"} }, {
|
|
55516
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55517
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
55518
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(locale).webgl.materialType
|
|
55519
|
+
}, {
|
|
55520
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55521
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
55522
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55523
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_group, {
|
|
55524
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialType,
|
|
55525
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialType) = $event)),
|
|
55526
|
+
onChange: _cache[5] || (_cache[5] = $event => (paramsChanged('materialType')))
|
|
55527
|
+
}, {
|
|
55528
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55529
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, { label: 1 }, {
|
|
55530
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55531
|
+
(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 */)
|
|
55532
|
+
]),
|
|
55533
|
+
_: 1 /* STABLE */
|
|
55534
|
+
}),
|
|
55535
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, { label: 2 }, {
|
|
55536
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
55537
|
+
(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 */)
|
|
55538
|
+
]),
|
|
55539
|
+
_: 1 /* STABLE */
|
|
55540
|
+
})
|
|
55541
|
+
]),
|
|
55542
|
+
_: 1 /* STABLE */
|
|
55543
|
+
}, 8 /* PROPS */, ["modelValue"])
|
|
55544
|
+
]),
|
|
55545
|
+
_: 1 /* STABLE */
|
|
55546
|
+
})
|
|
55547
|
+
]),
|
|
55548
|
+
_: 1 /* STABLE */
|
|
55549
|
+
}, 8 /* PROPS */, ["label"])
|
|
55550
|
+
]),
|
|
55551
|
+
_: 1 /* STABLE */
|
|
55552
|
+
})
|
|
55553
|
+
]),
|
|
55554
|
+
_: 1 /* STABLE */
|
|
55555
|
+
}, 8 /* PROPS */, ["label-width"])
|
|
55556
|
+
])
|
|
55557
|
+
], 2 /* CLASS */))
|
|
55558
|
+
}
|
|
55559
|
+
}
|
|
55560
|
+
|
|
55561
|
+
}));
|
|
55562
|
+
;// ./src/webgl/modelmaterialedit/ModelMaterialEdit.vue?vue&type=script&setup=true&lang=js
|
|
55563
|
+
|
|
55564
|
+
;// ./src/webgl/modelmaterialedit/ModelMaterialEdit.vue
|
|
55565
|
+
|
|
55566
|
+
|
|
55567
|
+
|
|
55568
|
+
const ModelMaterialEdit_exports_ = ModelMaterialEditvue_type_script_setup_true_lang_js;
|
|
55569
|
+
|
|
55570
|
+
/* harmony default export */ var ModelMaterialEdit = (ModelMaterialEdit_exports_);
|
|
55571
|
+
;// ./src/webgl/modelmaterialedit/index.js
|
|
55572
|
+
/*
|
|
55573
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
55574
|
+
* All rights reserved.
|
|
55575
|
+
*/
|
|
55576
|
+
|
|
55577
|
+
|
|
55578
|
+
|
|
55579
|
+
|
|
55580
|
+
ModelMaterialEdit.install = (Vue, opts) => {
|
|
55581
|
+
init_js_default()(Vue, opts);
|
|
55582
|
+
Vue.component(ModelMaterialEdit.name, ModelMaterialEdit);
|
|
55583
|
+
};
|
|
55584
|
+
|
|
55585
|
+
|
|
55586
|
+
|
|
55209
55587
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue"
|
|
55210
55588
|
var client_common_vue_ = __webpack_require__(103);
|
|
55211
55589
|
;// ./src/common/_utils/api/resourceApi.js
|
|
@@ -57945,6 +58323,9 @@ SceneApp.install = (Vue, opts) => {
|
|
|
57945
58323
|
// 三维地理设计-构建点模型
|
|
57946
58324
|
|
|
57947
58325
|
|
|
58326
|
+
// 三维地理设计-构建点模型
|
|
58327
|
+
|
|
58328
|
+
|
|
57948
58329
|
|
|
57949
58330
|
|
|
57950
58331
|
|
|
@@ -58005,7 +58386,8 @@ const webglComponents = {
|
|
|
58005
58386
|
Kq3dModelEdit: ModelEdit,
|
|
58006
58387
|
Kq3dBuildPolygonModel: BuildPolygonModel,
|
|
58007
58388
|
Kq3dBuildPointModel: BuildPointModel,
|
|
58008
|
-
Kq3dBuildPolylineModel: BuildPolylineModel
|
|
58389
|
+
Kq3dBuildPolylineModel: BuildPolylineModel,
|
|
58390
|
+
Kq3dModelMaterialEdit: ModelMaterialEdit
|
|
58009
58391
|
};
|
|
58010
58392
|
|
|
58011
58393
|
// 全局引入
|