bt-core-app 1.4.232 → 1.4.235

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.
@@ -8386,7 +8386,6 @@ function rm() {
8386
8386
  return Ro;
8387
8387
  }
8388
8388
  function UD(e) {
8389
- console.log("using local co");
8390
8389
  const t = localStorage.getItem("cosmetics");
8391
8390
  let n;
8392
8391
  return t != null && t.length > 0 && (n = JSON.parse(t)), n ?? (n = {}), n.dark ?? (n.dark = e == null ? void 0 : e.dark), n.light ?? (n.light = e == null ? void 0 : e.light), n.theme ?? (n.theme = e == null ? void 0 : e.defaultTheme), {
@@ -32574,7 +32573,7 @@ const LA = /* @__PURE__ */ Ke({
32574
32573
  }
32575
32574
  });
32576
32575
  tn("isMobile", f.isMobile), tn("fieldVariant", n.fieldVariant ?? "underlined"), tn("fieldEditVariant", n.fieldEditVariant ?? "outlined");
32577
- const m = S(() => n.loadingMsg != null), d = S(() => (a.hideBladeControls ?? n.hideBladeControls) || f.variant.value != "blade" && f.variant.value != "page"), o = S(() => (a.hideNavigation ?? n.hideNavigation) || f.variant.value == "inline" || f.variant.value == "pure"), g = S(() => (a.hideSubtoolbar ?? n.hideSubtoolbar) || f.variant.value == "inline" || f.variant.value == "pure"), y = S(() => (a.hideToolbar ?? n.hideToolbar) || f.variant.value == "inline" || f.variant.value == "pure"), p = S(() => (a.hideToolbarSettings ?? n.hideToolbarSettings) || f.variant.value == "inline" || f.variant.value == "pure"), T = Y(!1), C = S(() => f.variant.value == "blade" ? (f.bladeData.show, "ma-1 mr-0") : ""), x = S(() => f.variant.value == "blade" ? r.value ? `width: ${s.width}%` : `width: ${s.width}px` : "");
32576
+ const m = S(() => n.loadingMsg != null), d = S(() => (a.hideBladeControls ?? n.hideBladeControls) || f.variant.value != "blade" && f.variant.value != "page"), o = S(() => (a.hideNavigation ?? n.hideNavigation) || f.variant.value == "inline" || f.variant.value == "pure"), g = S(() => (a.hideSubtoolbar ?? n.hideSubtoolbar) || f.variant.value == "inline" || f.variant.value == "pure"), y = S(() => (a.hideToolbar ?? n.hideToolbar) || f.variant.value == "inline" || f.variant.value == "pure"), p = S(() => (a.hideToolbarSettings ?? n.hideToolbarSettings) || f.variant.value == "inline" || f.variant.value == "pure"), T = Y(!1), C = S(() => f.variant.value == "blade" ? (f.bladeData.show, "ma-1 mr-0") : f.variant.value == "page" ? "ma-2 rounded" : ""), x = S(() => f.variant.value == "blade" ? r.value ? `width: ${s.width}%` : `width: ${s.width}px` : "");
32578
32577
  return Ae(() => n.errorMsg, (M) => {
32579
32578
  T.value = M != null;
32580
32579
  }), (M, w) => (O(), se(Xn, null, {
@@ -34629,7 +34628,7 @@ const LA = /* @__PURE__ */ Ke({
34629
34628
  "append-icon": "$arrow-right",
34630
34629
  onClick: (c) => n.value = u + 1,
34631
34630
  disabled: s.disabled,
34632
- key: s.value,
34631
+ key: s.value ?? s.title,
34633
34632
  title: s.title
34634
34633
  }, null, 8, ["onClick", "disabled", "title"]))), 128))
34635
34634
  ]),
@@ -34639,12 +34638,12 @@ const LA = /* @__PURE__ */ Ke({
34639
34638
  _: 1
34640
34639
  }),
34641
34640
  (O(!0), ie(Ce, null, Qe(l.options, (s) => (O(), se(vf, {
34642
- key: s.value
34641
+ key: s.value ?? s.title
34643
34642
  }, {
34644
34643
  default: G(() => [
34645
34644
  b(Xn, { "hide-on-leave": "" }, {
34646
34645
  default: G(() => [
34647
- l.hideHeader ? re("", !0) : (O(), se(Qo, {
34646
+ !l.hideHeader && !s.hideHeader ? (O(), se(Qo, {
34648
34647
  key: 0,
34649
34648
  density: "compact",
34650
34649
  flat: "",
@@ -34663,11 +34662,11 @@ const LA = /* @__PURE__ */ Ke({
34663
34662
  }, 1024)
34664
34663
  ]),
34665
34664
  _: 2
34666
- }, 1024))
34665
+ }, 1024)) : re("", !0)
34667
34666
  ]),
34668
34667
  _: 2
34669
34668
  }, 1024),
34670
- ve(l.$slots, s.value)
34669
+ ve(l.$slots, (s.value ?? s.title).replaceAll(" ", "").toLowerCase())
34671
34670
  ]),
34672
34671
  _: 2
34673
34672
  }, 1024))), 128))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.232",
3
+ "version": "1.4.235",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {