@kq_npm/client3d_webgl_vue 2.7.3-beta → 2.7.4-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -267,8 +267,19 @@ const __default__ = {
267
267
 
268
268
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
269
269
  interval: props.settingParams && props.settingParams.interval || 500,
270
+ // 采样间隔
271
+ minInterval: props.settingParams && props.settingParams.minInterval || 100,
272
+ // 采样间隔最小值
273
+ maxInterval: props.settingParams && props.settingParams.maxInterval || 1000,
274
+ // 采样间隔最大值
270
275
  arrowWidth: props.settingParams && props.settingParams.arrowWidth || 20,
271
- arrowColor: props.settingParams && props.settingParams.arrowColor || "#FFFF00"
276
+ // 箭头宽度
277
+ minArrowWidth: props.settingParams && props.settingParams.minArrowWidth || 1,
278
+ // 箭头宽度最小值
279
+ maxArrowWidth: props.settingParams && props.settingParams.maxArrowWidth || 30,
280
+ // 箭头宽度最大值
281
+ arrowColor: props.settingParams && props.settingParams.arrowColor || "#FFFF00" // 箭头颜色
282
+
272
283
  });
273
284
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
274
285
  currentLang.value = proxy.$i18n.locale; // 获取当前语言
@@ -276,7 +287,14 @@ const __default__ = {
276
287
  gis_utils_.utils.getWebMap(null, scenceView => {
277
288
  if (scenceView) {
278
289
  language.value = scenceView._language;
279
- viewModel = new AspectAnalysisViewModel/* default */.Z(scenceView, formItem);
290
+ viewModel = new AspectAnalysisViewModel/* default */.Z(scenceView, {
291
+ interval: formItem.interval,
292
+ // 采样间隔
293
+ arrowWidth: formItem.arrowWidth,
294
+ // 箭头宽度
295
+ arrowColor: formItem.arrowColor // 箭头颜色
296
+
297
+ });
280
298
  }
281
299
  });
282
300
  }); // 参数改变
@@ -379,12 +397,12 @@ const __default__ = {
379
397
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval,
380
398
  "onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval = $event),
381
399
  step: 1,
382
- min: 100,
383
- max: 1000,
400
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minInterval,
401
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxInterval,
384
402
  onInput: _cache[1] || (_cache[1] = $event => paramsChanged('interval'))
385
403
  }, null, 8
386
404
  /* PROPS */
387
- , ["modelValue"])]),
405
+ , ["modelValue", "min", "max"])]),
388
406
  _: 1
389
407
  /* STABLE */
390
408
 
@@ -395,13 +413,13 @@ const __default__ = {
395
413
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval,
396
414
  "onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval = $event),
397
415
  step: 1,
398
- min: 100,
399
- max: 1000,
416
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minInterval,
417
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxInterval,
400
418
  "controls-position": "right",
401
419
  onInput: _cache[3] || (_cache[3] = $event => paramsChanged('interval'))
402
420
  }, null, 8
403
421
  /* PROPS */
404
- , ["modelValue"])]),
422
+ , ["modelValue", "min", "max"])]),
405
423
  _: 1
406
424
  /* STABLE */
407
425
 
@@ -435,12 +453,12 @@ const __default__ = {
435
453
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth,
436
454
  "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth = $event),
437
455
  step: 1,
438
- min: 1,
439
- max: 30,
456
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minArrowWidth,
457
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxArrowWidth,
440
458
  onInput: _cache[5] || (_cache[5] = $event => paramsChanged('arrowWidth'))
441
459
  }, null, 8
442
460
  /* PROPS */
443
- , ["modelValue"])]),
461
+ , ["modelValue", "min", "max"])]),
444
462
  _: 1
445
463
  /* STABLE */
446
464
 
@@ -451,13 +469,13 @@ const __default__ = {
451
469
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth,
452
470
  "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth = $event),
453
471
  step: 1,
454
- min: 1,
455
- max: 30,
472
+ min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minArrowWidth,
473
+ max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxArrowWidth,
456
474
  "controls-position": "right",
457
475
  onInput: _cache[7] || (_cache[7] = $event => paramsChanged('arrowWidth'))
458
476
  }, null, 8
459
477
  /* PROPS */
460
- , ["modelValue"])]),
478
+ , ["modelValue", "min", "max"])]),
461
479
  _: 1
462
480
  /* STABLE */
463
481