@mychoice/mychoice-sdk-components 1.0.0
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/README.md +11 -0
- package/dist/cjs/components/buttons/BattonTab/BattonTab.d.ts +3 -0
- package/dist/cjs/components/buttons/BattonTab/BattonTabMobile.d.ts +3 -0
- package/dist/cjs/components/buttons/BattonTab/index.d.ts +2 -0
- package/dist/cjs/components/buttons/ButtonArrow/ButtonArrow.d.ts +3 -0
- package/dist/cjs/components/buttons/ButtonArrow/index.d.ts +1 -0
- package/dist/cjs/components/buttons/ButtonBase/ButtonBase.d.ts +3 -0
- package/dist/cjs/components/buttons/ButtonBase/index.d.ts +1 -0
- package/dist/cjs/components/buttons/ButtonForm/ButtonForm.d.ts +3 -0
- package/dist/cjs/components/buttons/ButtonForm/index.d.ts +1 -0
- package/dist/cjs/components/buttons/ButtonMenu/ButtonMenu.d.ts +3 -0
- package/dist/cjs/components/buttons/ButtonMenu/index.d.ts +1 -0
- package/dist/cjs/components/buttons/ButtonTabArrow/ButtonTabArrow.d.ts +3 -0
- package/dist/cjs/components/buttons/ButtonTabArrow/index.d.ts +1 -0
- package/dist/cjs/components/buttons/index.d.ts +7 -0
- package/dist/cjs/components/buttons/interfaces.d.ts +39 -0
- package/dist/cjs/components/headers/HeaderDropDown/HeaderDropDown.d.ts +3 -0
- package/dist/cjs/components/headers/HeaderDropDown/index.d.ts +1 -0
- package/dist/cjs/components/headers/HeaderNavGroup/HeaderNavGroup.d.ts +3 -0
- package/dist/cjs/components/headers/HeaderNavGroup/index.d.ts +1 -0
- package/dist/cjs/components/headers/index.d.ts +3 -0
- package/dist/cjs/components/headers/interfaces.d.ts +12 -0
- package/dist/cjs/components/icons/IconChecked.d.ts +2 -0
- package/dist/cjs/components/icons/IconDecline.d.ts +3 -0
- package/dist/cjs/components/icons/IconDelete.d.ts +3 -0
- package/dist/cjs/components/icons/IconSuccess.d.ts +3 -0
- package/dist/cjs/components/icons/IconTooltip.d.ts +3 -0
- package/dist/cjs/components/icons/arrows/IconArrow.d.ts +3 -0
- package/dist/cjs/components/icons/arrows/IconDropdownArrow.d.ts +3 -0
- package/dist/cjs/components/icons/arrows/IconTabArrow.d.ts +3 -0
- package/dist/cjs/components/icons/arrows/index.d.ts +3 -0
- package/dist/cjs/components/icons/index.d.ts +8 -0
- package/dist/cjs/components/icons/insurances/car/NavigationCar.d.ts +3 -0
- package/dist/cjs/components/icons/insurances/car/index.d.ts +1 -0
- package/dist/cjs/components/icons/insurances/home/NavigationAddress.d.ts +3 -0
- package/dist/cjs/components/icons/insurances/home/NavigationProperty.d.ts +3 -0
- package/dist/cjs/components/icons/insurances/home/index.d.ts +2 -0
- package/dist/cjs/components/icons/insurances/index.d.ts +3 -0
- package/dist/cjs/components/icons/insurances/shared/NavigationBase.d.ts +3 -0
- package/dist/cjs/components/icons/insurances/shared/NavigationDiscount.d.ts +3 -0
- package/dist/cjs/components/icons/insurances/shared/NavigationPerson.d.ts +3 -0
- package/dist/cjs/components/icons/insurances/shared/NavigationQuotes.d.ts +3 -0
- package/dist/cjs/components/icons/insurances/shared/index.d.ts +4 -0
- package/dist/cjs/components/icons/interfaces.d.ts +14 -0
- package/dist/cjs/components/icons/loaders/IconLoaderPrimary.d.ts +3 -0
- package/dist/cjs/components/icons/loaders/IconLoaderSecondary.d.ts +2 -0
- package/dist/cjs/components/icons/loaders/IconLoaderVideo.d.ts +5 -0
- package/dist/cjs/components/icons/loaders/index.d.ts +2 -0
- package/dist/cjs/components/index.d.ts +10 -0
- package/dist/cjs/components/inputs/CheckboxForm/CheckboxForm.d.ts +3 -0
- package/dist/cjs/components/inputs/CheckboxForm/index.d.ts +1 -0
- package/dist/cjs/components/inputs/InputForm/InputForm.d.ts +3 -0
- package/dist/cjs/components/inputs/InputForm/index.d.ts +1 -0
- package/dist/cjs/components/inputs/InputFormEmail/InputFormEmail.d.ts +3 -0
- package/dist/cjs/components/inputs/InputFormEmail/index.d.ts +1 -0
- package/dist/cjs/components/inputs/InputFormLicence/InputFormLicence.d.ts +3 -0
- package/dist/cjs/components/inputs/InputFormLicence/index.d.ts +1 -0
- package/dist/cjs/components/inputs/InputFormPhone/InputFormPhone.d.ts +3 -0
- package/dist/cjs/components/inputs/InputFormPhone/index.d.ts +1 -0
- package/dist/cjs/components/inputs/index.d.ts +6 -0
- package/dist/cjs/components/inputs/interfaces.d.ts +19 -0
- package/dist/cjs/components/messages/InfoMessage/InfoMessage.d.ts +3 -0
- package/dist/cjs/components/messages/InfoMessage/index.d.ts +1 -0
- package/dist/cjs/components/messages/index.d.ts +1 -0
- package/dist/cjs/components/messages/interfaces.d.ts +6 -0
- package/dist/cjs/components/navigations/HeaderNavLink/HeaderNavLink.d.ts +1 -0
- package/dist/cjs/components/navigations/HeaderNavLink/index.d.ts +1 -0
- package/dist/cjs/components/navigations/Step/Step.d.ts +3 -0
- package/dist/cjs/components/navigations/Step/index.d.ts +1 -0
- package/dist/cjs/components/navigations/index.d.ts +3 -0
- package/dist/cjs/components/navigations/interfaces.d.ts +25 -0
- package/dist/cjs/components/quotes/OfferDetail/OfferDetail.d.ts +3 -0
- package/dist/cjs/components/quotes/OfferDetail/OfferDetailTitle.d.ts +3 -0
- package/dist/cjs/components/quotes/OfferDetail/OperationHoursInfo.d.ts +3 -0
- package/dist/cjs/components/quotes/OfferDetail/index.d.ts +3 -0
- package/dist/cjs/components/quotes/OfferHeader/OfferHeader.d.ts +3 -0
- package/dist/cjs/components/quotes/OfferHeader/index.d.ts +1 -0
- package/dist/cjs/components/quotes/OfferPrice/OfferPrice.d.ts +3 -0
- package/dist/cjs/components/quotes/OfferPrice/index.d.ts +1 -0
- package/dist/cjs/components/quotes/QuoteEdit/QuoteEdit.d.ts +3 -0
- package/dist/cjs/components/quotes/QuoteEdit/index.d.ts +1 -0
- package/dist/cjs/components/quotes/index.d.ts +5 -0
- package/dist/cjs/components/quotes/interfaces.d.ts +40 -0
- package/dist/cjs/components/selects/SelectForm/SelectForm.d.ts +3 -0
- package/dist/cjs/components/selects/SelectForm/index.d.ts +2 -0
- package/dist/cjs/components/selects/index.d.ts +1 -0
- package/dist/cjs/components/selects/interfaces.d.ts +9 -0
- package/dist/cjs/components/titles/TitleForm/TitleForm.d.ts +3 -0
- package/dist/cjs/components/titles/TitleForm/index.d.ts +1 -0
- package/dist/cjs/components/titles/index.d.ts +2 -0
- package/dist/cjs/components/titles/interfaces.d.ts +6 -0
- package/dist/cjs/components/tooltips/SdkTooltip/SdkTooltip.d.ts +3 -0
- package/dist/cjs/components/tooltips/SdkTooltip/index.d.ts +1 -0
- package/dist/cjs/components/tooltips/TooltipForm/TooltipForm.d.ts +3 -0
- package/dist/cjs/components/tooltips/TooltipForm/index.d.ts +1 -0
- package/dist/cjs/components/tooltips/index.d.ts +3 -0
- package/dist/cjs/components/tooltips/interfaces.d.ts +4 -0
- package/dist/cjs/constants/api.d.ts +46 -0
- package/dist/cjs/constants/application.d.ts +12 -0
- package/dist/cjs/constants/device.d.ts +20 -0
- package/dist/cjs/constants/forms/index.d.ts +2 -0
- package/dist/cjs/constants/forms/licence.d.ts +5 -0
- package/dist/cjs/constants/forms/user.d.ts +13 -0
- package/dist/cjs/constants/index.d.ts +7 -0
- package/dist/cjs/constants/insurances/car/index.d.ts +1 -0
- package/dist/cjs/constants/insurances/car/pages/driver.d.ts +46 -0
- package/dist/cjs/constants/insurances/car/pages/index.d.ts +3 -0
- package/dist/cjs/constants/insurances/car/pages/quote.d.ts +1 -0
- package/dist/cjs/constants/insurances/car/pages/vehicle.d.ts +54 -0
- package/dist/cjs/constants/insurances/home/index.d.ts +1 -0
- package/dist/cjs/constants/insurances/home/pages/address.d.ts +13 -0
- package/dist/cjs/constants/insurances/home/pages/applicant.d.ts +16 -0
- package/dist/cjs/constants/insurances/home/pages/index.d.ts +3 -0
- package/dist/cjs/constants/insurances/home/pages/property.d.ts +34 -0
- package/dist/cjs/constants/insurances/index.d.ts +3 -0
- package/dist/cjs/constants/insurances/shared/index.d.ts +1 -0
- package/dist/cjs/constants/insurances/shared/options.d.ts +8 -0
- package/dist/cjs/constants/modals.d.ts +6 -0
- package/dist/cjs/constants/ui/buttons.d.ts +9 -0
- package/dist/cjs/constants/ui/colors.d.ts +15 -0
- package/dist/cjs/constants/ui/index.d.ts +6 -0
- package/dist/cjs/constants/ui/inputs.d.ts +12 -0
- package/dist/cjs/constants/ui/main.d.ts +5 -0
- package/dist/cjs/constants/ui/quotes.d.ts +4 -0
- package/dist/cjs/constants/ui/sizes.d.ts +22 -0
- package/dist/cjs/helpers/date-fns.d.ts +26 -0
- package/dist/cjs/helpers/index.d.ts +3 -0
- package/dist/cjs/helpers/lodash.d.ts +6 -0
- package/dist/cjs/helpers/main.d.ts +5 -0
- package/dist/cjs/hoox/index.d.ts +1 -0
- package/dist/cjs/hoox/useEffectOnce/index.d.ts +1 -0
- package/dist/cjs/hoox/useEffectOnce/useEffectOnce.d.ts +1 -0
- package/dist/cjs/index.d.ts +5 -0
- package/dist/cjs/index.js +1590 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/interfaces/general.d.ts +16 -0
- package/dist/cjs/interfaces/index.d.ts +2 -0
- package/dist/cjs/interfaces/inputs.d.ts +37 -0
- package/dist/cjs/utils/InputValueReducer/actions.d.ts +4 -0
- package/dist/cjs/utils/InputValueReducer/index.d.ts +3 -0
- package/dist/cjs/utils/InputValueReducer/inputValueReducer.d.ts +3 -0
- package/dist/cjs/utils/InputValueReducer/interfaces.d.ts +12 -0
- package/dist/esm/components/buttons/BattonTab/BattonTab.d.ts +3 -0
- package/dist/esm/components/buttons/BattonTab/BattonTabMobile.d.ts +3 -0
- package/dist/esm/components/buttons/BattonTab/index.d.ts +2 -0
- package/dist/esm/components/buttons/ButtonArrow/ButtonArrow.d.ts +3 -0
- package/dist/esm/components/buttons/ButtonArrow/index.d.ts +1 -0
- package/dist/esm/components/buttons/ButtonBase/ButtonBase.d.ts +3 -0
- package/dist/esm/components/buttons/ButtonBase/index.d.ts +1 -0
- package/dist/esm/components/buttons/ButtonForm/ButtonForm.d.ts +3 -0
- package/dist/esm/components/buttons/ButtonForm/index.d.ts +1 -0
- package/dist/esm/components/buttons/ButtonMenu/ButtonMenu.d.ts +3 -0
- package/dist/esm/components/buttons/ButtonMenu/index.d.ts +1 -0
- package/dist/esm/components/buttons/ButtonTabArrow/ButtonTabArrow.d.ts +3 -0
- package/dist/esm/components/buttons/ButtonTabArrow/index.d.ts +1 -0
- package/dist/esm/components/buttons/index.d.ts +7 -0
- package/dist/esm/components/buttons/interfaces.d.ts +39 -0
- package/dist/esm/components/headers/HeaderDropDown/HeaderDropDown.d.ts +3 -0
- package/dist/esm/components/headers/HeaderDropDown/index.d.ts +1 -0
- package/dist/esm/components/headers/HeaderNavGroup/HeaderNavGroup.d.ts +3 -0
- package/dist/esm/components/headers/HeaderNavGroup/index.d.ts +1 -0
- package/dist/esm/components/headers/index.d.ts +3 -0
- package/dist/esm/components/headers/interfaces.d.ts +12 -0
- package/dist/esm/components/icons/IconChecked.d.ts +2 -0
- package/dist/esm/components/icons/IconDecline.d.ts +3 -0
- package/dist/esm/components/icons/IconDelete.d.ts +3 -0
- package/dist/esm/components/icons/IconSuccess.d.ts +3 -0
- package/dist/esm/components/icons/IconTooltip.d.ts +3 -0
- package/dist/esm/components/icons/arrows/IconArrow.d.ts +3 -0
- package/dist/esm/components/icons/arrows/IconDropdownArrow.d.ts +3 -0
- package/dist/esm/components/icons/arrows/IconTabArrow.d.ts +3 -0
- package/dist/esm/components/icons/arrows/index.d.ts +3 -0
- package/dist/esm/components/icons/index.d.ts +8 -0
- package/dist/esm/components/icons/insurances/car/NavigationCar.d.ts +3 -0
- package/dist/esm/components/icons/insurances/car/index.d.ts +1 -0
- package/dist/esm/components/icons/insurances/home/NavigationAddress.d.ts +3 -0
- package/dist/esm/components/icons/insurances/home/NavigationProperty.d.ts +3 -0
- package/dist/esm/components/icons/insurances/home/index.d.ts +2 -0
- package/dist/esm/components/icons/insurances/index.d.ts +3 -0
- package/dist/esm/components/icons/insurances/shared/NavigationBase.d.ts +3 -0
- package/dist/esm/components/icons/insurances/shared/NavigationDiscount.d.ts +3 -0
- package/dist/esm/components/icons/insurances/shared/NavigationPerson.d.ts +3 -0
- package/dist/esm/components/icons/insurances/shared/NavigationQuotes.d.ts +3 -0
- package/dist/esm/components/icons/insurances/shared/index.d.ts +4 -0
- package/dist/esm/components/icons/interfaces.d.ts +14 -0
- package/dist/esm/components/icons/loaders/IconLoaderPrimary.d.ts +3 -0
- package/dist/esm/components/icons/loaders/IconLoaderSecondary.d.ts +2 -0
- package/dist/esm/components/icons/loaders/IconLoaderVideo.d.ts +5 -0
- package/dist/esm/components/icons/loaders/index.d.ts +2 -0
- package/dist/esm/components/index.d.ts +10 -0
- package/dist/esm/components/inputs/CheckboxForm/CheckboxForm.d.ts +3 -0
- package/dist/esm/components/inputs/CheckboxForm/index.d.ts +1 -0
- package/dist/esm/components/inputs/InputForm/InputForm.d.ts +3 -0
- package/dist/esm/components/inputs/InputForm/index.d.ts +1 -0
- package/dist/esm/components/inputs/InputFormEmail/InputFormEmail.d.ts +3 -0
- package/dist/esm/components/inputs/InputFormEmail/index.d.ts +1 -0
- package/dist/esm/components/inputs/InputFormLicence/InputFormLicence.d.ts +3 -0
- package/dist/esm/components/inputs/InputFormLicence/index.d.ts +1 -0
- package/dist/esm/components/inputs/InputFormPhone/InputFormPhone.d.ts +3 -0
- package/dist/esm/components/inputs/InputFormPhone/index.d.ts +1 -0
- package/dist/esm/components/inputs/index.d.ts +6 -0
- package/dist/esm/components/inputs/interfaces.d.ts +19 -0
- package/dist/esm/components/messages/InfoMessage/InfoMessage.d.ts +3 -0
- package/dist/esm/components/messages/InfoMessage/index.d.ts +1 -0
- package/dist/esm/components/messages/index.d.ts +1 -0
- package/dist/esm/components/messages/interfaces.d.ts +6 -0
- package/dist/esm/components/navigations/HeaderNavLink/HeaderNavLink.d.ts +1 -0
- package/dist/esm/components/navigations/HeaderNavLink/index.d.ts +1 -0
- package/dist/esm/components/navigations/Step/Step.d.ts +3 -0
- package/dist/esm/components/navigations/Step/index.d.ts +1 -0
- package/dist/esm/components/navigations/index.d.ts +3 -0
- package/dist/esm/components/navigations/interfaces.d.ts +25 -0
- package/dist/esm/components/quotes/OfferDetail/OfferDetail.d.ts +3 -0
- package/dist/esm/components/quotes/OfferDetail/OfferDetailTitle.d.ts +3 -0
- package/dist/esm/components/quotes/OfferDetail/OperationHoursInfo.d.ts +3 -0
- package/dist/esm/components/quotes/OfferDetail/index.d.ts +3 -0
- package/dist/esm/components/quotes/OfferHeader/OfferHeader.d.ts +3 -0
- package/dist/esm/components/quotes/OfferHeader/index.d.ts +1 -0
- package/dist/esm/components/quotes/OfferPrice/OfferPrice.d.ts +3 -0
- package/dist/esm/components/quotes/OfferPrice/index.d.ts +1 -0
- package/dist/esm/components/quotes/QuoteEdit/QuoteEdit.d.ts +3 -0
- package/dist/esm/components/quotes/QuoteEdit/index.d.ts +1 -0
- package/dist/esm/components/quotes/index.d.ts +5 -0
- package/dist/esm/components/quotes/interfaces.d.ts +40 -0
- package/dist/esm/components/selects/SelectForm/SelectForm.d.ts +3 -0
- package/dist/esm/components/selects/SelectForm/index.d.ts +2 -0
- package/dist/esm/components/selects/index.d.ts +1 -0
- package/dist/esm/components/selects/interfaces.d.ts +9 -0
- package/dist/esm/components/titles/TitleForm/TitleForm.d.ts +3 -0
- package/dist/esm/components/titles/TitleForm/index.d.ts +1 -0
- package/dist/esm/components/titles/index.d.ts +2 -0
- package/dist/esm/components/titles/interfaces.d.ts +6 -0
- package/dist/esm/components/tooltips/SdkTooltip/SdkTooltip.d.ts +3 -0
- package/dist/esm/components/tooltips/SdkTooltip/index.d.ts +1 -0
- package/dist/esm/components/tooltips/TooltipForm/TooltipForm.d.ts +3 -0
- package/dist/esm/components/tooltips/TooltipForm/index.d.ts +1 -0
- package/dist/esm/components/tooltips/index.d.ts +3 -0
- package/dist/esm/components/tooltips/interfaces.d.ts +4 -0
- package/dist/esm/constants/api.d.ts +46 -0
- package/dist/esm/constants/application.d.ts +12 -0
- package/dist/esm/constants/device.d.ts +20 -0
- package/dist/esm/constants/forms/index.d.ts +2 -0
- package/dist/esm/constants/forms/licence.d.ts +5 -0
- package/dist/esm/constants/forms/user.d.ts +13 -0
- package/dist/esm/constants/index.d.ts +7 -0
- package/dist/esm/constants/insurances/car/index.d.ts +1 -0
- package/dist/esm/constants/insurances/car/pages/driver.d.ts +46 -0
- package/dist/esm/constants/insurances/car/pages/index.d.ts +3 -0
- package/dist/esm/constants/insurances/car/pages/quote.d.ts +1 -0
- package/dist/esm/constants/insurances/car/pages/vehicle.d.ts +54 -0
- package/dist/esm/constants/insurances/home/index.d.ts +1 -0
- package/dist/esm/constants/insurances/home/pages/address.d.ts +13 -0
- package/dist/esm/constants/insurances/home/pages/applicant.d.ts +16 -0
- package/dist/esm/constants/insurances/home/pages/index.d.ts +3 -0
- package/dist/esm/constants/insurances/home/pages/property.d.ts +34 -0
- package/dist/esm/constants/insurances/index.d.ts +3 -0
- package/dist/esm/constants/insurances/shared/index.d.ts +1 -0
- package/dist/esm/constants/insurances/shared/options.d.ts +8 -0
- package/dist/esm/constants/modals.d.ts +6 -0
- package/dist/esm/constants/ui/buttons.d.ts +9 -0
- package/dist/esm/constants/ui/colors.d.ts +15 -0
- package/dist/esm/constants/ui/index.d.ts +6 -0
- package/dist/esm/constants/ui/inputs.d.ts +12 -0
- package/dist/esm/constants/ui/main.d.ts +5 -0
- package/dist/esm/constants/ui/quotes.d.ts +4 -0
- package/dist/esm/constants/ui/sizes.d.ts +22 -0
- package/dist/esm/helpers/date-fns.d.ts +26 -0
- package/dist/esm/helpers/index.d.ts +3 -0
- package/dist/esm/helpers/lodash.d.ts +6 -0
- package/dist/esm/helpers/main.d.ts +5 -0
- package/dist/esm/hoox/index.d.ts +1 -0
- package/dist/esm/hoox/useEffectOnce/index.d.ts +1 -0
- package/dist/esm/hoox/useEffectOnce/useEffectOnce.d.ts +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.js +1456 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/interfaces/general.d.ts +16 -0
- package/dist/esm/interfaces/index.d.ts +2 -0
- package/dist/esm/interfaces/inputs.d.ts +37 -0
- package/dist/esm/utils/InputValueReducer/actions.d.ts +4 -0
- package/dist/esm/utils/InputValueReducer/index.d.ts +3 -0
- package/dist/esm/utils/InputValueReducer/inputValueReducer.d.ts +3 -0
- package/dist/esm/utils/InputValueReducer/interfaces.d.ts +12 -0
- package/dist/index.d.ts +716 -0
- package/package.json +38 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { InputTypes, SizeTypes, ValidationStatusTypes } from '../../constants';
|
|
2
|
+
import { DefaultInputProps, OnChangeEventInterface } from '../../interfaces';
|
|
3
|
+
export declare type InputProps = DefaultInputProps & {
|
|
4
|
+
size?: SizeTypes;
|
|
5
|
+
type?: InputTypes;
|
|
6
|
+
onChange?: (option: OnChangeEventInterface) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare type CheckboxProps = {
|
|
9
|
+
className?: string;
|
|
10
|
+
name: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
defaultValue?: boolean;
|
|
13
|
+
onChange?: (option: OnChangeEventInterface) => void;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export declare type EmailInputProps = DefaultInputProps & {
|
|
17
|
+
validationStatus?: ValidationStatusTypes;
|
|
18
|
+
onChange?: (option: OnChangeEventInterface) => void;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { InfoMessage } from './InfoMessage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './InfoMessage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NavLink as HeaderNavLink } from 'react-router-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './HeaderNavLink';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Step } from './Step';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SdkElement } from '../../interfaces';
|
|
2
|
+
export interface NavigationItemInterface {
|
|
3
|
+
path?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
icon?: SdkElement;
|
|
6
|
+
title?: string;
|
|
7
|
+
key?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface ValidationOptionsInterface {
|
|
10
|
+
validate: (isRedirect?: boolean) => boolean;
|
|
11
|
+
isValid: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface ValidationHookInterface {
|
|
14
|
+
path?: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
validateOptions: ValidationOptionsInterface;
|
|
17
|
+
key?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare type StepProps = {
|
|
20
|
+
item?: NavigationItemInterface;
|
|
21
|
+
itemsCount?: number;
|
|
22
|
+
index?: number;
|
|
23
|
+
className?: string;
|
|
24
|
+
isMobile?: boolean;
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { OfferHeader } from './OfferHeader';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { OfferPrice } from './OfferPrice';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { QuoteEdit } from './QuoteEdit';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare type OfferHeaderProps = {
|
|
2
|
+
className?: string;
|
|
3
|
+
companyName?: string;
|
|
4
|
+
isBestOffer?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export interface PriceInterface {
|
|
7
|
+
className?: string;
|
|
8
|
+
monthly?: number | string;
|
|
9
|
+
yearly?: number | string;
|
|
10
|
+
}
|
|
11
|
+
export declare type OfferPriceProps = {
|
|
12
|
+
className?: string;
|
|
13
|
+
companyLogo?: string;
|
|
14
|
+
price?: PriceInterface;
|
|
15
|
+
};
|
|
16
|
+
export declare type OfferDetailTitleProps = {
|
|
17
|
+
className?: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
title?: string;
|
|
20
|
+
companyType?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare type OfferDetailInfoProps = {
|
|
23
|
+
className?: string;
|
|
24
|
+
logo?: string;
|
|
25
|
+
description?: string;
|
|
26
|
+
};
|
|
27
|
+
export declare type OfferDetailProps = OfferDetailTitleProps & OfferDetailInfoProps;
|
|
28
|
+
export declare type OperationHoursInfoProps = {
|
|
29
|
+
className?: string;
|
|
30
|
+
weekdayHours?: string;
|
|
31
|
+
saturdayHours?: string;
|
|
32
|
+
sundayHours?: string;
|
|
33
|
+
};
|
|
34
|
+
export declare type QuoteEditProps = {
|
|
35
|
+
className?: string;
|
|
36
|
+
editClick?: ((index: number) => () => void);
|
|
37
|
+
title?: string;
|
|
38
|
+
items?: string[][];
|
|
39
|
+
link?: string;
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SelectForm';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DefaultInputProps, OnChangeEventInterface, SelectOptionGroupInterface, SelectOptionInterface } from '../../interfaces';
|
|
2
|
+
import { SizeTypes } from '../../constants';
|
|
3
|
+
export declare type SelectProps = DefaultInputProps & {
|
|
4
|
+
size?: SizeTypes;
|
|
5
|
+
autoSelectIfValueIsOutOfOptions?: boolean;
|
|
6
|
+
onChange?: (option: OnChangeEventInterface) => void;
|
|
7
|
+
options: SelectOptionInterface[];
|
|
8
|
+
groupOptions?: SelectOptionGroupInterface[];
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TitleForm } from './TitleForm';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SdkTooltip } from './SdkTooltip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TooltipForm } from './TooltipForm';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const API_ROOT: string;
|
|
2
|
+
export declare const API_AUTH: {
|
|
3
|
+
POST_SIGN_IN: string;
|
|
4
|
+
GET_SIGN_OUT: string;
|
|
5
|
+
POST_SIGN_UP: string;
|
|
6
|
+
POST_FORGOT: string;
|
|
7
|
+
POST_RESET: string;
|
|
8
|
+
POST_EMAIL_VERIFICATION: string;
|
|
9
|
+
POST_TOKEN: string;
|
|
10
|
+
POST_EMAIL_VALIDATION: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const PROFILE_API: {
|
|
13
|
+
USER: string;
|
|
14
|
+
POST_PASSWORD_CHANGE: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const API_APP: {
|
|
17
|
+
GET_PARTNER: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const API_FORM_CAR: {
|
|
20
|
+
GET_POSTAL: string;
|
|
21
|
+
GET_VEHICLE: string;
|
|
22
|
+
POST_QUOTE_DATA: string;
|
|
23
|
+
GET_QUOTE_DATA: string;
|
|
24
|
+
POST_QUOTE_ONLIA_URL: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const API_FORM_HOME: {
|
|
27
|
+
GET_POSTAL: string;
|
|
28
|
+
POST_QUOTE_DATA: string;
|
|
29
|
+
};
|
|
30
|
+
export declare enum HttpRequestHeaderTypes {
|
|
31
|
+
Json = "JSON",
|
|
32
|
+
MultiPart = "MultiPart"
|
|
33
|
+
}
|
|
34
|
+
export declare enum RequestStatusTypes {
|
|
35
|
+
Waiting = "Waiting",
|
|
36
|
+
Loading = "Loading",
|
|
37
|
+
Success = "Success",
|
|
38
|
+
Error = "Error"
|
|
39
|
+
}
|
|
40
|
+
export declare enum RequestTypes {
|
|
41
|
+
Get = "GET",
|
|
42
|
+
Post = "POST",
|
|
43
|
+
Put = "PUT",
|
|
44
|
+
Delete = "DELETE",
|
|
45
|
+
Patch = "PATCH"
|
|
46
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum AppTypes {
|
|
2
|
+
MyChoice = "MyChoice",
|
|
3
|
+
Partner = "Partner",
|
|
4
|
+
TheBig = "TheBig"
|
|
5
|
+
}
|
|
6
|
+
export declare enum InsuranceTypes {
|
|
7
|
+
Car = "car",
|
|
8
|
+
Life = "life",
|
|
9
|
+
Home = "home"
|
|
10
|
+
}
|
|
11
|
+
export declare const defaultLocalIndex = "insurance";
|
|
12
|
+
export declare const MAX_LOCAL_STORAGE_HOURS = 168;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare enum DeviceTypes {
|
|
2
|
+
Desktop = "desktop",
|
|
3
|
+
Mobile = "mobile"
|
|
4
|
+
}
|
|
5
|
+
export declare const DeviceTypeWidthList: {
|
|
6
|
+
type: DeviceTypes;
|
|
7
|
+
minWidth: number;
|
|
8
|
+
}[];
|
|
9
|
+
export declare enum ScreenBPTypes {
|
|
10
|
+
XS = "xs",
|
|
11
|
+
SM = "sm",
|
|
12
|
+
MD = "md",
|
|
13
|
+
LG = "lg",
|
|
14
|
+
XL = "xl",
|
|
15
|
+
XXL = "xxl"
|
|
16
|
+
}
|
|
17
|
+
export declare const ScreenBPList: {
|
|
18
|
+
BP: ScreenBPTypes;
|
|
19
|
+
minWidth: number;
|
|
20
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pages';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { GenderTypes } from '../../../forms';
|
|
2
|
+
export declare const maritalStatusOptions: {
|
|
3
|
+
name: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const occupationOptions: {
|
|
7
|
+
name: string;
|
|
8
|
+
value: number;
|
|
9
|
+
}[];
|
|
10
|
+
export declare const genderOptions: {
|
|
11
|
+
value: GenderTypes;
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
14
|
+
export declare const applicantRelationshipOptions: {
|
|
15
|
+
name: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}[];
|
|
18
|
+
export declare const insuranceCancellationReasonOptions: {
|
|
19
|
+
name: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}[];
|
|
22
|
+
export declare const licenceSuspensionsReasonOptions: {
|
|
23
|
+
name: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}[];
|
|
26
|
+
export declare const coverageOptions: {
|
|
27
|
+
name: string;
|
|
28
|
+
value: number;
|
|
29
|
+
}[];
|
|
30
|
+
export declare const liabilityOptions: {
|
|
31
|
+
name: string;
|
|
32
|
+
value: number;
|
|
33
|
+
}[];
|
|
34
|
+
export declare const trafficTicketsGroupOptions: {
|
|
35
|
+
label: string;
|
|
36
|
+
options: {
|
|
37
|
+
value: string;
|
|
38
|
+
name: string;
|
|
39
|
+
}[];
|
|
40
|
+
}[];
|
|
41
|
+
export declare enum DriverListTypes {
|
|
42
|
+
InsuranceCancellation = "insuranceCancellationList",
|
|
43
|
+
LicenceSuspension = "licenceSuspensionList",
|
|
44
|
+
Accident = "accidentList",
|
|
45
|
+
Ticket = "ticketList"
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defaultBrokerPhone = "1-855-843-1570";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare const yearMessage: string;
|
|
2
|
+
export declare const carCondition: {
|
|
3
|
+
value: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const carStatus: {
|
|
7
|
+
value: boolean;
|
|
8
|
+
name: string;
|
|
9
|
+
}[];
|
|
10
|
+
export declare const carWinterTiresCheck: {
|
|
11
|
+
value: boolean;
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
14
|
+
export declare const carKeepPlace: {
|
|
15
|
+
name: string;
|
|
16
|
+
value: string;
|
|
17
|
+
}[];
|
|
18
|
+
export declare const comprehensiveCoverage: {
|
|
19
|
+
value: boolean;
|
|
20
|
+
name: string;
|
|
21
|
+
}[];
|
|
22
|
+
export declare const collisionCoverage: {
|
|
23
|
+
value: boolean;
|
|
24
|
+
name: string;
|
|
25
|
+
}[];
|
|
26
|
+
export declare const carUsagePurpose: {
|
|
27
|
+
value: string;
|
|
28
|
+
name: string;
|
|
29
|
+
}[];
|
|
30
|
+
export declare const firstDriveDistanceList: {
|
|
31
|
+
value: string;
|
|
32
|
+
name: string;
|
|
33
|
+
}[];
|
|
34
|
+
export declare const dailyDriveBusinessDistanceList: {
|
|
35
|
+
value: string;
|
|
36
|
+
name: string;
|
|
37
|
+
}[];
|
|
38
|
+
export declare const yearlyDriveDistanceList: {
|
|
39
|
+
value: string;
|
|
40
|
+
name: string;
|
|
41
|
+
}[];
|
|
42
|
+
export declare enum VehicleConditionTypes {
|
|
43
|
+
New = "N",
|
|
44
|
+
Used = "U"
|
|
45
|
+
}
|
|
46
|
+
export declare enum VehiclePrimaryUseTypes {
|
|
47
|
+
Personal = "personal",
|
|
48
|
+
Business = "business"
|
|
49
|
+
}
|
|
50
|
+
export declare enum CoverageTypes {
|
|
51
|
+
Comprehensive = "comprehensive",
|
|
52
|
+
Collision = "collision",
|
|
53
|
+
Liability = "liability"
|
|
54
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pages';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum HomeOwnerTypes {
|
|
2
|
+
Home = "home",
|
|
3
|
+
Condo = "condo",
|
|
4
|
+
Tenant = "tenant"
|
|
5
|
+
}
|
|
6
|
+
export declare const homeOwnerTypeOptions: {
|
|
7
|
+
value: string;
|
|
8
|
+
name: string;
|
|
9
|
+
}[];
|
|
10
|
+
export declare const comprehensiveCoverages: {
|
|
11
|
+
value: boolean;
|
|
12
|
+
name: string;
|
|
13
|
+
}[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const residentsOptions: {
|
|
2
|
+
value: string;
|
|
3
|
+
name: string;
|
|
4
|
+
}[];
|
|
5
|
+
export declare const insuredYearsOptions: {
|
|
6
|
+
value: string;
|
|
7
|
+
name: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const claimTypeOptions: {
|
|
10
|
+
value: string;
|
|
11
|
+
name: string;
|
|
12
|
+
}[];
|
|
13
|
+
export declare enum ApplicantListTypes {
|
|
14
|
+
InsuranceCancellation = "insuranceCancellationList",
|
|
15
|
+
InsuranceClaim = "InsuranceClaimList"
|
|
16
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare enum DwellingInfoTypes {
|
|
2
|
+
BurglarAlarm = "burglarAlarm",
|
|
3
|
+
FireAlarm = "fireAlarm",
|
|
4
|
+
Sprinkler = "sprinkler",
|
|
5
|
+
Deadbolt = "deadbolt"
|
|
6
|
+
}
|
|
7
|
+
export declare const constructionTypeOptions: {
|
|
8
|
+
value: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const exteriorFinishOptions: {
|
|
12
|
+
value: string;
|
|
13
|
+
name: string;
|
|
14
|
+
}[];
|
|
15
|
+
export declare const garageTypeOptions: {
|
|
16
|
+
value: string;
|
|
17
|
+
name: string;
|
|
18
|
+
}[];
|
|
19
|
+
export declare const buildingStructureOptions: {
|
|
20
|
+
value: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}[];
|
|
23
|
+
export declare const fireHallDistanceOptions: {
|
|
24
|
+
value: string;
|
|
25
|
+
name: string;
|
|
26
|
+
}[];
|
|
27
|
+
export declare const fireHydrantDistanceOptions: {
|
|
28
|
+
value: string;
|
|
29
|
+
name: string;
|
|
30
|
+
}[];
|
|
31
|
+
export declare const heatingTypeOptions: {
|
|
32
|
+
value: string;
|
|
33
|
+
name: string;
|
|
34
|
+
}[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './options';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum ColorVariablesTypes {
|
|
2
|
+
Default = "var(--color-primary)",
|
|
3
|
+
Primary = "var(--color-primary)",
|
|
4
|
+
Secondary = "var(--color-primary)"
|
|
5
|
+
}
|
|
6
|
+
export declare enum ColorTypes {
|
|
7
|
+
Default = "default",
|
|
8
|
+
Primary = "primary",
|
|
9
|
+
Secondary = "secondary"
|
|
10
|
+
}
|
|
11
|
+
export declare enum CategoryTypes {
|
|
12
|
+
Outlined = "outlined",
|
|
13
|
+
Filled = "filled",
|
|
14
|
+
Default = "default"
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum InputTypes {
|
|
2
|
+
Text = "text",
|
|
3
|
+
Number = "number",
|
|
4
|
+
Password = "password",
|
|
5
|
+
Email = "email"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ValidationStatusTypes {
|
|
8
|
+
Initial = "initial",
|
|
9
|
+
Loading = "isLoading",
|
|
10
|
+
Declined = "declined",
|
|
11
|
+
Approved = "approved"
|
|
12
|
+
}
|