@devtron-labs/devtron-fe-common-lib 0.5.0-beta-3 → 0.5.0-beta-5
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/DeploymentHistoryConfigDiff/helpers.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +2 -0
- package/dist/Shared/Components/Collapse/Collapse.d.ts +3 -3
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +4 -3
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +1 -1
- package/dist/{cssMode-BlfpXcRK.js → cssMode-BxfTvDkT.js} +1 -1
- package/dist/{freemarker2-BOScfwOt.js → freemarker2-CH7lOhHT.js} +1 -1
- package/dist/{handlebars-Il5XTYBA.js → handlebars-BVf4-M71.js} +1 -1
- package/dist/{html-DVAN4oVg.js → html-Dqv36g3K.js} +1 -1
- package/dist/{htmlMode-2cUDXYNV.js → htmlMode-Das1Ce24.js} +1 -1
- package/dist/{index-BDmJgeUH.js → index-BjdjmRop.js} +11397 -11394
- package/dist/index.js +1 -1
- package/dist/{javascript-CsvkGfDF.js → javascript-CVgQWHw1.js} +1 -1
- package/dist/{jsonMode-D2OkD684.js → jsonMode-DgP0BjRd.js} +1 -1
- package/dist/{liquid-Ca0-mc8F.js → liquid-Bh_5Puhl.js} +1 -1
- package/dist/{mdx-C5kuaEoV.js → mdx-wzZNbzcL.js} +1 -1
- package/dist/{python-CRaFJp_v.js → python-BRbOYFet.js} +1 -1
- package/dist/{razor-DQ6-9JDC.js → razor-aamDZbxE.js} +1 -1
- package/dist/{tsMode-Q7tQMIUt.js → tsMode-CaCRkXkS.js} +1 -1
- package/dist/{typescript-ChSyq2A2.js → typescript-HK_VhCPL.js} +1 -1
- package/dist/{xml-Bt9p71cu.js → xml-BW-hGWh3.js} +1 -1
- package/dist/{yaml-6FqY-tTr.js → yaml-D__oJNoC.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
|
2
2
|
import { History } from '../types';
|
|
3
3
|
import { DeploymentHistoryConfigDiffProps } from './types';
|
|
4
|
-
export declare const renderDeploymentHistoryConfig: (config: DeploymentConfigDiffProps["configList"], heading: string, pathname: string) => JSX.Element;
|
|
4
|
+
export declare const renderDeploymentHistoryConfig: (config: DeploymentConfigDiffProps["configList"], heading: string, pathname: string, hideDiffState: boolean) => JSX.Element;
|
|
5
5
|
export declare const renderPipelineDeploymentStatusIcon: (status: string) => JSX.Element;
|
|
6
6
|
export declare const renderPipelineDeploymentOptionDescription: ({ stage, triggeredBy, triggeredByEmail, artifact, renderRunSource, resourceId, runSource, }: Pick<History, "triggeredBy" | "triggeredByEmail" | "artifact" | "stage"> & Pick<DeploymentHistoryConfigDiffProps, "renderRunSource" | "resourceId" | "runSource">) => JSX.Element;
|
|
@@ -11,7 +11,7 @@ export interface DeploymentHistoryConfigDiffProps extends Required<Pick<HistoryL
|
|
|
11
11
|
triggerHistory: Map<number, History>;
|
|
12
12
|
setFullScreenView: (fullscreen: boolean) => void;
|
|
13
13
|
}
|
|
14
|
-
export type DeploymentHistoryDiffDetailedProps = Pick<DeploymentConfigDiffProps, 'collapsibleNavList' | 'configList' | 'errorConfig' | 'isLoading' | 'navList'> & Required<Pick<DeploymentHistoryConfigDiffProps, 'setFullScreenView' | 'wfrId' | 'envName' | 'renderRunSource' | 'resourceId' | 'runSource'>> & {
|
|
14
|
+
export type DeploymentHistoryDiffDetailedProps = Pick<DeploymentConfigDiffProps, 'collapsibleNavList' | 'configList' | 'errorConfig' | 'isLoading' | 'navList' | 'hideDiffState'> & Required<Pick<DeploymentHistoryConfigDiffProps, 'setFullScreenView' | 'wfrId' | 'envName' | 'renderRunSource' | 'resourceId' | 'runSource'>> & {
|
|
15
15
|
pipelineDeployments: History[];
|
|
16
16
|
previousWfrId: number;
|
|
17
17
|
convertVariables: boolean;
|
|
@@ -18,3 +18,5 @@ export declare const getPipelineDeploymentsOptions: ({ pipelineDeployments, wfrI
|
|
|
18
18
|
export declare const parseDeploymentHistoryDiffSearchParams: (compareWfrId: number) => (searchParams: URLSearchParams) => {
|
|
19
19
|
compareWfrId: number;
|
|
20
20
|
};
|
|
21
|
+
export declare const isDeploymentHistoryConfigDiffNotFoundError: <T extends unknown>(res: PromiseSettledResult<T>) => boolean;
|
|
22
|
+
export declare const getDeploymentHistoryConfigDiffError: <T extends unknown>(res: PromiseSettledResult<T>) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CollapseProps } from './types';
|
|
2
2
|
/**
|
|
3
|
-
* Collapse component for expanding
|
|
4
|
-
* Dynamically calculates
|
|
5
|
-
*
|
|
3
|
+
* Collapse component for smoothly expanding or collapsing its content.
|
|
4
|
+
* Dynamically calculates the content height and applies smooth transitions.
|
|
5
|
+
* It also supports a callback when the transition ends.
|
|
6
6
|
*/
|
|
7
7
|
export declare const Collapse: ({ expand, onTransitionEnd, children }: CollapseProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentConfigDiffProps } from './DeploymentConfigDiff.types';
|
|
2
|
-
export declare const DeploymentConfigDiff: ({ isLoading, configList, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, tabConfig, showDetailedDiffState, renderedInDrawer, ...resProps }: DeploymentConfigDiffProps) => JSX.Element;
|
|
2
|
+
export declare const DeploymentConfigDiff: ({ isLoading, configList, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, tabConfig, showDetailedDiffState, hideDiffState, renderedInDrawer, ...resProps }: DeploymentConfigDiffProps) => JSX.Element;
|
|
@@ -53,6 +53,7 @@ export interface DeploymentConfigDiffProps {
|
|
|
53
53
|
};
|
|
54
54
|
configList: DeploymentConfigListItem[];
|
|
55
55
|
showDetailedDiffState?: boolean;
|
|
56
|
+
hideDiffState?: boolean;
|
|
56
57
|
headerText?: string;
|
|
57
58
|
scrollIntoViewId?: string;
|
|
58
59
|
selectorsConfig: {
|
|
@@ -81,11 +82,11 @@ export interface DeploymentConfigDiffProps {
|
|
|
81
82
|
};
|
|
82
83
|
renderedInDrawer?: boolean;
|
|
83
84
|
}
|
|
84
|
-
export interface DeploymentConfigDiffNavigationProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'navList' | 'collapsibleNavList' | 'goBackURL' | 'navHeading' | 'navHelpText' | 'tabConfig' | 'showDetailedDiffState'> {
|
|
85
|
+
export interface DeploymentConfigDiffNavigationProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'navList' | 'collapsibleNavList' | 'goBackURL' | 'navHeading' | 'navHelpText' | 'tabConfig' | 'showDetailedDiffState' | 'hideDiffState'> {
|
|
85
86
|
}
|
|
86
|
-
export interface DeploymentConfigDiffMainProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'errorConfig' | 'headerText' | 'configList' | 'scrollIntoViewId' | 'selectorsConfig' | 'sortingConfig' | 'scopeVariablesConfig' | 'showDetailedDiffState'> {
|
|
87
|
+
export interface DeploymentConfigDiffMainProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'errorConfig' | 'headerText' | 'configList' | 'scrollIntoViewId' | 'selectorsConfig' | 'sortingConfig' | 'scopeVariablesConfig' | 'showDetailedDiffState' | 'hideDiffState'> {
|
|
87
88
|
}
|
|
88
|
-
export type DeploymentConfigDiffAccordionProps = Pick<CollapseProps, 'onTransitionEnd'> & Pick<DeploymentConfigDiffProps, 'showDetailedDiffState'> & {
|
|
89
|
+
export type DeploymentConfigDiffAccordionProps = Pick<CollapseProps, 'onTransitionEnd'> & Pick<DeploymentConfigDiffProps, 'showDetailedDiffState' | 'hideDiffState'> & {
|
|
89
90
|
id: string;
|
|
90
91
|
title: string;
|
|
91
92
|
children: React.ReactNode;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentConfigDiffAccordionProps } from './DeploymentConfigDiff.types';
|
|
2
|
-
export declare const DeploymentConfigDiffAccordion: ({ diffState, showDetailedDiffState, children, title, id, isExpanded, onClick, onTransitionEnd, }: DeploymentConfigDiffAccordionProps) => JSX.Element;
|
|
2
|
+
export declare const DeploymentConfigDiffAccordion: ({ diffState, showDetailedDiffState, hideDiffState, children, title, id, isExpanded, onClick, onTransitionEnd, }: DeploymentConfigDiffAccordionProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentConfigDiffMainProps } from './DeploymentConfigDiff.types';
|
|
2
|
-
export declare const DeploymentConfigDiffMain: ({ isLoading, errorConfig, headerText, configList, selectorsConfig, sortingConfig, scrollIntoViewId, scopeVariablesConfig, showDetailedDiffState, }: DeploymentConfigDiffMainProps) => JSX.Element;
|
|
2
|
+
export declare const DeploymentConfigDiffMain: ({ isLoading, errorConfig, headerText, configList, selectorsConfig, sortingConfig, scrollIntoViewId, scopeVariablesConfig, showDetailedDiffState, hideDiffState, }: DeploymentConfigDiffMainProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentConfigDiffNavigationProps } from './DeploymentConfigDiff.types';
|
|
2
|
-
export declare const DeploymentConfigDiffNavigation: ({ isLoading, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, tabConfig, showDetailedDiffState, }: DeploymentConfigDiffNavigationProps) => JSX.Element;
|
|
2
|
+
export declare const DeploymentConfigDiffNavigation: ({ isLoading, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, tabConfig, showDetailedDiffState, hideDiffState, }: DeploymentConfigDiffNavigationProps) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Fe = Object.defineProperty;
|
|
2
2
|
var Le = (e, n, i) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => Le(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as je } from "./index-
|
|
4
|
+
import { m as je } from "./index-BjdjmRop.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 f } from "./index-
|
|
1
|
+
import { m as f } from "./index-BjdjmRop.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 l } from "./index-
|
|
1
|
+
import { m as l } from "./index-BjdjmRop.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-BjdjmRop.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 Be = Object.defineProperty;
|
|
2
2
|
var $e = (e, n, i) => n in e ? Be(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => $e(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as qe } from "./index-
|
|
4
|
+
import { m as qe } from "./index-BjdjmRop.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|