bt-core-app 1.4.784 → 1.4.786

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.
@@ -5398,7 +5398,7 @@ function zre(e) {
5398
5398
  }
5399
5399
  function Ore(e, t, a = !0) {
5400
5400
  return e.sort(function(n, l) {
5401
- return t ? typeof t == "string" ? En(n, t) > En(l, t) ? a === !0 ? 1 : -1 : En(n, t) < En(l, t) ? a === !0 ? -1 : 1 : 0 : t(n) > t(l) ? a === !0 ? 1 : -1 : t(n) < t(l) ? a === !0 ? -1 : 1 : 0 : n > l ? a === !0 ? 1 : -1 : n < l ? a === !0 ? -1 : 1 : 0;
5401
+ return t == null ? n > l ? a === !0 ? 1 : -1 : n < l ? a === !0 ? -1 : 1 : 0 : typeof t == "string" ? En(n, t) > En(l, t) ? a === !0 ? 1 : -1 : En(n, t) < En(l, t) ? a === !0 ? -1 : 1 : 0 : typeof t == "function" ? t(n) > t(l) ? a === !0 ? 1 : -1 : t(n) < t(l) ? a === !0 ? -1 : 1 : 0 : 0;
5402
5402
  });
5403
5403
  }
5404
5404
  function vn(e, t, a = "/") {
@@ -10183,7 +10183,7 @@ function aP(e) {
10183
10183
  const I = b();
10184
10184
  x = !1;
10185
10185
  var w = `${I[1]}.${I[0]}`;
10186
- console.log("e"), console.log(w), w.includes(",") || w.includes("-") || w.includes("/") ? x = !0 : Q_.some(($) => $.value == w) ? d.value = w : x = !0;
10186
+ w.includes(",") || w.includes("-") || w.includes("/") ? x = !0 : Q_.some(($) => $.value == w) ? d.value = w : x = !0;
10187
10187
  const L = I[2];
10188
10188
  if (L.includes("/"))
10189
10189
  x = !0;
@@ -16934,6 +16934,18 @@ const Ja = ir("slide-x-transition"), js = ir("slide-x-reverse-transition"), An =
16934
16934
  }, 1024),
16935
16935
  g.value ? (B(), oe(Xd, { key: 0 }, {
16936
16936
  default: O(() => [
16937
+ pe(C.$slots, "bottom-left", {
16938
+ bladeData: _,
16939
+ density: C.density,
16940
+ isChanged: M(u).isChanged.value,
16941
+ isEditing: M(u).isEditing.value,
16942
+ isMobile: x,
16943
+ item: M(u).asyncItem.value,
16944
+ mode: M(u).mode.value,
16945
+ refresh: M(u).refresh,
16946
+ save: h,
16947
+ size: M(c)
16948
+ }),
16937
16949
  y(ua),
16938
16950
  y(Ja, { group: "" }, {
16939
16951
  default: O(() => [
@@ -16973,8 +16985,8 @@ const Ja = ir("slide-x-transition"), js = ir("slide-x-reverse-transition"), An =
16973
16985
  _: 1
16974
16986
  })
16975
16987
  ]),
16976
- _: 1
16977
- })) : Q("", !0)
16988
+ _: 2
16989
+ }, 1024)) : Q("", !0)
16978
16990
  ]),
16979
16991
  _: 2
16980
16992
  }, 1032, ["flat", "style"])) : Q("", !0),
package/dist/index.d.ts CHANGED
@@ -1345,7 +1345,7 @@ declare type OnGetAsync<T> = (opt?: StorePathOptions) => Promise<StoreGetReturn<
1345
1345
 
1346
1346
  declare type OnGetSuccessAsync<T, TReturn> = (item: StoreGetReturn<T | T[]>, opt?: StorePathOptions) => Promise<StoreGetReturn<T | T[] | TReturn | TReturn[]> | undefined>;
1347
1347
 
1348
- export declare function orderBy(arr: any[], prop?: string | ((item: any) => boolean | number | string) | undefined, asc?: true | false): any[];
1348
+ export declare function orderBy<T>(arr: T[], prop?: keyof T | ((item: T) => boolean | number | string), asc?: true | false): T[];
1349
1349
 
1350
1350
  export declare interface PathOptions {
1351
1351
  /**always added to end before query {url}/{additionalUrl}?{query} */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.784",
3
+ "version": "1.4.786",
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": {