@tripian/react 6.0.15 → 6.0.17
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 +0 -1
- package/components/base/SideNavigation/SideNavigation.d.ts +2 -0
- package/index.js +1354 -1330
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +2 -2
- package/components/AccommendationCard/AccommendationCard.d.ts +0 -8
- package/components/AccommendationInfo/AccommendationInfo.d.ts +0 -8
- package/components/FormTemplate/FormTemplateTrip/FormTemplateTrip.d.ts +0 -15
- package/components/FormTemplate/FormTemplateTrip2/FormTemplateTrip2.d.ts +0 -19
- package/components/FormTemplate/FormTemplateTripNext/StepStayAndShares/StepStayAndShares.d.ts +0 -21
- package/components/QuestionTemplateNext/Question/RadioButtonQuestion copy/RadioButtonQuestion2.d.ts +0 -11
- package/components/baseEx/Accordion/Accordion.d.ts +0 -10
- package/components/baseEx/AutoCompleteSearchV1/AutoCompleteSearchV1.d.ts +0 -12
- package/components/baseEx/Backdrop/Backdrop.d.ts +0 -7
- package/components/baseEx/Button/Button.d.ts +0 -19
- package/components/baseEx/Button/ButtonTypes.d.ts +0 -6
- package/components/baseEx/Button/Icons/Add.d.ts +0 -3
- package/components/baseEx/Button/Icons/Bars.d.ts +0 -3
- package/components/baseEx/Button/Icons/Base.d.ts +0 -4
- package/components/baseEx/Button/Icons/Bookings.d.ts +0 -3
- package/components/baseEx/Button/Icons/Cancel.d.ts +0 -3
- package/components/baseEx/Button/Icons/Check.d.ts +0 -3
- package/components/baseEx/Button/Icons/CloseIconButton/CloseIconButton.d.ts +0 -8
- package/components/baseEx/Button/Icons/Delete.d.ts +0 -3
- package/components/baseEx/Button/Icons/Edit.d.ts +0 -3
- package/components/baseEx/Button/Icons/EyeIconButton/EyeIconButton.d.ts +0 -7
- package/components/baseEx/Button/Icons/FavoriteIconButton/FavoriteIconButton.d.ts +0 -8
- package/components/baseEx/Button/Icons/Favorites.d.ts +0 -3
- package/components/baseEx/Button/Icons/IButtonIcons.d.ts +0 -14
- package/components/baseEx/Button/Icons/List.d.ts +0 -3
- package/components/baseEx/Button/Icons/Remove.d.ts +0 -3
- package/components/baseEx/Button/Icons/Replace.d.ts +0 -3
- package/components/baseEx/Button/Icons/Save.d.ts +0 -3
- package/components/baseEx/Button/Icons/Search.d.ts +0 -3
- package/components/baseEx/Button/Icons/Uber.d.ts +0 -3
- package/components/baseEx/Button/Icons/index.d.ts +0 -18
- package/components/baseEx/Checkbox/Checkbox.d.ts +0 -10
- package/components/baseEx/CheckboxTree/CheckboxTree.d.ts +0 -13
- package/components/baseEx/Dropdown/Dropdown.d.ts +0 -14
- package/components/baseEx/IconImage/IconImage.d.ts +0 -6
- package/components/baseEx/Img/Img.d.ts +0 -8
- package/components/baseEx/ImgLazy/ImgLazy.d.ts +0 -13
- package/components/baseEx/ImgLazyBase/ImgLazyBase.d.ts +0 -12
- package/components/baseEx/Modal/Modal.d.ts +0 -12
- package/components/baseEx/ModalFull/ModalFull.d.ts +0 -10
- package/components/baseEx/Notification/Notification.d.ts +0 -12
- package/components/baseEx/NumberCounter/NumberCounter.d.ts +0 -9
- package/components/baseEx/NumberInput/NumberInput.d.ts +0 -10
- package/components/baseEx/PageLoading/PageLoading.d.ts +0 -3
- package/components/baseEx/PreLoading/PreLoading.d.ts +0 -8
- package/components/baseEx/ProgressAppLoading/ProgressAppLoading.d.ts +0 -5
- package/components/baseEx/ProgressLoading/ProgressLoading.d.ts +0 -7
- package/components/baseEx/RSelect/RSelect.d.ts +0 -19
- package/components/baseEx/RadioButtonGroup/RadioButton/RadioButton.d.ts +0 -10
- package/components/baseEx/RadioButtonGroup/RadioButtonGroup.d.ts +0 -12
- package/components/baseEx/SideNavigation/SideNavigation.d.ts +0 -15
- package/components/baseEx/Svg/Icons/Add.d.ts +0 -4
- package/components/baseEx/Svg/Icons/Apple.d.ts +0 -8
- package/components/baseEx/Svg/Icons/Bars.d.ts +0 -4
- package/components/baseEx/Svg/Icons/Calendar.d.ts +0 -8
- package/components/baseEx/Svg/Icons/Car.d.ts +0 -8
- package/components/baseEx/Svg/Icons/Checkbox.d.ts +0 -4
- package/components/baseEx/Svg/Icons/Clock.d.ts +0 -8
- package/components/baseEx/Svg/Icons/Close.d.ts +0 -11
- package/components/baseEx/Svg/Icons/Delete.d.ts +0 -4
- package/components/baseEx/Svg/Icons/Facebook.d.ts +0 -8
- package/components/baseEx/Svg/Icons/Google.d.ts +0 -8
- package/components/baseEx/Svg/Icons/IIconSvg.d.ts +0 -6
- package/components/baseEx/Svg/Icons/Legs.d.ts +0 -8
- package/components/baseEx/Svg/Icons/NextArrow.d.ts +0 -8
- package/components/baseEx/Svg/Icons/Offer.d.ts +0 -8
- package/components/baseEx/Svg/Icons/PreviousArrow.d.ts +0 -8
- package/components/baseEx/Svg/Icons/RadioButton.d.ts +0 -4
- package/components/baseEx/Svg/Icons/Reservation.d.ts +0 -8
- package/components/baseEx/Svg/Icons/SwitchIcon/SwitchIcon.d.ts +0 -7
- package/components/baseEx/Svg/Icons/ThumbsDown.d.ts +0 -8
- package/components/baseEx/Svg/Icons/ThumbsDownEmpty.d.ts +0 -9
- package/components/baseEx/Svg/Icons/ThumbsUp.d.ts +0 -8
- package/components/baseEx/Svg/Icons/ThumbsUpEmpty.d.ts +0 -9
- package/components/baseEx/Svg/Icons/Ticket.d.ts +0 -8
- package/components/baseEx/Svg/Icons/Tour.d.ts +0 -8
- package/components/baseEx/Svg/Icons/Uber.d.ts +0 -8
- package/components/baseEx/Svg/Icons/index.d.ts +0 -17
- package/components/baseEx/Svg/Svg.d.ts +0 -13
- package/components/baseEx/Switch/Switch.d.ts +0 -7
- package/components/baseEx/SwitchOld/SwitchOld.d.ts +0 -8
- package/components/baseEx/TabMenu/TabMenu.d.ts +0 -11
- package/components/baseEx/TextField/TextField.d.ts +0 -20
- package/img/d2c299a4cd238f11337883211938d307.png +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tripian/react",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.17",
|
|
4
4
|
"description": "Tripian Inc React Components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@react-google-maps/api": "^2.12.0",
|
|
9
|
-
"@tripian/model": "6.0.
|
|
9
|
+
"@tripian/model": "6.0.17",
|
|
10
10
|
"external-svg-loader": "^1.6.1",
|
|
11
11
|
"moment": "^2.24.0",
|
|
12
12
|
"react": "^18.1.0",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface IAccommendationCard {
|
|
4
|
-
accommodation: Model.Accommodation;
|
|
5
|
-
clicked: (accommodation: Model.Accommodation) => void;
|
|
6
|
-
}
|
|
7
|
-
declare const AccommendationCard: React.FC<IAccommendationCard>;
|
|
8
|
-
export default AccommendationCard;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface IAccommendationInfo {
|
|
4
|
-
accommodation: Model.Accommodation;
|
|
5
|
-
close: (accommodation: Model.Accommodation) => void;
|
|
6
|
-
}
|
|
7
|
-
declare const AccommendationInfo: React.FC<IAccommendationInfo>;
|
|
8
|
-
export default AccommendationInfo;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface IFormTemplateTrip {
|
|
4
|
-
tripProfile: Model.TripProfile;
|
|
5
|
-
tripQuestions: Array<Model.Question>;
|
|
6
|
-
cities: Array<Model.City>;
|
|
7
|
-
isTripEdit?: boolean;
|
|
8
|
-
callbackTripProfile: (tripProfile: Model.TripProfile) => void;
|
|
9
|
-
userCompanionQuestions: Array<Model.Question>;
|
|
10
|
-
userCompanions?: Array<Model.Companion>;
|
|
11
|
-
companionLoadingList: Array<number>;
|
|
12
|
-
callbackUserCompanionAdd: (userCompoanion: Model.Companion) => void;
|
|
13
|
-
}
|
|
14
|
-
declare const FormTemplateTrip: React.FC<IFormTemplateTrip>;
|
|
15
|
-
export default FormTemplateTrip;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface IFormTemplateTrip2 {
|
|
4
|
-
tripProfile: Model.TripProfile;
|
|
5
|
-
tripQuestions: Array<Model.Question>;
|
|
6
|
-
cities: Array<Model.City>;
|
|
7
|
-
isTripEdit?: boolean;
|
|
8
|
-
callbackTripProfile: (tripProfile: Model.TripProfile) => void;
|
|
9
|
-
userCompanionQuestions: Array<Model.Question>;
|
|
10
|
-
userCompanions?: Array<Model.Companion>;
|
|
11
|
-
companionLoadingList: Array<number>;
|
|
12
|
-
callbackUserCompanionAdd: (userCompoanion: Model.Companion) => void;
|
|
13
|
-
showTripModeQuestion?: boolean;
|
|
14
|
-
onSubmitText: string;
|
|
15
|
-
onSubmit: () => void;
|
|
16
|
-
onCancel: () => void;
|
|
17
|
-
}
|
|
18
|
-
declare const FormTemplateTrip2: React.FC<IFormTemplateTrip2>;
|
|
19
|
-
export default FormTemplateTrip2;
|
package/components/FormTemplate/FormTemplateTripNext/StepStayAndShares/StepStayAndShares.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/// <reference types="google.maps" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Model from '@tripian/model';
|
|
4
|
-
export interface StepStayAndSharesProps {
|
|
5
|
-
tripProfile: Model.TripProfile;
|
|
6
|
-
setTripProfile: (tripProfile: Model.TripProfile) => void;
|
|
7
|
-
bound: google.maps.LatLngBounds | undefined;
|
|
8
|
-
setBound: (newBound?: google.maps.LatLngBounds) => void;
|
|
9
|
-
cities: Array<Model.City>;
|
|
10
|
-
userCompanionQuestions: Array<Model.Question>;
|
|
11
|
-
userCompanions?: Array<Model.Companion>;
|
|
12
|
-
companionLoadingList: Array<number>;
|
|
13
|
-
callbackUserCompanionAdd: (userCompoanion: Model.Companion) => void;
|
|
14
|
-
stayAndShareTips: {
|
|
15
|
-
iconUrl: string;
|
|
16
|
-
title: string;
|
|
17
|
-
description: string;
|
|
18
|
-
}[];
|
|
19
|
-
}
|
|
20
|
-
declare const StepStayAndShares: React.FC<StepStayAndSharesProps>;
|
|
21
|
-
export default StepStayAndShares;
|
package/components/QuestionTemplateNext/Question/RadioButtonQuestion copy/RadioButtonQuestion2.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import Model from '@tripian/model';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
interface IRadioButtonQuestion {
|
|
4
|
-
question: Model.Question;
|
|
5
|
-
defaultAnswer?: number;
|
|
6
|
-
radioButtonChange: (addedOptionId?: number, removedOptionId?: number) => void;
|
|
7
|
-
onFocus: () => void;
|
|
8
|
-
flexDirection: 'column' | 'row';
|
|
9
|
-
}
|
|
10
|
-
declare const RadioButtonQuestion2: React.FC<IRadioButtonQuestion>;
|
|
11
|
-
export default RadioButtonQuestion2;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,19 +0,0 @@
|
|
|
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;
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
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;
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,14 +0,0 @@
|
|
|
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;
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,10 +0,0 @@
|
|
|
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;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { InputActionMeta } from 'react-select';
|
|
3
|
-
import './RSelect.scss';
|
|
4
|
-
interface IRSelectOption {
|
|
5
|
-
id: string;
|
|
6
|
-
label: string;
|
|
7
|
-
payload?: any;
|
|
8
|
-
isSelected?: boolean;
|
|
9
|
-
}
|
|
10
|
-
interface IRSelect {
|
|
11
|
-
options: Array<IRSelectOption>;
|
|
12
|
-
onSelectedChanged: (selectedOption: IRSelectOption) => void;
|
|
13
|
-
defaultOptionId?: string;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
onInputChange?: (newValue: string, actionMeta: InputActionMeta) => void;
|
|
16
|
-
placeHolder?: string;
|
|
17
|
-
}
|
|
18
|
-
declare const RSelect: React.FC<IRSelect>;
|
|
19
|
-
export default RSelect;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface IOptionsIRadioButtonGroup {
|
|
3
|
-
id: number | string;
|
|
4
|
-
text: string;
|
|
5
|
-
}
|
|
6
|
-
interface IRadioButtonGroup {
|
|
7
|
-
options: Array<IOptionsIRadioButtonGroup>;
|
|
8
|
-
defaultSelectedId?: number | string;
|
|
9
|
-
onChange: (newSelectedDomId: string) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const RadioButtonGroup: React.FC<IRadioButtonGroup>;
|
|
12
|
-
export default RadioButtonGroup;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface ISideNavigationMenuItem {
|
|
3
|
-
header: string;
|
|
4
|
-
title: string;
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
}
|
|
7
|
-
interface ISideNavigation {
|
|
8
|
-
title: string;
|
|
9
|
-
menuItems: ISideNavigationMenuItem[];
|
|
10
|
-
open?: boolean;
|
|
11
|
-
closed: () => void;
|
|
12
|
-
showBbButton?: boolean;
|
|
13
|
-
}
|
|
14
|
-
declare const SideNavigation: React.FC<ISideNavigation>;
|
|
15
|
-
export default SideNavigation;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Model from '@tripian/model';
|
|
3
|
-
interface IClose {
|
|
4
|
-
fill?: string;
|
|
5
|
-
color?: string;
|
|
6
|
-
size?: string;
|
|
7
|
-
close: (poi: Model.Poi) => void;
|
|
8
|
-
poi: Model.Poi;
|
|
9
|
-
}
|
|
10
|
-
declare const Close: React.FC<IClose>;
|
|
11
|
-
export default Close;
|