bt-core-app 2.1.31 → 2.1.33
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/bt-core-app.js +6 -9
- package/dist/index.d.ts +2 -4
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -5749,7 +5749,7 @@ function zoe() {
|
|
|
5749
5749
|
}
|
|
5750
5750
|
function Hoe(e, t, a) {
|
|
5751
5751
|
var n = "";
|
|
5752
|
-
return Gt(e) || (n = e), Gt(t) || (n = n.length == 0 ? t : `${n} ${t}`), n.length == 0 && !Gt(a) && (n = a), n;
|
|
5752
|
+
return Gt(e) || (n = e), Gt(t) || (n = n.length == 0 ? t : `${n} ${t}`), n.length == 0 && !Gt(a) && (n = a), n.length > 0 ? n : void 0;
|
|
5753
5753
|
}
|
|
5754
5754
|
function FT(e, t, a, n) {
|
|
5755
5755
|
let l = a ?? [];
|
|
@@ -5847,14 +5847,11 @@ function RT(e, t) {
|
|
|
5847
5847
|
a.some((l) => t(n) == t(l)) || a.push(n);
|
|
5848
5848
|
}), a;
|
|
5849
5849
|
}
|
|
5850
|
-
function Goe(e, t) {
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
const r = a.get(l);
|
|
5856
|
-
r ? r.push(n) : a.set(l, [n]);
|
|
5857
|
-
}), a;
|
|
5850
|
+
function Goe(e, t, a) {
|
|
5851
|
+
return e == null ? /* @__PURE__ */ new Map() : e.reduce((n, l) => {
|
|
5852
|
+
const r = t(l) ?? a, i = n.get(r);
|
|
5853
|
+
return i ? i.push(l) : n.set(r, [l]), n;
|
|
5854
|
+
}, /* @__PURE__ */ new Map());
|
|
5858
5855
|
}
|
|
5859
5856
|
function nP(e, t) {
|
|
5860
5857
|
const a = /* @__PURE__ */ new Map();
|
package/dist/index.d.ts
CHANGED
|
@@ -1129,7 +1129,7 @@ export declare interface GraphedData {
|
|
|
1129
1129
|
|
|
1130
1130
|
export declare function group<T>(list: T[], keyGetter: string | ((item: T) => string | number)): Map<any, any>;
|
|
1131
1131
|
|
|
1132
|
-
export declare function groupBy<T
|
|
1132
|
+
export declare function groupBy<T>(array: T[], keyGetter: (item: T) => string | undefined, defaultKey: string): Map<string, T[]>;
|
|
1133
1133
|
|
|
1134
1134
|
export declare interface GroupedHeaderOption {
|
|
1135
1135
|
position: number;
|
|
@@ -1664,7 +1664,7 @@ export declare interface PathOptions {
|
|
|
1664
1664
|
|
|
1665
1665
|
export declare type PermissionGroup = string[];
|
|
1666
1666
|
|
|
1667
|
-
export declare function personName(firstName?: string, lastName?: string, userName?: string): string;
|
|
1667
|
+
export declare function personName(firstName?: string, lastName?: string, userName?: string): string | undefined;
|
|
1668
1668
|
|
|
1669
1669
|
export declare interface PointerOrTouchEvent extends PointerEvent, TouchEvent {
|
|
1670
1670
|
}
|
|
@@ -1836,8 +1836,6 @@ export declare interface StorePathOptions extends PathOptions {
|
|
|
1836
1836
|
dateTo?: string;
|
|
1837
1837
|
}
|
|
1838
1838
|
|
|
1839
|
-
declare type StringKeyOf<T extends object> = Extract<keyof T, string>;
|
|
1840
|
-
|
|
1841
1839
|
export declare function sum(array: number[]): number;
|
|
1842
1840
|
|
|
1843
1841
|
export declare interface SWEvent extends Event {
|
package/package.json
CHANGED