@wikicasa-dev/components 1.9.27 → 1.9.28
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/BaseBreadcrumb.js
CHANGED
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
import { defineComponent as m, computed as d, openBlock as s, createElementBlock as i, createElementVNode as
|
|
1
|
+
import { defineComponent as m, computed as d, openBlock as s, createElementBlock as i, createElementVNode as o, normalizeClass as a, Fragment as n, renderList as k, renderSlot as u, toDisplayString as p, createVNode as h, unref as f } from "vue";
|
|
2
2
|
import { d as b } from "./ArrowIcon.B7Oqov4Y.js";
|
|
3
3
|
import "./PharmacyIcon.qIkuSERu.js";
|
|
4
|
-
const C = { "aria-label": "Breadcrumb" }, g = ["href"],
|
|
4
|
+
const C = { "aria-label": "Breadcrumb" }, g = ["data-tooltip"], w = ["href"], v = /* @__PURE__ */ m({
|
|
5
5
|
__name: "BaseBreadcrumb",
|
|
6
6
|
props: {
|
|
7
7
|
items: {},
|
|
8
8
|
listClasses: {},
|
|
9
9
|
listItemClasses: {}
|
|
10
10
|
},
|
|
11
|
-
setup(
|
|
11
|
+
setup(r) {
|
|
12
12
|
const c = d(() => {
|
|
13
13
|
let e = 0;
|
|
14
14
|
const l = [];
|
|
15
|
-
for (; e <
|
|
16
|
-
l.push({ ...
|
|
15
|
+
for (; e < r.items.length; )
|
|
16
|
+
l.push({ ...r.items[e], idx: e }), e < r.items.length - 1 && l.push({ arrowIcon: !0 }), e++;
|
|
17
17
|
return l;
|
|
18
18
|
});
|
|
19
19
|
return (e, l) => (s(), i("nav", C, [
|
|
20
|
-
|
|
21
|
-
class:
|
|
20
|
+
o("ol", {
|
|
21
|
+
class: a(["uikit-flex uikit-items-center uikit-gap-10px uikit-p-0", e.listClasses])
|
|
22
22
|
}, [
|
|
23
|
-
(s(!0), i(
|
|
23
|
+
(s(!0), i(n, null, k(c.value, (t) => (s(), i(n, null, [
|
|
24
24
|
t?.label ? (s(), i("li", {
|
|
25
25
|
key: 0,
|
|
26
|
-
class:
|
|
26
|
+
class: a(["uikit-list-none", e.listItemClasses]),
|
|
27
|
+
"data-tooltip": e.$attrs["data-tooltip"]
|
|
27
28
|
}, [
|
|
28
29
|
u(e.$slots, "item", {
|
|
29
30
|
item: t
|
|
30
31
|
}, () => [
|
|
31
|
-
|
|
32
|
-
class:
|
|
32
|
+
o("a", {
|
|
33
|
+
class: a(["uikit-text-w-black uikit-no-underline", { "uikit-text-w-primary": t.active }]),
|
|
33
34
|
href: t.link
|
|
34
|
-
},
|
|
35
|
+
}, p(t.label), 11, w)
|
|
35
36
|
])
|
|
36
|
-
],
|
|
37
|
+
], 10, g)) : (s(), i("li", {
|
|
37
38
|
key: 1,
|
|
38
|
-
class:
|
|
39
|
+
class: a(["uikit-list-none", e.listItemClasses]),
|
|
39
40
|
"aria-hidden": "true"
|
|
40
41
|
}, [
|
|
41
42
|
u(e.$slots, "separator", {}, () => [
|
|
42
|
-
|
|
43
|
+
h(f(b), {
|
|
43
44
|
class: "-uikit-rotate-90",
|
|
44
45
|
"stroke-color": "#222",
|
|
45
46
|
width: 10,
|
|
@@ -53,5 +54,5 @@ const C = { "aria-label": "Breadcrumb" }, g = ["href"], y = /* @__PURE__ */ m({
|
|
|
53
54
|
}
|
|
54
55
|
});
|
|
55
56
|
export {
|
|
56
|
-
|
|
57
|
+
v as _
|
|
57
58
|
};
|
package/dist/index.js
CHANGED
|
@@ -40,7 +40,7 @@ import { _ as Ie } from "./chunks/IntersectionObserver.vue_vue_type_script_setup
|
|
|
40
40
|
import { S as we } from "./chunks/SwiperCarousel.BV6QiwmC.js";
|
|
41
41
|
import { default as ke } from "./SwiperSlide.js";
|
|
42
42
|
import { useValidator as De } from "./useValidator.js";
|
|
43
|
-
import { _ as Ge } from "./chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.
|
|
43
|
+
import { _ as Ge } from "./chunks/BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BmvX56Gc.js";
|
|
44
44
|
import './assets/index.css';export {
|
|
45
45
|
I as AccessibleSelect,
|
|
46
46
|
r as BaseAccordion,
|