r3ui-lib 1.2.3-8 → 1.2.3-9
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/CHANGELOG.md +42 -4
- package/dist/r3ui-lib.css +1 -1
- package/dist/r3ui-lib.es.js +8 -8
- package/dist/r3ui-lib.umd.js +1 -1
- package/dist/types/components/sidebar/CollapsedSidebarLink.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarLink.vue.d.ts.map +1 -1
- package/dist/types/composables/sidebar/useSidebar.d.ts +1 -0
- package/dist/types/composables/sidebar/useSidebar.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/r3ui-lib.es.js
CHANGED
|
@@ -14308,7 +14308,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14308
14308
|
emits: ["navigate"],
|
|
14309
14309
|
setup(n, { emit: e }) {
|
|
14310
14310
|
const t = e, i = Vi("expandAccordion"), r = Vi("expandedAccordion"), s = (a) => {
|
|
14311
|
-
a.isExternal && a.href ? window.open(a.href, "_blank", "noopener,noreferrer") : t("navigate", a.href);
|
|
14311
|
+
a.isExternal && a.href ? a.openInNewWindow !== !1 ? window.open(a.href, "_blank", "noopener,noreferrer") : window.location.href = a.href : t("navigate", a.href);
|
|
14312
14312
|
};
|
|
14313
14313
|
return (a, o) => {
|
|
14314
14314
|
const l = Kl("SidebarLink", !0);
|
|
@@ -14316,8 +14316,8 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14316
14316
|
n.sidebarLink.childrens?.length ? Ee("", !0) : (j(), Q("div", mA, [
|
|
14317
14317
|
z("a", {
|
|
14318
14318
|
href: n.sidebarLink.href,
|
|
14319
|
-
target: n.sidebarLink.isExternal ? "_blank" : void 0,
|
|
14320
|
-
rel: n.sidebarLink.isExternal ? "noopener noreferrer" : void 0,
|
|
14319
|
+
target: n.sidebarLink.isExternal && n.sidebarLink.openInNewWindow !== !1 ? "_blank" : void 0,
|
|
14320
|
+
rel: n.sidebarLink.isExternal && n.sidebarLink.openInNewWindow !== !1 ? "noopener noreferrer" : void 0,
|
|
14321
14321
|
onClick: o[0] || (o[0] = Ri(() => s(n.sidebarLink), ["prevent"])),
|
|
14322
14322
|
class: "sidebar-link-item"
|
|
14323
14323
|
}, [
|
|
@@ -14386,7 +14386,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14386
14386
|
]);
|
|
14387
14387
|
};
|
|
14388
14388
|
}
|
|
14389
|
-
}), kA = /* @__PURE__ */ Ke(EA, [["__scopeId", "data-v-
|
|
14389
|
+
}), kA = /* @__PURE__ */ Ke(EA, [["__scopeId", "data-v-0a6fd930"]]), SA = { key: 0 }, xA = { key: 0 }, RA = ["title"], MA = ["innerHTML"], TA = { key: 1 }, DA = {
|
|
14390
14390
|
key: 0,
|
|
14391
14391
|
class: "d-flex position-relative",
|
|
14392
14392
|
style: { "z-index": "999", top: "-50px" }
|
|
@@ -14409,7 +14409,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14409
14409
|
emits: ["navigate"],
|
|
14410
14410
|
setup(n, { emit: e }) {
|
|
14411
14411
|
const t = e, i = Vi("expandAccordion"), r = Vi("expandedAccordion"), s = (a) => {
|
|
14412
|
-
a.isExternal && a.href ? window.open(a.href, "_blank", "noopener,noreferrer") : t("navigate", a.href);
|
|
14412
|
+
a.isExternal && a.href ? a.openInNewWindow !== !1 ? window.open(a.href, "_blank", "noopener,noreferrer") : window.location.href = a.href : t("navigate", a.href);
|
|
14413
14413
|
};
|
|
14414
14414
|
return (a, o) => {
|
|
14415
14415
|
const l = Kl("CollapsedSidebarLink", !0);
|
|
@@ -14446,8 +14446,8 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14446
14446
|
])) : (j(), Q("div", LA, [
|
|
14447
14447
|
z("a", {
|
|
14448
14448
|
href: n.link.href,
|
|
14449
|
-
target: n.link.isExternal ? "_blank" : void 0,
|
|
14450
|
-
rel: n.link.isExternal ? "noopener noreferrer" : void 0,
|
|
14449
|
+
target: n.link.isExternal && n.link.openInNewWindow !== !1 ? "_blank" : void 0,
|
|
14450
|
+
rel: n.link.isExternal && n.link.openInNewWindow !== !1 ? "noopener noreferrer" : void 0,
|
|
14451
14451
|
onClick: o[2] || (o[2] = Ri(() => s(n.link), ["prevent"]))
|
|
14452
14452
|
}, [
|
|
14453
14453
|
n.link.level < 1 ? (j(), Q("button", {
|
|
@@ -14470,7 +14470,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14470
14470
|
])) : Ee("", !0);
|
|
14471
14471
|
};
|
|
14472
14472
|
}
|
|
14473
|
-
}), zA = /* @__PURE__ */ Ke(NA, [["__scopeId", "data-v-
|
|
14473
|
+
}), zA = /* @__PURE__ */ Ke(NA, [["__scopeId", "data-v-6d9f8db2"]]), VA = { key: 0 }, jA = {
|
|
14474
14474
|
class: "accordion accordion-flush",
|
|
14475
14475
|
id: "accordionMenu"
|
|
14476
14476
|
}, WA = { key: 1 }, UA = { class: "row" }, GA = { class: "col-12" }, YA = { class: "sidebar-footer p-3" }, QA = /* @__PURE__ */ We({
|