bt-core-app 2.1.32 → 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 +5 -8
- package/dist/index.d.ts +1 -3
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -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;
|
|
@@ -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