@duffel/components 3.1.3--prototype.3 → 3.1.3--prototype.6
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/{react-dist/custom-elements.js → custom-elements.js} +2 -2
- package/{react-dist/custom-elements.js.map → custom-elements.js.map} +1 -1
- package/{react-dist/index.js → index.js} +2 -2
- package/{react-dist/index.js.map → index.js.map} +1 -1
- package/package.json +3 -7
- package/scripts/generate-fixture.d.ts +3 -0
- package/scripts/setup-suggestion-data.d.ts +28 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/.circleci/config.yml +0 -67
- package/.eslintrc.js +0 -47
- package/.github/CODEOWNERS +0 -4
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -29
- package/.github/renovate.json +0 -12
- package/.nvmrc +0 -1
- package/.prettierignore +0 -6
- package/.storybook/main.ts +0 -33
- package/.storybook/preview.tsx +0 -28
- package/.tool-versions +0 -1
- package/.vscode/extensions.json +0 -7
- package/.vscode/settings.json +0 -10
- package/.yarn/releases/yarn-4.0.1.cjs +0 -893
- package/.yarn/sdks/eslint/bin/eslint.js +0 -20
- package/.yarn/sdks/eslint/lib/api.js +0 -20
- package/.yarn/sdks/eslint/lib/unsupported-api.js +0 -20
- package/.yarn/sdks/eslint/package.json +0 -14
- package/.yarn/sdks/integrations.yml +0 -5
- package/.yarn/sdks/prettier/bin-prettier.js +0 -20
- package/.yarn/sdks/prettier/index.js +0 -20
- package/.yarn/sdks/prettier/package.json +0 -7
- package/.yarn/sdks/typescript/bin/tsc +0 -20
- package/.yarn/sdks/typescript/bin/tsserver +0 -20
- package/.yarn/sdks/typescript/lib/tsc.js +0 -20
- package/.yarn/sdks/typescript/lib/tsserver.js +0 -225
- package/.yarn/sdks/typescript/lib/tsserverlibrary.js +0 -225
- package/.yarn/sdks/typescript/lib/typescript.js +0 -20
- package/.yarn/sdks/typescript/package.json +0 -10
- package/.yarnrc.yml +0 -3
- package/CONTRIBUTING.md +0 -83
- package/README.md +0 -68
- package/__mocks__/styleMock.js +0 -6
- package/babel.config.js +0 -20
- package/commitlint.config.js +0 -4
- package/config/esbuild.base.config.js +0 -18
- package/config/esbuild.cdn.config.js +0 -51
- package/config/esbuild.dev.config.js +0 -46
- package/config/esbuild.react.config.js +0 -42
- package/data/airports.csv +0 -9084
- package/data/cities.csv +0 -256
- package/jest.config.ts +0 -14
- package/scripts/build-and-publish.sh +0 -42
- package/scripts/generate-fixture.ts +0 -200
- package/scripts/setup-suggestion-data.ts +0 -100
- package/scripts/upload-to-cdn.sh +0 -34
- package/scripts.tsconfig.json +0 -11
- package/src/components/DuffelAncillaries/Card.tsx +0 -126
- package/src/components/DuffelAncillaries/Counter.tsx +0 -40
- package/src/components/DuffelAncillaries/DuffelAncillaries.tsx +0 -350
- package/src/components/DuffelAncillaries/DuffelAncillariesCustomElement.tsx +0 -124
- package/src/components/DuffelAncillaries/bags/BaggageSelectionCard.tsx +0 -101
- package/src/components/DuffelAncillaries/bags/BaggageSelectionController.tsx +0 -88
- package/src/components/DuffelAncillaries/bags/BaggageSelectionModal.tsx +0 -81
- package/src/components/DuffelAncillaries/bags/BaggageSelectionModalBody.tsx +0 -60
- package/src/components/DuffelAncillaries/bags/BaggageSelectionModalBodyPassenger.tsx +0 -122
- package/src/components/DuffelAncillaries/bags/BaggageSelectionModalFooter.tsx +0 -88
- package/src/components/DuffelAncillaries/bags/BaggageSelectionModalHeader.tsx +0 -82
- package/src/components/DuffelAncillaries/bags/IncludedBaggageBanner.tsx +0 -51
- package/src/components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionCard.tsx +0 -90
- package/src/components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModal.tsx +0 -63
- package/src/components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalBody.tsx +0 -56
- package/src/components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalBodyListItem.tsx +0 -11
- package/src/components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalFooter.tsx +0 -74
- package/src/components/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalHeader.tsx +0 -9
- package/src/components/DuffelAncillaries/seats/Amenity.tsx +0 -21
- package/src/components/DuffelAncillaries/seats/DeckSelect.tsx +0 -27
- package/src/components/DuffelAncillaries/seats/Element.tsx +0 -52
- package/src/components/DuffelAncillaries/seats/EmptyElement.tsx +0 -5
- package/src/components/DuffelAncillaries/seats/ExitElement.tsx +0 -17
- package/src/components/DuffelAncillaries/seats/Legend.tsx +0 -60
- package/src/components/DuffelAncillaries/seats/Row.tsx +0 -47
- package/src/components/DuffelAncillaries/seats/RowSection.tsx +0 -78
- package/src/components/DuffelAncillaries/seats/SeatElement.tsx +0 -120
- package/src/components/DuffelAncillaries/seats/SeatInfo.tsx +0 -32
- package/src/components/DuffelAncillaries/seats/SeatMap.tsx +0 -85
- package/src/components/DuffelAncillaries/seats/SeatMapUnavailable.tsx +0 -21
- package/src/components/DuffelAncillaries/seats/SeatSelectionCard.tsx +0 -103
- package/src/components/DuffelAncillaries/seats/SeatSelectionModal.tsx +0 -142
- package/src/components/DuffelAncillaries/seats/SeatSelectionModalBody.tsx +0 -13
- package/src/components/DuffelAncillaries/seats/SeatSelectionModalFooter.tsx +0 -89
- package/src/components/DuffelAncillaries/seats/SeatSelectionModalHeader.tsx +0 -97
- package/src/components/DuffelAncillaries/seats/SeatUnavailable.tsx +0 -14
- package/src/components/DuffelPayments/DuffelPayments.tsx +0 -224
- package/src/components/DuffelPayments/DuffelPaymentsCustomElement.tsx +0 -130
- package/src/components/PlacesLookup/PlacesLookup.tsx +0 -122
- package/src/components/shared/AnimatedLoaderEllipsis.tsx +0 -5
- package/src/components/shared/Button.tsx +0 -63
- package/src/components/shared/ErrorBoundary.tsx +0 -54
- package/src/components/shared/FetchOfferErrorState.tsx +0 -35
- package/src/components/shared/Icon.tsx +0 -151
- package/src/components/shared/IconButton.tsx +0 -42
- package/src/components/shared/Modal.tsx +0 -40
- package/src/components/shared/NonIdealState.tsx +0 -28
- package/src/components/shared/Stamp.tsx +0 -29
- package/src/components/shared/Tabs.tsx +0 -36
- package/src/custom-elements.ts +0 -13
- package/src/examples/client-side/README.md +0 -30
- package/src/examples/client-side/index.html +0 -57
- package/src/examples/full-stack/README.md +0 -34
- package/src/examples/full-stack/index.html +0 -48
- package/src/examples/full-stack/server.mjs +0 -158
- package/src/examples/just-typescript/.yarn/install-state.gz +0 -0
- package/src/examples/just-typescript/README.md +0 -37
- package/src/examples/just-typescript/package.json +0 -16
- package/src/examples/just-typescript/src/index.html +0 -23
- package/src/examples/just-typescript/src/index.ts +0 -36
- package/src/examples/just-typescript/yarn.lock +0 -467
- package/src/examples/next/README.md +0 -28
- package/src/examples/next/next-env.d.ts +0 -5
- package/src/examples/next/next.config.js +0 -4
- package/src/examples/next/package.json +0 -24
- package/src/examples/next/src/app/DuffelComponents.tsx +0 -40
- package/src/examples/next/src/app/layout.tsx +0 -18
- package/src/examples/next/src/app/page.tsx +0 -9
- package/src/examples/next/tsconfig.json +0 -27
- package/src/examples/next/yarn.lock +0 -257
- package/src/examples/payments-custom-element/README.md +0 -17
- package/src/examples/payments-custom-element/index.html +0 -43
- package/src/examples/payments-just-typescript/README.md +0 -37
- package/src/examples/payments-just-typescript/package.json +0 -16
- package/src/examples/payments-just-typescript/src/index.html +0 -23
- package/src/examples/payments-just-typescript/src/index.ts +0 -18
- package/src/examples/payments-just-typescript/yarn.lock +0 -154
- package/src/examples/react-app/README.md +0 -37
- package/src/examples/react-app/package.json +0 -20
- package/src/examples/react-app/src/index.html +0 -19
- package/src/examples/react-app/src/index.tsx +0 -48
- package/src/examples/react-app/yarn.lock +0 -219
- package/src/fixtures/offers/off_0000AUde3KwTztSRK1cznH.json +0 -497
- package/src/fixtures/offers/off_0000AVx4lUFFKW8PsPeQeQ.json +0 -307
- package/src/fixtures/offers/off_1.json +0 -488
- package/src/fixtures/passengers/mock_passengers.ts +0 -26
- package/src/fixtures/seat-maps/off_0000AUde3KwTztSRK1cznH.json +0 -6852
- package/src/fixtures/seat-maps/off_0000AVx4lUFFKW8PsPeQeQ.json +0 -1
- package/src/fixtures/seat-maps/off_1.json +0 -6852
- package/src/index.ts +0 -7
- package/src/lib/captureErrorInSentry.ts +0 -42
- package/src/lib/compileCreateOrderPayload.ts +0 -63
- package/src/lib/createPriceFormatters.ts +0 -73
- package/src/lib/fetchFromDuffelAPI.ts +0 -54
- package/src/lib/fetchFromFixtures.ts +0 -18
- package/src/lib/formatAvailableServices.ts +0 -91
- package/src/lib/formatDate.ts +0 -20
- package/src/lib/formatSeatMaps.ts +0 -81
- package/src/lib/getBaggageServiceDescription.ts +0 -39
- package/src/lib/getCabinsForSegmentAndDeck.ts +0 -4
- package/src/lib/getCurrencyForSeatMaps.ts +0 -22
- package/src/lib/getCurrencyForServices.ts +0 -24
- package/src/lib/getFirstSeatElementMatchingCriteria.ts +0 -22
- package/src/lib/getPassengerBySegmentList.ts +0 -10
- package/src/lib/getPassengerInitials.ts +0 -6
- package/src/lib/getPassengerMapById.ts +0 -17
- package/src/lib/getPassengerName.ts +0 -41
- package/src/lib/getRowNumber.ts +0 -16
- package/src/lib/getSegmentList.ts +0 -7
- package/src/lib/getServicePriceMapById.ts +0 -20
- package/src/lib/getSymbols.ts +0 -22
- package/src/lib/getTotalAmountForServices.ts +0 -72
- package/src/lib/getTotalQuantity.ts +0 -5
- package/src/lib/hasHighLuminance.ts +0 -9
- package/src/lib/hasService.ts +0 -24
- package/src/lib/hasServiceOfSameMetadataTypeAlreadyBeenSelected.ts +0 -35
- package/src/lib/hasWings.ts +0 -8
- package/src/lib/isBaggageService.ts +0 -8
- package/src/lib/isCancelForAnyReasonService.ts +0 -9
- package/src/lib/isFixtureOfferId.ts +0 -4
- package/src/lib/isPayloadComplete.ts +0 -11
- package/src/lib/isSeatElement.ts +0 -10
- package/src/lib/logging.ts +0 -120
- package/src/lib/moneyStringFormatter.ts +0 -34
- package/src/lib/offerIsExpired.ts +0 -5
- package/src/lib/retrieveOffer.ts +0 -56
- package/src/lib/retrieveOfferFromDuffelAPI.ts +0 -13
- package/src/lib/retrieveSeatMaps.ts +0 -55
- package/src/lib/retrieveSeatMapsFromDuffelAPI.ts +0 -13
- package/src/lib/setBodyScrollability.ts +0 -7
- package/src/lib/validateProps.ts +0 -37
- package/src/lib/withPlural.ts +0 -8
- package/src/stories/BaggageSelectionModalHeader.stories.tsx +0 -21
- package/src/stories/Button.stories.tsx +0 -91
- package/src/stories/DuffelAncillaries.stories.tsx +0 -166
- package/src/stories/DuffelPayments.stories.tsx +0 -34
- package/src/stories/Icon.stories.tsx +0 -35
- package/src/stories/IconButton.stories.tsx +0 -25
- package/src/stories/PlacesLookup.stories.tsx +0 -22
- package/src/styles/colors.css +0 -22
- package/src/styles/components/Amenity.css +0 -23
- package/src/styles/components/BaggageDisplay.css +0 -25
- package/src/styles/components/Button.css +0 -169
- package/src/styles/components/Card.css +0 -52
- package/src/styles/components/CfarSelectionModal.css +0 -34
- package/src/styles/components/Counter.css +0 -18
- package/src/styles/components/DuffelPayments.css +0 -42
- package/src/styles/components/IconButton.css +0 -63
- package/src/styles/components/Legend.css +0 -62
- package/src/styles/components/Loader.css +0 -37
- package/src/styles/components/LoadingState.css +0 -87
- package/src/styles/components/Modal.css +0 -84
- package/src/styles/components/PassengerSelect.css +0 -99
- package/src/styles/components/PassengersLayout.css +0 -90
- package/src/styles/components/PlacesLookup.css +0 -36
- package/src/styles/components/Row.css +0 -70
- package/src/styles/components/Seat.css +0 -59
- package/src/styles/components/SeatInfo.css +0 -61
- package/src/styles/components/SeatMap.css +0 -24
- package/src/styles/components/SeatSelect.css +0 -92
- package/src/styles/components/Segment.css +0 -17
- package/src/styles/components/SelectionSegment.css +0 -10
- package/src/styles/components/Summary.css +0 -70
- package/src/styles/components/Tabs.css +0 -52
- package/src/styles/flex.css +0 -5
- package/src/styles/font-families.css +0 -47
- package/src/styles/global.css +0 -52
- package/src/styles/margin.css +0 -3
- package/src/styles/spacing.css +0 -18
- package/src/styles/transitions.css +0 -3
- package/src/styles/typography.css +0 -13
- package/src/tests/components/DuffelAncillaries.test.tsx +0 -342
- package/src/tests/lib/createPriceFormatters.test.tsx +0 -152
- package/src/tests/lib/formatAvailableServices.test.tsx +0 -79
- package/src/tests/lib/formatSeatMaps.test.tsx +0 -49
- package/src/tests/lib/getCurrencyForServices.test.tsx +0 -44
- package/src/tests/lib/hasServiceOfSameMetadataTypeAlreadyBeenSelected.test.ts +0 -86
- package/src/tests/lib/logging.test.tsx +0 -32
- package/src/tests/lib/moneyStringFormatter.test.tsx +0 -12
- package/src/tests/lib/validateProps.test.tsx +0 -57
- package/src/types/Aircraft.ts +0 -16
- package/src/types/Airline.ts +0 -16
- package/src/types/Airport.ts +0 -54
- package/src/types/City.ts +0 -21
- package/src/types/CreateOrderPayload.ts +0 -99
- package/src/types/CurrencyConversion.ts +0 -10
- package/src/types/DuffelAncillariesProps.ts +0 -108
- package/src/types/Offer.ts +0 -851
- package/src/types/Order.ts +0 -6
- package/src/types/Place.ts +0 -6
- package/src/types/SeatMap.ts +0 -231
- package/src/types/index.ts +0 -11
- package/tsconfig.json +0 -58
- /package/{react-dist/components → components}/DuffelAncillaries/Card.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/Counter.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/DuffelAncillaries.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/DuffelAncillariesCustomElement.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/bags/BaggageSelectionCard.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/bags/BaggageSelectionController.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/bags/BaggageSelectionModal.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/bags/BaggageSelectionModalBody.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/bags/BaggageSelectionModalBodyPassenger.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/bags/BaggageSelectionModalFooter.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/bags/BaggageSelectionModalHeader.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/bags/IncludedBaggageBanner.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionCard.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModal.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalBody.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalBodyListItem.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalFooter.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalHeader.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/Amenity.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/DeckSelect.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/Element.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/EmptyElement.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/ExitElement.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/Legend.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/Row.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/RowSection.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/SeatElement.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/SeatInfo.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/SeatMap.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/SeatMapUnavailable.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/SeatSelectionCard.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/SeatSelectionModal.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/SeatSelectionModalBody.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/SeatSelectionModalFooter.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/SeatSelectionModalHeader.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelAncillaries/seats/SeatUnavailable.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelPayments/DuffelPayments.d.ts +0 -0
- /package/{react-dist/components → components}/DuffelPayments/DuffelPaymentsCustomElement.d.ts +0 -0
- /package/{react-dist/components → components}/PlacesLookup/PlacesLookup.d.ts +0 -0
- /package/{react-dist/components → components}/shared/AnimatedLoaderEllipsis.d.ts +0 -0
- /package/{react-dist/components → components}/shared/Button.d.ts +0 -0
- /package/{react-dist/components → components}/shared/ErrorBoundary.d.ts +0 -0
- /package/{react-dist/components → components}/shared/FetchOfferErrorState.d.ts +0 -0
- /package/{react-dist/components → components}/shared/Icon.d.ts +0 -0
- /package/{react-dist/components → components}/shared/IconButton.d.ts +0 -0
- /package/{react-dist/components → components}/shared/Modal.d.ts +0 -0
- /package/{react-dist/components → components}/shared/NonIdealState.d.ts +0 -0
- /package/{react-dist/components → components}/shared/Stamp.d.ts +0 -0
- /package/{react-dist/components → components}/shared/Tabs.d.ts +0 -0
- /package/{react-dist/custom-elements.d.ts → custom-elements.d.ts} +0 -0
- /package/{react-dist/index.d.ts → index.d.ts} +0 -0
- /package/{react-dist/lib → lib}/captureErrorInSentry.d.ts +0 -0
- /package/{react-dist/lib → lib}/compileCreateOrderPayload.d.ts +0 -0
- /package/{react-dist/lib → lib}/createPriceFormatters.d.ts +0 -0
- /package/{react-dist/lib → lib}/fetchFromDuffelAPI.d.ts +0 -0
- /package/{react-dist/lib → lib}/fetchFromFixtures.d.ts +0 -0
- /package/{react-dist/lib → lib}/formatAvailableServices.d.ts +0 -0
- /package/{react-dist/lib → lib}/formatDate.d.ts +0 -0
- /package/{react-dist/lib → lib}/formatSeatMaps.d.ts +0 -0
- /package/{react-dist/lib → lib}/getBaggageServiceDescription.d.ts +0 -0
- /package/{react-dist/lib → lib}/getCabinsForSegmentAndDeck.d.ts +0 -0
- /package/{react-dist/lib → lib}/getCurrencyForSeatMaps.d.ts +0 -0
- /package/{react-dist/lib → lib}/getCurrencyForServices.d.ts +0 -0
- /package/{react-dist/lib → lib}/getFirstSeatElementMatchingCriteria.d.ts +0 -0
- /package/{react-dist/lib → lib}/getPassengerBySegmentList.d.ts +0 -0
- /package/{react-dist/lib → lib}/getPassengerInitials.d.ts +0 -0
- /package/{react-dist/lib → lib}/getPassengerMapById.d.ts +0 -0
- /package/{react-dist/lib → lib}/getPassengerName.d.ts +0 -0
- /package/{react-dist/lib → lib}/getRowNumber.d.ts +0 -0
- /package/{react-dist/lib → lib}/getSegmentList.d.ts +0 -0
- /package/{react-dist/lib → lib}/getServicePriceMapById.d.ts +0 -0
- /package/{react-dist/lib → lib}/getSymbols.d.ts +0 -0
- /package/{react-dist/lib → lib}/getTotalAmountForServices.d.ts +0 -0
- /package/{react-dist/lib → lib}/getTotalQuantity.d.ts +0 -0
- /package/{react-dist/lib → lib}/hasHighLuminance.d.ts +0 -0
- /package/{react-dist/lib → lib}/hasService.d.ts +0 -0
- /package/{react-dist/lib → lib}/hasServiceOfSameMetadataTypeAlreadyBeenSelected.d.ts +0 -0
- /package/{react-dist/lib → lib}/hasWings.d.ts +0 -0
- /package/{react-dist/lib → lib}/isBaggageService.d.ts +0 -0
- /package/{react-dist/lib → lib}/isCancelForAnyReasonService.d.ts +0 -0
- /package/{react-dist/lib → lib}/isFixtureOfferId.d.ts +0 -0
- /package/{react-dist/lib → lib}/isPayloadComplete.d.ts +0 -0
- /package/{react-dist/lib → lib}/isSeatElement.d.ts +0 -0
- /package/{react-dist/lib → lib}/logging.d.ts +0 -0
- /package/{react-dist/lib → lib}/moneyStringFormatter.d.ts +0 -0
- /package/{react-dist/lib → lib}/offerIsExpired.d.ts +0 -0
- /package/{react-dist/lib → lib}/retrieveOffer.d.ts +0 -0
- /package/{react-dist/lib → lib}/retrieveOfferFromDuffelAPI.d.ts +0 -0
- /package/{react-dist/lib → lib}/retrieveSeatMaps.d.ts +0 -0
- /package/{react-dist/lib → lib}/retrieveSeatMapsFromDuffelAPI.d.ts +0 -0
- /package/{react-dist/lib → lib}/setBodyScrollability.d.ts +0 -0
- /package/{react-dist/lib → lib}/validateProps.d.ts +0 -0
- /package/{react-dist/lib → lib}/withPlural.d.ts +0 -0
- /package/{react-dist/types → types}/Aircraft.d.ts +0 -0
- /package/{react-dist/types → types}/Airline.d.ts +0 -0
- /package/{react-dist/types → types}/Airport.d.ts +0 -0
- /package/{react-dist/types → types}/City.d.ts +0 -0
- /package/{react-dist/types → types}/CreateOrderPayload.d.ts +0 -0
- /package/{react-dist/types → types}/CurrencyConversion.d.ts +0 -0
- /package/{react-dist/types → types}/DuffelAncillariesProps.d.ts +0 -0
- /package/{react-dist/types → types}/Offer.d.ts +0 -0
- /package/{react-dist/types → types}/Order.d.ts +0 -0
- /package/{react-dist/types → types}/Place.d.ts +0 -0
- /package/{react-dist/types → types}/SeatMap.d.ts +0 -0
- /package/{react-dist/types → types}/index.d.ts +0 -0
|
@@ -1,467 +0,0 @@
|
|
|
1
|
-
# This file is generated by running "yarn install" inside your project.
|
|
2
|
-
# Manual changes might be lost - proceed with caution!
|
|
3
|
-
|
|
4
|
-
__metadata:
|
|
5
|
-
version: 8
|
|
6
|
-
cacheKey: 10c0
|
|
7
|
-
|
|
8
|
-
"@duffel/components@npm:3.1.3--prototype.2":
|
|
9
|
-
version: 3.1.3--prototype.2
|
|
10
|
-
resolution: "@duffel/components@npm:3.1.3--prototype.2"
|
|
11
|
-
dependencies:
|
|
12
|
-
"@sentry/browser": "npm:7.77.0"
|
|
13
|
-
"@stripe/react-stripe-js": "npm:2.1.0"
|
|
14
|
-
"@stripe/stripe-js": "npm:1.54.0"
|
|
15
|
-
classnames: "npm:2.3.2"
|
|
16
|
-
fuse.js: "npm:6.6.2"
|
|
17
|
-
lodash: "npm:4.17.21"
|
|
18
|
-
react: "npm:18.2.0"
|
|
19
|
-
react-dom: "npm:18.2.0"
|
|
20
|
-
checksum: f7d7df016f1ca10ad4c62c852d3089364229579cbf1521668948505b150f583e18b17053769a7776e4fcbbdf70d05d0571163aeb9837ed42c4f691c36b6c5cef
|
|
21
|
-
languageName: node
|
|
22
|
-
linkType: hard
|
|
23
|
-
|
|
24
|
-
"@esbuild/android-arm64@npm:0.17.19":
|
|
25
|
-
version: 0.17.19
|
|
26
|
-
resolution: "@esbuild/android-arm64@npm:0.17.19"
|
|
27
|
-
conditions: os=android & cpu=arm64
|
|
28
|
-
languageName: node
|
|
29
|
-
linkType: hard
|
|
30
|
-
|
|
31
|
-
"@esbuild/android-arm@npm:0.17.19":
|
|
32
|
-
version: 0.17.19
|
|
33
|
-
resolution: "@esbuild/android-arm@npm:0.17.19"
|
|
34
|
-
conditions: os=android & cpu=arm
|
|
35
|
-
languageName: node
|
|
36
|
-
linkType: hard
|
|
37
|
-
|
|
38
|
-
"@esbuild/android-x64@npm:0.17.19":
|
|
39
|
-
version: 0.17.19
|
|
40
|
-
resolution: "@esbuild/android-x64@npm:0.17.19"
|
|
41
|
-
conditions: os=android & cpu=x64
|
|
42
|
-
languageName: node
|
|
43
|
-
linkType: hard
|
|
44
|
-
|
|
45
|
-
"@esbuild/darwin-arm64@npm:0.17.19":
|
|
46
|
-
version: 0.17.19
|
|
47
|
-
resolution: "@esbuild/darwin-arm64@npm:0.17.19"
|
|
48
|
-
conditions: os=darwin & cpu=arm64
|
|
49
|
-
languageName: node
|
|
50
|
-
linkType: hard
|
|
51
|
-
|
|
52
|
-
"@esbuild/darwin-x64@npm:0.17.19":
|
|
53
|
-
version: 0.17.19
|
|
54
|
-
resolution: "@esbuild/darwin-x64@npm:0.17.19"
|
|
55
|
-
conditions: os=darwin & cpu=x64
|
|
56
|
-
languageName: node
|
|
57
|
-
linkType: hard
|
|
58
|
-
|
|
59
|
-
"@esbuild/freebsd-arm64@npm:0.17.19":
|
|
60
|
-
version: 0.17.19
|
|
61
|
-
resolution: "@esbuild/freebsd-arm64@npm:0.17.19"
|
|
62
|
-
conditions: os=freebsd & cpu=arm64
|
|
63
|
-
languageName: node
|
|
64
|
-
linkType: hard
|
|
65
|
-
|
|
66
|
-
"@esbuild/freebsd-x64@npm:0.17.19":
|
|
67
|
-
version: 0.17.19
|
|
68
|
-
resolution: "@esbuild/freebsd-x64@npm:0.17.19"
|
|
69
|
-
conditions: os=freebsd & cpu=x64
|
|
70
|
-
languageName: node
|
|
71
|
-
linkType: hard
|
|
72
|
-
|
|
73
|
-
"@esbuild/linux-arm64@npm:0.17.19":
|
|
74
|
-
version: 0.17.19
|
|
75
|
-
resolution: "@esbuild/linux-arm64@npm:0.17.19"
|
|
76
|
-
conditions: os=linux & cpu=arm64
|
|
77
|
-
languageName: node
|
|
78
|
-
linkType: hard
|
|
79
|
-
|
|
80
|
-
"@esbuild/linux-arm@npm:0.17.19":
|
|
81
|
-
version: 0.17.19
|
|
82
|
-
resolution: "@esbuild/linux-arm@npm:0.17.19"
|
|
83
|
-
conditions: os=linux & cpu=arm
|
|
84
|
-
languageName: node
|
|
85
|
-
linkType: hard
|
|
86
|
-
|
|
87
|
-
"@esbuild/linux-ia32@npm:0.17.19":
|
|
88
|
-
version: 0.17.19
|
|
89
|
-
resolution: "@esbuild/linux-ia32@npm:0.17.19"
|
|
90
|
-
conditions: os=linux & cpu=ia32
|
|
91
|
-
languageName: node
|
|
92
|
-
linkType: hard
|
|
93
|
-
|
|
94
|
-
"@esbuild/linux-loong64@npm:0.17.19":
|
|
95
|
-
version: 0.17.19
|
|
96
|
-
resolution: "@esbuild/linux-loong64@npm:0.17.19"
|
|
97
|
-
conditions: os=linux & cpu=loong64
|
|
98
|
-
languageName: node
|
|
99
|
-
linkType: hard
|
|
100
|
-
|
|
101
|
-
"@esbuild/linux-mips64el@npm:0.17.19":
|
|
102
|
-
version: 0.17.19
|
|
103
|
-
resolution: "@esbuild/linux-mips64el@npm:0.17.19"
|
|
104
|
-
conditions: os=linux & cpu=mips64el
|
|
105
|
-
languageName: node
|
|
106
|
-
linkType: hard
|
|
107
|
-
|
|
108
|
-
"@esbuild/linux-ppc64@npm:0.17.19":
|
|
109
|
-
version: 0.17.19
|
|
110
|
-
resolution: "@esbuild/linux-ppc64@npm:0.17.19"
|
|
111
|
-
conditions: os=linux & cpu=ppc64
|
|
112
|
-
languageName: node
|
|
113
|
-
linkType: hard
|
|
114
|
-
|
|
115
|
-
"@esbuild/linux-riscv64@npm:0.17.19":
|
|
116
|
-
version: 0.17.19
|
|
117
|
-
resolution: "@esbuild/linux-riscv64@npm:0.17.19"
|
|
118
|
-
conditions: os=linux & cpu=riscv64
|
|
119
|
-
languageName: node
|
|
120
|
-
linkType: hard
|
|
121
|
-
|
|
122
|
-
"@esbuild/linux-s390x@npm:0.17.19":
|
|
123
|
-
version: 0.17.19
|
|
124
|
-
resolution: "@esbuild/linux-s390x@npm:0.17.19"
|
|
125
|
-
conditions: os=linux & cpu=s390x
|
|
126
|
-
languageName: node
|
|
127
|
-
linkType: hard
|
|
128
|
-
|
|
129
|
-
"@esbuild/linux-x64@npm:0.17.19":
|
|
130
|
-
version: 0.17.19
|
|
131
|
-
resolution: "@esbuild/linux-x64@npm:0.17.19"
|
|
132
|
-
conditions: os=linux & cpu=x64
|
|
133
|
-
languageName: node
|
|
134
|
-
linkType: hard
|
|
135
|
-
|
|
136
|
-
"@esbuild/netbsd-x64@npm:0.17.19":
|
|
137
|
-
version: 0.17.19
|
|
138
|
-
resolution: "@esbuild/netbsd-x64@npm:0.17.19"
|
|
139
|
-
conditions: os=netbsd & cpu=x64
|
|
140
|
-
languageName: node
|
|
141
|
-
linkType: hard
|
|
142
|
-
|
|
143
|
-
"@esbuild/openbsd-x64@npm:0.17.19":
|
|
144
|
-
version: 0.17.19
|
|
145
|
-
resolution: "@esbuild/openbsd-x64@npm:0.17.19"
|
|
146
|
-
conditions: os=openbsd & cpu=x64
|
|
147
|
-
languageName: node
|
|
148
|
-
linkType: hard
|
|
149
|
-
|
|
150
|
-
"@esbuild/sunos-x64@npm:0.17.19":
|
|
151
|
-
version: 0.17.19
|
|
152
|
-
resolution: "@esbuild/sunos-x64@npm:0.17.19"
|
|
153
|
-
conditions: os=sunos & cpu=x64
|
|
154
|
-
languageName: node
|
|
155
|
-
linkType: hard
|
|
156
|
-
|
|
157
|
-
"@esbuild/win32-arm64@npm:0.17.19":
|
|
158
|
-
version: 0.17.19
|
|
159
|
-
resolution: "@esbuild/win32-arm64@npm:0.17.19"
|
|
160
|
-
conditions: os=win32 & cpu=arm64
|
|
161
|
-
languageName: node
|
|
162
|
-
linkType: hard
|
|
163
|
-
|
|
164
|
-
"@esbuild/win32-ia32@npm:0.17.19":
|
|
165
|
-
version: 0.17.19
|
|
166
|
-
resolution: "@esbuild/win32-ia32@npm:0.17.19"
|
|
167
|
-
conditions: os=win32 & cpu=ia32
|
|
168
|
-
languageName: node
|
|
169
|
-
linkType: hard
|
|
170
|
-
|
|
171
|
-
"@esbuild/win32-x64@npm:0.17.19":
|
|
172
|
-
version: 0.17.19
|
|
173
|
-
resolution: "@esbuild/win32-x64@npm:0.17.19"
|
|
174
|
-
conditions: os=win32 & cpu=x64
|
|
175
|
-
languageName: node
|
|
176
|
-
linkType: hard
|
|
177
|
-
|
|
178
|
-
"@sentry-internal/tracing@npm:7.77.0":
|
|
179
|
-
version: 7.77.0
|
|
180
|
-
resolution: "@sentry-internal/tracing@npm:7.77.0"
|
|
181
|
-
dependencies:
|
|
182
|
-
"@sentry/core": "npm:7.77.0"
|
|
183
|
-
"@sentry/types": "npm:7.77.0"
|
|
184
|
-
"@sentry/utils": "npm:7.77.0"
|
|
185
|
-
checksum: 9cb934de672436402c2b32bcf586a318dedf85a2039d5728f364cbdc7d33fdb6d277aa20257614d24666c1b78aacbd8416aa4689ea1596751a0d398dde77f443
|
|
186
|
-
languageName: node
|
|
187
|
-
linkType: hard
|
|
188
|
-
|
|
189
|
-
"@sentry/browser@npm:7.77.0":
|
|
190
|
-
version: 7.77.0
|
|
191
|
-
resolution: "@sentry/browser@npm:7.77.0"
|
|
192
|
-
dependencies:
|
|
193
|
-
"@sentry-internal/tracing": "npm:7.77.0"
|
|
194
|
-
"@sentry/core": "npm:7.77.0"
|
|
195
|
-
"@sentry/replay": "npm:7.77.0"
|
|
196
|
-
"@sentry/types": "npm:7.77.0"
|
|
197
|
-
"@sentry/utils": "npm:7.77.0"
|
|
198
|
-
checksum: 86f1e675690b47554242d9a19687e78444a5bf554d477d10c86058e695bab970b49a3aa5414b74c7377d9485039f55811ba72a576988a793aaf629fd7027fa88
|
|
199
|
-
languageName: node
|
|
200
|
-
linkType: hard
|
|
201
|
-
|
|
202
|
-
"@sentry/core@npm:7.77.0":
|
|
203
|
-
version: 7.77.0
|
|
204
|
-
resolution: "@sentry/core@npm:7.77.0"
|
|
205
|
-
dependencies:
|
|
206
|
-
"@sentry/types": "npm:7.77.0"
|
|
207
|
-
"@sentry/utils": "npm:7.77.0"
|
|
208
|
-
checksum: 59c468ef1cf9f035bb302bcc89f509916d0b19550cac296da83f526c0c779d53dbc5a0eb1c363d2e6ce46d2356c898d4fdecc8956e5c5c7d8dadb3470dbd5147
|
|
209
|
-
languageName: node
|
|
210
|
-
linkType: hard
|
|
211
|
-
|
|
212
|
-
"@sentry/replay@npm:7.77.0":
|
|
213
|
-
version: 7.77.0
|
|
214
|
-
resolution: "@sentry/replay@npm:7.77.0"
|
|
215
|
-
dependencies:
|
|
216
|
-
"@sentry-internal/tracing": "npm:7.77.0"
|
|
217
|
-
"@sentry/core": "npm:7.77.0"
|
|
218
|
-
"@sentry/types": "npm:7.77.0"
|
|
219
|
-
"@sentry/utils": "npm:7.77.0"
|
|
220
|
-
checksum: 8ad22c824dbc6ecc0adda85ae9039524c258d10b124f70661d2f233abf6bf370070e6dddbd694f6d0283bc980e491dd811c4dd40b0c144d8bd4db9e4c6d4848e
|
|
221
|
-
languageName: node
|
|
222
|
-
linkType: hard
|
|
223
|
-
|
|
224
|
-
"@sentry/types@npm:7.77.0":
|
|
225
|
-
version: 7.77.0
|
|
226
|
-
resolution: "@sentry/types@npm:7.77.0"
|
|
227
|
-
checksum: 004a914efdcc3f15a23187340895dfb5aa6add6903f159ea3bab7f5e594967123c4921de1365bfa1e1c75ee6ece36f6b0b5e9b9756c0c1ed931bbf51274b653c
|
|
228
|
-
languageName: node
|
|
229
|
-
linkType: hard
|
|
230
|
-
|
|
231
|
-
"@sentry/utils@npm:7.77.0":
|
|
232
|
-
version: 7.77.0
|
|
233
|
-
resolution: "@sentry/utils@npm:7.77.0"
|
|
234
|
-
dependencies:
|
|
235
|
-
"@sentry/types": "npm:7.77.0"
|
|
236
|
-
checksum: 958a60c85584321ab9c52add6c17774334605731f78a60544b0de0dfa5180610d30659adb211d6b6d6b06ca191bc13085da1919a8223f428b2e952515a5b7e4b
|
|
237
|
-
languageName: node
|
|
238
|
-
linkType: hard
|
|
239
|
-
|
|
240
|
-
"@stripe/react-stripe-js@npm:2.1.0":
|
|
241
|
-
version: 2.1.0
|
|
242
|
-
resolution: "@stripe/react-stripe-js@npm:2.1.0"
|
|
243
|
-
dependencies:
|
|
244
|
-
prop-types: "npm:^15.7.2"
|
|
245
|
-
peerDependencies:
|
|
246
|
-
"@stripe/stripe-js": ^1.44.1
|
|
247
|
-
react: ^16.8.0 || ^17.0.0 || ^18.0.0
|
|
248
|
-
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
|
|
249
|
-
checksum: af254114d2d5df0c3b86e165cf9fa0e55dac864e5ac914343a4bf22b14ee4c7e2c79f7403ef188ddb58caac298f80889603795b2a549dd4ca303e0f71a193b16
|
|
250
|
-
languageName: node
|
|
251
|
-
linkType: hard
|
|
252
|
-
|
|
253
|
-
"@stripe/stripe-js@npm:1.54.0":
|
|
254
|
-
version: 1.54.0
|
|
255
|
-
resolution: "@stripe/stripe-js@npm:1.54.0"
|
|
256
|
-
checksum: c11e7369ea9dbcf45958af2067a0f6e132451e7eb2be869134e513b046db4864469bd153a577e0dac8916c9fef01f13223f972178f8e1453f338dc0c0b7485cf
|
|
257
|
-
languageName: node
|
|
258
|
-
linkType: hard
|
|
259
|
-
|
|
260
|
-
"@types/node@npm:20.2.5":
|
|
261
|
-
version: 20.2.5
|
|
262
|
-
resolution: "@types/node@npm:20.2.5"
|
|
263
|
-
checksum: 1c3db8a4ceb5e5d12e7cb140e37c14a16ce013084c6d65579b91cefbe0ecaca57d85093d968172b11c3d1d95bcbc5d972b08aa3dc3935206fb39bc6c10751102
|
|
264
|
-
languageName: node
|
|
265
|
-
linkType: hard
|
|
266
|
-
|
|
267
|
-
"classnames@npm:2.3.2":
|
|
268
|
-
version: 2.3.2
|
|
269
|
-
resolution: "classnames@npm:2.3.2"
|
|
270
|
-
checksum: cd50ead57b4f97436aaa9f9885c6926323efc7c2bea8e3d4eb10e4e972aa6a1cfca1c7a0e06f8a199ca7498d4339e30bb6002e589e61c9f21248cbf3e8b0b18d
|
|
271
|
-
languageName: node
|
|
272
|
-
linkType: hard
|
|
273
|
-
|
|
274
|
-
"esbuild@npm:^0.17.19":
|
|
275
|
-
version: 0.17.19
|
|
276
|
-
resolution: "esbuild@npm:0.17.19"
|
|
277
|
-
dependencies:
|
|
278
|
-
"@esbuild/android-arm": "npm:0.17.19"
|
|
279
|
-
"@esbuild/android-arm64": "npm:0.17.19"
|
|
280
|
-
"@esbuild/android-x64": "npm:0.17.19"
|
|
281
|
-
"@esbuild/darwin-arm64": "npm:0.17.19"
|
|
282
|
-
"@esbuild/darwin-x64": "npm:0.17.19"
|
|
283
|
-
"@esbuild/freebsd-arm64": "npm:0.17.19"
|
|
284
|
-
"@esbuild/freebsd-x64": "npm:0.17.19"
|
|
285
|
-
"@esbuild/linux-arm": "npm:0.17.19"
|
|
286
|
-
"@esbuild/linux-arm64": "npm:0.17.19"
|
|
287
|
-
"@esbuild/linux-ia32": "npm:0.17.19"
|
|
288
|
-
"@esbuild/linux-loong64": "npm:0.17.19"
|
|
289
|
-
"@esbuild/linux-mips64el": "npm:0.17.19"
|
|
290
|
-
"@esbuild/linux-ppc64": "npm:0.17.19"
|
|
291
|
-
"@esbuild/linux-riscv64": "npm:0.17.19"
|
|
292
|
-
"@esbuild/linux-s390x": "npm:0.17.19"
|
|
293
|
-
"@esbuild/linux-x64": "npm:0.17.19"
|
|
294
|
-
"@esbuild/netbsd-x64": "npm:0.17.19"
|
|
295
|
-
"@esbuild/openbsd-x64": "npm:0.17.19"
|
|
296
|
-
"@esbuild/sunos-x64": "npm:0.17.19"
|
|
297
|
-
"@esbuild/win32-arm64": "npm:0.17.19"
|
|
298
|
-
"@esbuild/win32-ia32": "npm:0.17.19"
|
|
299
|
-
"@esbuild/win32-x64": "npm:0.17.19"
|
|
300
|
-
dependenciesMeta:
|
|
301
|
-
"@esbuild/android-arm":
|
|
302
|
-
optional: true
|
|
303
|
-
"@esbuild/android-arm64":
|
|
304
|
-
optional: true
|
|
305
|
-
"@esbuild/android-x64":
|
|
306
|
-
optional: true
|
|
307
|
-
"@esbuild/darwin-arm64":
|
|
308
|
-
optional: true
|
|
309
|
-
"@esbuild/darwin-x64":
|
|
310
|
-
optional: true
|
|
311
|
-
"@esbuild/freebsd-arm64":
|
|
312
|
-
optional: true
|
|
313
|
-
"@esbuild/freebsd-x64":
|
|
314
|
-
optional: true
|
|
315
|
-
"@esbuild/linux-arm":
|
|
316
|
-
optional: true
|
|
317
|
-
"@esbuild/linux-arm64":
|
|
318
|
-
optional: true
|
|
319
|
-
"@esbuild/linux-ia32":
|
|
320
|
-
optional: true
|
|
321
|
-
"@esbuild/linux-loong64":
|
|
322
|
-
optional: true
|
|
323
|
-
"@esbuild/linux-mips64el":
|
|
324
|
-
optional: true
|
|
325
|
-
"@esbuild/linux-ppc64":
|
|
326
|
-
optional: true
|
|
327
|
-
"@esbuild/linux-riscv64":
|
|
328
|
-
optional: true
|
|
329
|
-
"@esbuild/linux-s390x":
|
|
330
|
-
optional: true
|
|
331
|
-
"@esbuild/linux-x64":
|
|
332
|
-
optional: true
|
|
333
|
-
"@esbuild/netbsd-x64":
|
|
334
|
-
optional: true
|
|
335
|
-
"@esbuild/openbsd-x64":
|
|
336
|
-
optional: true
|
|
337
|
-
"@esbuild/sunos-x64":
|
|
338
|
-
optional: true
|
|
339
|
-
"@esbuild/win32-arm64":
|
|
340
|
-
optional: true
|
|
341
|
-
"@esbuild/win32-ia32":
|
|
342
|
-
optional: true
|
|
343
|
-
"@esbuild/win32-x64":
|
|
344
|
-
optional: true
|
|
345
|
-
bin:
|
|
346
|
-
esbuild: bin/esbuild
|
|
347
|
-
checksum: c7ac14bfaaebe4745d5d18347b4f6854fd1140acb9389e88dbfa5c20d4e2122451d9647d5498920470a880a605d6e5502b5c2102da6c282b01f129ddd49d2874
|
|
348
|
-
languageName: node
|
|
349
|
-
linkType: hard
|
|
350
|
-
|
|
351
|
-
"fuse.js@npm:6.6.2":
|
|
352
|
-
version: 6.6.2
|
|
353
|
-
resolution: "fuse.js@npm:6.6.2"
|
|
354
|
-
checksum: c2fe4f234f516e9ea83b06f06f8f3c8b7117f51aa75bbccd052eed0c0423364bf1e360ffbf29cadae8ef6aa39476b7961eaf9d07bed779cea5c83d62b34e2df9
|
|
355
|
-
languageName: node
|
|
356
|
-
linkType: hard
|
|
357
|
-
|
|
358
|
-
"js-tokens@npm:^3.0.0 || ^4.0.0":
|
|
359
|
-
version: 4.0.0
|
|
360
|
-
resolution: "js-tokens@npm:4.0.0"
|
|
361
|
-
checksum: e248708d377aa058eacf2037b07ded847790e6de892bbad3dac0abba2e759cb9f121b00099a65195616badcb6eca8d14d975cb3e89eb1cfda644756402c8aeed
|
|
362
|
-
languageName: node
|
|
363
|
-
linkType: hard
|
|
364
|
-
|
|
365
|
-
"just-typescript@workspace:.":
|
|
366
|
-
version: 0.0.0-use.local
|
|
367
|
-
resolution: "just-typescript@workspace:."
|
|
368
|
-
dependencies:
|
|
369
|
-
"@duffel/components": "npm:3.1.3--prototype.2"
|
|
370
|
-
"@types/node": "npm:20.2.5"
|
|
371
|
-
esbuild: "npm:^0.17.19"
|
|
372
|
-
typescript: "npm:5.0.4"
|
|
373
|
-
languageName: unknown
|
|
374
|
-
linkType: soft
|
|
375
|
-
|
|
376
|
-
"lodash@npm:4.17.21":
|
|
377
|
-
version: 4.17.21
|
|
378
|
-
resolution: "lodash@npm:4.17.21"
|
|
379
|
-
checksum: d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c
|
|
380
|
-
languageName: node
|
|
381
|
-
linkType: hard
|
|
382
|
-
|
|
383
|
-
"loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0":
|
|
384
|
-
version: 1.4.0
|
|
385
|
-
resolution: "loose-envify@npm:1.4.0"
|
|
386
|
-
dependencies:
|
|
387
|
-
js-tokens: "npm:^3.0.0 || ^4.0.0"
|
|
388
|
-
bin:
|
|
389
|
-
loose-envify: cli.js
|
|
390
|
-
checksum: 655d110220983c1a4b9c0c679a2e8016d4b67f6e9c7b5435ff5979ecdb20d0813f4dec0a08674fcbdd4846a3f07edbb50a36811fd37930b94aaa0d9daceb017e
|
|
391
|
-
languageName: node
|
|
392
|
-
linkType: hard
|
|
393
|
-
|
|
394
|
-
"object-assign@npm:^4.1.1":
|
|
395
|
-
version: 4.1.1
|
|
396
|
-
resolution: "object-assign@npm:4.1.1"
|
|
397
|
-
checksum: 1f4df9945120325d041ccf7b86f31e8bcc14e73d29171e37a7903050e96b81323784ec59f93f102ec635bcf6fa8034ba3ea0a8c7e69fa202b87ae3b6cec5a414
|
|
398
|
-
languageName: node
|
|
399
|
-
linkType: hard
|
|
400
|
-
|
|
401
|
-
"prop-types@npm:^15.7.2":
|
|
402
|
-
version: 15.8.1
|
|
403
|
-
resolution: "prop-types@npm:15.8.1"
|
|
404
|
-
dependencies:
|
|
405
|
-
loose-envify: "npm:^1.4.0"
|
|
406
|
-
object-assign: "npm:^4.1.1"
|
|
407
|
-
react-is: "npm:^16.13.1"
|
|
408
|
-
checksum: 59ece7ca2fb9838031d73a48d4becb9a7cc1ed10e610517c7d8f19a1e02fa47f7c27d557d8a5702bec3cfeccddc853579832b43f449e54635803f277b1c78077
|
|
409
|
-
languageName: node
|
|
410
|
-
linkType: hard
|
|
411
|
-
|
|
412
|
-
"react-dom@npm:18.2.0":
|
|
413
|
-
version: 18.2.0
|
|
414
|
-
resolution: "react-dom@npm:18.2.0"
|
|
415
|
-
dependencies:
|
|
416
|
-
loose-envify: "npm:^1.1.0"
|
|
417
|
-
scheduler: "npm:^0.23.0"
|
|
418
|
-
peerDependencies:
|
|
419
|
-
react: ^18.2.0
|
|
420
|
-
checksum: 66dfc5f93e13d0674e78ef41f92ed21dfb80f9c4ac4ac25a4b51046d41d4d2186abc915b897f69d3d0ebbffe6184e7c5876f2af26bfa956f179225d921be713a
|
|
421
|
-
languageName: node
|
|
422
|
-
linkType: hard
|
|
423
|
-
|
|
424
|
-
"react-is@npm:^16.13.1":
|
|
425
|
-
version: 16.13.1
|
|
426
|
-
resolution: "react-is@npm:16.13.1"
|
|
427
|
-
checksum: 33977da7a5f1a287936a0c85639fec6ca74f4f15ef1e59a6bc20338fc73dc69555381e211f7a3529b8150a1f71e4225525b41b60b52965bda53ce7d47377ada1
|
|
428
|
-
languageName: node
|
|
429
|
-
linkType: hard
|
|
430
|
-
|
|
431
|
-
"react@npm:18.2.0":
|
|
432
|
-
version: 18.2.0
|
|
433
|
-
resolution: "react@npm:18.2.0"
|
|
434
|
-
dependencies:
|
|
435
|
-
loose-envify: "npm:^1.1.0"
|
|
436
|
-
checksum: b562d9b569b0cb315e44b48099f7712283d93df36b19a39a67c254c6686479d3980b7f013dc931f4a5a3ae7645eae6386b4aa5eea933baa54ecd0f9acb0902b8
|
|
437
|
-
languageName: node
|
|
438
|
-
linkType: hard
|
|
439
|
-
|
|
440
|
-
"scheduler@npm:^0.23.0":
|
|
441
|
-
version: 0.23.0
|
|
442
|
-
resolution: "scheduler@npm:0.23.0"
|
|
443
|
-
dependencies:
|
|
444
|
-
loose-envify: "npm:^1.1.0"
|
|
445
|
-
checksum: b777f7ca0115e6d93e126ac490dbd82642d14983b3079f58f35519d992fa46260be7d6e6cede433a92db70306310c6f5f06e144f0e40c484199e09c1f7be53dd
|
|
446
|
-
languageName: node
|
|
447
|
-
linkType: hard
|
|
448
|
-
|
|
449
|
-
"typescript@npm:5.0.4":
|
|
450
|
-
version: 5.0.4
|
|
451
|
-
resolution: "typescript@npm:5.0.4"
|
|
452
|
-
bin:
|
|
453
|
-
tsc: bin/tsc
|
|
454
|
-
tsserver: bin/tsserver
|
|
455
|
-
checksum: 2f5bd1cead194905957cb34e220b1d6ff1662399adef8ec1864f74620922d860ee35b6e50eafb3b636ea6fd437195e454e1146cb630a4236b5095ed7617395c2
|
|
456
|
-
languageName: node
|
|
457
|
-
linkType: hard
|
|
458
|
-
|
|
459
|
-
"typescript@patch:typescript@npm%3A5.0.4#optional!builtin<compat/typescript>":
|
|
460
|
-
version: 5.0.4
|
|
461
|
-
resolution: "typescript@patch:typescript@npm%3A5.0.4#optional!builtin<compat/typescript>::version=5.0.4&hash=b5f058"
|
|
462
|
-
bin:
|
|
463
|
-
tsc: bin/tsc
|
|
464
|
-
tsserver: bin/tsserver
|
|
465
|
-
checksum: c3f7b80577bddf6fab202a7925131ac733bfc414aec298c2404afcddc7a6f242cfa8395cf2d48192265052e11a7577c27f6e5fac8d8fe6a6602023c83d6b3292
|
|
466
|
-
languageName: node
|
|
467
|
-
linkType: hard
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
|
|
2
|
-
|
|
3
|
-
## Getting Started
|
|
4
|
-
|
|
5
|
-
First, run the development server:
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm run dev
|
|
9
|
-
# or
|
|
10
|
-
yarn dev
|
|
11
|
-
# or
|
|
12
|
-
pnpm dev
|
|
13
|
-
# or
|
|
14
|
-
bun dev
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
|
18
|
-
|
|
19
|
-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
|
20
|
-
|
|
21
|
-
## Learn More
|
|
22
|
-
|
|
23
|
-
To learn more about Next.js, take a look at the following resources:
|
|
24
|
-
|
|
25
|
-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
|
26
|
-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
|
27
|
-
|
|
28
|
-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "my-app",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"dev": "next dev",
|
|
7
|
-
"build": "next build",
|
|
8
|
-
"start": "next start",
|
|
9
|
-
"lint": "next lint"
|
|
10
|
-
},
|
|
11
|
-
"dependencies": {
|
|
12
|
-
"duffel-components": "../../../../duffel-components/react-dist",
|
|
13
|
-
"next": "13.5.6",
|
|
14
|
-
"react": "^18",
|
|
15
|
-
"react-dom": "^18"
|
|
16
|
-
},
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@types/node": "~18",
|
|
19
|
-
"@types/react": "^18",
|
|
20
|
-
"@types/react-dom": "^18",
|
|
21
|
-
"next-transpile-modules": "^10.0.1",
|
|
22
|
-
"typescript": "^5"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
|
-
import { DuffelAncillaries, DuffelPayments } from "duffel-components";
|
|
4
|
-
|
|
5
|
-
export const DuffelComponents = () => (
|
|
6
|
-
<>
|
|
7
|
-
<DuffelAncillaries
|
|
8
|
-
debug={true}
|
|
9
|
-
offer_id="fixture_off_1"
|
|
10
|
-
services={["bags", "seats"]}
|
|
11
|
-
passengers={[
|
|
12
|
-
{
|
|
13
|
-
id: "pas_0000AUde3KY1SptM6ABSfU",
|
|
14
|
-
given_name: "Mae",
|
|
15
|
-
family_name: "Jemison",
|
|
16
|
-
gender: "F",
|
|
17
|
-
title: "dr",
|
|
18
|
-
born_on: "1956-10-17",
|
|
19
|
-
email: "m.jemison@nasa.gov",
|
|
20
|
-
phone_number: "+16177562626",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
id: "pas_0000AUde3KY1SptM6ABSfT",
|
|
24
|
-
given_name: "Dorothy",
|
|
25
|
-
family_name: "Green",
|
|
26
|
-
gender: "F",
|
|
27
|
-
title: "dr",
|
|
28
|
-
born_on: "1942-10-17",
|
|
29
|
-
},
|
|
30
|
-
]}
|
|
31
|
-
onPayloadReady={console.log}
|
|
32
|
-
/>
|
|
33
|
-
|
|
34
|
-
<DuffelPayments
|
|
35
|
-
paymentIntentClientToken="eyJjbGllbnRfc2VjcmV0IjoicGlfM0psczlVQWcySmhFeTh2WTBSTm1MU0JkX3NlY3JldF9QUW9yZXNuU3laeWJadGRiejZwNzBCbUdPIiwicHVibGlzaGFibGVfa2V5IjoicGtfdGVzdF9EQUJLY0E2Vzh6OTc0cTdPSWY0YmJ2MVQwMEpwRmMyOUpWIn0="
|
|
36
|
-
onSuccessfulPayment={console.log}
|
|
37
|
-
onFailedPayment={console.log}
|
|
38
|
-
/>
|
|
39
|
-
</>
|
|
40
|
-
);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Metadata } from "next";
|
|
2
|
-
|
|
3
|
-
export const metadata: Metadata = {
|
|
4
|
-
title: "Create Next App",
|
|
5
|
-
description: "Generated by create next app",
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export default function RootLayout({
|
|
9
|
-
children,
|
|
10
|
-
}: {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
}) {
|
|
13
|
-
return (
|
|
14
|
-
<html lang="en">
|
|
15
|
-
<body>{children}</body>
|
|
16
|
-
</html>
|
|
17
|
-
);
|
|
18
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es5",
|
|
4
|
-
"lib": ["dom", "dom.iterable", "esnext"],
|
|
5
|
-
"allowJs": true,
|
|
6
|
-
"skipLibCheck": true,
|
|
7
|
-
"strict": true,
|
|
8
|
-
"noEmit": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"module": "esnext",
|
|
11
|
-
"moduleResolution": "node",
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"isolatedModules": true,
|
|
14
|
-
"jsx": "preserve",
|
|
15
|
-
"incremental": true,
|
|
16
|
-
"plugins": [
|
|
17
|
-
{
|
|
18
|
-
"name": "next"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"paths": {
|
|
22
|
-
"@/*": ["./src/*"]
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
|
26
|
-
"exclude": ["node_modules"]
|
|
27
|
-
}
|