@kq_npm/client3d_webgl_vue 4.5.47 → 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 +14 -8
- package/aspectanalysis/index.js +8 -3
- package/boxclip/index.js +8 -3
- package/buildpointmodel/index.js +8 -3
- package/buildpolygonmodel/index.js +110 -49
- package/buildpolylinemodel/index.js +8 -3
- package/clientPrint/index.js +548 -72
- package/excavatefillanalysis/index.js +8 -3
- package/fixedzoomin/index.js +7 -5
- package/fixedzoomout/index.js +7 -5
- package/flight/index.js +8 -3
- package/floodanalysis/index.js +8 -3
- package/geologicalbodyanalysis/index.js +8 -3
- package/gpuspatialquery/index.js +8 -3
- package/heatmap3d/index.js +8 -3
- package/index.js +513 -66
- package/isolineanalysis/index.js +8 -3
- package/limitheightanalysis/index.js +8 -3
- package/measure/index.js +8 -3
- package/modelFlat/index.js +8 -3
- package/modeledit/index.js +8 -3
- package/modelexcavate/index.js +8 -3
- package/modelmaterialedit/index.js +596 -0
- package/modelmaterialedit/style/index.js +3 -0
- package/modelmaterialedit/style/modelmaterialedit.css +1 -0
- package/modelprofileanalysis/index.js +8 -3
- package/modelselect/index.js +8 -3
- package/package.json +1 -1
- package/planeclip/index.js +8 -3
- package/scaneffect/index.js +8 -3
- package/sceneadvancedtoimage/index.js +8 -3
- package/sceneapp/index.js +548 -72
- package/sceneview/index.js +548 -72
- package/shadowanalysis/index.js +8 -3
- package/sightlineanalysis/index.js +8 -3
- package/skylineanalysis/index.js +8 -3
- package/slopeanalysis/index.js +8 -3
- package/slopeaspectanalysis/index.js +8 -3
- package/style.css +1 -1
- package/terrainoperation/index.js +8 -3
- package/terrainprofileanalysis/index.js +8 -3
- package/videofusion/index.js +8 -3
- package/videoproject/index.js +8 -3
- package/webgl.es.js +537 -121
- package/windyslicing/index.js +8 -3
- package/wireframesketch/index.js +8 -3
|
@@ -0,0 +1,596 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util.js"), require("@kq_npm/client_common_vue/configprovider/useGlobalConfig.js"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util.js", "@kq_npm/client_common_vue/configprovider/useGlobalConfig.js"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util.js"), require("@kq_npm/client_common_vue/configprovider/useGlobalConfig.js"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util.js"], root["@kq_npm/client_common_vue/configprovider/useGlobalConfig.js"]);
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__, __WEBPACK_EXTERNAL_MODULE__3684__, __WEBPACK_EXTERNAL_MODULE__5711__) {
|
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 64:
|
|
16
|
+
/***/ (function(module) {
|
|
17
|
+
|
|
18
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
19
|
+
|
|
20
|
+
/***/ }),
|
|
21
|
+
|
|
22
|
+
/***/ 154:
|
|
23
|
+
/***/ (function(module) {
|
|
24
|
+
|
|
25
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
26
|
+
|
|
27
|
+
/***/ }),
|
|
28
|
+
|
|
29
|
+
/***/ 455:
|
|
30
|
+
/***/ (function(module) {
|
|
31
|
+
|
|
32
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
33
|
+
|
|
34
|
+
/***/ }),
|
|
35
|
+
|
|
36
|
+
/***/ 1092:
|
|
37
|
+
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
38
|
+
|
|
39
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6363);
|
|
40
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
41
|
+
/* harmony import */ var _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8353);
|
|
42
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(455);
|
|
43
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_2__);
|
|
44
|
+
/*
|
|
45
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
46
|
+
* All rights reserved.
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
54
|
+
_init__WEBPACK_IMPORTED_MODULE_2___default()(Vue, opts);
|
|
55
|
+
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (KqMessage)));
|
|
59
|
+
|
|
60
|
+
_common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue */ .yR.KqMessage = element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage;
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
/***/ }),
|
|
64
|
+
|
|
65
|
+
/***/ 3684:
|
|
66
|
+
/***/ (function(module) {
|
|
67
|
+
|
|
68
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3684__;
|
|
69
|
+
|
|
70
|
+
/***/ }),
|
|
71
|
+
|
|
72
|
+
/***/ 5698:
|
|
73
|
+
/***/ (function(module) {
|
|
74
|
+
|
|
75
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
76
|
+
|
|
77
|
+
/***/ }),
|
|
78
|
+
|
|
79
|
+
/***/ 5711:
|
|
80
|
+
/***/ (function(module) {
|
|
81
|
+
|
|
82
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__5711__;
|
|
83
|
+
|
|
84
|
+
/***/ }),
|
|
85
|
+
|
|
86
|
+
/***/ 6363:
|
|
87
|
+
/***/ (function(module) {
|
|
88
|
+
|
|
89
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
90
|
+
|
|
91
|
+
/***/ }),
|
|
92
|
+
|
|
93
|
+
/***/ 8353:
|
|
94
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
95
|
+
|
|
96
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
97
|
+
/* harmony export */ yR: function() { return /* binding */ kq_npm_client_common_vue; }
|
|
98
|
+
/* harmony export */ });
|
|
99
|
+
/* unused harmony exports kq_npm_client_leaflet_vue, kq_npm_client3d_webgl_vue */
|
|
100
|
+
let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
|
|
101
|
+
|
|
102
|
+
__webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
|
|
103
|
+
|
|
104
|
+
let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {});
|
|
105
|
+
|
|
106
|
+
__webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
|
|
107
|
+
|
|
108
|
+
let kq_npm_client3d_webgl_vue = (window.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue || {});
|
|
109
|
+
|
|
110
|
+
__webpack_require__.g.kq_npm_client3d_webgl_vue = kq_npm_client3d_webgl_vue;
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
/***/ })
|
|
115
|
+
|
|
116
|
+
/******/ });
|
|
117
|
+
/************************************************************************/
|
|
118
|
+
/******/ // The module cache
|
|
119
|
+
/******/ var __webpack_module_cache__ = {};
|
|
120
|
+
/******/
|
|
121
|
+
/******/ // The require function
|
|
122
|
+
/******/ function __webpack_require__(moduleId) {
|
|
123
|
+
/******/ // Check if module is in cache
|
|
124
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
125
|
+
/******/ if (cachedModule !== undefined) {
|
|
126
|
+
/******/ return cachedModule.exports;
|
|
127
|
+
/******/ }
|
|
128
|
+
/******/ // Create a new module (and put it into the cache)
|
|
129
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
130
|
+
/******/ // no module.id needed
|
|
131
|
+
/******/ // no module.loaded needed
|
|
132
|
+
/******/ exports: {}
|
|
133
|
+
/******/ };
|
|
134
|
+
/******/
|
|
135
|
+
/******/ // Execute the module function
|
|
136
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
137
|
+
/******/
|
|
138
|
+
/******/ // Return the exports of the module
|
|
139
|
+
/******/ return module.exports;
|
|
140
|
+
/******/ }
|
|
141
|
+
/******/
|
|
142
|
+
/************************************************************************/
|
|
143
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
144
|
+
/******/ !function() {
|
|
145
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
146
|
+
/******/ __webpack_require__.n = function(module) {
|
|
147
|
+
/******/ var getter = module && module.__esModule ?
|
|
148
|
+
/******/ function() { return module['default']; } :
|
|
149
|
+
/******/ function() { return module; };
|
|
150
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
151
|
+
/******/ return getter;
|
|
152
|
+
/******/ };
|
|
153
|
+
/******/ }();
|
|
154
|
+
/******/
|
|
155
|
+
/******/ /* webpack/runtime/define property getters */
|
|
156
|
+
/******/ !function() {
|
|
157
|
+
/******/ // define getter functions for harmony exports
|
|
158
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
159
|
+
/******/ for(var key in definition) {
|
|
160
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
161
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
162
|
+
/******/ }
|
|
163
|
+
/******/ }
|
|
164
|
+
/******/ };
|
|
165
|
+
/******/ }();
|
|
166
|
+
/******/
|
|
167
|
+
/******/ /* webpack/runtime/global */
|
|
168
|
+
/******/ !function() {
|
|
169
|
+
/******/ __webpack_require__.g = (function() {
|
|
170
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
171
|
+
/******/ try {
|
|
172
|
+
/******/ return this || new Function('return this')();
|
|
173
|
+
/******/ } catch (e) {
|
|
174
|
+
/******/ if (typeof window === 'object') return window;
|
|
175
|
+
/******/ }
|
|
176
|
+
/******/ })();
|
|
177
|
+
/******/ }();
|
|
178
|
+
/******/
|
|
179
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
180
|
+
/******/ !function() {
|
|
181
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
182
|
+
/******/ }();
|
|
183
|
+
/******/
|
|
184
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
185
|
+
/******/ !function() {
|
|
186
|
+
/******/ // define __esModule on exports
|
|
187
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
188
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
189
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
190
|
+
/******/ }
|
|
191
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
192
|
+
/******/ };
|
|
193
|
+
/******/ }();
|
|
194
|
+
/******/
|
|
195
|
+
/************************************************************************/
|
|
196
|
+
var __webpack_exports__ = {};
|
|
197
|
+
// ESM COMPAT FLAG
|
|
198
|
+
__webpack_require__.r(__webpack_exports__);
|
|
199
|
+
|
|
200
|
+
// EXPORTS
|
|
201
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
202
|
+
ModelMaterialEditViewModel: function() { return /* reexport */ BuildPolygonModelViewModel; },
|
|
203
|
+
"default": function() { return /* reexport */ ModelMaterialEdit; }
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
207
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
208
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
209
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
210
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
211
|
+
var gis_utils_ = __webpack_require__(64);
|
|
212
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
213
|
+
var message = __webpack_require__(1092);
|
|
214
|
+
;// ./src/webgl/modelmaterialedit/ModelMaterialEditViewModel.js
|
|
215
|
+
/*
|
|
216
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
217
|
+
* All rights reserved.
|
|
218
|
+
*/
|
|
219
|
+
|
|
220
|
+
class BuildPolygonModelViewModel {
|
|
221
|
+
_options = {};
|
|
222
|
+
_scenceView = null;
|
|
223
|
+
constructor(scenceView, formItem) {
|
|
224
|
+
this._scenceView = scenceView;
|
|
225
|
+
this._options = formItem;
|
|
226
|
+
|
|
227
|
+
}
|
|
228
|
+
//清除
|
|
229
|
+
clear() {
|
|
230
|
+
|
|
231
|
+
}
|
|
232
|
+
//销毁
|
|
233
|
+
destroy() {
|
|
234
|
+
this.clear();
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util.js"
|
|
239
|
+
var util_js_ = __webpack_require__(3684);
|
|
240
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/configprovider/useGlobalConfig.js"
|
|
241
|
+
var useGlobalConfig_js_ = __webpack_require__(5711);
|
|
242
|
+
;// ./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/modelmaterialedit/ModelMaterialEdit.vue?vue&type=script&setup=true&lang=js
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
const _hoisted_1 = { class: "kq3d-model-material-edit-box" }
|
|
246
|
+
const _hoisted_2 = { class: "thumbnail-container" }
|
|
247
|
+
const _hoisted_3 = { class: "thumbnails-grid" }
|
|
248
|
+
const _hoisted_4 = { class: "thumbnail-name" }
|
|
249
|
+
const _hoisted_5 = ["src", "alt"]
|
|
250
|
+
const _hoisted_6 = { class: "thumbnail-name" }
|
|
251
|
+
|
|
252
|
+
;
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
const __default__ = {
|
|
261
|
+
name: "Kq3dModelMaterialEdit"
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
/* harmony default export */ var ModelMaterialEditvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
265
|
+
props: {
|
|
266
|
+
mapTarget: {
|
|
267
|
+
type: String
|
|
268
|
+
},
|
|
269
|
+
settingParams: {
|
|
270
|
+
type: String
|
|
271
|
+
},
|
|
272
|
+
// 是否显示阴影
|
|
273
|
+
showShadow: {
|
|
274
|
+
type: Boolean,
|
|
275
|
+
default: true
|
|
276
|
+
},
|
|
277
|
+
/**
|
|
278
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
279
|
+
*/
|
|
280
|
+
position: [String, Object],
|
|
281
|
+
// 是否生成HeaderTemp
|
|
282
|
+
showHeaderTemp: {
|
|
283
|
+
type: Boolean,
|
|
284
|
+
default: false
|
|
285
|
+
},
|
|
286
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
287
|
+
isCollapseHeaderTemp: {
|
|
288
|
+
type: Boolean,
|
|
289
|
+
default: false
|
|
290
|
+
},
|
|
291
|
+
// HeaderTemp标题
|
|
292
|
+
headerTempTitle: {
|
|
293
|
+
type: String
|
|
294
|
+
},
|
|
295
|
+
// HeaderTemp图标
|
|
296
|
+
headerTempIcon: {
|
|
297
|
+
type: [Object, String],
|
|
298
|
+
default: client_icons_vue_.IconModelMaterialEdit
|
|
299
|
+
},
|
|
300
|
+
// HeaderTemp Title&Icon的位置
|
|
301
|
+
isRight: {
|
|
302
|
+
type: Boolean,
|
|
303
|
+
default: true
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
setup(__props, { expose: __expose }) {
|
|
307
|
+
|
|
308
|
+
const { t, lang, locale } = (0,useGlobalConfig_js_.useLocale)();
|
|
309
|
+
// 获取组件传参
|
|
310
|
+
const props = __props;
|
|
311
|
+
// 关联数据
|
|
312
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
313
|
+
collapseValue: props?.settingParams?.collapseValue ?? "setting", // 默认展开属性设置
|
|
314
|
+
materialPart: props?.settingParams?.materialPart ?? "", // 材质部位
|
|
315
|
+
materialGroup: props?.settingParams?.materialGroup ?? "" // 材质分组
|
|
316
|
+
});
|
|
317
|
+
let materialParts = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([locale.value.webgl.roof, locale.value.webgl.facade]);
|
|
318
|
+
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]);
|
|
319
|
+
|
|
320
|
+
let materialImages = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([
|
|
321
|
+
{ name: "自然风光", url: "https://picsum.photos/100/80?random=1" },
|
|
322
|
+
{ name: "城市建筑", url: "https://picsum.photos/100/80?random=2" },
|
|
323
|
+
{ name: "可爱动物", url: "https://picsum.photos/100/80?random=3" },
|
|
324
|
+
{ name: "美食佳肴", url: "https://picsum.photos/100/80?random=4" },
|
|
325
|
+
{ name: "科技产品", url: "https://picsum.photos/100/80?random=5" },
|
|
326
|
+
{ name: "艺术设计", url: "https://picsum.photos/100/80?random=6" },
|
|
327
|
+
{ name: "旅行记忆", url: "https://picsum.photos/100/80?random=7" },
|
|
328
|
+
{ name: "人物肖像", url: "https://picsum.photos/100/80?random=8" },
|
|
329
|
+
{ name: "艺术设计", url: "https://picsum.photos/100/80?random=6" },
|
|
330
|
+
{ name: "旅行记忆", url: "https://picsum.photos/100/80?random=7" },
|
|
331
|
+
{ name: "人物肖像", url: "https://picsum.photos/100/80?random=8" }
|
|
332
|
+
]);
|
|
333
|
+
let showNotification = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
334
|
+
let notificationText = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
335
|
+
// 组件容器Ref
|
|
336
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
337
|
+
// 生成组件默认header
|
|
338
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
339
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
340
|
+
let viewModel = null;
|
|
341
|
+
|
|
342
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
343
|
+
(0,util_js_.updatePosition)(boxRef.value, props);
|
|
344
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(
|
|
345
|
+
() => props.position,
|
|
346
|
+
(newVal, oldVal) => {
|
|
347
|
+
(0,util_js_.updatePosition)(boxRef.value, props);
|
|
348
|
+
}
|
|
349
|
+
);
|
|
350
|
+
watchCreateHeaderTemp();
|
|
351
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(
|
|
352
|
+
() => props.showHeaderTemp,
|
|
353
|
+
(newVal, oldVal) => {
|
|
354
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
355
|
+
watchCreateHeaderTemp();
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
);
|
|
359
|
+
|
|
360
|
+
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
361
|
+
if (scenceView) {
|
|
362
|
+
viewModel = new BuildPolygonModelViewModel(scenceView, formItem);
|
|
363
|
+
}
|
|
364
|
+
});
|
|
365
|
+
});
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @description 监听header生成
|
|
369
|
+
*/
|
|
370
|
+
const watchCreateHeaderTemp = () => {
|
|
371
|
+
if (props.showHeaderTemp) {
|
|
372
|
+
// 生成headerTemp
|
|
373
|
+
headerTemp.value = (0,util_js_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, "webgl.modelMaterialEditTitle");
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
//
|
|
377
|
+
function paramsChanged(key) {}
|
|
378
|
+
// 添加图片
|
|
379
|
+
function addImage(){
|
|
380
|
+
|
|
381
|
+
}
|
|
382
|
+
function clear() {
|
|
383
|
+
viewModel?.clear();
|
|
384
|
+
}
|
|
385
|
+
// 销毁
|
|
386
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
387
|
+
clear();
|
|
388
|
+
});
|
|
389
|
+
|
|
390
|
+
__expose({});
|
|
391
|
+
|
|
392
|
+
return (_ctx, _cache) => {
|
|
393
|
+
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option")
|
|
394
|
+
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select")
|
|
395
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row")
|
|
396
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item")
|
|
397
|
+
const _component_kq_radio_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-button")
|
|
398
|
+
const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group")
|
|
399
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form")
|
|
400
|
+
|
|
401
|
+
return ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
402
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-material-edit", { 'kq-box-shadow': __props.showShadow }]),
|
|
403
|
+
ref_key: "boxRef",
|
|
404
|
+
ref: boxRef
|
|
405
|
+
}, [
|
|
406
|
+
(__props.showHeaderTemp)
|
|
407
|
+
? ((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)), {
|
|
408
|
+
key: 0,
|
|
409
|
+
ref_key: "headerTempRef",
|
|
410
|
+
ref: headerTempRef
|
|
411
|
+
}, null, 512 /* NEED_PATCH */))
|
|
412
|
+
: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true),
|
|
413
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [
|
|
414
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
415
|
+
"label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(lang) === 'zh' ? '100px' : '120px',
|
|
416
|
+
"label-position": "left"
|
|
417
|
+
}, {
|
|
418
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
419
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
420
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
421
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
422
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(locale).webgl.materialPart
|
|
423
|
+
}, {
|
|
424
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
425
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
426
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
427
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
428
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialPart,
|
|
429
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialPart) = $event)),
|
|
430
|
+
onChange: _cache[1] || (_cache[1] = $event => (paramsChanged('materialPart'))),
|
|
431
|
+
style: {"width":"100%"}
|
|
432
|
+
}, {
|
|
433
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
434
|
+
((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) => {
|
|
435
|
+
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, {
|
|
436
|
+
label: item,
|
|
437
|
+
key: index,
|
|
438
|
+
value: item
|
|
439
|
+
}, null, 8 /* PROPS */, ["label", "value"]))
|
|
440
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
441
|
+
]),
|
|
442
|
+
_: 1 /* STABLE */
|
|
443
|
+
}, 8 /* PROPS */, ["modelValue"])
|
|
444
|
+
]),
|
|
445
|
+
_: 1 /* STABLE */
|
|
446
|
+
})
|
|
447
|
+
]),
|
|
448
|
+
_: 1 /* STABLE */
|
|
449
|
+
}, 8 /* PROPS */, ["label"])
|
|
450
|
+
]),
|
|
451
|
+
_: 1 /* STABLE */
|
|
452
|
+
}),
|
|
453
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
454
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
455
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
456
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(locale).webgl.materialGroup
|
|
457
|
+
}, {
|
|
458
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
459
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
460
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
461
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
462
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialGroup,
|
|
463
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialGroup) = $event)),
|
|
464
|
+
onChange: _cache[3] || (_cache[3] = $event => (paramsChanged('materialGroup'))),
|
|
465
|
+
style: {"width":"100%"}
|
|
466
|
+
}, {
|
|
467
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
468
|
+
((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) => {
|
|
469
|
+
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, {
|
|
470
|
+
label: item,
|
|
471
|
+
key: index,
|
|
472
|
+
value: item
|
|
473
|
+
}, null, 8 /* PROPS */, ["label", "value"]))
|
|
474
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
475
|
+
]),
|
|
476
|
+
_: 1 /* STABLE */
|
|
477
|
+
}, 8 /* PROPS */, ["modelValue"])
|
|
478
|
+
]),
|
|
479
|
+
_: 1 /* STABLE */
|
|
480
|
+
})
|
|
481
|
+
]),
|
|
482
|
+
_: 1 /* STABLE */
|
|
483
|
+
}, 8 /* PROPS */, ["label"])
|
|
484
|
+
]),
|
|
485
|
+
_: 1 /* STABLE */
|
|
486
|
+
}),
|
|
487
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
488
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
489
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [
|
|
490
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [
|
|
491
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
492
|
+
class: "thumbnail-item",
|
|
493
|
+
onClick: addImage
|
|
494
|
+
}, [
|
|
495
|
+
_cache[6] || (_cache[6] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", { class: "add-image" }, [
|
|
496
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", { class: "add-icon" }, "+")
|
|
497
|
+
], -1 /* CACHED */)),
|
|
498
|
+
(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 */)
|
|
499
|
+
]),
|
|
500
|
+
((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) => {
|
|
501
|
+
return ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", {
|
|
502
|
+
class: "thumbnail-item",
|
|
503
|
+
key: index
|
|
504
|
+
}, [
|
|
505
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
506
|
+
src: image.url,
|
|
507
|
+
alt: image.name,
|
|
508
|
+
class: "thumbnail-img"
|
|
509
|
+
}, null, 8 /* PROPS */, _hoisted_5),
|
|
510
|
+
(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 */)
|
|
511
|
+
]))
|
|
512
|
+
}), 128 /* KEYED_FRAGMENT */))
|
|
513
|
+
])
|
|
514
|
+
])
|
|
515
|
+
]),
|
|
516
|
+
_: 1 /* STABLE */
|
|
517
|
+
}),
|
|
518
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"margin-bootom":"0px"} }, {
|
|
519
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
520
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
521
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(locale).webgl.materialType
|
|
522
|
+
}, {
|
|
523
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
524
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
525
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
526
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_group, {
|
|
527
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialType,
|
|
528
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).materialType) = $event)),
|
|
529
|
+
onChange: _cache[5] || (_cache[5] = $event => (paramsChanged('materialType')))
|
|
530
|
+
}, {
|
|
531
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
532
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, { label: 1 }, {
|
|
533
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
534
|
+
(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 */)
|
|
535
|
+
]),
|
|
536
|
+
_: 1 /* STABLE */
|
|
537
|
+
}),
|
|
538
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, { label: 2 }, {
|
|
539
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
540
|
+
(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 */)
|
|
541
|
+
]),
|
|
542
|
+
_: 1 /* STABLE */
|
|
543
|
+
})
|
|
544
|
+
]),
|
|
545
|
+
_: 1 /* STABLE */
|
|
546
|
+
}, 8 /* PROPS */, ["modelValue"])
|
|
547
|
+
]),
|
|
548
|
+
_: 1 /* STABLE */
|
|
549
|
+
})
|
|
550
|
+
]),
|
|
551
|
+
_: 1 /* STABLE */
|
|
552
|
+
}, 8 /* PROPS */, ["label"])
|
|
553
|
+
]),
|
|
554
|
+
_: 1 /* STABLE */
|
|
555
|
+
})
|
|
556
|
+
]),
|
|
557
|
+
_: 1 /* STABLE */
|
|
558
|
+
}, 8 /* PROPS */, ["label-width"])
|
|
559
|
+
])
|
|
560
|
+
], 2 /* CLASS */))
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
}));
|
|
565
|
+
;// ./src/webgl/modelmaterialedit/ModelMaterialEdit.vue?vue&type=script&setup=true&lang=js
|
|
566
|
+
|
|
567
|
+
;// ./src/webgl/modelmaterialedit/ModelMaterialEdit.vue
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
const __exports__ = ModelMaterialEditvue_type_script_setup_true_lang_js;
|
|
572
|
+
|
|
573
|
+
/* harmony default export */ var ModelMaterialEdit = (__exports__);
|
|
574
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
575
|
+
var init_js_ = __webpack_require__(455);
|
|
576
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
577
|
+
;// ./src/webgl/modelmaterialedit/index.js
|
|
578
|
+
/*
|
|
579
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
580
|
+
* All rights reserved.
|
|
581
|
+
*/
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
ModelMaterialEdit.install = (Vue, opts) => {
|
|
587
|
+
init_js_default()(Vue, opts);
|
|
588
|
+
Vue.component(ModelMaterialEdit.name, ModelMaterialEdit);
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
/******/ return __webpack_exports__;
|
|
594
|
+
/******/ })()
|
|
595
|
+
;
|
|
596
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.kq3d-model-material-edit{z-index:999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq3d-model-material-edit .kq3d-model-material-edit-box{width:350px}.kq3d-model-material-edit .kq3d-model-material-edit-tip{color:var(--kq-text-color-regular);font-size:var(--kq-font-size-base)}.kq3d-model-material-edit .kq3d-model-material-edit-tip p{margin-top:0;margin-bottom:16px}.kq3d-model-material-edit .kq-select{width:100%}.kq3d-model-material-edit .kq-collapse{border:unset}.kq3d-model-material-edit .kq-collapse .kq-collapse-item{margin-bottom:8px}.kq3d-model-material-edit .kq-collapse .kq-collapse-item:last-child{margin-bottom:0}.kq3d-model-material-edit .kq-collapse .kq-collapse-item__header{border:unset;height:38px;background-color:var(--kq-fill-color-light);font-weight:700;padding:0 16px;font-size:16px}.kq3d-model-material-edit .kq-collapse .kq-collapse-item__arrow{margin:0 0 0 auto}.kq3d-model-material-edit .kq-collapse .kq-collapse-item__wrap .kq-collapse-item__content{padding-bottom:unset;border:unset;padding-top:8px}.kq3d-model-material-edit .kq-form-item{margin-bottom:8px}.kq3d-model-material-edit .kq-form-item__content{text-align:end;display:block}.kq3d-model-material-edit .kq-row{display:block}.kq3d-model-material-edit .kq-slider{width:95%;padding-left:7px}.kq3d-model-material-edit .kq-slider .kq-slider__button{width:14px;height:14px}.kq3d-model-material-edit .kq-input-number.is-controls-right{width:65px}.kq3d-model-material-edit .kq-input-number.is-controls-right .kq-input-number__decrease,.kq3d-model-material-edit .kq-input-number.is-controls-right .kq-input-number__increase{width:20px}.kq3d-model-material-edit .kq-col-8 .kq-input-number .kq-input__wrapper,.kq3d-model-material-edit .kq-input-number.is-controls-right .kq-input__wrapper{padding-left:0;padding-right:20px}.kq3d-model-material-edit .kq-color-picker,.kq3d-model-material-edit .kq-color-picker .kq-color-picker__mask,.kq3d-model-material-edit .kq-color-picker .kq-color-picker__trigger{width:100%}.kq3d-model-material-edit .kq3d-model-material-edit-legend{width:198px;height:24px}.kq3d-model-material-edit .kq-radio__input{display:inline;vertical-align:top}.kq3d-model-material-edit .kq3d-model-material-edit-footer{text-align:right;padding:16px 0 0}.kq3d-model-material-edit .kq3d-model-material-edit-btn{text-align:right;padding:8px 0}.kq3d-model-material-edit .thumbnail-container{height:337px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px}.kq3d-model-material-edit .thumbnails-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 4px;overflow-y:auto;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.kq3d-model-material-edit .thumbnails-grid::-webkit-scrollbar{width:6px}.kq3d-model-material-edit .thumbnails-grid::-webkit-scrollbar-thumb,.kq3d-model-material-edit .thumbnails-grid::-webkit-scrollbar-track{border-radius:10px}.kq3d-model-material-edit .thumbnail-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:8px;padding:4px}.kq3d-model-material-edit .thumbnail-img{width:100%;height:80px;-o-object-fit:cover;object-fit:cover;border-radius:6px;border:2px solid var(--kq-fill-color-light)}.kq3d-model-material-edit .add-image{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;height:80px;border-radius:6px;border:2px dashed var(--kq-text-color-regular);background-color:var(--kq-fill-color-light);color:var(--kq-text-color-regular);font-size:var(--kq-font-size-small)}.kq3d-model-material-edit .add-icon{font-size:64px;margin-bottom:8px}.kq3d-model-material-edit .thumbnail-name{margin-top:4px;font-size:var(--kq-font-size-extra-small);color:var(--kq-text-color-regular);text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px}.kq3d-model-material-edit .container-title{text-align:center;margin-bottom:16px;color:#2c3e50;font-size:18px;font-weight:600;padding-bottom:8px;border-bottom:1px solid #eee}.kq3d-model-material-edit .image-counter{text-align:center;margin-top:16px;font-size:12px;color:#888}.kq3d-model-material-edit .notification{position:fixed;bottom:20px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);background-color:#333;color:#fff;padding:10px 20px;border-radius:4px;font-size:14px;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s}.kq3d-model-material-edit .notification.show{opacity:1}
|
|
@@ -57,7 +57,7 @@ element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install =
|
|
|
57
57
|
|
|
58
58
|
/* harmony default export */ __webpack_exports__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
59
59
|
|
|
60
|
-
_common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue */ .
|
|
60
|
+
_common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue */ .yR.KqMessage = element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage;
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
/***/ }),
|
|
@@ -94,9 +94,9 @@ module.exports = require("element-plus/dist/index.full.js");
|
|
|
94
94
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
95
95
|
|
|
96
96
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
97
|
-
/* harmony export */
|
|
97
|
+
/* harmony export */ yR: function() { return /* binding */ kq_npm_client_common_vue; }
|
|
98
98
|
/* harmony export */ });
|
|
99
|
-
/* unused harmony
|
|
99
|
+
/* unused harmony exports kq_npm_client_leaflet_vue, kq_npm_client3d_webgl_vue */
|
|
100
100
|
let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
|
|
101
101
|
|
|
102
102
|
__webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
|
|
@@ -105,6 +105,11 @@ let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_np
|
|
|
105
105
|
|
|
106
106
|
__webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
|
|
107
107
|
|
|
108
|
+
let kq_npm_client3d_webgl_vue = (window.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue || {});
|
|
109
|
+
|
|
110
|
+
__webpack_require__.g.kq_npm_client3d_webgl_vue = kq_npm_client3d_webgl_vue;
|
|
111
|
+
|
|
112
|
+
|
|
108
113
|
|
|
109
114
|
/***/ })
|
|
110
115
|
|