mixlea-utils-js 0.1.79 → 0.1.80
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/mixlea-utils-js.js +768 -760
- package/dist/mixlea-utils-js.umd.js +2 -2
- package/dist/types/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1048,8 +1048,12 @@ export declare function numberToInt(input: any, method?: 'floor' | 'ceil' | 'rou
|
|
|
1048
1048
|
|
|
1049
1049
|
export declare function objectArrayExpressionCalcInject(arr: Record<string, any>[], injects: Record<string, string>): Record<string, any>[];
|
|
1050
1050
|
|
|
1051
|
+
export declare function objectArrayMaxField<T extends Record<string, any>, K extends keyof T>(arr: T[], field: K, defaultValue?: T[K]): number;
|
|
1052
|
+
|
|
1051
1053
|
export declare function objectArrayMerge<T extends Record<string, any>>(arr: T[], classNames: string[], mergeCallback?: (mergeRecord: T, item: T) => T): T[];
|
|
1052
1054
|
|
|
1055
|
+
export declare function objectArrayMinField<T extends Record<string, any>, K extends keyof T>(arr: T[], field: K, defaultValue?: T[K]): number;
|
|
1056
|
+
|
|
1053
1057
|
export declare function objectArrayPick(arr: Record<string, any>[], pick: string): any[];
|
|
1054
1058
|
|
|
1055
1059
|
export declare function objectArrayResetFields<T extends Record<string, any>>(arr: T[], resetFields: Record<string, any>): T[];
|