@qikdev/vue-ui 0.3.6 → 0.3.7

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
@@ -22262,16 +22262,17 @@ const SC = {
22262
22262
  },
22263
22263
  checkCriteriaType: {
22264
22264
  immediate: !0,
22265
- handler() {
22265
+ async handler() {
22266
22266
  var r;
22267
22267
  const e = this, t = e.extraCriteria;
22268
22268
  let n = [];
22269
22269
  if (t) {
22270
- const s = e.glossary, i = (r = e.field) == null ? void 0 : r.referenceType;
22271
- let a = s[i];
22270
+ const s = (r = e.field) == null ? void 0 : r.referenceType;
22271
+ s && await e.$glossary.ensure(s);
22272
+ let a = e.glossary[s];
22272
22273
  if (a) {
22273
22274
  let l = a.fields || [], u = [];
22274
- switch (i) {
22275
+ switch (s) {
22275
22276
  case "assignment":
22276
22277
  u = wh(e);
22277
22278
  break;
@@ -22304,7 +22305,7 @@ const SC = {
22304
22305
  }
22305
22306
  switch (n = e.$sdk.utils.mapFields(n, {
22306
22307
  includeArrayDelimeter: !0
22307
- }), i) {
22308
+ }), console.log("RECREATED CRITERIA FIELDS", n), s) {
22308
22309
  case "stat":
22309
22310
  n = [
22310
22311
  {
@@ -22389,7 +22390,9 @@ const SC = {
22389
22390
  return this.$glossary.hash;
22390
22391
  },
22391
22392
  checkCriteriaType() {
22392
- return [this.extraCriteria, this.referenceType];
22393
+ var n;
22394
+ const e = this.referenceType, t = e ? (n = this.glossary[e]) == null ? void 0 : n.definedFields : void 0;
22395
+ return [this.extraCriteria, e, t];
22393
22396
  },
22394
22397
  modelKey() {
22395
22398
  return this.model.key;
@@ -22731,7 +22734,7 @@ const SC = {
22731
22734
  CountrySelect: Ql,
22732
22735
  TimezoneSelect: Wm
22733
22736
  }
22734
- }, OC = (e) => (je("data-v-d82ed29d"), e = e(), qe(), e), DC = {
22737
+ }, OC = (e) => (je("data-v-6625b57f"), e = e(), qe(), e), DC = {
22735
22738
  key: 0,
22736
22739
  class: "filter-condition"
22737
22740
  }, CC = { key: 0 }, EC = { key: 1 }, MC = { key: 2 }, VC = { key: 3 }, IC = { key: 4 }, FC = { key: 5 }, AC = { key: 6 }, NC = { key: 7 }, $C = { key: 8 }, LC = { key: 9 }, PC = { key: 10 }, RC = /* @__PURE__ */ OC(() => /* @__PURE__ */ T("label", null, "Where:", -1));
@@ -23038,7 +23041,7 @@ function UC(e, t, n, r, s, i) {
23038
23041
  ], 64)) : _("", !0)
23039
23042
  ])) : _("", !0);
23040
23043
  }
23041
- const jC = /* @__PURE__ */ M(SC, [["render", UC], ["__scopeId", "data-v-d82ed29d"]]);
23044
+ const jC = /* @__PURE__ */ M(SC, [["render", UC], ["__scopeId", "data-v-6625b57f"]]);
23042
23045
  function qC(e, t) {
23043
23046
  let n = [];
23044
23047
  if (t.length) {