bt-core-app 2.0.197 → 2.0.199

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.
@@ -9236,11 +9236,10 @@ function yi() {
9236
9236
  function PD() {
9237
9237
  const e = os(), t = yi();
9238
9238
  function a(n, l) {
9239
- var r;
9240
9239
  if (t.navHistory.value.length > 1) {
9241
9240
  t.navHistory.value.pop();
9242
- const i = t.navHistory.value[t.navHistory.value.length - 1];
9243
- t.navHistory.value.pop(), i != null && (n && (i.query ?? (i.query = {}), (r = i.query).refresh ?? (r.refresh = "true")), e.push(i));
9241
+ const r = t.navHistory.value[t.navHistory.value.length - 1];
9242
+ t.navHistory.value.pop(), r != null && (n == !0 && (r.query ?? (r.query = {}), r.query.refresh = "true"), e.push(r));
9244
9243
  } else
9245
9244
  l != null ? e.push(l) : e.back();
9246
9245
  }
@@ -9350,7 +9349,7 @@ function SL(e) {
9350
9349
  }
9351
9350
  }
9352
9351
  function _(P, L, $) {
9353
- console.log(P), console.log(L), P.name == (L == null ? void 0 : L.name) && ((L == null ? void 0 : L.params.id) == "new" || (L == null ? void 0 : L.query.id) == "new" || $) && a.value.pop(), P.params.navIgnore !== "true" && a.value.push(P);
9352
+ P.name == (L == null ? void 0 : L.name) && ((L == null ? void 0 : L.params.id) == "new" || (L == null ? void 0 : L.query.id) == "new" || $ == !0) && a.value.pop(), P.params.navIgnore !== "true" && a.value.push(P);
9354
9353
  const A = P.meta.nav ?? P.name, E = x(A);
9355
9354
  o.value = void 0;
9356
9355
  var F = P.meta.background ?? (E == null ? void 0 : E.background) ?? e.defaultBackgroundName;
@@ -44879,23 +44878,21 @@ function Ise() {
44879
44878
  query: {
44880
44879
  ...e.query
44881
44880
  },
44882
- replace: !!o
44881
+ replace: o == !0
44883
44882
  };
44884
44883
  ic = !0, t.replace(c);
44885
44884
  }
44886
44885
  function r(i, o) {
44887
- var s = e.params;
44886
+ var s = e.query;
44888
44887
  i != null && (s = {
44889
- ...e.params,
44888
+ ...e.query,
44890
44889
  searchString: i
44891
44890
  });
44892
44891
  let c = {
44893
44892
  ...e,
44894
- params: s,
44895
- query: {
44896
- ...e.query
44897
- },
44898
- replace: !!o
44893
+ params: e.params,
44894
+ query: s,
44895
+ replace: o == !0
44899
44896
  };
44900
44897
  ic = !0, t.replace(c);
44901
44898
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.197",
3
+ "version": "2.0.199",
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": {