@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.umd.js CHANGED
@@ -7,7 +7,7 @@
7
7
  t((V["@qikdev/vue-ui"] = {}), V.Vue, V.sdk));
8
8
  })(this, function (V, t, $r) {
9
9
  "use strict";
10
- const sc = "0.2.290";
10
+ const sc = "0.2.292";
11
11
  class ct extends Error {}
12
12
  class cc extends ct {
13
13
  constructor(n) {
@@ -10166,7 +10166,7 @@
10166
10166
  cM = "";
10167
10167
  function cn(e) {
10168
10168
  var n = new Date(e);
10169
- if (n instanceof Date && !isNaN(n)) return n;
10169
+ if (n instanceof Date && !isNaN(n.getTime())) return n;
10170
10170
  }
10171
10171
  const vk = {
10172
10172
  props: { modelValue: { type: Object } },
@@ -10209,7 +10209,7 @@
10209
10209
  },
10210
10210
  },
10211
10211
  da = (e) => (
10212
- t.pushScopeId("data-v-dc53841d"), (e = e()), t.popScopeId(), e
10212
+ t.pushScopeId("data-v-8e1886fb"), (e = e()), t.popScopeId(), e
10213
10213
  ),
10214
10214
  e_ = da(() => t.createElementVNode("label", null, "From Date", -1)),
10215
10215
  t_ = da(() => t.createElementVNode("label", null, "To Date", -1));
@@ -10287,7 +10287,7 @@
10287
10287
  }
10288
10288
  const ua = g(vk, [
10289
10289
  ["render", n_],
10290
- ["__scopeId", "data-v-dc53841d"],
10290
+ ["__scopeId", "data-v-8e1886fb"],
10291
10291
  ]),
10292
10292
  dM = "",
10293
10293
  o_ = {
@@ -18910,16 +18910,13 @@
18910
18910
  var l;
18911
18911
  const e = this,
18912
18912
  n = e.extraCriteria;
18913
- console.log("GOT THE EXTRA", n);
18914
18913
  let o = [];
18915
18914
  if (n) {
18916
18915
  e.glossary = await e.$sdk.content.glossary({ hash: !0 });
18917
18916
  const i = e.glossary,
18918
- r = (l = e.field) == null ? void 0 : l.referenceType;
18919
- console.log("REFERENCE TYPE", r);
18920
- const a = i[r];
18917
+ r = (l = e.field) == null ? void 0 : l.referenceType,
18918
+ a = i[r];
18921
18919
  if (a) {
18922
- console.log("MATCHED REFERENCE", a);
18923
18920
  let s = a.fields || [],
18924
18921
  c = [];
18925
18922
  switch (r) {
@@ -19267,7 +19264,7 @@
19267
19264
  },
19268
19265
  },
19269
19266
  qw = (e) => (
19270
- t.pushScopeId("data-v-9d835b9a"), (e = e()), t.popScopeId(), e
19267
+ t.pushScopeId("data-v-8b387cdb"), (e = e()), t.popScopeId(), e
19271
19268
  ),
19272
19269
  Hw = { key: 0, class: "filter-condition" },
19273
19270
  Ww = { key: 0 },
@@ -19979,7 +19976,7 @@
19979
19976
  }
19980
19977
  const rC = g(zw, [
19981
19978
  ["render", oC],
19982
- ["__scopeId", "data-v-9d835b9a"],
19979
+ ["__scopeId", "data-v-8b387cdb"],
19983
19980
  ]),
19984
19981
  DM = "",
19985
19982
  lC = {
@@ -20749,6 +20746,7 @@
20749
20746
  n = e.definition,
20750
20747
  o = (u = e.field) == null ? void 0 : u.contextDefinition;
20751
20748
  if (!n) return [];
20749
+ if (e.$sdk.utils.getAllFields) return e.$sdk.utils.getAllFields(n);
20752
20750
  const l = n.definesType === "submission";
20753
20751
  var i = [...n.fields],
20754
20752
  r = o ? o.fields : n.definedFields || [];
@@ -20968,7 +20966,7 @@
20968
20966
  }
20969
20967
  const ds = g(EC, [
20970
20968
  ["render", IC],
20971
- ["__scopeId", "data-v-e4654800"],
20969
+ ["__scopeId", "data-v-2ba39d6e"],
20972
20970
  ]),
20973
20971
  IM = "";
20974
20972
  function $C(e, n, o) {
@@ -34746,15 +34744,17 @@
34746
34744
  null
34747
34745
  ? void 0
34748
34746
  : d.endDate;
34749
- if (m || f) {
34750
- let p = Intl.DateTimeFormat().resolvedOptions().timeZone;
34747
+ const p = m && !isNaN(new Date(m).getTime()),
34748
+ h = f && !isNaN(new Date(f).getTime());
34749
+ if ((p || (m = new Date()), h || (f = new Date()), m || f)) {
34750
+ let y = Intl.DateTimeFormat().resolvedOptions().timeZone;
34751
34751
  m.toISOString() == f.toISOString()
34752
34752
  ? ((m = new Date(m)),
34753
34753
  m.setHours(0, 0, 0, 0),
34754
34754
  (f = new Date(m)),
34755
34755
  f.setHours(23, 59, 59, 999))
34756
34756
  : ((f = new Date(f)), f.setHours(23, 59, 59, 999)),
34757
- (o.date = { startDate: m, endDate: f, timezone: p });
34757
+ (o.date = { startDate: m, endDate: f, timezone: y });
34758
34758
  }
34759
34759
  }
34760
34760
  const l = Math.random(),
@@ -34801,7 +34801,7 @@
34801
34801
  },
34802
34802
  },
34803
34803
  Mr = (e) => (
34804
- t.pushScopeId("data-v-918225cf"), (e = e()), t.popScopeId(), e
34804
+ t.pushScopeId("data-v-0054fc08"), (e = e()), t.popScopeId(), e
34805
34805
  ),
34806
34806
  Q2 = Mr(() => t.createElementVNode("strong", null, "Select Columns", -1)),
34807
34807
  v2 = { key: 0, class: "font-sm" },
@@ -35470,7 +35470,7 @@
35470
35470
  }
35471
35471
  const Ys = g(X2, [
35472
35472
  ["render", rO],
35473
- ["__scopeId", "data-v-918225cf"],
35473
+ ["__scopeId", "data-v-0054fc08"],
35474
35474
  ]),
35475
35475
  pI = "",
35476
35476
  lO = {