@devtron-labs/devtron-fe-common-lib 0.2.2-beta-23 → 0.2.3-beta-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 (56) hide show
  1. package/dist/Common/CodeEditor/types.d.ts +0 -1
  2. package/dist/Common/Constants.d.ts +7 -2
  3. package/dist/Common/RJSF/constants.d.ts +0 -5
  4. package/dist/Common/RJSF/index.d.ts +0 -1
  5. package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +1 -1
  6. package/dist/Common/Security/types.d.ts +4 -0
  7. package/dist/Common/Types.d.ts +2 -2
  8. package/dist/Pages/GlobalConfigurations/index.d.ts +0 -1
  9. package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
  10. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
  11. package/dist/Shared/Components/CICDHistory/LogsRenderer.d.ts +1 -1
  12. package/dist/Shared/Components/CICDHistory/TriggerOutput.d.ts +1 -1
  13. package/dist/Shared/Components/CICDHistory/types.d.ts +18 -17
  14. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -0
  15. package/dist/Shared/Components/CommitChipCell/types.d.ts +1 -1
  16. package/dist/Shared/Components/FilterButton/FilterButton.d.ts +5 -0
  17. package/dist/Shared/Components/FilterButton/index.d.ts +1 -0
  18. package/dist/Shared/Components/FilterButton/types.d.ts +12 -0
  19. package/dist/Shared/Components/FilterButton/utils.d.ts +15 -0
  20. package/dist/Shared/Components/ImageChipCell/ImageChipCell.component.d.ts +1 -1
  21. package/dist/Shared/Components/ImageChipCell/types.d.ts +13 -5
  22. package/dist/Shared/Components/ShowMoreText/ShowMoreText.d.ts +3 -2
  23. package/dist/Shared/Components/ShowMoreText/index.d.ts +1 -0
  24. package/dist/Shared/Components/Vulnerabilities/utils.d.ts +1 -0
  25. package/dist/Shared/Components/index.d.ts +2 -1
  26. package/dist/Shared/Helpers.d.ts +5 -1
  27. package/dist/Shared/constants.d.ts +3 -0
  28. package/dist/Shared/types.d.ts +12 -7
  29. package/dist/Shared/validations.d.ts +0 -1
  30. package/dist/assets/index.css +1 -1
  31. package/dist/{cssMode-3a640c3a.js → cssMode-8fb8b790.js} +1 -1
  32. package/dist/{freemarker2-7fcef7e9.js → freemarker2-995272c2.js} +1 -1
  33. package/dist/{handlebars-bb8d8c8f.js → handlebars-488b9ab2.js} +1 -1
  34. package/dist/{html-d9d12fbc.js → html-29a30b4c.js} +1 -1
  35. package/dist/{htmlMode-6f5e366b.js → htmlMode-27ac6ccb.js} +1 -1
  36. package/dist/{index-50b1e60a.js → index-9bcc37ee.js} +23805 -24123
  37. package/dist/index.js +365 -365
  38. package/dist/{javascript-ee21afc6.js → javascript-b0dedf73.js} +1 -1
  39. package/dist/{jsonMode-f243ae3a.js → jsonMode-f24e9ab8.js} +1 -1
  40. package/dist/{liquid-210197a2.js → liquid-638515ff.js} +1 -1
  41. package/dist/{mdx-47b9f654.js → mdx-7729930e.js} +1 -1
  42. package/dist/{python-d072ae6f.js → python-146a5cbb.js} +1 -1
  43. package/dist/{razor-bbc7aba8.js → razor-9def85e5.js} +1 -1
  44. package/dist/{tsMode-e3a0b064.js → tsMode-642b745b.js} +1 -1
  45. package/dist/{typescript-e0f3eca9.js → typescript-8d575a81.js} +1 -1
  46. package/dist/{xml-1408e523.js → xml-a4ff7457.js} +1 -1
  47. package/dist/{yaml-81fab749.js → yaml-b0c572b8.js} +1 -1
  48. package/package.json +1 -1
  49. package/dist/Pages/GlobalConfigurations/DeploymentCharts/basicViewSchema.json.d.ts +0 -273
  50. package/dist/Pages/GlobalConfigurations/DeploymentCharts/fallbackJobsNCronJobGuiSchema.json.d.ts +0 -157
  51. package/dist/Pages/GlobalConfigurations/DeploymentCharts/index.d.ts +0 -2
  52. package/dist/Pages/GlobalConfigurations/DeploymentCharts/types.d.ts +0 -24
  53. package/dist/Pages/GlobalConfigurations/DeploymentCharts/utils.d.ts +0 -4
  54. package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +0 -4
  55. package/dist/Shared/Components/ScannedObjectBar/index.d.ts +0 -1
  56. package/dist/Shared/Components/ScannedObjectBar/types.d.ts +0 -7
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-e0f3eca9.js";
1
+ import { conf as t, language as e } from "./typescript-8d575a81.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var Ge = Object.defineProperty;
2
2
  var Qe = (e, n, i) => n in e ? Ge(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var C = (e, n, i) => (Qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ze } from "./index-50b1e60a.js";
4
+ import { m as Ze } from "./index-9bcc37ee.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-50b1e60a.js";
1
+ import { m as d } from "./index-9bcc37ee.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as d } from "./index-50b1e60a.js";
1
+ import { m as d } from "./index-9bcc37ee.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as a } from "./index-50b1e60a.js";
1
+ import { m as a } from "./index-9bcc37ee.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-50b1e60a.js";
1
+ import { m as s } from "./index-9bcc37ee.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,7 +1,7 @@
1
1
  var M = Object.defineProperty;
2
2
  var R = (e, t, r) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var _ = (e, t, r) => (R(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { t as K, m as E } from "./index-50b1e60a.js";
4
+ import { t as K, m as E } from "./index-9bcc37ee.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as a } from "./index-50b1e60a.js";
1
+ import { m as a } from "./index-9bcc37ee.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m } from "./index-50b1e60a.js";
1
+ import { m } from "./index-9bcc37ee.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
@@ -1,4 +1,4 @@
1
- import { m as i } from "./index-50b1e60a.js";
1
+ import { m as i } from "./index-9bcc37ee.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.2.2-beta-23",
3
+ "version": "0.2.3-beta-1",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,273 +0,0 @@
1
- declare const _default: {
2
- "type": "object",
3
- "properties": {
4
- "args": {
5
- "type": "object",
6
- "title": "Arguments",
7
- "properties": {
8
- "value": {
9
- "type": "array",
10
- "items": {
11
- "type": "string"
12
- },
13
- "title": "Value",
14
- "hidden": {
15
- "condition": false,
16
- "match": "enabled"
17
- }
18
- },
19
- "enabled": {
20
- "type": "boolean",
21
- "title": "Enabled"
22
- }
23
- }
24
- },
25
- "command": {
26
- "type": "object",
27
- "title": "Command",
28
- "properties": {
29
- "value": {
30
- "type": "array",
31
- "items": {
32
- "type": "string"
33
- },
34
- "title": "Value",
35
- "hidden": {
36
- "condition": false,
37
- "match": "enabled"
38
- }
39
- },
40
- "enabled": {
41
- "type": "boolean",
42
- "title": "Enabled"
43
- }
44
- }
45
- },
46
- "ingress": {
47
- "type": "object",
48
- "title": "HTTP Requests Routes",
49
- "properties": {
50
- "className": {
51
- "type": "string",
52
- "title": "Class",
53
- "hidden": {
54
- "condition": false,
55
- "match": "enabled"
56
- }
57
- },
58
- "hosts": {
59
- "type": "array",
60
- "items": {
61
- "type": "object",
62
- "properties": {
63
- "host": {
64
- "type": "string"
65
- },
66
- "paths": {
67
- "type": "array",
68
- "items": {
69
- "type": "string"
70
- }
71
- }
72
- }
73
- },
74
- "hidden": {
75
- "condition": false,
76
- "match": "enabled"
77
- }
78
- },
79
- "enabled": {
80
- "type": "boolean",
81
- "title": "Enable HTTP Requests Routes"
82
- }
83
- }
84
- },
85
- "resources": {
86
- "type": "object",
87
- "title": "Resources (CPU & RAM)",
88
- "properties": {
89
- "limits": {
90
- "type": "object",
91
- "required": ["cpu", "memory"],
92
- "properties": {
93
- "cpu": {
94
- "type": "string"
95
- },
96
- "memory": {
97
- "type": "string"
98
- }
99
- }
100
- },
101
- "requests": {
102
- "type": "object",
103
- "properties": {
104
- "cpu": {
105
- "type": "string"
106
- },
107
- "memory": {
108
- "type": "string"
109
- }
110
- }
111
- }
112
- }
113
- },
114
- "autoscaling": {
115
- "type": "object",
116
- "title": "Autoscaling",
117
- "properties": {
118
- "MaxReplicas": {
119
- "type": ["integer", "string"],
120
- "title": "Maximum Replicas",
121
- "pattern": "^[a-zA-Z0-9-+\/*%_\\s]+$",
122
- "hidden": {
123
- "condition": false,
124
- "match": "enabled"
125
- }
126
- },
127
- "MinReplicas": {
128
- "type": ["integer", "string"],
129
- "title": "Minimum Replicas",
130
- "pattern": "^[a-zA-Z0-9-+\/*%_\\s]+$",
131
- "hidden": {
132
- "condition": false,
133
- "match": "enabled"
134
- }
135
- },
136
- "TargetCPUUtilizationPercentage": {
137
- "type": ["integer", "string"],
138
- "title": "Target CPU Utilization Percentage",
139
- "pattern": "^[a-zA-Z0-9-+\/*%_\\s]+$",
140
- "hidden": {
141
- "condition": false,
142
- "match": "enabled"
143
- }
144
- },
145
- "TargetMemoryUtilizationPercentage": {
146
- "type": ["integer", "string"],
147
- "title": "TargetMemoryUtilizationPercentage",
148
- "pattern": "^[a-zA-Z0-9-+\/*%_\\s]+$",
149
- "hidden": {
150
- "condition": false,
151
- "match": "enabled"
152
- }
153
- },
154
- "enabled": {
155
- "type": "boolean",
156
- "title": "Enabled"
157
- }
158
- }
159
- },
160
- "EnvVariables": {
161
- "type": "array",
162
- "items": {
163
- "type": "object",
164
- "properties": {
165
- "key": {
166
- "type": "string"
167
- },
168
- "value": {
169
- "type": "string"
170
- }
171
- }
172
- },
173
- "title": "Environment Variables"
174
- },
175
- "ContainerPort": {
176
- "type": "array",
177
- "items": {
178
- "type": "object",
179
- "properties": {
180
- "port": {
181
- "type": ["integer", "string"]
182
- },
183
- "servicePort": {
184
- "type": ["integer", "string"]
185
- }
186
- },
187
- "required": ["port", "servicePort"]
188
- },
189
- "title": "Container Port"
190
- },
191
- "service": {
192
- "type": "object",
193
- "title": "Service",
194
- "properties": {
195
- "type": {
196
- "type": "string",
197
- "title": "Type"
198
- },
199
- "annotations": {
200
- "type": "object",
201
- "additionalProperties": {
202
- "type": "string"
203
- },
204
- "title": "Annotations"
205
- }
206
- }
207
- },
208
- "ReadinessProbe": {
209
- "type": "object",
210
- "title": "Readiness Probe",
211
- "properties": {
212
- "Path": {
213
- "type": "string"
214
- },
215
- "port": {
216
- "type": ["integer", "string"]
217
- }
218
- }
219
- },
220
- "LivenessProbe": {
221
- "type": "object",
222
- "title": "Liveness Probe",
223
- "properties": {
224
- "Path": {
225
- "type": "string"
226
- },
227
- "port": {
228
- "type": ["integer", "string"]
229
- }
230
- }
231
- },
232
- "tolerations": {
233
- "type": "array",
234
- "items": {
235
- "type": "object",
236
- "properties": {
237
- "key": {
238
- "type": "string"
239
- },
240
- "operator": {
241
- "type": "string",
242
- "pattern": "Equal|Exists"
243
- },
244
- "value": {
245
- "type": "string"
246
- },
247
- "effect": {
248
- "type": "string",
249
- "pattern": "NoSchedule|PreferNoSchedule|NoExecute"
250
- }
251
- }
252
- }
253
- },
254
- "serviceAccount": {
255
- "type": "object",
256
- "properties": {
257
- "create": {
258
- "type": "boolean"
259
- },
260
- "name": {
261
- "type": "string",
262
- "hidden": {
263
- "condition": false,
264
- "match": "create"
265
- }
266
- }
267
- }
268
- }
269
- }
270
- }
271
- ;
272
-
273
- export default _default;
@@ -1,157 +0,0 @@
1
- declare const _default: {
2
- "type": "object",
3
- "properties": {
4
- "args": {
5
- "type": "object",
6
- "title": "Arguments",
7
- "properties": {
8
- "value": {
9
- "type": "array",
10
- "items": {
11
- "type": "string"
12
- },
13
- "title": "Value",
14
- "hidden": {
15
- "condition": false,
16
- "match": "enabled"
17
- }
18
- },
19
- "enabled": {
20
- "type": "boolean",
21
- "title": "Enabled"
22
- }
23
- }
24
- },
25
- "command": {
26
- "type": "object",
27
- "title": "Command",
28
- "properties": {
29
- "value": {
30
- "type": "array",
31
- "items": {
32
- "type": "string"
33
- },
34
- "title": "Value",
35
- "hidden": {
36
- "condition": false,
37
- "match": "enabled"
38
- }
39
- },
40
- "enabled": {
41
- "type": "boolean",
42
- "title": "Enabled"
43
- }
44
- }
45
- },
46
- "resources": {
47
- "type": "object",
48
- "title": "Resources (CPU & RAM)",
49
- "properties": {
50
- "limits": {
51
- "type": "object",
52
- "required": ["cpu", "memory"],
53
- "properties": {
54
- "cpu": {
55
- "type": "string"
56
- },
57
- "memory": {
58
- "type": "string"
59
- }
60
- }
61
- },
62
- "requests": {
63
- "type": "object",
64
- "properties": {
65
- "cpu": {
66
- "type": "string"
67
- },
68
- "memory": {
69
- "type": "string"
70
- }
71
- }
72
- }
73
- }
74
- },
75
- "EnvVariables": {
76
- "type": "array",
77
- "items": {
78
- "type": "object",
79
- "properties": {
80
- "key": {
81
- "type": "string"
82
- },
83
- "value": {
84
- "type": "string"
85
- }
86
- }
87
- },
88
- "title": "Environment Variables"
89
- },
90
- "service": {
91
- "type": "object",
92
- "title": "Service",
93
- "properties": {
94
- "type": {
95
- "type": "string",
96
- "title": "Type"
97
- },
98
- "annotations": {
99
- "type": "object",
100
- "additionalProperties": {
101
- "type": "string"
102
- },
103
- "title": "Annotations"
104
- }
105
- }
106
- },
107
- "ReadinessProbe": {
108
- "type": "object",
109
- "title": "Readiness Probe",
110
- "properties": {
111
- "Path": {
112
- "type": "string"
113
- },
114
- "port": {
115
- "type": ["integer", "string"]
116
- }
117
- }
118
- },
119
- "LivenessProbe": {
120
- "type": "object",
121
- "title": "Liveness Probe",
122
- "properties": {
123
- "Path": {
124
- "type": "string"
125
- },
126
- "port": {
127
- "type": ["integer", "string"]
128
- }
129
- }
130
- },
131
- "tolerations": {
132
- "type": "array",
133
- "items": {
134
- "type": "object",
135
- "properties": {
136
- "key": {
137
- "type": "string"
138
- },
139
- "operator": {
140
- "type": "string",
141
- "pattern": "Equal|Exists"
142
- },
143
- "value": {
144
- "type": "string"
145
- },
146
- "effect": {
147
- "type": "string",
148
- "pattern": "NoSchedule|PreferNoSchedule|NoExecute"
149
- }
150
- }
151
- }
152
- }
153
- }
154
- }
155
- ;
156
-
157
- export default _default;
@@ -1,2 +0,0 @@
1
- export * from './types';
2
- export { convertDeploymentChartListToChartType, getGuiSchemaFromChartName } from './utils';
@@ -1,24 +0,0 @@
1
- export type DeploymentChartListDTO = Array<{
2
- id: number;
3
- chartDescription?: string;
4
- isUserUploaded: boolean;
5
- name: string;
6
- version: string;
7
- }>;
8
- interface DeploymentChartVersionsType {
9
- id: number;
10
- version: string;
11
- description: string;
12
- }
13
- export interface DeploymentChartType {
14
- name: string;
15
- isUserUploaded: boolean;
16
- versions: DeploymentChartVersionsType[];
17
- }
18
- export declare enum DEVTRON_DEPLOYMENT_CHART_NAMES {
19
- JOB_AND_CRONJOB_CHART_NAME = "Job & CronJob",
20
- ROLLOUT_DEPLOYMENT = "Rollout Deployment",
21
- DEPLOYMENT = "Deployment",
22
- STATEFUL_SET = "StatefulSet"
23
- }
24
- export {};
@@ -1,4 +0,0 @@
1
- import { DeploymentChartListDTO, DeploymentChartType } from './types';
2
-
3
- export declare const convertDeploymentChartListToChartType: (data: DeploymentChartListDTO) => DeploymentChartType[];
4
- export declare const getGuiSchemaFromChartName: (chartName: string) => {};
@@ -1,4 +0,0 @@
1
- import { ScannedObjectBarProps } from './types';
2
-
3
- declare const ScannedObjectBar: ({ criticalVulnerabilitiesCount, moderateVulnerabilitiesCount, lowVulnerabilitiesCount, objectBarClassName, removeObjectCountMargin, }: ScannedObjectBarProps) => JSX.Element;
4
- export default ScannedObjectBar;
@@ -1 +0,0 @@
1
- export { default as ScannedObjectBar } from './ScannedObjectBar';
@@ -1,7 +0,0 @@
1
- export interface ScannedObjectBarProps {
2
- criticalVulnerabilitiesCount: number;
3
- moderateVulnerabilitiesCount: number;
4
- lowVulnerabilitiesCount: number;
5
- objectBarClassName?: string;
6
- removeObjectCountMargin?: boolean;
7
- }