@devtron-labs/devtron-fe-common-lib 1.0.8 → 1.0.9-beta-2
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/utils.d.ts +1 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +2 -0
- package/dist/Shared/Components/DiffViewer/DiffViewer.component.d.ts +3 -0
- package/dist/Shared/Components/DiffViewer/constants.d.ts +2 -0
- package/dist/Shared/Components/DiffViewer/index.d.ts +1 -0
- package/dist/Shared/Components/DiffViewer/types.d.ts +9 -0
- package/dist/Shared/Components/index.d.ts +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-BmLpmvTM.js → cssMode-CoeiuuPa.js} +1 -1
- package/dist/{freemarker2-eZ0G3X_4.js → freemarker2-97uWc82u.js} +1 -1
- package/dist/{handlebars-DPGRAVbW.js → handlebars-Tf_kvstE.js} +1 -1
- package/dist/{html-DzHeG8lC.js → html-Dd47jhjY.js} +1 -1
- package/dist/{htmlMode-CLFpexPz.js → htmlMode-DlDt58fe.js} +1 -1
- package/dist/{index-C17rlACJ.js → index-D0YUiZuj.js} +33675 -31664
- package/dist/index.js +469 -467
- package/dist/{javascript-BBdh_eOU.js → javascript-Bvi6tQYc.js} +1 -1
- package/dist/{jsonMode-t0fX31hE.js → jsonMode-fCriqpOs.js} +1 -1
- package/dist/{liquid-Bh0FqdoX.js → liquid-CKwB_9dE.js} +1 -1
- package/dist/{mdx-CM_Cl5yZ.js → mdx-D1D4MIj0.js} +1 -1
- package/dist/{python-BAxpR0Pd.js → python-DWGuvf19.js} +1 -1
- package/dist/{razor-Du7iswWM.js → razor-DHUQuo_2.js} +1 -1
- package/dist/{tsMode-C12s8TUq.js → tsMode-DTJV2o6y.js} +1 -1
- package/dist/{typescript-BL_jQX8Z.js → typescript-Bit2NA7Q.js} +1 -1
- package/dist/{xml-BlejnsJa.js → xml-Ds2_kRDF.js} +1 -1
- package/dist/{yaml-Cb2BDtD-.js → yaml-BYgGMVLT.js} +1 -1
- package/package.json +2 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ShortcutType } from './types';
|
|
2
2
|
export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
|
|
3
|
-
keys: ("
|
|
3
|
+
keys: ("Alt" | "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, "
|
|
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>>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DeploymentConfigDiffProps, AppEnvDeploymentConfigListParams } from '..';
|
|
2
2
|
import { ConfigMapSecretDataConfigDatumDTO, DeploymentTemplateDTO, TemplateListDTO } from '../../Services/app.types';
|
|
3
|
+
import { DiffViewerProps } from '../DiffViewer/types';
|
|
3
4
|
export declare const getDeploymentTemplateData: (data: DeploymentTemplateDTO) => any;
|
|
4
5
|
/**
|
|
5
6
|
* Retrieves the draft data from the given configuration data object.
|
|
@@ -37,3 +38,4 @@ export declare const getDefaultVersionAndPreviousDeploymentOptions: (data: Templ
|
|
|
37
38
|
previousDeployments: TemplateListDTO[];
|
|
38
39
|
defaultVersions: TemplateListDTO[];
|
|
39
40
|
};
|
|
41
|
+
export declare const renderDiffViewNoDifferenceState: (lhsValue: string, rhsValue: string) => DiffViewerProps["codeFoldMessageRenderer"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DiffViewer } from './DiffViewer.component';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ReactDiffViewerProps } from 'react-diff-viewer-continued';
|
|
3
|
+
export interface DiffViewerProps extends Pick<ReactDiffViewerProps, 'oldValue' | 'newValue' | 'codeFoldMessageRenderer'> {
|
|
4
|
+
leftTitle?: ReactDiffViewerProps['leftTitle'] | ReactNode;
|
|
5
|
+
rightTitle?: ReactDiffViewerProps['rightTitle'] | ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface DiffViewTitleWrapperProps {
|
|
8
|
+
title: DiffViewerProps['leftTitle'];
|
|
9
|
+
}
|