@idmwx/idmui-gl4 2.1.9 → 2.2.1

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/dist/index.js CHANGED
@@ -9307,7 +9307,9 @@ function ic(t, e, o, i, a, r) {
9307
9307
  }, [
9308
9308
  p(c, {
9309
9309
  text: t.$t("weather.weatherLayers"),
9310
- location: "left"
9310
+ location: "left",
9311
+ touch: "hover",
9312
+ "auto-hide": 2e3
9311
9313
  }, {
9312
9314
  activator: u(({ props: H }) => [
9313
9315
  p(l, j(H, {
@@ -15070,7 +15072,7 @@ function Oh(t, e, o, i, a, r) {
15070
15072
  }
15071
15073
  const Bh = /* @__PURE__ */ X(Lh, [["render", Oh]]);
15072
15074
  const jh = {
15073
- name: "IdmBottomBar",
15075
+ name: "IdmTimePlayer",
15074
15076
  components: { DateTimePicker: Mo },
15075
15077
  props: {
15076
15078
  menuToggle: {
@@ -15079,6 +15081,10 @@ const jh = {
15079
15081
  },
15080
15082
  weatherCheckList: {
15081
15083
  type: Array
15084
+ },
15085
+ playerBottom: {
15086
+ type: Number,
15087
+ default: 10
15082
15088
  }
15083
15089
  },
15084
15090
  emits: ["realTime", "timeZone"],
@@ -15177,7 +15183,7 @@ function Nh(t, e, o, i, a, r) {
15177
15183
  const l = w("VBtn"), c = w("DateTimePicker");
15178
15184
  return g(), S("div", {
15179
15185
  class: "idm-time-player-gl4 d-flex justify-center align-center",
15180
- style: ee({ bottom: Object.values(a.show).includes(!0) ? "10px" : "-100px" })
15186
+ style: ee({ bottom: Object.values(a.show).includes(!0) ? o.playerBottom + "px" : "-100px" })
15181
15187
  }, [
15182
15188
  s("div", Eh, [
15183
15189
  p(l, {
@@ -15416,7 +15422,8 @@ function Gh(t, e, o, i, a, r) {
15416
15422
  key: 1,
15417
15423
  ref: "idmBottomBar",
15418
15424
  "weather-check-list": a.weatherCheckList,
15419
- "map-feather": o.mapFeather
15425
+ "map-feather": o.mapFeather,
15426
+ playerBottom: 30
15420
15427
  }, t.$attrs), null, 16, ["weather-check-list", "map-feather"])) : R("", !0)
15421
15428
  ], 512);
15422
15429
  }
@@ -34374,6 +34381,8 @@ const Vh = {
34374
34381
  center: [120, 30],
34375
34382
  dragRotate: !1,
34376
34383
  pitchWithRotate: !1,
34384
+ touchZoomRotate: !1,
34385
+ // 禁用触摸设备上的双指缩放和旋转
34377
34386
  projection: "mercator",
34378
34387
  preserveDrawingBuffer: !0,
34379
34388
  fadeDuration: 300