@devtron-labs/devtron-fe-common-lib 1.19.3 → 1.19.4-pre-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.
- package/dist/{@code-editor-CNbDePr1.js → @code-editor-BoOtx8NN.js} +9634 -9049
- package/dist/{@common-rjsf-D5cvCLaG.js → @common-rjsf-Bu-65uaK.js} +46 -46
- package/dist/{@framer-motion-DZveCoIL.js → @framer-motion-D-YaCAW-.js} +92 -90
- package/dist/{@react-dates-CZ1bNWJM.js → @react-dates-Bo3yT8LF.js} +1 -1
- package/dist/{@react-select-DS68hCUM.js → @react-select-DTi_5fIc.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-V-8klKy9.js → @react-virtualized-sticky-tree-CuvDiqTo.js} +1 -1
- package/dist/{@vendor-3ORIJA0h.js → @vendor-DMIFbFhR.js} +26068 -17978
- package/dist/Common/CIPipeline.Types.d.ts +1 -0
- package/dist/Common/Common.service.d.ts +1 -1
- package/dist/Common/Constants.d.ts +11 -0
- package/dist/Common/ErrorPage.d.ts +1 -1
- package/dist/Common/ErrorScreenManager.d.ts +1 -1
- package/dist/Common/Helper.d.ts +1 -1
- package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +1 -0
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +1 -0
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/InteractiveCellText/InteractiveCellText.d.ts +27 -0
- package/dist/Common/InteractiveCellText/index.d.ts +2 -0
- package/dist/Common/InteractiveCellText/types.d.ts +10 -0
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/RJSF/utils.d.ts +1 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
- package/dist/Common/SearchBar/types.d.ts +4 -0
- package/dist/Common/Types.d.ts +13 -5
- package/dist/Common/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +9 -0
- package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/index.d.ts +1 -0
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +8 -8
- package/dist/Shared/Components/Backdrop/types.d.ts +11 -2
- package/dist/Shared/Components/Button/Button.component.d.ts +68 -68
- package/dist/Shared/Components/CICDHistory/Artifacts.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +2 -0
- package/dist/Shared/Components/Charts/Chart.component.d.ts +102 -0
- package/dist/Shared/Components/Charts/constants.d.ts +16 -0
- package/dist/Shared/Components/Charts/index.d.ts +2 -0
- package/dist/Shared/Components/Charts/types.d.ts +56 -0
- package/dist/Shared/Components/Charts/utils.d.ts +11 -0
- package/dist/Shared/Components/CodeEditor/utils.d.ts +1 -1
- package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
- package/dist/Shared/Components/DTFocusTrap/types.d.ts +0 -9
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +1 -1
- package/dist/Shared/Components/GenericModal/types.d.ts +1 -0
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +2 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +21 -5
- package/dist/Shared/Components/GitProviderIcon/utils.d.ts +1 -0
- package/dist/Shared/Components/Icon/Icon.d.ts +21 -0
- package/dist/Shared/Components/Illustration/Illustration.d.ts +2 -0
- package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +3 -0
- package/dist/Shared/Components/KeyboardShortcut/index.d.ts +1 -0
- package/dist/Shared/Components/KeyboardShortcut/types.d.ts +4 -0
- package/dist/Shared/Components/MaterialHistory/MaterialHistory.component.d.ts +1 -1
- package/dist/Shared/Components/MaterialHistory/types.d.ts +1 -2
- package/dist/Shared/Components/Popover/utils.d.ts +1 -1
- package/dist/Shared/Components/RegistryIcon/RegistryIcon.d.ts +1 -1
- package/dist/Shared/Components/RegistryIcon/types.d.ts +17 -2
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
- package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +8 -4
- package/dist/Shared/Components/Table/utils.d.ts +1 -1
- package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
- package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
- package/dist/Shared/Components/TreeView/constants.d.ts +3 -0
- package/dist/Shared/Components/TreeView/types.d.ts +13 -3
- package/dist/Shared/Components/index.d.ts +2 -0
- package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +31 -2
- package/dist/Shared/Services/ToastManager/ToastContent.d.ts +2 -1
- package/dist/Shared/Services/ToastManager/constants.d.ts +2 -2
- package/dist/Shared/Services/ToastManager/toastManager.service.d.ts +1 -1
- package/dist/Shared/Services/ToastManager/types.d.ts +23 -3
- package/dist/Shared/Services/app.service.d.ts +3 -3
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-aws-codecommit.236f850c.svg +10 -0
- package/dist/assets/ic-bot.65f403dd.svg +3 -0
- package/dist/assets/ic-clipboard.2869fa7d.svg +3 -0
- package/dist/assets/ic-cloud.aa7acc8a.svg +3 -0
- package/dist/assets/ic-coins.2c15f406.svg +3 -0
- package/dist/assets/ic-devtron-text.67a413b6.svg +3 -0
- package/dist/assets/ic-diff-added.6ef6f938.svg +3 -0
- package/dist/assets/ic-diff-deleted.54eb24dd.svg +3 -0
- package/dist/assets/ic-diff-updated.294b925e.svg +4 -0
- package/dist/assets/ic-files-changed.04e6de3f.svg +3 -0
- package/dist/assets/ic-group-filter-applied.2cdb11e7.svg +20 -0
- package/dist/assets/{ic-folder.051cd30d.svg → ic-group-filter.ed1869f5.svg} +3 -3
- package/dist/assets/ic-input.57281408.svg +3 -0
- package/dist/assets/ic-locked.dd40e181.svg +3 -0
- package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +3 -0
- package/dist/assets/ic-storage.03f282b6.svg +21 -0
- package/dist/assets/ic-tag.5fdc7834.svg +3 -0
- package/dist/assets/ic-trend-up.5752ef30.svg +3 -0
- package/dist/assets/ic-warning-fill.bfea8b38.svg +4 -0
- package/dist/assets/img-mechanical-operation.04a318d6.svg +17 -0
- package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +906 -898
- package/package.json +2 -1
@@ -18,7 +18,7 @@ export declare function extractImage(image: string): string;
|
|
18
18
|
export declare function createGitCommitUrl(url: string, revision: string): string;
|
19
19
|
export declare function fetchChartTemplateVersions(): Promise<ResponseType<any>>;
|
20
20
|
export declare const getDefaultConfig: () => Promise<ResponseType>;
|
21
|
-
export declare function getEnvironmentListMinPublic(includeAllowedDeploymentTypes?: boolean): Promise<ResponseType<any>>;
|
21
|
+
export declare function getEnvironmentListMinPublic(includeAllowedDeploymentTypes?: boolean, options?: APIOptions): Promise<ResponseType<any>>;
|
22
22
|
export declare function getClusterListMin(): Promise<ResponseType<any>>;
|
23
23
|
export declare const getResourceGroupListRaw: (clusterId: string) => Promise<ResponseType<ApiResourceType>>;
|
24
24
|
export declare function getNamespaceListMin(clusterIdsCsv: string, abortControllerRef?: APIOptions['abortControllerRef']): Promise<EnvironmentListHelmResponse>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { SelectPickerOptionType } from '../Shared/Components';
|
1
2
|
export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
|
2
3
|
export declare const Host: string;
|
3
4
|
export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
|
@@ -63,6 +64,14 @@ export declare const URLS: {
|
|
63
64
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
|
64
65
|
readonly LICENSE_AUTH: "/license-auth";
|
65
66
|
readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-config/cluster-env/edit/:clusterId";
|
67
|
+
readonly COST_VISIBILITY_OVERVIEW: "/cost-visibility/overview";
|
68
|
+
readonly COST_BREAKDOWN_ROUTE: "/cost-visibility/breakdown/:breakdownViewType";
|
69
|
+
readonly COST_BREAKDOWN_CLUSTERS: "/cost-visibility/breakdown/clusters";
|
70
|
+
readonly COST_BREAKDOWN_ENVIRONMENTS: "/cost-visibility/breakdown/environments";
|
71
|
+
readonly COST_BREAKDOWN_PROJECTS: "/cost-visibility/breakdown/projects";
|
72
|
+
readonly COST_BREAKDOWN_APPLICATIONS: "/cost-visibility/breakdown/applications";
|
73
|
+
readonly COST_BREAKDOWN_ITEM_NAME: ":itemName";
|
74
|
+
readonly COST_CONFIGURATIONS: "/cost-visibility/configurations";
|
66
75
|
};
|
67
76
|
export declare const ROUTES: {
|
68
77
|
readonly APP: "app";
|
@@ -364,3 +373,5 @@ export declare enum SSOProvider {
|
|
364
373
|
oidc = "oidc",
|
365
374
|
openshift = "openshift"
|
366
375
|
}
|
376
|
+
export declare const BULK_DEPLOY_LATEST_IMAGE_TAG: SelectPickerOptionType<string>;
|
377
|
+
export declare const BULK_DEPLOY_ACTIVE_IMAGE_TAG: SelectPickerOptionType<string>;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ErrorPageType } from './Types';
|
2
|
-
declare const ErrorPage: ({ code, image, title, subTitle, imageType, redirectURL, reload }: ErrorPageType) => JSX.Element;
|
2
|
+
declare const ErrorPage: ({ code, image, title, subTitle, imageType, redirectURL, reload, on404Redirect }: ErrorPageType) => JSX.Element;
|
3
3
|
export default ErrorPage;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ErrorScreenManagerProps } from './Types';
|
2
|
-
declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, redirectURL, imageType, }: ErrorScreenManagerProps) => JSX.Element;
|
2
|
+
declare const ErrorScreenManager: ({ code, reload, subtitle, reloadClass, redirectURL, on404Redirect, imageType, }: ErrorScreenManagerProps) => JSX.Element;
|
3
3
|
export default ErrorScreenManager;
|
package/dist/Common/Helper.d.ts
CHANGED
@@ -10,7 +10,7 @@ interface ConditionalWrapper<T> {
|
|
10
10
|
children: T;
|
11
11
|
}
|
12
12
|
export declare const ConditionalWrap: React.FC<ConditionalWrapper<any>>;
|
13
|
-
export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 1 |
|
13
|
+
export declare function sortCallback(key: string, a: any, b: any, isCaseSensitive?: boolean): 1 | -1 | 0;
|
14
14
|
export declare const stopPropagation: (event: any) => void;
|
15
15
|
export declare const preventDefault: (event: SyntheticEvent) => void;
|
16
16
|
export declare function useThrottledEffect(callback: any, delay: any, deps?: any[]): void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ShortcutType } from './types';
|
2
2
|
export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
|
3
|
-
keys: ("N" | "R" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "
|
3
|
+
keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | ">" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
|
4
4
|
id: string;
|
5
5
|
};
|
6
6
|
export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { InteractiveCellTextProps } from './types';
|
2
|
+
/**
|
3
|
+
* A reusable component for rendering text within a tooltip. The text can be interactive (clickable) or static.
|
4
|
+
*
|
5
|
+
* @param {Object} props - The props for the component.
|
6
|
+
* @param {string} props.text - The text to display inside the component. Defaults to `'-'` if not provided.
|
7
|
+
* @param {function} [props.onClickHandler] - Optional click handler function. If provided, the text will be rendered as a button.
|
8
|
+
* @param {string} [props.dataTestId] - Optional test ID for the component, useful for testing purposes.
|
9
|
+
* @param {string} [props.rootClassName] - Additional CSS class names to apply to the root element.
|
10
|
+
* @param {boolean} [props.interactive=false] - Whether the tooltip content is interactive.
|
11
|
+
* @param {number} [props.fontSize=13] - Font size for the text. Defaults to `13`.
|
12
|
+
* @param {React.ReactNode} [props.tippyContent=null] - Custom content for the tooltip. If not provided, `text` will be used.
|
13
|
+
* @returns {JSX.Element} The rendered `InteractiveCellText` component.
|
14
|
+
*
|
15
|
+
* @example
|
16
|
+
* // Example usage:
|
17
|
+
* <InteractiveCellText
|
18
|
+
* text="Click me"
|
19
|
+
* onClickHandler={() => alert('Clicked!')}
|
20
|
+
* dataTestId="interactive-cell"
|
21
|
+
* rootClassName="custom-class"
|
22
|
+
* interactive={true}
|
23
|
+
* fontSize={14}
|
24
|
+
* tippyContent="Tooltip content"
|
25
|
+
* />
|
26
|
+
*/
|
27
|
+
export declare const InteractiveCellText: ({ text, onClickHandler, dataTestId, rootClassName, interactive, fontSize, tippyContent, }: InteractiveCellTextProps) => JSX.Element;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { TippyCustomizedProps } from '../Types';
|
2
|
+
export interface InteractiveCellTextProps {
|
3
|
+
text: string;
|
4
|
+
onClickHandler?: () => void;
|
5
|
+
dataTestId?: string;
|
6
|
+
rootClassName?: string;
|
7
|
+
interactive?: boolean;
|
8
|
+
fontSize?: number;
|
9
|
+
tippyContent?: TippyCustomizedProps<false>['additionalContent'];
|
10
|
+
}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { default as RJSF } from '@rjsf/core';
|
2
2
|
import { FormProps } from './types';
|
3
|
-
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "acceptCharset" | "action" | "method" | "noValidate" | "
|
3
|
+
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "tagName" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "acceptCharset" | "action" | "method" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
|
@@ -13,7 +13,7 @@ export declare const getRedirectionProps: (url: string) => React.AnchorHTMLAttri
|
|
13
13
|
/**
|
14
14
|
* Infers the type for json schema from value type
|
15
15
|
*/
|
16
|
-
export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "
|
16
|
+
export declare const getInferredTypeFromValueType: (value: any) => "string" | "number" | "boolean" | "object" | "array" | "null";
|
17
17
|
export declare const conformPathToPointers: (path: string) => string;
|
18
18
|
export declare const parseSchemaHiddenType: (hiddenSchema: HiddenType) => MetaHiddenType;
|
19
19
|
export declare const getSchemaPathToUpdatePathMap: (schema: RJSFFormSchema) => Record<string, string>;
|
@@ -33,5 +33,5 @@ import { SearchBarProps } from './types';
|
|
33
33
|
* <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
|
34
34
|
* ```
|
35
35
|
*/
|
36
|
-
declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, keyboardShortcut, }: SearchBarProps) => JSX.Element;
|
36
|
+
declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, keyboardShortcut, variant, }: SearchBarProps) => JSX.Element;
|
37
37
|
export default SearchBar;
|
package/dist/Common/Types.d.ts
CHANGED
@@ -26,9 +26,6 @@ export interface ResponseType<T = any> {
|
|
26
26
|
}
|
27
27
|
export interface APIOptions {
|
28
28
|
timeout?: number;
|
29
|
-
/**
|
30
|
-
* @deprecated Use abortController instead
|
31
|
-
*/
|
32
29
|
signal?: AbortSignal;
|
33
30
|
abortControllerRef?: MutableRefObject<AbortController>;
|
34
31
|
/**
|
@@ -141,20 +138,29 @@ export interface GenericEmptyStateType {
|
|
141
138
|
export interface ErrorPageType extends Pick<GenericEmptyStateType, 'image' | 'title' | 'subTitle' | 'renderButton' | 'imageType'>, Pick<ErrorScreenManagerProps, 'reload' | 'redirectURL'> {
|
142
139
|
code: number;
|
143
140
|
redirectURL?: string;
|
141
|
+
on404Redirect?: () => void;
|
144
142
|
reload?: () => void;
|
145
143
|
}
|
146
|
-
export
|
144
|
+
export type ErrorScreenManagerProps = {
|
147
145
|
code?: number;
|
148
146
|
imageType?: ImageType;
|
149
147
|
reload?: (...args: any[]) => any;
|
150
148
|
subtitle?: React.ReactChild;
|
151
149
|
reloadClass?: string;
|
150
|
+
} & ({
|
152
151
|
/**
|
153
152
|
* Would be used to redirect URL in case of 404
|
154
153
|
* @default - APP_LIST
|
155
154
|
*/
|
156
155
|
redirectURL?: string;
|
157
|
-
|
156
|
+
on404Redirect?: never;
|
157
|
+
} | {
|
158
|
+
redirectURL?: never;
|
159
|
+
on404Redirect: () => void;
|
160
|
+
} | {
|
161
|
+
redirectURL?: never;
|
162
|
+
on404Redirect?: never;
|
163
|
+
});
|
158
164
|
export interface ErrorScreenNotAuthorizedProps {
|
159
165
|
subtitle?: React.ReactChild;
|
160
166
|
title?: string;
|
@@ -384,6 +390,8 @@ export interface CDMaterialListModalServiceUtilProps {
|
|
384
390
|
artifactId?: number;
|
385
391
|
artifactStatus?: string;
|
386
392
|
disableDefaultSelection?: boolean;
|
393
|
+
isExceptionUser: boolean;
|
394
|
+
isApprovalConfigured: boolean;
|
387
395
|
}
|
388
396
|
export interface CDMaterialType {
|
389
397
|
index: number;
|
package/dist/Common/index.d.ts
CHANGED
@@ -25,6 +25,7 @@ export * from './Helper';
|
|
25
25
|
export * from './Hooks';
|
26
26
|
export * from './ImageTags';
|
27
27
|
export * from './ImageTags.Types';
|
28
|
+
export * from './InteractiveCellText';
|
28
29
|
export * from './Markdown';
|
29
30
|
export * from './Modals/Modal';
|
30
31
|
export * from './Modals/VisibleModal';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './types';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Shared';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const GlobalOverview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './GlobalOverview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const Overview: () => JSX.Element;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './Overview';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './CostVisibility';
|
@@ -9,7 +9,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
9
9
|
}[];
|
10
10
|
filteredOptions: import('./types').ActionMenuOptionType<T>[];
|
11
11
|
focusedIndex: number;
|
12
|
-
itemsRef: import('react').MutableRefObject<RefObject<
|
12
|
+
itemsRef: import('react').MutableRefObject<RefObject<HTMLButtonElement | HTMLAnchorElement>[]>;
|
13
13
|
triggerProps: import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
14
14
|
bounds: Pick<DOMRect, "left" | "top" | "height" | "width">;
|
15
15
|
};
|
@@ -26,12 +26,16 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
26
26
|
about?: string;
|
27
27
|
is?: string;
|
28
28
|
security?: string;
|
29
|
+
hidden?: boolean;
|
30
|
+
prefix?: string;
|
31
|
+
resource?: string;
|
32
|
+
draggable?: boolean | "true" | "false";
|
33
|
+
onClick?: import('react').MouseEventHandler<HTMLDivElement>;
|
29
34
|
onMouseEnter?: import('react').MouseEventHandler<HTMLDivElement>;
|
30
35
|
"aria-describedby"?: string;
|
31
36
|
"aria-errormessage"?: string;
|
32
37
|
"aria-label"?: string;
|
33
38
|
"aria-labelledby"?: string;
|
34
|
-
onClick?: import('react').MouseEventHandler<HTMLDivElement>;
|
35
39
|
defaultChecked?: boolean;
|
36
40
|
suppressContentEditableWarning?: boolean;
|
37
41
|
suppressHydrationWarning?: boolean;
|
@@ -39,8 +43,6 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
39
43
|
contentEditable?: "inherit" | (boolean | "true" | "false");
|
40
44
|
contextMenu?: string;
|
41
45
|
dir?: string;
|
42
|
-
draggable?: boolean | "true" | "false";
|
43
|
-
hidden?: boolean;
|
44
46
|
lang?: string;
|
45
47
|
placeholder?: string;
|
46
48
|
spellCheck?: boolean | "true" | "false";
|
@@ -49,9 +51,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
49
51
|
radioGroup?: string;
|
50
52
|
datatype?: string;
|
51
53
|
inlist?: any;
|
52
|
-
prefix?: string;
|
53
54
|
property?: string;
|
54
|
-
resource?: string;
|
55
55
|
typeof?: string;
|
56
56
|
vocab?: string;
|
57
57
|
autoCapitalize?: string;
|
@@ -67,14 +67,14 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
|
|
67
67
|
inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal";
|
68
68
|
"aria-activedescendant"?: string;
|
69
69
|
"aria-atomic"?: boolean | "true" | "false";
|
70
|
-
"aria-autocomplete"?: "
|
70
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both";
|
71
71
|
"aria-busy"?: boolean | "true" | "false";
|
72
72
|
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
73
73
|
"aria-colcount"?: number;
|
74
74
|
"aria-colindex"?: number;
|
75
75
|
"aria-colspan"?: number;
|
76
76
|
"aria-controls"?: string;
|
77
|
-
"aria-current"?: boolean | "time" | "
|
77
|
+
"aria-current"?: boolean | "time" | "location" | "true" | "false" | "page" | "step" | "date";
|
78
78
|
"aria-details"?: string;
|
79
79
|
"aria-disabled"?: boolean | "true" | "false";
|
80
80
|
"aria-dropeffect"?: "link" | "none" | "popup" | "copy" | "execute" | "move";
|
@@ -1,6 +1,15 @@
|
|
1
|
-
import { MouseEvent, ReactNode } from 'react';
|
1
|
+
import { MouseEvent, ReactNode, SyntheticEvent } from 'react';
|
2
2
|
import { DTFocusTrapType } from '../DTFocusTrap';
|
3
|
-
export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus'
|
3
|
+
export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus'> {
|
4
|
+
/**
|
5
|
+
* Callback function that gets triggered when the Escape key is pressed. \
|
6
|
+
* Should be wrapped in useCallback to prevent unnecessary re-renders.
|
7
|
+
* @example
|
8
|
+
* const handleEscape = useCallback(() => {
|
9
|
+
* // Handle escape key press
|
10
|
+
* }, []);
|
11
|
+
*/
|
12
|
+
onEscape: (e?: SyntheticEvent) => void;
|
4
13
|
/**
|
5
14
|
* The content to be rendered within the backdrop component.
|
6
15
|
*/
|