@devtron-labs/devtron-fe-common-lib 0.1.11 → 0.1.12-beta-1

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 (27) hide show
  1. package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +1 -1
  2. package/dist/Shared/Components/ButtonWithSelector/types.d.ts +1 -0
  3. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +1 -1
  4. package/dist/Shared/Components/CICDHistory/index.d.ts +1 -0
  5. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -0
  6. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  7. package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +3 -1
  8. package/dist/Shared/constants.d.ts +1 -0
  9. package/dist/Shared/types.d.ts +6 -0
  10. package/dist/{cssMode-25922973.js → cssMode-63ee5358.js} +1 -1
  11. package/dist/{freemarker2-14b0e47e.js → freemarker2-270b95d1.js} +1 -1
  12. package/dist/{handlebars-1537c7dc.js → handlebars-d48fa28f.js} +1 -1
  13. package/dist/{html-f371fbb2.js → html-a5839603.js} +1 -1
  14. package/dist/{htmlMode-8a25a134.js → htmlMode-2c8872e7.js} +1 -1
  15. package/dist/{index-09519de6.js → index-aab09e8b.js} +6338 -6325
  16. package/dist/index.js +356 -355
  17. package/dist/{javascript-1fd1b6bd.js → javascript-ec66b63b.js} +1 -1
  18. package/dist/{jsonMode-b9bdc4b7.js → jsonMode-0465a589.js} +1 -1
  19. package/dist/{liquid-df57a021.js → liquid-1b48c005.js} +1 -1
  20. package/dist/{mdx-b3b80ae9.js → mdx-fd2622c8.js} +1 -1
  21. package/dist/{python-8b4132f8.js → python-2625b208.js} +1 -1
  22. package/dist/{razor-ffce978e.js → razor-b5f0adc9.js} +1 -1
  23. package/dist/{tsMode-4e611d22.js → tsMode-7ba7207b.js} +1 -1
  24. package/dist/{typescript-897f0cfb.js → typescript-8d8017c6.js} +1 -1
  25. package/dist/{xml-2a3b0346.js → xml-1cc09e91.js} +1 -1
  26. package/dist/{yaml-2d6ea175.js → yaml-1185d077.js} +1 -1
  27. package/package.json +2 -2
@@ -14,5 +14,5 @@ import { ButtonWithSelectorProps } from './types';
14
14
  * </ButtonWithSelector>
15
15
  * ```
16
16
  */
17
- declare const ButtonWithSelector: ({ content, onClick, children, className, popUpBodyClassName, showPopUp, disabled, }: ButtonWithSelectorProps) => JSX.Element;
17
+ declare const ButtonWithSelector: ({ content, onClick, children, className, popUpBodyClassName, showPopUp, disabled, isLoading, }: ButtonWithSelectorProps) => JSX.Element;
18
18
  export default ButtonWithSelector;
@@ -8,4 +8,5 @@ export interface ButtonWithSelectorProps {
8
8
  popUpBodyClassName?: string;
9
9
  showPopUp?: boolean;
10
10
  disabled?: boolean;
11
+ isLoading?: boolean;
11
12
  }
@@ -1,4 +1,4 @@
1
1
  import { DeploymentTemplateHistoryType } from '../types';
2
2
 
3
- declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, isUnpublished, isDeleteDraft, rootClassName, }: DeploymentTemplateHistoryType) => JSX.Element;
3
+ declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, isUnpublished, isDeleteDraft, rootClassName, comparisonBodyClassName, }: DeploymentTemplateHistoryType) => JSX.Element;
4
4
  export default DeploymentHistoryDiffView;
@@ -5,6 +5,7 @@ export { default as CDEmptyState } from './CDEmptyState';
5
5
  export { default as DeploymentStatusDetailBreakdown } from './DeploymentStatusBreakdown';
6
6
  export { default as AppStatusDetailsChart } from './AppStatusDetailsChart';
7
7
  export { default as DeploymentDetailSteps } from './DeploymentDetailSteps';
8
+ export { default as DetectBottom } from './DetectBottom';
8
9
  export * from './types';
9
10
  export * from './service';
10
11
  export * from './History.components';
@@ -368,6 +368,7 @@ export interface DeploymentTemplateHistoryType {
368
368
  isUnpublished?: boolean;
369
369
  isDeleteDraft?: boolean;
370
370
  rootClassName?: string;
371
+ comparisonBodyClassName?: string;
371
372
  }
372
373
  export interface DeploymentHistoryDetailRes extends ResponseType {
373
374
  result?: DeploymentHistoryDetail;
@@ -1,3 +1,3 @@
1
1
  import { KeyValueTableProps } from './KeyValueTable.types';
2
2
 
3
- export declare const KeyValueTable: <K extends string>({ config, maskValue, isSortable, headerComponent, onChange, onDelete, placeholder, isAdditionNotAllowed, }: KeyValueTableProps<K>) => JSX.Element;
3
+ export declare const KeyValueTable: <K extends string>({ config, maskValue, isSortable, headerComponent, onChange, onDelete, placeholder, isAdditionNotAllowed, readOnly, }: KeyValueTableProps<K>) => JSX.Element;
@@ -60,8 +60,10 @@ export interface KeyValueTableProps<K extends string> {
60
60
  isSortable?: boolean;
61
61
  /** An optional React node for a custom header component. */
62
62
  headerComponent?: ReactNode;
63
- /** When true, data addition field will not be shown */
63
+ /** When true, data addition field will not be shown. */
64
64
  isAdditionNotAllowed?: boolean;
65
+ /** When true, data add or update is disabled. */
66
+ readOnly?: boolean;
65
67
  /**
66
68
  * An optional function to handle changes in the table rows.
67
69
  * @param rowId - The id of the row that changed.
@@ -31,6 +31,7 @@ export declare const DATE_TIME_FORMAT_STRING = "ddd DD MMM YYYY HH:mm:ss";
31
31
  export declare const API_TOKEN_PREFIX = "API-TOKEN:";
32
32
  export declare const DEFAULT_SECRET_PLACEHOLDER = "\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022";
33
33
  export declare enum PatchOperationType {
34
+ add = "add",
34
35
  replace = "replace",
35
36
  remove = "remove"
36
37
  }
@@ -336,6 +336,12 @@ export type PatchQueryType<T extends string, K = unknown> = {
336
336
  */
337
337
  op: PatchOperationType.remove;
338
338
  value?: never;
339
+ } | {
340
+ /**
341
+ * Operation type for add
342
+ */
343
+ op: PatchOperationType.add;
344
+ value?: K;
339
345
  });
340
346
  export interface GroupedOptionsType {
341
347
  label: string;
@@ -1,7 +1,7 @@
1
1
  var Le = Object.defineProperty;
2
2
  var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Ne } from "./index-09519de6.js";
4
+ import { m as Ne } from "./index-aab09e8b.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-09519de6.js";
1
+ import { m as F } from "./index-aab09e8b.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-09519de6.js";
1
+ import { m as i } from "./index-aab09e8b.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-09519de6.js";
1
+ import { m as d } from "./index-aab09e8b.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 $e = Object.defineProperty;
2
2
  var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
3
3
  var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
4
- import { m as Qe } from "./index-09519de6.js";
4
+ import { m as Qe } from "./index-aab09e8b.js";
5
5
  /*!-----------------------------------------------------------------------------
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
7
7
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)