@travelswitchhq/flight-search-react 1.2.2 → 1.2.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/dist/index.cjs +4089 -2536
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +2 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.mjs +4089 -2536
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -62,6 +62,12 @@ type FlightSearchWidgetProps = {
|
|
|
62
62
|
* Defaults to `"INR"` when omitted.
|
|
63
63
|
*/
|
|
64
64
|
currency?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Product key that selects the search form layout:
|
|
67
|
+
* "BCYC694T" = Standard, "ZVW5X674" = Modern.
|
|
68
|
+
* Omitted or unknown keys render the Standard form.
|
|
69
|
+
*/
|
|
70
|
+
productKey?: string;
|
|
65
71
|
};
|
|
66
72
|
ssoUser?: FlightSearchSsoUser;
|
|
67
73
|
};
|
|
@@ -82,6 +88,8 @@ interface FlightSearchFormState {
|
|
|
82
88
|
tripType: "round-trip" | "one-way" | "multi-city" | "custom-search";
|
|
83
89
|
segments: FlightSearchSegment[];
|
|
84
90
|
}
|
|
85
|
-
|
|
91
|
+
|
|
92
|
+
/** Renders the search form for config.productKey; omitted or unknown keys get the Standard form. */
|
|
93
|
+
declare function FlightSearchWidget(props: FlightSearchWidgetProps): react_jsx_runtime.JSX.Element;
|
|
86
94
|
|
|
87
95
|
export { type AirportModel, type FlightSearchEnv, type FlightSearchFormState, type FlightSearchSegment, type FlightSearchSsoUser, FlightSearchWidget, type FlightSearchWidgetProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -62,6 +62,12 @@ type FlightSearchWidgetProps = {
|
|
|
62
62
|
* Defaults to `"INR"` when omitted.
|
|
63
63
|
*/
|
|
64
64
|
currency?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Product key that selects the search form layout:
|
|
67
|
+
* "BCYC694T" = Standard, "ZVW5X674" = Modern.
|
|
68
|
+
* Omitted or unknown keys render the Standard form.
|
|
69
|
+
*/
|
|
70
|
+
productKey?: string;
|
|
65
71
|
};
|
|
66
72
|
ssoUser?: FlightSearchSsoUser;
|
|
67
73
|
};
|
|
@@ -82,6 +88,8 @@ interface FlightSearchFormState {
|
|
|
82
88
|
tripType: "round-trip" | "one-way" | "multi-city" | "custom-search";
|
|
83
89
|
segments: FlightSearchSegment[];
|
|
84
90
|
}
|
|
85
|
-
|
|
91
|
+
|
|
92
|
+
/** Renders the search form for config.productKey; omitted or unknown keys get the Standard form. */
|
|
93
|
+
declare function FlightSearchWidget(props: FlightSearchWidgetProps): react_jsx_runtime.JSX.Element;
|
|
86
94
|
|
|
87
95
|
export { type AirportModel, type FlightSearchEnv, type FlightSearchFormState, type FlightSearchSegment, type FlightSearchSsoUser, FlightSearchWidget, type FlightSearchWidgetProps };
|