@qikdev/vue-ui 0.2.105 → 0.2.108
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 +13 -8
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +1 -1
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './style.css';
|
|
2
2
|
import { defineComponent as Si, ref as Yt, toRefs as ma, onMounted as ha, onBeforeUnmount as Ao, watch as Oi, computed as ui, openBlock as o, createElementBlock as d, renderSlot as G, createCommentVNode as _, useSlots as Mo, reactive as wr, provide as $r, resolveComponent as y, normalizeClass as P, Fragment as S, unref as Rn, createBlock as k, withCtx as m, createVNode as h, renderList as $, toDisplayString as b, createElementVNode as x, withModifiers as q, createTextVNode as O, h as di, resolveDynamicComponent as St, mergeProps as Ti, toHandlers as pa, withDirectives as K, vModelSelect as Ot, pushScopeId as lt, popScopeId as ot, normalizeStyle as ct, Teleport as Io, vModelText as se, withKeys as ge, TransitionGroup as Do, nextTick as ya, vModelDynamic as Bn, vShow as Zi } from "vue";
|
|
3
3
|
import { EventDispatcher as Fo } from "@qikdev/sdk";
|
|
4
|
-
const $o = "0.2.
|
|
4
|
+
const $o = "0.2.108";
|
|
5
5
|
class $t extends Error {
|
|
6
6
|
}
|
|
7
7
|
class No extends $t {
|
|
@@ -8015,9 +8015,12 @@ const K_ = {
|
|
|
8015
8015
|
//
|
|
8016
8016
|
// },
|
|
8017
8017
|
toggle(e) {
|
|
8018
|
-
|
|
8019
|
-
|
|
8020
|
-
|
|
8018
|
+
const t = e.expanded;
|
|
8019
|
+
this.isolate && (this.currentExpandedItems.forEach(function(i) {
|
|
8020
|
+
i.expanded = !1;
|
|
8021
|
+
}), this.currentExpandedItems = []);
|
|
8022
|
+
const n = this.currentExpandedItems.indexOf(e);
|
|
8023
|
+
t || n !== -1 ? this.collapseItem(e) : this.expandItem(e), this.currentExpandedItems.length ? this.addListeners() : this.removeListeners();
|
|
8021
8024
|
}
|
|
8022
8025
|
},
|
|
8023
8026
|
watch: {
|
|
@@ -8035,7 +8038,8 @@ function Y_(e, t, n, i, s, r) {
|
|
|
8035
8038
|
(o(!0), d(S, null, $(r.filteredItems, (p) => {
|
|
8036
8039
|
var g;
|
|
8037
8040
|
return o(), d("li", {
|
|
8038
|
-
class: P({ expanded: p.expanded, collapsed: !p.expanded })
|
|
8041
|
+
class: P({ expanded: p.expanded, collapsed: !p.expanded }),
|
|
8042
|
+
key: p.title
|
|
8039
8043
|
}, [
|
|
8040
8044
|
n.expandOn === "click" && ((g = p.items) != null && g.length) ? (o(), k(f, {
|
|
8041
8045
|
key: 0,
|
|
@@ -8094,14 +8098,15 @@ function Y_(e, t, n, i, s, r) {
|
|
|
8094
8098
|
key: 2,
|
|
8095
8099
|
expandOn: n.expandOn,
|
|
8096
8100
|
items: p.items,
|
|
8101
|
+
displayCaret: n.displayCaret,
|
|
8097
8102
|
isolate: n.isolate,
|
|
8098
8103
|
depth: r.actualDepth - 1
|
|
8099
|
-
}, null, 8, ["expandOn", "items", "isolate", "depth"])) : _("", !0)
|
|
8104
|
+
}, null, 8, ["expandOn", "items", "displayCaret", "isolate", "depth"])) : _("", !0)
|
|
8100
8105
|
], 2);
|
|
8101
|
-
}),
|
|
8106
|
+
}), 128))
|
|
8102
8107
|
]);
|
|
8103
8108
|
}
|
|
8104
|
-
const Z_ = /* @__PURE__ */ V(K_, [["render", Y_], ["__scopeId", "data-v-
|
|
8109
|
+
const Z_ = /* @__PURE__ */ V(K_, [["render", Y_], ["__scopeId", "data-v-5426258b"]]);
|
|
8105
8110
|
const J_ = {
|
|
8106
8111
|
props: {
|
|
8107
8112
|
item: {
|