@devtron-labs/devtron-fe-common-lib 1.2.7-beta-5 → 1.2.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 (42) hide show
  1. package/dist/{@code-editor-HL5a1btU.js → @code-editor-AFKVuTPt.js} +3327 -3470
  2. package/dist/{@common-rjsf-DFgZpQQ7.js → @common-rjsf-D4NzXP7Z.js} +2 -2
  3. package/dist/{@framer-motion-DHY98qq3.js → @framer-motion-B6d1rF48.js} +1 -1
  4. package/dist/@monaco-editor-CVagbUeH.js +138960 -0
  5. package/dist/{@react-dates-WNnwjI5S.js → @react-dates-DUsXL6Ns.js} +1 -1
  6. package/dist/{@react-select-BbR996pa.js → @react-select--zt85pEZ.js} +50 -50
  7. package/dist/{@vendor-RU8AW1bK.js → @vendor-DI8rS9OQ.js} +8755 -7936
  8. package/dist/Common/CIPipeline.Types.d.ts +5 -41
  9. package/dist/Common/Common.service.d.ts +3 -9
  10. package/dist/Common/Constants.d.ts +0 -4
  11. package/dist/Common/Helper.d.ts +0 -1
  12. package/dist/Common/RJSF/Form.d.ts +1 -1
  13. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +3 -0
  14. package/dist/Common/SegmentedControl/index.d.ts +2 -0
  15. package/dist/Common/SegmentedControl/types.d.ts +15 -0
  16. package/dist/Common/Types.d.ts +3 -15
  17. package/dist/Common/index.d.ts +1 -0
  18. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +0 -1
  19. package/dist/Pages/Applications/DevtronApps/Details/index.d.ts +0 -1
  20. package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -5
  21. package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -0
  22. package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +7 -0
  23. package/dist/Shared/Components/InvalidYAMLTippy/utils.d.ts +2 -2
  24. package/dist/Shared/Components/index.d.ts +0 -1
  25. package/dist/Shared/types.d.ts +7 -30
  26. package/dist/assets/@monaco-editor.css +1 -1
  27. package/dist/assets/codicon.ecfbfe4b.ttf +0 -0
  28. package/dist/index.js +518 -524
  29. package/package.json +4 -4
  30. package/dist/@monaco-editor-34kqzg3G.js +0 -70451
  31. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +0 -7
  32. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/SystemVariableIcon.d.ts +0 -1
  33. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +0 -1
  34. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +0 -3
  35. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +0 -3
  36. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +0 -11
  37. package/dist/Shared/Components/FileUpload/FileUpload.d.ts +0 -2
  38. package/dist/Shared/Components/FileUpload/index.d.ts +0 -2
  39. package/dist/Shared/Components/FileUpload/types.d.ts +0 -8
  40. package/dist/assets/ic-cloud-upload.18066e05.svg +0 -3
  41. package/dist/assets/ic-var-initial.afdaa854.svg +0 -25
  42. package/dist/yaml.worker.d.ts +0 -0
@@ -1,7 +0,0 @@
1
- import { MutableRefObject } from 'react';
2
- import { UploadFileDTO, UploadFileProps } from '../../../../../Shared/types';
3
- export declare const uploadCDPipelineFile: ({ file, appId, envId, allowedExtensions, maxUploadSize, abortControllerRef, }: UploadFileProps & {
4
- appId: number;
5
- envId: number;
6
- abortControllerRef?: MutableRefObject<AbortController>;
7
- }) => Promise<UploadFileDTO>;
@@ -1 +0,0 @@
1
- export declare const SystemVariableIcon: () => JSX.Element;
@@ -1 +0,0 @@
1
- export * from './SystemVariableIcon';
@@ -1,3 +0,0 @@
1
- import { SelectPickerOptionType } from '../../../../../Shared/Components';
2
- export declare const IO_VARIABLES_VALUE_COLUMN_BOOL_OPTIONS: SelectPickerOptionType<string>[];
3
- export declare const IO_VARIABLES_VALUE_COLUMN_DATE_OPTIONS: SelectPickerOptionType<string>[];
@@ -1,3 +0,0 @@
1
- export * from './services';
2
- export * from './constants';
3
- export * from './components';
@@ -1,11 +0,0 @@
1
- import { MutableRefObject } from 'react';
2
- import { UploadFileDTO } from '../../../../../Shared/types';
3
- export declare const uploadCIPipelineFile: ({ file, appId, ciPipelineId, envId, allowedExtensions, maxUploadSize, abortControllerRef, }: {
4
- file: File[];
5
- appId: number;
6
- ciPipelineId: number;
7
- envId?: number;
8
- allowedExtensions?: string[];
9
- maxUploadSize?: number;
10
- abortControllerRef?: MutableRefObject<AbortController>;
11
- }) => Promise<UploadFileDTO>;
@@ -1,2 +0,0 @@
1
- import { FileUploadProps } from './types';
2
- export declare const FileUpload: ({ isLoading, label, fileName, multiple, fileTypes, onUpload, }: FileUploadProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './FileUpload';
2
- export * from './types';
@@ -1,8 +0,0 @@
1
- export interface FileUploadProps {
2
- isLoading?: boolean;
3
- fileName: string;
4
- onUpload: (files: File[]) => void;
5
- multiple?: boolean;
6
- label?: string;
7
- fileTypes?: string[];
8
- }
@@ -1,3 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M5.99995 12.999H4.49995C4.0036 12.9985 3.51303 12.8925 3.0608 12.6879C2.60857 12.4833 2.20502 12.1849 1.87694 11.8124C1.54886 11.44 1.30376 11.002 1.1579 10.5276C1.01203 10.0531 0.968751 9.55309 1.03092 9.06065C1.09309 8.56821 1.25928 8.09462 1.51848 7.67132C1.77768 7.24802 2.12394 6.88469 2.53429 6.60545C2.94465 6.3262 3.4097 6.13744 3.89859 6.05167C4.38747 5.9659 4.88901 5.9851 5.36991 6.10799M4.99995 7.99902C5.00003 7.20679 5.18836 6.42592 5.54942 5.72076C5.91048 5.01559 6.43393 4.40631 7.07665 3.94312C7.71937 3.47994 8.46295 3.17611 9.24612 3.05667C10.0293 2.93722 10.8296 3.00559 11.5812 3.25613C12.3328 3.50668 13.0141 3.93222 13.5689 4.49771C14.1237 5.06319 14.5363 5.75242 14.7725 6.50861C15.0087 7.2648 15.0619 8.0663 14.9276 8.84706C14.7933 9.62783 14.4754 10.3655 14.0001 10.9993M7.37864 10.1204L9.49995 7.999M9.49995 7.999L11.6213 10.1204M9.49995 7.999V12.999" stroke="#0066CC" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/>
3
- </svg>
@@ -1,25 +0,0 @@
1
- <!--
2
- - Copyright (c) 2024. Devtron Inc.
3
- -
4
- - Licensed under the Apache License, Version 2.0 (the "License");
5
- - you may not use this file except in compliance with the License.
6
- - You may obtain a copy of the License at
7
- -
8
- - http://www.apache.org/licenses/LICENSE-2.0
9
- -
10
- - Unless required by applicable law or agreed to in writing, software
11
- - distributed under the License is distributed on an "AS IS" BASIS,
12
- - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- - See the License for the specific language governing permissions and
14
- - limitations under the License.
15
- -->
16
-
17
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
18
- <g id="ic-var-initial">
19
- <g id="Vector">
20
- <path d="M11.8244 6.26696V7.90053C11.8244 7.94068 11.847 7.96075 11.8922 7.96075H12.2686C13.1619 7.96075 13.6086 7.64207 13.6086 7.0047C13.6086 6.4376 13.1945 6.15404 12.3664 6.15404C12.2159 6.15404 12.0578 6.16659 11.8922 6.19168C11.847 6.20172 11.8244 6.22681 11.8244 6.26696ZM11.2147 10.9042C11.0992 10.9042 10.9989 10.8615 10.9135 10.7762C10.8282 10.6909 10.7856 10.5905 10.7856 10.4751V5.87551C10.7856 5.75506 10.8257 5.64716 10.906 5.55181C10.9863 5.45645 11.0867 5.40376 11.2071 5.39372C11.6337 5.35357 12.0453 5.3335 12.4417 5.3335C13.1795 5.3335 13.7315 5.47151 14.0979 5.74753C14.4642 6.01854 14.6474 6.40247 14.6474 6.89931C14.6474 7.25563 14.5496 7.5693 14.3538 7.84031C14.1631 8.11131 13.9047 8.30202 13.5784 8.41243C13.5734 8.41243 13.5709 8.41494 13.5709 8.41996C13.5709 8.43 13.5734 8.43501 13.5784 8.43501C13.8193 8.58557 14.0251 8.88167 14.1957 9.32331L14.6474 10.5052C14.6825 10.6006 14.67 10.6909 14.6098 10.7762C14.5546 10.8615 14.4768 10.9042 14.3764 10.9042H14.143C14.0126 10.9042 13.8946 10.8691 13.7892 10.7988C13.6838 10.7235 13.6086 10.6256 13.5634 10.5052L13.1418 9.3459C13.0515 9.105 12.9486 8.94691 12.8332 8.87164C12.7177 8.79636 12.5195 8.75872 12.2385 8.75872H11.8922C11.847 8.75872 11.8244 8.7813 11.8244 8.82647V10.4751C11.8244 10.5905 11.7818 10.6909 11.6965 10.7762C11.6162 10.8615 11.5183 10.9042 11.4029 10.9042H11.2147Z" fill="#596168"/>
21
- <path d="M7.75703 6.34232L7.09457 8.70609C7.08955 8.72115 7.09206 8.73621 7.10209 8.75126C7.11213 8.76632 7.12468 8.77385 7.13973 8.77385H8.38937C8.40443 8.77385 8.41698 8.76632 8.42701 8.75126C8.43705 8.73621 8.43956 8.72115 8.43454 8.70609L7.77208 6.34232C7.77208 6.3373 7.76957 6.33479 7.76455 6.33479C7.75954 6.33479 7.75703 6.3373 7.75703 6.34232ZM5.80729 10.9043C5.70189 10.9043 5.61909 10.8616 5.55886 10.7763C5.49864 10.691 5.48609 10.5981 5.52122 10.4977L7.07951 5.81536C7.12468 5.69491 7.19745 5.59705 7.29782 5.52177C7.40321 5.44649 7.51864 5.40885 7.64411 5.40885H7.91511C8.0456 5.40885 8.16103 5.44649 8.2614 5.52177C8.36679 5.59705 8.43956 5.69491 8.47971 5.81536L10.038 10.4977C10.0731 10.5981 10.0606 10.691 10.0004 10.7763C9.94014 10.8616 9.85733 10.9043 9.75194 10.9043H9.48093C9.36048 10.9043 9.24756 10.8666 9.14217 10.7913C9.0418 10.711 8.97405 10.6107 8.93892 10.4902L8.69802 9.63956C8.693 9.59941 8.6654 9.57934 8.61521 9.57934H6.9139C6.86873 9.57934 6.84112 9.59941 6.83109 9.63956L6.59019 10.4902C6.56008 10.6107 6.49233 10.711 6.38694 10.7913C6.28657 10.8666 6.17365 10.9043 6.04818 10.9043H5.80729Z" fill="#596168"/>
22
- <path d="M2.9112 10.4977L1.35291 5.81536C1.31778 5.71499 1.33033 5.62214 1.39055 5.53682C1.45077 5.45151 1.53358 5.40885 1.63897 5.40885H1.90998C2.03545 5.40885 2.15087 5.449 2.25627 5.5293C2.36166 5.60458 2.42941 5.70244 2.45952 5.82289L3.6113 9.8654C3.6113 9.87042 3.61381 9.87293 3.61883 9.87293C3.62384 9.87293 3.62635 9.87042 3.62635 9.8654L4.79319 5.81536C4.82832 5.69491 4.89607 5.59705 4.99644 5.52177C5.10183 5.44649 5.21726 5.40885 5.34273 5.40885H5.58362C5.68901 5.40885 5.77182 5.45151 5.83205 5.53682C5.89227 5.62214 5.90482 5.71499 5.86969 5.81536L4.3114 10.4977C4.27125 10.6182 4.19848 10.7161 4.09309 10.7913C3.99271 10.8666 3.87729 10.9043 3.7468 10.9043H3.47579C3.35033 10.9043 3.2349 10.8666 3.12951 10.7913C3.02914 10.7161 2.95637 10.6182 2.9112 10.4977Z" fill="#596168"/>
23
- </g>
24
- </g>
25
- </svg>
File without changes