@qite/tide-booking-component 1.4.74 → 1.4.76
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/build-cjs/index.js +148 -86
- package/build/build-cjs/src/qsm/store/qsm-slice.d.ts +3 -3
- package/build/build-cjs/src/qsm/types.d.ts +2 -2
- package/build/build-cjs/src/search-results/types.d.ts +2 -2
- package/build/build-cjs/src/shared/components/flyin/flyin.d.ts +2 -2
- package/build/build-cjs/src/shared/types.d.ts +13 -12
- package/build/build-esm/index.js +145 -86
- package/build/build-esm/src/qsm/store/qsm-slice.d.ts +3 -3
- package/build/build-esm/src/qsm/types.d.ts +2 -2
- package/build/build-esm/src/search-results/types.d.ts +2 -2
- package/build/build-esm/src/shared/components/flyin/flyin.d.ts +2 -2
- package/build/build-esm/src/shared/types.d.ts +13 -12
- package/package.json +2 -2
- package/src/content/features/content-page/content-page-self-contained.tsx +2 -2
- package/src/qsm/components/QSMContainer/qsm-container.tsx +59 -29
- package/src/qsm/components/travel-input/index.tsx +2 -1
- package/src/qsm/components/travel-input-group/index.tsx +2 -1
- package/src/qsm/qsm-configuration-context.ts +2 -1
- package/src/qsm/store/qsm-slice.ts +4 -4
- package/src/qsm/types.ts +2 -2
- package/src/search-results/components/filters/utility.tsx +10 -10
- package/src/search-results/components/search-results-container/flight-search-results.tsx +3 -2
- package/src/search-results/components/search-results-container/search-results-container.tsx +39 -18
- package/src/search-results/features/flights/flight-search-results-self-contained.tsx +2 -2
- package/src/search-results/features/hotels/hotel-flight-search-results-self-contained.tsx +2 -2
- package/src/search-results/features/hotels/hotel-search-results-self-contained.tsx +2 -2
- package/src/search-results/features/roundtrips/roundtrip-search-results-self-contained.tsx +2 -2
- package/src/search-results/types.ts +2 -2
- package/src/shared/components/flyin/flyin.tsx +7 -5
- package/src/shared/types.ts +13 -12
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FlightSearchResponseItem } from '@qite/tide-client';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { PortalQsmType } from '../shared/types';
|
|
4
4
|
export type FlightSelectionMode = 'paired' | 'independent';
|
|
5
5
|
export interface SearchResultsConfiguration {
|
|
6
|
-
type:
|
|
6
|
+
type: PortalQsmType;
|
|
7
7
|
tideConnection: {
|
|
8
8
|
host: string;
|
|
9
9
|
apiKey: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { PortalQsmType } from '../../types';
|
|
3
3
|
type FlyInProps = {
|
|
4
4
|
title: string;
|
|
5
|
-
srpType:
|
|
5
|
+
srpType: PortalQsmType;
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
setIsOpen: (open: boolean) => void;
|
|
8
8
|
className?: string;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
export declare enum PortalQsmType {
|
|
3
|
+
Multidestination = 0,
|
|
4
|
+
Accommodation = 1,
|
|
5
|
+
AccommodationAndFlight = 2,
|
|
6
|
+
Flight = 3,
|
|
7
|
+
RoundTrip = 4,
|
|
8
|
+
GroupTour = 5,
|
|
9
|
+
Package = 6,
|
|
10
|
+
Ticket = 7,
|
|
11
|
+
Car = 8,
|
|
12
|
+
Transfer = 9,
|
|
13
|
+
Cruise = 10
|
|
14
|
+
}
|
|
14
15
|
export interface ApiSettingsState {
|
|
15
16
|
apiUrl: string;
|
|
16
17
|
apiKey: string;
|