@qikdev/vue-ui 0.2.290 → 0.2.292

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.290";
50
+ const fu = "0.2.292";
51
51
  class qt extends Error {}
52
52
  class mu extends qt {
53
53
  constructor(t) {
@@ -12425,7 +12425,7 @@ const $v = /* @__PURE__ */ V(Mv, [
12425
12425
  ]);
12426
12426
  function Tn(e) {
12427
12427
  var t = new Date(e);
12428
- if (t instanceof Date && !isNaN(t)) return t;
12428
+ if (t instanceof Date && !isNaN(t.getTime())) return t;
12429
12429
  }
12430
12430
  const Av = {
12431
12431
  props: {
@@ -12473,7 +12473,7 @@ const Av = {
12473
12473
  },
12474
12474
  },
12475
12475
  },
12476
- ta = (e) => (Ze("data-v-dc53841d"), (e = e()), Je(), e),
12476
+ ta = (e) => (Ze("data-v-8e1886fb"), (e = e()), Je(), e),
12477
12477
  Lv = /* @__PURE__ */ ta(() =>
12478
12478
  /* @__PURE__ */ x("label", null, "From Date", -1),
12479
12479
  ),
@@ -12558,7 +12558,7 @@ function Uv(e, t, n, r, s, i) {
12558
12558
  }
12559
12559
  const Pv = /* @__PURE__ */ V(Av, [
12560
12560
  ["render", Uv],
12561
- ["__scopeId", "data-v-dc53841d"],
12561
+ ["__scopeId", "data-v-8e1886fb"],
12562
12562
  ]);
12563
12563
  const jv = {
12564
12564
  components: {
@@ -21737,16 +21737,13 @@ const Cx = {
21737
21737
  var r;
21738
21738
  const e = this,
21739
21739
  t = e.extraCriteria;
21740
- console.log("GOT THE EXTRA", t);
21741
21740
  let n = [];
21742
21741
  if (t) {
21743
21742
  e.glossary = await e.$sdk.content.glossary({ hash: !0 });
21744
21743
  const s = e.glossary,
21745
- i = (r = e.field) == null ? void 0 : r.referenceType;
21746
- console.log("REFERENCE TYPE", i);
21747
- const l = s[i];
21744
+ i = (r = e.field) == null ? void 0 : r.referenceType,
21745
+ l = s[i];
21748
21746
  if (l) {
21749
- console.log("MATCHED REFERENCE", l);
21750
21747
  let o = l.fields || [],
21751
21748
  u = [];
21752
21749
  switch (i) {
@@ -22131,7 +22128,7 @@ const Cx = {
22131
22128
  TimezoneSelect: na,
22132
22129
  },
22133
22130
  },
22134
- Ex = (e) => (Ze("data-v-9d835b9a"), (e = e()), Je(), e),
22131
+ Ex = (e) => (Ze("data-v-8b387cdb"), (e = e()), Je(), e),
22135
22132
  Dx = {
22136
22133
  key: 0,
22137
22134
  class: "filter-condition",
@@ -22851,7 +22848,7 @@ function zx(e, t, n, r, s, i) {
22851
22848
  }
22852
22849
  const qx = /* @__PURE__ */ V(Cx, [
22853
22850
  ["render", zx],
22854
- ["__scopeId", "data-v-9d835b9a"],
22851
+ ["__scopeId", "data-v-8b387cdb"],
22855
22852
  ]);
22856
22853
  const Hx = {
22857
22854
  emits: ["remove"],
@@ -23682,6 +23679,7 @@ const mw = {
23682
23679
  t = e.definition,
23683
23680
  n = (m = e.field) == null ? void 0 : m.contextDefinition;
23684
23681
  if (!t) return [];
23682
+ if (e.$sdk.utils.getAllFields) return e.$sdk.utils.getAllFields(t);
23685
23683
  const r = t.definesType === "submission";
23686
23684
  var s = [...t.fields],
23687
23685
  i = n ? n.fields : t.definedFields || [];
@@ -23907,7 +23905,7 @@ function bw(e, t, n, r, s, i) {
23907
23905
  }
23908
23906
  const _l = /* @__PURE__ */ V(mw, [
23909
23907
  ["render", bw],
23910
- ["__scopeId", "data-v-e4654800"],
23908
+ ["__scopeId", "data-v-2ba39d6e"],
23911
23909
  ]);
23912
23910
  function kw(e, t, n) {
23913
23911
  return e + (t - e) * (n / 100);
@@ -38330,8 +38328,10 @@ const zF = {
38330
38328
  null
38331
38329
  ? void 0
38332
38330
  : f.endDate;
38333
- if (p || _) {
38334
- let v = Intl.DateTimeFormat().resolvedOptions().timeZone;
38331
+ const v = p && !isNaN(new Date(p).getTime()),
38332
+ w = _ && !isNaN(new Date(_).getTime());
38333
+ if ((v || (p = new Date()), w || (_ = new Date()), p || _)) {
38334
+ let O = Intl.DateTimeFormat().resolvedOptions().timeZone;
38335
38335
  p.toISOString() == _.toISOString()
38336
38336
  ? ((p = new Date(p)),
38337
38337
  p.setHours(0, 0, 0, 0),
@@ -38341,7 +38341,7 @@ const zF = {
38341
38341
  (n.date = {
38342
38342
  startDate: p,
38343
38343
  endDate: _,
38344
- timezone: v,
38344
+ timezone: O,
38345
38345
  });
38346
38346
  }
38347
38347
  }
@@ -38393,7 +38393,7 @@ const zF = {
38393
38393
  };
38394
38394
  },
38395
38395
  },
38396
- ls = (e) => (Ze("data-v-918225cf"), (e = e()), Je(), e),
38396
+ ls = (e) => (Ze("data-v-0054fc08"), (e = e()), Je(), e),
38397
38397
  qF = /* @__PURE__ */ ls(() =>
38398
38398
  /* @__PURE__ */ x("strong", null, "Select Columns", -1),
38399
38399
  ),
@@ -39025,7 +39025,7 @@ function ZF(e, t, n, r, s, i) {
39025
39025
  }
39026
39026
  const JF = /* @__PURE__ */ V(zF, [
39027
39027
  ["render", ZF],
39028
- ["__scopeId", "data-v-918225cf"],
39028
+ ["__scopeId", "data-v-0054fc08"],
39029
39029
  ]);
39030
39030
  const XF = {
39031
39031
  props: {