@kq_npm/client3d_webgl_vue 3.0.1-beta → 3.0.3-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +203 -2
- package/aspectanalysis/index.js +222 -6
- package/baseterraingallery/index.js +233 -18
- package/boxclip/index.js +225 -9
- package/excavatefillanalysis/index.js +230 -14
- package/flight/index.js +204 -5
- package/floodanalysis/index.js +242 -11
- package/gpuspatialquery/index.js +222 -6
- package/headertemp/index.js +251 -0
- package/index.js +1340 -227
- package/isolineanalysis/index.js +250 -34
- package/measure/index.js +206 -4
- package/modelselect/index.js +224 -8
- package/modelselect/style/modelselect.css +1 -1
- package/package.json +1 -1
- package/particleeffect/index.js +212 -6
- package/planeclip/index.js +226 -10
- package/profileanalysis/index.js +225 -9
- package/roller/index.js +218 -4
- package/roller/style/roller.css +1 -1
- package/scenceview/index.js +1453 -237
- package/screenshot/index.js +221 -6
- package/screenshot/style/screenshot.css +1 -1
- package/shadowanalysis/index.js +231 -15
- package/sightlineanalysis/index.js +222 -6
- package/skylineanalysis/index.js +224 -8
- package/slopeanalysis/index.js +236 -20
- package/style.css +1 -1
- package/terrainoperation/index.js +228 -12
- package/viewshedanalysis/index.js +222 -6
- package/weathereffect/index.js +212 -6
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
/******/ (function() { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
4
|
+
|
|
5
|
+
/***/ 9519:
|
|
6
|
+
/***/ (function(module) {
|
|
7
|
+
|
|
8
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
9
|
+
|
|
10
|
+
/***/ }),
|
|
11
|
+
|
|
12
|
+
/***/ 5406:
|
|
13
|
+
/***/ (function(module) {
|
|
14
|
+
|
|
15
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
16
|
+
|
|
17
|
+
/***/ }),
|
|
18
|
+
|
|
19
|
+
/***/ 637:
|
|
20
|
+
/***/ (function(module) {
|
|
21
|
+
|
|
22
|
+
module.exports = require("vue");
|
|
23
|
+
|
|
24
|
+
/***/ })
|
|
25
|
+
|
|
26
|
+
/******/ });
|
|
27
|
+
/************************************************************************/
|
|
28
|
+
/******/ // The module cache
|
|
29
|
+
/******/ var __webpack_module_cache__ = {};
|
|
30
|
+
/******/
|
|
31
|
+
/******/ // The require function
|
|
32
|
+
/******/ function __webpack_require__(moduleId) {
|
|
33
|
+
/******/ // Check if module is in cache
|
|
34
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
35
|
+
/******/ if (cachedModule !== undefined) {
|
|
36
|
+
/******/ return cachedModule.exports;
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/ // Create a new module (and put it into the cache)
|
|
39
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
40
|
+
/******/ // no module.id needed
|
|
41
|
+
/******/ // no module.loaded needed
|
|
42
|
+
/******/ exports: {}
|
|
43
|
+
/******/ };
|
|
44
|
+
/******/
|
|
45
|
+
/******/ // Execute the module function
|
|
46
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
47
|
+
/******/
|
|
48
|
+
/******/ // Return the exports of the module
|
|
49
|
+
/******/ return module.exports;
|
|
50
|
+
/******/ }
|
|
51
|
+
/******/
|
|
52
|
+
/************************************************************************/
|
|
53
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
54
|
+
/******/ !function() {
|
|
55
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
56
|
+
/******/ __webpack_require__.n = function(module) {
|
|
57
|
+
/******/ var getter = module && module.__esModule ?
|
|
58
|
+
/******/ function() { return module['default']; } :
|
|
59
|
+
/******/ function() { return module; };
|
|
60
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
61
|
+
/******/ return getter;
|
|
62
|
+
/******/ };
|
|
63
|
+
/******/ }();
|
|
64
|
+
/******/
|
|
65
|
+
/******/ /* webpack/runtime/define property getters */
|
|
66
|
+
/******/ !function() {
|
|
67
|
+
/******/ // define getter functions for harmony exports
|
|
68
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
69
|
+
/******/ for(var key in definition) {
|
|
70
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
71
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
72
|
+
/******/ }
|
|
73
|
+
/******/ }
|
|
74
|
+
/******/ };
|
|
75
|
+
/******/ }();
|
|
76
|
+
/******/
|
|
77
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
78
|
+
/******/ !function() {
|
|
79
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
80
|
+
/******/ }();
|
|
81
|
+
/******/
|
|
82
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
83
|
+
/******/ !function() {
|
|
84
|
+
/******/ // define __esModule on exports
|
|
85
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
86
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
87
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
88
|
+
/******/ }
|
|
89
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
90
|
+
/******/ };
|
|
91
|
+
/******/ }();
|
|
92
|
+
/******/
|
|
93
|
+
/************************************************************************/
|
|
94
|
+
var __webpack_exports__ = {};
|
|
95
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
96
|
+
!function() {
|
|
97
|
+
// ESM COMPAT FLAG
|
|
98
|
+
__webpack_require__.r(__webpack_exports__);
|
|
99
|
+
|
|
100
|
+
// EXPORTS
|
|
101
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
102
|
+
"default": function() { return /* reexport */ HeaderTemp; }
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
106
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
107
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
108
|
+
var util_ = __webpack_require__(9519);
|
|
109
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
110
|
+
|
|
111
|
+
const _hoisted_1 = {
|
|
112
|
+
class: "kq-control-header-temp"
|
|
113
|
+
};
|
|
114
|
+
const _hoisted_2 = {
|
|
115
|
+
class: "_title"
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
const __default__ = {
|
|
120
|
+
name: "Kq3dHeaderTemp"
|
|
121
|
+
};
|
|
122
|
+
/* harmony default export */ var HeaderTempvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
123
|
+
props: {
|
|
124
|
+
// 是否显示阴影效果
|
|
125
|
+
showShadow: {
|
|
126
|
+
type: Boolean,
|
|
127
|
+
default: true
|
|
128
|
+
},
|
|
129
|
+
// HeaderTemp标题
|
|
130
|
+
headerTempTitle: {
|
|
131
|
+
type: String,
|
|
132
|
+
default: ""
|
|
133
|
+
},
|
|
134
|
+
// HeaderTemp图标
|
|
135
|
+
headerTempIcon: {
|
|
136
|
+
type: Object
|
|
137
|
+
},
|
|
138
|
+
// HeaderTemp是否折叠
|
|
139
|
+
isCollapse: {
|
|
140
|
+
type: Boolean,
|
|
141
|
+
default: false
|
|
142
|
+
},
|
|
143
|
+
// HeaderTemp Title&Icon的位置
|
|
144
|
+
isRight: {
|
|
145
|
+
type: Boolean,
|
|
146
|
+
default: true
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
|
|
150
|
+
setup(__props, {
|
|
151
|
+
expose
|
|
152
|
+
}) {
|
|
153
|
+
const props = __props;
|
|
154
|
+
const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
155
|
+
// 图标组件
|
|
156
|
+
|
|
157
|
+
let iconBtn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
158
|
+
let isCollapse = props.isCollapse;
|
|
159
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
160
|
+
iconBtn.value = props.headerTempIcon;
|
|
161
|
+
let dom = proxy.parent.vnode.el;
|
|
162
|
+
|
|
163
|
+
if (!props.isRight) {
|
|
164
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-is-left"]);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
if (isCollapse) {
|
|
168
|
+
if (props.showShadow) {
|
|
169
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
170
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
171
|
+
} else {
|
|
172
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
173
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}); // 图标按钮点击事件
|
|
177
|
+
|
|
178
|
+
function btnClick() {
|
|
179
|
+
isCollapse = !isCollapse;
|
|
180
|
+
let dom = proxy.parent.vnode.el;
|
|
181
|
+
|
|
182
|
+
if (isCollapse) {
|
|
183
|
+
// 折叠
|
|
184
|
+
if (props.showShadow) {
|
|
185
|
+
(0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
186
|
+
(0,util_.removeClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
187
|
+
} else {
|
|
188
|
+
(0,util_.addClass)(dom, "kq-is-hide");
|
|
189
|
+
(0,util_.removeClass)(dom, "kq-is-show");
|
|
190
|
+
}
|
|
191
|
+
} else {
|
|
192
|
+
// 展开
|
|
193
|
+
if (props.showShadow) {
|
|
194
|
+
(0,util_.addClass)(dom, ["kq-is-show", "kq-box-shadow"]);
|
|
195
|
+
(0,util_.removeClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
|
|
196
|
+
} else {
|
|
197
|
+
(0,util_.addClass)(dom, "kq-is-show");
|
|
198
|
+
(0,util_.removeClass)(dom, "kq-is-hide");
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
expose({
|
|
204
|
+
btnClick
|
|
205
|
+
});
|
|
206
|
+
return (_ctx, _cache) => {
|
|
207
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
208
|
+
|
|
209
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(__props.headerTempTitle), 1
|
|
210
|
+
/* TEXT */
|
|
211
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
212
|
+
class: "_btn kq-control-header-temp_btn",
|
|
213
|
+
onClick: btnClick
|
|
214
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
215
|
+
size: 16
|
|
216
|
+
}, {
|
|
217
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((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)(iconBtn))))]),
|
|
218
|
+
_: 1
|
|
219
|
+
/* STABLE */
|
|
220
|
+
|
|
221
|
+
})])]);
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
}));
|
|
226
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
|
|
227
|
+
|
|
228
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
const __exports__ = HeaderTempvue_type_script_setup_true_lang_js;
|
|
233
|
+
|
|
234
|
+
/* harmony default export */ var HeaderTemp = (__exports__);
|
|
235
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
236
|
+
var init_js_ = __webpack_require__(5406);
|
|
237
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
238
|
+
;// CONCATENATED MODULE: ./src/webgl/headertemp/index.js
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
HeaderTemp.install = (Vue, opts) => {
|
|
243
|
+
init_js_default()(Vue, opts);
|
|
244
|
+
Vue.component(HeaderTemp.name, HeaderTemp);
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
}();
|
|
249
|
+
module.exports = __webpack_exports__;
|
|
250
|
+
/******/ })()
|
|
251
|
+
;
|