@nubisco/ui 3.5.2 → 3.5.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/ShellPanel.vue.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +21 -17
- package/dist/ui.css +1 -1
- package/package.json +1 -1
- package/src/styles/patterns/_inspector.scss +15 -0
package/dist/index.mjs
CHANGED
|
@@ -27385,14 +27385,18 @@ var V5 = /* @__PURE__ */ Q(/* @__PURE__ */ _({
|
|
|
27385
27385
|
},
|
|
27386
27386
|
emits: ["update:size"],
|
|
27387
27387
|
setup(e, { expose: t, emit: n }) {
|
|
27388
|
-
let r = e, { layerProps: i } = H2(), a = n, o =
|
|
27389
|
-
|
|
27390
|
-
|
|
27388
|
+
let r = e, { layerProps: i } = H2(), a = n, o = R(r.size);
|
|
27389
|
+
Y(() => r.size, (e) => o.value = e);
|
|
27390
|
+
let c = s({
|
|
27391
|
+
get: () => o.value,
|
|
27392
|
+
set: (e) => {
|
|
27393
|
+
o.value = e, a("update:size", e);
|
|
27394
|
+
}
|
|
27391
27395
|
});
|
|
27392
|
-
function
|
|
27393
|
-
|
|
27396
|
+
function l(e) {
|
|
27397
|
+
c.value = e;
|
|
27394
27398
|
}
|
|
27395
|
-
return t({ setSize:
|
|
27399
|
+
return t({ setSize: l }), (t, n) => (P(), d("div", C({ class: "nb-shell-panel" }, K(i), { class: [c.value, {
|
|
27396
27400
|
"nb-shell-panel--fluid": e.fluid,
|
|
27397
27401
|
"nb-shell-panel--fill": e.fill
|
|
27398
27402
|
}] }), [f("div", C8t, [
|
|
@@ -27405,11 +27409,11 @@ var V5 = /* @__PURE__ */ Q(/* @__PURE__ */ _({
|
|
|
27405
27409
|
}, [B(t.$slots, "controls", {}, () => [
|
|
27406
27410
|
f("button", {
|
|
27407
27411
|
type: "button",
|
|
27408
|
-
class: T(["nb-shell-panel__size-btn", { active:
|
|
27409
|
-
"aria-pressed":
|
|
27412
|
+
class: T(["nb-shell-panel__size-btn", { active: c.value === "collapsed" }]),
|
|
27413
|
+
"aria-pressed": c.value === "collapsed",
|
|
27410
27414
|
title: "Minimize",
|
|
27411
27415
|
"aria-label": "Minimize",
|
|
27412
|
-
onClick: n[0] ||= (e) =>
|
|
27416
|
+
onClick: n[0] ||= (e) => l("collapsed")
|
|
27413
27417
|
}, [...n[3] ||= [f("svg", {
|
|
27414
27418
|
width: "12",
|
|
27415
27419
|
height: "12",
|
|
@@ -27425,11 +27429,11 @@ var V5 = /* @__PURE__ */ Q(/* @__PURE__ */ _({
|
|
|
27425
27429
|
})], -1)]], 10, k8t),
|
|
27426
27430
|
f("button", {
|
|
27427
27431
|
type: "button",
|
|
27428
|
-
class: T(["nb-shell-panel__size-btn", { active:
|
|
27429
|
-
"aria-pressed":
|
|
27432
|
+
class: T(["nb-shell-panel__size-btn", { active: c.value === "default" }]),
|
|
27433
|
+
"aria-pressed": c.value === "default",
|
|
27430
27434
|
title: "Default",
|
|
27431
27435
|
"aria-label": "Default",
|
|
27432
|
-
onClick: n[1] ||= (e) =>
|
|
27436
|
+
onClick: n[1] ||= (e) => l("default")
|
|
27433
27437
|
}, [...n[4] ||= [f("svg", {
|
|
27434
27438
|
width: "12",
|
|
27435
27439
|
height: "12",
|
|
@@ -27447,11 +27451,11 @@ var V5 = /* @__PURE__ */ Q(/* @__PURE__ */ _({
|
|
|
27447
27451
|
})], -1)]], 10, A8t),
|
|
27448
27452
|
f("button", {
|
|
27449
27453
|
type: "button",
|
|
27450
|
-
class: T(["nb-shell-panel__size-btn", { active:
|
|
27451
|
-
"aria-pressed":
|
|
27454
|
+
class: T(["nb-shell-panel__size-btn", { active: c.value === "full" }]),
|
|
27455
|
+
"aria-pressed": c.value === "full",
|
|
27452
27456
|
title: "Maximize",
|
|
27453
27457
|
"aria-label": "Maximize",
|
|
27454
|
-
onClick: n[2] ||= (e) =>
|
|
27458
|
+
onClick: n[2] ||= (e) => l("full")
|
|
27455
27459
|
}, [...n[5] ||= [f("svg", {
|
|
27456
27460
|
width: "12",
|
|
27457
27461
|
height: "12",
|
|
@@ -27475,9 +27479,9 @@ var V5 = /* @__PURE__ */ Q(/* @__PURE__ */ _({
|
|
|
27475
27479
|
"stroke-width": "1.2"
|
|
27476
27480
|
})], -1)]], 10, j8t)
|
|
27477
27481
|
], !0)], 8, O8t)
|
|
27478
|
-
]),
|
|
27482
|
+
]), c.value === "collapsed" ? u("", !0) : (P(), d("div", M8t, [B(t.$slots, "default", {}, void 0, !0)]))], 16));
|
|
27479
27483
|
}
|
|
27480
|
-
}), [["__scopeId", "data-v-
|
|
27484
|
+
}), [["__scopeId", "data-v-e009955c"]]), Y5 = Symbol("NB_BLUEPRINT_CONTEXT"), X5 = Symbol("NB_BLUEPRINT_CONTROLLER");
|
|
27481
27485
|
//#endregion
|
|
27482
27486
|
//#region src/components/blueprint-port-cache.ts
|
|
27483
27487
|
function N8t(e) {
|