@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.4-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 +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +159 -227
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +288 -470
- package/clientPrint/index.js +333 -897
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +181 -252
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +297 -401
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +243 -382
- package/geologicalbodyanalysis/index.js +203 -287
- package/gpuspatialquery/index.js +240 -390
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +426 -733
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +7913 -16839
- package/isolineanalysis/index.js +554 -1231
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +339 -493
- package/modelFlat/index.js +202 -223
- package/modelexcavate/index.js +194 -251
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +180 -173
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +237 -328
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +273 -571
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9018 -17813
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +256 -436
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +200 -339
- package/slopeanalysis/index.js +270 -433
- package/slopeaspectanalysis/index.js +303 -523
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +218 -269
- package/terrainprofileanalysis/index.js +162 -171
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
package/roller/index.js
CHANGED
|
@@ -7,49 +7,251 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
16
|
-
/***/ (function(
|
|
15
|
+
/***/ 5698:
|
|
16
|
+
/***/ (function(module) {
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
/* harmony export */ "Z": function() { return /* binding */ RollerViewModel; }
|
|
20
|
-
/* harmony export */ });
|
|
21
|
-
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
18
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
22
19
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
//卷帘的图层数组
|
|
28
|
-
//左右卷帘的线的DOM元素
|
|
29
|
-
//上下卷帘的线的DOM元素
|
|
30
|
-
//左右卷帘三维对象
|
|
31
|
-
//上下卷帘三维对象
|
|
32
|
-
//左右卷帘活动状态
|
|
33
|
-
//上下卷帘活动状态
|
|
34
|
-
constructor(scenceView, options) {
|
|
35
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
20
|
+
/***/ }),
|
|
21
|
+
|
|
22
|
+
/***/ 2652:
|
|
23
|
+
/***/ (function(module) {
|
|
36
24
|
|
|
37
|
-
|
|
25
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
38
26
|
|
|
39
|
-
|
|
27
|
+
/***/ }),
|
|
28
|
+
|
|
29
|
+
/***/ 3658:
|
|
30
|
+
/***/ (function(module) {
|
|
40
31
|
|
|
41
|
-
|
|
32
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
33
|
+
|
|
34
|
+
/***/ }),
|
|
35
|
+
|
|
36
|
+
/***/ 4669:
|
|
37
|
+
/***/ (function(module) {
|
|
38
|
+
|
|
39
|
+
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
40
|
+
|
|
41
|
+
/***/ }),
|
|
42
|
+
|
|
43
|
+
/***/ 3579:
|
|
44
|
+
/***/ (function(module) {
|
|
45
|
+
|
|
46
|
+
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
47
|
+
|
|
48
|
+
/***/ }),
|
|
49
|
+
|
|
50
|
+
/***/ 64:
|
|
51
|
+
/***/ (function(module) {
|
|
52
|
+
|
|
53
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
54
|
+
|
|
55
|
+
/***/ }),
|
|
56
|
+
|
|
57
|
+
/***/ 2975:
|
|
58
|
+
/***/ (function(module) {
|
|
59
|
+
|
|
60
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
61
|
+
|
|
62
|
+
/***/ }),
|
|
63
|
+
|
|
64
|
+
/***/ 455:
|
|
65
|
+
/***/ (function(module) {
|
|
66
|
+
|
|
67
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
68
|
+
|
|
69
|
+
/***/ }),
|
|
70
|
+
|
|
71
|
+
/***/ 154:
|
|
72
|
+
/***/ (function(module) {
|
|
73
|
+
|
|
74
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
75
|
+
|
|
76
|
+
/***/ }),
|
|
77
|
+
|
|
78
|
+
/***/ 6913:
|
|
79
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
// EXPORTS
|
|
83
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
84
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
88
|
+
function _typeof(o) {
|
|
89
|
+
"@babel/helpers - typeof";
|
|
90
|
+
|
|
91
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
92
|
+
return typeof o;
|
|
93
|
+
} : function (o) {
|
|
94
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
95
|
+
}, _typeof(o);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
99
|
+
|
|
100
|
+
function toPrimitive(t, r) {
|
|
101
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
102
|
+
var e = t[Symbol.toPrimitive];
|
|
103
|
+
if (void 0 !== e) {
|
|
104
|
+
var i = e.call(t, r || "default");
|
|
105
|
+
if ("object" != _typeof(i)) return i;
|
|
106
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
107
|
+
}
|
|
108
|
+
return ("string" === r ? String : Number)(t);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
function toPropertyKey(t) {
|
|
115
|
+
var i = toPrimitive(t, "string");
|
|
116
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
120
|
+
|
|
121
|
+
function _defineProperty(e, r, t) {
|
|
122
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
123
|
+
value: t,
|
|
124
|
+
enumerable: !0,
|
|
125
|
+
configurable: !0,
|
|
126
|
+
writable: !0
|
|
127
|
+
}) : e[r] = t, e;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
/***/ })
|
|
132
|
+
|
|
133
|
+
/******/ });
|
|
134
|
+
/************************************************************************/
|
|
135
|
+
/******/ // The module cache
|
|
136
|
+
/******/ var __webpack_module_cache__ = {};
|
|
137
|
+
/******/
|
|
138
|
+
/******/ // The require function
|
|
139
|
+
/******/ function __webpack_require__(moduleId) {
|
|
140
|
+
/******/ // Check if module is in cache
|
|
141
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
142
|
+
/******/ if (cachedModule !== undefined) {
|
|
143
|
+
/******/ return cachedModule.exports;
|
|
144
|
+
/******/ }
|
|
145
|
+
/******/ // Create a new module (and put it into the cache)
|
|
146
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
147
|
+
/******/ // no module.id needed
|
|
148
|
+
/******/ // no module.loaded needed
|
|
149
|
+
/******/ exports: {}
|
|
150
|
+
/******/ };
|
|
151
|
+
/******/
|
|
152
|
+
/******/ // Execute the module function
|
|
153
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
154
|
+
/******/
|
|
155
|
+
/******/ // Return the exports of the module
|
|
156
|
+
/******/ return module.exports;
|
|
157
|
+
/******/ }
|
|
158
|
+
/******/
|
|
159
|
+
/************************************************************************/
|
|
160
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
161
|
+
/******/ !function() {
|
|
162
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
163
|
+
/******/ __webpack_require__.n = function(module) {
|
|
164
|
+
/******/ var getter = module && module.__esModule ?
|
|
165
|
+
/******/ function() { return module['default']; } :
|
|
166
|
+
/******/ function() { return module; };
|
|
167
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
168
|
+
/******/ return getter;
|
|
169
|
+
/******/ };
|
|
170
|
+
/******/ }();
|
|
171
|
+
/******/
|
|
172
|
+
/******/ /* webpack/runtime/define property getters */
|
|
173
|
+
/******/ !function() {
|
|
174
|
+
/******/ // define getter functions for harmony exports
|
|
175
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
176
|
+
/******/ for(var key in definition) {
|
|
177
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
178
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
179
|
+
/******/ }
|
|
180
|
+
/******/ }
|
|
181
|
+
/******/ };
|
|
182
|
+
/******/ }();
|
|
183
|
+
/******/
|
|
184
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
185
|
+
/******/ !function() {
|
|
186
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
187
|
+
/******/ }();
|
|
188
|
+
/******/
|
|
189
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
190
|
+
/******/ !function() {
|
|
191
|
+
/******/ // define __esModule on exports
|
|
192
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
193
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
194
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
195
|
+
/******/ }
|
|
196
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
197
|
+
/******/ };
|
|
198
|
+
/******/ }();
|
|
199
|
+
/******/
|
|
200
|
+
/************************************************************************/
|
|
201
|
+
var __webpack_exports__ = {};
|
|
202
|
+
// ESM COMPAT FLAG
|
|
203
|
+
__webpack_require__.r(__webpack_exports__);
|
|
42
204
|
|
|
43
|
-
|
|
205
|
+
// EXPORTS
|
|
206
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
207
|
+
RollerViewModel: function() { return /* reexport */ RollerViewModel; },
|
|
208
|
+
"default": function() { return /* reexport */ Roller; }
|
|
209
|
+
});
|
|
44
210
|
|
|
45
|
-
|
|
211
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
212
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
213
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
214
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
215
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
216
|
+
var gis_utils_ = __webpack_require__(64);
|
|
217
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
218
|
+
var defineProperty = __webpack_require__(6913);
|
|
219
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
220
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
221
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
222
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
223
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
224
|
+
var esnext_iterator_for_each_js_ = __webpack_require__(4669);
|
|
225
|
+
;// CONCATENATED MODULE: ./src/webgl/roller/RollerViewModel.js
|
|
46
226
|
|
|
47
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_tbSliderHandler", null);
|
|
48
227
|
|
|
49
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lrSliderActive", false);
|
|
50
228
|
|
|
51
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_tbSliderActive", false);
|
|
52
229
|
|
|
230
|
+
/*
|
|
231
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
232
|
+
* All rights reserved.
|
|
233
|
+
*/
|
|
234
|
+
//卷帘逻辑类
|
|
235
|
+
class RollerViewModel {
|
|
236
|
+
//上下卷帘活动状态
|
|
237
|
+
constructor(scenceView, options) {
|
|
238
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
239
|
+
//三维viewer对象
|
|
240
|
+
(0,defineProperty/* default */.A)(this, "_layerManager", null);
|
|
241
|
+
//图层管理对象
|
|
242
|
+
(0,defineProperty/* default */.A)(this, "_layers", []);
|
|
243
|
+
//卷帘的图层数组
|
|
244
|
+
(0,defineProperty/* default */.A)(this, "_lrSlider", null);
|
|
245
|
+
//左右卷帘的线的DOM元素
|
|
246
|
+
(0,defineProperty/* default */.A)(this, "_tbSlider", null);
|
|
247
|
+
//上下卷帘的线的DOM元素
|
|
248
|
+
(0,defineProperty/* default */.A)(this, "_lrSliderHandler", null);
|
|
249
|
+
//左右卷帘三维对象
|
|
250
|
+
(0,defineProperty/* default */.A)(this, "_tbSliderHandler", null);
|
|
251
|
+
//上下卷帘三维对象
|
|
252
|
+
(0,defineProperty/* default */.A)(this, "_lrSliderActive", false);
|
|
253
|
+
//左右卷帘活动状态
|
|
254
|
+
(0,defineProperty/* default */.A)(this, "_tbSliderActive", false);
|
|
53
255
|
this._viewer = scenceView._viewer;
|
|
54
256
|
this._layerManager = scenceView._layerManager;
|
|
55
257
|
this._layers = options.layers;
|
|
@@ -59,67 +261,53 @@ class RollerViewModel {
|
|
|
59
261
|
this._tbSlider = document.createElement("div");
|
|
60
262
|
this._tbSlider.class = "shutter-slider";
|
|
61
263
|
this._tbSlider.id = "tbSlider";
|
|
62
|
-
|
|
63
264
|
this._viewer.container.appendChild(this._lrSlider);
|
|
64
|
-
|
|
65
265
|
this._viewer.container.appendChild(this._tbSlider);
|
|
66
|
-
|
|
67
266
|
setTimeout(() => {
|
|
68
267
|
this.initLayers();
|
|
69
268
|
}, 500);
|
|
70
269
|
this.registerEvents();
|
|
71
|
-
}
|
|
72
|
-
|
|
270
|
+
}
|
|
73
271
|
|
|
272
|
+
//注册卷帘拖动事件
|
|
74
273
|
registerEvents() {
|
|
75
274
|
let that = this;
|
|
76
275
|
this._lrSliderHandler = new Cesium.ScreenSpaceEventHandler(this._lrSlider);
|
|
77
|
-
|
|
78
276
|
this._lrSliderHandler.setInputAction(function () {
|
|
79
277
|
that._lrSliderActive = true;
|
|
80
278
|
}, Cesium.ScreenSpaceEventType.LEFT_DOWN);
|
|
81
|
-
|
|
82
279
|
this._lrSliderHandler.setInputAction(function (movement) {
|
|
83
280
|
if (!that._lrSliderActive) {
|
|
84
281
|
return;
|
|
85
282
|
}
|
|
86
|
-
|
|
87
283
|
let relativeOffset = movement.endPosition.x;
|
|
88
284
|
let splitPosition = (that._lrSlider.offsetLeft + relativeOffset) / that._lrSlider.parentElement.parentElement.offsetWidth;
|
|
89
285
|
that._lrSlider.style.left = 100.0 * splitPosition + '%';
|
|
90
286
|
that._viewer.scene.imagerySplitPosition = splitPosition;
|
|
91
287
|
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
92
|
-
|
|
93
288
|
this._lrSliderHandler.setInputAction(function () {
|
|
94
289
|
that._lrSliderActive = false;
|
|
95
290
|
}, Cesium.ScreenSpaceEventType.LEFT_UP);
|
|
96
|
-
|
|
97
291
|
this._tbSliderHandler = new Cesium.ScreenSpaceEventHandler(this._tbSlider);
|
|
98
|
-
|
|
99
292
|
this._tbSliderHandler.setInputAction(function () {
|
|
100
293
|
that._tbSliderActive = true;
|
|
101
294
|
}, Cesium.ScreenSpaceEventType.LEFT_DOWN);
|
|
102
|
-
|
|
103
295
|
this._tbSliderHandler.setInputAction(function (movement) {
|
|
104
296
|
if (!that._tbSliderActive) {
|
|
105
297
|
return;
|
|
106
298
|
}
|
|
107
|
-
|
|
108
299
|
let relativeOffset = movement.endPosition.y;
|
|
109
300
|
let splitPosition = 1.0 - (that._tbSlider.offsetTop + relativeOffset) / that._tbSlider.parentElement.parentElement.offsetHeight;
|
|
110
301
|
that._tbSlider.style.top = 100.0 * (1.0 - splitPosition) + '%';
|
|
111
302
|
that._viewer.scene.imagerySplitPosition = splitPosition;
|
|
112
303
|
}, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
113
|
-
|
|
114
304
|
this._tbSliderHandler.setInputAction(function () {
|
|
115
305
|
that._tbSliderActive = false;
|
|
116
306
|
}, Cesium.ScreenSpaceEventType.LEFT_UP);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
|
|
307
|
+
}
|
|
308
|
+
//初始化图层数据
|
|
120
309
|
initLayers() {
|
|
121
310
|
let layers = this._layerManager.getLayerCheckedList();
|
|
122
|
-
|
|
123
311
|
for (let i = 0; i < layers.length; i++) {
|
|
124
312
|
this._layers.push({
|
|
125
313
|
guid: layers[i].guid,
|
|
@@ -127,16 +315,15 @@ class RollerViewModel {
|
|
|
127
315
|
direction: 0
|
|
128
316
|
});
|
|
129
317
|
}
|
|
130
|
-
}
|
|
131
|
-
|
|
318
|
+
}
|
|
132
319
|
|
|
320
|
+
//切换模式
|
|
133
321
|
changeMode(mode) {
|
|
134
322
|
let direction = 0;
|
|
135
323
|
let splitdirection = Cesium.ImagerySplitDirection.NONE;
|
|
136
324
|
let splitPosition = 0.5;
|
|
137
325
|
this._lrSlider.style.display = "none";
|
|
138
326
|
this._tbSlider.style.display = "none";
|
|
139
|
-
|
|
140
327
|
switch (mode) {
|
|
141
328
|
case 1:
|
|
142
329
|
direction = 1;
|
|
@@ -144,243 +331,71 @@ class RollerViewModel {
|
|
|
144
331
|
splitdirection = Cesium.ImagerySplitDirection.LEFT;
|
|
145
332
|
splitPosition = this._lrSlider.offsetLeft / this._lrSlider.parentElement.parentElement.offsetWidth;
|
|
146
333
|
break;
|
|
147
|
-
|
|
148
334
|
case 2:
|
|
149
335
|
direction = 3;
|
|
150
336
|
this._tbSlider.style.display = "block";
|
|
151
337
|
splitdirection = Cesium.ImagerySplitDirection.TOP;
|
|
152
338
|
splitPosition = 1.0 - this._tbSlider.offsetTop / this._tbSlider.parentElement.parentElement.offsetHeight;
|
|
153
339
|
break;
|
|
154
|
-
|
|
155
340
|
default:
|
|
156
341
|
break;
|
|
157
342
|
}
|
|
158
|
-
|
|
159
343
|
let that = this;
|
|
160
|
-
|
|
161
344
|
this._layers.forEach(layer => {
|
|
162
345
|
layer.direction = direction;
|
|
163
|
-
|
|
164
346
|
let layerObj = that._layerManager.getLayerByGuid(layer.guid);
|
|
165
|
-
|
|
166
347
|
if (layerObj) layerObj.splitDirection = splitdirection;
|
|
167
348
|
});
|
|
168
|
-
|
|
169
349
|
if (mode !== 0) {
|
|
170
350
|
this._viewer.scene.imagerySplitPosition = splitPosition;
|
|
171
351
|
}
|
|
172
|
-
}
|
|
173
|
-
|
|
352
|
+
}
|
|
174
353
|
|
|
354
|
+
//改变方向
|
|
175
355
|
changeDirection(index) {
|
|
176
356
|
let direction = this._layers[index].direction;
|
|
177
357
|
let splitdirection = Cesium.ImagerySplitDirection.NONE;
|
|
178
|
-
|
|
179
358
|
switch (direction) {
|
|
180
359
|
case 1:
|
|
181
360
|
splitdirection = Cesium.ImagerySplitDirection.LEFT;
|
|
182
361
|
break;
|
|
183
|
-
|
|
184
362
|
case 2:
|
|
185
363
|
splitdirection = Cesium.ImagerySplitDirection.RIGHT;
|
|
186
364
|
break;
|
|
187
|
-
|
|
188
365
|
case 3:
|
|
189
366
|
splitdirection = Cesium.ImagerySplitDirection.TOP;
|
|
190
367
|
break;
|
|
191
|
-
|
|
192
368
|
case 4:
|
|
193
369
|
splitdirection = Cesium.ImagerySplitDirection.BOTTOM;
|
|
194
370
|
break;
|
|
195
|
-
|
|
196
371
|
default:
|
|
197
372
|
break;
|
|
198
373
|
}
|
|
199
|
-
|
|
200
374
|
let layer = this._layerManager.getLayerByGuid(this._layers[index].guid);
|
|
201
|
-
|
|
202
375
|
if (layer) {
|
|
203
376
|
layer.splitDirection = splitdirection;
|
|
204
377
|
}
|
|
205
|
-
}
|
|
206
|
-
|
|
378
|
+
}
|
|
207
379
|
|
|
380
|
+
//重置
|
|
208
381
|
reset() {
|
|
209
382
|
this.changeMode(0);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
|
|
383
|
+
}
|
|
384
|
+
// 销毁
|
|
213
385
|
destroy() {
|
|
214
|
-
this.reset();
|
|
215
|
-
|
|
386
|
+
this.reset();
|
|
387
|
+
//移除监听事件
|
|
216
388
|
this._lrSliderHandler && this._lrSliderHandler.destroy();
|
|
217
|
-
this._tbSliderActive && this._tbSliderActive.destroy();
|
|
218
|
-
|
|
389
|
+
this._tbSliderActive && this._tbSliderActive.destroy();
|
|
390
|
+
//移除卷帘分割线DOM元素
|
|
219
391
|
this._lrSlider && this._viewer.container.removeChild(this._lrSlider);
|
|
220
392
|
this._tbSlider && this._viewer.container.removeChild(this._tbSlider);
|
|
221
393
|
}
|
|
222
|
-
|
|
223
394
|
}
|
|
224
|
-
|
|
225
|
-
/***/ }),
|
|
226
|
-
|
|
227
|
-
/***/ 348:
|
|
228
|
-
/***/ (function(module) {
|
|
229
|
-
|
|
230
|
-
module.exports = require("@kq_npm/client_icons_vue");
|
|
231
|
-
|
|
232
|
-
/***/ }),
|
|
233
|
-
|
|
234
|
-
/***/ 7080:
|
|
235
|
-
/***/ (function(module) {
|
|
236
|
-
|
|
237
|
-
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
238
|
-
|
|
239
|
-
/***/ }),
|
|
240
|
-
|
|
241
|
-
/***/ 7135:
|
|
242
|
-
/***/ (function(module) {
|
|
243
|
-
|
|
244
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
245
|
-
|
|
246
|
-
/***/ }),
|
|
247
|
-
|
|
248
|
-
/***/ 3458:
|
|
249
|
-
/***/ (function(module) {
|
|
250
|
-
|
|
251
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
252
|
-
|
|
253
|
-
/***/ }),
|
|
254
|
-
|
|
255
|
-
/***/ 7997:
|
|
256
|
-
/***/ (function(module) {
|
|
257
|
-
|
|
258
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
259
|
-
|
|
260
|
-
/***/ }),
|
|
261
|
-
|
|
262
|
-
/***/ 1895:
|
|
263
|
-
/***/ (function(module) {
|
|
264
|
-
|
|
265
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
266
|
-
|
|
267
|
-
/***/ }),
|
|
268
|
-
|
|
269
|
-
/***/ 8270:
|
|
270
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
271
|
-
|
|
272
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
273
|
-
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
274
|
-
/* harmony export */ });
|
|
275
|
-
function _defineProperty(obj, key, value) {
|
|
276
|
-
if (key in obj) {
|
|
277
|
-
Object.defineProperty(obj, key, {
|
|
278
|
-
value: value,
|
|
279
|
-
enumerable: true,
|
|
280
|
-
configurable: true,
|
|
281
|
-
writable: true
|
|
282
|
-
});
|
|
283
|
-
} else {
|
|
284
|
-
obj[key] = value;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
return obj;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/***/ })
|
|
291
|
-
|
|
292
|
-
/******/ });
|
|
293
|
-
/************************************************************************/
|
|
294
|
-
/******/ // The module cache
|
|
295
|
-
/******/ var __webpack_module_cache__ = {};
|
|
296
|
-
/******/
|
|
297
|
-
/******/ // The require function
|
|
298
|
-
/******/ function __webpack_require__(moduleId) {
|
|
299
|
-
/******/ // Check if module is in cache
|
|
300
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
301
|
-
/******/ if (cachedModule !== undefined) {
|
|
302
|
-
/******/ return cachedModule.exports;
|
|
303
|
-
/******/ }
|
|
304
|
-
/******/ // Create a new module (and put it into the cache)
|
|
305
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
306
|
-
/******/ // no module.id needed
|
|
307
|
-
/******/ // no module.loaded needed
|
|
308
|
-
/******/ exports: {}
|
|
309
|
-
/******/ };
|
|
310
|
-
/******/
|
|
311
|
-
/******/ // Execute the module function
|
|
312
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
313
|
-
/******/
|
|
314
|
-
/******/ // Return the exports of the module
|
|
315
|
-
/******/ return module.exports;
|
|
316
|
-
/******/ }
|
|
317
|
-
/******/
|
|
318
|
-
/************************************************************************/
|
|
319
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
320
|
-
/******/ !function() {
|
|
321
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
322
|
-
/******/ __webpack_require__.n = function(module) {
|
|
323
|
-
/******/ var getter = module && module.__esModule ?
|
|
324
|
-
/******/ function() { return module['default']; } :
|
|
325
|
-
/******/ function() { return module; };
|
|
326
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
327
|
-
/******/ return getter;
|
|
328
|
-
/******/ };
|
|
329
|
-
/******/ }();
|
|
330
|
-
/******/
|
|
331
|
-
/******/ /* webpack/runtime/define property getters */
|
|
332
|
-
/******/ !function() {
|
|
333
|
-
/******/ // define getter functions for harmony exports
|
|
334
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
335
|
-
/******/ for(var key in definition) {
|
|
336
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
337
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
338
|
-
/******/ }
|
|
339
|
-
/******/ }
|
|
340
|
-
/******/ };
|
|
341
|
-
/******/ }();
|
|
342
|
-
/******/
|
|
343
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
344
|
-
/******/ !function() {
|
|
345
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
346
|
-
/******/ }();
|
|
347
|
-
/******/
|
|
348
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
349
|
-
/******/ !function() {
|
|
350
|
-
/******/ // define __esModule on exports
|
|
351
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
352
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
353
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
354
|
-
/******/ }
|
|
355
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
356
|
-
/******/ };
|
|
357
|
-
/******/ }();
|
|
358
|
-
/******/
|
|
359
|
-
/************************************************************************/
|
|
360
|
-
var __webpack_exports__ = {};
|
|
361
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
362
|
-
!function() {
|
|
363
|
-
// ESM COMPAT FLAG
|
|
364
|
-
__webpack_require__.r(__webpack_exports__);
|
|
365
|
-
|
|
366
|
-
// EXPORTS
|
|
367
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
368
|
-
"RollerViewModel": function() { return /* reexport */ RollerViewModel/* default */.Z; },
|
|
369
|
-
"default": function() { return /* reexport */ Roller; }
|
|
370
|
-
});
|
|
371
|
-
|
|
372
|
-
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
373
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
374
|
-
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
375
|
-
var client_icons_vue_ = __webpack_require__(348);
|
|
376
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
377
|
-
var gis_utils_ = __webpack_require__(7135);
|
|
378
|
-
// EXTERNAL MODULE: ./src/webgl/roller/RollerViewModel.js
|
|
379
|
-
var RollerViewModel = __webpack_require__(6561);
|
|
380
395
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
381
|
-
var util_ = __webpack_require__(
|
|
396
|
+
var util_ = __webpack_require__(2975);
|
|
382
397
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
383
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
398
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
384
399
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
|
|
385
400
|
|
|
386
401
|
const _hoisted_1 = {
|
|
@@ -398,13 +413,12 @@ const _hoisted_2 = {
|
|
|
398
413
|
const __default__ = {
|
|
399
414
|
name: "Kq3dRoller"
|
|
400
415
|
};
|
|
401
|
-
/* harmony default export */ var Rollervue_type_script_setup_true_lang_js = (
|
|
416
|
+
/* harmony default export */ var Rollervue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
402
417
|
props: {
|
|
403
418
|
showShadow: {
|
|
404
419
|
type: Boolean,
|
|
405
420
|
default: true
|
|
406
421
|
},
|
|
407
|
-
|
|
408
422
|
/**
|
|
409
423
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
410
424
|
*/
|
|
@@ -434,14 +448,15 @@ const __default__ = {
|
|
|
434
448
|
default: true
|
|
435
449
|
}
|
|
436
450
|
},
|
|
437
|
-
|
|
438
451
|
setup(__props, {
|
|
439
452
|
expose: __expose
|
|
440
453
|
}) {
|
|
454
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
455
|
+
|
|
456
|
+
//获取组件传参
|
|
441
457
|
const props = __props;
|
|
442
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({}); //获取组件传参
|
|
443
|
-
// 表格头样式
|
|
444
458
|
|
|
459
|
+
// 表格头样式
|
|
445
460
|
let headClass = args => {
|
|
446
461
|
return {
|
|
447
462
|
"background-color": "var(--kq-fill-color-light)",
|
|
@@ -449,18 +464,20 @@ const __default__ = {
|
|
|
449
464
|
"font-size": "14px"
|
|
450
465
|
};
|
|
451
466
|
};
|
|
452
|
-
|
|
453
467
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
454
468
|
mode: props.settingParams && props.settingParams.mode || null
|
|
455
469
|
});
|
|
456
470
|
let layers = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([]);
|
|
457
|
-
let viewModel = null;
|
|
471
|
+
let viewModel = null;
|
|
458
472
|
|
|
459
|
-
|
|
473
|
+
// 组件容器Ref
|
|
474
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
460
475
|
|
|
476
|
+
// 生成组件默认header
|
|
461
477
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
462
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
478
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
463
479
|
|
|
480
|
+
// 国际化
|
|
464
481
|
let {
|
|
465
482
|
locale,
|
|
466
483
|
messages
|
|
@@ -484,66 +501,55 @@ const __default__ = {
|
|
|
484
501
|
let options = {
|
|
485
502
|
layers: layers
|
|
486
503
|
};
|
|
487
|
-
viewModel = new RollerViewModel
|
|
504
|
+
viewModel = new RollerViewModel(scenceView, options);
|
|
488
505
|
}
|
|
489
506
|
});
|
|
490
507
|
});
|
|
508
|
+
|
|
491
509
|
/**
|
|
492
510
|
* @description 监听header生成
|
|
493
511
|
*/
|
|
494
|
-
|
|
495
512
|
const watchCreateHeaderTemp = () => {
|
|
496
513
|
if (props.showHeaderTemp) {
|
|
497
514
|
// 生成headerTemp
|
|
498
515
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
499
516
|
}
|
|
500
|
-
};
|
|
501
|
-
|
|
517
|
+
};
|
|
502
518
|
|
|
519
|
+
// 切换模式
|
|
503
520
|
function changeMode() {
|
|
504
521
|
let mode = formItem.mode;
|
|
505
522
|
viewModel && viewModel.changeMode(formItem.mode);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
|
|
523
|
+
}
|
|
524
|
+
// 改变方向
|
|
509
525
|
function changeDirection(index) {
|
|
510
526
|
viewModel && viewModel.changeDirection(index);
|
|
511
|
-
}
|
|
512
|
-
|
|
527
|
+
}
|
|
513
528
|
|
|
529
|
+
//重置
|
|
514
530
|
function reset() {
|
|
515
531
|
formItem.mode = null;
|
|
516
532
|
viewModel && viewModel.reset();
|
|
517
|
-
}
|
|
518
|
-
|
|
533
|
+
}
|
|
519
534
|
|
|
535
|
+
// 销毁
|
|
520
536
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
521
537
|
viewModel && viewModel.destroy();
|
|
522
538
|
});
|
|
523
|
-
|
|
524
539
|
__expose({
|
|
525
540
|
changeMode,
|
|
526
541
|
changeDirection,
|
|
527
542
|
reset
|
|
528
543
|
});
|
|
529
|
-
|
|
530
544
|
return (_ctx, _cache) => {
|
|
531
545
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
532
|
-
|
|
533
546
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
534
|
-
|
|
535
547
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
536
|
-
|
|
537
548
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
538
|
-
|
|
539
549
|
const _component_kq_table_column = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-table-column");
|
|
540
|
-
|
|
541
550
|
const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
|
|
542
|
-
|
|
543
551
|
const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
|
|
544
|
-
|
|
545
552
|
const _component_kq_table = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-table");
|
|
546
|
-
|
|
547
553
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
548
554
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-roller", {
|
|
549
555
|
'kq-box-shadow': __props.showShadow
|
|
@@ -554,9 +560,7 @@ const __default__ = {
|
|
|
554
560
|
key: 0,
|
|
555
561
|
ref_key: "headerTempRef",
|
|
556
562
|
ref: headerTempRef
|
|
557
|
-
}, null, 512
|
|
558
|
-
/* NEED_PATCH */
|
|
559
|
-
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
563
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
560
564
|
style: {
|
|
561
565
|
"margin-bottom": "8px"
|
|
562
566
|
}
|
|
@@ -567,12 +571,8 @@ const __default__ = {
|
|
|
567
571
|
"line-height": "32px"
|
|
568
572
|
}
|
|
569
573
|
}, {
|
|
570
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).rollerMode), 1
|
|
571
|
-
/*
|
|
572
|
-
)]),
|
|
573
|
-
_: 1
|
|
574
|
-
/* STABLE */
|
|
575
|
-
|
|
574
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).rollerMode), 1 /* TEXT */)]),
|
|
575
|
+
_: 1 /* STABLE */
|
|
576
576
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
577
577
|
span: 16
|
|
578
578
|
}, {
|
|
@@ -587,27 +587,15 @@ const __default__ = {
|
|
|
587
587
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
588
588
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).lrRoller,
|
|
589
589
|
value: 1
|
|
590
|
-
}, null, 8
|
|
591
|
-
/* PROPS */
|
|
592
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
590
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
593
591
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).tbRoller,
|
|
594
592
|
value: 2
|
|
595
|
-
}, null, 8
|
|
596
|
-
/*
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
/* STABLE */
|
|
600
|
-
|
|
601
|
-
}, 8
|
|
602
|
-
/* PROPS */
|
|
603
|
-
, ["modelValue", "placeholder"])]),
|
|
604
|
-
_: 1
|
|
605
|
-
/* STABLE */
|
|
606
|
-
|
|
593
|
+
}, null, 8 /* PROPS */, ["label"])]),
|
|
594
|
+
_: 1 /* STABLE */
|
|
595
|
+
}, 8 /* PROPS */, ["modelValue", "placeholder"])]),
|
|
596
|
+
_: 1 /* STABLE */
|
|
607
597
|
})]),
|
|
608
|
-
_: 1
|
|
609
|
-
/* STABLE */
|
|
610
|
-
|
|
598
|
+
_: 1 /* STABLE */
|
|
611
599
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
612
600
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
613
601
|
span: 24
|
|
@@ -629,9 +617,7 @@ const __default__ = {
|
|
|
629
617
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).layer,
|
|
630
618
|
prop: "name",
|
|
631
619
|
align: "center"
|
|
632
|
-
}, null, 8
|
|
633
|
-
/* PROPS */
|
|
634
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
|
|
620
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_table_column, {
|
|
635
621
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).position,
|
|
636
622
|
prop: "direction",
|
|
637
623
|
align: "center"
|
|
@@ -648,93 +634,48 @@ const __default__ = {
|
|
|
648
634
|
"margin-right": "12px"
|
|
649
635
|
}
|
|
650
636
|
}, {
|
|
651
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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)(language).leftRoller), 1
|
|
652
|
-
/*
|
|
653
|
-
|
|
654
|
-
_: 1
|
|
655
|
-
/* STABLE */
|
|
656
|
-
|
|
657
|
-
}, 512
|
|
658
|
-
/* NEED_PATCH */
|
|
659
|
-
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 1]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
637
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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)(language).leftRoller), 1 /* TEXT */)]),
|
|
638
|
+
_: 1 /* STABLE */
|
|
639
|
+
}, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 1]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
660
640
|
label: 2,
|
|
661
641
|
size: "large",
|
|
662
642
|
style: {
|
|
663
643
|
"margin-right": "0px"
|
|
664
644
|
}
|
|
665
645
|
}, {
|
|
666
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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)(language).rightRoller), 1
|
|
667
|
-
/*
|
|
668
|
-
|
|
669
|
-
_: 1
|
|
670
|
-
/* STABLE */
|
|
671
|
-
|
|
672
|
-
}, 512
|
|
673
|
-
/* NEED_PATCH */
|
|
674
|
-
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 1]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
646
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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)(language).rightRoller), 1 /* TEXT */)]),
|
|
647
|
+
_: 1 /* STABLE */
|
|
648
|
+
}, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 1]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
675
649
|
label: 3,
|
|
676
650
|
size: "large",
|
|
677
651
|
style: {
|
|
678
652
|
"margin-right": "12px"
|
|
679
653
|
}
|
|
680
654
|
}, {
|
|
681
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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)(language).topRoller), 1
|
|
682
|
-
/*
|
|
683
|
-
|
|
684
|
-
_: 1
|
|
685
|
-
/* STABLE */
|
|
686
|
-
|
|
687
|
-
}, 512
|
|
688
|
-
/* NEED_PATCH */
|
|
689
|
-
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 2]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
655
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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)(language).topRoller), 1 /* TEXT */)]),
|
|
656
|
+
_: 1 /* STABLE */
|
|
657
|
+
}, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 2]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
690
658
|
label: 4,
|
|
691
659
|
size: "large",
|
|
692
660
|
style: {
|
|
693
661
|
"margin-right": "0px"
|
|
694
662
|
}
|
|
695
663
|
}, {
|
|
696
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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)(language).bottomRoller), 1
|
|
697
|
-
/*
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
/* DYNAMIC */
|
|
707
|
-
|
|
708
|
-
}, 1032
|
|
709
|
-
/* PROPS, DYNAMIC_SLOTS */
|
|
710
|
-
, ["modelValue", "onUpdate:modelValue", "onChange"])]),
|
|
711
|
-
_: 1
|
|
712
|
-
/* STABLE */
|
|
713
|
-
|
|
714
|
-
}, 8
|
|
715
|
-
/* PROPS */
|
|
716
|
-
, ["label"])]),
|
|
717
|
-
_: 1
|
|
718
|
-
/* STABLE */
|
|
719
|
-
|
|
720
|
-
}, 8
|
|
721
|
-
/* PROPS */
|
|
722
|
-
, ["data", "header-cell-style"])]),
|
|
723
|
-
_: 1
|
|
724
|
-
/* STABLE */
|
|
725
|
-
|
|
664
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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)(language).bottomRoller), 1 /* TEXT */)]),
|
|
665
|
+
_: 1 /* STABLE */
|
|
666
|
+
}, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 2]])]),
|
|
667
|
+
_: 2 /* DYNAMIC */
|
|
668
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["modelValue", "onUpdate:modelValue", "onChange"])]),
|
|
669
|
+
_: 1 /* STABLE */
|
|
670
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
671
|
+
_: 1 /* STABLE */
|
|
672
|
+
}, 8 /* PROPS */, ["data", "header-cell-style"])]),
|
|
673
|
+
_: 1 /* STABLE */
|
|
726
674
|
})]),
|
|
727
|
-
_: 1
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
}, 512
|
|
731
|
-
/* NEED_PATCH */
|
|
732
|
-
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode !== null]])])], 2
|
|
733
|
-
/* CLASS */
|
|
734
|
-
);
|
|
675
|
+
_: 1 /* STABLE */
|
|
676
|
+
}, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode !== null]])])], 2 /* CLASS */);
|
|
735
677
|
};
|
|
736
678
|
}
|
|
737
|
-
|
|
738
679
|
}));
|
|
739
680
|
;// CONCATENATED MODULE: ./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
|
|
740
681
|
|
|
@@ -746,10 +687,13 @@ const __exports__ = Rollervue_type_script_setup_true_lang_js;
|
|
|
746
687
|
|
|
747
688
|
/* harmony default export */ var Roller = (__exports__);
|
|
748
689
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
749
|
-
var init_js_ = __webpack_require__(
|
|
690
|
+
var init_js_ = __webpack_require__(455);
|
|
750
691
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
751
692
|
;// CONCATENATED MODULE: ./src/webgl/roller/index.js
|
|
752
|
-
|
|
693
|
+
/*
|
|
694
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
695
|
+
* All rights reserved.
|
|
696
|
+
*/
|
|
753
697
|
|
|
754
698
|
|
|
755
699
|
|
|
@@ -758,8 +702,6 @@ Roller.install = (Vue, opts) => {
|
|
|
758
702
|
Vue.component(Roller.name, Roller);
|
|
759
703
|
};
|
|
760
704
|
|
|
761
|
-
|
|
762
|
-
}();
|
|
763
705
|
/******/ return __webpack_exports__;
|
|
764
706
|
/******/ })()
|
|
765
707
|
;
|