mixlea-utils-js 0.1.81 → 0.1.83
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 +134 -130
- package/dist/mixlea-utils-js.umd.js +2 -2
- package/dist/types/index.d.ts +5 -6
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -963,7 +963,7 @@ export declare function mergeProps<T extends Record<string, any>>(base: T, extra
|
|
|
963
963
|
|
|
964
964
|
export declare function moneyFormatter(input: any, opts?: {
|
|
965
965
|
enableBillion?: boolean;
|
|
966
|
-
}): string
|
|
966
|
+
}): string;
|
|
967
967
|
|
|
968
968
|
export declare function multiply(arr: any[], options?: {
|
|
969
969
|
replaceNaNItem?: number;
|
|
@@ -1156,11 +1156,10 @@ export declare function parseURL(path: string): {
|
|
|
1156
1156
|
params: Record<string, string>;
|
|
1157
1157
|
};
|
|
1158
1158
|
|
|
1159
|
-
export declare function percentFormatter
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
precisionPad?: boolean;
|
|
1159
|
+
export declare function percentFormatter(input: any, opts?: {
|
|
1160
|
+
positiveSymbol?: boolean;
|
|
1161
|
+
precision?: number | ((value: number) => number);
|
|
1162
|
+
maxValue?: number;
|
|
1164
1163
|
}): string;
|
|
1165
1164
|
|
|
1166
1165
|
export declare function pickObjectArrayField<T extends Record<string, any>, K extends keyof T>(arr: T[], field: K, defaultValue?: T[K]): T[K][];
|