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