adverich-kun-ui 0.1.323 → 0.1.324

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.
Files changed (23) hide show
  1. package/dist/index.js +185 -256
  2. package/package.json +1 -1
  3. package/dist/components/KunBadge/examples/Default.vue.js +0 -23
  4. package/dist/components/KunCardActions/exaples/Default.vue.js +0 -58
  5. package/dist/components/KunCardItem/exaples/Default.vue.js +0 -37
  6. package/dist/components/KunCardSubtitle/exaples/Default.vue.js +0 -26
  7. package/dist/components/KunCardText/exaples/Default.vue.js +0 -26
  8. package/dist/components/KunCardTitle/exaples/Default.vue.js +0 -41
  9. package/dist/components/KunInfiniteScroll/examples/Default.vue.js +0 -52
  10. package/dist/components/KunList/examples/Default.vue.js +0 -46
  11. package/dist/components/KunList/examples/WhiteGroups.vue.js +0 -72
  12. package/dist/components/KunListGroup/examples/Default.vue.js +0 -67
  13. package/dist/components/KunListImg/examples/Default.vue.js +0 -31
  14. package/dist/components/KunListItem/examples/Default.vue.js +0 -39
  15. package/dist/components/KunListItem/examples/WithAction.vue.js +0 -104
  16. package/dist/components/KunListItem/examples/WithAvatar.vue.js +0 -71
  17. package/dist/components/KunListSubheader/examples/Default.vue.js +0 -49
  18. package/dist/components/KunSlider/examples/ExampleBasic.vue.js +0 -18
  19. package/dist/components/KunSlider/examples/ExampleCustomThumb.vue.js +0 -24
  20. package/dist/components/KunSlider/examples/ExampleRange.vue.js +0 -20
  21. package/dist/components/KunSlider/examples/ExampleVertical.vue.js +0 -23
  22. package/dist/components/KunTooltip/examples/Default.vue.js +0 -59
  23. package/dist/components/KunVirtualScroller/examples/Default.vue.js +0 -29
@@ -1,49 +0,0 @@
1
- import { createElementBlock as a, openBlock as u, createElementVNode as r, createVNode as e, withCtx as o, createTextVNode as s } from "vue";
2
- import n from "../src/components/KunListSubheader.vue.js";
3
- import l from "../../KunListItem/src/components/KunListItem.vue.js";
4
- const d = { class: "p-4 max-w-md" }, i = { class: "space-y-2 bg-white dark:bg-gray-800 rounded-md shadow-sm p-2" }, b = {
5
- __name: "Default",
6
- setup(m) {
7
- return (_, t) => (u(), a("div", d, [
8
- t[4] || (t[4] = r("h2", { class: "text-lg font-semibold mb-2" }, "Lista con Subheaders:", -1)),
9
- r("ul", i, [
10
- e(n, { text: "Usuarios" }),
11
- e(l, null, {
12
- default: o(() => t[0] || (t[0] = [
13
- s("Juan Pérez")
14
- ])),
15
- _: 1,
16
- __: [0]
17
- }),
18
- e(l, null, {
19
- default: o(() => t[1] || (t[1] = [
20
- s("Ana Gómez")
21
- ])),
22
- _: 1,
23
- __: [1]
24
- }),
25
- e(n, {
26
- text: "Configuraciones",
27
- class: "text-blue-600 dark:text-blue-400"
28
- }),
29
- e(l, null, {
30
- default: o(() => t[2] || (t[2] = [
31
- s("Perfil")
32
- ])),
33
- _: 1,
34
- __: [2]
35
- }),
36
- e(l, null, {
37
- default: o(() => t[3] || (t[3] = [
38
- s("Notificaciones")
39
- ])),
40
- _: 1,
41
- __: [3]
42
- })
43
- ])
44
- ]));
45
- }
46
- };
47
- export {
48
- b as default
49
- };
@@ -1,18 +0,0 @@
1
- import { ref as a, createBlock as r, openBlock as m } from "vue";
2
- import t from "../src/components/KunSlider.vue.js";
3
- const c = {
4
- __name: "ExampleBasic",
5
- setup(u) {
6
- const e = a(50);
7
- return (n, l) => (m(), r(t, {
8
- modelValue: e.value,
9
- "onUpdate:modelValue": l[0] || (l[0] = (o) => e.value = o),
10
- min: 0,
11
- max: 100,
12
- label: "Básico"
13
- }, null, 8, ["modelValue"]));
14
- }
15
- };
16
- export {
17
- c as default
18
- };
@@ -1,24 +0,0 @@
1
- import { ref as r, createBlock as a, openBlock as u, withCtx as n, createElementVNode as m, normalizeStyle as s, toDisplayString as i } from "vue";
2
- import p from "../src/components/KunSlider.vue.js";
3
- const b = {
4
- __name: "ExampleCustomThumb",
5
- setup(d) {
6
- const t = r(42);
7
- return (c, l) => (u(), a(p, {
8
- modelValue: t.value,
9
- "onUpdate:modelValue": l[0] || (l[0] = (e) => t.value = e),
10
- label: "Con Thumb personalizado"
11
- }, {
12
- thumb: n(({ value: e, style: o }) => [
13
- m("div", {
14
- class: "absolute z-40 w-6 h-6 flex items-center justify-center rounded-full bg-purple-600 text-white text-xs font-bold",
15
- style: s(o)
16
- }, " 🔥" + i(e), 5)
17
- ]),
18
- _: 1
19
- }, 8, ["modelValue"]));
20
- }
21
- };
22
- export {
23
- b as default
24
- };
@@ -1,20 +0,0 @@
1
- import { ref as o, createBlock as r, openBlock as n } from "vue";
2
- import t from "../src/components/KunSlider.vue.js";
3
- const d = {
4
- __name: "ExampleRange",
5
- setup(u) {
6
- const e = o([20, 80]);
7
- return (m, a) => (n(), r(t, {
8
- modelValue: e.value,
9
- "onUpdate:modelValue": a[0] || (a[0] = (l) => e.value = l),
10
- min: 0,
11
- max: 100,
12
- step: 5,
13
- range: !0,
14
- label: "Rango de valores"
15
- }, null, 8, ["modelValue"]));
16
- }
17
- };
18
- export {
19
- d as default
20
- };
@@ -1,23 +0,0 @@
1
- import { ref as a, createElementBlock as o, openBlock as r, createVNode as s, createElementVNode as n, toDisplayString as c } from "vue";
2
- import m from "../src/components/KunSlider.vue.js";
3
- const u = { class: "flex gap-4" }, i = { class: "self-end text-sm" }, V = {
4
- __name: "ExampleVertical",
5
- setup(d) {
6
- const e = a(70);
7
- return (p, l) => (r(), o("div", u, [
8
- s(m, {
9
- modelValue: e.value,
10
- "onUpdate:modelValue": l[0] || (l[0] = (t) => e.value = t),
11
- min: 0,
12
- max: 100,
13
- vertical: !0,
14
- label: "Vertical",
15
- class: "h-64"
16
- }, null, 8, ["modelValue"]),
17
- n("span", i, c(e.value), 1)
18
- ]));
19
- }
20
- };
21
- export {
22
- V as default
23
- };
@@ -1,59 +0,0 @@
1
- import { createElementBlock as n, openBlock as p, createElementVNode as o, createVNode as e, withCtx as a, mergeProps as l } from "vue";
2
- import i from "../src/components/KunTooltip.vue.js";
3
- const c = { class: "p-8 flex flex-col gap-4 items-center" }, b = {
4
- __name: "Default",
5
- setup(s) {
6
- return (x, r) => (p(), n("div", c, [
7
- r[0] || (r[0] = o("h2", { class: "text-xl font-bold mb-4" }, "Tooltips con slot activator", -1)),
8
- e(i, {
9
- text: "Tooltip arriba",
10
- location: "top"
11
- }, {
12
- activator: a(({ props: t }) => [
13
- o("button", l(t, { class: "px-4 py-2 bg-blue-500 text-white rounded" }), "Top", 16)
14
- ]),
15
- _: 1
16
- }),
17
- e(i, {
18
- text: "Tooltip abajo",
19
- location: "bottom"
20
- }, {
21
- activator: a(({ props: t }) => [
22
- o("button", l(t, { class: "px-4 py-2 bg-green-500 text-white rounded" }), "Bottom", 16)
23
- ]),
24
- _: 1
25
- }),
26
- e(i, {
27
- text: "Tooltip izquierda",
28
- location: "left"
29
- }, {
30
- activator: a(({ props: t }) => [
31
- o("button", l(t, { class: "px-4 py-2 bg-yellow-500 text-white rounded" }), "Left", 16)
32
- ]),
33
- _: 1
34
- }),
35
- e(i, {
36
- text: "Tooltip derecha",
37
- location: "right"
38
- }, {
39
- activator: a(({ props: t }) => [
40
- o("button", l(t, { class: "px-4 py-2 bg-purple-500 text-white rounded" }), "Right", 16)
41
- ]),
42
- _: 1
43
- }),
44
- e(i, {
45
- text: "Con delay",
46
- location: "top",
47
- delay: 500
48
- }, {
49
- activator: a(({ props: t }) => [
50
- o("button", l(t, { class: "px-4 py-2 bg-indigo-500 text-white rounded" }), "Delay", 16)
51
- ]),
52
- _: 1
53
- })
54
- ]));
55
- }
56
- };
57
- export {
58
- b as default
59
- };
@@ -1,29 +0,0 @@
1
- import { createElementBlock as m, openBlock as c, createVNode as i, unref as _, withCtx as l, createElementVNode as t, createTextVNode as d, toDisplayString as o } from "vue";
2
- import f from "../src/components/KunVirtualScroller.vue.js";
3
- const p = { class: "p-4 max-h-[400px] border overflow-y-auto" }, u = { class: "p-4 border-b bg-white" }, g = {
4
- __name: "Default",
5
- setup(h) {
6
- const r = Array.from({ length: 1e3 }, (a, e) => ({
7
- id: e,
8
- name: `Item #${e}`
9
- }));
10
- return (a, e) => (c(), m("div", p, [
11
- i(f, {
12
- items: _(r),
13
- "item-height": "auto",
14
- buffer: 5
15
- }, {
16
- default: l(({ item: s, index: n }) => [
17
- t("div", u, [
18
- t("strong", null, "#" + o(n), 1),
19
- d(": " + o(s.name), 1)
20
- ])
21
- ]),
22
- _: 1
23
- }, 8, ["items"])
24
- ]));
25
- }
26
- };
27
- export {
28
- g as default
29
- };