bt-core-app 1.4.422 → 1.4.424

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.
@@ -33774,20 +33774,20 @@ function iI() {
33774
33774
  }
33775
33775
  const w1 = Symbol(), oI = Symbol(), x1 = Symbol(), k1 = Symbol();
33776
33776
  function VV(e, t, n) {
33777
- const a = Ye(w1), l = Ye(k1), r = Ye(x1), i = a.findItem(e.meta.nav ?? e.name) ?? void 0, o = e.meta.requiresAuth !== !1 || i != null && i.requiresAuth !== !1, s = e.query.isDemo === "true";
33778
- function c() {
33777
+ const a = Ye(w1), l = Ye(k1), r = Ye(x1), i = a.findItem(e.meta.nav ?? e.name) ?? void 0, o = e.meta.requiresAuth !== !1 || i != null && i.requiresAuth !== !1, s = e.query.isDemo === "true", c = e.meta.permissions ?? [], f = e.meta.subscriptions ?? [];
33778
+ function d() {
33779
33779
  document.title = `${r.isDemoing.value ? "(Demo) " : ""}${sx() ?? ""}`;
33780
33780
  }
33781
33781
  if (!o)
33782
- c(), a.updateNavigationChange(e, t);
33782
+ d(), a.updateNavigationChange(e, t);
33783
33783
  else if (s)
33784
- r.isDemoing.value || r.startDemo(), c(), a.updateNavigationChange(e, t);
33784
+ r.isDemoing.value || r.startDemo(), d(), a.updateNavigationChange(e, t);
33785
33785
  else {
33786
33786
  if (r.isDemoing.value)
33787
- return r.endDemo(!1), c(), { path: "/" };
33788
- if (c(), l.tryLogin()) {
33789
- const f = (i == null ? void 0 : i.subscriptions) ?? [], d = (i == null ? void 0 : i.permissions) ?? [];
33790
- if (l.doShow(f, d, "view")) {
33787
+ return r.endDemo(!1), d(), { path: "/" };
33788
+ if (d(), l.tryLogin()) {
33789
+ const h = (i == null ? void 0 : i.subscriptions) ?? [], v = (i == null ? void 0 : i.permissions) ?? [];
33790
+ if (h.push(...f), v.push(...c), l.doShow(h, v, "view")) {
33791
33791
  a.updateNavigationChange(e, t);
33792
33792
  return;
33793
33793
  } else
@@ -33943,7 +33943,15 @@ const sI = { class: "d-flex align-center justify-center h-100 w-100" }, uI = { c
33943
33943
  "blade-toolbar-right": N(() => [
33944
33944
  p(Bn, { group: "" }, {
33945
33945
  default: N(() => [
33946
- me(w.$slots, "toolbar-right"),
33946
+ me(w.$slots, "toolbar-right", {
33947
+ density: w.density,
33948
+ isChanged: D(c).isChanged.value,
33949
+ isEditing: D(c).isEditing.value,
33950
+ item: D(c).asyncItem.value,
33951
+ mode: D(c).mode.value,
33952
+ save: k,
33953
+ size: D(s)
33954
+ }),
33947
33955
  v.value && D(c).isSaveable.value && (D(c).isChanged.value || D(c).mode.value == "new") ? ($(), ne(Ee, {
33948
33956
  onClick: C[0] || (C[0] = (b) => k(!1)),
33949
33957
  icon: "$content-save",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.422",
3
+ "version": "1.4.424",
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": {