@duffel/components 3.1.3--prototype.2 → 3.1.3--prototype.3
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/package.json +1 -1
- package/src/examples/just-typescript/.yarn/install-state.gz +0 -0
- package/src/examples/just-typescript/package.json +1 -1
- package/src/examples/just-typescript/src/index.ts +1 -1
- package/src/examples/just-typescript/yarn.lock +17 -17
- package/react-dist/scripts/generate-fixture.d.ts +0 -3
- package/react-dist/scripts/setup-suggestion-data.d.ts +0 -28
- /package/react-dist/{src/components → components}/DuffelAncillaries/Card.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/Counter.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/DuffelAncillaries.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/DuffelAncillariesCustomElement.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/bags/BaggageSelectionCard.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/bags/BaggageSelectionController.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/bags/BaggageSelectionModal.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/bags/BaggageSelectionModalBody.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/bags/BaggageSelectionModalBodyPassenger.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/bags/BaggageSelectionModalFooter.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/bags/BaggageSelectionModalHeader.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/bags/IncludedBaggageBanner.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionCard.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModal.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalBody.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalBodyListItem.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalFooter.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/cancel_for_any_reason/CfarSelectionModalHeader.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/Amenity.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/DeckSelect.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/Element.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/EmptyElement.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/ExitElement.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/Legend.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/Row.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/RowSection.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatElement.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatInfo.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatMap.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatMapUnavailable.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatSelectionCard.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatSelectionModal.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatSelectionModalBody.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatSelectionModalFooter.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatSelectionModalHeader.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatUnavailable.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelPayments/DuffelPayments.d.ts +0 -0
- /package/react-dist/{src/components → components}/DuffelPayments/DuffelPaymentsCustomElement.d.ts +0 -0
- /package/react-dist/{src/components → components}/PlacesLookup/PlacesLookup.d.ts +0 -0
- /package/react-dist/{src/components → components}/shared/AnimatedLoaderEllipsis.d.ts +0 -0
- /package/react-dist/{src/components → components}/shared/Button.d.ts +0 -0
- /package/react-dist/{src/components → components}/shared/ErrorBoundary.d.ts +0 -0
- /package/react-dist/{src/components → components}/shared/FetchOfferErrorState.d.ts +0 -0
- /package/react-dist/{src/components → components}/shared/Icon.d.ts +0 -0
- /package/react-dist/{src/components → components}/shared/IconButton.d.ts +0 -0
- /package/react-dist/{src/components → components}/shared/Modal.d.ts +0 -0
- /package/react-dist/{src/components → components}/shared/NonIdealState.d.ts +0 -0
- /package/react-dist/{src/components → components}/shared/Stamp.d.ts +0 -0
- /package/react-dist/{src/components → components}/shared/Tabs.d.ts +0 -0
- /package/react-dist/{src/custom-elements.d.ts → custom-elements.d.ts} +0 -0
- /package/react-dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/react-dist/{src/lib → lib}/captureErrorInSentry.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/compileCreateOrderPayload.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/createPriceFormatters.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/fetchFromDuffelAPI.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/fetchFromFixtures.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/formatAvailableServices.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/formatDate.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/formatSeatMaps.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getBaggageServiceDescription.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getCabinsForSegmentAndDeck.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getCurrencyForSeatMaps.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getCurrencyForServices.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getFirstSeatElementMatchingCriteria.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getPassengerBySegmentList.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getPassengerInitials.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getPassengerMapById.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getPassengerName.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getRowNumber.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getSegmentList.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getServicePriceMapById.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getSymbols.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getTotalAmountForServices.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/getTotalQuantity.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/hasHighLuminance.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/hasService.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/hasServiceOfSameMetadataTypeAlreadyBeenSelected.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/hasWings.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/isBaggageService.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/isCancelForAnyReasonService.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/isFixtureOfferId.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/isPayloadComplete.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/isSeatElement.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/logging.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/moneyStringFormatter.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/offerIsExpired.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/retrieveOffer.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/retrieveOfferFromDuffelAPI.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/retrieveSeatMaps.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/retrieveSeatMapsFromDuffelAPI.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/setBodyScrollability.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/validateProps.d.ts +0 -0
- /package/react-dist/{src/lib → lib}/withPlural.d.ts +0 -0
- /package/react-dist/{src/types → types}/Aircraft.d.ts +0 -0
- /package/react-dist/{src/types → types}/Airline.d.ts +0 -0
- /package/react-dist/{src/types → types}/Airport.d.ts +0 -0
- /package/react-dist/{src/types → types}/City.d.ts +0 -0
- /package/react-dist/{src/types → types}/CreateOrderPayload.d.ts +0 -0
- /package/react-dist/{src/types → types}/CurrencyConversion.d.ts +0 -0
- /package/react-dist/{src/types → types}/DuffelAncillariesProps.d.ts +0 -0
- /package/react-dist/{src/types → types}/Offer.d.ts +0 -0
- /package/react-dist/{src/types → types}/Order.d.ts +0 -0
- /package/react-dist/{src/types → types}/Place.d.ts +0 -0
- /package/react-dist/{src/types → types}/SeatMap.d.ts +0 -0
- /package/react-dist/{src/types → types}/index.d.ts +0 -0
package/package.json
CHANGED
|
Binary file
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
"build": "esbuild src/index.ts --bundle --outfile=dist/index.js"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
+
"@duffel/components": "3.1.3--prototype.2",
|
|
9
10
|
"@types/node": "20.2.5",
|
|
10
|
-
"duffel-components": "../../../../duffel-components",
|
|
11
11
|
"typescript": "5.0.4"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
@@ -5,6 +5,22 @@ __metadata:
|
|
|
5
5
|
version: 8
|
|
6
6
|
cacheKey: 10c0
|
|
7
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
|
+
|
|
8
24
|
"@esbuild/android-arm64@npm:0.17.19":
|
|
9
25
|
version: 0.17.19
|
|
10
26
|
resolution: "@esbuild/android-arm64@npm:0.17.19"
|
|
@@ -255,22 +271,6 @@ __metadata:
|
|
|
255
271
|
languageName: node
|
|
256
272
|
linkType: hard
|
|
257
273
|
|
|
258
|
-
"duffel-components@file:../../../../duffel-components::locator=just-typescript%40workspace%3A.":
|
|
259
|
-
version: 3.1.3--prototype.2
|
|
260
|
-
resolution: "duffel-components@file:../../../../duffel-components#../../../../duffel-components::hash=7c5485&locator=just-typescript%40workspace%3A."
|
|
261
|
-
dependencies:
|
|
262
|
-
"@sentry/browser": "npm:7.77.0"
|
|
263
|
-
"@stripe/react-stripe-js": "npm:2.1.0"
|
|
264
|
-
"@stripe/stripe-js": "npm:1.54.0"
|
|
265
|
-
classnames: "npm:2.3.2"
|
|
266
|
-
fuse.js: "npm:6.6.2"
|
|
267
|
-
lodash: "npm:4.17.21"
|
|
268
|
-
react: "npm:18.2.0"
|
|
269
|
-
react-dom: "npm:18.2.0"
|
|
270
|
-
checksum: a802decaf820293841a00c6aa7c20e1719cea4ae44a458118973dbad2749c0f02a6d0bf6d0e100625a96a506d063cc2353c9685270882a315296d6b32e0f77f3
|
|
271
|
-
languageName: node
|
|
272
|
-
linkType: hard
|
|
273
|
-
|
|
274
274
|
"esbuild@npm:^0.17.19":
|
|
275
275
|
version: 0.17.19
|
|
276
276
|
resolution: "esbuild@npm:0.17.19"
|
|
@@ -366,8 +366,8 @@ __metadata:
|
|
|
366
366
|
version: 0.0.0-use.local
|
|
367
367
|
resolution: "just-typescript@workspace:."
|
|
368
368
|
dependencies:
|
|
369
|
+
"@duffel/components": "npm:3.1.3--prototype.2"
|
|
369
370
|
"@types/node": "npm:20.2.5"
|
|
370
|
-
duffel-components: ../../../../duffel-components
|
|
371
371
|
esbuild: "npm:^0.17.19"
|
|
372
372
|
typescript: "npm:5.0.4"
|
|
373
373
|
languageName: unknown
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export interface CityCsvRow {
|
|
2
|
-
id: string;
|
|
3
|
-
iata_code: string;
|
|
4
|
-
iata_country_code: string;
|
|
5
|
-
name: string;
|
|
6
|
-
inserted_at: string;
|
|
7
|
-
updated_at: string;
|
|
8
|
-
metropolitan_area: string;
|
|
9
|
-
}
|
|
10
|
-
export interface AirportCsvRow {
|
|
11
|
-
id: string;
|
|
12
|
-
iata_code: string;
|
|
13
|
-
iata_city_code: string;
|
|
14
|
-
iata_country_code: string;
|
|
15
|
-
name: string;
|
|
16
|
-
inserted_at: string;
|
|
17
|
-
updated_at: string;
|
|
18
|
-
source_type: string;
|
|
19
|
-
alternative_names: string;
|
|
20
|
-
icao_code: string;
|
|
21
|
-
disabled_at: string;
|
|
22
|
-
city_name: string;
|
|
23
|
-
latitude: string;
|
|
24
|
-
longitude: string;
|
|
25
|
-
time_zone: string;
|
|
26
|
-
}
|
|
27
|
-
declare const _default: Promise<void>;
|
|
28
|
-
export default _default;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/react-dist/{src/components → components}/DuffelAncillaries/bags/BaggageSelectionCard.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/react-dist/{src/components → components}/DuffelAncillaries/bags/BaggageSelectionModal.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/react-dist/{src/components → components}/DuffelAncillaries/bags/IncludedBaggageBanner.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatMapUnavailable.d.ts
RENAMED
|
File without changes
|
/package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatSelectionCard.d.ts
RENAMED
|
File without changes
|
/package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatSelectionModal.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/react-dist/{src/components → components}/DuffelAncillaries/seats/SeatUnavailable.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/react-dist/{src/components → components}/DuffelPayments/DuffelPaymentsCustomElement.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|