@devtron-labs/devtron-fe-common-lib 1.2.5-beta-7 → 1.2.5-beta-8

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 (30) hide show
  1. package/dist/{@code-editor-BlrBCZSA.js → @code-editor-DWIb_Iyh.js} +4118 -4384
  2. package/dist/{@common-rjsf-DnT8mRYJ.js → @common-rjsf-U4GTT51r.js} +2 -2
  3. package/dist/{@framer-motion-DpqjsVGY.js → @framer-motion-DHY98qq3.js} +1 -1
  4. package/dist/@monaco-editor-34kqzg3G.js +70451 -0
  5. package/dist/{@react-dates-DB0ptR9r.js → @react-dates-WNnwjI5S.js} +1 -1
  6. package/dist/{@react-select-CWpbugQg.js → @react-select-BbR996pa.js} +50 -50
  7. package/dist/@vendor-RU8AW1bK.js +20473 -0
  8. package/dist/Common/Common.service.d.ts +2 -1
  9. package/dist/Common/Helper.d.ts +1 -1
  10. package/dist/Common/Types.d.ts +51 -41
  11. package/dist/Common/index.d.ts +0 -1
  12. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +1 -2
  13. package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
  14. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  15. package/dist/Shared/Components/FeatureDescription/types.d.ts +34 -6
  16. package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +1 -3
  17. package/dist/Shared/Helpers.d.ts +4 -3
  18. package/dist/Shared/Services/app.types.d.ts +2 -1
  19. package/dist/Shared/constants.d.ts +7 -0
  20. package/dist/Shared/types.d.ts +17 -6
  21. package/dist/assets/@monaco-editor.css +1 -0
  22. package/dist/index.js +568 -565
  23. package/dist/yaml.worker.d.ts +0 -0
  24. package/package.json +2 -3
  25. package/dist/@vendor-BlZS9Ity.js +0 -24918
  26. package/dist/Common/CodeEditor/jsonSchema.json.d.ts +0 -237
  27. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +0 -3
  28. package/dist/Common/SegmentedControl/index.d.ts +0 -2
  29. package/dist/Common/SegmentedControl/types.d.ts +0 -14
  30. /package/dist/assets/{ic-arrow-square-out.1be837ac.svg → ic-arrow-square-out.3d1a0d41.svg} +0 -0
@@ -1,237 +0,0 @@
1
- declare const _default: {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://json-schema.org/draft-07/schema#",
4
- "title": "Core schema meta-schema",
5
- "definitions": {
6
- "schemaArray": {
7
- "type": "array",
8
- "minItems": 1,
9
- "items": {
10
- "$ref": "#"
11
- }
12
- },
13
- "nonNegativeInteger": {
14
- "type": "integer",
15
- "minimum": 0
16
- },
17
- "nonNegativeIntegerDefault0": {
18
- "allOf": [
19
- {
20
- "$ref": "#/definitions/nonNegativeInteger"
21
- },
22
- {
23
- "default": 0
24
- }
25
- ]
26
- },
27
- "simpleTypes": {
28
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
29
- },
30
- "stringArray": {
31
- "type": "array",
32
- "items": {
33
- "type": "string"
34
- },
35
- "uniqueItems": true,
36
- "default": []
37
- }
38
- },
39
- "type": ["object", "boolean"],
40
- "properties": {
41
- "$id": {
42
- "type": "string",
43
- "format": "uri-reference"
44
- },
45
- "$schema": {
46
- "type": "string",
47
- "format": "uri"
48
- },
49
- "$ref": {
50
- "type": "string",
51
- "format": "uri-reference"
52
- },
53
- "$comment": {
54
- "type": "string"
55
- },
56
- "title": {
57
- "type": "string"
58
- },
59
- "description": {
60
- "type": "string"
61
- },
62
- "default": true,
63
- "readOnly": {
64
- "type": "boolean",
65
- "default": false
66
- },
67
- "writeOnly": {
68
- "type": "boolean",
69
- "default": false
70
- },
71
- "examples": {
72
- "type": "array",
73
- "items": true
74
- },
75
- "multipleOf": {
76
- "type": "number",
77
- "exclusiveMinimum": 0
78
- },
79
- "maximum": {
80
- "type": "number"
81
- },
82
- "exclusiveMaximum": {
83
- "type": "number"
84
- },
85
- "minimum": {
86
- "type": "number"
87
- },
88
- "exclusiveMinimum": {
89
- "type": "number"
90
- },
91
- "maxLength": {
92
- "$ref": "#/definitions/nonNegativeInteger"
93
- },
94
- "minLength": {
95
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
96
- },
97
- "pattern": {
98
- "type": "string",
99
- "format": "regex"
100
- },
101
- "additionalItems": {
102
- "$ref": "#"
103
- },
104
- "items": {
105
- "anyOf": [
106
- {
107
- "$ref": "#"
108
- },
109
- {
110
- "$ref": "#/definitions/schemaArray"
111
- }
112
- ],
113
- "default": true
114
- },
115
- "maxItems": {
116
- "$ref": "#/definitions/nonNegativeInteger"
117
- },
118
- "minItems": {
119
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
120
- },
121
- "uniqueItems": {
122
- "type": "boolean",
123
- "default": false
124
- },
125
- "contains": {
126
- "$ref": "#"
127
- },
128
- "maxProperties": {
129
- "$ref": "#/definitions/nonNegativeInteger"
130
- },
131
- "minProperties": {
132
- "$ref": "#/definitions/nonNegativeIntegerDefault0"
133
- },
134
- "required": {
135
- "$ref": "#/definitions/stringArray"
136
- },
137
- "additionalProperties": {
138
- "$ref": "#"
139
- },
140
- "definitions": {
141
- "type": "object",
142
- "additionalProperties": {
143
- "$ref": "#"
144
- },
145
- "default": {}
146
- },
147
- "properties": {
148
- "type": "object",
149
- "additionalProperties": {
150
- "$ref": "#"
151
- },
152
- "default": {}
153
- },
154
- "patternProperties": {
155
- "type": "object",
156
- "additionalProperties": {
157
- "$ref": "#"
158
- },
159
- "propertyNames": {
160
- "format": "regex"
161
- },
162
- "default": {}
163
- },
164
- "dependencies": {
165
- "type": "object",
166
- "additionalProperties": {
167
- "anyOf": [
168
- {
169
- "$ref": "#"
170
- },
171
- {
172
- "$ref": "#/definitions/stringArray"
173
- }
174
- ]
175
- }
176
- },
177
- "propertyNames": {
178
- "$ref": "#"
179
- },
180
- "const": true,
181
- "enum": {
182
- "type": "array",
183
- "items": true,
184
- "minItems": 1,
185
- "uniqueItems": true
186
- },
187
- "type": {
188
- "anyOf": [
189
- {
190
- "$ref": "#/definitions/simpleTypes"
191
- },
192
- {
193
- "type": "array",
194
- "items": {
195
- "$ref": "#/definitions/simpleTypes"
196
- },
197
- "minItems": 1,
198
- "uniqueItems": true
199
- }
200
- ]
201
- },
202
- "format": {
203
- "type": "string"
204
- },
205
- "contentMediaType": {
206
- "type": "string"
207
- },
208
- "contentEncoding": {
209
- "type": "string"
210
- },
211
- "if": {
212
- "$ref": "#"
213
- },
214
- "then": {
215
- "$ref": "#"
216
- },
217
- "else": {
218
- "$ref": "#"
219
- },
220
- "allOf": {
221
- "$ref": "#/definitions/schemaArray"
222
- },
223
- "anyOf": {
224
- "$ref": "#/definitions/schemaArray"
225
- },
226
- "oneOf": {
227
- "$ref": "#/definitions/schemaArray"
228
- },
229
- "not": {
230
- "$ref": "#"
231
- }
232
- },
233
- "default": true
234
- }
235
- ;
236
-
237
- export default _default;
@@ -1,3 +0,0 @@
1
- import { SegmentedControlProps } from './types';
2
- declare const SegmentedControl: ({ tabs, initialTab, onChange, tooltips, disabled, rootClassName, variant, }: SegmentedControlProps) => JSX.Element;
3
- export default SegmentedControl;
@@ -1,2 +0,0 @@
1
- export { type SegmentedControlProps, SegmentedControlVariant } from './types';
2
- export { default as SegmentedControl } from './SegmentedControl.component';
@@ -1,14 +0,0 @@
1
- import { OptionType } from '../Types';
2
- export declare enum SegmentedControlVariant {
3
- GRAY_ON_WHITE = "gui-yaml-switch",
4
- WHITE_ON_GRAY = "gui-yaml-switch-window-bg"
5
- }
6
- export interface SegmentedControlProps {
7
- tabs: OptionType[];
8
- initialTab: string;
9
- onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
10
- tooltips?: string[];
11
- disabled?: boolean;
12
- rootClassName?: string;
13
- variant?: SegmentedControlVariant;
14
- }