@devtron-labs/devtron-fe-common-lib 0.2.5-beta-2 → 0.2.6-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 (82) hide show
  1. package/dist/Common/CodeEditor/types.d.ts +2 -2
  2. package/dist/Common/Common.service.d.ts +0 -6
  3. package/dist/Common/Constants.d.ts +2 -12
  4. package/dist/Common/RJSF/constants.d.ts +5 -0
  5. package/dist/Common/RJSF/index.d.ts +1 -0
  6. package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +1 -1
  7. package/dist/Common/Types.d.ts +2 -3
  8. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -1
  9. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +18 -0
  10. package/dist/Pages/GlobalConfigurations/DeploymentCharts/basicViewSchema.json.d.ts +273 -0
  11. package/dist/Pages/GlobalConfigurations/DeploymentCharts/fallbackJobsNCronJobGuiSchema.json.d.ts +157 -0
  12. package/dist/Pages/GlobalConfigurations/DeploymentCharts/index.d.ts +2 -0
  13. package/dist/Pages/GlobalConfigurations/DeploymentCharts/types.d.ts +24 -0
  14. package/dist/Pages/GlobalConfigurations/DeploymentCharts/utils.d.ts +4 -0
  15. package/dist/Pages/GlobalConfigurations/index.d.ts +1 -0
  16. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +1 -1
  17. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -3
  18. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  19. package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +3 -47
  20. package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +4 -0
  21. package/dist/Shared/Components/ScannedObjectBar/index.d.ts +1 -0
  22. package/dist/Shared/Components/ScannedObjectBar/types.d.ts +7 -0
  23. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  24. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  25. package/dist/Shared/Components/SelectPicker/index.d.ts +0 -1
  26. package/dist/Shared/Components/SelectPicker/type.d.ts +0 -16
  27. package/dist/Shared/Components/SelectPicker/utils.d.ts +2 -11
  28. package/dist/Shared/Components/SelectPickerCustom/FilterSelectPicker.d.ts +4 -0
  29. package/dist/Shared/Components/SelectPickerCustom/SelectPicker.component.d.ts +139 -0
  30. package/dist/Shared/Components/SelectPickerCustom/common.d.ts +13 -0
  31. package/dist/Shared/Components/SelectPickerCustom/index.d.ts +3 -0
  32. package/dist/Shared/Components/SelectPickerCustom/type.d.ts +163 -0
  33. package/dist/Shared/Components/SelectPickerCustom/utils.d.ts +15 -0
  34. package/dist/Shared/Components/Vulnerabilities/utils.d.ts +0 -1
  35. package/dist/Shared/Components/index.d.ts +2 -4
  36. package/dist/Shared/Helpers.d.ts +1 -2
  37. package/dist/Shared/Services/app.service.d.ts +1 -3
  38. package/dist/Shared/Services/app.types.d.ts +0 -116
  39. package/dist/Shared/constants.d.ts +0 -4
  40. package/dist/Shared/types.d.ts +7 -31
  41. package/dist/Shared/validations.d.ts +1 -3
  42. package/dist/assets/editor.worker-60ba9509.js +12 -0
  43. package/dist/assets/index.css +1 -1
  44. package/dist/assets/yaml.worker-3bbe780a.js +472 -0
  45. package/dist/{cssMode-07da02cd.js → cssMode-a92794b5.js} +1 -1
  46. package/dist/{freemarker2-9fd83d43.js → freemarker2-e5ee51c9.js} +1 -1
  47. package/dist/{handlebars-18dccb78.js → handlebars-9153151b.js} +1 -1
  48. package/dist/{html-201758e1.js → html-011bc885.js} +1 -1
  49. package/dist/{htmlMode-10964d27.js → htmlMode-4885a742.js} +1 -1
  50. package/dist/{index-8bb539c6.js → index-a419ec38.js} +45125 -40807
  51. package/dist/index.d.ts +0 -2
  52. package/dist/index.js +488 -504
  53. package/dist/{javascript-4327a7e8.js → javascript-9b5d9b49.js} +1 -1
  54. package/dist/{jsonMode-e59deb57.js → jsonMode-fa67bdba.js} +1 -1
  55. package/dist/{liquid-c96eb385.js → liquid-a2b3aabb.js} +1 -1
  56. package/dist/{mdx-0eb9a0f4.js → mdx-96b66709.js} +1 -1
  57. package/dist/{python-d79b6153.js → python-93cea446.js} +1 -1
  58. package/dist/{razor-4d69a090.js → razor-a13e6ece.js} +1 -1
  59. package/dist/{tsMode-b991e21c.js → tsMode-fa82c200.js} +1 -1
  60. package/dist/{typescript-0b46acf6.js → typescript-9835808a.js} +1 -1
  61. package/dist/{xml-eb10ea00.js → xml-f03d7ed4.js} +1 -1
  62. package/dist/{yaml-a9060343.js → yaml-82f4884e.js} +1 -1
  63. package/package.json +5 -5
  64. package/dist/Common/Security/types.d.ts +0 -4
  65. package/dist/Shared/Components/Collapse/Collapse.d.ts +0 -3
  66. package/dist/Shared/Components/Collapse/index.d.ts +0 -2
  67. package/dist/Shared/Components/Collapse/types.d.ts +0 -7
  68. package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +0 -3
  69. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +0 -96
  70. package/dist/Shared/Components/CollapsibleList/index.d.ts +0 -2
  71. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +0 -3
  72. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +0 -38
  73. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +0 -3
  74. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +0 -3
  75. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +0 -3
  76. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +0 -3
  77. package/dist/Shared/Components/DeploymentConfigDiff/types.d.ts +0 -69
  78. package/dist/Shared/Components/FilterButton/FilterButton.d.ts +0 -5
  79. package/dist/Shared/Components/FilterButton/index.d.ts +0 -1
  80. package/dist/Shared/Components/FilterButton/types.d.ts +0 -12
  81. package/dist/Shared/Components/FilterButton/utils.d.ts +0 -15
  82. package/dist/Shared/Components/KeyValueTable/constants.d.ts +0 -2
@@ -1,4 +1,4 @@
1
- import { conf as t, language as e } from "./typescript-0b46acf6.js";
1
+ import { conf as t, language as e } from "./typescript-9835808a.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-8bb539c6.js";
4
+ import { m as Ze } from "./index-a419ec38.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-8bb539c6.js";
1
+ import { m as d } from "./index-a419ec38.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-8bb539c6.js";
1
+ import { m as d } from "./index-a419ec38.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-8bb539c6.js";
1
+ import { m as a } from "./index-a419ec38.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-8bb539c6.js";
1
+ import { m as s } from "./index-a419ec38.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-8bb539c6.js";
4
+ import { t as K, m as E } from "./index-a419ec38.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-8bb539c6.js";
1
+ import { m as a } from "./index-a419ec38.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-8bb539c6.js";
1
+ import { m } from "./index-a419ec38.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-8bb539c6.js";
1
+ import { m as i } from "./index-a419ec38.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.2.5-beta-2",
3
+ "version": "0.2.6-beta-1",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,12 +23,12 @@
23
23
  ],
24
24
  "scripts": {
25
25
  "prepare": "node -e \"try { require('husky').install() } catch (e) {}\"",
26
- "lint": "tsc --noEmit && NODE_OPTIONS=--max_old_space_size=8192 eslint 'src/**/*.{js,jsx,ts,tsx}' --max-warnings 0",
26
+ "lint": "tsc --noEmit && NODE_OPTIONS=--max_old_space_size=3072 eslint 'src/**/*.{js,jsx,ts,tsx}' --max-warnings 0",
27
27
  "lint-fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix",
28
28
  "test": "exit 0",
29
- "dev": "NODE_OPTIONS=--max_old_space_size=8192 vite",
30
- "build": "NODE_OPTIONS=--max_old_space_size=8192 vite build --sourcemap",
31
- "build-watch": "NODE_OPTIONS=--max_old_space_size=8192 vite build --sourcemap --watch",
29
+ "dev": "NODE_OPTIONS=--max_old_space_size=3072 vite",
30
+ "build": "NODE_OPTIONS=--max_old_space_size=3072 vite build --sourcemap",
31
+ "build-watch": "NODE_OPTIONS=--max_old_space_size=3072 vite build --sourcemap --watch",
32
32
  "build-lib": "vite build",
33
33
  "preview": "vite preview",
34
34
  "lint-staged": "lint-staged"
@@ -1,4 +0,0 @@
1
- export declare enum VulnerabilitiesTableSortKeys {
2
- SEVERITY = "severity",
3
- PACKAGE = "package"
4
- }
@@ -1,3 +0,0 @@
1
- import { CollapseProps } from './types';
2
-
3
- export declare const Collapse: ({ expand, onTransitionEnd, children }: CollapseProps) => JSX.Element;
@@ -1,2 +0,0 @@
1
- export * from './Collapse';
2
- export * from './types';
@@ -1,7 +0,0 @@
1
- import { ReactNode, TransitionEvent } from 'react';
2
-
3
- export interface CollapseProps {
4
- expand: boolean;
5
- children: ReactNode;
6
- onTransitionEnd?: (e: TransitionEvent<HTMLDivElement>) => void;
7
- }
@@ -1,3 +0,0 @@
1
- import { CollapsibleListProps } from './CollapsibleList.types';
2
-
3
- export declare const CollapsibleList: ({ config, onCollapseBtnClick }: CollapsibleListProps) => JSX.Element;
@@ -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,2 +0,0 @@
1
- export * from './CollapsibleList.component';
2
- export * from './CollapsibleList.types';
@@ -1,3 +0,0 @@
1
- import { DeploymentConfigDiffProps } from './types';
2
-
3
- export declare const DeploymentConfigDiff: ({ isLoading, configList, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, ...resProps }: DeploymentConfigDiffProps) => JSX.Element;
@@ -1,38 +0,0 @@
1
- import { SortingOrder } from '../../../Common/Constants';
2
- import { DeploymentConfigDiffProps } from '..';
3
- import { AppEnvDeploymentConfigDTO, ConfigMapSecretDataConfigDatumDTO, EnvResourceType, TemplateListDTO } from '../../Services/app.types';
4
-
5
- /**
6
- * Retrieves the draft data from the given configuration data object.
7
- *
8
- * @param configData - The configuration data object.
9
- * @returns The draft data if available, otherwise the original data.
10
- */
11
- export declare const getDraftData: (configData: ConfigMapSecretDataConfigDatumDTO) => ConfigMapSecretDataConfigDatumDTO;
12
- /**
13
- * Combines two arrays of configuration data objects based on a 'name' key.
14
- *
15
- * @param primaryArray - The first array of configuration data objects.
16
- * @param secondaryArray - The second array of configuration data objects.
17
- * @returns The combined array of configuration data objects.
18
- */
19
- export declare const mergeConfigDataArraysByName: (primaryArray: ConfigMapSecretDataConfigDatumDTO[], secondaryArray: ConfigMapSecretDataConfigDatumDTO[]) => ConfigMapSecretDataConfigDatumDTO[][];
20
- /**
21
- * Generates a list of deployment configurations for application environments and identifies changes between the current and compare lists.
22
- *
23
- * @param currentList - The current deployment configuration list.
24
- * @param compareList - The deployment configuration list to compare against.
25
- * @param getNavItemHref - A function to generate navigation item URLs based on the resource type and resource name.
26
- * @param sortOrder - (Optional) The order in which to sort the deployment templates.
27
- *
28
- * @returns An object containing the combined deployment configuration list, a collapsible navigation list, and a navigation list.
29
- */
30
- export declare const getAppEnvDeploymentConfigList: (currentList: AppEnvDeploymentConfigDTO, compareList: AppEnvDeploymentConfigDTO, getNavItemHref: (resourceType: EnvResourceType, resourceName: string) => string, sortOrder?: SortingOrder) => {
31
- configList: DeploymentConfigDiffProps['configList'];
32
- navList: DeploymentConfigDiffProps['navList'];
33
- collapsibleNavList: DeploymentConfigDiffProps['collapsibleNavList'];
34
- };
35
- export declare const getDefaultVersionAndPreviousDeploymentOptions: (data: TemplateListDTO[]) => {
36
- previousDeployments: TemplateListDTO[];
37
- defaultVersions: TemplateListDTO[];
38
- };
@@ -1,3 +0,0 @@
1
- import { DeploymentConfigDiffAccordionProps } from './types';
2
-
3
- export declare const DeploymentConfigDiffAccordion: import('react').ForwardRefExoticComponent<DeploymentConfigDiffAccordionProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,3 +0,0 @@
1
- import { DeploymentConfigDiffMainProps } from './types';
2
-
3
- export declare const DeploymentConfigDiffMain: ({ isLoading, headerText, configList, selectorsConfig, sortingConfig, scrollIntoViewId, }: DeploymentConfigDiffMainProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- import { DeploymentConfigDiffNavigationProps } from './types';
2
-
3
- export declare const DeploymentConfigDiffNavigation: ({ isLoading, collapsibleNavList, navList, goBackURL, navHeading, navHelpText, }: DeploymentConfigDiffNavigationProps) => JSX.Element;
@@ -1,3 +0,0 @@
1
- export * from './DeploymentConfigDiff.component';
2
- export * from './types';
3
- export * from './DeploymentConfigDiff.utils';
@@ -1,69 +0,0 @@
1
- import { SortingOrder } from '../../../Common/Constants';
2
- import { ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO } from '../../Services';
3
- import { DeploymentHistoryDetail } from '../CICDHistory';
4
- import { CollapsibleListConfig, CollapsibleListItem } from '../CollapsibleList';
5
- import { SelectPickerProps } from '../SelectPicker';
6
- import { CollapseProps } from '../Collapse';
7
-
8
- export interface DeploymentConfigType {
9
- list: DeploymentHistoryDetail;
10
- heading: React.ReactNode;
11
- }
12
- export interface DeploymentConfigListItem {
13
- id: string;
14
- title: string;
15
- primaryConfig: DeploymentConfigType;
16
- secondaryConfig: DeploymentConfigType;
17
- hasDiff?: boolean;
18
- isDeploymentTemplate?: boolean;
19
- }
20
- export type DeploymentConfigDiffSelectPickerProps = {
21
- type: 'string';
22
- id: string;
23
- text: string | React.ReactNode;
24
- selectPickerProps?: never;
25
- } | {
26
- type: 'selectPicker';
27
- id: string;
28
- text?: never;
29
- selectPickerProps: SelectPickerProps;
30
- };
31
- export interface DeploymentConfigDiffNavigationItem extends Pick<CollapsibleListItem, 'href' | 'title' | 'onClick'> {
32
- hasDiff?: boolean;
33
- }
34
- export interface DeploymentConfigDiffNavigationCollapsibleItem extends Pick<CollapsibleListConfig, 'id' | 'header' | 'noItemsText'> {
35
- items: DeploymentConfigDiffNavigationItem[];
36
- }
37
- export interface DeploymentConfigDiffProps {
38
- isLoading?: boolean;
39
- configList: DeploymentConfigListItem[];
40
- headerText?: string;
41
- scrollIntoViewId?: string;
42
- selectorsConfig: {
43
- primaryConfig: DeploymentConfigDiffSelectPickerProps[];
44
- secondaryConfig: DeploymentConfigDiffSelectPickerProps[];
45
- };
46
- sortingConfig?: {
47
- sortBy: string;
48
- sortOrder: SortingOrder;
49
- handleSorting: () => void;
50
- };
51
- navList: DeploymentConfigDiffNavigationItem[];
52
- collapsibleNavList: DeploymentConfigDiffNavigationCollapsibleItem[];
53
- goBackURL?: string;
54
- navHeading: string;
55
- navHelpText?: string;
56
- }
57
- export interface DeploymentConfigDiffNavigationProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'navList' | 'collapsibleNavList' | 'goBackURL' | 'navHeading' | 'navHelpText'> {
58
- }
59
- export interface DeploymentConfigDiffMainProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'headerText' | 'configList' | 'scrollIntoViewId' | 'selectorsConfig' | 'sortingConfig'> {
60
- }
61
- export interface DeploymentConfigDiffAccordionProps extends Pick<CollapseProps, 'onTransitionEnd'> {
62
- id: string;
63
- title: string;
64
- children: React.ReactNode;
65
- hasDiff?: boolean;
66
- isExpanded?: boolean;
67
- onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
68
- }
69
- export type DiffHeadingDataType<DeploymentTemplate> = DeploymentTemplate extends true ? DeploymentTemplateDTO : ConfigMapSecretDataConfigDatumDTO;
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- import { FilterButtonPropsType } from './types';
3
-
4
- declare const FilterButton: React.FC<FilterButtonPropsType>;
5
- export default FilterButton;
@@ -1 +0,0 @@
1
- export { default as FilterButton } from './FilterButton';
@@ -1,12 +0,0 @@
1
- import { OptionType } from '../../../Common/Types';
2
-
3
- export interface FilterButtonPropsType {
4
- placeholder: string;
5
- appliedFilters: string[];
6
- options: OptionType[];
7
- handleApplyChange: (selectedOptions: string[]) => void;
8
- disabled?: boolean;
9
- getFormattedFilterLabelValue?: (identifier: string) => string;
10
- menuAlignFromRight?: boolean;
11
- controlWidth?: string;
12
- }
@@ -1,15 +0,0 @@
1
- export declare const getFilterStyle: (controlWidth?: string, menuAlignFromRight?: boolean) => {
2
- menu: (base: any) => any;
3
- control: (base: any, state: any) => any;
4
- container: (base: any) => any;
5
- option: (base: any, state: any) => any;
6
- singleValue: (base: any) => any;
7
- valueContainer: (base: any) => any;
8
- dropdownIndicator: (base: any, state: any) => any;
9
- group: (base: any) => any;
10
- groupHeading: (base: any) => any;
11
- menuList: (base: any) => any;
12
- multiValue: (base: any) => any;
13
- multiValueLabel: (base: any) => any;
14
- placeholder: (base: any) => any;
15
- };
@@ -1,2 +0,0 @@
1
- export declare const DUPLICATE_KEYS_VALIDATION_MESSAGE = "Keys must be unique";
2
- export declare const EMPTY_KEY_VALIDATION_MESSAGE = "Key cannot be empty";