@devtron-labs/devtron-fe-common-lib 0.1.15-beta-21 → 0.1.16
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.
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +1 -3
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
- package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +1 -23
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +0 -16
- package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +0 -3
- package/dist/Shared/Helpers.d.ts +0 -2
- package/dist/assets/editor.worker-60ba9509.js +12 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/yaml.worker-3bbe780a.js +472 -0
- package/dist/{cssMode-a74dafbc.js → cssMode-4b993aa8.js} +1 -1
- package/dist/{freemarker2-b45a2328.js → freemarker2-29683fbc.js} +1 -1
- package/dist/{handlebars-453ae9ba.js → handlebars-7f9b19a0.js} +1 -1
- package/dist/{html-268417b9.js → html-2363cfef.js} +1 -1
- package/dist/{htmlMode-ea630b21.js → htmlMode-813b9e8a.js} +1 -1
- package/dist/{index-7fc0c1f1.js → index-de49e8b9.js} +25218 -25732
- package/dist/index.d.ts +1 -0
- package/dist/index.js +418 -423
- package/dist/{javascript-ae545a9e.js → javascript-706ab990.js} +1 -1
- package/dist/{jsonMode-d5aabc68.js → jsonMode-818486ad.js} +1 -1
- package/dist/{liquid-31b21c0c.js → liquid-e605e3ab.js} +1 -1
- package/dist/{mdx-5d5ddbca.js → mdx-6437643a.js} +1 -1
- package/dist/{python-2b5ad29c.js → python-a7b9b7da.js} +1 -1
- package/dist/{razor-62a906be.js → razor-a6a0e68f.js} +1 -1
- package/dist/{tsMode-ad34b589.js → tsMode-f560b769.js} +1 -1
- package/dist/{typescript-f9398063.js → typescript-6bab209e.js} +1 -1
- package/dist/{xml-40fe01b9.js → xml-533b22c1.js} +1 -1
- package/dist/{yaml-7076dc9d.js → yaml-c4f2cdc1.js} +1 -1
- package/package.json +1 -1
- package/dist/Shared/Components/Collapse/Collapse.d.ts +0 -3
- package/dist/Shared/Components/Collapse/index.d.ts +0 -2
- package/dist/Shared/Components/Collapse/types.d.ts +0 -7
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +0 -3
- package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +0 -96
- package/dist/Shared/Components/CollapsibleList/index.d.ts +0 -2
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +0 -3
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +0 -3
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +0 -3
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +0 -3
- package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +0 -2
- package/dist/Shared/Components/DeploymentConfigDiff/types.d.ts +0 -67
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
|
1
|
+
import { conf as t, language as e } from "./typescript-6bab209e.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-
|
|
4
|
+
import { m as Ze } from "./index-de49e8b9.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-
|
|
1
|
+
import { m as d } from "./index-de49e8b9.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-
|
|
1
|
+
import { m as d } from "./index-de49e8b9.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-
|
|
1
|
+
import { m as a } from "./index-de49e8b9.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-
|
|
1
|
+
import { m as s } from "./index-de49e8b9.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-
|
|
4
|
+
import { t as K, m as E } from "./index-de49e8b9.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-
|
|
1
|
+
import { m as a } from "./index-de49e8b9.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-
|
|
1
|
+
import { m } from "./index-de49e8b9.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-
|
|
1
|
+
import { m as i } from "./index-de49e8b9.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
package/package.json
CHANGED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { TippyProps } from '@tippyjs/react';
|
|
3
|
-
|
|
4
|
-
export interface CollapsibleListItem {
|
|
5
|
-
/**
|
|
6
|
-
* The title of the list item.
|
|
7
|
-
*/
|
|
8
|
-
title: string;
|
|
9
|
-
/**
|
|
10
|
-
* The subtitle of the list item.
|
|
11
|
-
*/
|
|
12
|
-
subtitle?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Configuration for the icon.
|
|
15
|
-
*/
|
|
16
|
-
iconConfig?: {
|
|
17
|
-
/**
|
|
18
|
-
* A React component representing an icon to be displayed with the list item.
|
|
19
|
-
*/
|
|
20
|
-
Icon: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
21
|
-
/**
|
|
22
|
-
* Properties for the icon component.
|
|
23
|
-
*/
|
|
24
|
-
props?: React.SVGProps<SVGSVGElement>;
|
|
25
|
-
/**
|
|
26
|
-
* Properties for the tooltip component of the icon.
|
|
27
|
-
*/
|
|
28
|
-
tooltipProps?: TippyProps;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* The URL of the nav link.
|
|
32
|
-
*/
|
|
33
|
-
href?: string;
|
|
34
|
-
/**
|
|
35
|
-
* The callback function to handle click events on the nav link.
|
|
36
|
-
*/
|
|
37
|
-
onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
38
|
-
}
|
|
39
|
-
export interface CollapsibleListConfig {
|
|
40
|
-
/**
|
|
41
|
-
* The unique identifier for the collapsible list.
|
|
42
|
-
*/
|
|
43
|
-
id: string;
|
|
44
|
-
/**
|
|
45
|
-
* The header text for the collapsible list.
|
|
46
|
-
*/
|
|
47
|
-
header: string;
|
|
48
|
-
/**
|
|
49
|
-
* Configuration for the header icon.
|
|
50
|
-
*/
|
|
51
|
-
headerIconConfig?: {
|
|
52
|
-
/**
|
|
53
|
-
* A React component representing an icon button to be displayed with the header.
|
|
54
|
-
*/
|
|
55
|
-
Icon: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
|
|
56
|
-
/**
|
|
57
|
-
* Properties for the header icon component.
|
|
58
|
-
*/
|
|
59
|
-
props?: React.SVGProps<SVGSVGElement>;
|
|
60
|
-
/**
|
|
61
|
-
* Properties for the header icon button component.
|
|
62
|
-
*/
|
|
63
|
-
btnProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
64
|
-
/**
|
|
65
|
-
* Properties for the tooltip component of the icon.
|
|
66
|
-
*/
|
|
67
|
-
tooltipProps?: TippyProps;
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* Text to display when there are no items in the list.
|
|
71
|
-
* @default 'No items found.'
|
|
72
|
-
*/
|
|
73
|
-
noItemsText?: string;
|
|
74
|
-
/**
|
|
75
|
-
* An array of items to be displayed in the collapsible list.
|
|
76
|
-
*/
|
|
77
|
-
items: CollapsibleListItem[];
|
|
78
|
-
/**
|
|
79
|
-
* Boolean indicating whether the list is expanded or not.
|
|
80
|
-
*/
|
|
81
|
-
isExpanded?: boolean;
|
|
82
|
-
}
|
|
83
|
-
export interface CollapsibleListProps {
|
|
84
|
-
/**
|
|
85
|
-
* An array of collapsible list configurations.
|
|
86
|
-
*/
|
|
87
|
-
config: CollapsibleListConfig[];
|
|
88
|
-
/**
|
|
89
|
-
* Function to handle the collapse button click event.
|
|
90
|
-
*
|
|
91
|
-
* @param id - The unique identifier for the item to collapse.
|
|
92
|
-
* @param e - The mouse event triggered by the button click.
|
|
93
|
-
*
|
|
94
|
-
*/
|
|
95
|
-
onCollapseBtnClick?: (id: string, e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
96
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { SortingOrder } from '../../../Common/Constants';
|
|
2
|
-
import { DeploymentHistoryDetail } from '../CICDHistory';
|
|
3
|
-
import { CollapsibleListConfig, CollapsibleListItem } from '../CollapsibleList';
|
|
4
|
-
import { SelectPickerProps } from '../SelectPicker';
|
|
5
|
-
import { CollapseProps } from '../Collapse';
|
|
6
|
-
|
|
7
|
-
export interface DeploymentConfigType {
|
|
8
|
-
list: DeploymentHistoryDetail;
|
|
9
|
-
heading: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export interface DeploymentConfigListItem {
|
|
12
|
-
id: string;
|
|
13
|
-
title: string;
|
|
14
|
-
primaryConfig: DeploymentConfigType;
|
|
15
|
-
secondaryConfig: DeploymentConfigType;
|
|
16
|
-
hasDiff?: boolean;
|
|
17
|
-
isDeploymentTemplate?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export type DeploymentConfigDiffSelectPickerProps = {
|
|
20
|
-
type: 'string';
|
|
21
|
-
id: string;
|
|
22
|
-
text: string | React.ReactNode;
|
|
23
|
-
selectPickerProps?: never;
|
|
24
|
-
} | {
|
|
25
|
-
type: 'selectPicker';
|
|
26
|
-
id: string;
|
|
27
|
-
text?: never;
|
|
28
|
-
selectPickerProps: SelectPickerProps;
|
|
29
|
-
};
|
|
30
|
-
export interface DeploymentConfigDiffNavigationItem extends Pick<CollapsibleListItem, 'href' | 'title' | 'onClick'> {
|
|
31
|
-
hasDiff?: boolean;
|
|
32
|
-
}
|
|
33
|
-
export interface DeploymentConfigDiffNavigationCollapsibleItem extends Pick<CollapsibleListConfig, 'id' | 'header' | 'noItemsText'> {
|
|
34
|
-
items: DeploymentConfigDiffNavigationItem[];
|
|
35
|
-
}
|
|
36
|
-
export interface DeploymentConfigDiffProps {
|
|
37
|
-
isLoading?: boolean;
|
|
38
|
-
configList: DeploymentConfigListItem[];
|
|
39
|
-
headerText?: string;
|
|
40
|
-
scrollIntoViewId?: string;
|
|
41
|
-
selectorsConfig: {
|
|
42
|
-
primaryConfig: DeploymentConfigDiffSelectPickerProps[];
|
|
43
|
-
secondaryConfig: DeploymentConfigDiffSelectPickerProps[];
|
|
44
|
-
};
|
|
45
|
-
sortingConfig?: {
|
|
46
|
-
sortBy: string;
|
|
47
|
-
sortOrder: SortingOrder;
|
|
48
|
-
handleSorting: () => void;
|
|
49
|
-
};
|
|
50
|
-
navList: DeploymentConfigDiffNavigationItem[];
|
|
51
|
-
collapsibleNavList: DeploymentConfigDiffNavigationCollapsibleItem[];
|
|
52
|
-
goBackURL?: string;
|
|
53
|
-
navHeading: string;
|
|
54
|
-
navHelpText?: string;
|
|
55
|
-
}
|
|
56
|
-
export interface DeploymentConfigDiffNavigationProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'navList' | 'collapsibleNavList' | 'goBackURL' | 'navHeading' | 'navHelpText'> {
|
|
57
|
-
}
|
|
58
|
-
export interface DeploymentConfigDiffMainProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'headerText' | 'configList' | 'scrollIntoViewId' | 'selectorsConfig' | 'sortingConfig'> {
|
|
59
|
-
}
|
|
60
|
-
export interface DeploymentConfigDiffAccordionProps extends Pick<CollapseProps, 'onTransitionEnd'> {
|
|
61
|
-
id: string;
|
|
62
|
-
title: string;
|
|
63
|
-
children: React.ReactNode;
|
|
64
|
-
hasDiff?: boolean;
|
|
65
|
-
isExpanded?: boolean;
|
|
66
|
-
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
67
|
-
}
|