adverich-kun-ui 0.1.55 → 0.1.57
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/adverich-kun-ui.css +1 -1
- package/dist/components/KunAutocomplete/src/components/KunAutocomplete.vue.js +242 -202
- package/dist/components/KunAutocomplete/src/composables/KunAutocompleteProps.js +4 -1
- package/dist/components/KunAutocomplete/src/composables/useAutocomplete.js +82 -96
- package/dist/components/KunAutocomplete/src/utils/helpers.js +9 -1
- package/dist/components/KunBudge/src/components/KunBudge.vue.js +30 -38
- package/dist/components/KunInfiniteScroll/src/components/KunInfiniteScroll.vue.js +87 -0
- package/dist/components/KunInfiniteScroll/src/composables/useIntersectionObserver.js +51 -0
- package/dist/components/KunInfiniteScroll/src/composables/useKunInfiniteScroll.js +61 -0
- package/dist/components/KunList/src/components/KunList.vue.js +51 -15
- package/dist/components/KunListItem/src/components/KunListItem.vue.js +32 -15
- package/dist/components/KunListItemText/src/components/KunListItemText.vue.js +16 -7
- package/dist/components/KunListItemTitle/src/components/KunListItemTitle.vue.js +40 -0
- package/dist/components/KunTextField/src/components/KunTextField.vue.js +88 -62
- package/dist/components/KunVirtualScroller/src/components/KunVirtualScroller.vue.js +78 -0
- package/dist/components/kunMenu/src/components/kunMenu.vue.js +56 -145
- package/dist/components/kunMenu/src/composables/kunMenuProps.js +42 -23
- package/dist/components/kunMenu/src/composables/useKunMenu.js +42 -153
- package/dist/components/kunMenu/src/composables/useKunMenuStyles.js +29 -0
- package/dist/icons/IconAsterisk.vue.js +20 -0
- package/dist/icons/IconCheck.vue.js +20 -0
- package/dist/icons/IconClose.vue.js +16 -0
- package/dist/icons/IconDelete.vue.js +16 -0
- package/dist/icons/IconEdit.vue.js +16 -0
- package/dist/icons/IconMenuDownOutline.vue.js +20 -0
- package/dist/icons/IconMenuUpOutline.vue.js +20 -0
- package/dist/icons/IconSearch.vue.js +16 -0
- package/dist/icons/IconStar.vue.js +16 -0
- package/dist/icons/index.js +23 -0
- package/dist/index.js +33 -33
- package/package.json +7 -6
- package/dist/components/KunAutocomplete/src/composables/useIntersect.js +0 -23
- package/dist/components/kunMenu/src/composables/useKunMenuComposable.js +0 -25
- package/dist/components/kunMenu/src/composables/useKunScrollStrategy.js +0 -25
|
@@ -9,46 +9,64 @@ const t = {
|
|
|
9
9
|
openOnClick: Boolean,
|
|
10
10
|
openOnHover: Boolean,
|
|
11
11
|
openOnFocus: Boolean,
|
|
12
|
-
closeOnContentClick: {
|
|
13
|
-
|
|
12
|
+
closeOnContentClick: {
|
|
13
|
+
type: Boolean,
|
|
14
|
+
default: !0
|
|
15
|
+
},
|
|
16
|
+
closeOnBack: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !0
|
|
19
|
+
},
|
|
14
20
|
contained: Boolean,
|
|
15
21
|
contentClass: [String, Array, Object],
|
|
16
22
|
contentProps: {
|
|
17
23
|
type: Object,
|
|
18
24
|
default: () => ({})
|
|
19
25
|
},
|
|
26
|
+
menuPositionStyle: {
|
|
27
|
+
type: Object,
|
|
28
|
+
default: () => ({})
|
|
29
|
+
},
|
|
20
30
|
disabled: Boolean,
|
|
21
31
|
eager: Boolean,
|
|
22
32
|
height: [String, Number],
|
|
23
|
-
width: [String, Number],
|
|
24
|
-
matchActivatorWidth: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
default: !1
|
|
27
|
-
},
|
|
28
33
|
minHeight: [String, Number],
|
|
29
|
-
minWidth: [String, Number],
|
|
30
34
|
maxHeight: [String, Number],
|
|
31
|
-
|
|
35
|
+
width: {
|
|
36
|
+
type: [String, Number],
|
|
37
|
+
default: "w-full"
|
|
38
|
+
},
|
|
39
|
+
minWidth: [String, Number],
|
|
40
|
+
maxWidth: {
|
|
41
|
+
type: [String, Number],
|
|
42
|
+
default: "w-full"
|
|
43
|
+
},
|
|
32
44
|
offset: [String, Number, Array],
|
|
33
|
-
openDelay: {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
45
|
+
openDelay: {
|
|
46
|
+
type: [String, Number],
|
|
47
|
+
default: 100
|
|
48
|
+
},
|
|
49
|
+
closeDelay: {
|
|
50
|
+
type: [String, Number],
|
|
51
|
+
default: 100
|
|
52
|
+
},
|
|
53
|
+
location: {
|
|
54
|
+
type: String,
|
|
55
|
+
default: "bottom",
|
|
56
|
+
validator: (e) => ["top", "bottom", "left", "right"].includes(e)
|
|
57
|
+
},
|
|
58
|
+
origin: {
|
|
59
|
+
type: String,
|
|
60
|
+
default: "auto"
|
|
61
|
+
},
|
|
37
62
|
transition: {
|
|
38
|
-
type:
|
|
63
|
+
type: String,
|
|
39
64
|
default: "scale",
|
|
40
|
-
validator: (e) => ["fade", "slide-y", "slide-
|
|
65
|
+
validator: (e) => ["fade", "slide-y", "slide-x", "scale"].includes(e)
|
|
41
66
|
},
|
|
42
67
|
persistent: Boolean,
|
|
43
68
|
zIndex: [String, Number],
|
|
44
69
|
submenu: Boolean,
|
|
45
|
-
scrim: [Boolean, String],
|
|
46
|
-
opacity: { type: [Number, String], default: 1 },
|
|
47
|
-
scrollStrategy: {
|
|
48
|
-
type: [String, Function],
|
|
49
|
-
default: "reposition",
|
|
50
|
-
validator: (e) => ["close", "block", "reposition", "none"].includes(e) || typeof e == "function"
|
|
51
|
-
},
|
|
52
70
|
label: {
|
|
53
71
|
type: String,
|
|
54
72
|
default: "Menú contextual"
|
|
@@ -56,7 +74,8 @@ const t = {
|
|
|
56
74
|
keyboardNavigation: {
|
|
57
75
|
type: Boolean,
|
|
58
76
|
default: !0
|
|
59
|
-
}
|
|
77
|
+
},
|
|
78
|
+
textFieldRef: Object
|
|
60
79
|
};
|
|
61
80
|
export {
|
|
62
81
|
t as kunMenuProps
|
|
@@ -1,169 +1,58 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
() => typeof e.width == "number" ? `${e.width}px` : e.width
|
|
7
|
-
), C = o(
|
|
8
|
-
() => typeof e.height == "number" ? `${e.height}px` : e.height
|
|
9
|
-
), H = o(
|
|
10
|
-
() => typeof e.minWidth == "number" ? `${e.minWidth}px` : e.minWidth
|
|
11
|
-
), I = o(
|
|
12
|
-
() => typeof e.minHeight == "number" ? `${e.minHeight}px` : e.minHeight
|
|
13
|
-
), M = o(
|
|
14
|
-
() => typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth
|
|
15
|
-
), W = o(
|
|
16
|
-
() => typeof e.maxHeight == "number" ? `${e.maxHeight}px` : e.maxHeight
|
|
17
|
-
), T = {
|
|
18
|
-
top: { class: "origin-bottom" },
|
|
19
|
-
bottom: { class: "origin-top" },
|
|
20
|
-
left: { class: "origin-right" },
|
|
21
|
-
right: { class: "origin-left" }
|
|
22
|
-
}, A = o(() => {
|
|
23
|
-
var t;
|
|
24
|
-
return ((t = e.transition) == null ? void 0 : t.component) || null;
|
|
1
|
+
import { ref as o, watch as V } from "vue";
|
|
2
|
+
function b(n, l) {
|
|
3
|
+
const t = o(n.modelValue), r = o(null), c = o(null), i = o(null), d = o(null);
|
|
4
|
+
V(() => n.modelValue, (e) => {
|
|
5
|
+
t.value = e, e ? (l("update:modelValue", !0), document.addEventListener("click", u)) : (l("update:modelValue", !1), document.removeEventListener("click", u));
|
|
25
6
|
});
|
|
26
|
-
function
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}, +
|
|
7
|
+
function f() {
|
|
8
|
+
n.disabled || (clearTimeout(d.value), i.value = setTimeout(() => {
|
|
9
|
+
t.value = !0, l("update:modelValue", !0);
|
|
10
|
+
}, +n.openDelay), console.log(1), document.addEventListener("click", u));
|
|
30
11
|
}
|
|
31
|
-
function
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}, +
|
|
35
|
-
}
|
|
36
|
-
function x() {
|
|
37
|
-
l.value ? m() : g();
|
|
12
|
+
function a() {
|
|
13
|
+
clearTimeout(i.value), d.value = setTimeout(() => {
|
|
14
|
+
t.value = !1, l("update:modelValue", !1);
|
|
15
|
+
}, +n.closeDelay), console.log(2), document.removeEventListener("click", u);
|
|
38
16
|
}
|
|
39
|
-
function
|
|
40
|
-
e.disabled || e.openOnClick && !e.persistent && x();
|
|
17
|
+
function s() {
|
|
41
18
|
}
|
|
42
|
-
function
|
|
43
|
-
|
|
44
|
-
clearTimeout(d.value), clearTimeout(s.value);
|
|
45
|
-
const c = t === "enter" ? e.openDelay : e.closeDelay;
|
|
46
|
-
setTimeout(() => {
|
|
47
|
-
l.value = t === "enter";
|
|
48
|
-
}, +c);
|
|
19
|
+
function m() {
|
|
20
|
+
n.disabled || n.openOnClick;
|
|
49
21
|
}
|
|
50
|
-
function
|
|
51
|
-
e.openOnFocus && (l.value = !0);
|
|
22
|
+
function v(e) {
|
|
52
23
|
}
|
|
53
|
-
function
|
|
54
|
-
|
|
24
|
+
function E() {
|
|
25
|
+
n.openOnFocus && (t.value = !0);
|
|
55
26
|
}
|
|
56
|
-
|
|
57
|
-
()
|
|
58
|
-
(t) => {
|
|
59
|
-
l.value = t;
|
|
60
|
-
}
|
|
61
|
-
), w(
|
|
62
|
-
l,
|
|
63
|
-
async (t) => {
|
|
64
|
-
t && (await L(), h());
|
|
65
|
-
}
|
|
66
|
-
);
|
|
67
|
-
function h() {
|
|
68
|
-
if (!a.value || !i.value) return;
|
|
69
|
-
const t = a.value.getBoundingClientRect(), c = window.scrollX || window.pageXOffset, f = window.scrollY || window.pageYOffset;
|
|
70
|
-
let n = 0, u = 0;
|
|
71
|
-
const b = e.submenu ? "right" : e.location;
|
|
72
|
-
switch (b) {
|
|
73
|
-
case "top":
|
|
74
|
-
n = t.top - i.value.offsetHeight, u = t.left;
|
|
75
|
-
break;
|
|
76
|
-
case "bottom":
|
|
77
|
-
n = t.bottom, u = t.left;
|
|
78
|
-
break;
|
|
79
|
-
case "left":
|
|
80
|
-
n = t.top, u = t.left - i.value.offsetWidth;
|
|
81
|
-
break;
|
|
82
|
-
case "right":
|
|
83
|
-
n = t.top, u = t.right;
|
|
84
|
-
break;
|
|
85
|
-
default:
|
|
86
|
-
n = t.bottom, u = t.left;
|
|
87
|
-
}
|
|
88
|
-
if (e.offset)
|
|
89
|
-
if (Array.isArray(e.offset))
|
|
90
|
-
u += e.offset[0], n += e.offset[1];
|
|
91
|
-
else {
|
|
92
|
-
const y = parseInt(e.offset);
|
|
93
|
-
["top", "bottom"].includes(b) ? u += y : n += y;
|
|
94
|
-
}
|
|
95
|
-
i.value.style.top = `${n + f}px`, i.value.style.left = `${u + c}px`;
|
|
27
|
+
function u(e) {
|
|
28
|
+
t.value && c.value && !c.value.contains(e.target) && !n.textFieldRef.$el.contains(e.target) && a();
|
|
96
29
|
}
|
|
97
|
-
function
|
|
98
|
-
|
|
99
|
-
const t = Array.from(i.value.querySelectorAll('[role="menuitem"]')), f = (t.findIndex((n) => document.activeElement === n) + 1) % t.length;
|
|
100
|
-
t[f].focus();
|
|
30
|
+
function g(e) {
|
|
31
|
+
console.log("Escape pressed"), a(), l("handleEscape");
|
|
101
32
|
}
|
|
102
|
-
function
|
|
103
|
-
if (!
|
|
104
|
-
const
|
|
105
|
-
|
|
33
|
+
function h() {
|
|
34
|
+
if (!n.keyboardNavigation) return;
|
|
35
|
+
const e = document.activeElement;
|
|
36
|
+
(e == null ? void 0 : e.getAttribute("role")) === "menuitem" && e.click();
|
|
106
37
|
}
|
|
107
|
-
function
|
|
108
|
-
if (!e.keyboardNavigation) return;
|
|
109
|
-
const t = document.activeElement;
|
|
110
|
-
t && t.getAttribute("role") === "menuitem" && t.click();
|
|
38
|
+
function k() {
|
|
111
39
|
}
|
|
112
|
-
X(async () => {
|
|
113
|
-
var n;
|
|
114
|
-
e.activator === "parent" && (a.value = (n = i.value) == null ? void 0 : n.parentElement);
|
|
115
|
-
const { onClickOutside: t } = q(), { addEventListeners: c, removeEventListeners: f } = t(
|
|
116
|
-
i,
|
|
117
|
-
() => {
|
|
118
|
-
e.persistent || m();
|
|
119
|
-
},
|
|
120
|
-
[a]
|
|
121
|
-
);
|
|
122
|
-
c(), Y(() => {
|
|
123
|
-
f();
|
|
124
|
-
}), F(e, m, h);
|
|
125
|
-
});
|
|
126
|
-
const B = o(() => {
|
|
127
|
-
if (typeof e.transition == "object")
|
|
128
|
-
return e.transition.component || "transition";
|
|
129
|
-
switch (e.location) {
|
|
130
|
-
case "top":
|
|
131
|
-
return "slide-y";
|
|
132
|
-
case "left":
|
|
133
|
-
return "slide-left";
|
|
134
|
-
case "right":
|
|
135
|
-
return "slide-right";
|
|
136
|
-
default:
|
|
137
|
-
return "scale";
|
|
138
|
-
}
|
|
139
|
-
}), K = o(() => e.width ? e.width : e.matchActivatorWidth && a.value ? `${a.value.getBoundingClientRect().width}px` : "auto");
|
|
140
40
|
return {
|
|
141
|
-
menuVisible:
|
|
142
|
-
activatorEl:
|
|
143
|
-
contentEl:
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
toggleMenu: x,
|
|
155
|
-
handleActivatorClick: $,
|
|
156
|
-
handleHover: E,
|
|
157
|
-
handleFocus: O,
|
|
158
|
-
handleContentClick: V,
|
|
159
|
-
positionMenu: h,
|
|
160
|
-
focusNextItem: D,
|
|
161
|
-
focusPrevItem: N,
|
|
162
|
-
focusCurrentItem: S,
|
|
163
|
-
computedTransition: B,
|
|
164
|
-
menuWidth: K
|
|
41
|
+
menuVisible: t,
|
|
42
|
+
activatorEl: r,
|
|
43
|
+
contentEl: c,
|
|
44
|
+
showMenu: f,
|
|
45
|
+
hideMenu: a,
|
|
46
|
+
toggleMenu: s,
|
|
47
|
+
initMenu: k,
|
|
48
|
+
handleActivatorClick: m,
|
|
49
|
+
handleClickOutside: u,
|
|
50
|
+
handleHover: v,
|
|
51
|
+
handleFocus: E,
|
|
52
|
+
handleEscape: g,
|
|
53
|
+
focusCurrentItem: h
|
|
165
54
|
};
|
|
166
55
|
}
|
|
167
56
|
export {
|
|
168
|
-
|
|
57
|
+
b as useKunMenu
|
|
169
58
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { computed as d } from "vue";
|
|
2
|
+
function E(t, c, l, o, i, s) {
|
|
3
|
+
const u = {
|
|
4
|
+
top: { class: "origin-bottom" },
|
|
5
|
+
bottom: { class: "origin-top" },
|
|
6
|
+
left: { class: "origin-right" },
|
|
7
|
+
right: { class: "origin-left" }
|
|
8
|
+
}, f = d(() => {
|
|
9
|
+
var n;
|
|
10
|
+
return ((n = u[t.location]) == null ? void 0 : n.class) || "origin-top";
|
|
11
|
+
});
|
|
12
|
+
function v() {
|
|
13
|
+
var n, a, r;
|
|
14
|
+
if (t.activator === "parent") {
|
|
15
|
+
const e = (n = c.value) == null ? void 0 : n.parentElement;
|
|
16
|
+
e && (e.addEventListener("click", o), e.addEventListener("mouseenter", () => i("enter")), e.addEventListener("mouseleave", () => i("leave")), e.addEventListener("focus", s));
|
|
17
|
+
} else if (t.activator && typeof t.activator == "object") {
|
|
18
|
+
let e = (a = t.activator) == null ? void 0 : a.value;
|
|
19
|
+
e && e.$el && (e = e.$el), (r = e == null ? void 0 : e.$refs) != null && r.input && (e = e.$refs.input), e instanceof HTMLElement && (l.value = e, e.addEventListener("click", o), e.addEventListener("mouseenter", () => i("enter")), e.addEventListener("mouseleave", () => i("leave")), e.addEventListener("focus", s));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
originClass: f,
|
|
24
|
+
setMenuPosition: v
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
E as useKunMenuStyles
|
|
29
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
import l from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const n = {}, s = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24"
|
|
8
|
+
};
|
|
9
|
+
function c(i, t) {
|
|
10
|
+
return o(), e("svg", s, t[0] || (t[0] = [
|
|
11
|
+
r("path", {
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
d: "M11 21v-6.6l-4.65 4.675l-1.425-1.425L9.6 13H3v-2h6.6L4.925 6.35L6.35 4.925L11 9.6V3h2v6.6l4.65-4.675l1.425 1.425L14.4 11H21v2h-6.6l4.675 4.65l-1.425 1.425L13 14.4V21z"
|
|
14
|
+
}, null, -1)
|
|
15
|
+
]));
|
|
16
|
+
}
|
|
17
|
+
const m = /* @__PURE__ */ l(n, [["render", c]]);
|
|
18
|
+
export {
|
|
19
|
+
m as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
import n from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const c = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24"
|
|
8
|
+
};
|
|
9
|
+
function s(i, e) {
|
|
10
|
+
return o(), t("svg", l, e[0] || (e[0] = [
|
|
11
|
+
r("path", {
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
d: "M5 13l4 4L19 7"
|
|
14
|
+
}, null, -1)
|
|
15
|
+
]));
|
|
16
|
+
}
|
|
17
|
+
const _ = /* @__PURE__ */ n(c, [["render", s]]);
|
|
18
|
+
export {
|
|
19
|
+
_ as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
import n from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const l = {}, c = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
6
|
+
fill: "currentColor"
|
|
7
|
+
};
|
|
8
|
+
function s(f, e) {
|
|
9
|
+
return t(), o("svg", c, e[0] || (e[0] = [
|
|
10
|
+
r("path", { d: "M6 18L18 6M6 6l12 12" }, null, -1)
|
|
11
|
+
]));
|
|
12
|
+
}
|
|
13
|
+
const i = /* @__PURE__ */ n(l, [["render", s]]);
|
|
14
|
+
export {
|
|
15
|
+
i as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
import n from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const l = {}, c = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
6
|
+
fill: "currentColor"
|
|
7
|
+
};
|
|
8
|
+
function s(f, e) {
|
|
9
|
+
return o(), t("svg", c, e[0] || (e[0] = [
|
|
10
|
+
r("path", { d: "M6 18L18 6M6 6l12 12" }, null, -1)
|
|
11
|
+
]));
|
|
12
|
+
}
|
|
13
|
+
const i = /* @__PURE__ */ n(l, [["render", s]]);
|
|
14
|
+
export {
|
|
15
|
+
i as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
import n from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const c = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
6
|
+
fill: "currentColor"
|
|
7
|
+
};
|
|
8
|
+
function s(f, t) {
|
|
9
|
+
return o(), e("svg", l, t[0] || (t[0] = [
|
|
10
|
+
r("path", { d: "M6 18L18 6M6 6l12 12" }, null, -1)
|
|
11
|
+
]));
|
|
12
|
+
}
|
|
13
|
+
const _ = /* @__PURE__ */ n(c, [["render", s]]);
|
|
14
|
+
export {
|
|
15
|
+
_ as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
|
|
2
|
+
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const l = {}, c = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24"
|
|
8
|
+
};
|
|
9
|
+
function s(i, e) {
|
|
10
|
+
return o(), t("svg", c, e[0] || (e[0] = [
|
|
11
|
+
n("path", {
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
d: "M18 9v1.5l-6 6l-6-6V9zm-6 4.67L14.67 11H9.33z"
|
|
14
|
+
}, null, -1)
|
|
15
|
+
]));
|
|
16
|
+
}
|
|
17
|
+
const _ = /* @__PURE__ */ r(l, [["render", s]]);
|
|
18
|
+
export {
|
|
19
|
+
_ as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
|
|
2
|
+
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const l = {}, c = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: "24",
|
|
6
|
+
height: "24",
|
|
7
|
+
viewBox: "0 0 24 24"
|
|
8
|
+
};
|
|
9
|
+
function s(i, e) {
|
|
10
|
+
return o(), t("svg", c, e[0] || (e[0] = [
|
|
11
|
+
n("path", {
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
d: "M18 16v-1.5l-6-6l-6 6V16zm-6-4.67L14.67 14H9.33z"
|
|
14
|
+
}, null, -1)
|
|
15
|
+
]));
|
|
16
|
+
}
|
|
17
|
+
const p = /* @__PURE__ */ r(l, [["render", s]]);
|
|
18
|
+
export {
|
|
19
|
+
p as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, createElementVNode as r } from "vue";
|
|
2
|
+
import n from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const c = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
6
|
+
fill: "currentColor"
|
|
7
|
+
};
|
|
8
|
+
function s(f, e) {
|
|
9
|
+
return t(), o("svg", l, e[0] || (e[0] = [
|
|
10
|
+
r("path", { d: "M6 18L18 6M6 6l12 12" }, null, -1)
|
|
11
|
+
]));
|
|
12
|
+
}
|
|
13
|
+
const i = /* @__PURE__ */ n(c, [["render", s]]);
|
|
14
|
+
export {
|
|
15
|
+
i as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
import n from "../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const c = {}, l = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
viewBox: "0 0 24 24",
|
|
6
|
+
fill: "currentColor"
|
|
7
|
+
};
|
|
8
|
+
function s(f, t) {
|
|
9
|
+
return o(), e("svg", l, t[0] || (t[0] = [
|
|
10
|
+
r("path", { d: "M6 18L18 6M6 6l12 12" }, null, -1)
|
|
11
|
+
]));
|
|
12
|
+
}
|
|
13
|
+
const i = /* @__PURE__ */ n(c, [["render", s]]);
|
|
14
|
+
export {
|
|
15
|
+
i as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import o from "./IconAsterisk.vue.js";
|
|
2
|
+
import r from "./IconCheck.vue.js";
|
|
3
|
+
import e from "./IconClose.vue.js";
|
|
4
|
+
import t from "./IconDelete.vue.js";
|
|
5
|
+
import n from "./IconEdit.vue.js";
|
|
6
|
+
import m from "./IconMenuDownOutline.vue.js";
|
|
7
|
+
import i from "./IconMenuUpOutline.vue.js";
|
|
8
|
+
import c from "./IconSearch.vue.js";
|
|
9
|
+
import p from "./IconStar.vue.js";
|
|
10
|
+
const d = {
|
|
11
|
+
asterisk: o,
|
|
12
|
+
check: r,
|
|
13
|
+
close: e,
|
|
14
|
+
delete: t,
|
|
15
|
+
edit: n,
|
|
16
|
+
menuDownOutline: m,
|
|
17
|
+
menuUpOutline: i,
|
|
18
|
+
search: c,
|
|
19
|
+
star: p
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
d as icons
|
|
23
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -23,19 +23,19 @@ import b from "./components/KunListGroup/src/components/KunListGroup.vue.js";
|
|
|
23
23
|
import S from "./components/KunListImg/src/components/KunListImg.vue.js";
|
|
24
24
|
import x from "./components/KunListItem/src/components/KunListItem.vue.js";
|
|
25
25
|
import h from "./components/KunListItemAction/src/components/KunListItemAction.vue.js";
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
26
|
+
import g from "./components/KunListItemAvatar/src/components/KunListItemAvatar.vue.js";
|
|
27
|
+
import v from "./components/KunListItemSubtitle/src/components/KunListItemSubtitle.vue.js";
|
|
28
|
+
import w from "./components/KunListItemText/src/components/KunListItemText.vue.js";
|
|
29
|
+
import B from "./components/KunListSubheader/src/components/KunListSubheader.vue.js";
|
|
30
|
+
import F from "./components/kunMenu/src/components/kunMenu.vue.js";
|
|
31
|
+
import y from "./components/KunLoaderCircular/src/components/KunLoaderCircular.vue.js";
|
|
32
32
|
import D from "./components/KunRow/src/components/KunRow.vue.js";
|
|
33
33
|
import G from "./components/KunSlider/src/components/KunSlider.vue.js";
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
34
|
+
import R from "./components/KunSpacer/src/components/KunSpacer.vue.js";
|
|
35
|
+
import j from "./components/KunSwitch/src/components/KunSwitch.vue.js";
|
|
36
|
+
import k from "./components/KunTextField/src/components/KunTextField.vue.js";
|
|
37
|
+
import q from "./components/KunToolbar/src/components/KunToolbar.vue.js";
|
|
38
|
+
import M from "./components/KunTooltip/src/components/KunTooltip.vue.js";
|
|
39
39
|
const m = {
|
|
40
40
|
KunAlert: r,
|
|
41
41
|
KunAppbar: o,
|
|
@@ -61,19 +61,19 @@ const m = {
|
|
|
61
61
|
KunListImg: S,
|
|
62
62
|
KunListItem: x,
|
|
63
63
|
KunListItemAction: h,
|
|
64
|
-
KunListItemAvatar:
|
|
65
|
-
KunListItemSubtitle:
|
|
66
|
-
KunListItemText:
|
|
67
|
-
KunListSubheader:
|
|
68
|
-
KunMenu:
|
|
69
|
-
KunLoaderCircular:
|
|
64
|
+
KunListItemAvatar: g,
|
|
65
|
+
KunListItemSubtitle: v,
|
|
66
|
+
KunListItemText: w,
|
|
67
|
+
KunListSubheader: B,
|
|
68
|
+
KunMenu: F,
|
|
69
|
+
KunLoaderCircular: y,
|
|
70
70
|
KunRow: D,
|
|
71
71
|
KunSlider: G,
|
|
72
|
-
KunSpacer:
|
|
73
|
-
KunSwitch:
|
|
74
|
-
KunTextField:
|
|
75
|
-
KunToolbar:
|
|
76
|
-
KunTooltip:
|
|
72
|
+
KunSpacer: R,
|
|
73
|
+
KunSwitch: j,
|
|
74
|
+
KunTextField: k,
|
|
75
|
+
KunToolbar: q,
|
|
76
|
+
KunTooltip: M
|
|
77
77
|
};
|
|
78
78
|
function xn(i) {
|
|
79
79
|
for (const n in m)
|
|
@@ -104,18 +104,18 @@ export {
|
|
|
104
104
|
S as KunListImg,
|
|
105
105
|
x as KunListItem,
|
|
106
106
|
h as KunListItemAction,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
107
|
+
g as KunListItemAvatar,
|
|
108
|
+
v as KunListItemSubtitle,
|
|
109
|
+
w as KunListItemText,
|
|
110
|
+
B as KunListSubheader,
|
|
111
|
+
y as KunLoaderCircular,
|
|
112
|
+
F as KunMenu,
|
|
113
113
|
D as KunRow,
|
|
114
114
|
G as KunSlider,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
115
|
+
R as KunSpacer,
|
|
116
|
+
j as KunSwitch,
|
|
117
|
+
k as KunTextField,
|
|
118
|
+
q as KunToolbar,
|
|
119
|
+
M as KunTooltip,
|
|
120
120
|
xn as install
|
|
121
121
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adverich-kun-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.57",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Una librería de componentes Vue.js con Tailwind CSS",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -14,15 +14,16 @@
|
|
|
14
14
|
"preview": "vite preview"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@tailwindcss/vite": "^4.1.
|
|
18
|
-
"@vitejs/plugin-vue": "^5.2.
|
|
19
|
-
"autoprefixer": "^10.4.
|
|
17
|
+
"@tailwindcss/vite": "^4.1.7",
|
|
18
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
19
|
+
"autoprefixer": "^10.4.21",
|
|
20
20
|
"prettier": "^3.5.3",
|
|
21
21
|
"prettier-plugin-tailwindcss": "^0.6.11",
|
|
22
|
-
"vite": "^6.
|
|
22
|
+
"vite": "^6.3.5",
|
|
23
|
+
"vite-plugin-vue-devtools": "^7.7.6"
|
|
23
24
|
},
|
|
24
25
|
"peerDependencies": {
|
|
25
|
-
"tailwindcss": "^4.1.
|
|
26
|
+
"tailwindcss": "^4.1.7",
|
|
26
27
|
"vue": "^3.5.13",
|
|
27
28
|
"vue-router": "^4.0.0"
|
|
28
29
|
},
|