@tripian/react 5.0.32 → 6.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/components/DateRangePicker/DateRangePicker.d.ts +2 -0
- package/components/FormTemplate/FormTemplateLogin/FormTemplateLogin.d.ts +4 -3
- package/components/FormTemplate/FormTemplateLoginEx/FormTemplateLogin.d.ts +20 -0
- package/components/FormTemplate/FormTemplateRegister/FormTemplateRegister.d.ts +1 -0
- package/components/FormTemplate/FormTemplateRegisterEx/FormTemplateRegister.d.ts +10 -0
- package/components/FormTemplate/FormTemplateResetPassword/FormTemplateResetPassword.d.ts +1 -0
- package/components/FormTemplate/FormTemplateTripNext/FormTemplateTripNext.d.ts +26 -0
- package/components/FormTemplate/FormTemplateTripNext/StepComponent/QuestionComponent/QuestionComponent.d.ts +11 -0
- package/components/FormTemplate/FormTemplateTripNext/StepComponent/StepComponent.d.ts +17 -0
- package/components/FormTemplate/FormTemplateTripNext/StepDestination/StepDestination.d.ts +10 -0
- package/components/FormTemplate/FormTemplateTripNext/StepStayAndShares/StepStayAndShares.d.ts +16 -0
- package/components/FormTemplate/FormTemplateTripNext/model.d.ts +22 -0
- package/components/GoogleMaps/GPlacesAutocomplete2/GPlacesAutocomplete2.d.ts +2 -0
- package/components/PoiInfo/PoiInfoImage/PoiInfoImage.d.ts +0 -3
- package/components/PoiInfo/PoiInfoText/OpenedHours/OpenedHours.d.ts +14 -0
- package/components/PoiInfo/PoiInfoText/PoiInfoText.d.ts +8 -0
- package/{providers/bb/components/BbAccommodationInfo → components/PoiInfo/PoiInfoText}/PoiInfoTextRow/PoiInfoTextRow.d.ts +1 -1
- package/components/PoiInfoEx/PoiInfo.d.ts +31 -0
- package/components/PoiInfoEx/PoiInfoImage/PoiInfoImage.d.ts +15 -0
- package/components/PoiInfoEx/PoiInfoText/PoiInfoText.d.ts +13 -0
- package/components/Price/Price.d.ts +0 -1
- package/components/PriceEx/Price.d.ts +7 -0
- package/components/QuestionTemplateNext/Context/QuestionContext.d.ts +8 -0
- package/components/QuestionTemplateNext/Context/QuestionContext2.d.ts +8 -0
- package/components/QuestionTemplateNext/Question/CheckBoxQuestion/CheckboxQuestion.d.ts +10 -0
- package/components/QuestionTemplateNext/Question/Question.d.ts +8 -0
- package/components/QuestionTemplateNext/Question/Question2.d.ts +7 -0
- package/components/QuestionTemplateNext/Question/RadioButtonQuestion/RadioButtonQuestion.d.ts +10 -0
- package/components/QuestionTemplateNext/Question/RadioButtonQuestion/RadioButtonQuestion2.d.ts +11 -0
- package/components/QuestionTemplateNext/Question/RadioButtonQuestion copy/RadioButtonQuestion2.d.ts +11 -0
- package/components/QuestionTemplateNext/Question/SelectQuestion/SelectQuestion.d.ts +10 -0
- package/components/QuestionTemplateNext/QuestionTemplate.d.ts +11 -0
- package/components/QuestionTemplateNext/QuestionTemplate2.d.ts +11 -0
- package/components/ResetPasswordApproved/ResetPasswordApproved.d.ts +6 -0
- package/components/ResetPasswordEmail/ResetPasswordEmail.d.ts +7 -0
- package/components/SocialLogin/SocialLogin.d.ts +7 -4
- package/components/SocialLoginEx/SocialLogin.d.ts +9 -0
- package/components/UserCompanionSelection/UserCompanionSelection.d.ts +2 -0
- package/components/base/Button/Button.d.ts +3 -1
- package/components/base/Button/Icons/ArrowLeftButton/ArrowLeftButton.d.ts +7 -0
- package/components/base/Button/Icons/BackButton/BackButton.d.ts +8 -0
- package/components/base/Button/Icons/CloseIconButton2/CloseIconButton2.d.ts +1 -1
- package/components/base/Button/Icons/EyeIconButtonEx/EyeIconButton.d.ts +7 -0
- package/components/base/Checkbox/Checkbox.d.ts +1 -0
- package/components/base/Copy/Copy.d.ts +6 -0
- package/components/base/Dropdown/Dropdown.d.ts +3 -1
- package/components/base/EllipseIcon/EllipseIcon.d.ts +6 -0
- package/components/base/Header/Header.d.ts +6 -0
- package/components/base/InfoBox/InfoBox.d.ts +8 -0
- package/components/base/Input/Input.d.ts +22 -0
- package/components/base/NumberCounterNew/NumberCounter.d.ts +12 -0
- package/components/base/RSelect/RSelect.d.ts +2 -0
- package/components/base/RadioButtonBoxGroup/RadioButtonBox/RadioButtonBox.d.ts +10 -0
- package/components/base/RadioButtonBoxGroup/RadioButtonBoxGroup.d.ts +13 -0
- package/components/base/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
- package/components/base/ReadMoreLess/ReadMoreLess.d.ts +7 -0
- package/components/base/Required/Required.d.ts +6 -0
- package/components/base/ShowMoreLess/ShowMoreLess.d.ts +7 -0
- package/components/base/Svg/Icons/AppleEx.d.ts +8 -0
- package/components/base/Svg/Icons/Approved.d.ts +4 -0
- package/components/base/Svg/Icons/ArrowRight.d.ts +4 -0
- package/components/base/Svg/Icons/Email.d.ts +4 -0
- package/components/base/Svg/Icons/Eye.d.ts +4 -0
- package/components/base/Svg/Icons/GoogleEx.d.ts +8 -0
- package/components/base/Svg/Icons/Hearth.d.ts +4 -0
- package/components/base/Svg/Icons/LandingCalendar.d.ts +8 -0
- package/components/base/Svg/Icons/LandingCellPhone.d.ts +8 -0
- package/components/base/Svg/Icons/LandingProfile.d.ts +8 -0
- package/components/base/Svg/Icons/LandingThumbsUp.d.ts +8 -0
- package/components/base/Svg/Icons/Mask.d.ts +4 -0
- package/components/base/Svg/Icons/Phone.d.ts +4 -0
- package/components/base/Svg/Icons/Price.d.ts +4 -0
- package/components/base/Svg/Icons/TapRight.d.ts +4 -0
- package/components/base/Svg/Icons/Timer.d.ts +4 -0
- package/components/base/Svg/Icons/Web.d.ts +4 -0
- package/components/base/Svg/Icons/index.d.ts +5 -1
- package/components/baseEx/Accordion/Accordion.d.ts +10 -0
- package/components/baseEx/AutoCompleteSearchV1/AutoCompleteSearchV1.d.ts +12 -0
- package/components/baseEx/Backdrop/Backdrop.d.ts +7 -0
- package/components/baseEx/Button/Button.d.ts +19 -0
- package/components/baseEx/Button/ButtonTypes.d.ts +6 -0
- package/components/baseEx/Button/Icons/Add.d.ts +3 -0
- package/components/baseEx/Button/Icons/Bars.d.ts +3 -0
- package/components/baseEx/Button/Icons/Base.d.ts +4 -0
- package/components/baseEx/Button/Icons/Bookings.d.ts +3 -0
- package/components/baseEx/Button/Icons/Cancel.d.ts +3 -0
- package/components/baseEx/Button/Icons/Check.d.ts +3 -0
- package/components/{base/Button/Icons/CloseIconButton2 → baseEx/Button/Icons/CloseIconButton}/CloseIconButton.d.ts +2 -2
- package/components/baseEx/Button/Icons/Delete.d.ts +3 -0
- package/components/baseEx/Button/Icons/Edit.d.ts +3 -0
- package/components/baseEx/Button/Icons/EyeIconButton/EyeIconButton.d.ts +7 -0
- package/components/baseEx/Button/Icons/FavoriteIconButton/FavoriteIconButton.d.ts +8 -0
- package/components/baseEx/Button/Icons/Favorites.d.ts +3 -0
- package/components/baseEx/Button/Icons/IButtonIcons.d.ts +14 -0
- package/components/baseEx/Button/Icons/List.d.ts +3 -0
- package/components/baseEx/Button/Icons/Remove.d.ts +3 -0
- package/components/baseEx/Button/Icons/Replace.d.ts +3 -0
- package/components/baseEx/Button/Icons/Save.d.ts +3 -0
- package/components/baseEx/Button/Icons/Search.d.ts +3 -0
- package/components/baseEx/Button/Icons/Uber.d.ts +3 -0
- package/components/baseEx/Button/Icons/index.d.ts +18 -0
- package/components/baseEx/Checkbox/Checkbox.d.ts +10 -0
- package/components/baseEx/CheckboxTree/CheckboxTree.d.ts +13 -0
- package/components/baseEx/Dropdown/Dropdown.d.ts +14 -0
- package/components/baseEx/IconImage/IconImage.d.ts +6 -0
- package/components/baseEx/Img/Img.d.ts +8 -0
- package/components/baseEx/ImgLazy/ImgLazy.d.ts +13 -0
- package/components/baseEx/ImgLazyBase/ImgLazyBase.d.ts +12 -0
- package/components/baseEx/Modal/Modal.d.ts +12 -0
- package/components/baseEx/ModalFull/ModalFull.d.ts +10 -0
- package/components/baseEx/Notification/Notification.d.ts +12 -0
- package/components/baseEx/NumberCounter/NumberCounter.d.ts +9 -0
- package/components/baseEx/NumberInput/NumberInput.d.ts +10 -0
- package/components/baseEx/PageLoading/PageLoading.d.ts +3 -0
- package/components/baseEx/PreLoading/PreLoading.d.ts +8 -0
- package/components/baseEx/ProgressAppLoading/ProgressAppLoading.d.ts +5 -0
- package/components/baseEx/ProgressLoading/ProgressLoading.d.ts +7 -0
- package/components/baseEx/RSelect/RSelect.d.ts +19 -0
- package/components/baseEx/RadioButtonGroup/RadioButton/RadioButton.d.ts +10 -0
- package/components/baseEx/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
- package/components/baseEx/SideNavigation/SideNavigation.d.ts +15 -0
- package/components/baseEx/Svg/Icons/Add.d.ts +4 -0
- package/components/baseEx/Svg/Icons/Apple.d.ts +8 -0
- package/components/baseEx/Svg/Icons/Bars.d.ts +4 -0
- package/components/baseEx/Svg/Icons/Calendar.d.ts +8 -0
- package/components/baseEx/Svg/Icons/Car.d.ts +8 -0
- package/components/baseEx/Svg/Icons/Checkbox.d.ts +4 -0
- package/components/baseEx/Svg/Icons/Clock.d.ts +8 -0
- package/components/baseEx/Svg/Icons/Close.d.ts +11 -0
- package/components/baseEx/Svg/Icons/Delete.d.ts +4 -0
- package/components/baseEx/Svg/Icons/Facebook.d.ts +8 -0
- package/components/baseEx/Svg/Icons/Google.d.ts +8 -0
- package/components/baseEx/Svg/Icons/IIconSvg.d.ts +6 -0
- package/components/baseEx/Svg/Icons/Legs.d.ts +8 -0
- package/components/baseEx/Svg/Icons/NextArrow.d.ts +8 -0
- package/components/baseEx/Svg/Icons/Offer.d.ts +8 -0
- package/components/baseEx/Svg/Icons/PreviousArrow.d.ts +8 -0
- package/components/baseEx/Svg/Icons/RadioButton.d.ts +4 -0
- package/components/baseEx/Svg/Icons/Reservation.d.ts +8 -0
- package/components/baseEx/Svg/Icons/SwitchIcon/SwitchIcon.d.ts +7 -0
- package/components/baseEx/Svg/Icons/ThumbsDown.d.ts +8 -0
- package/components/baseEx/Svg/Icons/ThumbsDownEmpty.d.ts +9 -0
- package/components/baseEx/Svg/Icons/ThumbsUp.d.ts +8 -0
- package/components/baseEx/Svg/Icons/ThumbsUpEmpty.d.ts +9 -0
- package/components/baseEx/Svg/Icons/Ticket.d.ts +8 -0
- package/components/baseEx/Svg/Icons/Tour.d.ts +8 -0
- package/components/baseEx/Svg/Icons/Uber.d.ts +8 -0
- package/components/baseEx/Svg/Icons/index.d.ts +17 -0
- package/components/baseEx/Svg/Svg.d.ts +13 -0
- package/components/baseEx/Switch/Switch.d.ts +7 -0
- package/components/baseEx/SwitchOld/SwitchOld.d.ts +8 -0
- package/components/baseEx/TabMenu/TabMenu.d.ts +11 -0
- package/components/baseEx/TextField/TextField.d.ts +20 -0
- package/index.d.ts +5 -1
- package/index.js +5885 -3860
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +2 -2
- package/img/24cdf52c89c796947ae96dfd61fd4855.png +0 -0
- package/img/927df9135db4852c17138946dc7e36d8.png +0 -0
- package/img/ab923f844cc549da1bd6dbba32135c67.png +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IInput {
|
|
3
|
+
id?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
value: string | number;
|
|
7
|
+
size?: 'small' | 'large' | 'default';
|
|
8
|
+
style?: React.CSSProperties;
|
|
9
|
+
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
10
|
+
onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
11
|
+
type?: string;
|
|
12
|
+
min?: string | number;
|
|
13
|
+
max?: string | number;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
autocomplete?: string;
|
|
17
|
+
onFocus?: () => void;
|
|
18
|
+
onBlur?: () => void;
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
}
|
|
21
|
+
declare const Input: React.FC<IInput>;
|
|
22
|
+
export default Input;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface INumberCounter {
|
|
3
|
+
header?: string;
|
|
4
|
+
defaultValue?: number;
|
|
5
|
+
minValue: number;
|
|
6
|
+
maxValue: number;
|
|
7
|
+
onChange: (num: number) => void;
|
|
8
|
+
onFocus?: () => void;
|
|
9
|
+
onBlur?: () => void;
|
|
10
|
+
}
|
|
11
|
+
declare const NumberCounter: React.FC<INumberCounter>;
|
|
12
|
+
export default NumberCounter;
|
|
@@ -14,6 +14,8 @@ interface IRSelect {
|
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
onInputChange?: (newValue: string, actionMeta: InputActionMeta) => void;
|
|
16
16
|
placeHolder?: string;
|
|
17
|
+
onFocus?: () => void;
|
|
18
|
+
onBlur?: () => void;
|
|
17
19
|
}
|
|
18
20
|
declare const RSelect: React.FC<IRSelect>;
|
|
19
21
|
export default RSelect;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IRadioButtonBox {
|
|
3
|
+
domId?: string;
|
|
4
|
+
text: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
onChange: (checked: boolean, value: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const RadioButtonBox: React.FC<IRadioButtonBox>;
|
|
10
|
+
export default RadioButtonBox;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IOptionsIRadioButtonBoxGroup {
|
|
3
|
+
id: number | string;
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
interface IRadioButtonBoxGroup {
|
|
7
|
+
options: Array<IOptionsIRadioButtonBoxGroup>;
|
|
8
|
+
defaultSelectedId?: number;
|
|
9
|
+
onChange: (addedId?: number, removedId?: number) => void;
|
|
10
|
+
skippable: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const RadioButtonBoxGroup: React.FC<IRadioButtonBoxGroup>;
|
|
13
|
+
export default RadioButtonBoxGroup;
|
|
@@ -5,8 +5,8 @@ interface IOptionsIRadioButtonGroup {
|
|
|
5
5
|
}
|
|
6
6
|
interface IRadioButtonGroup {
|
|
7
7
|
options: Array<IOptionsIRadioButtonGroup>;
|
|
8
|
-
defaultSelectedId?: number
|
|
9
|
-
onChange: (
|
|
8
|
+
defaultSelectedId?: number;
|
|
9
|
+
onChange: (addedId?: number, removedId?: number) => void;
|
|
10
10
|
skippable: boolean;
|
|
11
11
|
}
|
|
12
12
|
declare const RadioButtonGroup: React.FC<IRadioButtonGroup>;
|
|
@@ -13,6 +13,10 @@ import ThumbsDown from './ThumbsDown';
|
|
|
13
13
|
import ThumbsDownEmpty from './ThumbsDownEmpty';
|
|
14
14
|
import ThumbsUp from './ThumbsUp';
|
|
15
15
|
import ThumbsUpEmpty from './ThumbsUpEmpty';
|
|
16
|
+
import LandingCalendar from './LandingCalendar';
|
|
17
|
+
import LandingCellPhone from './LandingCellPhone';
|
|
18
|
+
import LandingProfile from './LandingProfile';
|
|
19
|
+
import LandingThumbsUp from './LandingThumbsUp';
|
|
16
20
|
import Legs from './Legs';
|
|
17
21
|
import Uber from './Uber';
|
|
18
|
-
export { Add, Bars, Bicycle, Calendar, Car, Clock, Close, Delete, NextArrow, PreviousArrow, SwitchIcon, ThumbsUp, ThumbsDown, ThumbsUpEmpty, ThumbsDownEmpty, Legs, Uber };
|
|
22
|
+
export { Add, Bars, Bicycle, Calendar, Car, Clock, Close, Delete, NextArrow, PreviousArrow, SwitchIcon, ThumbsUp, ThumbsDown, ThumbsUpEmpty, ThumbsDownEmpty, LandingCalendar, LandingCellPhone, LandingProfile, LandingThumbsUp, Legs, Uber };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IOption {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
interface IAutoCompleteSearch {
|
|
7
|
+
options: Array<IOption>;
|
|
8
|
+
defaultUserInput?: string;
|
|
9
|
+
selectOption: Function;
|
|
10
|
+
}
|
|
11
|
+
declare const AutoCompleteSearchV1: React.FC<IAutoCompleteSearch>;
|
|
12
|
+
export default AutoCompleteSearchV1;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import BUTTON_TYPES from './ButtonTypes';
|
|
3
|
+
interface IButton {
|
|
4
|
+
text?: string;
|
|
5
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
6
|
+
type?: BUTTON_TYPES;
|
|
7
|
+
size?: 'default' | 'small' | 'large';
|
|
8
|
+
color?: 'default' | 'primary' | 'secondary' | 'danger' | 'disabled';
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
className?: string;
|
|
11
|
+
iconPath?: string;
|
|
12
|
+
iconPath2?: string;
|
|
13
|
+
iconPosition?: string;
|
|
14
|
+
iconSize?: string;
|
|
15
|
+
iconViewBox?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
}
|
|
18
|
+
declare const Button: React.FC<IButton>;
|
|
19
|
+
export default Button;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import BUTTON_TYPES from '../ButtonTypes';
|
|
3
|
+
export interface IButtonIcons {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
text?: string;
|
|
6
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
7
|
+
type?: BUTTON_TYPES;
|
|
8
|
+
size?: 'default' | 'small' | 'large';
|
|
9
|
+
color?: 'default' | 'primary' | 'secondary' | 'danger' | 'disabled';
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
className?: string;
|
|
12
|
+
iconPosition?: string;
|
|
13
|
+
iconSize?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
Add: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
4
|
+
Bars: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
5
|
+
Bookings: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
6
|
+
Cancel: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
7
|
+
Check: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
8
|
+
Delete: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
9
|
+
Remove: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
10
|
+
Edit: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
11
|
+
Favorites: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
12
|
+
List: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
13
|
+
Search: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
14
|
+
Save: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
15
|
+
Replace: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
16
|
+
Uber: import("react").FC<import("./IButtonIcons").IButtonIcons>;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ICheckbox {
|
|
3
|
+
domId: string;
|
|
4
|
+
text: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
onChange: (checked: boolean, domId: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Checkbox: React.FC<ICheckbox>;
|
|
10
|
+
export default Checkbox;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Model from '@tripian/model';
|
|
3
|
+
interface ICheckboxTree {
|
|
4
|
+
domId: string;
|
|
5
|
+
text: string;
|
|
6
|
+
subOptions: Array<Model.SubAnswer>;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
checkeds: Array<number>;
|
|
9
|
+
onChangeParent: (checked: boolean, domId: string) => void;
|
|
10
|
+
onChangeChild: (checked: boolean, domId: string) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const CheckboxTree: React.FC<ICheckboxTree>;
|
|
13
|
+
export default CheckboxTree;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IOptions {
|
|
3
|
+
key?: string | number;
|
|
4
|
+
value: string | number;
|
|
5
|
+
label?: string | number;
|
|
6
|
+
}
|
|
7
|
+
interface IDropdown {
|
|
8
|
+
id?: string;
|
|
9
|
+
options: Array<IOptions>;
|
|
10
|
+
defaultValue: string | number;
|
|
11
|
+
selectChange: (value: string | number, index: number) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const Dropdown: React.FC<IDropdown>;
|
|
14
|
+
export default Dropdown;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IImgLazy {
|
|
3
|
+
src: string;
|
|
4
|
+
alt: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
x?: number;
|
|
7
|
+
y?: number;
|
|
8
|
+
showThumbnails?: boolean;
|
|
9
|
+
objectFit?: 'cover' | 'contain';
|
|
10
|
+
referrerPolicy?: React.HTMLAttributeReferrerPolicy;
|
|
11
|
+
}
|
|
12
|
+
declare const ImgLazy: React.FC<IImgLazy>;
|
|
13
|
+
export default ImgLazy;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IImgLazyBase {
|
|
3
|
+
src: string;
|
|
4
|
+
alt: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
x?: number;
|
|
7
|
+
y?: number;
|
|
8
|
+
showThumbnails?: boolean;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
declare const ImgLazyBase: React.FC<IImgLazyBase>;
|
|
12
|
+
export default ImgLazyBase;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IModal {
|
|
3
|
+
show: boolean;
|
|
4
|
+
backdropClose?: boolean;
|
|
5
|
+
style?: any;
|
|
6
|
+
className?: string;
|
|
7
|
+
ref?: React.LegacyRef<HTMLDivElement>;
|
|
8
|
+
backdropClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
declare const Modal: React.FC<IModal>;
|
|
12
|
+
export default Modal;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface INotification {
|
|
3
|
+
title?: string;
|
|
4
|
+
message: string;
|
|
5
|
+
type: 'success' | 'warning' | 'error';
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
closeMs?: number;
|
|
8
|
+
positionX?: 'left' | 'center' | 'right';
|
|
9
|
+
positionY?: 'top' | 'bottom';
|
|
10
|
+
}
|
|
11
|
+
declare const Notification: React.FC<INotification>;
|
|
12
|
+
export default Notification;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface INumberInput {
|
|
3
|
+
defaultValue?: number;
|
|
4
|
+
minValue: number;
|
|
5
|
+
maxValue: number;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
onchange: (num: number | null) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const NumberInput: React.FC<INumberInput>;
|
|
10
|
+
export default NumberInput;
|