@voyant-travel/bookings-react 0.122.1 → 0.122.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booking-journey-rules.d.ts","sourceRoot":"","sources":["../../../src/journey/components/booking-journey-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EAMvB,MAAM,6DAA6D,CAAA;AACpE,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,qBAAqB,CAAA;AAC5E,OAAO,EAAE,KAAK,KAAK,EAAY,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAmBtE;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,GAAG,WAAW,GAAG,kBAAkB,CAK7F;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAgClF;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,iBAAiB,EACxB,SAAS,EAAE,OAAO,GACjB,OAAO,
|
|
1
|
+
{"version":3,"file":"booking-journey-rules.d.ts","sourceRoot":"","sources":["../../../src/journey/components/booking-journey-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EAMvB,MAAM,6DAA6D,CAAA;AACpE,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,qBAAqB,CAAA;AAC5E,OAAO,EAAE,KAAK,KAAK,EAAY,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE9C;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAmBtE;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,GAAG,WAAW,GAAG,kBAAkB,CAK7F;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAgClF;AAED,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,iBAAiB,EACxB,SAAS,EAAE,OAAO,GACjB,OAAO,CAyDT;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,iBAAiB,EACxB,SAAS,EAAE,OAAO,GACjB,OAAO,CAYT;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,iBAAiB,EACxB,QAAQ,EAAE,kBAAkB,GAC3B,aAAa,CAAC,MAAM,CAAC,CAmDvB;AAMD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,GACf,MAAM,GAAG,IAAI,CAMf;AAED,wBAAgB,mBAAmB,IAAI,iBAAiB,CAavD"}
|
|
@@ -100,7 +100,9 @@ export function canAdvanceFromStep(step, draft, shape, available) {
|
|
|
100
100
|
return Boolean(draft.billing.organizationId);
|
|
101
101
|
}
|
|
102
102
|
const c = draft.billing.contact;
|
|
103
|
-
return c.firstName.length > 0 &&
|
|
103
|
+
return (c.firstName.length > 0 &&
|
|
104
|
+
c.lastName.length > 0 &&
|
|
105
|
+
(c.email.length > 0 || Boolean(c.phone?.trim())));
|
|
104
106
|
}
|
|
105
107
|
case "travelers": {
|
|
106
108
|
// Pax counts are set on this step now: require the allowed total and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/bookings-react",
|
|
3
|
-
"version": "0.122.
|
|
3
|
+
"version": "0.122.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -145,17 +145,17 @@
|
|
|
145
145
|
"react-dom": "^19.0.0",
|
|
146
146
|
"react-hook-form": "^7.60.0",
|
|
147
147
|
"zod": "^4.0.0",
|
|
148
|
-
"@voyant-travel/admin": "^0.111.
|
|
149
|
-
"@voyant-travel/bookings": "^0.122.
|
|
150
|
-
"@voyant-travel/catalog-react": "^0.120.
|
|
151
|
-
"@voyant-travel/distribution-react": "^0.112.0",
|
|
148
|
+
"@voyant-travel/admin": "^0.111.5",
|
|
149
|
+
"@voyant-travel/bookings": "^0.122.2",
|
|
150
|
+
"@voyant-travel/catalog-react": "^0.120.2",
|
|
152
151
|
"@voyant-travel/relationships-react": "^0.122.0",
|
|
152
|
+
"@voyant-travel/finance-react": "^0.122.1",
|
|
153
153
|
"@voyant-travel/identity-react": "^0.122.0",
|
|
154
|
-
"@voyant-travel/commerce-react": "^0.4.0",
|
|
155
154
|
"@voyant-travel/legal-react": "^0.122.0",
|
|
156
155
|
"@voyant-travel/inventory-react": "^0.4.0",
|
|
156
|
+
"@voyant-travel/commerce-react": "^0.4.0",
|
|
157
157
|
"@voyant-travel/ui": "^0.106.2",
|
|
158
|
-
"@voyant-travel/
|
|
158
|
+
"@voyant-travel/distribution-react": "^0.112.2",
|
|
159
159
|
"@voyant-travel/operations-react": "^0.3.0"
|
|
160
160
|
},
|
|
161
161
|
"peerDependenciesMeta": {
|
|
@@ -205,8 +205,8 @@
|
|
|
205
205
|
"dependencies": {
|
|
206
206
|
"sonner": "^2.0.7",
|
|
207
207
|
"@voyant-travel/catalog-contracts": "^0.107.1",
|
|
208
|
-
"@voyant-travel/
|
|
209
|
-
"@voyant-travel/
|
|
208
|
+
"@voyant-travel/react": "^0.104.1",
|
|
209
|
+
"@voyant-travel/i18n": "^0.106.1"
|
|
210
210
|
},
|
|
211
211
|
"devDependencies": {
|
|
212
212
|
"@tanstack/react-query": "^5.100.11",
|
|
@@ -221,19 +221,19 @@
|
|
|
221
221
|
"typescript": "^6.0.2",
|
|
222
222
|
"vitest": "^4.1.2",
|
|
223
223
|
"zod": "^4.3.6",
|
|
224
|
-
"@voyant-travel/bookings": "^0.122.
|
|
225
|
-
"@voyant-travel/admin": "^0.111.
|
|
226
|
-
"@voyant-travel/
|
|
227
|
-
"@voyant-travel/
|
|
224
|
+
"@voyant-travel/bookings": "^0.122.2",
|
|
225
|
+
"@voyant-travel/admin": "^0.111.5",
|
|
226
|
+
"@voyant-travel/distribution-react": "^0.112.2",
|
|
227
|
+
"@voyant-travel/relationships-react": "^0.122.0",
|
|
228
228
|
"@voyant-travel/finance-react": "^0.122.1",
|
|
229
229
|
"@voyant-travel/identity-react": "^0.122.0",
|
|
230
|
-
"@voyant-travel/
|
|
231
|
-
"@voyant-travel/legal-react": "^0.122.0",
|
|
232
|
-
"@voyant-travel/inventory-react": "^0.4.0",
|
|
230
|
+
"@voyant-travel/catalog-react": "^0.120.2",
|
|
233
231
|
"@voyant-travel/commerce-react": "^0.4.0",
|
|
232
|
+
"@voyant-travel/inventory-react": "^0.4.0",
|
|
233
|
+
"@voyant-travel/legal-react": "^0.122.0",
|
|
234
|
+
"@voyant-travel/voyant-typescript-config": "^0.1.0",
|
|
234
235
|
"@voyant-travel/react": "^0.104.1",
|
|
235
236
|
"@voyant-travel/ui": "^0.106.2",
|
|
236
|
-
"@voyant-travel/voyant-typescript-config": "^0.1.0",
|
|
237
237
|
"@voyant-travel/operations-react": "^0.3.0"
|
|
238
238
|
},
|
|
239
239
|
"files": [
|