@qikdev/vue-ui 0.2.279 → 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.279";
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: {
@@ -31853,6 +31855,8 @@ const TC = /* @__PURE__ */ V(yC, [
31853
31855
  provide() {
31854
31856
  return {
31855
31857
  isInModal: !0,
31858
+ closeParentModal: (e) => this.close(e),
31859
+ dismissParentModal: (e) => this.dismiss(e),
31856
31860
  };
31857
31861
  },
31858
31862
  emits: ["dismiss", "close"],
@@ -32533,7 +32537,7 @@ const UC = {
32533
32537
  };
32534
32538
  },
32535
32539
  created() {
32536
- this.checkDirtyState();
32540
+ this.checkDirtyState(!0);
32537
32541
  },
32538
32542
  mounted() {
32539
32543
  const e = this;
@@ -32591,12 +32595,12 @@ const UC = {
32591
32595
  (!r &&
32592
32596
  this.widget === "timezone" &&
32593
32597
  ((r = this.$sdk.geo.getDefaultTimezone()),
32594
- console.log("Got the default timezone", r)),
32598
+ console.log("Set the default timezone:", r)),
32595
32599
  !r && this.widget === "country")
32596
32600
  ) {
32597
32601
  const l = this.$sdk.geo.getDefaultCountry();
32598
32602
  (r = l == null ? void 0 : l.name),
32599
- console.log("Got the default country", l, r);
32603
+ console.log("Set the default country:", l, r);
32600
32604
  }
32601
32605
  !r &&
32602
32606
  ((i = this.field) == null ? void 0 : i.type) === "date" &&
@@ -32604,19 +32608,25 @@ const UC = {
32604
32608
  }
32605
32609
  return r;
32606
32610
  },
32607
- checkDirtyState() {
32608
- const e = this;
32609
- var t = e.fieldModel,
32610
- n = e.ignoreDefaults || t || t === !1 || t === 0,
32611
- r = e.fieldDefaultValue(),
32612
- s = JSON.stringify(e.cleanOutput(t)),
32613
- i = JSON.stringify(e.cleanOutput(r));
32614
- n && s != i
32615
- ? ((e.isDirty = !0), (e.isDirtyBeforeInput = !0), (e.fieldModel = t))
32616
- : ((e.isDirty = !1), (e.isDirtyBeforeInput = !1), (e.fieldModel = r)),
32617
- (e.validateResults = e.$sdk.content.validateField(
32618
- e.fieldModel,
32619
- 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,
32620
32630
  ));
32621
32631
  },
32622
32632
  groupStateAltered(e) {
@@ -33864,7 +33874,7 @@ function jC(e, t, n, r, s, i) {
33864
33874
  }
33865
33875
  const ss = /* @__PURE__ */ V(UC, [
33866
33876
  ["render", jC],
33867
- ["__scopeId", "data-v-55b28d57"],
33877
+ ["__scopeId", "data-v-5facedd5"],
33868
33878
  ]);
33869
33879
  function RC(e, t, n, r) {
33870
33880
  var s = -1,