@qikdev/vue-ui 0.4.0 → 0.4.1

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.1";
8
8
  class Qn extends Error {
9
9
  }
10
10
  class Ly extends Qn {
@@ -9866,7 +9866,9 @@ const sw = /* @__PURE__ */ A(iw, [["render", rw], ["__scopeId", "data-v-9a06e510
9866
9866
  filteredItems() {
9867
9867
  const e = this;
9868
9868
  let t = e.tree.filter(function(n) {
9869
- return !(n.advancedOptions && e.$sdk.utils.checkContextVisibility && !e.$sdk.utils.checkContextVisibility(n.contextVisibility) || n.disabled);
9869
+ return !(n.advancedOptions && e.$sdk.utils.checkContextVisibility && !e.$sdk.utils.checkContextVisibility(
9870
+ n.contextVisibility
9871
+ ) || n.disabled);
9870
9872
  });
9871
9873
  return this.actualDepth === 1 && (t = t.map(function(n) {
9872
9874
  return {
@@ -9904,7 +9906,7 @@ const sw = /* @__PURE__ */ A(iw, [["render", rw], ["__scopeId", "data-v-9a06e510
9904
9906
  },
9905
9907
  methods: {
9906
9908
  globalClick(e) {
9907
- this.currentExpandedItems = [];
9909
+ this.collapseAll();
9908
9910
  },
9909
9911
  routeChanged() {
9910
9912
  this.collapseOnRouteChange && this.collapseAll();
@@ -9951,8 +9953,8 @@ const sw = /* @__PURE__ */ A(iw, [["render", rw], ["__scopeId", "data-v-9a06e510
9951
9953
  // }
9952
9954
  // }
9953
9955
  // }
9954
- //
9955
- //
9956
+ //
9957
+ //
9956
9958
  // },
9957
9959
  collapseAll() {
9958
9960
  this.currentExpandedItems.forEach(function(e) {
@@ -10051,7 +10053,7 @@ function lw(e, t, n, r, s, i) {
10051
10053
  }), 128))
10052
10054
  ]);
10053
10055
  }
10054
- const ow = /* @__PURE__ */ A(aw, [["render", lw], ["__scopeId", "data-v-cbfd31c1"]]), uw = {
10056
+ const ow = /* @__PURE__ */ A(aw, [["render", lw], ["__scopeId", "data-v-601e888e"]]), uw = {
10055
10057
  props: {
10056
10058
  item: {
10057
10059
  type: [Object, String]