@openlettermarketing/olc-react-sdk 2.1.6-beta.7 → 2.1.6-beta.9
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/build/index.js +1 -1
- package/package.json +1 -2
- package/build/index.js.map +0 -1
- package/build/types/src/App.d.ts +0 -41
- package/build/types/src/assets/images/input/cancel.d.ts +0 -3
- package/build/types/src/assets/images/input/search.d.ts +0 -3
- package/build/types/src/assets/images/input/select-cancel.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/add.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/cancel-file.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/cancel-input.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/confirm-close-icon.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/confirm-new.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/cross.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/del.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/doc.d.ts +0 -11
- package/build/types/src/assets/images/modal-icons/docx.d.ts +0 -11
- package/build/types/src/assets/images/modal-icons/envelope-icon.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/info.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/jpeg.d.ts +0 -11
- package/build/types/src/assets/images/modal-icons/jpg.d.ts +0 -11
- package/build/types/src/assets/images/modal-icons/modal-cross.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/new-cancel.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/order-download.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/pdf.d.ts +0 -11
- package/build/types/src/assets/images/modal-icons/png.d.ts +0 -11
- package/build/types/src/assets/images/modal-icons/save.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/template-copy.d.ts +0 -3
- package/build/types/src/assets/images/modal-icons/tool-cancel.d.ts +0 -5
- package/build/types/src/assets/images/products/personal-new.d.ts +0 -3
- package/build/types/src/assets/images/products/postcard-new.d.ts +0 -3
- package/build/types/src/assets/images/products/professional-new.d.ts +0 -3
- package/build/types/src/assets/images/products/real-new.d.ts +0 -3
- package/build/types/src/assets/images/templates/address-block-icon.d.ts +0 -8
- package/build/types/src/assets/images/templates/arrow-down.d.ts +0 -3
- package/build/types/src/assets/images/templates/bi-fold-self-mailers.d.ts +0 -3
- package/build/types/src/assets/images/templates/content-copy-icon.d.ts +0 -3
- package/build/types/src/assets/images/templates/custom-add-on-icon.d.ts +0 -3
- package/build/types/src/assets/images/templates/custom-qr-section-icon.d.ts +0 -3
- package/build/types/src/assets/images/templates/custom-template.d.ts +0 -3
- package/build/types/src/assets/images/templates/designer.d.ts +0 -3
- package/build/types/src/assets/images/templates/dot.d.ts +0 -3
- package/build/types/src/assets/images/templates/edit-pencil-icon.d.ts +0 -3
- package/build/types/src/assets/images/templates/epo-icon.d.ts +0 -3
- package/build/types/src/assets/images/templates/field.d.ts +0 -3
- package/build/types/src/assets/images/templates/gsv-icon.d.ts +0 -3
- package/build/types/src/assets/images/templates/info-icon.d.ts +0 -3
- package/build/types/src/assets/images/templates/personal-letter.d.ts +0 -3
- package/build/types/src/assets/images/templates/postcard.d.ts +0 -3
- package/build/types/src/assets/images/templates/professional-letter.d.ts +0 -3
- package/build/types/src/assets/images/templates/qr-code.d.ts +0 -3
- package/build/types/src/assets/images/templates/real-penned-letters.d.ts +0 -3
- package/build/types/src/assets/images/templates/size-image-lg.d.ts +0 -3
- package/build/types/src/assets/images/templates/size-image-mid.d.ts +0 -3
- package/build/types/src/assets/images/templates/size-image-xl.d.ts +0 -3
- package/build/types/src/assets/images/templates/size-image.d.ts +0 -3
- package/build/types/src/assets/images/templates/snap-pack.d.ts +0 -6
- package/build/types/src/assets/images/templates/template-default-design.d.ts +0 -3
- package/build/types/src/assets/images/templates/tri-fold-self-mailers.d.ts +0 -3
- package/build/types/src/assets/images/tooltip/tool-arrow.d.ts +0 -3
- package/build/types/src/components/CreateTemplate/V2/index.d.ts +0 -12
- package/build/types/src/components/CreateTemplate/index.d.ts +0 -12
- package/build/types/src/components/GenericUIBlocks/Button/index.d.ts +0 -13
- package/build/types/src/components/GenericUIBlocks/CircularProgress/index.d.ts +0 -7
- package/build/types/src/components/GenericUIBlocks/CustomTooltip/index.d.ts +0 -10
- package/build/types/src/components/GenericUIBlocks/Dialog/V2/index.d.ts +0 -22
- package/build/types/src/components/GenericUIBlocks/Dialog/index.d.ts +0 -21
- package/build/types/src/components/GenericUIBlocks/Divider/index.d.ts +0 -4
- package/build/types/src/components/GenericUIBlocks/GeneralSelect/index.d.ts +0 -24
- package/build/types/src/components/GenericUIBlocks/GeneralTooltip/index.d.ts +0 -11
- package/build/types/src/components/GenericUIBlocks/GenericSnackbar/Toast/index.d.ts +0 -4
- package/build/types/src/components/GenericUIBlocks/Grid/index.d.ts +0 -3
- package/build/types/src/components/GenericUIBlocks/Input/index.d.ts +0 -28
- package/build/types/src/components/GenericUIBlocks/Tabs/index.d.ts +0 -4
- package/build/types/src/components/GenericUIBlocks/Typography/index.d.ts +0 -10
- package/build/types/src/components/SidePanel/CustomAddOns/index.d.ts +0 -5
- package/build/types/src/components/SidePanel/CustomBlockColors/index.d.ts +0 -5
- package/build/types/src/components/SidePanel/CustomFields/customFieldSection.d.ts +0 -5
- package/build/types/src/components/SidePanel/CustomQRCode/V2/QRCodeModal/index.d.ts +0 -20
- package/build/types/src/components/SidePanel/CustomQRCode/index.d.ts +0 -22
- package/build/types/src/components/SidePanel/CustomUploads/V2/index.d.ts +0 -13
- package/build/types/src/components/SidePanel/CustomUploads/index.d.ts +0 -27
- package/build/types/src/components/SidePanel/Templates/ModalGallery/HireDesigner/index.d.ts +0 -4
- package/build/types/src/components/SidePanel/Templates/ModalGallery/V2/index.d.ts +0 -36
- package/build/types/src/components/SidePanel/Templates/ModalGallery/index.d.ts +0 -34
- package/build/types/src/components/SidePanel/Templates/SideBarGallery/index.d.ts +0 -26
- package/build/types/src/components/SidePanel/Templates/TemplatesCard/V2/index.d.ts +0 -4
- package/build/types/src/components/SidePanel/Templates/TemplatesCard/index.d.ts +0 -4
- package/build/types/src/components/SidePanel/Templates/customTemplateSection.d.ts +0 -29
- package/build/types/src/components/SidePanel/index.d.ts +0 -34
- package/build/types/src/components/TemplateBuilder/index.d.ts +0 -50
- package/build/types/src/components/TemplateTypes/index.d.ts +0 -11
- package/build/types/src/components/TopNavigation/ConfirmNavigateDialog/index.d.ts +0 -10
- package/build/types/src/components/TopNavigation/DuplicateTemplateModal.d.ts +0 -15
- package/build/types/src/components/TopNavigation/EditTemplateNameModel/index.d.ts +0 -21
- package/build/types/src/components/TopNavigation/SaveTemplateModel/index.d.ts +0 -13
- package/build/types/src/components/TopNavigation/index.d.ts +0 -18
- package/build/types/src/index.d.ts +0 -55
- package/build/types/src/redux/actions/action-types.d.ts +0 -33
- package/build/types/src/redux/actions/customQRCodeActions.d.ts +0 -37
- package/build/types/src/redux/actions/snackbarActions.d.ts +0 -5
- package/build/types/src/redux/actions/templateActions.d.ts +0 -98
- package/build/types/src/redux/reducers/customFieldReducer.d.ts +0 -8
- package/build/types/src/redux/reducers/customQRCodeReducer.d.ts +0 -14
- package/build/types/src/redux/reducers/index.d.ts +0 -15
- package/build/types/src/redux/reducers/snackbarReducer.d.ts +0 -16
- package/build/types/src/redux/reducers/templateReducer.d.ts +0 -68
- package/build/types/src/redux/store.d.ts +0 -11
- package/build/types/src/utils/api.d.ts +0 -5
- package/build/types/src/utils/constants.d.ts +0 -39
- package/build/types/src/utils/customStyles.d.ts +0 -24
- package/build/types/src/utils/fetchWrapper.d.ts +0 -8
- package/build/types/src/utils/helper.d.ts +0 -85
- package/build/types/src/utils/local-storage.d.ts +0 -4
- package/build/types/src/utils/message.d.ts +0 -155
- package/build/types/src/utils/products.d.ts +0 -23
- package/build/types/src/utils/template-builder.d.ts +0 -74
- package/build/types/src/utils/templateIdentifierArea/biFold.d.ts +0 -47
- package/build/types/src/utils/templateIdentifierArea/index.d.ts +0 -2
- package/build/types/src/utils/templateIdentifierArea/personal.d.ts +0 -47
- package/build/types/src/utils/templateIdentifierArea/postCards.d.ts +0 -50
- package/build/types/src/utils/templateIdentifierArea/professional.d.ts +0 -48
- package/build/types/src/utils/templateIdentifierArea/snapPack.d.ts +0 -47
- package/build/types/src/utils/templateIdentifierArea/triFold.d.ts +0 -47
- package/build/types/src/utils/templateRestrictedArea/biFold.d.ts +0 -78
- package/build/types/src/utils/templateRestrictedArea/nonWindowProfessional.d.ts +0 -76
- package/build/types/src/utils/templateRestrictedArea/personal.d.ts +0 -76
- package/build/types/src/utils/templateRestrictedArea/postCard.d.ts +0 -78
- package/build/types/src/utils/templateRestrictedArea/postCardJumbo.d.ts +0 -78
- package/build/types/src/utils/templateRestrictedArea/professional.d.ts +0 -78
- package/build/types/src/utils/templateRestrictedArea/realPenned.d.ts +0 -78
- package/build/types/src/utils/templateRestrictedArea/snapPack.d.ts +0 -79
- package/build/types/src/utils/templateRestrictedArea/triFold.d.ts +0 -78
- package/build/types/src/utils/templateSafetyBorders/biFold.d.ts +0 -2
- package/build/types/src/utils/templateSafetyBorders/index.d.ts +0 -2
- package/build/types/src/utils/templateSafetyBorders/personal.d.ts +0 -2
- package/build/types/src/utils/templateSafetyBorders/postCards.d.ts +0 -5
- package/build/types/src/utils/templateSafetyBorders/professional.d.ts +0 -3
- package/build/types/src/utils/templateSafetyBorders/snapPack.d.ts +0 -2
- package/build/types/src/utils/templateSafetyBorders/triFold.d.ts +0 -2
- package/build/types/src/utils/types.d.ts +0 -8
- package/build/types/version.d.ts +0 -1
package/build/types/src/App.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface AppProps {
|
|
3
|
-
secretKey: string;
|
|
4
|
-
platformName?: string | null;
|
|
5
|
-
templateGalleryModal?: boolean;
|
|
6
|
-
createTemplateRoute?: string | null;
|
|
7
|
-
templateBuilderRoute?: string | null;
|
|
8
|
-
olcTemplate?: Record<string, any>;
|
|
9
|
-
designerTemplateQuery?: Record<string, any> | null;
|
|
10
|
-
allowSenderFields?: boolean;
|
|
11
|
-
excludedFields?: string[] | null;
|
|
12
|
-
designerQueryAmount?: string | number;
|
|
13
|
-
allowPropertyFields?: boolean;
|
|
14
|
-
allowedAddOns?: any;
|
|
15
|
-
allowedTemplateSections?: any;
|
|
16
|
-
allowAdditionalPage?: boolean;
|
|
17
|
-
restrictedProducts?: any;
|
|
18
|
-
disallowedProducts?: string[] | null | undefined;
|
|
19
|
-
propertyOfferCost?: number;
|
|
20
|
-
customPropertyOfferCost?: number;
|
|
21
|
-
gsvCost?: number;
|
|
22
|
-
showTemplateTypesPage?: boolean;
|
|
23
|
-
currentTheme?: string | null | undefined;
|
|
24
|
-
styles?: any;
|
|
25
|
-
onReturnAndNavigate?: () => void;
|
|
26
|
-
onCreateCustomTemplateQuery?: (payload: any) => Promise<any>;
|
|
27
|
-
onGetOneTemplate?: (payload: any) => Promise<any>;
|
|
28
|
-
onGetTemplates?: (payload: any) => Promise<any>;
|
|
29
|
-
onGetCustomFields?: () => Promise<any>;
|
|
30
|
-
onDuplicateTemplate?: (payload: any) => Promise<any>;
|
|
31
|
-
onGetBrandingImages?: (payload: any) => Promise<any>;
|
|
32
|
-
onDeleteBrandingImage?: (id: string | number) => Promise<void>;
|
|
33
|
-
onUploadBrandingImage?: (payload: any) => Promise<any>;
|
|
34
|
-
onGetQRCodes?: (payload: any) => Promise<any>;
|
|
35
|
-
onDeleteQRCodes?: (id: string | number) => Promise<void>;
|
|
36
|
-
onUploadQRCode?: (payload: any) => Promise<any>;
|
|
37
|
-
onEditQRCode?: (payload: any) => Promise<any>;
|
|
38
|
-
onSubmit?: (payload: any) => Promise<any>;
|
|
39
|
-
}
|
|
40
|
-
declare const App: React.FC<AppProps>;
|
|
41
|
-
export default App;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @Author: Junaid Atari junaid.attari@invozone.dev
|
|
3
|
-
* @Date: 2024-12-20 12:33:00
|
|
4
|
-
* @LastEditors: Junaid Atari junaid.attari@invozone.dev
|
|
5
|
-
* @LastEditTime: 2024-12-20 12:33:01
|
|
6
|
-
* @FilePath: src/assets/images/hire-designer/doc.tsx
|
|
7
|
-
* @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
declare const DOC: () => React.JSX.Element;
|
|
11
|
-
export default DOC;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @Author: Junaid Atari junaid.attari@invozone.dev
|
|
3
|
-
* @Date: 2024-12-20 12:33:00
|
|
4
|
-
* @LastEditors: Junaid Atari junaid.attari@invozone.dev
|
|
5
|
-
* @LastEditTime: 2024-12-20 12:33:01
|
|
6
|
-
* @FilePath: src/assets/images/hire-designer/docx.tsx
|
|
7
|
-
* @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
declare const DOCX: () => React.JSX.Element;
|
|
11
|
-
export default DOCX;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @Author: Junaid Atari junaid.attari@invozone.dev
|
|
3
|
-
* @Date: 2024-12-20 12:33:00
|
|
4
|
-
* @LastEditors: Junaid Atari junaid.attari@invozone.dev
|
|
5
|
-
* @LastEditTime: 2024-12-20 12:33:02
|
|
6
|
-
* @FilePath: src/assets/images/hire-designer/jpeg.tsx
|
|
7
|
-
* @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
declare const JPEG: () => React.JSX.Element;
|
|
11
|
-
export default JPEG;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @Author: Junaid Atari junaid.attari@invozone.dev
|
|
3
|
-
* @Date: 2024-12-20 12:33:00
|
|
4
|
-
* @LastEditors: Junaid Atari junaid.attari@invozone.dev
|
|
5
|
-
* @LastEditTime: 2024-12-20 12:33:02
|
|
6
|
-
* @FilePath: src/assets/images/hire-designer/jpg.tsx
|
|
7
|
-
* @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
declare const JPG: () => React.JSX.Element;
|
|
11
|
-
export default JPG;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @Author: Junaid Atari junaid.attari@invozone.dev
|
|
3
|
-
* @Date: 2024-12-20 12:33:00
|
|
4
|
-
* @LastEditors: Junaid Atari junaid.attari@invozone.dev
|
|
5
|
-
* @LastEditTime: 2024-12-20 12:33:03
|
|
6
|
-
* @FilePath: src/assets/images/hire-designer/pdf.tsx
|
|
7
|
-
* @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
declare const PDF: () => React.JSX.Element;
|
|
11
|
-
export default PDF;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @Author: Junaid Atari junaid.attari@invozone.dev
|
|
3
|
-
* @Date: 2024-12-20 12:33:00
|
|
4
|
-
* @LastEditors: Junaid Atari junaid.attari@invozone.dev
|
|
5
|
-
* @LastEditTime: 2024-12-20 12:33:03
|
|
6
|
-
* @FilePath: src/assets/images/hire-designer/png.tsx
|
|
7
|
-
* @Description: 这是默认设置,可以在设置》工具》File Description中进行配置
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
declare const PNG: () => React.JSX.Element;
|
|
11
|
-
export default PNG;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './styles.scss';
|
|
3
|
-
interface CreateTemplateV2Props {
|
|
4
|
-
onReturnAndNavigate?: () => void;
|
|
5
|
-
createTemplateRoute?: string | null;
|
|
6
|
-
templateBuilderRoute?: string | null;
|
|
7
|
-
restrictedProducts?: any;
|
|
8
|
-
disallowedProducts?: string[] | null | undefined;
|
|
9
|
-
currentTheme?: string | null | undefined;
|
|
10
|
-
}
|
|
11
|
-
declare const CreateTemplateV2: React.FC<CreateTemplateV2Props>;
|
|
12
|
-
export default CreateTemplateV2;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './styles.scss';
|
|
3
|
-
interface CreateTemplateProps {
|
|
4
|
-
onReturnAndNavigate?: () => void;
|
|
5
|
-
createTemplateRoute?: string | null;
|
|
6
|
-
templateBuilderRoute?: string | null;
|
|
7
|
-
restrictedProducts?: any;
|
|
8
|
-
disallowedProducts?: string[] | null | undefined;
|
|
9
|
-
currentTheme?: string | null | undefined;
|
|
10
|
-
}
|
|
11
|
-
declare const CreateTemplate: React.FC<CreateTemplateProps>;
|
|
12
|
-
export default CreateTemplate;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React, { CSSProperties, ReactNode, MouseEventHandler } from 'react';
|
|
2
|
-
import './styles.scss';
|
|
3
|
-
interface ButtonProps {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
style?: CSSProperties;
|
|
6
|
-
onClick?: MouseEventHandler<HTMLDivElement>;
|
|
7
|
-
className?: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
backdrop?: boolean;
|
|
10
|
-
currentTheme?: string | null | undefined;
|
|
11
|
-
}
|
|
12
|
-
declare const Button: React.FC<ButtonProps>;
|
|
13
|
-
export default Button;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './styles.scss';
|
|
3
|
-
interface TooltipProps {
|
|
4
|
-
place: 'top' | 'right' | 'bottom' | 'left' | 'top-start';
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
open?: boolean;
|
|
7
|
-
handleClose?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const CustomTooltip: React.FC<TooltipProps>;
|
|
10
|
-
export default CustomTooltip;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode, CSSProperties } from 'react';
|
|
2
|
-
import './styles.scss';
|
|
3
|
-
interface DialogProps {
|
|
4
|
-
icon?: ReactNode;
|
|
5
|
-
customStyles?: CSSProperties;
|
|
6
|
-
open: boolean;
|
|
7
|
-
handleClose: () => void;
|
|
8
|
-
loading?: boolean;
|
|
9
|
-
title?: string | ReactNode;
|
|
10
|
-
subHeading?: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
onSubmit?: () => void;
|
|
13
|
-
onCancel?: () => void;
|
|
14
|
-
cancelText?: string;
|
|
15
|
-
submitText?: string;
|
|
16
|
-
children?: ReactNode;
|
|
17
|
-
isGallery?: boolean;
|
|
18
|
-
currentTheme?: string | null | undefined;
|
|
19
|
-
isQRCode?: boolean;
|
|
20
|
-
}
|
|
21
|
-
declare const DialogV2: React.FC<DialogProps>;
|
|
22
|
-
export default DialogV2;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode, CSSProperties } from 'react';
|
|
2
|
-
import './styles.scss';
|
|
3
|
-
interface DialogProps {
|
|
4
|
-
icon?: ReactNode;
|
|
5
|
-
customStyles?: CSSProperties;
|
|
6
|
-
open: boolean;
|
|
7
|
-
handleClose: () => void;
|
|
8
|
-
loading?: boolean;
|
|
9
|
-
title?: string | ReactNode;
|
|
10
|
-
subHeading?: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
onSubmit?: () => void;
|
|
13
|
-
onCancel?: () => void;
|
|
14
|
-
cancelText?: string;
|
|
15
|
-
submitText?: string;
|
|
16
|
-
children?: ReactNode;
|
|
17
|
-
isGallery?: boolean;
|
|
18
|
-
currentTheme?: string | null | undefined;
|
|
19
|
-
}
|
|
20
|
-
declare const Dialog: React.FC<DialogProps>;
|
|
21
|
-
export default Dialog;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './styles.scss';
|
|
3
|
-
interface Option {
|
|
4
|
-
id?: number | string;
|
|
5
|
-
value: string;
|
|
6
|
-
label: string;
|
|
7
|
-
}
|
|
8
|
-
interface GeneralSelectProps {
|
|
9
|
-
options: Option[];
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
error?: string;
|
|
12
|
-
label?: string;
|
|
13
|
-
selectedValue: Option | null;
|
|
14
|
-
isError: boolean;
|
|
15
|
-
setSelectedValue: (option: Option | null) => void;
|
|
16
|
-
builderSelect: boolean;
|
|
17
|
-
gallerySelect: boolean;
|
|
18
|
-
clearField: boolean;
|
|
19
|
-
qrField?: boolean;
|
|
20
|
-
search?: boolean;
|
|
21
|
-
currentTheme?: string | null | undefined;
|
|
22
|
-
}
|
|
23
|
-
declare const GeneralSelect: React.FC<GeneralSelectProps>;
|
|
24
|
-
export default GeneralSelect;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import 'react-tooltip/dist/react-tooltip.css';
|
|
3
|
-
import './styles.scss';
|
|
4
|
-
interface GeneralTooltipProps {
|
|
5
|
-
anchorSelect: string;
|
|
6
|
-
place: 'top' | 'right' | 'bottom' | 'left';
|
|
7
|
-
title: string | React.ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const GeneralTooltip: React.FC<GeneralTooltipProps>;
|
|
11
|
-
export default GeneralTooltip;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent, FC } from 'react';
|
|
2
|
-
import './styles.scss';
|
|
3
|
-
interface InputProps {
|
|
4
|
-
variant?: keyof JSX.IntrinsicElements;
|
|
5
|
-
type: any;
|
|
6
|
-
value: string;
|
|
7
|
-
onChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | any>) => void;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
label?: string;
|
|
10
|
-
error?: string;
|
|
11
|
-
inputIcon?: boolean;
|
|
12
|
-
searchApplied?: boolean;
|
|
13
|
-
onClick?: () => void;
|
|
14
|
-
removeSearchInput?: () => void;
|
|
15
|
-
onKeyDown?: () => void;
|
|
16
|
-
builderInput?: boolean;
|
|
17
|
-
gellerySearch?: boolean;
|
|
18
|
-
videoTooltip?: boolean;
|
|
19
|
-
handleFileRemove?: () => void;
|
|
20
|
-
qrField?: boolean;
|
|
21
|
-
onlyNumber?: boolean;
|
|
22
|
-
currentTheme?: string | null | undefined;
|
|
23
|
-
required?: boolean;
|
|
24
|
-
isClearable?: boolean;
|
|
25
|
-
className?: string;
|
|
26
|
-
}
|
|
27
|
-
declare const Input: FC<InputProps>;
|
|
28
|
-
export default Input;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { CSSProperties, ReactNode } from 'react';
|
|
2
|
-
import './styles.scss';
|
|
3
|
-
interface TypographyProps {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
style?: CSSProperties;
|
|
6
|
-
variant?: keyof JSX.IntrinsicElements;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const Typography: React.FC<TypographyProps>;
|
|
10
|
-
export default Typography;
|