@idmwx/idmui-gl4 0.3.4 → 0.3.6

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
@@ -4797,6 +4797,10 @@ const vt = {
4797
4797
  IdmTemp: xt
4798
4798
  },
4799
4799
  props: {
4800
+ isLogin: {
4801
+ type: Boolean,
4802
+ default: !1
4803
+ },
4800
4804
  map: {
4801
4805
  type: Object
4802
4806
  },
@@ -4930,14 +4934,19 @@ const vt = {
4930
4934
  }
4931
4935
  },
4932
4936
  showCurrentParticle: {
4933
- handler(t, e) {
4934
- let o = "current-particle";
4935
- this.weatherLayers[o].particle = t, this.weatherLayers[o].version = Math.random() + 1;
4937
+ handler(t) {
4938
+ let e = "current-particle";
4939
+ this.weatherLayers[e].particle = t, this.weatherLayers[e].version = Math.random() + 1;
4940
+ }
4941
+ },
4942
+ isLogin: {
4943
+ handler(t) {
4944
+ t ? this.fetchMeteoSource() : this.sourceList = {};
4936
4945
  }
4937
4946
  }
4938
4947
  },
4939
- async mounted() {
4940
- await this.fetchMeteoSource(), this.fetchCache();
4948
+ mounted() {
4949
+ this.fetchCache();
4941
4950
  },
4942
4951
  methods: {
4943
4952
  arraysEqual(t, e) {
@@ -5368,10 +5377,10 @@ const vt = {
5368
5377
  }, Et = {
5369
5378
  key: 1,
5370
5379
  class: "d-flex justify-start align-center ga-4 pl-6"
5371
- }, It = { class: "text-body-1 py-2" }, St = { class: "text-body-1 font-weight-medium" }, Dt = { class: "text-caption opacity-50" }, jt = {
5380
+ }, It = { class: "text-body-1 py-2" }, St = { class: "text-body-1 font-weight-medium" }, Dt = { class: "text-body-2 opacity-70" }, jt = {
5372
5381
  key: 0,
5373
- class: "text-caption opacity-50 mb-3"
5374
- }, Ht = { class: "text-body-1 py-2" }, Qt = { class: "text-body-1 font-weight-medium" }, Gt = { class: "text-caption opacity-50" }, Ft = { class: "text-caption opacity-50 pb-1" };
5382
+ class: "text-body-2 opacity-70 mb-3"
5383
+ }, Ht = { class: "text-body-1 py-2" }, Qt = { class: "text-body-1 font-weight-medium" }, Gt = { class: "text-body-2 opacity-70" }, Ft = { class: "text-body-2 opacity-70 pb-1" };
5375
5384
  function Ut(t, e, o, b, a, c) {
5376
5385
  var b0, i0, u0, f0, q0, p0, D, d0, L0, R0, B0, g0, a0, A0, v0;
5377
5386
  const M = v("VBtn"), z = v("VTooltip"), n = v("VSwitch"), O = v("VCardTitle"), r = v("VCardItem"), A = v("VCheckbox"), u = v("VCardText"), g = v("VCard"), k = v("VBtnToggle"), I = v("VDivider"), X = v("IdmWindBarb"), C = v("IdmSigWaveHeight"), N = v("IdmCurrentDirection"), y = v("IdmPrmsl"), T = v("IdmWindParticle"), L = v("IdmCurrentParticle"), B = v("IdmWave"), h = v("IdmSwell"), S = v("IdmIceEdge"), Y = v("IdmIceCover"), $ = v("IdmIceThickness"), V = v("IdmPrecip3h"), Z = v("IdmVisibility"), s0 = v("IdmWaterTemp"), M0 = v("IdmTemp");
@@ -10448,7 +10457,6 @@ function $b(t, e, o, b, a, c) {
10448
10457
  text: "",
10449
10458
  outline: "",
10450
10459
  height: "24",
10451
- size: "small",
10452
10460
  class: "pa-1",
10453
10461
  color: "primary",
10454
10462
  onClick: e[7] || (e[7] = (C) => a.showTimezone = !a.showTimezone)