@devtron-labs/devtron-fe-common-lib 0.3.22-beta-5 → 0.3.22-beta-6

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 (25) hide show
  1. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +2 -2
  2. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +1 -1
  3. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
  4. package/dist/Shared/Components/CICDHistory/types.d.ts +6 -0
  5. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -0
  6. package/dist/Shared/Components/FeatureDescription/index.d.ts +0 -1
  7. package/dist/Shared/types.d.ts +1 -3
  8. package/dist/{cssMode-CPgPbDLM.js → cssMode-DC74mpyy.js} +1 -1
  9. package/dist/{freemarker2-CeHGPMkn.js → freemarker2-DICr6qIU.js} +1 -1
  10. package/dist/{handlebars-DGu78HG_.js → handlebars-CBWQeKyY.js} +1 -1
  11. package/dist/{html-Cq1FpOOK.js → html-Bfdjf1aI.js} +1 -1
  12. package/dist/{htmlMode-2L68N9fR.js → htmlMode-Bce4Q6aS.js} +1 -1
  13. package/dist/{index-DLlBmvl-.js → index-CwSt2WJr.js} +10190 -10122
  14. package/dist/index.js +162 -161
  15. package/dist/{javascript-VRHWHbC3.js → javascript-C2wEoQ7-.js} +1 -1
  16. package/dist/{jsonMode-DmKWdtn1.js → jsonMode-DTj3JaMy.js} +1 -1
  17. package/dist/{liquid-BlTUDC4H.js → liquid-Be7ecPmd.js} +1 -1
  18. package/dist/{mdx-BptGx33d.js → mdx-BP_OPA1_.js} +1 -1
  19. package/dist/{python-cr4-cCQi.js → python-ng5HTVt2.js} +1 -1
  20. package/dist/{razor-Nc939Xft.js → razor-CmoSmdIj.js} +1 -1
  21. package/dist/{tsMode-onNn4k2g.js → tsMode-BVrLdcMc.js} +1 -1
  22. package/dist/{typescript-bliZ60_Y.js → typescript-CJY8BxL4.js} +1 -1
  23. package/dist/{xml-Dohe4On-.js → xml-Dzi_mEbt.js} +1 -1
  24. package/dist/{yaml-Byv4W4dt.js → yaml-7wkBuvOs.js} +1 -1
  25. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
- import { BuildInfraDescriptorProps } from './types';
2
- declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, }: BuildInfraDescriptorProps) => JSX.Element;
1
+ import { DescriptorProps } from './types';
2
+ declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, }: DescriptorProps) => JSX.Element;
3
3
  export default Descriptor;
@@ -48,7 +48,7 @@ export declare enum BuildInfraProfileVariants {
48
48
  NORMAL = "NORMAL",
49
49
  CUSTOM = "CUSTOM"
50
50
  }
51
- export interface BuildInfraDescriptorProps {
51
+ export interface DescriptorProps {
52
52
  /**
53
53
  * In case we want to restrict the max-width
54
54
  */
@@ -1,3 +1,3 @@
1
1
  import { LogStageAccordionProps } from './types';
2
- declare const LogStageAccordion: ({ stage, isOpen, logs, endTime, startTime, status, handleStageClose, handleStageOpen, stageIndex, isLoading, fullScreenView, }: LogStageAccordionProps) => JSX.Element;
2
+ declare const LogStageAccordion: ({ stage, isOpen, logs, endTime, startTime, status, handleStageClose, handleStageOpen, stageIndex, isLoading, fullScreenView, searchIndex, }: LogStageAccordionProps) => JSX.Element;
3
3
  export default LogStageAccordion;
@@ -635,11 +635,17 @@ export interface LogStageAccordionProps extends StageDetailType, Pick<LogsRender
635
635
  * A stage is loading if it is last in current stage list and event is not closed
636
636
  */
637
637
  isLoading: boolean;
638
+ searchIndex: string;
638
639
  }
639
640
  export interface CreateMarkupReturnType {
640
641
  __html: string;
641
642
  isSearchKeyPresent: boolean;
642
643
  }
644
+ export interface CreateMarkupPropsType {
645
+ log: string;
646
+ useCurrentSelectionColor?: boolean;
647
+ targetSearchKey?: string;
648
+ }
643
649
  export type TriggerHistoryFilterCriteriaType = `${string}|${string}|${string}`[];
644
650
  export declare const terminalStatus: Set<string>;
645
651
  export declare const statusSet: Set<string>;
@@ -5,3 +5,4 @@ export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any,
5
5
  export declare const renderIcon: (iconState: string) => JSX.Element;
6
6
  export declare const getStageStatusIcon: (status: StageStatusType) => JSX.Element;
7
7
  export declare const getTriggerStatusIcon: (triggerDetailStatus: string) => JSX.Element;
8
+ export declare const getLogSearchIndex: (stageIndex: number, lineNumberInsideStage: number) => string;
@@ -1,3 +1,2 @@
1
1
  export * from './FeatureDescriptionModal';
2
2
  export { default as FeatureTitleWithInfo } from './FeatureTitleWithInfo';
3
- export * from './types';
@@ -395,9 +395,7 @@ export interface SeverityCount {
395
395
  unknown: number;
396
396
  }
397
397
  export declare enum PolicyKindType {
398
- lockConfiguration = "lock-configuration",
399
- imagePromotion = "image-promotion",
400
- plugins = "lock-configuration"
398
+ lockConfiguration = "lock-configuration"
401
399
  }
402
400
  export interface LastExecutionResultType {
403
401
  lastExecution: string;
@@ -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-DLlBmvl-.js";
4
+ import { m as je } from "./index-CwSt2WJr.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-DLlBmvl-.js";
1
+ import { m as f } from "./index-CwSt2WJr.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-DLlBmvl-.js";
1
+ import { m as l } from "./index-CwSt2WJr.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-DLlBmvl-.js";
1
+ import { m as s } from "./index-CwSt2WJr.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-DLlBmvl-.js";
4
+ import { m as qe } from "./index-CwSt2WJr.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)