@qikdev/vue-ui 0.3.3 → 0.3.4

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
@@ -4,7 +4,7 @@ var Ph = (e, t, n) => t in e ? Lh(e, t, { enumerable: !0, configurable: !0, writ
4
4
  var ie = (e, t, n) => Ph(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  import { reactive as Ht, defineComponent as Fl, ref as vt, toRefs as of, onMounted as Al, onBeforeUnmount as Rh, watch as cr, computed as Fn, createElementBlock as m, openBlock as o, createCommentVNode as v, renderSlot as H, normalizeClass as L, useSlots as Uh, provide as Mr, resolveComponent as y, createVNode as c, Fragment as D, createBlock as k, unref as gt, withCtx as f, renderList as A, toDisplayString as b, createTextVNode as O, withDirectives as X, vShow as ci, withModifiers as B, createElementVNode as x, h as dl, mergeProps as mt, toHandlers as kt, normalizeStyle as Ge, resolveDirective as uf, resolveDynamicComponent as Mt, vModelSelect as Dt, pushScopeId as je, popScopeId as qe, getCurrentScope as jh, onScopeDispose as qh, getCurrentInstance as Bh, Teleport as df, Transition as zh, withKeys as we, vModelText as be, TransitionGroup as Wh, nextTick as cf, vModelDynamic as Sn, normalizeProps as Hh } from "vue";
6
6
  import { EventDispatcher as ff } from "@qikdev/sdk";
7
- const Gh = "0.3.3";
7
+ const Gh = "0.3.4";
8
8
  class yn extends Error {
9
9
  }
10
10
  class Yh extends yn {
@@ -8292,6 +8292,7 @@ const re = {
8292
8292
  title: n.title || n.name || n.label || r,
8293
8293
  value: r,
8294
8294
  none: n.none,
8295
+ group: n.group,
8295
8296
  source: n
8296
8297
  };
8297
8298
  return e.field.type == "reference" && (i._id = r), t.push(i), t;
@@ -21870,7 +21871,7 @@ function kC(e, t) {
21870
21871
  if (!n)
21871
21872
  return;
21872
21873
  const r = {
21873
- title: "Roster - Assignments",
21874
+ title: "Roster Assignments",
21874
21875
  minimum: 1,
21875
21876
  maximum: 1,
21876
21877
  key: "join_assignment",
@@ -21901,7 +21902,7 @@ function kC(e, t) {
21901
21902
  }
21902
21903
  function wC(e, t) {
21903
21904
  const n = {
21904
- title: "Roster - Blockout Periods",
21905
+ title: "Roster Blockout Periods",
21905
21906
  minimum: 1,
21906
21907
  maximum: 1,
21907
21908
  key: "join_blockout",
@@ -22371,25 +22372,33 @@ const TC = {
22371
22372
  case "group":
22372
22373
  break;
22373
22374
  default:
22374
- let s = n.title;
22375
- const i = n.path || n.key;
22376
- switch (i) {
22375
+ let s = n.title, i = n.titles || [n.title];
22376
+ const a = n.path || n.key;
22377
+ switch (a) {
22378
+ case "meta.status":
22379
+ s = "Status", i = [s];
22380
+ break;
22377
22381
  case "meta.scopes":
22378
- s = "Scopes";
22382
+ s = "Scopes", i = [s];
22379
22383
  break;
22380
22384
  case "meta.tags":
22381
- s = "Tags";
22385
+ s = "Tags", i = [s];
22382
22386
  break;
22383
22387
  default:
22384
- n.filterTitle ? s = n.filterTitle : n.titles && n.titles.length && (s = n.titles.filter(Boolean).join(" › "));
22388
+ n.filterTitle ? s = n.filterTitle : i && i.length && (s = i.filter(Boolean).join(" › "));
22385
22389
  break;
22386
22390
  }
22387
22391
  if (!n.filterDisabled) {
22388
- const a = {
22392
+ const l = {
22389
22393
  title: s,
22390
- value: i
22394
+ value: a,
22395
+ group: "All"
22391
22396
  };
22392
- t.push(a);
22397
+ if (i && i.length > 1) {
22398
+ const u = (l.title = i.filter(Boolean).join(" › ")) || "";
22399
+ l.group = u.split(" › ")[0] || "All", l.title = u;
22400
+ }
22401
+ t.push(l);
22393
22402
  }
22394
22403
  break;
22395
22404
  }
@@ -22661,7 +22670,7 @@ const TC = {
22661
22670
  CountrySelect: Ql,
22662
22671
  TimezoneSelect: Wm
22663
22672
  }
22664
- }, SC = (e) => (je("data-v-7fd61343"), e = e(), qe(), e), OC = {
22673
+ }, SC = (e) => (je("data-v-d82ed29d"), e = e(), qe(), e), OC = {
22665
22674
  key: 0,
22666
22675
  class: "filter-condition"
22667
22676
  }, DC = { key: 0 }, CC = { key: 1 }, EC = { key: 2 }, MC = { key: 3 }, VC = { key: 4 }, IC = { key: 5 }, FC = { key: 6 }, AC = { key: 7 }, NC = { key: 8 }, $C = { key: 9 }, LC = { key: 10 }, PC = /* @__PURE__ */ SC(() => /* @__PURE__ */ x("label", null, "Where:", -1));
@@ -22968,7 +22977,7 @@ function RC(e, t, n, r, s, i) {
22968
22977
  ], 64)) : v("", !0)
22969
22978
  ])) : v("", !0);
22970
22979
  }
22971
- const UC = /* @__PURE__ */ M(TC, [["render", RC], ["__scopeId", "data-v-7fd61343"]]);
22980
+ const UC = /* @__PURE__ */ M(TC, [["render", RC], ["__scopeId", "data-v-d82ed29d"]]);
22972
22981
  function jC(e, t) {
22973
22982
  let n = [];
22974
22983
  if (t.length) {