@factoringplus/pl-components-pack-v3 1.7.1-pre-04 → 1.7.1-pre-06
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.
@@ -33599,39 +33599,39 @@ const Dg = /* @__PURE__ */ Yn(dj), fj = { key: 0 }, pj = {
|
|
33599
33599
|
]);
|
33600
33600
|
};
|
33601
33601
|
}
|
33602
|
-
}), mK = /* @__PURE__ */ Lr(hK, [["__scopeId", "data-v-
|
33602
|
+
}), mK = /* @__PURE__ */ Lr(hK, [["__scopeId", "data-v-f87bfe30"]]), gK = { class: "pl-navigation" }, yK = { class: "pl-navigation-main" }, bK = { class: "pl-navigation-main-wrapper pl-navigation-inner-wrapper" }, _K = { class: "pl-navigation-main-content" }, wK = /* @__PURE__ */ ie({
|
33603
33603
|
__name: "pl-navigation",
|
33604
33604
|
props: {
|
33605
33605
|
sidebarOpen: { type: Boolean },
|
33606
33606
|
sidebarOpenModifiers: {}
|
33607
33607
|
},
|
33608
|
-
emits: /* @__PURE__ */ bw(["exit-click", "sidebar-click"], ["update:sidebarOpen"]),
|
33608
|
+
emits: /* @__PURE__ */ bw(["exit-click", "sidebar-click", "sidebar-transition-end"], ["update:sidebarOpen"]),
|
33609
33609
|
setup(e, { expose: t, emit: n }) {
|
33610
33610
|
const { width: r } = Un(), a = M(null), s = n, l = _w(e, "sidebarOpen"), u = () => {
|
33611
33611
|
l.value = !l.value, s("sidebar-click");
|
33612
|
-
}, c = (d) => {
|
33613
|
-
const
|
33614
|
-
l.value && !
|
33612
|
+
}, c = (v) => !!(v.closest(".pl-onboarding-overlay") || v.closest(".pl-snackbar__wrapper") || v.closest(".pl-dialog-plus-overlay")), d = (v) => {
|
33613
|
+
const f = v.target;
|
33614
|
+
l.value && !c(f) && (l.value = !1);
|
33615
33615
|
};
|
33616
|
-
return Mo(a, (
|
33616
|
+
return Mo(a, (v) => {
|
33617
33617
|
setTimeout(() => {
|
33618
|
-
|
33618
|
+
d(v);
|
33619
33619
|
});
|
33620
|
-
}), t({ closeSidebar:
|
33620
|
+
}), t({ closeSidebar: d }), (v, f) => (C(), D("div", gK, [
|
33621
33621
|
ne(mK, {
|
33622
33622
|
id: "headerRef",
|
33623
33623
|
"use-width": "useWidth",
|
33624
33624
|
onSidebarClick: u,
|
33625
|
-
onExitClick:
|
33625
|
+
onExitClick: f[0] || (f[0] = (y) => s("exit-click"))
|
33626
33626
|
}, {
|
33627
33627
|
headerLogo: ee(() => [
|
33628
|
-
Te(
|
33628
|
+
Te(v.$slots, "headerLogo")
|
33629
33629
|
]),
|
33630
33630
|
customContent: ee(() => [
|
33631
|
-
Te(
|
33631
|
+
Te(v.$slots, "customContent")
|
33632
33632
|
]),
|
33633
33633
|
headerBtns: ee(() => [
|
33634
|
-
Te(
|
33634
|
+
Te(v.$slots, "headerBtns")
|
33635
33635
|
]),
|
33636
33636
|
_: 3
|
33637
33637
|
}),
|
@@ -33643,7 +33643,10 @@ const Dg = /* @__PURE__ */ Yn(dj), fj = { key: 0 }, pj = {
|
|
33643
33643
|
}, {
|
33644
33644
|
default: ee(() => [
|
33645
33645
|
F("div", bK, [
|
33646
|
-
ne(On, {
|
33646
|
+
ne(On, {
|
33647
|
+
name: "sidebar",
|
33648
|
+
onAfterEnter: f[1] || (f[1] = (y) => s("sidebar-transition-end"))
|
33649
|
+
}, {
|
33647
33650
|
default: ee(() => [
|
33648
33651
|
l.value || p(r) >= p(R2).DESKTOP ? (C(), D("aside", {
|
33649
33652
|
key: 0,
|
@@ -33651,13 +33654,13 @@ const Dg = /* @__PURE__ */ Yn(dj), fj = { key: 0 }, pj = {
|
|
33651
33654
|
ref: a,
|
33652
33655
|
class: "pl-navigation-sidebar"
|
33653
33656
|
}, [
|
33654
|
-
Te(
|
33657
|
+
Te(v.$slots, "sidebarContent")
|
33655
33658
|
], 512)) : Z("", !0)
|
33656
33659
|
]),
|
33657
33660
|
_: 3
|
33658
33661
|
}),
|
33659
33662
|
F("main", _K, [
|
33660
|
-
Te(
|
33663
|
+
Te(v.$slots, "main")
|
33661
33664
|
])
|
33662
33665
|
])
|
33663
33666
|
]),
|