@devtron-labs/devtron-fe-common-lib 1.11.0-pre-6 → 1.11.0-pre-7
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-DIambKm6.js → @code-editor-pG-IeNfR.js} +5676 -5528
- package/dist/{@common-rjsf-DlZMNFKC.js → @common-rjsf-5lMPthkd.js} +2 -2
- package/dist/{@framer-motion-iFP8gkbg.js → @framer-motion-BaOj5B1h.js} +1 -1
- package/dist/{@react-dates-C1YJpDXg.js → @react-dates-CdRpENvm.js} +1 -1
- package/dist/{@react-select-rJh4_EaU.js → @react-select-BLSAqXV1.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-CMLds5Wa.js → @react-virtualized-sticky-tree-BLmFnJWD.js} +1 -1
- package/dist/{@vendor-HJw8T7OP.js → @vendor-SjXFleuT.js} +16365 -15531
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/Shared/Components/Header/utils.d.ts +1 -1
- package/dist/Shared/Components/License/ActivateLicenseDialog.d.ts +3 -0
- package/dist/Shared/Components/License/License.components.d.ts +5 -0
- package/dist/Shared/Components/License/index.d.ts +5 -0
- package/dist/Shared/Components/License/services.d.ts +1 -0
- package/dist/Shared/Components/{DevtronLicenseCard → License}/types.d.ts +12 -0
- package/dist/Shared/Components/License/utils.d.ts +8 -0
- package/dist/Shared/Components/QRCode.d.ts +10 -0
- package/dist/Shared/Components/index.d.ts +2 -1
- package/dist/index.js +848 -845
- package/package.json +2 -1
- package/dist/Shared/Components/DevtronLicenseCard/InstallationFingerprintInfo.d.ts +0 -3
- package/dist/Shared/Components/DevtronLicenseCard/index.d.ts +0 -4
- package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +0 -7
- /package/dist/Shared/Components/{DevtronLicenseCard → License}/DevtronLicenseCard.d.ts +0 -0
@@ -132,6 +132,7 @@ export declare const ROUTES: {
|
|
132
132
|
readonly RESOURCE_TEMPLATE: "resource/template";
|
133
133
|
readonly ENVIRONMENT_DATA: "global/environment-variables";
|
134
134
|
readonly DASHBOARD_EVENT: "dashboard-event";
|
135
|
+
readonly LICENSE_DATA: "license/data";
|
135
136
|
};
|
136
137
|
export declare enum KEY_VALUE {
|
137
138
|
KEY = "key",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DevtronLicenseInfo } from '../
|
1
|
+
import { DevtronLicenseInfo } from '../License';
|
2
2
|
export declare const getDateInMilliseconds: (days: any) => number;
|
3
3
|
export declare const handlePostHogEventUpdate: (eventName: string) => Promise<void>;
|
4
4
|
export declare const setActionWithExpiry: (key: string, days: number) => void;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { GatekeeperQRDialogProps, InstallFingerprintInfoProps } from './types';
|
2
|
+
export declare const GatekeeperQRDialog: ({ handleClose, fingerprint }: GatekeeperQRDialogProps) => JSX.Element;
|
3
|
+
export declare const ICDevtronWithBorder: () => JSX.Element;
|
4
|
+
declare const InstallationFingerprintInfo: ({ fingerprint, showHelpTooltip }: InstallFingerprintInfoProps) => JSX.Element;
|
5
|
+
export default InstallationFingerprintInfo;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { default as ActivateLicenseDialog } from './ActivateLicenseDialog';
|
2
|
+
export { default as DevtronLicenseCard } from './DevtronLicenseCard';
|
3
|
+
export { ICDevtronWithBorder, default as InstallationFingerprintInfo } from './License.components';
|
4
|
+
export * from './types';
|
5
|
+
export { parseDevtronLicenseData } from './utils';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const activateLicense: (license: string) => Promise<void>;
|
@@ -22,6 +22,18 @@ export type DevtronLicenseCardProps = {
|
|
22
22
|
licenseSuffix: string;
|
23
23
|
});
|
24
24
|
export type DevtronLicenseInfo = Omit<DevtronLicenseCardProps, 'appTheme'> & Pick<DevtronLicenseDTO, 'fingerprint' | 'showLicenseData' | 'licenseStatusError'>;
|
25
|
+
export interface ActivateLicenseDialogProps extends Pick<DevtronLicenseBaseDTO, 'fingerprint'> {
|
26
|
+
enterpriseName: string;
|
27
|
+
handleClose?: () => void;
|
28
|
+
handleLicenseActivateSuccess: () => void;
|
29
|
+
}
|
25
30
|
export interface InstallFingerprintInfoProps extends Pick<DevtronLicenseBaseDTO, 'fingerprint'> {
|
26
31
|
showHelpTooltip?: boolean;
|
27
32
|
}
|
33
|
+
export interface GatekeeperQRDialogProps {
|
34
|
+
fingerprint: string;
|
35
|
+
handleClose: () => void;
|
36
|
+
}
|
37
|
+
export interface CopyButtonProps {
|
38
|
+
copyContent: string;
|
39
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { DevtronLicenseDTO } from '../../types';
|
2
|
+
import { DevtronLicenseInfo, LicenseStatus } from './types';
|
3
|
+
export declare const getLicenseColorsAccordingToStatus: (licenseStatus: LicenseStatus) => {
|
4
|
+
bgColor: string;
|
5
|
+
textColor: string;
|
6
|
+
};
|
7
|
+
export declare const parseDevtronLicenseData: (result: DevtronLicenseDTO) => DevtronLicenseInfo;
|
8
|
+
export declare const getGateKeeperUrl: (fingerprint: string) => string;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { IconsProps } from './Icon';
|
2
|
+
interface QRCodeProps {
|
3
|
+
title?: string;
|
4
|
+
value: string;
|
5
|
+
size: number;
|
6
|
+
bgColor: IconsProps['color'];
|
7
|
+
fgColor: IconsProps['color'];
|
8
|
+
}
|
9
|
+
declare const QRCode: ({ title, value, size, bgColor, fgColor }: QRCodeProps) => JSX.Element;
|
10
|
+
export default QRCode;
|
@@ -24,7 +24,6 @@ export * from './CustomInput';
|
|
24
24
|
export * from './DatePicker';
|
25
25
|
export * from './DeploymentConfigDiff';
|
26
26
|
export * from './DetectBottom';
|
27
|
-
export * from './DevtronLicenseCard';
|
28
27
|
export * from './DiffViewer';
|
29
28
|
export * from './DynamicDataTable';
|
30
29
|
export * from './EditableTextArea';
|
@@ -55,12 +54,14 @@ export * from './InfoBlock';
|
|
55
54
|
export * from './InfoIconTippy';
|
56
55
|
export * from './InvalidYAMLTippy';
|
57
56
|
export * from './KeyValueTable';
|
57
|
+
export * from './License';
|
58
58
|
export * from './LoginBanner';
|
59
59
|
export * from './MaterialHistory';
|
60
60
|
export * from './ModalSidebarPanel';
|
61
61
|
export * from './NumbersCount';
|
62
62
|
export * from './PhoneInput';
|
63
63
|
export * from './Plugin';
|
64
|
+
export { default as QRCode } from './QRCode';
|
64
65
|
export * from './ReactSelect';
|
65
66
|
export * from './RegistryIcon';
|
66
67
|
export * from './ScannedByToolModal';
|