@devtron-labs/devtron-fe-common-lib 1.9.1-beta-2 → 1.9.1-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 (61) hide show
  1. package/dist/{@code-editor-CN0hf86o.js → @code-editor-BcdvXLUs.js} +6905 -6620
  2. package/dist/{@common-rjsf-0ODT_4Sz.js → @common-rjsf-Dtdmx6jk.js} +2 -2
  3. package/dist/{@framer-motion-DHFT2Onf.js → @framer-motion-B1qa0yMz.js} +114 -114
  4. package/dist/{@react-dates-H99Kf-Gu.js → @react-dates-B1uoPc_Q.js} +1 -1
  5. package/dist/{@react-select-DaoN_kK0.js → @react-select-CIub7ipj.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-BSYoHRT0.js → @react-virtualized-sticky-tree-CzHL2GVC.js} +1 -1
  7. package/dist/{@vendor-CmKnC58P.js → @vendor-ihgcJgmv.js} +30618 -24451
  8. package/dist/Common/Constants.d.ts +94 -88
  9. package/dist/Common/GenericDescription/utils.d.ts +1 -0
  10. package/dist/Common/Tooltip/constants.d.ts +1 -0
  11. package/dist/Common/Types.d.ts +4 -0
  12. package/dist/Common/index.d.ts +0 -1
  13. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +38 -0
  14. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
  15. package/dist/Shared/Components/FloatingVariablesSuggestions/service.d.ts +3 -1
  16. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +2 -1
  17. package/dist/Shared/Components/GenericInfoCard/GenericInfoCard.component.d.ts +3 -0
  18. package/dist/Shared/Components/GenericInfoCard/index.d.ts +2 -0
  19. package/dist/Shared/Components/GenericInfoCard/types.d.ts +26 -0
  20. package/dist/Shared/Components/GenericInfoCard/utils.d.ts +2 -0
  21. package/dist/Shared/Components/GitProviderIcon/GitProviderIcon.d.ts +1 -1
  22. package/dist/Shared/Components/GitProviderIcon/types.d.ts +8 -3
  23. package/dist/Shared/Components/GitProviderIcon/utils.d.ts +2 -0
  24. package/dist/Shared/Components/GraphVisualizer/GraphVisualizer.d.ts +2 -0
  25. package/dist/Shared/Components/GraphVisualizer/components/BaseNode.d.ts +2 -0
  26. package/dist/Shared/Components/GraphVisualizer/components/DropdownNode.d.ts +3 -0
  27. package/dist/Shared/Components/GraphVisualizer/components/IconNode.d.ts +3 -0
  28. package/dist/Shared/Components/GraphVisualizer/components/TextNode.d.ts +3 -0
  29. package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +4 -0
  30. package/dist/Shared/Components/GraphVisualizer/components/types.d.ts +19 -0
  31. package/dist/Shared/Components/GraphVisualizer/constants.d.ts +15 -0
  32. package/dist/Shared/Components/GraphVisualizer/index.d.ts +2 -0
  33. package/dist/Shared/Components/GraphVisualizer/types.d.ts +12 -0
  34. package/dist/Shared/Components/GraphVisualizer/utils.d.ts +17 -0
  35. package/dist/Shared/Components/Icon/Icon.d.ts +3 -2
  36. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +1 -1
  37. package/dist/Shared/Components/ReactSelect/constants.d.ts +7 -15
  38. package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
  39. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
  40. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +2 -1
  41. package/dist/Shared/Components/index.d.ts +2 -0
  42. package/dist/Shared/Services/app.service.d.ts +4 -1
  43. package/dist/Shared/Services/common.service.d.ts +2 -1
  44. package/dist/Shared/Services/index.d.ts +1 -0
  45. package/dist/Shared/Services/template.service.d.ts +2 -0
  46. package/dist/Shared/constants.d.ts +0 -10
  47. package/dist/Shared/validations.d.ts +1 -0
  48. package/dist/assets/@code-editor.css +1 -1
  49. package/dist/assets/@vendor.css +1 -1
  50. package/dist/assets/ic-card-stack.efd37c91.svg +3 -0
  51. package/dist/assets/ic-copy.416d85f3.svg +3 -0
  52. package/dist/assets/ic-new.2c179139.svg +3 -0
  53. package/dist/index.d.ts +6 -0
  54. package/dist/index.js +804 -800
  55. package/package.json +2 -1
  56. package/dist/Common/DeleteCINodeButton/DeleteCINodeButton.d.ts +0 -2
  57. package/dist/Common/DeleteCINodeButton/index.d.ts +0 -3
  58. package/dist/Common/DeleteCINodeButton/types.d.ts +0 -17
  59. package/dist/Common/DeleteCINodeButton/utils.d.ts +0 -2
  60. package/dist/assets/ic-add.18a93616.svg +0 -19
  61. package/dist/assets/ic-delete.a6e8d3ad.svg +0 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.9.1-beta-2",
3
+ "version": "1.9.1-beta-4",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -107,6 +107,7 @@
107
107
  "@replit/codemirror-indentation-markers": "6.5.3",
108
108
  "@replit/codemirror-vscode-keymap": "6.0.2",
109
109
  "@types/react-dates": "^21.8.6",
110
+ "@xyflow/react": "12.4.2",
110
111
  "@uiw/codemirror-extensions-hyper-link": "4.23.10",
111
112
  "@uiw/codemirror-theme-github": "4.23.7",
112
113
  "@uiw/react-codemirror": "4.23.7",
@@ -1,2 +0,0 @@
1
- import { DeleteCINodeButtonProps } from './types';
2
- export declare const DeleteCINodeButton: ({ testId, isCIPipeline, disabled, title, isJobView, deletePayloadConfig, onDelete, getWorkflows, }: DeleteCINodeButtonProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- export * from './DeleteCINodeButton';
2
- export * from './utils';
3
- export * from './types';
@@ -1,17 +0,0 @@
1
- interface DeletePayloadConfig {
2
- appId: string;
3
- appWorkflowId: number;
4
- pipelineId: number;
5
- pipelineName: string;
6
- }
7
- export interface DeleteCINodeButtonProps {
8
- testId: string;
9
- isCIPipeline?: boolean;
10
- disabled: boolean;
11
- title: string;
12
- isJobView?: boolean;
13
- deletePayloadConfig: DeletePayloadConfig;
14
- onDelete?: () => void;
15
- getWorkflows: () => void;
16
- }
17
- export {};
@@ -1,2 +0,0 @@
1
- export declare function savePipeline(request: any, isRegexMaterial?: boolean): Promise<any>;
2
- export declare function deleteWorkflow(appId: string, workflowId: number): Promise<import('..').ResponseType<any>>;
@@ -1,19 +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 xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
18
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 12h12m-6-6v12" vector-effect="non-scaling-stroke"/>
19
- </svg>
@@ -1,19 +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 xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
18
- <path stroke="#3B444C" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M3 6h2m0 0h16M5 6v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2m-6 5v6m4-6v6" vector-effect="non-scaling-stroke"/>
19
- </svg>