@devtron-labs/devtron-fe-common-lib 0.0.42-beta-6 → 0.0.42-beta-7
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/Helper.d.ts +1 -13
- package/dist/Common/Types.d.ts +1 -0
- package/dist/Common/index.d.ts +0 -1
- package/dist/index.js +19595 -22330
- package/package.json +1 -4
- package/src/Common/Helper.tsx +6 -28
- package/src/Common/Types.ts +1 -0
- package/src/Common/index.ts +0 -1
- package/dist/Common/RJSF/Form.d.ts +0 -4
- package/dist/Common/RJSF/common/FieldRow.d.ts +0 -6
- package/dist/Common/RJSF/common/types.d.ts +0 -8
- package/dist/Common/RJSF/config.d.ts +0 -4
- package/dist/Common/RJSF/constants.d.ts +0 -7
- package/dist/Common/RJSF/index.d.ts +0 -3
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +0 -3
- package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +0 -3
- package/dist/Common/RJSF/templates/BaseInput.d.ts +0 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +0 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +0 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +0 -3
- package/dist/Common/RJSF/templates/ButtonTemplates/index.d.ts +0 -3
- package/dist/Common/RJSF/templates/Description.d.ts +0 -3
- package/dist/Common/RJSF/templates/Field.d.ts +0 -3
- package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +0 -3
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +0 -3
- package/dist/Common/RJSF/templates/TitleField.d.ts +0 -3
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +0 -3
- package/dist/Common/RJSF/templates/index.d.ts +0 -10
- package/dist/Common/RJSF/types.d.ts +0 -3
- package/dist/Common/RJSF/utils.d.ts +0 -26
- package/dist/Common/RJSF/widgets/Checkbox.d.ts +0 -3
- package/dist/Common/RJSF/widgets/Select.d.ts +0 -3
- package/dist/Common/RJSF/widgets/index.d.ts +0 -2
- package/src/Assets/Icon/ic-chevron-down.svg +0 -5
- package/src/Common/RJSF/Form.tsx +0 -29
- package/src/Common/RJSF/common/FieldRow.tsx +0 -35
- package/src/Common/RJSF/common/types.ts +0 -9
- package/src/Common/RJSF/config.ts +0 -37
- package/src/Common/RJSF/constants.ts +0 -10
- package/src/Common/RJSF/index.ts +0 -3
- package/src/Common/RJSF/rjsfForm.scss +0 -18
- package/src/Common/RJSF/templates/ArrayFieldItemTemplate.tsx +0 -31
- package/src/Common/RJSF/templates/ArrayFieldTemplate.tsx +0 -78
- package/src/Common/RJSF/templates/BaseInput.tsx +0 -16
- package/src/Common/RJSF/templates/ButtonTemplates/AddButton.tsx +0 -18
- package/src/Common/RJSF/templates/ButtonTemplates/RemoveButton.tsx +0 -10
- package/src/Common/RJSF/templates/ButtonTemplates/SubmitButton.tsx +0 -18
- package/src/Common/RJSF/templates/ButtonTemplates/index.ts +0 -3
- package/src/Common/RJSF/templates/Description.tsx +0 -12
- package/src/Common/RJSF/templates/Field.tsx +0 -30
- package/src/Common/RJSF/templates/FieldErrorTemplate.tsx +0 -25
- package/src/Common/RJSF/templates/ObjectFieldTemplate.tsx +0 -105
- package/src/Common/RJSF/templates/TitleField.tsx +0 -9
- package/src/Common/RJSF/templates/WrapIfAdditionalTemplate.tsx +0 -51
- package/src/Common/RJSF/templates/index.ts +0 -10
- package/src/Common/RJSF/types.ts +0 -4
- package/src/Common/RJSF/utils.ts +0 -123
- package/src/Common/RJSF/widgets/Checkbox.tsx +0 -44
- package/src/Common/RJSF/widgets/Select.tsx +0 -77
- package/src/Common/RJSF/widgets/index.ts +0 -2
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as Sentry from '@sentry/browser';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import { AsyncOptions, UseSearchString } from './Types';
|
|
4
3
|
export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
|
|
@@ -12,7 +11,7 @@ export declare function sortCallback(key: string, a: any, b: any, isCaseSensitiv
|
|
|
12
11
|
export declare const stopPropagation: (event: any) => void;
|
|
13
12
|
export declare function useThrottledEffect(callback: any, delay: any, deps?: any[]): void;
|
|
14
13
|
export declare function getRandomColor(email: string): string;
|
|
15
|
-
export declare const getAlphabetIcon: (str: string) => JSX.Element;
|
|
14
|
+
export declare const getAlphabetIcon: (str: string, intialAlphabetClassName?: string) => JSX.Element;
|
|
16
15
|
export declare const getEmptyArrayOfLength: (length: number) => unknown[];
|
|
17
16
|
export declare function noop(...args: any[]): any;
|
|
18
17
|
export declare function not(e: any): boolean;
|
|
@@ -53,15 +52,4 @@ export declare const closeOnEscKeyPressed: (e: any, actionClose: () => void) =>
|
|
|
53
52
|
export declare function copyToClipboard(str: any, callback?: typeof noop): void;
|
|
54
53
|
export declare function useAsync<T>(func: (...rest: any[]) => Promise<T>, dependencyArray?: any[], shouldRun?: boolean, options?: AsyncOptions): [boolean, T, any | null, () => void, React.Dispatch<any>, any[]];
|
|
55
54
|
export declare const processDeployedTime: (lastDeployed: any, isArgoInstalled: any) => string;
|
|
56
|
-
/**
|
|
57
|
-
* Appends search parameters to the url as a query string
|
|
58
|
-
*
|
|
59
|
-
* @param url URL to which the search params needs to be added
|
|
60
|
-
* @param params Object for the search parameters
|
|
61
|
-
*/
|
|
62
|
-
export declare const getUrlWithSearchParams: (url: string, params: Record<string | number, any>) => string;
|
|
63
|
-
/**
|
|
64
|
-
* Custom exception logger function for logging errors to sentry
|
|
65
|
-
*/
|
|
66
|
-
export declare const logExceptionToSentry: typeof Sentry.captureException;
|
|
67
55
|
export {};
|
package/dist/Common/Types.d.ts
CHANGED
package/dist/Common/index.d.ts
CHANGED