@qikdev/vue-ui 0.4.0 → 0.4.2

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 Oy = (e, t, n) => t in e ? Ey(e, t, { enumerable: !0, configurable: !0, writ
4
4
  var oe = (e, t, n) => Oy(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  import { reactive as Tn, defineComponent as Jo, ref as Bt, toRefs as Bm, onMounted as fs, onBeforeUnmount as Wm, watch as wi, computed as vi, createElementBlock as m, openBlock as o, createCommentVNode as v, renderSlot as Z, normalizeClass as P, useSlots as Dy, provide as Ps, resolveComponent as y, createVNode as c, Fragment as C, createBlock as k, unref as Zt, withCtx as f, renderList as L, toDisplayString as b, createTextVNode as O, nextTick as Ko, withDirectives as se, vShow as or, withModifiers as W, createElementVNode as x, h as To, mergeProps as et, toHandlers as dt, normalizeStyle as tt, resolveDirective as Hm, resolveDynamicComponent as On, vModelSelect as ln, pushScopeId as nt, popScopeId as it, getCurrentScope as Cy, onScopeDispose as My, getCurrentInstance as Iy, Teleport as Gm, Transition as Ay, withKeys as Ie, vModelText as Pe, TransitionGroup as Vy, vModelDynamic as oi, markRaw as Fy, withMemo as Ru, normalizeProps as Ym, guardReactiveProps as Ny } from "vue";
6
6
  import { EventDispatcher as Jm } from "@qikdev/sdk";
7
- const Ry = "0.4.0";
7
+ const Ry = "0.4.2";
8
8
  class Qn extends Error {
9
9
  }
10
10
  class Ly extends Qn {
@@ -5179,7 +5179,7 @@ function Cv(e, t, n, r, s, i) {
5179
5179
  Z(e.$slots, "default", {}, void 0, !0)
5180
5180
  ]);
5181
5181
  }
5182
- const Mv = /* @__PURE__ */ A(Ov, [["render", Cv], ["__scopeId", "data-v-315be8cb"]]), Iv = {}, Av = { class: "panel-footer" };
5182
+ const Mv = /* @__PURE__ */ A(Ov, [["render", Cv], ["__scopeId", "data-v-49143033"]]), Iv = {}, Av = { class: "panel-footer" };
5183
5183
  function Vv(e, t, n, r, s, i) {
5184
5184
  return o(), m("div", Av, [
5185
5185
  Z(e.$slots, "default", {}, void 0, !0)
@@ -9698,8 +9698,12 @@ const nw = /* @__PURE__ */ A(ew, [["render", tw], ["__scopeId", "data-v-d3c61976
9698
9698
  },
9699
9699
  globalClick(e) {
9700
9700
  if (this.triggerEvent !== e) {
9701
- var t = this.$refs.menu, n = e.srcElement;
9702
- t && t.contains(n) ? this.closeOnClick && (this.expanded = !1) : this.expanded = !1;
9701
+ var t = this.$refs.menu, n = e.target || e.srcElement;
9702
+ if (t && t.contains(n)) {
9703
+ this.closeOnClick && (this.expanded = !1);
9704
+ return;
9705
+ }
9706
+ n.closest && n.closest(".ux-menu-outer, .modal-wrapper") || (this.expanded = !1);
9703
9707
  }
9704
9708
  },
9705
9709
  position() {
@@ -9822,7 +9826,7 @@ function rw(e, t, n, r, s, i) {
9822
9826
  ]))
9823
9827
  ], 2);
9824
9828
  }
9825
- const sw = /* @__PURE__ */ A(iw, [["render", rw], ["__scopeId", "data-v-9a06e510"]]), aw = {
9829
+ const sw = /* @__PURE__ */ A(iw, [["render", rw], ["__scopeId", "data-v-9b997fe1"]]), aw = {
9826
9830
  name: "menulist",
9827
9831
  props: {
9828
9832
  items: {
@@ -9866,7 +9870,9 @@ const sw = /* @__PURE__ */ A(iw, [["render", rw], ["__scopeId", "data-v-9a06e510
9866
9870
  filteredItems() {
9867
9871
  const e = this;
9868
9872
  let t = e.tree.filter(function(n) {
9869
- return !(n.advancedOptions && e.$sdk.utils.checkContextVisibility && !e.$sdk.utils.checkContextVisibility(n.contextVisibility) || n.disabled);
9873
+ return !(n.advancedOptions && e.$sdk.utils.checkContextVisibility && !e.$sdk.utils.checkContextVisibility(
9874
+ n.contextVisibility
9875
+ ) || n.disabled);
9870
9876
  });
9871
9877
  return this.actualDepth === 1 && (t = t.map(function(n) {
9872
9878
  return {
@@ -9904,7 +9910,7 @@ const sw = /* @__PURE__ */ A(iw, [["render", rw], ["__scopeId", "data-v-9a06e510
9904
9910
  },
9905
9911
  methods: {
9906
9912
  globalClick(e) {
9907
- this.currentExpandedItems = [];
9913
+ this.collapseAll();
9908
9914
  },
9909
9915
  routeChanged() {
9910
9916
  this.collapseOnRouteChange && this.collapseAll();
@@ -9951,8 +9957,8 @@ const sw = /* @__PURE__ */ A(iw, [["render", rw], ["__scopeId", "data-v-9a06e510
9951
9957
  // }
9952
9958
  // }
9953
9959
  // }
9954
- //
9955
- //
9960
+ //
9961
+ //
9956
9962
  // },
9957
9963
  collapseAll() {
9958
9964
  this.currentExpandedItems.forEach(function(e) {
@@ -10051,7 +10057,7 @@ function lw(e, t, n, r, s, i) {
10051
10057
  }), 128))
10052
10058
  ]);
10053
10059
  }
10054
- const ow = /* @__PURE__ */ A(aw, [["render", lw], ["__scopeId", "data-v-cbfd31c1"]]), uw = {
10060
+ const ow = /* @__PURE__ */ A(aw, [["render", lw], ["__scopeId", "data-v-601e888e"]]), uw = {
10055
10061
  props: {
10056
10062
  item: {
10057
10063
  type: [Object, String]
@@ -35068,7 +35074,7 @@ function JP(e, t, n, r, s, i) {
35068
35074
  Z(e.$slots, "default", {}, void 0, !0)
35069
35075
  ], 2);
35070
35076
  }
35071
- const KP = /* @__PURE__ */ A(HP, [["render", JP], ["__scopeId", "data-v-980de6f6"]]), Dm = /* @__PURE__ */ new Set([
35077
+ const KP = /* @__PURE__ */ A(HP, [["render", JP], ["__scopeId", "data-v-75a000a7"]]), Dm = /* @__PURE__ */ new Set([
35072
35078
  "area",
35073
35079
  "base",
35074
35080
  "br",
@@ -36845,10 +36851,12 @@ const r$ = {
36845
36851
  return `${JSON.stringify([this.page, this.roloSecondary, this.rolodexPrimary, this.dateRangeFilter, this.sort, this.keywords, this.selectFields, this.type, this.filterChangeString])}-${this.cacheKey}-${this.$sdk.global.cacheKeys[this.type]}`;
36846
36852
  },
36847
36853
  items() {
36848
- return this.dataSource.items;
36854
+ var e;
36855
+ return (e = this.dataSource) == null ? void 0 : e.items;
36849
36856
  },
36850
36857
  totalItems() {
36851
- return this.dataSource.total;
36858
+ var e;
36859
+ return (e = this.dataSource) == null ? void 0 : e.total;
36852
36860
  },
36853
36861
  basicType() {
36854
36862
  return this.actualDefinition ? this.actualDefinition.definesType || this.actualDefinition.key : this.type;
@@ -37109,7 +37117,7 @@ const r$ = {
37109
37117
  actualOptions: this.options
37110
37118
  };
37111
37119
  }
37112
- }, xu = (e) => (nt("data-v-1c282871"), e = e(), it(), e), s$ = { class: "column-panel-header" }, a$ = { class: "column-panel-title" }, l$ = /* @__PURE__ */ xu(() => /* @__PURE__ */ x("strong", null, "Select Columns", -1)), o$ = { class: "column-panel-search" }, u$ = { class: "column-panel-chips" }, d$ = ["disabled"], c$ = ["disabled"], f$ = ["disabled"], m$ = {
37120
+ }, xu = (e) => (nt("data-v-87c8aa6e"), e = e(), it(), e), s$ = { class: "column-panel-header" }, a$ = { class: "column-panel-title" }, l$ = /* @__PURE__ */ xu(() => /* @__PURE__ */ x("strong", null, "Select Columns", -1)), o$ = { class: "column-panel-search" }, u$ = { class: "column-panel-chips" }, d$ = ["disabled"], c$ = ["disabled"], f$ = ["disabled"], m$ = {
37113
37121
  key: 0,
37114
37122
  class: "column-panel-empty"
37115
37123
  }, h$ = ["onClick"], p$ = { class: "column-group-title" }, y$ = { class: "column-group-count" }, g$ = {
@@ -37424,7 +37432,7 @@ function w$(e, t, n, r, s, i) {
37424
37432
  _: 3
37425
37433
  })) : v("", !0);
37426
37434
  }
37427
- const x$ = /* @__PURE__ */ A(r$, [["render", w$], ["__scopeId", "data-v-1c282871"]]), T$ = {
37435
+ const x$ = /* @__PURE__ */ A(r$, [["render", w$], ["__scopeId", "data-v-87c8aa6e"]]), T$ = {
37428
37436
  props: {
37429
37437
  modal: {
37430
37438
  type: Object,