kaafil-react-uikit 0.9.0 → 0.10.1
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/CHANGELOG.md +123 -0
- package/dist/admin/index.cjs +458 -360
- package/dist/admin/index.cjs.map +1 -1
- package/dist/admin/index.d.cts +112 -14
- package/dist/admin/index.d.ts +112 -14
- package/dist/admin/index.js +117 -19
- package/dist/admin/index.js.map +1 -1
- package/dist/{chunk-TYBIAPPT.cjs → chunk-2OWH2KDY.cjs} +86 -86
- package/dist/chunk-2OWH2KDY.cjs.map +1 -0
- package/dist/{chunk-2WPNGUX5.cjs → chunk-3AF2M2JD.cjs} +17 -17
- package/dist/{chunk-2WPNGUX5.cjs.map → chunk-3AF2M2JD.cjs.map} +1 -1
- package/dist/{chunk-FO5VJJUO.cjs → chunk-64R4ZJTA.cjs} +12 -12
- package/dist/{chunk-FO5VJJUO.cjs.map → chunk-64R4ZJTA.cjs.map} +1 -1
- package/dist/{chunk-YWMDBY43.js → chunk-7752B4NM.js} +5 -5
- package/dist/{chunk-YWMDBY43.js.map → chunk-7752B4NM.js.map} +1 -1
- package/dist/{chunk-TESIDLJ6.js → chunk-7V2XJIXD.js} +11 -8
- package/dist/chunk-7V2XJIXD.js.map +1 -0
- package/dist/{chunk-SO4F5LTH.js → chunk-AFWZFFEM.js} +7 -6
- package/dist/chunk-AFWZFFEM.js.map +1 -0
- package/dist/{chunk-PFTWPEVV.cjs → chunk-AJE2RNOR.cjs} +4 -4
- package/dist/{chunk-PFTWPEVV.cjs.map → chunk-AJE2RNOR.cjs.map} +1 -1
- package/dist/{chunk-IAXVUR7H.cjs → chunk-F4GGHUMX.cjs} +57 -56
- package/dist/chunk-F4GGHUMX.cjs.map +1 -0
- package/dist/{chunk-6PQWLUBA.js → chunk-K5Z6N2FY.js} +5 -5
- package/dist/{chunk-6PQWLUBA.js.map → chunk-K5Z6N2FY.js.map} +1 -1
- package/dist/{chunk-CCK3WPMF.js → chunk-KV7ODN2X.js} +3 -3
- package/dist/{chunk-CCK3WPMF.js.map → chunk-KV7ODN2X.js.map} +1 -1
- package/dist/{chunk-ELJPQSXY.cjs → chunk-NCHZLGEE.cjs} +11 -11
- package/dist/{chunk-ELJPQSXY.cjs.map → chunk-NCHZLGEE.cjs.map} +1 -1
- package/dist/{chunk-SMGXVEN3.cjs → chunk-S53XNHRU.cjs} +11 -8
- package/dist/{chunk-TESIDLJ6.js.map → chunk-S53XNHRU.cjs.map} +1 -1
- package/dist/{chunk-FSSB6J3X.js → chunk-TGP4GTIY.js} +6 -6
- package/dist/chunk-TGP4GTIY.js.map +1 -0
- package/dist/{chunk-TJGE4ZSX.js → chunk-UUID3H4R.js} +3 -3
- package/dist/{chunk-TJGE4ZSX.js.map → chunk-UUID3H4R.js.map} +1 -1
- package/dist/{chunk-GOSSRXBN.js → chunk-VCROLPO3.js} +3 -3
- package/dist/{chunk-GOSSRXBN.js.map → chunk-VCROLPO3.js.map} +1 -1
- package/dist/chunk-ZZK7USFC.cjs +12 -0
- package/dist/{chunk-PG7HNBTO.cjs.map → chunk-ZZK7USFC.cjs.map} +1 -1
- package/dist/core/index.cjs +107 -107
- package/dist/core/index.js +10 -10
- package/dist/manager/index.cjs +375 -263
- package/dist/manager/index.cjs.map +1 -1
- package/dist/manager/index.d.cts +136 -17
- package/dist/manager/index.d.ts +136 -17
- package/dist/manager/index.js +142 -30
- package/dist/manager/index.js.map +1 -1
- package/dist/offline/index.cjs +12 -1
- package/dist/offline/index.cjs.map +1 -1
- package/dist/offline/index.d.cts +51 -3
- package/dist/offline/index.d.ts +51 -3
- package/dist/offline/index.js +12 -1
- package/dist/offline/index.js.map +1 -1
- package/dist/traveller/index.cjs +35 -35
- package/dist/traveller/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-FSSB6J3X.js.map +0 -1
- package/dist/chunk-IAXVUR7H.cjs.map +0 -1
- package/dist/chunk-PG7HNBTO.cjs +0 -12
- package/dist/chunk-SMGXVEN3.cjs.map +0 -1
- package/dist/chunk-SO4F5LTH.js.map +0 -1
- package/dist/chunk-TYBIAPPT.cjs.map +0 -1
package/dist/manager/index.d.cts
CHANGED
|
@@ -64,7 +64,14 @@ interface ManagerChecklistSectionProps {
|
|
|
64
64
|
readonly style?: KaafilTokenOverrides;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
/**
|
|
68
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
69
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
70
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
71
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
72
|
+
* in one component.
|
|
73
|
+
*/
|
|
74
|
+
declare function ManagerChecklistSection(props: ManagerChecklistSectionProps): ReactNode;
|
|
68
75
|
|
|
69
76
|
interface BlockerRowProps {
|
|
70
77
|
readonly blocker: CloseoutBlockerRow;
|
|
@@ -94,21 +101,42 @@ interface ManagerCloseoutSectionProps {
|
|
|
94
101
|
readonly style?: KaafilTokenOverrides;
|
|
95
102
|
}
|
|
96
103
|
|
|
97
|
-
|
|
104
|
+
/**
|
|
105
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
106
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
107
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
108
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
109
|
+
* in one component.
|
|
110
|
+
*/
|
|
111
|
+
declare function ManagerCloseoutSection(props: ManagerCloseoutSectionProps): ReactNode;
|
|
98
112
|
|
|
99
113
|
interface ManagerDocumentsSectionProps {
|
|
100
114
|
readonly tripRef: string;
|
|
101
115
|
readonly style?: KaafilTokenOverrides;
|
|
102
116
|
}
|
|
103
117
|
|
|
104
|
-
|
|
118
|
+
/**
|
|
119
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
120
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
121
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
122
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
123
|
+
* in one component.
|
|
124
|
+
*/
|
|
125
|
+
declare function ManagerDocumentsSection(props: ManagerDocumentsSectionProps): ReactNode;
|
|
105
126
|
|
|
106
127
|
interface ManagerFloatLedgerSectionProps {
|
|
107
128
|
readonly tripRef: string;
|
|
108
129
|
readonly style?: KaafilTokenOverrides;
|
|
109
130
|
}
|
|
110
131
|
|
|
111
|
-
|
|
132
|
+
/**
|
|
133
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
134
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
135
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
136
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
137
|
+
* in one component.
|
|
138
|
+
*/
|
|
139
|
+
declare function ManagerFloatLedgerSection(props: ManagerFloatLedgerSectionProps): ReactNode;
|
|
112
140
|
|
|
113
141
|
/** One answer this composite is about to write back — mirrors
|
|
114
142
|
* `SubmitFormResponseInput['answers'][number]` so nothing here hand-shapes
|
|
@@ -185,7 +213,14 @@ interface ManagerFormsSectionProps {
|
|
|
185
213
|
readonly style?: KaafilTokenOverrides;
|
|
186
214
|
}
|
|
187
215
|
|
|
188
|
-
|
|
216
|
+
/**
|
|
217
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
218
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
219
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
220
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
221
|
+
* in one component.
|
|
222
|
+
*/
|
|
223
|
+
declare function ManagerFormsSection(props: ManagerFormsSectionProps): ReactNode;
|
|
189
224
|
|
|
190
225
|
interface DayStripProps {
|
|
191
226
|
readonly days: readonly ItineraryDayRow[];
|
|
@@ -223,7 +258,14 @@ interface ManagerItinerarySectionProps {
|
|
|
223
258
|
readonly style?: KaafilTokenOverrides;
|
|
224
259
|
}
|
|
225
260
|
|
|
226
|
-
|
|
261
|
+
/**
|
|
262
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
263
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
264
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
265
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
266
|
+
* in one component.
|
|
267
|
+
*/
|
|
268
|
+
declare function ManagerItinerarySection(props: ManagerItinerarySectionProps): ReactNode;
|
|
227
269
|
|
|
228
270
|
interface TripBookingGroupCardProps {
|
|
229
271
|
readonly group: ManifestBookingGroup;
|
|
@@ -318,7 +360,14 @@ interface ManifestBookingGroup {
|
|
|
318
360
|
readonly currency: string;
|
|
319
361
|
}
|
|
320
362
|
|
|
321
|
-
|
|
363
|
+
/**
|
|
364
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
365
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
366
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
367
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
368
|
+
* in one component.
|
|
369
|
+
*/
|
|
370
|
+
declare function ManagerManifestSection(props: ManagerManifestSectionProps): ReactNode;
|
|
322
371
|
|
|
323
372
|
interface ManagerMeSectionProps {
|
|
324
373
|
/** Fired when a recent-trip row is tapped — the host's own real
|
|
@@ -333,7 +382,14 @@ interface ManagerMeSectionProps {
|
|
|
333
382
|
readonly style?: KaafilTokenOverrides;
|
|
334
383
|
}
|
|
335
384
|
|
|
336
|
-
|
|
385
|
+
/**
|
|
386
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
387
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
388
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
389
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
390
|
+
* in one component.
|
|
391
|
+
*/
|
|
392
|
+
declare function ManagerMeSection(props: ManagerMeSectionProps): ReactNode;
|
|
337
393
|
|
|
338
394
|
interface BalanceDueDisplayRow {
|
|
339
395
|
readonly travellerId: string;
|
|
@@ -404,7 +460,14 @@ interface ManagerMoneySectionProps {
|
|
|
404
460
|
readonly style?: KaafilTokenOverrides;
|
|
405
461
|
}
|
|
406
462
|
|
|
407
|
-
|
|
463
|
+
/**
|
|
464
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
465
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
466
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
467
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
468
|
+
* in one component.
|
|
469
|
+
*/
|
|
470
|
+
declare function ManagerMoneySection(props: ManagerMoneySectionProps): ReactNode;
|
|
408
471
|
|
|
409
472
|
interface ManagerNotificationsSectionProps {
|
|
410
473
|
/** Fired after a row marks itself read — the host decides what a non-null
|
|
@@ -419,7 +482,14 @@ interface ManagerNotificationsSectionProps {
|
|
|
419
482
|
readonly style?: KaafilTokenOverrides;
|
|
420
483
|
}
|
|
421
484
|
|
|
422
|
-
|
|
485
|
+
/**
|
|
486
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
487
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
488
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
489
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
490
|
+
* in one component.
|
|
491
|
+
*/
|
|
492
|
+
declare function ManagerNotificationsSection(props: ManagerNotificationsSectionProps): ReactNode;
|
|
423
493
|
|
|
424
494
|
type WireOnly<T> = T extends unknown ? Omit<T, 'status' | 'syncedAt'> : never;
|
|
425
495
|
type ManagerTodayEngaged = Extract<WireOnly<ManagerTodayReady>, {
|
|
@@ -479,7 +549,14 @@ interface ManagerOverviewSectionProps {
|
|
|
479
549
|
readonly style?: KaafilTokenOverrides;
|
|
480
550
|
}
|
|
481
551
|
|
|
482
|
-
|
|
552
|
+
/**
|
|
553
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
554
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
555
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
556
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
557
|
+
* in one component.
|
|
558
|
+
*/
|
|
559
|
+
declare function ManagerOverviewSection(props: ManagerOverviewSectionProps): ReactNode;
|
|
483
560
|
|
|
484
561
|
interface CloseStopResolution {
|
|
485
562
|
readonly travellerId: string;
|
|
@@ -533,7 +610,14 @@ interface ManagerPickupsSectionProps {
|
|
|
533
610
|
readonly style?: KaafilTokenOverrides;
|
|
534
611
|
}
|
|
535
612
|
|
|
536
|
-
|
|
613
|
+
/**
|
|
614
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
615
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
616
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
617
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
618
|
+
* in one component.
|
|
619
|
+
*/
|
|
620
|
+
declare function ManagerPickupsSection(props: ManagerPickupsSectionProps): ReactNode;
|
|
537
621
|
|
|
538
622
|
interface RoomCardProps {
|
|
539
623
|
readonly room: RoomingRoom;
|
|
@@ -595,7 +679,14 @@ interface ManagerRoomingSectionProps {
|
|
|
595
679
|
readonly style?: KaafilTokenOverrides;
|
|
596
680
|
}
|
|
597
681
|
|
|
598
|
-
|
|
682
|
+
/**
|
|
683
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
684
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
685
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
686
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
687
|
+
* in one component.
|
|
688
|
+
*/
|
|
689
|
+
declare function ManagerRoomingSection(props: ManagerRoomingSectionProps): ReactNode;
|
|
599
690
|
|
|
600
691
|
interface ManagerRosterSectionProps {
|
|
601
692
|
readonly tripRef: string;
|
|
@@ -606,7 +697,14 @@ interface ManagerRosterSectionProps {
|
|
|
606
697
|
readonly style?: KaafilTokenOverrides;
|
|
607
698
|
}
|
|
608
699
|
|
|
609
|
-
|
|
700
|
+
/**
|
|
701
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
702
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
703
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
704
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
705
|
+
* in one component.
|
|
706
|
+
*/
|
|
707
|
+
declare function ManagerRosterSection(props: ManagerRosterSectionProps): ReactNode;
|
|
610
708
|
|
|
611
709
|
interface ManagerSyncCenterSectionProps {
|
|
612
710
|
/** Scopes the itemized outbox view to one trip's own lane — the real
|
|
@@ -691,7 +789,14 @@ interface ManagerTravellerProfileSectionProps {
|
|
|
691
789
|
readonly style?: KaafilTokenOverrides;
|
|
692
790
|
}
|
|
693
791
|
|
|
694
|
-
|
|
792
|
+
/**
|
|
793
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
794
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
795
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
796
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
797
|
+
* in one component.
|
|
798
|
+
*/
|
|
799
|
+
declare function ManagerTravellerProfileSection(props: ManagerTravellerProfileSectionProps): ReactNode;
|
|
695
800
|
|
|
696
801
|
/** The one real trip-vs-trek field (`Trip.eventType`, no third value) —
|
|
697
802
|
* derived structurally off `useManagerMe()`'s own trip row so this file
|
|
@@ -820,7 +925,14 @@ interface ManagerVehiclesSectionProps {
|
|
|
820
925
|
readonly style?: KaafilTokenOverrides;
|
|
821
926
|
}
|
|
822
927
|
|
|
823
|
-
|
|
928
|
+
/**
|
|
929
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
930
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
931
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
932
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
933
|
+
* in one component.
|
|
934
|
+
*/
|
|
935
|
+
declare function ManagerVehiclesSection(props: ManagerVehiclesSectionProps): ReactNode;
|
|
824
936
|
|
|
825
937
|
interface VendorListSectionProps {
|
|
826
938
|
readonly vendors: readonly TripVendorRow[];
|
|
@@ -858,7 +970,14 @@ interface ManagerVendorsSectionProps {
|
|
|
858
970
|
readonly style?: KaafilTokenOverrides;
|
|
859
971
|
}
|
|
860
972
|
|
|
861
|
-
|
|
973
|
+
/**
|
|
974
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
975
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
976
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
977
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
978
|
+
* in one component.
|
|
979
|
+
*/
|
|
980
|
+
declare function ManagerVendorsSection(props: ManagerVendorsSectionProps): ReactNode;
|
|
862
981
|
|
|
863
982
|
/** The 3 bottom-nav destinations this Surface owns — Trip/Trek merge into
|
|
864
983
|
* one tab (icon/label switch off the selected trip's real `eventType`),
|
package/dist/manager/index.d.ts
CHANGED
|
@@ -64,7 +64,14 @@ interface ManagerChecklistSectionProps {
|
|
|
64
64
|
readonly style?: KaafilTokenOverrides;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
/**
|
|
68
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
69
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
70
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
71
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
72
|
+
* in one component.
|
|
73
|
+
*/
|
|
74
|
+
declare function ManagerChecklistSection(props: ManagerChecklistSectionProps): ReactNode;
|
|
68
75
|
|
|
69
76
|
interface BlockerRowProps {
|
|
70
77
|
readonly blocker: CloseoutBlockerRow;
|
|
@@ -94,21 +101,42 @@ interface ManagerCloseoutSectionProps {
|
|
|
94
101
|
readonly style?: KaafilTokenOverrides;
|
|
95
102
|
}
|
|
96
103
|
|
|
97
|
-
|
|
104
|
+
/**
|
|
105
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
106
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
107
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
108
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
109
|
+
* in one component.
|
|
110
|
+
*/
|
|
111
|
+
declare function ManagerCloseoutSection(props: ManagerCloseoutSectionProps): ReactNode;
|
|
98
112
|
|
|
99
113
|
interface ManagerDocumentsSectionProps {
|
|
100
114
|
readonly tripRef: string;
|
|
101
115
|
readonly style?: KaafilTokenOverrides;
|
|
102
116
|
}
|
|
103
117
|
|
|
104
|
-
|
|
118
|
+
/**
|
|
119
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
120
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
121
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
122
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
123
|
+
* in one component.
|
|
124
|
+
*/
|
|
125
|
+
declare function ManagerDocumentsSection(props: ManagerDocumentsSectionProps): ReactNode;
|
|
105
126
|
|
|
106
127
|
interface ManagerFloatLedgerSectionProps {
|
|
107
128
|
readonly tripRef: string;
|
|
108
129
|
readonly style?: KaafilTokenOverrides;
|
|
109
130
|
}
|
|
110
131
|
|
|
111
|
-
|
|
132
|
+
/**
|
|
133
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
134
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
135
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
136
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
137
|
+
* in one component.
|
|
138
|
+
*/
|
|
139
|
+
declare function ManagerFloatLedgerSection(props: ManagerFloatLedgerSectionProps): ReactNode;
|
|
112
140
|
|
|
113
141
|
/** One answer this composite is about to write back — mirrors
|
|
114
142
|
* `SubmitFormResponseInput['answers'][number]` so nothing here hand-shapes
|
|
@@ -185,7 +213,14 @@ interface ManagerFormsSectionProps {
|
|
|
185
213
|
readonly style?: KaafilTokenOverrides;
|
|
186
214
|
}
|
|
187
215
|
|
|
188
|
-
|
|
216
|
+
/**
|
|
217
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
218
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
219
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
220
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
221
|
+
* in one component.
|
|
222
|
+
*/
|
|
223
|
+
declare function ManagerFormsSection(props: ManagerFormsSectionProps): ReactNode;
|
|
189
224
|
|
|
190
225
|
interface DayStripProps {
|
|
191
226
|
readonly days: readonly ItineraryDayRow[];
|
|
@@ -223,7 +258,14 @@ interface ManagerItinerarySectionProps {
|
|
|
223
258
|
readonly style?: KaafilTokenOverrides;
|
|
224
259
|
}
|
|
225
260
|
|
|
226
|
-
|
|
261
|
+
/**
|
|
262
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
263
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
264
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
265
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
266
|
+
* in one component.
|
|
267
|
+
*/
|
|
268
|
+
declare function ManagerItinerarySection(props: ManagerItinerarySectionProps): ReactNode;
|
|
227
269
|
|
|
228
270
|
interface TripBookingGroupCardProps {
|
|
229
271
|
readonly group: ManifestBookingGroup;
|
|
@@ -318,7 +360,14 @@ interface ManifestBookingGroup {
|
|
|
318
360
|
readonly currency: string;
|
|
319
361
|
}
|
|
320
362
|
|
|
321
|
-
|
|
363
|
+
/**
|
|
364
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
365
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
366
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
367
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
368
|
+
* in one component.
|
|
369
|
+
*/
|
|
370
|
+
declare function ManagerManifestSection(props: ManagerManifestSectionProps): ReactNode;
|
|
322
371
|
|
|
323
372
|
interface ManagerMeSectionProps {
|
|
324
373
|
/** Fired when a recent-trip row is tapped — the host's own real
|
|
@@ -333,7 +382,14 @@ interface ManagerMeSectionProps {
|
|
|
333
382
|
readonly style?: KaafilTokenOverrides;
|
|
334
383
|
}
|
|
335
384
|
|
|
336
|
-
|
|
385
|
+
/**
|
|
386
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
387
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
388
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
389
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
390
|
+
* in one component.
|
|
391
|
+
*/
|
|
392
|
+
declare function ManagerMeSection(props: ManagerMeSectionProps): ReactNode;
|
|
337
393
|
|
|
338
394
|
interface BalanceDueDisplayRow {
|
|
339
395
|
readonly travellerId: string;
|
|
@@ -404,7 +460,14 @@ interface ManagerMoneySectionProps {
|
|
|
404
460
|
readonly style?: KaafilTokenOverrides;
|
|
405
461
|
}
|
|
406
462
|
|
|
407
|
-
|
|
463
|
+
/**
|
|
464
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
465
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
466
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
467
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
468
|
+
* in one component.
|
|
469
|
+
*/
|
|
470
|
+
declare function ManagerMoneySection(props: ManagerMoneySectionProps): ReactNode;
|
|
408
471
|
|
|
409
472
|
interface ManagerNotificationsSectionProps {
|
|
410
473
|
/** Fired after a row marks itself read — the host decides what a non-null
|
|
@@ -419,7 +482,14 @@ interface ManagerNotificationsSectionProps {
|
|
|
419
482
|
readonly style?: KaafilTokenOverrides;
|
|
420
483
|
}
|
|
421
484
|
|
|
422
|
-
|
|
485
|
+
/**
|
|
486
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
487
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
488
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
489
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
490
|
+
* in one component.
|
|
491
|
+
*/
|
|
492
|
+
declare function ManagerNotificationsSection(props: ManagerNotificationsSectionProps): ReactNode;
|
|
423
493
|
|
|
424
494
|
type WireOnly<T> = T extends unknown ? Omit<T, 'status' | 'syncedAt'> : never;
|
|
425
495
|
type ManagerTodayEngaged = Extract<WireOnly<ManagerTodayReady>, {
|
|
@@ -479,7 +549,14 @@ interface ManagerOverviewSectionProps {
|
|
|
479
549
|
readonly style?: KaafilTokenOverrides;
|
|
480
550
|
}
|
|
481
551
|
|
|
482
|
-
|
|
552
|
+
/**
|
|
553
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
554
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
555
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
556
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
557
|
+
* in one component.
|
|
558
|
+
*/
|
|
559
|
+
declare function ManagerOverviewSection(props: ManagerOverviewSectionProps): ReactNode;
|
|
483
560
|
|
|
484
561
|
interface CloseStopResolution {
|
|
485
562
|
readonly travellerId: string;
|
|
@@ -533,7 +610,14 @@ interface ManagerPickupsSectionProps {
|
|
|
533
610
|
readonly style?: KaafilTokenOverrides;
|
|
534
611
|
}
|
|
535
612
|
|
|
536
|
-
|
|
613
|
+
/**
|
|
614
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
615
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
616
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
617
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
618
|
+
* in one component.
|
|
619
|
+
*/
|
|
620
|
+
declare function ManagerPickupsSection(props: ManagerPickupsSectionProps): ReactNode;
|
|
537
621
|
|
|
538
622
|
interface RoomCardProps {
|
|
539
623
|
readonly room: RoomingRoom;
|
|
@@ -595,7 +679,14 @@ interface ManagerRoomingSectionProps {
|
|
|
595
679
|
readonly style?: KaafilTokenOverrides;
|
|
596
680
|
}
|
|
597
681
|
|
|
598
|
-
|
|
682
|
+
/**
|
|
683
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
684
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
685
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
686
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
687
|
+
* in one component.
|
|
688
|
+
*/
|
|
689
|
+
declare function ManagerRoomingSection(props: ManagerRoomingSectionProps): ReactNode;
|
|
599
690
|
|
|
600
691
|
interface ManagerRosterSectionProps {
|
|
601
692
|
readonly tripRef: string;
|
|
@@ -606,7 +697,14 @@ interface ManagerRosterSectionProps {
|
|
|
606
697
|
readonly style?: KaafilTokenOverrides;
|
|
607
698
|
}
|
|
608
699
|
|
|
609
|
-
|
|
700
|
+
/**
|
|
701
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
702
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
703
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
704
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
705
|
+
* in one component.
|
|
706
|
+
*/
|
|
707
|
+
declare function ManagerRosterSection(props: ManagerRosterSectionProps): ReactNode;
|
|
610
708
|
|
|
611
709
|
interface ManagerSyncCenterSectionProps {
|
|
612
710
|
/** Scopes the itemized outbox view to one trip's own lane — the real
|
|
@@ -691,7 +789,14 @@ interface ManagerTravellerProfileSectionProps {
|
|
|
691
789
|
readonly style?: KaafilTokenOverrides;
|
|
692
790
|
}
|
|
693
791
|
|
|
694
|
-
|
|
792
|
+
/**
|
|
793
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
794
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
795
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
796
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
797
|
+
* in one component.
|
|
798
|
+
*/
|
|
799
|
+
declare function ManagerTravellerProfileSection(props: ManagerTravellerProfileSectionProps): ReactNode;
|
|
695
800
|
|
|
696
801
|
/** The one real trip-vs-trek field (`Trip.eventType`, no third value) —
|
|
697
802
|
* derived structurally off `useManagerMe()`'s own trip row so this file
|
|
@@ -820,7 +925,14 @@ interface ManagerVehiclesSectionProps {
|
|
|
820
925
|
readonly style?: KaafilTokenOverrides;
|
|
821
926
|
}
|
|
822
927
|
|
|
823
|
-
|
|
928
|
+
/**
|
|
929
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
930
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
931
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
932
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
933
|
+
* in one component.
|
|
934
|
+
*/
|
|
935
|
+
declare function ManagerVehiclesSection(props: ManagerVehiclesSectionProps): ReactNode;
|
|
824
936
|
|
|
825
937
|
interface VendorListSectionProps {
|
|
826
938
|
readonly vendors: readonly TripVendorRow[];
|
|
@@ -858,7 +970,14 @@ interface ManagerVendorsSectionProps {
|
|
|
858
970
|
readonly style?: KaafilTokenOverrides;
|
|
859
971
|
}
|
|
860
972
|
|
|
861
|
-
|
|
973
|
+
/**
|
|
974
|
+
* The session gate. `SessionShell` renders its children throughout the async
|
|
975
|
+
* open window with `SessionContext` populated but no client yet, so any
|
|
976
|
+
* client-backed hook below throws until the credential resolves. The split is
|
|
977
|
+
* not optional: Rules of Hooks forbid returning early before the inner hooks
|
|
978
|
+
* in one component.
|
|
979
|
+
*/
|
|
980
|
+
declare function ManagerVendorsSection(props: ManagerVendorsSectionProps): ReactNode;
|
|
862
981
|
|
|
863
982
|
/** The 3 bottom-nav destinations this Surface owns — Trip/Trek merge into
|
|
864
983
|
* one tab (icon/label switch off the selected trip's real `eventType`),
|