@kq_npm/client3d_webgl_vue 0.0.1-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.
Files changed (103) hide show
  1. package/adddata/index.js +1503 -0
  2. package/adddata/style/adddata.css +1 -0
  3. package/adddata/style/css.js +3 -0
  4. package/adddata/style/index.js +3 -0
  5. package/baseterraingallery/index.js +394 -0
  6. package/baseterraingallery/style/baseterraingallery.css +1 -0
  7. package/baseterraingallery/style/css.js +3 -0
  8. package/baseterraingallery/style/index.js +3 -0
  9. package/boxclip/index.js +1076 -0
  10. package/boxclip/style/boxclip.css +1 -0
  11. package/boxclip/style/css.js +3 -0
  12. package/boxclip/style/index.js +3 -0
  13. package/comparemap/index.js +466 -0
  14. package/comparemap/style/comparemap.css +1 -0
  15. package/comparemap/style/css.js +3 -0
  16. package/comparemap/style/index.js +3 -0
  17. package/css.js +3 -0
  18. package/excavatefillanalysis/index.js +599 -0
  19. package/excavatefillanalysis/style/css.js +3 -0
  20. package/excavatefillanalysis/style/excavatefillanalysis.css +1 -0
  21. package/excavatefillanalysis/style/index.js +3 -0
  22. package/flight/index.js +963 -0
  23. package/flight/style/css.js +3 -0
  24. package/flight/style/flight.css +1 -0
  25. package/flight/style/index.js +3 -0
  26. package/floodanalysis/index.js +824 -0
  27. package/floodanalysis/style/css.js +3 -0
  28. package/floodanalysis/style/floodanalysis.css +1 -0
  29. package/floodanalysis/style/index.js +3 -0
  30. package/gpuspatialquery/index.js +906 -0
  31. package/gpuspatialquery/style/css.js +3 -0
  32. package/gpuspatialquery/style/gpuspatialquery.css +1 -0
  33. package/gpuspatialquery/style/index.js +3 -0
  34. package/hawkeye/index.js +239 -0
  35. package/index.js +19807 -0
  36. package/isolineanalysis/index.js +2476 -0
  37. package/isolineanalysis/style/css.js +3 -0
  38. package/isolineanalysis/style/index.js +3 -0
  39. package/isolineanalysis/style/isolineanalysis.css +1 -0
  40. package/measure/index.js +560 -0
  41. package/measure/style/css.js +3 -0
  42. package/measure/style/index.js +3 -0
  43. package/measure/style/measure.css +1 -0
  44. package/modelselect/index.js +375 -0
  45. package/modelselect/style/css.js +3 -0
  46. package/modelselect/style/index.js +3 -0
  47. package/modelselect/style/modelselect.css +1 -0
  48. package/package.json +1 -0
  49. package/particleeffect/index.js +1079 -0
  50. package/particleeffect/style/css.js +3 -0
  51. package/particleeffect/style/index.js +3 -0
  52. package/particleeffect/style/particleeffect.css +1 -0
  53. package/planeclip/index.js +738 -0
  54. package/planeclip/style/css.js +3 -0
  55. package/planeclip/style/index.js +3 -0
  56. package/planeclip/style/planeclip.css +1 -0
  57. package/profileanalysis/index.js +781 -0
  58. package/profileanalysis/style/css.js +3 -0
  59. package/profileanalysis/style/index.js +3 -0
  60. package/profileanalysis/style/profileanalysis.css +1 -0
  61. package/roller/index.js +537 -0
  62. package/roller/style/css.js +3 -0
  63. package/roller/style/index.js +3 -0
  64. package/roller/style/roller.css +1 -0
  65. package/scenceview/index.js +1775 -0
  66. package/scenceview/style/css.js +3 -0
  67. package/scenceview/style/index.js +3 -0
  68. package/scenceview/style/scenceview.css +1 -0
  69. package/screenshot/index.js +551 -0
  70. package/screenshot/style/css.js +3 -0
  71. package/screenshot/style/index.js +3 -0
  72. package/screenshot/style/screenshot.css +1 -0
  73. package/shadowanalysis/index.js +1042 -0
  74. package/shadowanalysis/style/css.js +3 -0
  75. package/shadowanalysis/style/index.js +3 -0
  76. package/shadowanalysis/style/shadowanalysis.css +1 -0
  77. package/sightlineanalysis/index.js +1100 -0
  78. package/sightlineanalysis/style/css.js +3 -0
  79. package/sightlineanalysis/style/divpoint.css +1 -0
  80. package/sightlineanalysis/style/index.js +3 -0
  81. package/sightlineanalysis/style/sightlineanalysis.css +1 -0
  82. package/skylineanalysis/index.js +771 -0
  83. package/skylineanalysis/style/css.js +3 -0
  84. package/skylineanalysis/style/index.js +3 -0
  85. package/skylineanalysis/style/skylineanalysis.css +1 -0
  86. package/slopeanalysis/index.js +1028 -0
  87. package/slopeanalysis/style/css.js +3 -0
  88. package/slopeanalysis/style/index.js +3 -0
  89. package/slopeanalysis/style/slopeanalysis.css +1 -0
  90. package/style.css +1 -0
  91. package/style.js +3 -0
  92. package/terrainoperation/index.js +508 -0
  93. package/terrainoperation/style/css.js +3 -0
  94. package/terrainoperation/style/index.js +3 -0
  95. package/terrainoperation/style/terrainoperation.css +1 -0
  96. package/viewshedanalysis/index.js +582 -0
  97. package/viewshedanalysis/style/css.js +3 -0
  98. package/viewshedanalysis/style/index.js +3 -0
  99. package/viewshedanalysis/style/viewshedanalysis.css +1 -0
  100. package/weathereffect/index.js +835 -0
  101. package/weathereffect/style/css.js +3 -0
  102. package/weathereffect/style/index.js +3 -0
  103. package/weathereffect/style/weathereffect.css +1 -0
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ require("./profileanalysis.css");
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ require("./profileanalysis.css");
@@ -0,0 +1 @@
1
+ :root{--kq-box-padding:16px;--kq-header-bg-color:var(--kq-color-primary);--kq-header-border-color:var(--kq-color-primary)}.kq3d-profile-analysis{z-index:999;width:372px;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq3d-profile-analysis.shadow{-webkit-box-shadow:var(--kq-box-shadow);box-shadow:var(--kq-box-shadow)}.kq3d-profile-analysis .kq3d-profile-analysis-tip{color:var(--kq-text-color-regular);font-size:13px}.kq3d-profile-analysis .kq3d-profile-analysis-tip p{margin:5px 0}.kq3d-profile-analysis .kq-collapse{border:unset}.kq3d-profile-analysis .kq-collapse .kq-collapse-item__header{border:unset;height:38px;background-color:var(--kq-fill-color-light);font-weight:700;padding:0 16px;font-size:16px}.kq3d-profile-analysis .kq-collapse .kq-collapse-item__arrow{margin:0 0 0 auto}.kq3d-profile-analysis .kq-collapse .kq-collapse-item__wrap .kq-collapse-item__content{padding-bottom:unset;border:unset;padding-top:10px}.kq3d-profile-analysis .kq-form-item{margin-bottom:0}.kq3d-profile-analysis .kq-form-item__content{text-align:end;display:block}.kq3d-profile-analysis .kq-row{margin-bottom:5px;display:block}.kq3d-profile-analysis .kq-slider{width:93%;padding-left:7px}.kq3d-profile-analysis .kq-slider .kq-slider__button{width:14px;height:14px}.kq3d-profile-analysis .kq-input-number{width:65px}.kq3d-profile-analysis .kq-input-number .kq-input-number__decrease,.kq3d-profile-analysis .kq-input-number .kq-input-number__increase{width:20px}.kq3d-profile-analysis .kq-input-number .kq-input__wrapper{padding-left:0;padding-right:20px}.kq3d-profile-analysis .kq-color-picker,.kq3d-profile-analysis .kq-color-picker .kq-color-picker__mask,.kq3d-profile-analysis .kq-color-picker .kq-color-picker__trigger{width:100%}.kq3d-profile-analysis .kq3d-profile-analysis-footer{float:right;padding:16px 0}.kq3d-profile-analysis .kq3d-profile-analysis-result{padding-top:56px}.kq3d-profile-analysis .kq3d-profile-analysis-result .resultCahrt{height:370px;background:var(--kq-fill-color-light);border:1px solid var(--kq-border-color-light);border-radius:4px}
@@ -0,0 +1,537 @@
1
+ /******/ (function() { // webpackBootstrap
2
+ /******/ "use strict";
3
+ /******/ // The require scope
4
+ /******/ var __webpack_require__ = {};
5
+ /******/
6
+ /************************************************************************/
7
+ /******/ /* webpack/runtime/compat get default export */
8
+ /******/ !function() {
9
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
10
+ /******/ __webpack_require__.n = function(module) {
11
+ /******/ var getter = module && module.__esModule ?
12
+ /******/ function() { return module['default']; } :
13
+ /******/ function() { return module; };
14
+ /******/ __webpack_require__.d(getter, { a: getter });
15
+ /******/ return getter;
16
+ /******/ };
17
+ /******/ }();
18
+ /******/
19
+ /******/ /* webpack/runtime/define property getters */
20
+ /******/ !function() {
21
+ /******/ // define getter functions for harmony exports
22
+ /******/ __webpack_require__.d = function(exports, definition) {
23
+ /******/ for(var key in definition) {
24
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
25
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
26
+ /******/ }
27
+ /******/ }
28
+ /******/ };
29
+ /******/ }();
30
+ /******/
31
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
32
+ /******/ !function() {
33
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
34
+ /******/ }();
35
+ /******/
36
+ /******/ /* webpack/runtime/make namespace object */
37
+ /******/ !function() {
38
+ /******/ // define __esModule on exports
39
+ /******/ __webpack_require__.r = function(exports) {
40
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
41
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
42
+ /******/ }
43
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
44
+ /******/ };
45
+ /******/ }();
46
+ /******/
47
+ /************************************************************************/
48
+ var __webpack_exports__ = {};
49
+ // ESM COMPAT FLAG
50
+ __webpack_require__.r(__webpack_exports__);
51
+
52
+ // EXPORTS
53
+ __webpack_require__.d(__webpack_exports__, {
54
+ "RollerViewModel": function() { return /* reexport */ RollerViewModel; },
55
+ "default": function() { return /* reexport */ Roller; }
56
+ });
57
+
58
+ ;// CONCATENATED MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
59
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject = require("vue");
60
+ ;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/_utils/gis-utils"
61
+ var gis_utils_namespaceObject = require("@zpc_npm/vue-iclient-common/_utils/gis-utils");
62
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
63
+ function _defineProperty(obj, key, value) {
64
+ if (key in obj) {
65
+ Object.defineProperty(obj, key, {
66
+ value: value,
67
+ enumerable: true,
68
+ configurable: true,
69
+ writable: true
70
+ });
71
+ } else {
72
+ obj[key] = value;
73
+ }
74
+
75
+ return obj;
76
+ }
77
+ ;// CONCATENATED MODULE: ./src/webgl/roller/RollerViewModel.js
78
+
79
+ //卷帘逻辑类
80
+ class RollerViewModel {
81
+ constructor(scenceView, options) {
82
+ _defineProperty(this, "_viewer", null);
83
+
84
+ _defineProperty(this, "_layerManager", null);
85
+
86
+ _defineProperty(this, "_layers", []);
87
+
88
+ _defineProperty(this, "_lrSlider", null);
89
+
90
+ _defineProperty(this, "_tbSlider", null);
91
+
92
+ _defineProperty(this, "_lrSliderHandler", null);
93
+
94
+ _defineProperty(this, "_tbSliderHandler", null);
95
+
96
+ _defineProperty(this, "_lrSliderActive", false);
97
+
98
+ _defineProperty(this, "_tbSliderActive", false);
99
+
100
+ this._viewer = scenceView._viewer;
101
+ this._layerManager = scenceView._layerManager;
102
+ this._layers = options.layers;
103
+ this._lrSlider = options.lrSlider;
104
+ this._tbSlider = options.tbSlider;
105
+ setTimeout(() => {
106
+ this.initLayers();
107
+ }, 500);
108
+ this.registerEvents();
109
+ } //注册卷帘拖动事件
110
+
111
+
112
+ registerEvents() {
113
+ let that = this;
114
+ this._lrSliderHandler = new Cesium.ScreenSpaceEventHandler(this._lrSlider);
115
+
116
+ this._lrSliderHandler.setInputAction(function () {
117
+ that._lrSliderActive = true;
118
+ }, Cesium.ScreenSpaceEventType.LEFT_DOWN);
119
+
120
+ this._lrSliderHandler.setInputAction(function (movement) {
121
+ if (!that._lrSliderActive) {
122
+ return;
123
+ }
124
+
125
+ let relativeOffset = movement.endPosition.x;
126
+ let splitPosition = (that._lrSlider.offsetLeft + relativeOffset) / that._lrSlider.parentElement.parentElement.offsetWidth;
127
+ that._lrSlider.style.left = 100.0 * splitPosition + '%';
128
+ that._viewer.scene.imagerySplitPosition = splitPosition;
129
+ }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
130
+
131
+ this._lrSliderHandler.setInputAction(function () {
132
+ that._lrSliderActive = false;
133
+ }, Cesium.ScreenSpaceEventType.LEFT_UP);
134
+
135
+ this._tbSliderHandler = new Cesium.ScreenSpaceEventHandler(this._tbSlider);
136
+
137
+ this._tbSliderHandler.setInputAction(function () {
138
+ that._tbSliderActive = true;
139
+ }, Cesium.ScreenSpaceEventType.LEFT_DOWN);
140
+
141
+ this._tbSliderHandler.setInputAction(function (movement) {
142
+ if (!that._tbSliderActive) {
143
+ return;
144
+ }
145
+
146
+ let relativeOffset = movement.endPosition.y;
147
+ let splitPosition = 1.0 - (that._tbSlider.offsetTop + relativeOffset) / that._tbSlider.parentElement.parentElement.offsetHeight;
148
+ that._tbSlider.style.top = 100.0 * (1.0 - splitPosition) + '%';
149
+ that._viewer.scene.imagerySplitPosition = splitPosition;
150
+ }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
151
+
152
+ this._tbSliderHandler.setInputAction(function () {
153
+ that._tbSliderActive = false;
154
+ }, Cesium.ScreenSpaceEventType.LEFT_UP);
155
+ } //初始化图层数据
156
+
157
+
158
+ initLayers() {
159
+ let layers = this._layerManager.getLayerCheckedList();
160
+
161
+ for (let i = 0; i < layers.length; i++) {
162
+ this._layers.push({
163
+ guid: layers[i].guid,
164
+ name: layers[i].name,
165
+ direction: 0
166
+ });
167
+ }
168
+ } //切换模式
169
+
170
+
171
+ changeMode(mode) {
172
+ let direction = 0;
173
+ let splitdirection = Cesium.ImagerySplitDirection.NONE;
174
+ let splitPosition = 0.5;
175
+ this._lrSlider.style.display = "none";
176
+ this._tbSlider.style.display = "none";
177
+
178
+ switch (mode) {
179
+ case 1:
180
+ direction = 1;
181
+ this._lrSlider.style.display = "block";
182
+ splitdirection = Cesium.ImagerySplitDirection.LEFT;
183
+ splitPosition = this._lrSlider.offsetLeft / this._lrSlider.parentElement.parentElement.offsetWidth;
184
+ break;
185
+
186
+ case 2:
187
+ direction = 3;
188
+ this._tbSlider.style.display = "block";
189
+ splitdirection = Cesium.ImagerySplitDirection.TOP;
190
+ splitPosition = 1.0 - this._tbSlider.offsetTop / this._tbSlider.parentElement.parentElement.offsetHeight;
191
+ break;
192
+
193
+ default:
194
+ break;
195
+ }
196
+
197
+ let that = this;
198
+
199
+ this._layers.forEach(layer => {
200
+ layer.direction = direction;
201
+
202
+ let layerObj = that._layerManager.getLayerByGuid(layer.guid);
203
+
204
+ if (layerObj) layerObj.splitDirection = splitdirection;
205
+ });
206
+
207
+ if (mode !== 0) {
208
+ this._viewer.scene.imagerySplitPosition = splitPosition;
209
+ }
210
+ } //改变方向
211
+
212
+
213
+ changeDirection(index) {
214
+ let direction = this._layers[index].direction;
215
+ let splitdirection = Cesium.ImagerySplitDirection.NONE;
216
+
217
+ switch (direction) {
218
+ case 1:
219
+ splitdirection = Cesium.ImagerySplitDirection.LEFT;
220
+ break;
221
+
222
+ case 2:
223
+ splitdirection = Cesium.ImagerySplitDirection.RIGHT;
224
+ break;
225
+
226
+ case 3:
227
+ splitdirection = Cesium.ImagerySplitDirection.TOP;
228
+ break;
229
+
230
+ case 4:
231
+ splitdirection = Cesium.ImagerySplitDirection.BOTTOM;
232
+ break;
233
+
234
+ default:
235
+ break;
236
+ }
237
+
238
+ let layer = this._layerManager.getLayerByGuid(this._layers[index].guid);
239
+
240
+ if (layer) {
241
+ layer.splitDirection = splitdirection;
242
+ }
243
+ } //重置
244
+
245
+
246
+ reset() {
247
+ this.changeMode(0);
248
+ } // 销毁
249
+
250
+
251
+ destroy() {
252
+ this.reset(); //移除监听事件
253
+
254
+ this._lrSliderHandler && this._lrSliderHandler.destroy();
255
+ this._tbSliderActive && this._tbSliderActive.destroy();
256
+ }
257
+
258
+ }
259
+ ;// 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
260
+
261
+ const _hoisted_1 = {
262
+ class: "kq3d-roller"
263
+ };
264
+ const _hoisted_2 = {
265
+ class: "kq3d-roller-span"
266
+ };
267
+ const _hoisted_3 = {
268
+ class: "kq3d-roller-span1"
269
+ };
270
+
271
+ const _hoisted_4 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", {
272
+ id: "lrSlider",
273
+ class: "shutter-slider lrSlider"
274
+ }, null, -1
275
+ /* HOISTED */
276
+ );
277
+
278
+ const _hoisted_5 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", {
279
+ id: "tbSlider",
280
+ class: "shutter-slider tbSlider"
281
+ }, null, -1
282
+ /* HOISTED */
283
+ );
284
+
285
+
286
+
287
+
288
+ const __default__ = {
289
+ name: "Kq3dRoller"
290
+ };
291
+ /* harmony default export */ var Rollervue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
292
+ props: {
293
+ //设置参数
294
+ top: {
295
+ type: Number,
296
+ default: 20
297
+ },
298
+ right: {
299
+ type: Number,
300
+ default: 20
301
+ }
302
+ },
303
+
304
+ setup(__props, {
305
+ expose
306
+ }) {
307
+ const props = __props;
308
+ let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); //获取组件传参
309
+
310
+ let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
311
+ mode: props.settingParams && props.settingParams.mode || 0
312
+ });
313
+ let layers = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)([]);
314
+ let viewModel = null;
315
+ (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
316
+ gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
317
+ if (scenceView) {
318
+ language.value = scenceView._language;
319
+ let options = {
320
+ layers: layers,
321
+ lrSlider: document.getElementById("lrSlider"),
322
+ tbSlider: document.getElementById("tbSlider")
323
+ };
324
+ viewModel = new RollerViewModel(scenceView, options);
325
+ }
326
+ });
327
+ }); // 切换模式
328
+
329
+ function changeMode() {
330
+ let mode = formItem.mode;
331
+ viewModel && viewModel.changeMode(formItem.mode);
332
+ } // 改变方向
333
+
334
+
335
+ function changeDirection(index) {
336
+ viewModel && viewModel.changeDirection(index);
337
+ } //重置
338
+
339
+
340
+ function reset() {
341
+ formItem.mode = 0;
342
+ viewModel && viewModel.reset();
343
+ } // 销毁
344
+
345
+
346
+ (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeUnmount)(() => {
347
+ viewModel && viewModel.destroy();
348
+ });
349
+ expose({
350
+ reset
351
+ });
352
+ return (_ctx, _cache) => {
353
+ const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-col");
354
+
355
+ const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-option");
356
+
357
+ const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-select");
358
+
359
+ const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-row");
360
+
361
+ const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-radio");
362
+
363
+ const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-radio-group");
364
+
365
+ return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)("section", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", {
366
+ class: "kq3d-roller-form",
367
+ style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.normalizeStyle)('top: ' + props.top + 'px; right: ' + props.right + 'px;')
368
+ }, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
369
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
370
+ span: 8
371
+ }, {
372
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).rollerMode), 1
373
+ /* TEXT */
374
+ )]),
375
+ _: 1
376
+ /* STABLE */
377
+
378
+ }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
379
+ span: 16
380
+ }, {
381
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_select, {
382
+ modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).mode,
383
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).mode = $event),
384
+ onChange: changeMode
385
+ }, {
386
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
387
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).noRoller,
388
+ value: 0
389
+ }, null, 8
390
+ /* PROPS */
391
+ , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
392
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).lrRoller,
393
+ value: 1
394
+ }, null, 8
395
+ /* PROPS */
396
+ , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_option, {
397
+ label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).tbRoller,
398
+ value: 2
399
+ }, null, 8
400
+ /* PROPS */
401
+ , ["label"])]),
402
+ _: 1
403
+ /* STABLE */
404
+
405
+ }, 8
406
+ /* PROPS */
407
+ , ["modelValue"])]),
408
+ _: 1
409
+ /* STABLE */
410
+
411
+ })]),
412
+ _: 1
413
+ /* STABLE */
414
+
415
+ }), ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(layers), (layer, index) => {
416
+ return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withDirectives)(((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createBlock)(_component_kq_row, null, {
417
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
418
+ span: 8
419
+ }, {
420
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)(layer.name), 1
421
+ /* TEXT */
422
+ )]),
423
+ _: 2
424
+ /* DYNAMIC */
425
+
426
+ }, 1024
427
+ /* DYNAMIC_SLOTS */
428
+ ), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
429
+ span: 16
430
+ }, {
431
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_radio_group, {
432
+ modelValue: layer.direction,
433
+ "onUpdate:modelValue": $event => layer.direction = $event,
434
+ onChange: $event => changeDirection(index)
435
+ }, {
436
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_radio, {
437
+ label: 1,
438
+ size: "large"
439
+ }, {
440
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).leftRoller), 1
441
+ /* TEXT */
442
+ )]),
443
+ _: 1
444
+ /* STABLE */
445
+
446
+ }, 512
447
+ /* NEED_PATCH */
448
+ ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).mode === 1]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_radio, {
449
+ label: 2,
450
+ size: "large"
451
+ }, {
452
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).rightRoller), 1
453
+ /* TEXT */
454
+ )]),
455
+ _: 1
456
+ /* STABLE */
457
+
458
+ }, 512
459
+ /* NEED_PATCH */
460
+ ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).mode === 1]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_radio, {
461
+ label: 3,
462
+ size: "large"
463
+ }, {
464
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).topRoller), 1
465
+ /* TEXT */
466
+ )]),
467
+ _: 1
468
+ /* STABLE */
469
+
470
+ }, 512
471
+ /* NEED_PATCH */
472
+ ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).mode === 2]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_radio, {
473
+ label: 4,
474
+ size: "large"
475
+ }, {
476
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).bottomRoller), 1
477
+ /* TEXT */
478
+ )]),
479
+ _: 1
480
+ /* STABLE */
481
+
482
+ }, 512
483
+ /* NEED_PATCH */
484
+ ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).mode === 2]])]),
485
+ _: 2
486
+ /* DYNAMIC */
487
+
488
+ }, 1032
489
+ /* PROPS, DYNAMIC_SLOTS */
490
+ , ["modelValue", "onUpdate:modelValue", "onChange"])]),
491
+ _: 2
492
+ /* DYNAMIC */
493
+
494
+ }, 1024
495
+ /* DYNAMIC_SLOTS */
496
+ )]),
497
+ _: 2
498
+ /* DYNAMIC */
499
+
500
+ }, 1536
501
+ /* NEED_PATCH, DYNAMIC_SLOTS */
502
+ )), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).mode !== 0]]);
503
+ }), 256
504
+ /* UNKEYED_FRAGMENT */
505
+ ))], 4
506
+ /* STYLE */
507
+ ), _hoisted_4, _hoisted_5]);
508
+ };
509
+ }
510
+
511
+ }));
512
+ ;// CONCATENATED MODULE: ./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
513
+
514
+ ;// CONCATENATED MODULE: ./src/webgl/roller/Roller.vue
515
+
516
+
517
+
518
+ const __exports__ = Rollervue_type_script_setup_true_lang_js;
519
+
520
+ /* harmony default export */ var Roller = (__exports__);
521
+ ;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/init.js"
522
+ var init_js_namespaceObject = require("@zpc_npm/vue-iclient-common/init.js");
523
+ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
524
+ ;// CONCATENATED MODULE: ./src/webgl/roller/index.js
525
+
526
+
527
+
528
+
529
+ Roller.install = (Vue, opts) => {
530
+ init_js_default()(Vue, opts);
531
+ Vue.component(Roller.name, Roller);
532
+ };
533
+
534
+
535
+ module.exports = __webpack_exports__;
536
+ /******/ })()
537
+ ;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ require("./roller.css");
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+
3
+ require("./roller.css");
@@ -0,0 +1 @@
1
+ :root{--kq-box-padding:16px;--kq-header-bg-color:var(--kq-color-primary);--kq-header-border-color:var(--kq-color-primary)}.kq3d-roller .kq3d-roller-form{z-index:999;width:250px;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color);position:absolute}.kq3d-roller .kq3d-roller-form.shadow{-webkit-box-shadow:var(--kq-box-shadow);box-shadow:var(--kq-box-shadow)}.kq3d-roller .kq3d-roller-form .kq-row{margin-bottom:5px}.kq3d-roller .kq3d-roller-form .kq3d-roller-span{color:var(--kq-text-color-regular);line-height:32px}.kq3d-roller .kq3d-roller-form .kq3d-roller-span1{color:var(--kq-text-color-regular);line-height:40px}.kq3d-roller .shutter-slider{display:none;position:absolute;background-color:#e6e3e3;z-index:998}.kq3d-roller .lrSlider{left:50%;top:0;width:3px;height:100%}.kq3d-roller .lrSlider:hover{cursor:ew-resize}.kq3d-roller .tbSlider{left:0;top:50%;width:100%;height:3px}.kq3d-roller .tbSlider:hover{cursor:ns-resize}