@nubisco/ui 3.0.2 → 3.0.3
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/components/Breadcrumbs.vue.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +10 -6
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12964,22 +12964,26 @@ var LKt = { class: "nb-board__col-title" }, RKt = { class: "nb-board__col-count"
|
|
|
12964
12964
|
subtitle: {}
|
|
12965
12965
|
},
|
|
12966
12966
|
setup(e) {
|
|
12967
|
-
let
|
|
12968
|
-
|
|
12969
|
-
|
|
12967
|
+
let r = H();
|
|
12968
|
+
function a(e) {
|
|
12969
|
+
return e.some((e) => e.type === t ? !1 : e.type === i ? String(e.children ?? "").trim() !== "" : e.type === n ? a(e.children ?? []) : !0);
|
|
12970
|
+
}
|
|
12971
|
+
let u = o(() => a(r.default?.() ?? []));
|
|
12972
|
+
return (t, n) => {
|
|
12973
|
+
let r = N("NbIcon");
|
|
12970
12974
|
return E(), l("nav", YKt, [
|
|
12971
12975
|
e.title || e.subtitle ? (E(), l("span", XKt, [e.title ? (E(), l("span", ZKt, I(e.title), 1)) : c("", !0), e.subtitle ? (E(), l("span", QKt, I(e.subtitle), 1)) : c("", !0)])) : c("", !0),
|
|
12972
|
-
(e.title || e.subtitle) &&
|
|
12976
|
+
(e.title || e.subtitle) && u.value ? (E(), s(r, {
|
|
12973
12977
|
key: 1,
|
|
12974
12978
|
name: "caret-right",
|
|
12975
12979
|
size: "sm",
|
|
12976
12980
|
class: "nb-breadcrumbs__sep"
|
|
12977
12981
|
})) : c("", !0),
|
|
12978
|
-
|
|
12982
|
+
u.value ? (E(), l("span", $Kt, [M(t.$slots, "default", {}, void 0, !0)])) : c("", !0)
|
|
12979
12983
|
]);
|
|
12980
12984
|
};
|
|
12981
12985
|
}
|
|
12982
|
-
}), [["__scopeId", "data-v-
|
|
12986
|
+
}), [["__scopeId", "data-v-2c2acdda"]]), r6 = /* @__PURE__ */ function(e) {
|
|
12983
12987
|
return e.Button = "button", e.Submit = "submit", e.Reset = "reset", e;
|
|
12984
12988
|
}(r6 || {});
|
|
12985
12989
|
//#endregion
|