@devtron-labs/devtron-fe-common-lib 0.1.3-beta-3 → 0.1.3-beta-4

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 (31) hide show
  1. package/dist/Common/AppStatus/constants.d.ts +5 -0
  2. package/dist/Common/Helper.d.ts +0 -3
  3. package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +1 -1
  4. package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -2
  5. package/dist/Common/RJSF/types.d.ts +0 -12
  6. package/dist/Common/RJSF/utils.d.ts +2 -2
  7. package/dist/Common/index.d.ts +0 -1
  8. package/dist/Shared/constants.d.ts +24 -0
  9. package/dist/Shared/types.d.ts +8 -1
  10. package/dist/assets/index.css +1 -1
  11. package/dist/{cssMode-b1abfa5c.js → cssMode-fcc60ae9.js} +1 -1
  12. package/dist/{freemarker2-96cb45cd.js → freemarker2-7491da88.js} +1 -1
  13. package/dist/{handlebars-c6f8d5b8.js → handlebars-dc7630c9.js} +1 -1
  14. package/dist/{html-17dc3d03.js → html-4fbb17ab.js} +1 -1
  15. package/dist/{htmlMode-71f131a7.js → htmlMode-e378c3c0.js} +1 -1
  16. package/dist/{index-ec911362.js → index-e1ef4377.js} +25808 -27463
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.js +395 -397
  19. package/dist/{javascript-a528e0c9.js → javascript-2ff0a654.js} +1 -1
  20. package/dist/{jsonMode-9778db77.js → jsonMode-af3e1bc3.js} +1 -1
  21. package/dist/{liquid-a3579d1f.js → liquid-7b4f5687.js} +1 -1
  22. package/dist/{mdx-0472a04b.js → mdx-16562f9f.js} +1 -1
  23. package/dist/{python-2ae9dc06.js → python-9f2b0842.js} +1 -1
  24. package/dist/{razor-6655bd7a.js → razor-e9fd1b25.js} +1 -1
  25. package/dist/{tsMode-348eb264.js → tsMode-c2d1357a.js} +1 -1
  26. package/dist/{typescript-95a5b593.js → typescript-11b1a103.js} +1 -1
  27. package/dist/{xml-18f059b6.js → xml-20bcc243.js} +1 -1
  28. package/dist/{yaml-6da9adc7.js → yaml-60b03f72.js} +1 -1
  29. package/package.json +1 -2
  30. package/dist/Common/Tippy.d.ts +0 -4
  31. package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +0 -22
@@ -4,6 +4,11 @@ export declare const StatusConstants: {
4
4
  normalCase: string;
5
5
  lowerCase: string;
6
6
  };
7
+ NOT_READY: {
8
+ noSpaceLower: string;
9
+ normalCase: string;
10
+ lowerCase: string;
11
+ };
7
12
  APP_STATUS: {
8
13
  noSpaceLower: string;
9
14
  normalText: string;
@@ -1,5 +1,4 @@
1
1
  import { default as React, SyntheticEvent } from 'react';
2
- import { JSONPathOptions } from 'jsonpath-plus';
3
2
  import { AsyncOptions, UseSearchString } from './Types';
4
3
  import { scrollableInterface } from '../Shared';
5
4
 
@@ -95,8 +94,6 @@ export declare const getRegexMatchPositions: (string: string, regex: RegExp) =>
95
94
  * @returns set of substrings
96
95
  */
97
96
  export declare const powerSetOfSubstringsFromStart: (strings: string[], regex: RegExp) => string[];
98
- export declare const convertJSONPointerToJSONPath: (pointer: string) => string;
99
- export declare const flatMapOfJSONPaths: (paths: string[], json: object, resultType?: JSONPathOptions['resultType']) => string[];
100
97
  /**
101
98
  * Returns a debounced variant of the function
102
99
  */
@@ -1,3 +1,3 @@
1
1
  import { ArrayFieldTemplateItemType } from '@rjsf/utils';
2
2
 
3
- export declare const ArrayFieldItemTemplate: ({ children, disabled, hasToolbar, hasRemove, index, onDropIndexClick, readonly, registry, uiSchema, }: ArrayFieldTemplateItemType) => JSX.Element;
3
+ export declare const ArrayFieldItemTemplate: ({ children, className, disabled, hasToolbar, hasRemove, index, onDropIndexClick, readonly, registry, uiSchema, }: ArrayFieldTemplateItemType) => JSX.Element;
@@ -1,4 +1,3 @@
1
1
  import { ObjectFieldTemplateProps } from '@rjsf/utils';
2
- import { RJSFFormSchema } from '../types';
3
2
 
4
- export declare const ObjectFieldTemplate: (props: ObjectFieldTemplateProps<any, RJSFFormSchema, any>) => JSX.Element;
3
+ export declare const ObjectFieldTemplate: (props: ObjectFieldTemplateProps) => JSX.Element;
@@ -1,16 +1,4 @@
1
1
  import { ComponentProps } from 'react';
2
2
  import { default as RJSFForm } from '@rjsf/core';
3
- import { StrictRJSFSchema } from '@rjsf/utils';
4
3
 
5
4
  export type FormProps = Omit<ComponentProps<typeof RJSFForm>, 'validator'>;
6
- interface Hidden {
7
- condition: boolean;
8
- match: string;
9
- }
10
- export interface RJSFFormSchema extends StrictRJSFSchema {
11
- properties: {
12
- [key: string]: RJSFFormSchema;
13
- };
14
- hidden: Hidden;
15
- }
16
- export {};
@@ -1,5 +1,5 @@
1
1
  import { TranslatableString } from '@rjsf/utils';
2
- import { default as Tippy } from '../Tippy';
2
+ import { default as Tippy } from '@tippyjs/react';
3
3
 
4
4
  /**
5
5
  * Override for the TranslatableString from RJSF
@@ -25,4 +25,4 @@ export declare const getRedirectionProps: (url: string) => import('react').Ancho
25
25
  * Infers the type for json schema from value type
26
26
  */
27
27
  export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
28
- export declare const getTippyWrapperWithContent: (content: any, placement?: React.ComponentProps<typeof Tippy>['placement'], truncateWidth?: number) => (children: any) => JSX.Element;
28
+ export declare const getTippyWrapperWithContent: (content: any, placement?: React.ComponentProps<typeof Tippy>['placement']) => (children: any) => JSX.Element;
@@ -55,4 +55,3 @@ export * from './GenericDescription';
55
55
  export * from './SegmentedBarChart';
56
56
  export * from './CodeEditor';
57
57
  export * from './AppStatus';
58
- export { default as Tippy } from './Tippy';
@@ -348,3 +348,27 @@ export declare const statusColor: {
348
348
  };
349
349
  export declare const APP_STATUS_HEADERS: string[];
350
350
  export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
351
+ export declare const AppListConstants: {
352
+ SAMPLE_NODE_REPO_URL: string;
353
+ CREATE_DEVTRON_APP_URL: string;
354
+ AppTabs: {
355
+ DEVTRON_APPS: string;
356
+ HELM_APPS: string;
357
+ ARGO_APPS: string;
358
+ FLUX_APPS: string;
359
+ };
360
+ AppType: {
361
+ DEVTRON_APPS: string;
362
+ HELM_APPS: string;
363
+ ARGO_APPS: string;
364
+ FLUX_APPS: string;
365
+ };
366
+ FilterType: {
367
+ PROJECT: string;
368
+ CLUTSER: string;
369
+ NAMESPACE: string;
370
+ ENVIRONMENT: string;
371
+ APP_STATUS: string;
372
+ TEMPLATE_TYPE: string;
373
+ };
374
+ };
@@ -124,7 +124,8 @@ export declare enum AppType {
124
124
  DEVTRON_APP = "devtron_app",
125
125
  DEVTRON_HELM_CHART = "devtron_helm_chart",
126
126
  EXTERNAL_HELM_CHART = "external_helm_chart",
127
- EXTERNAL_ARGO_APP = "external_argo_app"
127
+ EXTERNAL_ARGO_APP = "external_argo_app",
128
+ EXTERNAL_FLUX_APP = "external_flux_app"
128
129
  }
129
130
  export interface HelmReleaseStatus {
130
131
  status: string;
@@ -140,6 +141,11 @@ interface MaterialInfo {
140
141
  url: string;
141
142
  webhookData: string;
142
143
  }
144
+ export interface FluxAppStatusDetail {
145
+ status: string;
146
+ message: string;
147
+ reason: string;
148
+ }
143
149
  export interface AppDetails {
144
150
  appId?: number;
145
151
  appName: string;
@@ -181,6 +187,7 @@ export interface AppDetails {
181
187
  helmPackageName?: string;
182
188
  appStatus?: string;
183
189
  chartAvatar?: string;
190
+ FluxAppStatusDetail?: FluxAppStatusDetail;
184
191
  }
185
192
  export declare enum RegistryType {
186
193
  GIT = "git",