@devtron-labs/devtron-fe-common-lib 1.12.0-beta-1 → 1.12.0-beta-3

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 (35) hide show
  1. package/dist/{@code-editor-3U2FmTaO.js → @code-editor-Ck_CH0E8.js} +7141 -7227
  2. package/dist/{@common-rjsf-C2CrGIz6.js → @common-rjsf-D7qlH1s4.js} +19 -19
  3. package/dist/Common/CIPipeline.Types.d.ts +20 -19
  4. package/dist/Common/Common.service.d.ts +2 -2
  5. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  6. package/dist/Common/RJSF/Form.d.ts +1 -1
  7. package/dist/Pages/GlobalConfigurations/index.d.ts +0 -1
  8. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  9. package/dist/Pages/ResourceBrowser/types.d.ts +0 -38
  10. package/dist/Shared/Components/CMCS/constants.d.ts +2 -2
  11. package/dist/Shared/Components/CMCS/utils.d.ts +4 -3
  12. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +1 -1
  13. package/dist/Shared/Components/DynamicDataTable/types.d.ts +5 -1
  14. package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +2 -0
  15. package/dist/Shared/Components/EnterpriseTag/index.d.ts +1 -0
  16. package/dist/Shared/Components/Icon/Icon.d.ts +1 -4
  17. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  18. package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +75 -78
  19. package/dist/Shared/Components/KeyValueTable/index.d.ts +1 -1
  20. package/dist/Shared/Components/KeyValueTable/utils.d.ts +13 -0
  21. package/dist/Shared/Components/LoginBanner/index.d.ts +0 -2
  22. package/dist/Shared/Components/index.d.ts +1 -0
  23. package/dist/Shared/Services/app.types.d.ts +2 -6
  24. package/dist/Shared/types.d.ts +0 -5
  25. package/dist/assets/ic-login-devtron-logo.702a1d04.svg +22 -0
  26. package/dist/assets/ic-medal.a2e911f5.svg +19 -0
  27. package/dist/index.js +594 -596
  28. package/package.json +1 -1
  29. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +0 -1
  30. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +0 -8
  31. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +0 -3
  32. package/dist/assets/ic-amazon-eks.13404569.svg +0 -5
  33. package/dist/assets/ic-cluster.71ba9e26.svg +0 -3
  34. package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +0 -3
  35. package/dist/assets/ic-enterprise-tag.209dd129.svg +0 -43
@@ -1,3 +1,4 @@
1
+ import { KeyValueTableData } from '../Components';
1
2
  import { TargetPlatformsDTO } from '../types';
2
3
  import { OverrideMergeStrategyType } from '../../Pages/Applications';
3
4
  import { ReleaseTag, ResponseType, UserApprovalMetadataType } from '../../Common';
@@ -185,11 +186,6 @@ export interface ConfigMapSecretDataType {
185
186
  configData: ConfigMapSecretDataConfigDatumDTO[];
186
187
  isDeletable: boolean;
187
188
  }
188
- export interface CMSecretYamlData {
189
- k: string;
190
- v: string;
191
- id: string | number;
192
- }
193
189
  export interface ConfigMapSecretUseFormProps {
194
190
  name: string;
195
191
  isSecret: boolean;
@@ -204,7 +200,7 @@ export interface ConfigMapSecretUseFormProps {
204
200
  roleARN: string;
205
201
  yamlMode: boolean;
206
202
  yaml: string;
207
- currentData: CMSecretYamlData[];
203
+ currentData: KeyValueTableData[];
208
204
  secretDataYaml: string;
209
205
  esoSecretYaml: string;
210
206
  hasCurrentDataErr: boolean;
@@ -403,7 +403,6 @@ export declare enum ResourceKindType {
403
403
  releaseChannel = "release-channel",
404
404
  tenant = "tenant",
405
405
  installation = "installation",
406
- infrastructureInstallation = "installations",
407
406
  environment = "environment",
408
407
  cdPipeline = "cd-pipeline",
409
408
  ciPipeline = "ci-pipeline",
@@ -940,10 +939,6 @@ export type CountryISO2Type = ParsedCountry['iso2'];
940
939
  export declare enum ResponseHeaders {
941
940
  LICENSE_STATUS = "X-License-Status"
942
941
  }
943
- export declare enum InstallationClusterType {
944
- EKS_AUTO_CLUSTER = "eksAutoCluster",
945
- EKS_MANUAL_CLUSTER = "eksManualCluster"
946
- }
947
942
  export type IconBaseSizeType = 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 28 | 30 | 32 | 34 | 36 | 40 | 42 | 44 | 48 | 72 | 80;
948
943
  export type IconBaseColorType = `${'B' | 'N' | 'G' | 'Y' | 'R' | 'V' | 'O'}${`${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}00` | '50' | '0'}` | 'white' | 'black' | null;
949
944
  export interface GetTimeDifferenceParamsType {
@@ -0,0 +1,22 @@
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 xmlns="http://www.w3.org/2000/svg" width="142" height="100" viewBox="0 0 142 100">
18
+ <g fill="none" fill-rule="evenodd">
19
+ <path fill="var(--B500)" d="M101.522 25.335L89.882 7.188a3.34 3.34 0 0 0-3.593-1.828c-1.402.24-2.521 1.411-2.713 2.82a3.338 3.338 0 0 0 .278 1.867l-.004.018.05.077c.1.199.22.387.356.561l1.315 2.068 7.008 10.898-.025.012c.73 1.018.814 2.356.172 3.431-1.991 3.331-6.352 10.438-7.336 11.6a3.705 3.705 0 0 1-2.766.963l-5.467-.391a1.611 1.611 0 0 1-1.165-2.494l2.258-3.486a2.88 2.88 0 0 0 .31-.48l.005-.006.001-.004a2.916 2.916 0 0 0 .239-1.992 2.882 2.882 0 0 0-2.15-2.146 2.904 2.904 0 0 0-3.282 1.569L58.54 52.94c-1.149 1.758.012 4.155 2.11 4.253.048.003.096.004.144.004l21.518-.02a5.249 5.249 0 0 0 4.473-2.51l14.796-24.191a4.835 4.835 0 0 0-.06-5.142M39.759 32.757l11.56 18.198a3.339 3.339 0 0 0 3.584 1.845c1.402-.234 2.527-1.4 2.725-2.807a3.337 3.337 0 0 0-.27-1.87l.004-.017-.049-.077c-.1-.2-.218-.388-.354-.563l-1.305-2.073-6.96-10.93.025-.012c-.725-1.02-.803-2.36-.156-3.432 2.006-3.322 6.399-10.409 7.388-11.566a3.7 3.7 0 0 1 2.77-.951l5.465.415a1.611 1.611 0 0 1 1.154 2.5l-2.274 3.476a2.963 2.963 0 0 0-.313.478l-.003.005-.002.005a2.917 2.917 0 0 0-.248 1.99 2.882 2.882 0 0 0 2.14 2.156 2.903 2.903 0 0 0 3.29-1.554l14.933-22.63c1.157-1.753.006-4.154-2.092-4.262a2.735 2.735 0 0 0-.144-.004L59.11 1a5.248 5.248 0 0 0-4.484 2.49L39.722 27.615a4.836 4.836 0 0 0 .037 5.142"/>
20
+ <path fill="var(--N900)" d="M10.357 94.952c1.077 0 1.945-.218 2.6-.655a4.696 4.696 0 0 0 1.53-1.639 6.307 6.307 0 0 0 .72-2.12c.117-.757.175-1.456.175-2.097 0-.64-.058-1.34-.175-2.098a6.312 6.312 0 0 0-.72-2.119 4.696 4.696 0 0 0-1.53-1.639c-.655-.437-1.523-.655-2.6-.655-1.078 0-1.945.218-2.6.655a4.496 4.496 0 0 0-1.508 1.639 6.595 6.595 0 0 0-.7 2.12 13.85 13.85 0 0 0-.174 2.097c0 .641.058 1.34.175 2.097a6.59 6.59 0 0 0 .7 2.12c.349.656.851 1.202 1.507 1.639.655.437 1.522.655 2.6.655zm5.025-15.038V70h5.2v18.397c0 1.515-.146 2.84-.437 3.977-.291 1.136-.677 2.12-1.158 2.95-.48.83-1.026 1.515-1.638 2.054-.612.539-1.239.983-1.88 1.332-1.514.787-3.219 1.195-5.112 1.224-1.952-.03-3.686-.437-5.2-1.224-.641-.35-1.275-.793-1.901-1.332-.627-.54-1.18-1.217-1.66-2.032-.482-.816-.868-1.792-1.16-2.928C.147 91.282 0 89.956 0 88.44c0-1.515.138-2.84.415-3.977.277-1.136.64-2.119 1.093-2.95.451-.83.961-1.521 1.53-2.075a8.815 8.815 0 0 1 1.769-1.355c1.398-.815 3-1.252 4.807-1.31a9.117 9.117 0 0 1 2.622.655c.728.32 1.47.808 2.229 1.464.504.437.81.777.917 1.02zM38.5 85.6a11.23 11.23 0 0 0-.547-1.398 4.48 4.48 0 0 0-.896-1.267 4.152 4.152 0 0 0-1.355-.896c-.524-.218-1.136-.328-1.835-.328-.7 0-1.311.11-1.835.328a4.143 4.143 0 0 0-1.355.896 4.854 4.854 0 0 0-.918 1.267 6.798 6.798 0 0 0-.524 1.399h9.264zm5.505 0c.058.437.11.89.153 1.355.044.467.066.962.066 1.486v.786H28.929c.058.496.13.999.218 1.508.088.51.233 1.013.437 1.508.32.758.816 1.428 1.486 2.01.67.583 1.602.874 2.797.874 1.194 0 2.126-.29 2.797-.874a5.48 5.48 0 0 0 1.485-2.01h5.681c-.233 1.02-.561 1.908-.983 2.665-.423.758-.889 1.414-1.398 1.967a7.982 7.982 0 0 1-1.639 1.377 12.06 12.06 0 0 1-1.704.895c-1.34.525-2.753.787-4.239.787-1.952-.03-3.686-.437-5.2-1.224a10.973 10.973 0 0 1-1.901-1.332c-.627-.54-1.18-1.217-1.66-2.032-.482-.816-.868-1.792-1.159-2.928-.291-1.136-.437-2.462-.437-3.977 0-1.515.146-2.84.437-3.977.291-1.136.677-2.119 1.158-2.95.48-.83 1.034-1.521 1.66-2.075a10.416 10.416 0 0 1 1.902-1.355c1.514-.815 3.248-1.252 5.2-1.31 1.602.058 3.102.393 4.501 1.004.582.263 1.172.605 1.77 1.027.597.423 1.15.947 1.66 1.574.51.626.962 1.37 1.355 2.228.393.86.677 1.857.852 2.994zM57.245 99.497h-3.583l-7.21-22.156h5.375l5.418 16.563 5.42-16.563h5.374l-7.21 22.156zM75.73 82.542v9.745c.087.35.247.67.48.961.204.234.488.452.853.656.364.204.837.305 1.42.305h3.321v5.288h-5.331c-1.136-.116-2.156-.437-3.059-.961-.758-.437-1.45-1.085-2.076-1.945-.626-.86-.94-2.047-.94-3.562V74.335h5.332v3.006h5.026v5.2H75.73zM84.295 83.809c0-1.515.32-2.702.961-3.561.64-.86 1.34-1.508 2.098-1.945.903-.525 1.923-.845 3.059-.962h6.118v5.288h-4.108c-.583 0-1.056.102-1.42.306-.365.204-.649.423-.852.655a2.488 2.488 0 0 0-.481.962v14.945h-5.375V83.809zM109.203 81.93c-1.078 0-1.945.218-2.6.655a4.5 4.5 0 0 0-1.508 1.639 6.594 6.594 0 0 0-.699 2.12 13.847 13.847 0 0 0-.175 2.097c0 .641.059 1.34.175 2.098.116.758.35 1.463.7 2.119a4.5 4.5 0 0 0 1.507 1.639c.655.437 1.522.655 2.6.655s1.945-.218 2.6-.655a4.496 4.496 0 0 0 1.508-1.639c.35-.656.582-1.361.699-2.12.116-.757.175-1.456.175-2.097 0-.64-.059-1.34-.175-2.097a6.608 6.608 0 0 0-.7-2.12 4.496 4.496 0 0 0-1.507-1.639c-.655-.437-1.522-.655-2.6-.655M98.846 88.44c0-1.514.146-2.84.437-3.977.291-1.136.678-2.119 1.158-2.95.481-.83 1.034-1.521 1.66-2.075a10.44 10.44 0 0 1 1.902-1.355c1.514-.815 3.248-1.252 5.2-1.31 1.923.058 3.642.495 5.157 1.31.64.35 1.274.802 1.9 1.355.627.554 1.18 1.245 1.661 2.076.48.83.874 1.813 1.18 2.95.306 1.135.459 2.462.459 3.976 0 1.515-.153 2.84-.459 3.977-.306 1.136-.7 2.112-1.18 2.928-.48.816-1.034 1.493-1.66 2.032-.627.539-1.261.983-1.901 1.332-1.515.787-3.234 1.195-5.157 1.224-1.952-.03-3.686-.437-5.2-1.224a10.984 10.984 0 0 1-1.901-1.332c-.627-.54-1.18-1.216-1.66-2.032-.481-.816-.868-1.792-1.159-2.928-.291-1.137-.437-2.462-.437-3.977M131.927 76.773c.087 0 .4.015.94.044.538.03 1.172.153 1.9.371.728.22 1.5.562 2.316 1.027.815.467 1.573 1.137 2.273 2.01.699.874 1.274 1.975 1.726 3.3.451 1.326.677 2.964.677 4.916v11.056h-5.331V88.44c0-.64-.059-1.296-.175-1.966a5.534 5.534 0 0 0-.656-1.836 3.962 3.962 0 0 0-1.354-1.376c-.583-.364-1.355-.547-2.316-.547-.962 0-1.734.183-2.316.547a3.95 3.95 0 0 0-1.355 1.376 5.496 5.496 0 0 0-.655 1.836c-.117.67-.175 1.325-.175 1.966v11.056h-5.332V88.44c0-1.952.226-3.59.678-4.916.451-1.325 1.027-2.426 1.726-3.3.7-.873 1.456-1.543 2.272-2.01.815-.465 1.588-.808 2.316-1.027.728-.218 1.355-.342 1.88-.37.524-.03.844-.045.96-.045"/>
21
+ </g>
22
+ </svg>
@@ -0,0 +1,19 @@
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 xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
18
+ <path d="M16.4996 14.9995V22.5L11.9989 20.25L7.49957 22.5V15.0002M19.499 9C19.499 13.1421 16.1412 16.5 11.999 16.5C7.85689 16.5 4.49902 13.1421 4.49902 9C4.49902 4.85786 7.85689 1.5 11.999 1.5C16.1412 1.5 19.499 4.85786 19.499 9Z" stroke="#3B444C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
19
+ </svg>