@devtron-labs/devtron-fe-common-lib 1.1.4-beta-2 → 1.1.4-beta-3
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/Common/Hooks/UseRegisterShortcut/types.d.ts +1 -2
- package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/Helpers.d.ts +1 -2
- package/dist/Shared/constants.d.ts +0 -1
- package/dist/Shared/types.d.ts +2 -5
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-DabYP0uQ.js → cssMode-BRoKH0Ln.js} +1 -1
- package/dist/{freemarker2-BTGUiMIo.js → freemarker2-BZuC8aH-.js} +1 -1
- package/dist/{handlebars-CcRJdvWW.js → handlebars-BRuJDOA5.js} +1 -1
- package/dist/{html-C--WhkwF.js → html-Cj7GYD-Y.js} +1 -1
- package/dist/{htmlMode-DzBNpssU.js → htmlMode-BOy8VlfF.js} +1 -1
- package/dist/{index-DMOaHy8q.js → index-BnnzKFWS.js} +31784 -36004
- package/dist/index.js +526 -530
- package/dist/{javascript-vBWlVw5l.js → javascript-Ii5GQ67D.js} +1 -1
- package/dist/{jsonMode-BRhc0T7R.js → jsonMode-DlRLl_7K.js} +1 -1
- package/dist/{liquid-CAHmGoAb.js → liquid-B410lErh.js} +1 -1
- package/dist/{mdx-CuKX6R6M.js → mdx-BW73jnsZ.js} +1 -1
- package/dist/{python-DFaDfaZz.js → python-CQC6xudI.js} +1 -1
- package/dist/{razor-48St83xq.js → razor-Btrkmn-r.js} +1 -1
- package/dist/{tsMode-DxeGO4mf.js → tsMode-B0Z7W9Lp.js} +1 -1
- package/dist/{typescript-CY7HRzJ4.js → typescript-HdcjGtOb.js} +1 -1
- package/dist/{xml-Cl_nmv3y.js → xml-BTlNZR-f.js} +1 -1
- package/dist/{yaml-DcyPKFB4.js → yaml-zO7YVsHj.js} +1 -1
- package/package.json +1 -2
- package/dist/Shared/Components/Backdrop/Backdrop.d.ts +0 -3
- package/dist/Shared/Components/Backdrop/index.d.ts +0 -1
- package/dist/Shared/Components/Backdrop/types.d.ts +0 -8
- package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +0 -3
- package/dist/Shared/Components/ConfirmationModal/index.d.ts +0 -2
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +0 -50
- package/dist/Shared/Components/ConfirmationModal/utils.d.ts +0 -6
|
@@ -3,12 +3,11 @@ export declare const KEYBOARD_KEYS_MAP: {
|
|
|
3
3
|
readonly Shift: "⇧";
|
|
4
4
|
readonly Meta: "⌘" | "Win";
|
|
5
5
|
readonly Alt: "⌥" | "Alt";
|
|
6
|
+
readonly Escape: "Escape";
|
|
6
7
|
readonly F: "F";
|
|
7
8
|
readonly E: "E";
|
|
8
9
|
readonly R: "R";
|
|
9
10
|
readonly K: "K";
|
|
10
|
-
readonly Escape: "Escape";
|
|
11
|
-
readonly Enter: "Enter";
|
|
12
11
|
};
|
|
13
12
|
export type SupportedKeyboardKeysType = keyof typeof KEYBOARD_KEYS_MAP;
|
|
14
13
|
export interface ShortcutType {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ShortcutType } from './types';
|
|
2
2
|
export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
|
|
3
|
-
keys: ("Alt" | "
|
|
3
|
+
keys: ("Alt" | "Escape" | "F" | "E" | "R" | "K" | "Control" | "Shift" | "Meta")[];
|
|
4
4
|
id: string;
|
|
5
5
|
};
|
|
6
6
|
export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
|
|
@@ -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, "name" | "children" | "className" | "disabled" | "id" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "target" | "action" | "tagName" | "autoComplete" | "
|
|
3
|
+
export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "name" | "children" | "className" | "disabled" | "id" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "target" | "action" | "tagName" | "autoComplete" | "noValidate" | "readonly" | "schema" | "uiSchema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "method" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<unknown, import('json-schema').JSONSchema7, import('@rjsf/utils').GenericObjectType>>>;
|
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ReactElement } from 'react';
|
|
|
2
2
|
import { Pair } from 'yaml';
|
|
3
3
|
import { MaterialHistoryType } from '@Shared/Services/app.types';
|
|
4
4
|
import { MaterialInfo, SortingOrder, UserApprovalConfigType } from '../Common';
|
|
5
|
-
import { GitTriggers, IntersectionChangeHandler, IntersectionOptions,
|
|
5
|
+
import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
|
|
6
6
|
import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
|
|
7
7
|
interface HighlightSearchTextProps {
|
|
8
8
|
/**
|
|
@@ -21,7 +21,6 @@ interface HighlightSearchTextProps {
|
|
|
21
21
|
export declare const escapeRegExp: (text: string) => string;
|
|
22
22
|
export declare const highlightSearchText: ({ searchText, text, highlightClasses }: HighlightSearchTextProps) => string;
|
|
23
23
|
export declare const preventBodyScroll: (lock: boolean) => void;
|
|
24
|
-
export declare const preventOutsideFocus: ({ identifier, preventFocus }: PreventOutsideFocusProps) => void;
|
|
25
24
|
export declare const getIsMaterialInfoAvailable: (materialInfo: MaterialInfo[]) => boolean;
|
|
26
25
|
export declare const getGitCommitInfo: (materialInfo: MaterialInfo) => GitTriggers;
|
|
27
26
|
export declare const stringComparatorBySortOrder: (a: string, b: string, sortOrder?: SortingOrder, isCaseSensitive?: boolean) => number;
|
|
@@ -417,4 +417,3 @@ export declare const ALL_RESOURCE_KIND_FILTER = "all";
|
|
|
417
417
|
export declare const OPEN_NEW_TICKET = "https://enterprise.devtron.ai/portal/en/newticket";
|
|
418
418
|
export declare const VIEW_ALL_TICKETS = "https://enterprise.devtron.ai/portal/en/myarea";
|
|
419
419
|
export declare const RAISE_ISSUE = "https://github.com/devtron-labs/devtron/issues/new/choose";
|
|
420
|
-
export declare const DEVTRON_BASE_MAIN_ID = "devtron-base-main-identifier";
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -402,7 +402,8 @@ export interface SeverityCount {
|
|
|
402
402
|
export declare enum PolicyKindType {
|
|
403
403
|
lockConfiguration = "lock-configuration",
|
|
404
404
|
imagePromotion = "image-promotion",
|
|
405
|
-
plugins = "plugin"
|
|
405
|
+
plugins = "plugin",
|
|
406
|
+
approval = "approval"
|
|
406
407
|
}
|
|
407
408
|
export interface LastExecutionResultType {
|
|
408
409
|
lastExecution: string;
|
|
@@ -733,8 +734,4 @@ export interface DynamicTabType extends CommonTabArgsType {
|
|
|
733
734
|
*/
|
|
734
735
|
lastActiveTabId: string | null;
|
|
735
736
|
}
|
|
736
|
-
export interface PreventOutsideFocusProps {
|
|
737
|
-
identifier: string;
|
|
738
|
-
preventFocus: boolean;
|
|
739
|
-
}
|
|
740
737
|
export {};
|