@kq_npm/client3d_webgl_vue 4.5.22-beta → 4.5.24

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/light/index.js CHANGED
@@ -229,9 +229,9 @@ var esnext_iterator_for_each_js_ = __webpack_require__(1058);
229
229
 
230
230
 
231
231
 
232
- /*
233
- * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
234
- * All rights reserved.
232
+ /*
233
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
234
+ * All rights reserved.
235
235
  */
236
236
  //灯光特效逻辑类
237
237
  class LightViewModel {
@@ -302,16 +302,27 @@ class LightViewModel {
302
302
  //添加点光源
303
303
  addPointLight(position) {
304
304
  let color = Cesium.Color.fromCssColorString(this._options.color);
305
- this._light = new Cesium.Kq3dPointLight({
306
- viewer: this._drawManager._viewer,
307
- pointPosition: position,
308
- showPoint: false,
309
- color: color,
310
- cutoffDistance: this._options.distance,
311
- decay: this._options.decay,
312
- lightIntensity: this._options.intensity
313
- });
314
- this._lightList.push(this._light);
305
+ if (Cesium.SplitDirection) {
306
+ this._light = new Cesium.Kq3dPointLight({
307
+ position: position,
308
+ showPoint: false,
309
+ color: color,
310
+ cutoffDistance: this._options.distance,
311
+ decay: this._options.decay,
312
+ lightIntensity: this._options.intensity
313
+ });
314
+ this._viewer.scene.kq3dLightManager.add(this._light);
315
+ } else if (Cesium.ImagerySplitDirection) {
316
+ this._light = new Cesium.Kq3dPointLight({
317
+ viewer: this._drawManager._viewer,
318
+ pointPosition: position,
319
+ showPoint: false,
320
+ color: color,
321
+ cutoffDistance: this._options.distance,
322
+ decay: this._options.decay,
323
+ lightIntensity: this._options.intensity
324
+ });
325
+ }
315
326
  this._lightModel = this._lightModelDs.entities.add({
316
327
  show: this._options.showModel,
317
328
  position: position,
@@ -321,6 +332,7 @@ class LightViewModel {
321
332
  material: color
322
333
  }
323
334
  });
335
+ this._lightList.push(this._light);
324
336
  }
325
337
  //添加聚光灯
326
338
  addSpotLight(position) {
@@ -330,15 +342,27 @@ class LightViewModel {
330
342
  offset: new Cesium.Cartesian3(),
331
343
  direction: new Cesium.Cartesian3(0, 0, -1.0)
332
344
  }];
333
- this._light = new Cesium.Kq3dSpotLight({
334
- viewer: this._viewer,
335
- lights: lights,
336
- color: color,
337
- angle: this._options.angle,
338
- cutoffDistance: this._options.distance,
339
- decay: this._options.decay,
340
- lightIntensity: this._options.intensity
341
- });
345
+ if (Cesium.SplitDirection) {
346
+ this._light = new Cesium.Kq3dSpotLightStage({
347
+ viewer: this._viewer,
348
+ lights: lights,
349
+ color: color,
350
+ angle: this._options.angle,
351
+ cutoffDistance: this._options.distance,
352
+ decay: this._options.decay,
353
+ lightIntensity: this._options.intensity
354
+ });
355
+ } else if (Cesium.ImagerySplitDirection) {
356
+ this._light = new Cesium.Kq3dSpotLight({
357
+ viewer: this._viewer,
358
+ lights: lights,
359
+ color: color,
360
+ angle: this._options.angle,
361
+ cutoffDistance: this._options.distance,
362
+ decay: this._options.decay,
363
+ lightIntensity: this._options.intensity
364
+ });
365
+ }
342
366
  this._viewer.effects.add(this._light);
343
367
  this._lightList.push(this._light);
344
368
  this._lightModel = this._lightModelDs.entities.add({
@@ -386,6 +410,8 @@ class LightViewModel {
386
410
  this._lightList.forEach(light => {
387
411
  if (light._postProcessStage) {
388
412
  this._viewer.scene.postProcessStages.remove(light._postProcessStage);
413
+ } else if (light) {
414
+ this._viewer.scene.kq3dLightManager.remove(light);
389
415
  }
390
416
  }, this);
391
417
  this._lightList = [];
@@ -416,7 +442,15 @@ class LightViewModel {
416
442
  //设置扩散距离
417
443
  setDistance(distance) {
418
444
  if (this._light) {
419
- this._light.cutoffDistance = Number(distance);
445
+ if (Cesium.SplitDirection) {
446
+ if (this._options.mode === 'spot') {
447
+ this._light.cutoffDistance = Number(distance);
448
+ } else {
449
+ this._light.distance = Number(distance);
450
+ }
451
+ } else if (Cesium.ImagerySplitDirection) {
452
+ this._light.cutoffDistance = Number(distance);
453
+ }
420
454
  }
421
455
  }
422
456
  //设置衰减因子
@@ -430,7 +464,13 @@ class LightViewModel {
430
464
  if (this._light) {
431
465
  if (this._options.mode == "parallel") {
432
466
  this._light.intensity = Number(intensity);
433
- } else this._light.lightIntensity = Number(intensity);
467
+ } else {
468
+ if (Cesium.SplitDirection) {
469
+ this._light.intensity = Number(intensity);
470
+ } else if (Cesium.ImagerySplitDirection) {
471
+ this._light.lightIntensity = Number(intensity);
472
+ }
473
+ }
434
474
  }
435
475
  }
436
476
  //光源模型显隐控制
@@ -526,9 +566,17 @@ const __default__ = {
526
566
  mode: props.settingParams && props.settingParams.mode || "point",
527
567
  color: props.settingParams && props.settingParams.color || "#fff",
528
568
  distance: props.settingParams && props.settingParams.distance || 200,
569
+ minDistance: props.settingParams && props.settingParams.minDistance || 1,
570
+ maxDistance: props.settingParams && props.settingParams.maxDistance || 1000,
529
571
  decay: props.settingParams && props.settingParams.decay || 0.1,
572
+ minDecay: props.settingParams && props.settingParams.minDecay || 0,
573
+ maxDecay: props.settingParams && props.settingParams.maxDecay || 1,
530
574
  intensity: props.settingParams && props.settingParams.intensity || 5,
575
+ minIntensity: props.settingParams && props.settingParams.minIntensity || 0,
576
+ maxIntensity: props.settingParams && props.settingParams.maxIntensity || 20,
531
577
  angle: props.settingParams && props.settingParams.angle || 80,
578
+ minAngle: props.settingParams && props.settingParams.minAngle || 0,
579
+ maxAngle: props.settingParams && props.settingParams.maxAngle || 160,
532
580
  showModel: props.settingParams && props.settingParams.showModel || true
533
581
  });
534
582
  let viewModel = null;
@@ -586,22 +634,22 @@ const __default__ = {
586
634
  function paramsChanged(key) {
587
635
  switch (key) {
588
636
  case "color":
589
- viewModel.setColor(formItem.color);
637
+ viewModel && viewModel.setColor(formItem.color);
590
638
  break;
591
639
  case "distance":
592
- viewModel.setDistance(formItem.distance);
640
+ viewModel && viewModel.setDistance(formItem.distance);
593
641
  break;
594
642
  case "decay":
595
- viewModel.setDecay(formItem.decay);
643
+ viewModel && viewModel.setDecay(formItem.decay);
596
644
  break;
597
645
  case "intensity":
598
- viewModel.setIntensity(formItem.intensity);
646
+ viewModel && viewModel.setIntensity(formItem.intensity);
599
647
  break;
600
648
  case "showModel":
601
- viewModel.showModel(formItem.showModel);
649
+ viewModel && viewModel.showModel(formItem.showModel);
602
650
  break;
603
651
  case "angle":
604
- viewModel.showAngle(formItem.angle);
652
+ viewModel && viewModel.showAngle(formItem.angle);
605
653
  break;
606
654
  default:
607
655
  break;
@@ -722,11 +770,11 @@ const __default__ = {
722
770
  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_slider, {
723
771
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).distance,
724
772
  "onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).distance = $event),
725
- step: 0.1,
726
- min: 1,
727
- max: 1000,
728
- onInput: _cache[6] || (_cache[6] = $event => paramsChanged('distance'))
729
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
773
+ step: 1,
774
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minDistance,
775
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxDistance,
776
+ onChange: _cache[6] || (_cache[6] = $event => paramsChanged('distance'))
777
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
730
778
  _: 1 /* STABLE */
731
779
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
732
780
  span: 8
@@ -734,12 +782,12 @@ const __default__ = {
734
782
  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_input_number, {
735
783
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).distance,
736
784
  "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).distance = $event),
737
- step: 0.1,
738
- min: 1,
739
- max: 1000,
785
+ step: 1,
786
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minDistance,
787
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxDistance,
740
788
  "controls-position": "right",
741
- onInput: _cache[8] || (_cache[8] = $event => paramsChanged('distance'))
742
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
789
+ onChange: _cache[8] || (_cache[8] = $event => paramsChanged('distance'))
790
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
743
791
  _: 1 /* STABLE */
744
792
  })]),
745
793
  _: 1 /* STABLE */
@@ -764,11 +812,11 @@ const __default__ = {
764
812
  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_slider, {
765
813
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).angle,
766
814
  "onUpdate:modelValue": _cache[9] || (_cache[9] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).angle = $event),
767
- step: 0.1,
768
- min: 0,
769
- max: 160,
770
- onInput: _cache[10] || (_cache[10] = $event => paramsChanged('angle'))
771
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
815
+ step: 1,
816
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minAngle,
817
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxAngle,
818
+ onChange: _cache[10] || (_cache[10] = $event => paramsChanged('angle'))
819
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
772
820
  _: 1 /* STABLE */
773
821
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
774
822
  span: 8
@@ -776,12 +824,12 @@ const __default__ = {
776
824
  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_input_number, {
777
825
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).angle,
778
826
  "onUpdate:modelValue": _cache[11] || (_cache[11] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).angle = $event),
779
- step: 0.1,
780
- min: 0,
781
- max: 160,
827
+ step: 1,
828
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minAngle,
829
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxAngle,
782
830
  "controls-position": "right",
783
- onInput: _cache[12] || (_cache[12] = $event => paramsChanged('angle'))
784
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
831
+ onChange: _cache[12] || (_cache[12] = $event => paramsChanged('angle'))
832
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
785
833
  _: 1 /* STABLE */
786
834
  })]),
787
835
  _: 1 /* STABLE */
@@ -807,10 +855,10 @@ const __default__ = {
807
855
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).decay,
808
856
  "onUpdate:modelValue": _cache[13] || (_cache[13] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).decay = $event),
809
857
  step: 0.01,
810
- min: 0,
811
- max: 1,
812
- onInput: _cache[14] || (_cache[14] = $event => paramsChanged('decay'))
813
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
858
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minDecay,
859
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxDecay,
860
+ onChange: _cache[14] || (_cache[14] = $event => paramsChanged('decay'))
861
+ }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
814
862
  _: 1 /* STABLE */
815
863
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
816
864
  span: 8
@@ -819,11 +867,11 @@ const __default__ = {
819
867
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).decay,
820
868
  "onUpdate:modelValue": _cache[15] || (_cache[15] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).decay = $event),
821
869
  step: 0.01,
822
- min: 0,
823
- max: 1,
870
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minDecay,
871
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxDecay,
824
872
  "controls-position": "right",
825
- onInput: _cache[16] || (_cache[16] = $event => paramsChanged('decay'))
826
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
873
+ onChange: _cache[16] || (_cache[16] = $event => paramsChanged('decay'))
874
+ }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
827
875
  _: 1 /* STABLE */
828
876
  })]),
829
877
  _: 1 /* STABLE */
@@ -849,9 +897,9 @@ const __default__ = {
849
897
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).intensity,
850
898
  "onUpdate:modelValue": _cache[17] || (_cache[17] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).intensity = $event),
851
899
  step: 0.1,
852
- min: 0.1,
853
- max: 10.0,
854
- onInput: _cache[18] || (_cache[18] = $event => paramsChanged('intensity'))
900
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minIntensity,
901
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxIntensity,
902
+ onChange: _cache[18] || (_cache[18] = $event => paramsChanged('intensity'))
855
903
  }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
856
904
  _: 1 /* STABLE */
857
905
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -861,10 +909,10 @@ const __default__ = {
861
909
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).intensity,
862
910
  "onUpdate:modelValue": _cache[19] || (_cache[19] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).intensity = $event),
863
911
  step: 0.1,
864
- min: 0.1,
865
- max: 10.0,
912
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minIntensity,
913
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxIntensity,
866
914
  "controls-position": "right",
867
- onInput: _cache[20] || (_cache[20] = $event => paramsChanged('intensity'))
915
+ onChange: _cache[20] || (_cache[20] = $event => paramsChanged('intensity'))
868
916
  }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
869
917
  _: 1 /* STABLE */
870
918
  })]),
@@ -617,7 +617,7 @@ const __default__ = {
617
617
  step: 1,
618
618
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minBaseHeight,
619
619
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxBaseHeight,
620
- onInput: _cache[1] || (_cache[1] = $event => paramsChanged('baseHeight'))
620
+ onChange: _cache[1] || (_cache[1] = $event => paramsChanged('baseHeight'))
621
621
  }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
622
622
  _: 1 /* STABLE */
623
623
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -630,7 +630,7 @@ const __default__ = {
630
630
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxBaseHeight,
631
631
  step: 1,
632
632
  "controls-position": "right",
633
- onInput: _cache[3] || (_cache[3] = $event => paramsChanged('baseHeight'))
633
+ onChange: _cache[3] || (_cache[3] = $event => paramsChanged('baseHeight'))
634
634
  }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
635
635
  _: 1 /* STABLE */
636
636
  })]),
@@ -657,7 +657,7 @@ const __default__ = {
657
657
  step: 1,
658
658
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minLimitHeight,
659
659
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLimitHeight,
660
- onInput: _cache[5] || (_cache[5] = $event => paramsChanged('limitHeight'))
660
+ onChange: _cache[5] || (_cache[5] = $event => paramsChanged('limitHeight'))
661
661
  }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
662
662
  _: 1 /* STABLE */
663
663
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -670,7 +670,7 @@ const __default__ = {
670
670
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLimitHeight,
671
671
  step: 1,
672
672
  "controls-position": "right",
673
- onInput: _cache[7] || (_cache[7] = $event => paramsChanged('limitHeight'))
673
+ onChange: _cache[7] || (_cache[7] = $event => paramsChanged('limitHeight'))
674
674
  }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
675
675
  _: 1 /* STABLE */
676
676
  })]),
package/measure/index.js CHANGED
@@ -47,9 +47,9 @@ element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install =
47
47
 
48
48
 
49
49
 
50
- /*
51
- * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
52
- * All rights reserved.
50
+ /*
51
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
52
+ * All rights reserved.
53
53
  */
54
54
  //测量操作类
55
55
  class MeasureViewModel {
@@ -125,6 +125,7 @@ class MeasureViewModel {
125
125
  //结束测量
126
126
  stopMeasure() {
127
127
  this._measureHandler.stopMeasure();
128
+ this._viewer.scene.globe.depthTestAgainstTerrain = false;
128
129
  }
129
130
 
130
131
  //更新距离测量单位
@@ -645,7 +645,7 @@ const __default__ = {
645
645
  step: 0.1,
646
646
  min: 0,
647
647
  max: 5,
648
- onInput: _cache[3] || (_cache[3] = $event => paramsChanged('brightness'))
648
+ onChange: _cache[3] || (_cache[3] = $event => paramsChanged('brightness'))
649
649
  }, null, 8 /* PROPS */, ["modelValue", "step"])]),
650
650
  _: 1 /* STABLE */
651
651
  }, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -661,7 +661,7 @@ const __default__ = {
661
661
  max: 5,
662
662
  step: 0.1,
663
663
  "controls-position": "right",
664
- onInput: _cache[5] || (_cache[5] = $event => paramsChanged('brightness'))
664
+ onChange: _cache[5] || (_cache[5] = $event => paramsChanged('brightness'))
665
665
  }, null, 8 /* PROPS */, ["modelValue", "step"])]),
666
666
  _: 1 /* STABLE */
667
667
  })]),
@@ -683,7 +683,7 @@ const __default__ = {
683
683
  step: 0.1,
684
684
  min: 0,
685
685
  max: 5,
686
- onInput: _cache[7] || (_cache[7] = $event => paramsChanged('contrast'))
686
+ onChange: _cache[7] || (_cache[7] = $event => paramsChanged('contrast'))
687
687
  }, null, 8 /* PROPS */, ["modelValue", "step"])]),
688
688
  _: 1 /* STABLE */
689
689
  }, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -699,7 +699,7 @@ const __default__ = {
699
699
  max: 5,
700
700
  step: 0.1,
701
701
  "controls-position": "right",
702
- onInput: _cache[9] || (_cache[9] = $event => paramsChanged('contrast'))
702
+ onChange: _cache[9] || (_cache[9] = $event => paramsChanged('contrast'))
703
703
  }, null, 8 /* PROPS */, ["modelValue", "step"])]),
704
704
  _: 1 /* STABLE */
705
705
  })]),
@@ -721,7 +721,7 @@ const __default__ = {
721
721
  step: 0.1,
722
722
  min: 0,
723
723
  max: 5,
724
- onInput: _cache[11] || (_cache[11] = $event => paramsChanged('tone'))
724
+ onChange: _cache[11] || (_cache[11] = $event => paramsChanged('tone'))
725
725
  }, null, 8 /* PROPS */, ["modelValue", "step"])]),
726
726
  _: 1 /* STABLE */
727
727
  }, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -737,7 +737,7 @@ const __default__ = {
737
737
  max: 5,
738
738
  step: 0.1,
739
739
  "controls-position": "right",
740
- onInput: _cache[13] || (_cache[13] = $event => paramsChanged('tone'))
740
+ onChange: _cache[13] || (_cache[13] = $event => paramsChanged('tone'))
741
741
  }, null, 8 /* PROPS */, ["modelValue", "step"])]),
742
742
  _: 1 /* STABLE */
743
743
  })]),
@@ -759,7 +759,7 @@ const __default__ = {
759
759
  step: 0.1,
760
760
  min: 0,
761
761
  max: 5,
762
- onInput: _cache[15] || (_cache[15] = $event => paramsChanged('saturation'))
762
+ onChange: _cache[15] || (_cache[15] = $event => paramsChanged('saturation'))
763
763
  }, null, 8 /* PROPS */, ["modelValue", "step"])]),
764
764
  _: 1 /* STABLE */
765
765
  }, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -775,7 +775,7 @@ const __default__ = {
775
775
  max: 5,
776
776
  step: 0.1,
777
777
  "controls-position": "right",
778
- onInput: _cache[17] || (_cache[17] = $event => paramsChanged('saturation'))
778
+ onChange: _cache[17] || (_cache[17] = $event => paramsChanged('saturation'))
779
779
  }, null, 8 /* PROPS */, ["modelValue", "step"])]),
780
780
  _: 1 /* STABLE */
781
781
  })]),
@@ -797,7 +797,7 @@ const __default__ = {
797
797
  step: 0.1,
798
798
  min: 0,
799
799
  max: 5,
800
- onInput: _cache[19] || (_cache[19] = $event => paramsChanged('gamma'))
800
+ onChange: _cache[19] || (_cache[19] = $event => paramsChanged('gamma'))
801
801
  }, null, 8 /* PROPS */, ["modelValue", "step"])]),
802
802
  _: 1 /* STABLE */
803
803
  }, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -813,7 +813,7 @@ const __default__ = {
813
813
  max: 5,
814
814
  step: 0.1,
815
815
  "controls-position": "right",
816
- onInput: _cache[21] || (_cache[21] = $event => paramsChanged('gamma'))
816
+ onChange: _cache[21] || (_cache[21] = $event => paramsChanged('gamma'))
817
817
  }, null, 8 /* PROPS */, ["modelValue", "step"])]),
818
818
  _: 1 /* STABLE */
819
819
  })]),
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.5.22-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"sdkNames":["@kq_npm/client_icons_vue"],"restrictedVersion":true,"validateSDK":true,"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"save":"2.5.0","html2canvas":"1.4.1","papaparse":"5.4.1"}}
1
+ {"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.5.24","homepage":"","keywords":["KQGIS","webGL","Vue"],"sdkNames":["@kq_npm/client_icons_vue"],"restrictedVersion":true,"validateSDK":true,"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","jsdelivr":"index.js","dependencies":{"save":"2.5.0","html2canvas":"1.4.1","papaparse":"5.4.1"}}
@@ -719,7 +719,7 @@ const __default__ = {
719
719
  step: 10,
720
720
  min: 0,
721
721
  max: 1000,
722
- onInput: _cache[3] || (_cache[3] = $event => paramsChanged('particleNum'))
722
+ onChange: _cache[3] || (_cache[3] = $event => paramsChanged('particleNum'))
723
723
  }, null, 8 /* PROPS */, ["modelValue"])]),
724
724
  _: 1 /* STABLE */
725
725
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -731,7 +731,7 @@ const __default__ = {
731
731
  step: 10,
732
732
  min: 0,
733
733
  max: 1000,
734
- onInput: _cache[5] || (_cache[5] = $event => paramsChanged('particleNum')),
734
+ onChange: _cache[5] || (_cache[5] = $event => paramsChanged('particleNum')),
735
735
  "controls-position": "right"
736
736
  }, null, 8 /* PROPS */, ["modelValue"])]),
737
737
  _: 1 /* STABLE */
@@ -759,7 +759,7 @@ const __default__ = {
759
759
  step: 0.1,
760
760
  min: 0.1,
761
761
  max: 5,
762
- onInput: _cache[7] || (_cache[7] = $event => paramsChanged('particleSize'))
762
+ onChange: _cache[7] || (_cache[7] = $event => paramsChanged('particleSize'))
763
763
  }, null, 8 /* PROPS */, ["modelValue", "step", "min"])]),
764
764
  _: 1 /* STABLE */
765
765
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -771,7 +771,7 @@ const __default__ = {
771
771
  step: 0.1,
772
772
  min: 0.1,
773
773
  max: 5,
774
- onInput: _cache[9] || (_cache[9] = $event => paramsChanged('particleSize')),
774
+ onChange: _cache[9] || (_cache[9] = $event => paramsChanged('particleSize')),
775
775
  "controls-position": "right"
776
776
  }, null, 8 /* PROPS */, ["modelValue", "step", "min"])]),
777
777
  _: 1 /* STABLE */
@@ -799,7 +799,7 @@ const __default__ = {
799
799
  step: 0.1,
800
800
  min: 0.1,
801
801
  max: 5,
802
- onInput: _cache[11] || (_cache[11] = $event => paramsChanged('minLifeCycle'))
802
+ onChange: _cache[11] || (_cache[11] = $event => paramsChanged('minLifeCycle'))
803
803
  }, null, 8 /* PROPS */, ["modelValue", "step", "min"])]),
804
804
  _: 1 /* STABLE */
805
805
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -811,7 +811,7 @@ const __default__ = {
811
811
  step: 0.1,
812
812
  min: 0.1,
813
813
  max: 5,
814
- onInput: _cache[13] || (_cache[13] = $event => paramsChanged('minLifeCycle')),
814
+ onChange: _cache[13] || (_cache[13] = $event => paramsChanged('minLifeCycle')),
815
815
  "controls-position": "right"
816
816
  }, null, 8 /* PROPS */, ["modelValue", "step", "min"])]),
817
817
  _: 1 /* STABLE */
@@ -839,7 +839,7 @@ const __default__ = {
839
839
  step: 0.1,
840
840
  min: 0.1,
841
841
  max: 5,
842
- onInput: _cache[15] || (_cache[15] = $event => paramsChanged('maxLifeCycle'))
842
+ onChange: _cache[15] || (_cache[15] = $event => paramsChanged('maxLifeCycle'))
843
843
  }, null, 8 /* PROPS */, ["modelValue", "step", "min"])]),
844
844
  _: 1 /* STABLE */
845
845
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -851,7 +851,7 @@ const __default__ = {
851
851
  step: 0.1,
852
852
  min: 0.1,
853
853
  max: 5,
854
- onInput: _cache[17] || (_cache[17] = $event => paramsChanged('maxLifeCycle')),
854
+ onChange: _cache[17] || (_cache[17] = $event => paramsChanged('maxLifeCycle')),
855
855
  "controls-position": "right"
856
856
  }, null, 8 /* PROPS */, ["modelValue", "step", "min"])]),
857
857
  _: 1 /* STABLE */
@@ -879,7 +879,7 @@ const __default__ = {
879
879
  step: 1,
880
880
  min: 1,
881
881
  max: 50,
882
- onInput: _cache[19] || (_cache[19] = $event => paramsChanged('minSpeed'))
882
+ onChange: _cache[19] || (_cache[19] = $event => paramsChanged('minSpeed'))
883
883
  }, null, 8 /* PROPS */, ["modelValue"])]),
884
884
  _: 1 /* STABLE */
885
885
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -891,7 +891,7 @@ const __default__ = {
891
891
  step: 1,
892
892
  min: 1,
893
893
  max: 50,
894
- onInput: _cache[21] || (_cache[21] = $event => paramsChanged('minSpeed')),
894
+ onChange: _cache[21] || (_cache[21] = $event => paramsChanged('minSpeed')),
895
895
  "controls-position": "right"
896
896
  }, null, 8 /* PROPS */, ["modelValue"])]),
897
897
  _: 1 /* STABLE */
@@ -919,7 +919,7 @@ const __default__ = {
919
919
  step: 1,
920
920
  min: 1,
921
921
  max: 50,
922
- onInput: _cache[23] || (_cache[23] = $event => paramsChanged('maxSpeed'))
922
+ onChange: _cache[23] || (_cache[23] = $event => paramsChanged('maxSpeed'))
923
923
  }, null, 8 /* PROPS */, ["modelValue"])]),
924
924
  _: 1 /* STABLE */
925
925
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -931,7 +931,7 @@ const __default__ = {
931
931
  step: 1,
932
932
  min: 1,
933
933
  max: 50,
934
- onInput: _cache[25] || (_cache[25] = $event => paramsChanged('maxSpeed')),
934
+ onChange: _cache[25] || (_cache[25] = $event => paramsChanged('maxSpeed')),
935
935
  "controls-position": "right"
936
936
  }, null, 8 /* PROPS */, ["modelValue"])]),
937
937
  _: 1 /* STABLE */
@@ -959,7 +959,7 @@ const __default__ = {
959
959
  min: 0.1,
960
960
  max: 10.0,
961
961
  step: 0.1,
962
- onInput: _cache[27] || (_cache[27] = $event => paramsChanged('startScale'))
962
+ onChange: _cache[27] || (_cache[27] = $event => paramsChanged('startScale'))
963
963
  }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
964
964
  _: 1 /* STABLE */
965
965
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -971,7 +971,7 @@ const __default__ = {
971
971
  min: 0.1,
972
972
  max: 10.0,
973
973
  step: 0.1,
974
- onInput: _cache[29] || (_cache[29] = $event => paramsChanged('startScale')),
974
+ onChange: _cache[29] || (_cache[29] = $event => paramsChanged('startScale')),
975
975
  "controls-position": "right"
976
976
  }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
977
977
  _: 1 /* STABLE */
@@ -999,7 +999,7 @@ const __default__ = {
999
999
  min: 0.1,
1000
1000
  max: 10.0,
1001
1001
  step: 0.1,
1002
- onInput: _cache[31] || (_cache[31] = $event => paramsChanged('endScale'))
1002
+ onChange: _cache[31] || (_cache[31] = $event => paramsChanged('endScale'))
1003
1003
  }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
1004
1004
  _: 1 /* STABLE */
1005
1005
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -1011,7 +1011,7 @@ const __default__ = {
1011
1011
  min: 0.1,
1012
1012
  max: 10.0,
1013
1013
  step: 0.1,
1014
- onInput: _cache[33] || (_cache[33] = $event => paramsChanged('endScale')),
1014
+ onChange: _cache[33] || (_cache[33] = $event => paramsChanged('endScale')),
1015
1015
  "controls-position": "right"
1016
1016
  }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
1017
1017
  _: 1 /* STABLE */
@@ -1039,7 +1039,7 @@ const __default__ = {
1039
1039
  step: 0.1,
1040
1040
  min: 0.0,
1041
1041
  max: 10,
1042
- onInput: _cache[35] || (_cache[35] = $event => paramsChanged('gravity'))
1042
+ onChange: _cache[35] || (_cache[35] = $event => paramsChanged('gravity'))
1043
1043
  }, null, 8 /* PROPS */, ["modelValue", "step", "min"])]),
1044
1044
  _: 1 /* STABLE */
1045
1045
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -1051,7 +1051,7 @@ const __default__ = {
1051
1051
  min: 0.0,
1052
1052
  max: 10,
1053
1053
  step: 0.1,
1054
- onInput: _cache[37] || (_cache[37] = $event => paramsChanged('gravity')),
1054
+ onChange: _cache[37] || (_cache[37] = $event => paramsChanged('gravity')),
1055
1055
  "controls-position": "right"
1056
1056
  }, null, 8 /* PROPS */, ["modelValue", "min", "step"])]),
1057
1057
  _: 1 /* STABLE */
@@ -817,7 +817,7 @@ const __default__ = {
817
817
  step: 1,
818
818
  min: -50,
819
819
  max: 50,
820
- onInput: _cache[11] || (_cache[11] = $event => paramsChanged('distance'))
820
+ onChange: _cache[11] || (_cache[11] = $event => paramsChanged('distance'))
821
821
  }, null, 8 /* PROPS */, ["modelValue"])]),
822
822
  _: 1 /* STABLE */
823
823
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
@@ -830,7 +830,7 @@ const __default__ = {
830
830
  min: -50,
831
831
  max: 50,
832
832
  "controls-position": "right",
833
- onInput: _cache[13] || (_cache[13] = $event => paramsChanged('distance'))
833
+ onChange: _cache[13] || (_cache[13] = $event => paramsChanged('distance'))
834
834
  }, null, 8 /* PROPS */, ["modelValue"])]),
835
835
  _: 1 /* STABLE */
836
836
  })]),