@qite/tide-booking-component
Version:
React Booking wizard & Booking product component for Tide
547 lines (546 loc) • 25.1 kB
TypeScript
import { SearchResultsRootState } from './search-results-store';
import { PackagingFlightResponse } from '@qite/tide-client';
export declare const selectPackagingAccoResults: ((state: {
searchResults: import('./search-results-slice').SearchResultsState;
}) => import('@qite/tide-client').PackagingAccommodationResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => import('@qite/tide-client').PackagingAccommodationResponse[];
memoizedResultFunc: ((
resultFuncArgs_0: import('./search-results-slice').SearchResultsState
) => import('@qite/tide-client').PackagingAccommodationResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => import('@qite/tide-client').PackagingAccommodationResponse[];
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectSelectedPackagingAccoResultCode: ((state: {
searchResults: import('./search-results-slice').SearchResultsState;
}) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null;
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => string | null;
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectSelectedPackagingAccoResult: ((state: {
searchResults: import('./search-results-slice').SearchResultsState;
}) => import('@qite/tide-client').PackagingAccommodationResponse | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (
resultFuncArgs_0: import('@qite/tide-client').PackagingAccommodationResponse[],
resultFuncArgs_1: string | null
) => import('@qite/tide-client').PackagingAccommodationResponse | null;
memoizedResultFunc: ((
resultFuncArgs_0: import('@qite/tide-client').PackagingAccommodationResponse[],
resultFuncArgs_1: string | null
) => import('@qite/tide-client').PackagingAccommodationResponse | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => import('@qite/tide-client').PackagingAccommodationResponse | null;
dependencies: [
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => import('@qite/tide-client').PackagingAccommodationResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => import('@qite/tide-client').PackagingAccommodationResponse[];
memoizedResultFunc: ((
resultFuncArgs_0: import('./search-results-slice').SearchResultsState
) => import('@qite/tide-client').PackagingAccommodationResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => import('@qite/tide-client').PackagingAccommodationResponse[];
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
},
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null;
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => string | null;
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
}
];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectPackagingFlightResults: ((state: {
searchResults: import('./search-results-slice').SearchResultsState;
}) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[];
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse[];
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectFilteredPackagingFlightResults: ((state: {
searchResults: import('./search-results-slice').SearchResultsState;
}) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[];
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse[];
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectSelectedOutwardKey: ((state: { searchResults: import('./search-results-slice').SearchResultsState }) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null;
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => string | null;
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectSelectedReturnKey: ((state: { searchResults: import('./search-results-slice').SearchResultsState }) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null;
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => string | null;
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectUniqueOutwardFlights: ((state: {
searchResults: import('./search-results-slice').SearchResultsState;
}) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: PackagingFlightResponse[]) => PackagingFlightResponse[];
memoizedResultFunc: ((resultFuncArgs_0: PackagingFlightResponse[]) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse[];
dependencies: [
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[];
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse[];
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
}
];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectUniqueReturnFlights: ((state: {
searchResults: import('./search-results-slice').SearchResultsState;
}) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: PackagingFlightResponse[], resultFuncArgs_1: string | null) => PackagingFlightResponse[];
memoizedResultFunc: ((resultFuncArgs_0: PackagingFlightResponse[], resultFuncArgs_1: string | null) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse[];
dependencies: [
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[];
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse[];
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
},
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null;
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => string | null;
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
}
];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectSelectedOutward: ((state: {
searchResults: import('./search-results-slice').SearchResultsState;
}) => PackagingFlightResponse | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: PackagingFlightResponse[], resultFuncArgs_1: string | null) => PackagingFlightResponse | null;
memoizedResultFunc: ((resultFuncArgs_0: PackagingFlightResponse[], resultFuncArgs_1: string | null) => PackagingFlightResponse | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse | null;
dependencies: [
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[];
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse[];
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
},
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null;
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => string | null;
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
}
];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectSelectedReturn: ((state: {
searchResults: import('./search-results-slice').SearchResultsState;
}) => PackagingFlightResponse | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: PackagingFlightResponse[], resultFuncArgs_1: string | null) => PackagingFlightResponse | null;
memoizedResultFunc: ((resultFuncArgs_0: PackagingFlightResponse[], resultFuncArgs_1: string | null) => PackagingFlightResponse | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse | null;
dependencies: [
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[];
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse[];
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
},
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null;
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => string | null;
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
}
];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};
export declare const selectSelectedCombinationFlight: ((state: {
searchResults: import('./search-results-slice').SearchResultsState;
}) => PackagingFlightResponse | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: PackagingFlightResponse[], resultFuncArgs_1: string | null, resultFuncArgs_2: string | null) => PackagingFlightResponse | null;
memoizedResultFunc: ((
resultFuncArgs_0: PackagingFlightResponse[],
resultFuncArgs_1: string | null,
resultFuncArgs_2: string | null
) => PackagingFlightResponse | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse | null;
dependencies: [
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[];
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => PackagingFlightResponse[]) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => PackagingFlightResponse[];
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
},
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null;
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => string | null;
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
},
((state: { searchResults: import('./search-results-slice').SearchResultsState }) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
} & {
resultFunc: (resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null;
memoizedResultFunc: ((resultFuncArgs_0: import('./search-results-slice').SearchResultsState) => string | null) & {
clearCache: () => void;
resultsCount: () => number;
resetResultsCount: () => void;
};
lastResult: () => string | null;
dependencies: [(state: SearchResultsRootState) => import('./search-results-slice').SearchResultsState];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
}
];
recomputations: () => number;
resetRecomputations: () => void;
dependencyRecomputations: () => number;
resetDependencyRecomputations: () => void;
} & {
memoize: typeof import('reselect').weakMapMemoize;
argsMemoize: typeof import('reselect').weakMapMemoize;
};