@devtron-labs/devtron-fe-common-lib 0.0.86-beta-16 → 0.0.86-patch-1

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.
Files changed (33) hide show
  1. package/dist/Shared/Components/IframeContainer/IframeContainer.component.d.ts +4 -0
  2. package/dist/Shared/Components/IframeContainer/IframeElement.d.ts +4 -0
  3. package/dist/Shared/Components/IframeContainer/index.d.ts +1 -0
  4. package/dist/Shared/Components/IframeContainer/types.d.ts +15 -0
  5. package/dist/Shared/Components/index.d.ts +1 -0
  6. package/dist/Shared/Helpers.d.ts +0 -1
  7. package/dist/Shared/constants.d.ts +0 -1
  8. package/dist/Shared/index.d.ts +0 -1
  9. package/dist/Shared/types.d.ts +0 -13
  10. package/dist/assets/index.css +1 -1
  11. package/dist/{cssMode-7c84765c.js → cssMode-4c770dca.js} +1 -1
  12. package/dist/{freemarker2-d8c9358e.js → freemarker2-afbe626b.js} +1 -1
  13. package/dist/{handlebars-fd825605.js → handlebars-95c3703c.js} +1 -1
  14. package/dist/{html-81de371d.js → html-9e5701fc.js} +1 -1
  15. package/dist/{htmlMode-1a0f3674.js → htmlMode-d958f783.js} +1 -1
  16. package/dist/{index-9507967e.js → index-1d3ad3db.js} +9655 -9586
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.js +261 -264
  19. package/dist/{javascript-fb87b4de.js → javascript-a3bbe51d.js} +1 -1
  20. package/dist/{jsonMode-34c3cbf6.js → jsonMode-0a06dd04.js} +1 -1
  21. package/dist/{liquid-e25bd0b6.js → liquid-55147fa0.js} +1 -1
  22. package/dist/{mdx-627a6d6c.js → mdx-91847f1b.js} +1 -1
  23. package/dist/{python-bc873be1.js → python-702f06d4.js} +1 -1
  24. package/dist/{razor-e1e60b0a.js → razor-18c762d3.js} +1 -1
  25. package/dist/{tsMode-6f1812e4.js → tsMode-39d77941.js} +1 -1
  26. package/dist/{typescript-19b47b54.js → typescript-ec47f980.js} +1 -1
  27. package/dist/{xml-5a6bf12c.js → xml-ed3fb45c.js} +1 -1
  28. package/dist/{yaml-1d814f9b.js → yaml-06727524.js} +1 -1
  29. package/package.json +1 -1
  30. package/dist/Shared/Hooks/UsePrompt/UsePrompt.d.ts +0 -8
  31. package/dist/Shared/Hooks/UsePrompt/index.d.ts +0 -1
  32. package/dist/Shared/Hooks/UsePrompt/types.d.ts +0 -6
  33. package/dist/Shared/Hooks/index.d.ts +0 -1
@@ -0,0 +1,4 @@
1
+ import { IframeContainerProps } from './types';
2
+
3
+ declare const IframeContainer: ({ iframeList, maxHeight, maxWidth }: IframeContainerProps) => JSX.Element;
4
+ export default IframeContainer;
@@ -0,0 +1,4 @@
1
+ import { IframeElementProps } from './types';
2
+
3
+ declare const IframeElement: ({ URL, width, height, title, maxHeight, maxWidth }: IframeElementProps) => JSX.Element;
4
+ export default IframeElement;
@@ -0,0 +1 @@
1
+ export { default as IframeContainer } from './IframeContainer.component';
@@ -0,0 +1,15 @@
1
+ interface IframeData {
2
+ URL: string;
3
+ width: number;
4
+ height: number;
5
+ title: string;
6
+ order?: number;
7
+ }
8
+ export interface IframeContainerProps {
9
+ iframeList: IframeData[];
10
+ maxHeight?: number;
11
+ maxWidth?: number;
12
+ }
13
+ export interface IframeElementProps extends Pick<IframeData, 'URL' | 'width' | 'height' | 'title'>, Pick<IframeContainerProps, 'maxHeight' | 'maxWidth'> {
14
+ }
15
+ export {};
@@ -17,3 +17,4 @@ export * from './Header';
17
17
  export * from './AnnouncementBanner';
18
18
  export * from './ButtonWithLoader';
19
19
  export * from './ButtonWithSelector';
20
+ export * from './IframeContainer';
@@ -23,6 +23,5 @@ export declare const stringComparatorBySortOrder: (a: string, b: string, sortOrd
23
23
  export declare const numberComparatorBySortOrder: (a: number, b: number, sortOrder?: SortingOrder) => number;
24
24
  export declare const getWebhookEventIcon: (eventName: WebhookEventNameType) => JSX.Element;
25
25
  export declare const isNullOrUndefined: (value: unknown) => boolean;
26
- export declare const handleDisableSubmitOnEnter: (event: React.KeyboardEvent<HTMLFormElement>) => void;
27
26
  export declare const getKeyToBooleanMapFromArray: <T extends string | number>(arr?: T[]) => Record<T, boolean>;
28
27
  export {};
@@ -29,7 +29,6 @@ export declare const ModuleNameMap: {
29
29
  };
30
30
  export declare const DATE_TIME_FORMAT_STRING = "ddd DD MMM YYYY HH:mm:ss";
31
31
  export declare const API_TOKEN_PREFIX = "API-TOKEN:";
32
- export declare const DEFAULT_SECRET_PLACEHOLDER = "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022";
33
32
  export declare enum PatchOperationType {
34
33
  replace = "replace",
35
34
  remove = "remove"
@@ -5,4 +5,3 @@ export * from './constants';
5
5
  export * from './types';
6
6
  export * from './Providers';
7
7
  export * from './constants';
8
- export * from './Hooks';
@@ -265,16 +265,3 @@ export declare enum AggregationKeys {
265
265
  Namespaces = "Namespaces"
266
266
  }
267
267
  export type AggregationKeysType = keyof typeof AggregationKeys;
268
- export declare enum GitOpsAuthModeType {
269
- SSH = "SSH",
270
- PASSWORD = "PASSWORD",
271
- SSH_AND_PASSWORD = "PAT_AND_SSH"
272
- }
273
- export interface BaseGitOpsType {
274
- authMode: GitOpsAuthModeType;
275
- sshKey: string;
276
- sshHost: string;
277
- username: string;
278
- token: string;
279
- }
280
- export type GitOpsFieldKeyType = 'host' | 'username' | 'token' | 'gitHubOrgId' | 'azureProjectName' | 'gitLabGroupId' | 'bitBucketWorkspaceId' | 'bitBucketProjectKey' | 'sshHost' | 'sshKey';