@devtron-labs/devtron-fe-common-lib 0.0.70-beta-4 → 0.0.70-beta-6
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/Common/Constants.d.ts +8 -0
- package/dist/Common/Helper.d.ts +1 -1
- package/dist/index.js +4556 -4530
- package/package.json +1 -1
|
@@ -139,6 +139,14 @@ export declare enum FREQUENCY_ENUM {
|
|
|
139
139
|
export declare const TIME_FORMAT: {
|
|
140
140
|
DD_MMM_YYYY_HH_MM: string;
|
|
141
141
|
};
|
|
142
|
+
export declare function getOrdinal(number: any): string;
|
|
143
|
+
export declare const TIME_HOUR_SUFFIX_FOR_12_HOUR_FORMAT: {
|
|
144
|
+
AM: string;
|
|
145
|
+
PM: string;
|
|
146
|
+
MIDNIGHT: string;
|
|
147
|
+
NOON: string;
|
|
148
|
+
};
|
|
149
|
+
export declare const getTimeStampAMPMSuffix: (time: string) => string;
|
|
142
150
|
export declare enum ReactSelectInputAction {
|
|
143
151
|
inputChange = "input-change",
|
|
144
152
|
selectOption = "select-option",
|
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ interface ConditionalWrapper<T> {
|
|
|
7
7
|
children: T;
|
|
8
8
|
}
|
|
9
9
|
export declare const ConditionalWrap: React.FC<ConditionalWrapper<any>>;
|
|
10
|
-
export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean):
|
|
10
|
+
export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 1 | 0 | -1;
|
|
11
11
|
export declare const stopPropagation: (event: any) => void;
|
|
12
12
|
export declare function useThrottledEffect(callback: any, delay: any, deps?: any[]): void;
|
|
13
13
|
export declare function getRandomColor(email: string): string;
|