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