@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.
Files changed (30) hide show
  1. package/build/build-cjs/index.js +148 -86
  2. package/build/build-cjs/src/qsm/store/qsm-slice.d.ts +3 -3
  3. package/build/build-cjs/src/qsm/types.d.ts +2 -2
  4. package/build/build-cjs/src/search-results/types.d.ts +2 -2
  5. package/build/build-cjs/src/shared/components/flyin/flyin.d.ts +2 -2
  6. package/build/build-cjs/src/shared/types.d.ts +13 -12
  7. package/build/build-esm/index.js +145 -86
  8. package/build/build-esm/src/qsm/store/qsm-slice.d.ts +3 -3
  9. package/build/build-esm/src/qsm/types.d.ts +2 -2
  10. package/build/build-esm/src/search-results/types.d.ts +2 -2
  11. package/build/build-esm/src/shared/components/flyin/flyin.d.ts +2 -2
  12. package/build/build-esm/src/shared/types.d.ts +13 -12
  13. package/package.json +2 -2
  14. package/src/content/features/content-page/content-page-self-contained.tsx +2 -2
  15. package/src/qsm/components/QSMContainer/qsm-container.tsx +59 -29
  16. package/src/qsm/components/travel-input/index.tsx +2 -1
  17. package/src/qsm/components/travel-input-group/index.tsx +2 -1
  18. package/src/qsm/qsm-configuration-context.ts +2 -1
  19. package/src/qsm/store/qsm-slice.ts +4 -4
  20. package/src/qsm/types.ts +2 -2
  21. package/src/search-results/components/filters/utility.tsx +10 -10
  22. package/src/search-results/components/search-results-container/flight-search-results.tsx +3 -2
  23. package/src/search-results/components/search-results-container/search-results-container.tsx +39 -18
  24. package/src/search-results/features/flights/flight-search-results-self-contained.tsx +2 -2
  25. package/src/search-results/features/hotels/hotel-flight-search-results-self-contained.tsx +2 -2
  26. package/src/search-results/features/hotels/hotel-search-results-self-contained.tsx +2 -2
  27. package/src/search-results/features/roundtrips/roundtrip-search-results-self-contained.tsx +2 -2
  28. package/src/search-results/types.ts +2 -2
  29. package/src/shared/components/flyin/flyin.tsx +7 -5
  30. 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 { SRPType } from '../shared/types';
3
+ import { PortalQsmType } from '../shared/types';
4
4
  export type FlightSelectionMode = 'paired' | 'independent';
5
5
  export interface SearchResultsConfiguration {
6
- type: SRPType;
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 { SRPType } from '../../types';
2
+ import { PortalQsmType } from '../../types';
3
3
  type FlyInProps = {
4
4
  title: string;
5
- srpType: 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 type SRPType =
3
- | 'multidestination'
4
- | 'hotel'
5
- | 'roundTrip'
6
- | 'flight'
7
- | 'hotel-flight'
8
- | 'groupTour'
9
- | 'package'
10
- | 'ticket'
11
- | 'car'
12
- | 'transfers'
13
- | 'cruises';
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;