@qikdev/vue-ui 0.2.280 → 0.2.282

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/lib.es.js CHANGED
@@ -47,7 +47,7 @@ import {
47
47
  vModelDynamic as Zn,
48
48
  } from "vue";
49
49
  import { EventDispatcher as jl } from "@qikdev/sdk";
50
- const fu = "0.2.280";
50
+ const fu = "0.2.282";
51
51
  class qt extends Error {}
52
52
  class mu extends qt {
53
53
  constructor(t) {
@@ -12104,6 +12104,7 @@ const pv = {
12104
12104
  },
12105
12105
  },
12106
12106
  yv = [
12107
+ "poster",
12107
12108
  "playsinline",
12108
12109
  "muted",
12109
12110
  "loop",
@@ -12136,6 +12137,7 @@ function vv(e, t, n, r, s, i) {
12136
12137
  x(
12137
12138
  "video",
12138
12139
  {
12140
+ poster: i.thumbnailSrc,
12139
12141
  playsinline: s.playsInline,
12140
12142
  muted: s.isMuted,
12141
12143
  loop: n.loop,
@@ -12201,7 +12203,7 @@ function vv(e, t, n, r, s, i) {
12201
12203
  }
12202
12204
  const bv = /* @__PURE__ */ V(pv, [
12203
12205
  ["render", vv],
12204
- ["__scopeId", "data-v-d46f56d4"],
12206
+ ["__scopeId", "data-v-454cf7a1"],
12205
12207
  ]);
12206
12208
  const kv = {
12207
12209
  props: {
@@ -32535,7 +32537,7 @@ const UC = {
32535
32537
  };
32536
32538
  },
32537
32539
  created() {
32538
- this.checkDirtyState();
32540
+ this.checkDirtyState(!0);
32539
32541
  },
32540
32542
  mounted() {
32541
32543
  const e = this;
@@ -32593,12 +32595,12 @@ const UC = {
32593
32595
  (!r &&
32594
32596
  this.widget === "timezone" &&
32595
32597
  ((r = this.$sdk.geo.getDefaultTimezone()),
32596
- console.log("Got the default timezone", r)),
32598
+ console.log("Set the default timezone:", r)),
32597
32599
  !r && this.widget === "country")
32598
32600
  ) {
32599
32601
  const l = this.$sdk.geo.getDefaultCountry();
32600
32602
  (r = l == null ? void 0 : l.name),
32601
- console.log("Got the default country", l, r);
32603
+ console.log("Set the default country:", l, r);
32602
32604
  }
32603
32605
  !r &&
32604
32606
  ((i = this.field) == null ? void 0 : i.type) === "date" &&
@@ -32606,19 +32608,25 @@ const UC = {
32606
32608
  }
32607
32609
  return r;
32608
32610
  },
32609
- checkDirtyState() {
32610
- const e = this;
32611
- var t = e.fieldModel,
32612
- n = e.ignoreDefaults || t || t === !1 || t === 0,
32613
- r = e.fieldDefaultValue(),
32614
- s = JSON.stringify(e.cleanOutput(t)),
32615
- i = JSON.stringify(e.cleanOutput(r));
32616
- n && s != i
32617
- ? ((e.isDirty = !0), (e.isDirtyBeforeInput = !0), (e.fieldModel = t))
32618
- : ((e.isDirty = !1), (e.isDirtyBeforeInput = !1), (e.fieldModel = r)),
32619
- (e.validateResults = e.$sdk.content.validateField(
32620
- e.fieldModel,
32621
- e.actualField,
32611
+ checkDirtyState(e) {
32612
+ const t = this;
32613
+ var n = t.fieldModel,
32614
+ r = t.ignoreDefaults || n || n === !1 || n === 0,
32615
+ s = t.fieldDefaultValue(),
32616
+ i = JSON.stringify(t.cleanOutput(n)),
32617
+ l = JSON.stringify(t.cleanOutput(s));
32618
+ let o;
32619
+ e ? (o = r) : (o = r && i != l),
32620
+ o
32621
+ ? ((t.isDirty = !0),
32622
+ (t.isDirtyBeforeInput = !0),
32623
+ (t.fieldModel = n))
32624
+ : ((t.isDirty = !1),
32625
+ (t.isDirtyBeforeInput = !1),
32626
+ (t.fieldModel = s)),
32627
+ (t.validateResults = t.$sdk.content.validateField(
32628
+ t.fieldModel,
32629
+ t.actualField,
32622
32630
  ));
32623
32631
  },
32624
32632
  groupStateAltered(e) {
@@ -33866,7 +33874,7 @@ function jC(e, t, n, r, s, i) {
33866
33874
  }
33867
33875
  const ss = /* @__PURE__ */ V(UC, [
33868
33876
  ["render", jC],
33869
- ["__scopeId", "data-v-55b28d57"],
33877
+ ["__scopeId", "data-v-5facedd5"],
33870
33878
  ]);
33871
33879
  function RC(e, t, n, r) {
33872
33880
  var s = -1,