@shortstravelmgmt/component-lib 0.2.11 → 0.2.12-canary.15.geda7028
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/README.md +58 -11
- package/dist/index.d.ts +1181 -104
- package/dist/index.esm.js +1156 -499
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1161 -498
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,34 +9,34 @@ import React__default, { CSSProperties, HTMLAttributes, ButtonHTMLAttributes, In
|
|
|
9
9
|
* Components should use these tokens via the useTheme hook or css utility.
|
|
10
10
|
*/
|
|
11
11
|
declare const brandColors: {
|
|
12
|
-
readonly blue: "#
|
|
13
|
-
readonly blueDeep: "#
|
|
14
|
-
readonly blueTint: "#
|
|
12
|
+
readonly blue: "#19345F";
|
|
13
|
+
readonly blueDeep: "#0C1E3E";
|
|
14
|
+
readonly blueTint: "#E4F1F8";
|
|
15
15
|
};
|
|
16
16
|
declare const primaryColors: {
|
|
17
|
-
readonly primary: "#
|
|
18
|
-
readonly primaryDark: "#
|
|
19
|
-
readonly primaryLight: "#
|
|
20
|
-
readonly primaryLightHover: "#
|
|
17
|
+
readonly primary: "#19345F";
|
|
18
|
+
readonly primaryDark: "#0C1E3E";
|
|
19
|
+
readonly primaryLight: "#E4F1F8";
|
|
20
|
+
readonly primaryLightHover: "#D3E4F0";
|
|
21
21
|
};
|
|
22
22
|
declare const neutralColors: {
|
|
23
|
-
readonly basecolor: "#
|
|
24
|
-
readonly subtle: "#
|
|
25
|
-
readonly card: "#
|
|
26
|
-
readonly cardalt: "#
|
|
27
|
-
readonly secondary: "#
|
|
28
|
-
readonly secondaryDark: "#
|
|
29
|
-
readonly tableBorder: "#
|
|
30
|
-
readonly border: "#
|
|
31
|
-
readonly borderDark: "#
|
|
23
|
+
readonly basecolor: "#F4F7FA";
|
|
24
|
+
readonly subtle: "#EAF0F6";
|
|
25
|
+
readonly card: "#EDF2F8";
|
|
26
|
+
readonly cardalt: "#E5ECF3";
|
|
27
|
+
readonly secondary: "#DDE6F0";
|
|
28
|
+
readonly secondaryDark: "#D6E0EC";
|
|
29
|
+
readonly tableBorder: "#CFDBEA";
|
|
30
|
+
readonly border: "#E6EDF5";
|
|
31
|
+
readonly borderDark: "#CFDBEA";
|
|
32
32
|
readonly white: "#FFFFFF";
|
|
33
33
|
};
|
|
34
34
|
declare const textColors: {
|
|
35
|
-
readonly ink: "#
|
|
36
|
-
readonly charcoal: "#
|
|
37
|
-
readonly slate: "#
|
|
38
|
-
readonly stone: "#
|
|
39
|
-
readonly pending: "#
|
|
35
|
+
readonly ink: "#1B2A41";
|
|
36
|
+
readonly charcoal: "#2B3B51";
|
|
37
|
+
readonly slate: "#4A5C72";
|
|
38
|
+
readonly stone: "#56687F";
|
|
39
|
+
readonly pending: "#AEBBCB";
|
|
40
40
|
readonly error: "#940000";
|
|
41
41
|
};
|
|
42
42
|
declare const statusColors: {
|
|
@@ -44,8 +44,20 @@ declare const statusColors: {
|
|
|
44
44
|
readonly warning: "#9F5500";
|
|
45
45
|
readonly gold: "#FFC179";
|
|
46
46
|
readonly error: "#940000";
|
|
47
|
+
readonly successInk: "#0F7350";
|
|
48
|
+
readonly warningInk: "#8F4C00";
|
|
49
|
+
readonly successAccent: "#2E9E6B";
|
|
50
|
+
readonly warningAccent: "#E8A13A";
|
|
51
|
+
readonly dangerAccent: "#D7503A";
|
|
52
|
+
readonly dangerAccentStrong: "#C0402C";
|
|
53
|
+
readonly dangerAccentStrongHover: "#A33524";
|
|
47
54
|
};
|
|
48
55
|
declare const accentColors: {
|
|
56
|
+
readonly teal: "#00BCD0";
|
|
57
|
+
readonly tealHover: "#00AEEF";
|
|
58
|
+
readonly tealContrast: "#0C1E3E";
|
|
59
|
+
readonly tealInk: "#009AAB";
|
|
60
|
+
readonly tealGlow: "rgba(0, 188, 208, 0.35)";
|
|
49
61
|
readonly mint: "#37C3A4";
|
|
50
62
|
readonly forest: "#003E1B";
|
|
51
63
|
readonly forestLight: "#E2F0EC";
|
|
@@ -106,13 +118,13 @@ declare const vendorColors: {
|
|
|
106
118
|
};
|
|
107
119
|
};
|
|
108
120
|
declare const gradients: {
|
|
109
|
-
readonly avatar: "linear-gradient(135deg, #
|
|
121
|
+
readonly avatar: "linear-gradient(135deg, #19345F 0%, #00BCD0 100%)";
|
|
110
122
|
};
|
|
111
123
|
declare const alertTokens: {
|
|
112
124
|
readonly primary: {
|
|
113
|
-
readonly fg: "#
|
|
114
|
-
readonly bg: "#
|
|
115
|
-
readonly border: "#
|
|
125
|
+
readonly fg: "#19345F";
|
|
126
|
+
readonly bg: "#E4F1F8";
|
|
127
|
+
readonly border: "#19345F";
|
|
116
128
|
};
|
|
117
129
|
readonly success: {
|
|
118
130
|
readonly fg: "#138660";
|
|
@@ -132,24 +144,25 @@ declare const alertTokens: {
|
|
|
132
144
|
};
|
|
133
145
|
declare const semanticColors: {
|
|
134
146
|
readonly fg: {
|
|
135
|
-
readonly 1: "#
|
|
136
|
-
readonly 2: "#
|
|
137
|
-
readonly 3: "#
|
|
138
|
-
readonly 4: "#
|
|
139
|
-
readonly disabled: "#
|
|
140
|
-
readonly link: "#
|
|
141
|
-
readonly linkHover: "#
|
|
147
|
+
readonly 1: "#1B2A41";
|
|
148
|
+
readonly 2: "#2B3B51";
|
|
149
|
+
readonly 3: "#4A5C72";
|
|
150
|
+
readonly 4: "#56687F";
|
|
151
|
+
readonly disabled: "#AEBBCB";
|
|
152
|
+
readonly link: "#19345F";
|
|
153
|
+
readonly linkHover: "#0C1E3E";
|
|
142
154
|
};
|
|
143
155
|
readonly bg: {
|
|
144
|
-
readonly page: "#
|
|
156
|
+
readonly page: "#F4F7FA";
|
|
145
157
|
readonly surface: "#FFFFFF";
|
|
146
|
-
readonly card: "#
|
|
147
|
-
readonly subtle: "#
|
|
158
|
+
readonly card: "#EDF2F8";
|
|
159
|
+
readonly subtle: "#EAF0F6";
|
|
148
160
|
};
|
|
149
161
|
};
|
|
150
162
|
declare const fontFamily: {
|
|
151
|
-
readonly base: "'
|
|
152
|
-
readonly display: "'
|
|
163
|
+
readonly base: "'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif";
|
|
164
|
+
readonly display: "'Montserrat', system-ui, -apple-system, sans-serif";
|
|
165
|
+
readonly label: "'Roboto Condensed', system-ui, -apple-system, sans-serif";
|
|
153
166
|
readonly mono: "'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace";
|
|
154
167
|
};
|
|
155
168
|
declare const fontSize: {
|
|
@@ -222,37 +235,47 @@ declare const transition: {
|
|
|
222
235
|
readonly base: "200ms ease";
|
|
223
236
|
readonly slow: "300ms ease";
|
|
224
237
|
};
|
|
238
|
+
declare const navRailColors: {
|
|
239
|
+
readonly bg: "#0C1E3E";
|
|
240
|
+
readonly fg: "#8FA6C4";
|
|
241
|
+
readonly fgStrong: "#E4F1F8";
|
|
242
|
+
readonly hoverBg: "rgba(255, 255, 255, 0.07)";
|
|
243
|
+
readonly activeBg: "#FFFFFF";
|
|
244
|
+
readonly activeFg: "#0C1E3E";
|
|
245
|
+
readonly activeShadow: "0 2px 8px rgba(0, 0, 0, 0.22)";
|
|
246
|
+
readonly border: "rgba(255, 255, 255, 0.08)";
|
|
247
|
+
};
|
|
225
248
|
declare const lightTheme: {
|
|
226
249
|
readonly colors: {
|
|
227
250
|
readonly brand: {
|
|
228
|
-
readonly blue: "#
|
|
229
|
-
readonly blueDeep: "#
|
|
230
|
-
readonly blueTint: "#
|
|
251
|
+
readonly blue: "#19345F";
|
|
252
|
+
readonly blueDeep: "#0C1E3E";
|
|
253
|
+
readonly blueTint: "#E4F1F8";
|
|
231
254
|
};
|
|
232
255
|
readonly primary: {
|
|
233
|
-
readonly primary: "#
|
|
234
|
-
readonly primaryDark: "#
|
|
235
|
-
readonly primaryLight: "#
|
|
236
|
-
readonly primaryLightHover: "#
|
|
256
|
+
readonly primary: "#19345F";
|
|
257
|
+
readonly primaryDark: "#0C1E3E";
|
|
258
|
+
readonly primaryLight: "#E4F1F8";
|
|
259
|
+
readonly primaryLightHover: "#D3E4F0";
|
|
237
260
|
};
|
|
238
261
|
readonly neutral: {
|
|
239
|
-
readonly basecolor: "#
|
|
240
|
-
readonly subtle: "#
|
|
241
|
-
readonly card: "#
|
|
242
|
-
readonly cardalt: "#
|
|
243
|
-
readonly secondary: "#
|
|
244
|
-
readonly secondaryDark: "#
|
|
245
|
-
readonly tableBorder: "#
|
|
246
|
-
readonly border: "#
|
|
247
|
-
readonly borderDark: "#
|
|
262
|
+
readonly basecolor: "#F4F7FA";
|
|
263
|
+
readonly subtle: "#EAF0F6";
|
|
264
|
+
readonly card: "#EDF2F8";
|
|
265
|
+
readonly cardalt: "#E5ECF3";
|
|
266
|
+
readonly secondary: "#DDE6F0";
|
|
267
|
+
readonly secondaryDark: "#D6E0EC";
|
|
268
|
+
readonly tableBorder: "#CFDBEA";
|
|
269
|
+
readonly border: "#E6EDF5";
|
|
270
|
+
readonly borderDark: "#CFDBEA";
|
|
248
271
|
readonly white: "#FFFFFF";
|
|
249
272
|
};
|
|
250
273
|
readonly text: {
|
|
251
|
-
readonly ink: "#
|
|
252
|
-
readonly charcoal: "#
|
|
253
|
-
readonly slate: "#
|
|
254
|
-
readonly stone: "#
|
|
255
|
-
readonly pending: "#
|
|
274
|
+
readonly ink: "#1B2A41";
|
|
275
|
+
readonly charcoal: "#2B3B51";
|
|
276
|
+
readonly slate: "#4A5C72";
|
|
277
|
+
readonly stone: "#56687F";
|
|
278
|
+
readonly pending: "#AEBBCB";
|
|
256
279
|
readonly error: "#940000";
|
|
257
280
|
};
|
|
258
281
|
readonly status: {
|
|
@@ -260,8 +283,20 @@ declare const lightTheme: {
|
|
|
260
283
|
readonly warning: "#9F5500";
|
|
261
284
|
readonly gold: "#FFC179";
|
|
262
285
|
readonly error: "#940000";
|
|
286
|
+
readonly successInk: "#0F7350";
|
|
287
|
+
readonly warningInk: "#8F4C00";
|
|
288
|
+
readonly successAccent: "#2E9E6B";
|
|
289
|
+
readonly warningAccent: "#E8A13A";
|
|
290
|
+
readonly dangerAccent: "#D7503A";
|
|
291
|
+
readonly dangerAccentStrong: "#C0402C";
|
|
292
|
+
readonly dangerAccentStrongHover: "#A33524";
|
|
263
293
|
};
|
|
264
294
|
readonly accent: {
|
|
295
|
+
readonly teal: "#00BCD0";
|
|
296
|
+
readonly tealHover: "#00AEEF";
|
|
297
|
+
readonly tealContrast: "#0C1E3E";
|
|
298
|
+
readonly tealInk: "#009AAB";
|
|
299
|
+
readonly tealGlow: "rgba(0, 188, 208, 0.35)";
|
|
265
300
|
readonly mint: "#37C3A4";
|
|
266
301
|
readonly forest: "#003E1B";
|
|
267
302
|
readonly forestLight: "#E2F0EC";
|
|
@@ -323,9 +358,9 @@ declare const lightTheme: {
|
|
|
323
358
|
};
|
|
324
359
|
readonly alert: {
|
|
325
360
|
readonly primary: {
|
|
326
|
-
readonly fg: "#
|
|
327
|
-
readonly bg: "#
|
|
328
|
-
readonly border: "#
|
|
361
|
+
readonly fg: "#19345F";
|
|
362
|
+
readonly bg: "#E4F1F8";
|
|
363
|
+
readonly border: "#19345F";
|
|
329
364
|
};
|
|
330
365
|
readonly success: {
|
|
331
366
|
readonly fg: "#138660";
|
|
@@ -345,26 +380,37 @@ declare const lightTheme: {
|
|
|
345
380
|
};
|
|
346
381
|
readonly semantic: {
|
|
347
382
|
readonly fg: {
|
|
348
|
-
readonly 1: "#
|
|
349
|
-
readonly 2: "#
|
|
350
|
-
readonly 3: "#
|
|
351
|
-
readonly 4: "#
|
|
352
|
-
readonly disabled: "#
|
|
353
|
-
readonly link: "#
|
|
354
|
-
readonly linkHover: "#
|
|
383
|
+
readonly 1: "#1B2A41";
|
|
384
|
+
readonly 2: "#2B3B51";
|
|
385
|
+
readonly 3: "#4A5C72";
|
|
386
|
+
readonly 4: "#56687F";
|
|
387
|
+
readonly disabled: "#AEBBCB";
|
|
388
|
+
readonly link: "#19345F";
|
|
389
|
+
readonly linkHover: "#0C1E3E";
|
|
355
390
|
};
|
|
356
391
|
readonly bg: {
|
|
357
|
-
readonly page: "#
|
|
392
|
+
readonly page: "#F4F7FA";
|
|
358
393
|
readonly surface: "#FFFFFF";
|
|
359
|
-
readonly card: "#
|
|
360
|
-
readonly subtle: "#
|
|
394
|
+
readonly card: "#EDF2F8";
|
|
395
|
+
readonly subtle: "#EAF0F6";
|
|
361
396
|
};
|
|
362
397
|
};
|
|
398
|
+
readonly navRail: {
|
|
399
|
+
readonly bg: "#0C1E3E";
|
|
400
|
+
readonly fg: "#8FA6C4";
|
|
401
|
+
readonly fgStrong: "#E4F1F8";
|
|
402
|
+
readonly hoverBg: "rgba(255, 255, 255, 0.07)";
|
|
403
|
+
readonly activeBg: "#FFFFFF";
|
|
404
|
+
readonly activeFg: "#0C1E3E";
|
|
405
|
+
readonly activeShadow: "0 2px 8px rgba(0, 0, 0, 0.22)";
|
|
406
|
+
readonly border: "rgba(255, 255, 255, 0.08)";
|
|
407
|
+
};
|
|
363
408
|
};
|
|
364
409
|
readonly typography: {
|
|
365
410
|
readonly fontFamily: {
|
|
366
|
-
readonly base: "'
|
|
367
|
-
readonly display: "'
|
|
411
|
+
readonly base: "'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif";
|
|
412
|
+
readonly display: "'Montserrat', system-ui, -apple-system, sans-serif";
|
|
413
|
+
readonly label: "'Roboto Condensed', system-ui, -apple-system, sans-serif";
|
|
368
414
|
readonly mono: "'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace";
|
|
369
415
|
};
|
|
370
416
|
readonly fontSize: {
|
|
@@ -439,11 +485,29 @@ declare const lightTheme: {
|
|
|
439
485
|
readonly slow: "300ms ease";
|
|
440
486
|
};
|
|
441
487
|
readonly gradients: {
|
|
442
|
-
readonly avatar: "linear-gradient(135deg, #
|
|
488
|
+
readonly avatar: "linear-gradient(135deg, #19345F 0%, #00BCD0 100%)";
|
|
443
489
|
};
|
|
444
490
|
};
|
|
445
491
|
declare const darkTheme: {
|
|
446
492
|
readonly colors: {
|
|
493
|
+
readonly primary: {
|
|
494
|
+
readonly primary: "#0A53EF";
|
|
495
|
+
readonly primaryDark: "#1A43D1";
|
|
496
|
+
readonly primaryLight: "#E6ECFB";
|
|
497
|
+
readonly primaryLightHover: "#DAE3F8";
|
|
498
|
+
};
|
|
499
|
+
readonly accent: {
|
|
500
|
+
readonly tealInk: "#00BCD0";
|
|
501
|
+
readonly teal: "#00BCD0";
|
|
502
|
+
readonly tealHover: "#00AEEF";
|
|
503
|
+
readonly tealContrast: "#0C1E3E";
|
|
504
|
+
readonly tealGlow: "rgba(0, 188, 208, 0.35)";
|
|
505
|
+
readonly mint: "#37C3A4";
|
|
506
|
+
readonly forest: "#003E1B";
|
|
507
|
+
readonly forestLight: "#E2F0EC";
|
|
508
|
+
readonly tangerine: "#FE7C35";
|
|
509
|
+
readonly tangerineLight: "#FFE2C1";
|
|
510
|
+
};
|
|
447
511
|
readonly neutral: {
|
|
448
512
|
readonly basecolor: "#1a1a1a";
|
|
449
513
|
readonly subtle: "#2a2a2a";
|
|
@@ -481,29 +545,33 @@ declare const darkTheme: {
|
|
|
481
545
|
readonly subtle: "#2a2a2a";
|
|
482
546
|
};
|
|
483
547
|
};
|
|
484
|
-
readonly
|
|
485
|
-
readonly
|
|
486
|
-
readonly
|
|
487
|
-
readonly
|
|
548
|
+
readonly navRail: {
|
|
549
|
+
readonly bg: "#122A4F";
|
|
550
|
+
readonly fg: "#8FA6C4";
|
|
551
|
+
readonly fgStrong: "#E4F1F8";
|
|
552
|
+
readonly hoverBg: "rgba(255, 255, 255, 0.07)";
|
|
553
|
+
readonly activeBg: "#FFFFFF";
|
|
554
|
+
readonly activeFg: "#0C1E3E";
|
|
555
|
+
readonly activeShadow: "0 2px 8px rgba(0, 0, 0, 0.22)";
|
|
556
|
+
readonly border: "rgba(255, 255, 255, 0.08)";
|
|
488
557
|
};
|
|
489
|
-
readonly
|
|
490
|
-
readonly
|
|
491
|
-
readonly
|
|
492
|
-
readonly
|
|
493
|
-
readonly primaryLightHover: "#DAE3F8";
|
|
558
|
+
readonly brand: {
|
|
559
|
+
readonly blue: "#19345F";
|
|
560
|
+
readonly blueDeep: "#0C1E3E";
|
|
561
|
+
readonly blueTint: "#E4F1F8";
|
|
494
562
|
};
|
|
495
563
|
readonly status: {
|
|
496
564
|
readonly success: "#138660";
|
|
497
565
|
readonly warning: "#9F5500";
|
|
498
566
|
readonly gold: "#FFC179";
|
|
499
567
|
readonly error: "#940000";
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
readonly
|
|
503
|
-
readonly
|
|
504
|
-
readonly
|
|
505
|
-
readonly
|
|
506
|
-
readonly
|
|
568
|
+
readonly successInk: "#0F7350";
|
|
569
|
+
readonly warningInk: "#8F4C00";
|
|
570
|
+
readonly successAccent: "#2E9E6B";
|
|
571
|
+
readonly warningAccent: "#E8A13A";
|
|
572
|
+
readonly dangerAccent: "#D7503A";
|
|
573
|
+
readonly dangerAccentStrong: "#C0402C";
|
|
574
|
+
readonly dangerAccentStrongHover: "#A33524";
|
|
507
575
|
};
|
|
508
576
|
readonly team: {
|
|
509
577
|
readonly men: "#8AC6D9";
|
|
@@ -560,9 +628,9 @@ declare const darkTheme: {
|
|
|
560
628
|
};
|
|
561
629
|
readonly alert: {
|
|
562
630
|
readonly primary: {
|
|
563
|
-
readonly fg: "#
|
|
564
|
-
readonly bg: "#
|
|
565
|
-
readonly border: "#
|
|
631
|
+
readonly fg: "#19345F";
|
|
632
|
+
readonly bg: "#E4F1F8";
|
|
633
|
+
readonly border: "#19345F";
|
|
566
634
|
};
|
|
567
635
|
readonly success: {
|
|
568
636
|
readonly fg: "#138660";
|
|
@@ -583,8 +651,9 @@ declare const darkTheme: {
|
|
|
583
651
|
};
|
|
584
652
|
readonly typography: {
|
|
585
653
|
readonly fontFamily: {
|
|
586
|
-
readonly base: "'
|
|
587
|
-
readonly display: "'
|
|
654
|
+
readonly base: "'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif";
|
|
655
|
+
readonly display: "'Montserrat', system-ui, -apple-system, sans-serif";
|
|
656
|
+
readonly label: "'Roboto Condensed', system-ui, -apple-system, sans-serif";
|
|
588
657
|
readonly mono: "'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace";
|
|
589
658
|
};
|
|
590
659
|
readonly fontSize: {
|
|
@@ -659,7 +728,7 @@ declare const darkTheme: {
|
|
|
659
728
|
readonly slow: "300ms ease";
|
|
660
729
|
};
|
|
661
730
|
readonly gradients: {
|
|
662
|
-
readonly avatar: "linear-gradient(135deg, #
|
|
731
|
+
readonly avatar: "linear-gradient(135deg, #19345F 0%, #00BCD0 100%)";
|
|
663
732
|
};
|
|
664
733
|
};
|
|
665
734
|
/**
|
|
@@ -669,7 +738,12 @@ declare const darkTheme: {
|
|
|
669
738
|
interface Theme {
|
|
670
739
|
colors: {
|
|
671
740
|
brand: typeof brandColors;
|
|
672
|
-
primary:
|
|
741
|
+
primary: {
|
|
742
|
+
primary: string;
|
|
743
|
+
primaryDark: string;
|
|
744
|
+
primaryLight: string;
|
|
745
|
+
primaryLightHover: string;
|
|
746
|
+
};
|
|
673
747
|
neutral: {
|
|
674
748
|
basecolor: string;
|
|
675
749
|
subtle: string;
|
|
@@ -691,7 +765,9 @@ interface Theme {
|
|
|
691
765
|
error: string;
|
|
692
766
|
};
|
|
693
767
|
status: typeof statusColors;
|
|
694
|
-
accent:
|
|
768
|
+
accent: {
|
|
769
|
+
[K in keyof typeof accentColors]: string;
|
|
770
|
+
};
|
|
695
771
|
team: typeof teamColors;
|
|
696
772
|
travel: typeof travelColors;
|
|
697
773
|
vendor: typeof vendorColors;
|
|
@@ -713,6 +789,9 @@ interface Theme {
|
|
|
713
789
|
subtle: string;
|
|
714
790
|
};
|
|
715
791
|
};
|
|
792
|
+
navRail: {
|
|
793
|
+
[K in keyof typeof navRailColors]: string;
|
|
794
|
+
};
|
|
716
795
|
};
|
|
717
796
|
typography: {
|
|
718
797
|
fontFamily: typeof fontFamily;
|
|
@@ -944,6 +1023,10 @@ interface AlertProps {
|
|
|
944
1023
|
/** Additional CSS class */
|
|
945
1024
|
className?: string;
|
|
946
1025
|
}
|
|
1026
|
+
/**
|
|
1027
|
+
* Inline message calling out status or guidance in place, without interrupting the user.
|
|
1028
|
+
* Use a modal instead when the user has to act before continuing.
|
|
1029
|
+
*/
|
|
947
1030
|
declare const Alert: React__default.FC<AlertProps>;
|
|
948
1031
|
|
|
949
1032
|
type AlertVariant = 'primary' | 'success' | 'warning' | 'error';
|
|
@@ -1007,6 +1090,10 @@ interface AvatarGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1007
1090
|
/** Maximum number of avatars to show before +N */
|
|
1008
1091
|
max?: number;
|
|
1009
1092
|
}
|
|
1093
|
+
/**
|
|
1094
|
+
* Row of overlapping avatars for a team or traveler party.
|
|
1095
|
+
* Collapses everything past `max` into a +N counter so the row keeps a fixed footprint.
|
|
1096
|
+
*/
|
|
1010
1097
|
declare const AvatarGroup: React__default.FC<AvatarGroupProps>;
|
|
1011
1098
|
|
|
1012
1099
|
type BadgeVariant = 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
@@ -1128,61 +1215,124 @@ interface DatepickerProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 't
|
|
|
1128
1215
|
*/
|
|
1129
1216
|
declare const Datepicker: React.ForwardRefExoticComponent<DatepickerProps & React.RefAttributes<HTMLInputElement>>;
|
|
1130
1217
|
|
|
1218
|
+
/**
|
|
1219
|
+
* The library's icon set.
|
|
1220
|
+
*
|
|
1221
|
+
* Every icon is a 24x24 stroked SVG that inherits its color from
|
|
1222
|
+
* `currentColor` and scales through the `size` prop, so an icon picks up the
|
|
1223
|
+
* text color of whatever it sits in without extra styling.
|
|
1224
|
+
*/
|
|
1225
|
+
|
|
1131
1226
|
interface IconProps extends SVGProps<SVGSVGElement> {
|
|
1132
1227
|
/** Icon size in pixels */
|
|
1133
1228
|
size?: number;
|
|
1134
1229
|
/** Icon color (defaults to currentColor) */
|
|
1135
1230
|
color?: string;
|
|
1136
1231
|
}
|
|
1232
|
+
/** Air segment (travel type `A`). */
|
|
1137
1233
|
declare const PlaneIcon: React__default.FC<IconProps>;
|
|
1234
|
+
/** Rental car segment (travel type `C`). */
|
|
1138
1235
|
declare const CarIcon: React__default.FC<IconProps>;
|
|
1236
|
+
/** Hotel segment (travel type `H`). */
|
|
1139
1237
|
declare const HotelIcon: React__default.FC<IconProps>;
|
|
1238
|
+
/** Limo or black car segment (travel type `L`). */
|
|
1140
1239
|
declare const LimoIcon: React__default.FC<IconProps>;
|
|
1240
|
+
/** Rail segment (travel type `R`). */
|
|
1141
1241
|
declare const RailIcon: React__default.FC<IconProps>;
|
|
1242
|
+
/** Motorcoach segment (travel type `B`), including team charters. */
|
|
1142
1243
|
declare const BusIcon: React__default.FC<IconProps>;
|
|
1244
|
+
/** Magnifying glass, for search inputs and filter triggers. */
|
|
1143
1245
|
declare const SearchIcon: React__default.FC<IconProps>;
|
|
1246
|
+
/** Downward chevron, for expanding a section or opening a dropdown. */
|
|
1144
1247
|
declare const ChevronDownIcon: React__default.FC<IconProps>;
|
|
1248
|
+
/** Upward chevron, for collapsing an expanded section. */
|
|
1145
1249
|
declare const ChevronUpIcon: React__default.FC<IconProps>;
|
|
1250
|
+
/** Rightward chevron, for drill-in navigation and breadcrumbs. */
|
|
1146
1251
|
declare const ChevronRightIcon: React__default.FC<IconProps>;
|
|
1252
|
+
/** Leftward chevron, for back navigation and carousels. */
|
|
1147
1253
|
declare const ChevronLeftIcon: React__default.FC<IconProps>;
|
|
1254
|
+
/** Outbound arrow, for departing legs and external links. */
|
|
1148
1255
|
declare const ArrowUpRightIcon: React__default.FC<IconProps>;
|
|
1256
|
+
/** Inbound arrow, for returning legs. */
|
|
1149
1257
|
declare const ArrowDownLeftIcon: React__default.FC<IconProps>;
|
|
1258
|
+
/** Eye, for view-only actions and visibility toggles. */
|
|
1150
1259
|
declare const EyeIcon: React__default.FC<IconProps>;
|
|
1260
|
+
/** Download, for exporting reports and manifests. */
|
|
1151
1261
|
declare const DownloadIcon: React__default.FC<IconProps>;
|
|
1262
|
+
/** Upload, for importing rosters and attaching files. */
|
|
1152
1263
|
declare const UploadIcon: React__default.FC<IconProps>;
|
|
1264
|
+
/** Funnel, for opening filter controls. */
|
|
1153
1265
|
declare const FilterIcon: React__default.FC<IconProps>;
|
|
1266
|
+
/** Calendar, for date pickers and schedule views. */
|
|
1154
1267
|
declare const CalendarIcon: React__default.FC<IconProps>;
|
|
1268
|
+
/** Single person, for a traveler or profile. */
|
|
1155
1269
|
declare const UserIcon: React__default.FC<IconProps>;
|
|
1270
|
+
/** Group of people, for teams, rosters, and group travel. */
|
|
1156
1271
|
declare const UsersIcon: React__default.FC<IconProps>;
|
|
1272
|
+
/** Envelope, for email addresses and send actions. */
|
|
1157
1273
|
declare const MailIcon: React__default.FC<IconProps>;
|
|
1274
|
+
/** Handset, for phone numbers. */
|
|
1158
1275
|
declare const PhoneIcon: React__default.FC<IconProps>;
|
|
1276
|
+
/** Agent headset, for travel agent contact and support. */
|
|
1159
1277
|
declare const HeadsetIcon: React__default.FC<IconProps>;
|
|
1278
|
+
/** Printer, for print actions. */
|
|
1160
1279
|
declare const PrinterIcon: React__default.FC<IconProps>;
|
|
1280
|
+
/** Circular arrows, for reloading data and retrying a failed request. */
|
|
1161
1281
|
declare const RefreshIcon: React__default.FC<IconProps>;
|
|
1282
|
+
/** Warning triangle, for warning and error states. */
|
|
1162
1283
|
declare const WarningIcon: React__default.FC<IconProps>;
|
|
1284
|
+
/** Checkmark, for success states and confirmed selections. */
|
|
1163
1285
|
declare const CheckIcon: React__default.FC<IconProps>;
|
|
1286
|
+
/** Cross, for clearing a value or marking a negative state. */
|
|
1164
1287
|
declare const XIcon: React__default.FC<IconProps>;
|
|
1288
|
+
/** Plus, for add and create actions. */
|
|
1165
1289
|
declare const PlusIcon: React__default.FC<IconProps>;
|
|
1290
|
+
/** Minus, for remove and decrement actions. */
|
|
1166
1291
|
declare const MinusIcon: React__default.FC<IconProps>;
|
|
1292
|
+
/** Hamburger, for opening navigation on small screens. */
|
|
1167
1293
|
declare const MenuIcon: React__default.FC<IconProps>;
|
|
1294
|
+
/** Lightbulb, for tips and informational callouts. */
|
|
1168
1295
|
declare const LightbulbIcon: React__default.FC<IconProps>;
|
|
1296
|
+
/** Megaphone, for announcements and broadcast banners. */
|
|
1169
1297
|
declare const MegaphoneIcon: React__default.FC<IconProps>;
|
|
1298
|
+
/** Close, for dismissing modals, drawers, and alerts. */
|
|
1170
1299
|
declare const CloseIcon: React__default.FC<IconProps>;
|
|
1300
|
+
/** Dashboard, for the home and overview destinations. */
|
|
1171
1301
|
declare const DashboardIcon: React__default.FC<IconProps>;
|
|
1302
|
+
/** Report, for reporting destinations and exports. */
|
|
1172
1303
|
declare const ReportIcon: React__default.FC<IconProps>;
|
|
1304
|
+
/** Gear, for settings and configuration. */
|
|
1173
1305
|
declare const SettingsIcon: React__default.FC<IconProps>;
|
|
1306
|
+
/** Short's Travel mark, for brand placements and app headers. */
|
|
1174
1307
|
declare const LogoIcon: React__default.FC<IconProps>;
|
|
1308
|
+
/** Rising trend line, for a metric moving up. */
|
|
1175
1309
|
declare const TrendUpIcon: React__default.FC<IconProps>;
|
|
1310
|
+
/** Falling trend line, for a metric moving down. */
|
|
1176
1311
|
declare const TrendDownIcon: React__default.FC<IconProps>;
|
|
1312
|
+
/** Information, for help text and info banners. */
|
|
1177
1313
|
declare const InfoIcon: React__default.FC<IconProps>;
|
|
1314
|
+
/** Document, for itineraries, invoices, and attachments. */
|
|
1178
1315
|
declare const DocumentIcon: React__default.FC<IconProps>;
|
|
1316
|
+
/** Building, for schools, venues, and vendor offices. */
|
|
1179
1317
|
declare const BuildingIcon: React__default.FC<IconProps>;
|
|
1318
|
+
/** Grid, for switching to a card or tile layout. */
|
|
1180
1319
|
declare const GridIcon: React__default.FC<IconProps>;
|
|
1320
|
+
/** Pencil, for edit actions. */
|
|
1181
1321
|
declare const EditIcon: React__default.FC<IconProps>;
|
|
1322
|
+
/** House, for the home destination. */
|
|
1182
1323
|
declare const HomeIcon: React__default.FC<IconProps>;
|
|
1324
|
+
/** Cube, for packages, equipment, and bundled services. */
|
|
1183
1325
|
declare const CubeIcon: React__default.FC<IconProps>;
|
|
1326
|
+
/** Padlock, for restricted access and locked records. */
|
|
1184
1327
|
declare const LockIcon: React__default.FC<IconProps>;
|
|
1328
|
+
/** Trash can, for delete actions. */
|
|
1185
1329
|
declare const TrashIcon: React__default.FC<IconProps>;
|
|
1330
|
+
/**
|
|
1331
|
+
* Every icon keyed by name, for choosing one at runtime.
|
|
1332
|
+
*
|
|
1333
|
+
* Use a direct import when the icon is known at author time; reach for this
|
|
1334
|
+
* only when the name arrives as data (a nav config, an API response).
|
|
1335
|
+
*/
|
|
1186
1336
|
declare const Icons: {
|
|
1187
1337
|
readonly Plane: React__default.FC<IconProps>;
|
|
1188
1338
|
readonly Car: React__default.FC<IconProps>;
|
|
@@ -1267,8 +1417,38 @@ interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>
|
|
|
1267
1417
|
/** Makes textarea take full width */
|
|
1268
1418
|
fullWidth?: boolean;
|
|
1269
1419
|
}
|
|
1420
|
+
/**
|
|
1421
|
+
* Multi-line text field sharing the Input label, helper text, and error treatment.
|
|
1422
|
+
*/
|
|
1270
1423
|
declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
1271
1424
|
|
|
1425
|
+
/** Colour treatment. `blue` = Short's Blue (light surfaces); `white` = the
|
|
1426
|
+
* all-white reverse for dark / navy / photography surfaces (e.g. the nav rail). */
|
|
1427
|
+
type LogoVariant = 'blue' | 'white';
|
|
1428
|
+
/** `primary` = the horizontal mark + wordmark lockup (default). `s-mark` = the
|
|
1429
|
+
* standalone interlocking-teardrop "S" glyph, for tight spaces / collapsed nav. */
|
|
1430
|
+
type LogoLockup = 'primary' | 's-mark';
|
|
1431
|
+
interface LogoProps {
|
|
1432
|
+
/** Colour treatment — `blue` on light surfaces, `white` on dark/navy. Default `blue`. */
|
|
1433
|
+
variant?: LogoVariant;
|
|
1434
|
+
/** Which lockup to render. Default `primary`. */
|
|
1435
|
+
lockup?: LogoLockup;
|
|
1436
|
+
/** Rendered height in px; width scales to the lockup's aspect ratio. */
|
|
1437
|
+
height?: number;
|
|
1438
|
+
/** Accessible name for the mark. */
|
|
1439
|
+
alt?: string;
|
|
1440
|
+
className?: string;
|
|
1441
|
+
style?: React__default.CSSProperties;
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
* The official Short's Travel Management logo, in Short's Blue and an all-white
|
|
1445
|
+
* reverse. Use `variant="white"` on dark / navy surfaces (the brand rule: never
|
|
1446
|
+
* place the blue logo on dark fields) and `variant="blue"` on light surfaces.
|
|
1447
|
+
* The assets are the real 2022 brand PNGs, inlined so the component is
|
|
1448
|
+
* self-contained — do not recolor or redraw the mark.
|
|
1449
|
+
*/
|
|
1450
|
+
declare const Logo: React__default.FC<LogoProps>;
|
|
1451
|
+
|
|
1272
1452
|
interface MetricProps {
|
|
1273
1453
|
/** The metric value to display */
|
|
1274
1454
|
value?: string | number;
|
|
@@ -1341,6 +1521,10 @@ interface SpinnerProps {
|
|
|
1341
1521
|
/** Accessible label */
|
|
1342
1522
|
label?: string;
|
|
1343
1523
|
}
|
|
1524
|
+
/**
|
|
1525
|
+
* Indeterminate loading indicator for waits with no known duration.
|
|
1526
|
+
* Exposes its label to screen readers, so give it one that says what is loading.
|
|
1527
|
+
*/
|
|
1344
1528
|
declare const Spinner: React__default.FC<SpinnerProps>;
|
|
1345
1529
|
|
|
1346
1530
|
type StatusBadgeVariant = 'ticketed' | 'itinerary' | 'not-ticketed' | 'submitted' | 'pending' | 'cancelled' | 'approved' | 'rejected' | 'in-review';
|
|
@@ -1350,6 +1534,10 @@ interface StatusBadgeProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'childr
|
|
|
1350
1534
|
/** Optional custom label (defaults to formatted status) */
|
|
1351
1535
|
label?: string;
|
|
1352
1536
|
}
|
|
1537
|
+
/**
|
|
1538
|
+
* Badge for a travel record status, styled per status so the same state always reads the same.
|
|
1539
|
+
* Falls back to a formatted version of the status code when no label is given.
|
|
1540
|
+
*/
|
|
1353
1541
|
declare const StatusBadge: React__default.FC<StatusBadgeProps>;
|
|
1354
1542
|
|
|
1355
1543
|
type TagVariant = 'default' | 'primary' | 'success' | 'warning' | 'error' | 'info'
|
|
@@ -1374,6 +1562,10 @@ interface TagProps {
|
|
|
1374
1562
|
/** Inline styles */
|
|
1375
1563
|
style?: React__default.CSSProperties;
|
|
1376
1564
|
}
|
|
1565
|
+
/**
|
|
1566
|
+
* Compact label for keywords, categories, and applied filters.
|
|
1567
|
+
* Becomes a button when clickable, and can carry a remove affordance.
|
|
1568
|
+
*/
|
|
1377
1569
|
declare const Tag: React__default.ForwardRefExoticComponent<TagProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
1378
1570
|
|
|
1379
1571
|
type TimepickerSize = 'sm' | 'md' | 'lg';
|
|
@@ -1445,6 +1637,10 @@ interface ToggleProps {
|
|
|
1445
1637
|
*/
|
|
1446
1638
|
disabledIcon?: ReactNode;
|
|
1447
1639
|
}
|
|
1640
|
+
/**
|
|
1641
|
+
* Switch for a setting that applies immediately, with no separate save step.
|
|
1642
|
+
* Use a checkbox instead when the change is submitted with a form.
|
|
1643
|
+
*/
|
|
1448
1644
|
declare const Toggle: React__default.FC<ToggleProps>;
|
|
1449
1645
|
|
|
1450
1646
|
type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
@@ -1465,6 +1661,10 @@ interface TooltipProps {
|
|
|
1465
1661
|
/** Additional CSS class */
|
|
1466
1662
|
className?: string;
|
|
1467
1663
|
}
|
|
1664
|
+
/**
|
|
1665
|
+
* Hover and focus label for a control whose purpose is not obvious from its face.
|
|
1666
|
+
* Supplementary only -- never put information here that a user must have.
|
|
1667
|
+
*/
|
|
1468
1668
|
declare const Tooltip: React__default.FC<TooltipProps>;
|
|
1469
1669
|
|
|
1470
1670
|
type TravelType = 'A' | 'C' | 'H' | 'L' | 'R' | 'B' | 'U';
|
|
@@ -1476,6 +1676,10 @@ interface TypeIconProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'
|
|
|
1476
1676
|
/** Show tooltip on hover */
|
|
1477
1677
|
showTooltip?: boolean;
|
|
1478
1678
|
}
|
|
1679
|
+
/**
|
|
1680
|
+
* Segment icon keyed to a travel type code, color-coded per type.
|
|
1681
|
+
* Use TravelServiceIcon when the vendor matters as well as the type.
|
|
1682
|
+
*/
|
|
1479
1683
|
declare const TypeIcon: React__default.FC<TypeIconProps>;
|
|
1480
1684
|
|
|
1481
1685
|
type VendorCode = 'DL' | 'AA' | 'UA' | 'WN' | 'B6' | 'AS' | 'F9' | 'NK' | 'G4' | 'HA' | string;
|
|
@@ -1491,6 +1695,10 @@ interface TravelServiceIconProps extends Omit<HTMLAttributes<HTMLSpanElement>, '
|
|
|
1491
1695
|
/** Show multi-segment indicator */
|
|
1492
1696
|
multi?: boolean;
|
|
1493
1697
|
}
|
|
1698
|
+
/**
|
|
1699
|
+
* Segment icon that identifies the vendor as well as the travel type.
|
|
1700
|
+
* Shows the vendor mark when one is known, and can flag a multi-segment leg.
|
|
1701
|
+
*/
|
|
1494
1702
|
declare const TravelServiceIcon: React__default.FC<TravelServiceIconProps>;
|
|
1495
1703
|
|
|
1496
1704
|
interface AccordionProps {
|
|
@@ -1516,18 +1724,29 @@ interface AccordionProps {
|
|
|
1516
1724
|
declare const Accordion: React__default.FC<AccordionProps>;
|
|
1517
1725
|
|
|
1518
1726
|
interface SegmentedSelectorOption {
|
|
1727
|
+
/** Value reported through `onChange` when this option is picked. */
|
|
1519
1728
|
id: string;
|
|
1729
|
+
/** Visible text. Omit for an icon-only option. */
|
|
1520
1730
|
label?: string;
|
|
1731
|
+
/** Accessible name, required when the option is icon-only. */
|
|
1521
1732
|
alt?: string;
|
|
1733
|
+
/** Icon element shown before the label. */
|
|
1522
1734
|
icon?: ReactNode;
|
|
1523
1735
|
}
|
|
1524
1736
|
interface SegmentedSelectorProps {
|
|
1737
|
+
/** Options to render, left to right. */
|
|
1525
1738
|
options: SegmentedSelectorOption[];
|
|
1739
|
+
/** Id of the currently selected option. */
|
|
1526
1740
|
value: string;
|
|
1741
|
+
/** Called with the newly selected option id. */
|
|
1527
1742
|
onChange?: (value: string) => void;
|
|
1743
|
+
/** Disables every option. */
|
|
1528
1744
|
disabled?: boolean;
|
|
1745
|
+
/** Control size. */
|
|
1529
1746
|
size?: 'sm' | 'md' | 'lg';
|
|
1747
|
+
/** Additional CSS class. */
|
|
1530
1748
|
className?: string;
|
|
1749
|
+
/** Accessible name for the group. */
|
|
1531
1750
|
ariaLabel?: string;
|
|
1532
1751
|
/** Stable hook used by Hub acceptance and Chromatic tests. */
|
|
1533
1752
|
dataTest?: string;
|
|
@@ -1538,18 +1757,32 @@ interface SegmentedSelectorProps {
|
|
|
1538
1757
|
/** Which side of the label an option's icon sits on. Defaults to left. */
|
|
1539
1758
|
iconPosition?: 'left' | 'right';
|
|
1540
1759
|
}
|
|
1760
|
+
/**
|
|
1761
|
+
* Single-select control rendering its options as one connected row of buttons.
|
|
1762
|
+
* Backs the calendar selectors below; use those when their options fit.
|
|
1763
|
+
*/
|
|
1541
1764
|
declare const SegmentedSelector: ({ options, value, onChange, disabled, size, className, ariaLabel, dataTest, itemClassName, activeItemClassName, iconPosition, }: SegmentedSelectorProps) => React.JSX.Element;
|
|
1542
1765
|
type CalendarViewValue = 'calendar' | 'card' | 'list';
|
|
1543
1766
|
interface CalendarViewSelectorProps extends Omit<SegmentedSelectorProps, 'options' | 'value' | 'onChange' | 'ariaLabel'> {
|
|
1767
|
+
/** Currently selected layout. */
|
|
1544
1768
|
value: CalendarViewValue;
|
|
1769
|
+
/** Called with the newly selected layout. */
|
|
1545
1770
|
onChange?: (value: CalendarViewValue) => void;
|
|
1546
1771
|
}
|
|
1772
|
+
/**
|
|
1773
|
+
* Chooses how the team travel calendar lays out: calendar grid, cards, or list.
|
|
1774
|
+
*/
|
|
1547
1775
|
declare const CalendarViewSelector: ({ value, onChange, ...props }: CalendarViewSelectorProps) => React.JSX.Element;
|
|
1548
1776
|
type CalendarTypeValue = 'trips' | 'due_dates';
|
|
1549
1777
|
interface CalendarTypeSelectorProps extends Omit<SegmentedSelectorProps, 'options' | 'value' | 'onChange' | 'ariaLabel'> {
|
|
1778
|
+
/** Currently selected item type. */
|
|
1550
1779
|
value: CalendarTypeValue;
|
|
1780
|
+
/** Called with the newly selected item type. */
|
|
1551
1781
|
onChange?: (value: CalendarTypeValue) => void;
|
|
1552
1782
|
}
|
|
1783
|
+
/**
|
|
1784
|
+
* Chooses what the team travel calendar plots -- trips or due dates.
|
|
1785
|
+
*/
|
|
1553
1786
|
declare const CalendarTypeSelector: ({ value, onChange, ...props }: CalendarTypeSelectorProps) => React.JSX.Element;
|
|
1554
1787
|
|
|
1555
1788
|
interface ContactCardProps {
|
|
@@ -1650,6 +1883,10 @@ interface DropdownItemProps {
|
|
|
1650
1883
|
/** Additional CSS class */
|
|
1651
1884
|
className?: string;
|
|
1652
1885
|
}
|
|
1886
|
+
/**
|
|
1887
|
+
* Button that reveals a menu of actions, closing on outside click or Escape.
|
|
1888
|
+
* Compose the menu from DropdownItem; for choosing a value, use Segment or FilterChip instead.
|
|
1889
|
+
*/
|
|
1653
1890
|
declare const Dropdown: React__default.FC<DropdownProps> & {
|
|
1654
1891
|
Item: React__default.FC<DropdownItemProps>;
|
|
1655
1892
|
};
|
|
@@ -1785,6 +2022,10 @@ interface FilterChipProps {
|
|
|
1785
2022
|
/** Additional CSS class */
|
|
1786
2023
|
className?: string;
|
|
1787
2024
|
}
|
|
2025
|
+
/**
|
|
2026
|
+
* Compact single-select filter showing its current value on the chip itself.
|
|
2027
|
+
* Can filter its own options when the list is long enough to need searching.
|
|
2028
|
+
*/
|
|
1788
2029
|
declare const FilterChip: React__default.FC<FilterChipProps>;
|
|
1789
2030
|
|
|
1790
2031
|
interface FormFieldProps {
|
|
@@ -1809,6 +2050,11 @@ interface FormFieldProps {
|
|
|
1809
2050
|
/** Children for custom input rendering */
|
|
1810
2051
|
children?: React__default.ReactNode;
|
|
1811
2052
|
}
|
|
2053
|
+
/**
|
|
2054
|
+
* Pairs a labelled control with its helper text and error message, wiring up the
|
|
2055
|
+
* accessible associations between them.
|
|
2056
|
+
* Renders an Input or Textarea via `as`, or any control passed as children.
|
|
2057
|
+
*/
|
|
1812
2058
|
declare const FormField: React__default.ForwardRefExoticComponent<FormFieldProps & React__default.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
|
|
1813
2059
|
|
|
1814
2060
|
interface FormRowProps {
|
|
@@ -1852,8 +2098,11 @@ interface FormSectionProps {
|
|
|
1852
2098
|
declare const FormSection: React__default.FC<FormSectionProps>;
|
|
1853
2099
|
|
|
1854
2100
|
interface FormStackProps {
|
|
2101
|
+
/** Form fields to space evenly. */
|
|
1855
2102
|
children: ReactNode;
|
|
2103
|
+
/** Vertical space between fields. */
|
|
1856
2104
|
gap?: 'sm' | 'md' | 'lg';
|
|
2105
|
+
/** Additional CSS class. */
|
|
1857
2106
|
className?: string;
|
|
1858
2107
|
}
|
|
1859
2108
|
/** Standard vertical form-field rhythm used by Hub modal forms. */
|
|
@@ -1894,13 +2143,23 @@ declare const InfoTile: React__default.FC<InfoTileProps>;
|
|
|
1894
2143
|
|
|
1895
2144
|
type ManifestView = 'passengers' | 'equipment';
|
|
1896
2145
|
interface ManifestViewToggleProps {
|
|
2146
|
+
/** Manifest currently shown. */
|
|
1897
2147
|
view: ManifestView;
|
|
2148
|
+
/** Called with the manifest the user switched to. */
|
|
1898
2149
|
onView: (view: ManifestView) => void;
|
|
2150
|
+
/** Passenger count shown on the passengers tab. */
|
|
1899
2151
|
paxCount: number;
|
|
2152
|
+
/** Equipment count shown on the equipment tab. */
|
|
1900
2153
|
eqCount: number;
|
|
2154
|
+
/** Marks the manifest as locked, swapping both tab icons for a padlock. Presentational only -- it does not stop the switch. */
|
|
1901
2155
|
locked: boolean;
|
|
2156
|
+
/** Additional CSS class. */
|
|
1902
2157
|
className?: string;
|
|
1903
2158
|
}
|
|
2159
|
+
/**
|
|
2160
|
+
* Tabs switching a charter manifest between its passenger and equipment lists,
|
|
2161
|
+
* each showing its current count.
|
|
2162
|
+
*/
|
|
1904
2163
|
declare const ManifestViewToggle: ({ view, onView, paxCount, eqCount, locked, className, }: ManifestViewToggleProps) => React.JSX.Element;
|
|
1905
2164
|
|
|
1906
2165
|
/** A user option that can be searched for and selected. */
|
|
@@ -1993,6 +2252,11 @@ interface NavItemProps {
|
|
|
1993
2252
|
/** Accessible description */
|
|
1994
2253
|
'aria-label'?: string;
|
|
1995
2254
|
}
|
|
2255
|
+
/**
|
|
2256
|
+
* One destination in a navigation list, with an optional icon and badge.
|
|
2257
|
+
* Renders as a link when given `href`, otherwise as a button.
|
|
2258
|
+
* Collapses to icon-only, keeping its label available to screen readers.
|
|
2259
|
+
*/
|
|
1996
2260
|
declare const NavItem: React__default.FC<NavItemProps>;
|
|
1997
2261
|
|
|
1998
2262
|
interface PageHeaderProps {
|
|
@@ -2091,8 +2355,18 @@ interface ProgressCircleProps {
|
|
|
2091
2355
|
*/
|
|
2092
2356
|
diameter?: number;
|
|
2093
2357
|
}
|
|
2358
|
+
/**
|
|
2359
|
+
* Horizontal bar for determinate progress -- a known percentage of a known total.
|
|
2360
|
+
* Use Spinner when the duration is unknown.
|
|
2361
|
+
*/
|
|
2094
2362
|
declare const ProgressBar: React__default.FC<ProgressBarProps>;
|
|
2363
|
+
/**
|
|
2364
|
+
* Ring showing determinate progress, for tighter spaces than ProgressBar fits.
|
|
2365
|
+
*/
|
|
2095
2366
|
declare const ProgressCircle: React__default.FC<ProgressCircleProps>;
|
|
2367
|
+
/**
|
|
2368
|
+
* Namespace bundling the progress indicators as `Progress.Bar` and `Progress.Circle`.
|
|
2369
|
+
*/
|
|
2096
2370
|
declare const Progress: {
|
|
2097
2371
|
Bar: React__default.FC<ProgressBarProps>;
|
|
2098
2372
|
Circle: React__default.FC<ProgressCircleProps>;
|
|
@@ -2169,17 +2443,31 @@ interface SearchFieldProps {
|
|
|
2169
2443
|
/** Accessible label */
|
|
2170
2444
|
'aria-label'?: string;
|
|
2171
2445
|
}
|
|
2446
|
+
/**
|
|
2447
|
+
* Search input with clear and submit affordances.
|
|
2448
|
+
* Works controlled via `value` or uncontrolled via `defaultValue`; `onChange` fires
|
|
2449
|
+
* per keystroke while `onSearch` fires only on submit.
|
|
2450
|
+
*/
|
|
2172
2451
|
declare const SearchField: React__default.ForwardRefExoticComponent<SearchFieldProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
2173
2452
|
|
|
2174
2453
|
interface SchoolContactFormProps {
|
|
2454
|
+
/** Whether the form is adding or editing, used for the heading. */
|
|
2175
2455
|
mode?: 'Add' | 'Edit' | string;
|
|
2456
|
+
/** Optional control for prefilling the form from an existing portal user. */
|
|
2176
2457
|
createFromPortalUser?: ReactNode;
|
|
2458
|
+
/** Rendered first name field. */
|
|
2177
2459
|
firstNameField: ReactNode;
|
|
2460
|
+
/** Rendered middle initial field. */
|
|
2178
2461
|
middleInitialField: ReactNode;
|
|
2462
|
+
/** Rendered last name field. */
|
|
2179
2463
|
lastNameField: ReactNode;
|
|
2464
|
+
/** Rendered business phone field. */
|
|
2180
2465
|
businessPhoneField: ReactNode;
|
|
2466
|
+
/** Rendered cell phone field. */
|
|
2181
2467
|
cellPhoneField: ReactNode;
|
|
2468
|
+
/** Rendered email field. */
|
|
2182
2469
|
emailField: ReactNode;
|
|
2470
|
+
/** Additional CSS class. */
|
|
2183
2471
|
className?: string;
|
|
2184
2472
|
}
|
|
2185
2473
|
/**
|
|
@@ -2214,6 +2502,10 @@ interface SegmentProps {
|
|
|
2214
2502
|
/** Accessible label */
|
|
2215
2503
|
'aria-label'?: string;
|
|
2216
2504
|
}
|
|
2505
|
+
/**
|
|
2506
|
+
* Segmented control for picking one of a few options that are all worth showing.
|
|
2507
|
+
* Prefer a Dropdown once the list outgrows the available width.
|
|
2508
|
+
*/
|
|
2217
2509
|
declare const Segment: React__default.FC<SegmentProps>;
|
|
2218
2510
|
|
|
2219
2511
|
interface SelectFilterOption {
|
|
@@ -2306,17 +2598,29 @@ declare const ServiceToggle: React__default.FC<ServiceToggleProps>;
|
|
|
2306
2598
|
declare const ServiceToggleList: React__default.FC<ServiceToggleListProps>;
|
|
2307
2599
|
|
|
2308
2600
|
type SupplierTypeValue = 'A' | 'C' | 'H';
|
|
2601
|
+
/**
|
|
2602
|
+
* The selectable supplier types, without the "All" entry the toggle adds.
|
|
2603
|
+
*/
|
|
2309
2604
|
declare const SUPPLIER_TYPE_OPTIONS: Array<{
|
|
2310
2605
|
value: SupplierTypeValue;
|
|
2311
2606
|
label: string;
|
|
2312
2607
|
}>;
|
|
2313
2608
|
interface SupplierTypeToggleProps {
|
|
2609
|
+
/** Selected supplier type, or `''` for all. Makes the toggle controlled. */
|
|
2314
2610
|
value?: SupplierTypeValue | '';
|
|
2611
|
+
/** Initial selection when uncontrolled. */
|
|
2315
2612
|
defaultValue?: SupplierTypeValue | '';
|
|
2613
|
+
/** Called with the newly selected supplier type, or `''` for all. */
|
|
2316
2614
|
onChange?: (value: SupplierTypeValue | '') => void;
|
|
2615
|
+
/** Disables every option. */
|
|
2317
2616
|
disabled?: boolean;
|
|
2617
|
+
/** Additional CSS class. */
|
|
2318
2618
|
className?: string;
|
|
2319
2619
|
}
|
|
2620
|
+
/**
|
|
2621
|
+
* Filters a supplier list down to air, car, or hotel.
|
|
2622
|
+
* Works controlled via `value` or uncontrolled via `defaultValue`.
|
|
2623
|
+
*/
|
|
2320
2624
|
declare const SupplierTypeToggle: ({ value, defaultValue, onChange, disabled, className, }: SupplierTypeToggleProps) => React.JSX.Element;
|
|
2321
2625
|
|
|
2322
2626
|
interface TeamCalendarHeaderProps {
|
|
@@ -2364,13 +2668,19 @@ declare const TeamHeader: {
|
|
|
2364
2668
|
displayName: string;
|
|
2365
2669
|
};
|
|
2366
2670
|
interface TeamSubMenuTab {
|
|
2671
|
+
/** Value reported through `onTabChange` when this tab is picked. */
|
|
2367
2672
|
id: string;
|
|
2673
|
+
/** Visible tab text. */
|
|
2368
2674
|
label: string;
|
|
2369
2675
|
}
|
|
2370
2676
|
interface TeamSubMenuProps {
|
|
2677
|
+
/** Tabs to render. Defaults to the standard team management set. */
|
|
2371
2678
|
tabs?: TeamSubMenuTab[];
|
|
2679
|
+
/** Id of the currently selected tab. */
|
|
2372
2680
|
activeTab?: string;
|
|
2681
|
+
/** Called with the newly selected tab id. */
|
|
2373
2682
|
onTabChange?: (tabId: string) => void;
|
|
2683
|
+
/** Additional CSS class. */
|
|
2374
2684
|
className?: string;
|
|
2375
2685
|
}
|
|
2376
2686
|
/** Router-agnostic counterpart of Hub's team-management submenu. */
|
|
@@ -2380,32 +2690,55 @@ declare const TeamSubMenu: {
|
|
|
2380
2690
|
};
|
|
2381
2691
|
|
|
2382
2692
|
interface FlightData {
|
|
2693
|
+
/** Whether the leg is a commercial booking or a charter. */
|
|
2383
2694
|
type: 'commercial' | 'charter';
|
|
2695
|
+
/** Departure airport code. */
|
|
2384
2696
|
departure: string;
|
|
2697
|
+
/** Arrival airport code. */
|
|
2385
2698
|
arrival: string;
|
|
2699
|
+
/** Departure date. */
|
|
2386
2700
|
departureDate: string;
|
|
2701
|
+
/** Departure time, local to the departure airport. */
|
|
2387
2702
|
departureTime?: string;
|
|
2703
|
+
/** Arrival date, when it differs from the departure date. */
|
|
2388
2704
|
arrivalDate?: string;
|
|
2705
|
+
/** Arrival time, local to the arrival airport. */
|
|
2389
2706
|
arrivalTime?: string;
|
|
2707
|
+
/** Operating carrier name. */
|
|
2390
2708
|
airline?: string;
|
|
2709
|
+
/** Flight number. */
|
|
2391
2710
|
flightNumber?: string;
|
|
2392
2711
|
}
|
|
2393
2712
|
interface GroundData {
|
|
2713
|
+
/** Vehicle class for the leg. */
|
|
2394
2714
|
type: 'bus' | 'van' | 'car' | 'limo';
|
|
2715
|
+
/** Ground operator name. */
|
|
2395
2716
|
company?: string;
|
|
2717
|
+
/** Where the vehicle collects the party. */
|
|
2396
2718
|
pickupLocation: string;
|
|
2719
|
+
/** Where the vehicle drops the party. */
|
|
2397
2720
|
dropoffLocation: string;
|
|
2721
|
+
/** Pickup date. */
|
|
2398
2722
|
pickupDate: string;
|
|
2723
|
+
/** Pickup time, local to the pickup location. */
|
|
2399
2724
|
pickupTime?: string;
|
|
2725
|
+
/** Number of vehicles on the leg. */
|
|
2400
2726
|
vehicleCount?: number;
|
|
2401
2727
|
}
|
|
2402
2728
|
interface HotelData {
|
|
2729
|
+
/** Property name. */
|
|
2403
2730
|
name: string;
|
|
2731
|
+
/** Street address. */
|
|
2404
2732
|
address?: string;
|
|
2733
|
+
/** City, shown when the address is omitted. */
|
|
2405
2734
|
city?: string;
|
|
2735
|
+
/** Check-in date. */
|
|
2406
2736
|
checkIn: string;
|
|
2737
|
+
/** Check-out date. */
|
|
2407
2738
|
checkOut: string;
|
|
2739
|
+
/** Number of rooms held. */
|
|
2408
2740
|
roomCount?: number;
|
|
2741
|
+
/** Hotel confirmation number. */
|
|
2409
2742
|
confirmationNumber?: string;
|
|
2410
2743
|
}
|
|
2411
2744
|
type SegmentVariant = 'light' | 'dark';
|
|
@@ -2420,18 +2753,27 @@ interface TripSegmentProps {
|
|
|
2420
2753
|
children: ReactNode;
|
|
2421
2754
|
}
|
|
2422
2755
|
interface AirSegmentProps {
|
|
2756
|
+
/** Flights on this segment, in travel order. */
|
|
2423
2757
|
flights: FlightData[];
|
|
2758
|
+
/** Visual variant. */
|
|
2424
2759
|
variant?: SegmentVariant;
|
|
2760
|
+
/** Additional CSS class. */
|
|
2425
2761
|
className?: string;
|
|
2426
2762
|
}
|
|
2427
2763
|
interface GroundSegmentProps {
|
|
2764
|
+
/** Ground legs on this segment, in travel order. */
|
|
2428
2765
|
segments: GroundData[];
|
|
2766
|
+
/** Visual variant. */
|
|
2429
2767
|
variant?: SegmentVariant;
|
|
2768
|
+
/** Additional CSS class. */
|
|
2430
2769
|
className?: string;
|
|
2431
2770
|
}
|
|
2432
2771
|
interface HotelSegmentProps {
|
|
2772
|
+
/** Hotel stays on this segment, in travel order. */
|
|
2433
2773
|
hotels: HotelData[];
|
|
2774
|
+
/** Visual variant. */
|
|
2434
2775
|
variant?: SegmentVariant;
|
|
2776
|
+
/** Additional CSS class. */
|
|
2435
2777
|
className?: string;
|
|
2436
2778
|
}
|
|
2437
2779
|
/**
|
|
@@ -2603,70 +2945,102 @@ interface GroupTravelDueStatus {
|
|
|
2603
2945
|
complete: boolean;
|
|
2604
2946
|
}
|
|
2605
2947
|
interface GroupTravelPnr {
|
|
2948
|
+
/** Identifier for the PNR. */
|
|
2606
2949
|
id: string | number;
|
|
2607
2950
|
/** Airline record locator, or the placeholder used before one has been issued. */
|
|
2608
2951
|
recordLocator: string;
|
|
2609
2952
|
complete: boolean;
|
|
2610
2953
|
}
|
|
2611
2954
|
interface AgentGroupTravelRequest {
|
|
2955
|
+
/** Identifier for the PNR. */
|
|
2612
2956
|
id: number;
|
|
2613
2957
|
/** School/account this request belongs to — rows are grouped by this value. */
|
|
2614
2958
|
accountName: string;
|
|
2615
2959
|
/** Whether an agent or the client themselves submitted the request. */
|
|
2616
2960
|
source: GroupTravelRequestSource;
|
|
2961
|
+
/** Master trip this request became, once one exists. */
|
|
2617
2962
|
masterTripId?: number;
|
|
2618
2963
|
/** Shown as a tooltip and highlights the ID when present. */
|
|
2619
2964
|
notes?: string;
|
|
2620
2965
|
/** ISO (yyyy-mm-dd) trip start date. */
|
|
2621
2966
|
startDate: string;
|
|
2967
|
+
/** Trip name. */
|
|
2622
2968
|
name: string;
|
|
2969
|
+
/** Sport name shown in the row. */
|
|
2623
2970
|
sport: string;
|
|
2624
2971
|
/** Sport code used for the sport filter, e.g. "MBB". */
|
|
2625
2972
|
sportCode: string;
|
|
2973
|
+
/** Airline handling the group, once assigned. */
|
|
2626
2974
|
carrier?: string;
|
|
2975
|
+
/** Whether commercial air is part of the request. */
|
|
2627
2976
|
air: boolean;
|
|
2977
|
+
/** Whether a charter is part of the request. */
|
|
2628
2978
|
charter: boolean;
|
|
2979
|
+
/** Whether rental cars are part of the request. */
|
|
2629
2980
|
car: boolean;
|
|
2981
|
+
/** Whether a motorcoach is part of the request. */
|
|
2630
2982
|
motorcoach: boolean;
|
|
2983
|
+
/** Whether hotel rooms are part of the request. */
|
|
2631
2984
|
hotel: boolean;
|
|
2985
|
+
/** Whether the hotel is booked as a group block. */
|
|
2632
2986
|
groupHotel: boolean;
|
|
2987
|
+
/** Routing summary for the trip. */
|
|
2633
2988
|
routing: string;
|
|
2634
2989
|
/** ISO (yyyy-mm-dd) date submitted. */
|
|
2635
2990
|
submittedDate?: string;
|
|
2636
2991
|
/** ISO (yyyy-mm-dd) date the quote was sent. */
|
|
2637
2992
|
quoteSentDate?: string;
|
|
2993
|
+
/** Due status for confirming the booking. */
|
|
2638
2994
|
confirmation: GroupTravelDueStatus;
|
|
2995
|
+
/** Due status for the deposit. */
|
|
2639
2996
|
deposit: GroupTravelDueStatus;
|
|
2997
|
+
/** Due status for the utilization review. */
|
|
2640
2998
|
utilization: GroupTravelDueStatus;
|
|
2999
|
+
/** Due status for submitting traveler names. */
|
|
2641
3000
|
names: GroupTravelDueStatus;
|
|
3001
|
+
/** Due status for ticketing. */
|
|
2642
3002
|
ticketing: GroupTravelDueStatus;
|
|
2643
3003
|
/** One entry per PNR in this group; more than one renders as an expandable "Multi" group. */
|
|
2644
3004
|
pnrs: GroupTravelPnr[];
|
|
2645
3005
|
}
|
|
2646
3006
|
interface AgentGroupTravelRequestSportOption {
|
|
3007
|
+
/** Sport code matched against a request. */
|
|
2647
3008
|
code: string;
|
|
3009
|
+
/** Visible sport name. */
|
|
2648
3010
|
label: string;
|
|
2649
3011
|
}
|
|
2650
3012
|
interface AgentGroupTravelRequestViewOption {
|
|
3013
|
+
/** Identifier for the saved view. */
|
|
2651
3014
|
id: string;
|
|
3015
|
+
/** Visible view name. */
|
|
2652
3016
|
label: string;
|
|
2653
3017
|
/** Account names included in this saved view. */
|
|
2654
3018
|
accountNames: string[];
|
|
2655
3019
|
}
|
|
2656
3020
|
interface AgentGroupTravelRequestsTableProps {
|
|
3021
|
+
/** Requests to list. Rows are grouped by account. */
|
|
2657
3022
|
requests: AgentGroupTravelRequest[];
|
|
3023
|
+
/** Sports offered in the sport filter. */
|
|
2658
3024
|
sports?: AgentGroupTravelRequestSportOption[];
|
|
2659
3025
|
/** Saved account-group "views"; the view filter is hidden when none are supplied. */
|
|
2660
3026
|
views?: AgentGroupTravelRequestViewOption[];
|
|
2661
3027
|
/** ISO (yyyy-mm-dd) reference date for due-status coloring. Defaults to today; pass a fixed value in stories/tests for determinism. */
|
|
2662
3028
|
today?: string;
|
|
3029
|
+
/** Called with the request the agent opened. */
|
|
2663
3030
|
onOpenRequest?: (id: number) => void;
|
|
3031
|
+
/** Called with the master trip the agent opened. */
|
|
2664
3032
|
onViewMasterTrip?: (masterTripId: number) => void;
|
|
3033
|
+
/** Called with the request the agent deleted. */
|
|
2665
3034
|
onDeleteRequest?: (id: number) => void;
|
|
3035
|
+
/** Called with the record locator the agent copied. */
|
|
2666
3036
|
onCopyPnr?: (recordLocator: string) => void;
|
|
3037
|
+
/** Called with the request and the milestone the agent marked complete or incomplete. */
|
|
2667
3038
|
onToggleDueStatus?: (id: number, field: GroupTravelDueField) => void;
|
|
3039
|
+
/** Called with the request and its new submitted date. */
|
|
2668
3040
|
onSubmittedDateChange?: (id: number, value: string) => void;
|
|
3041
|
+
/** Called with the request and its new quote-sent date. */
|
|
2669
3042
|
onQuoteSentDateChange?: (id: number, value: string) => void;
|
|
3043
|
+
/** Additional CSS class. */
|
|
2670
3044
|
className?: string;
|
|
2671
3045
|
}
|
|
2672
3046
|
/** Computes the short "A/C/B/H/GH/CA" travel-type codes shown in the Type column. */
|
|
@@ -2687,9 +3061,14 @@ interface SidenavItem {
|
|
|
2687
3061
|
onClick?: () => void;
|
|
2688
3062
|
}
|
|
2689
3063
|
interface SidenavProps extends HTMLAttributes<HTMLElement> {
|
|
2690
|
-
/**
|
|
3064
|
+
/**
|
|
3065
|
+
* Logo for the expanded state. The nav rail is navy, so the logo slot
|
|
3066
|
+
* defaults to a light ink — text and `currentColor` icon logos read without
|
|
3067
|
+
* setting a colour. Supply an **inverse (light)** treatment; a raster or
|
|
3068
|
+
* fixed-fill logo should be a light/white asset, not a dark-on-light one.
|
|
3069
|
+
*/
|
|
2691
3070
|
logo?: React__default.ReactNode;
|
|
2692
|
-
/** Logo
|
|
3071
|
+
/** Logo for the collapsed state (same inverse-on-navy contract as `logo`). */
|
|
2693
3072
|
logoCollapsed?: React__default.ReactNode;
|
|
2694
3073
|
/** Navigation items */
|
|
2695
3074
|
items: SidenavItem[];
|
|
@@ -2760,6 +3139,10 @@ interface AppLayoutProps {
|
|
|
2760
3139
|
/** Additional CSS class */
|
|
2761
3140
|
className?: string;
|
|
2762
3141
|
}
|
|
3142
|
+
/**
|
|
3143
|
+
* Generic page frame: sidebar, top bar, and content area.
|
|
3144
|
+
* Use HubAppShell for Hub screens -- it adds the Hub navigation and branding.
|
|
3145
|
+
*/
|
|
2763
3146
|
declare const AppLayout: React__default.FC<AppLayoutProps>;
|
|
2764
3147
|
|
|
2765
3148
|
type CardVariant = 'default' | 'bordered' | 'elevated';
|
|
@@ -2784,30 +3167,49 @@ interface CardHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
2784
3167
|
/** Actions to display in the header */
|
|
2785
3168
|
actions?: React__default.ReactNode;
|
|
2786
3169
|
}
|
|
3170
|
+
/**
|
|
3171
|
+
* Top of a Card: title, subtitle, and any header actions.
|
|
3172
|
+
*/
|
|
2787
3173
|
declare const CardHeader: React__default.FC<CardHeaderProps>;
|
|
2788
3174
|
interface CardBodyProps extends HTMLAttributes<HTMLDivElement> {
|
|
2789
3175
|
}
|
|
3176
|
+
/**
|
|
3177
|
+
* Main content region of a Card, carrying the card padding.
|
|
3178
|
+
*/
|
|
2790
3179
|
declare const CardBody: React__default.FC<CardBodyProps>;
|
|
2791
3180
|
interface CardFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
2792
3181
|
}
|
|
3182
|
+
/**
|
|
3183
|
+
* Bottom of a Card, for actions and summary detail.
|
|
3184
|
+
*/
|
|
2793
3185
|
declare const CardFooter: React__default.FC<CardFooterProps>;
|
|
2794
3186
|
|
|
2795
3187
|
/** The three notifications the Charter Sourcing backend currently sends. */
|
|
2796
3188
|
type CharterSourcingEmailVariant = 'admin-review' | 'submitter-approved' | 'submitter-updated';
|
|
2797
3189
|
/** One origin/destination pair included in the email's route summary. */
|
|
2798
3190
|
interface CharterSourcingEmailLeg {
|
|
3191
|
+
/** Departure airport code. */
|
|
2799
3192
|
origin: string;
|
|
3193
|
+
/** Arrival airport code. */
|
|
2800
3194
|
destination: string;
|
|
2801
3195
|
}
|
|
2802
3196
|
/** Contract-backed quote facts shared by all three notifications. */
|
|
2803
3197
|
interface CharterSourcingEmailQuote {
|
|
3198
|
+
/** Sourcing request the quote answers. */
|
|
2804
3199
|
requestId: string;
|
|
3200
|
+
/** Operator quoting the charter. */
|
|
2805
3201
|
carrier: string;
|
|
3202
|
+
/** Aircraft type offered. */
|
|
2806
3203
|
aircraft: string;
|
|
3204
|
+
/** Passenger count the quote covers. */
|
|
2807
3205
|
passengers: string | number;
|
|
3206
|
+
/** Legs in the quoted routing, in travel order. */
|
|
2808
3207
|
legs: readonly CharterSourcingEmailLeg[];
|
|
3208
|
+
/** Outbound travel date. */
|
|
2809
3209
|
outboundDate: string;
|
|
3210
|
+
/** Return travel date. */
|
|
2810
3211
|
returnDate: string;
|
|
3212
|
+
/** Who submitted the quote. */
|
|
2811
3213
|
submittedBy: string;
|
|
2812
3214
|
/**
|
|
2813
3215
|
* Preformatted amount without an assumed currency symbol. The backend only
|
|
@@ -2817,8 +3219,11 @@ interface CharterSourcingEmailQuote {
|
|
|
2817
3219
|
}
|
|
2818
3220
|
/** One scalar value changed by an administrator. */
|
|
2819
3221
|
interface CharterSourcingEmailChange {
|
|
3222
|
+
/** Field that changed. */
|
|
2820
3223
|
label: string;
|
|
3224
|
+
/** Value before the change. */
|
|
2821
3225
|
previousValue: string;
|
|
3226
|
+
/** Value after the change. */
|
|
2822
3227
|
updatedValue: string;
|
|
2823
3228
|
}
|
|
2824
3229
|
/** Hub only sends an update notification when at least one field changed. */
|
|
@@ -2827,20 +3232,26 @@ type CharterSourcingEmailChanges = readonly [
|
|
|
2827
3232
|
...CharterSourcingEmailChange[]
|
|
2828
3233
|
];
|
|
2829
3234
|
interface CharterSourcingEmailPreviewBaseProps {
|
|
3235
|
+
/** Quote the email is about. */
|
|
2830
3236
|
quote: CharterSourcingEmailQuote;
|
|
2831
3237
|
/**
|
|
2832
3238
|
* Original production recipient shown when a non-production environment
|
|
2833
3239
|
* diverts the message to its configured test inbox.
|
|
2834
3240
|
*/
|
|
2835
3241
|
testServerOriginalRecipient?: string;
|
|
3242
|
+
/** Additional CSS class. */
|
|
2836
3243
|
className?: string;
|
|
2837
3244
|
}
|
|
2838
3245
|
/** Props mirror the three real sends; an update must contain at least one change. */
|
|
2839
3246
|
type CharterSourcingEmailPreviewProps = CharterSourcingEmailPreviewBaseProps & ({
|
|
3247
|
+
/** Which of the three sends to preview. */
|
|
2840
3248
|
variant: 'admin-review' | 'submitter-approved';
|
|
3249
|
+
/** Not carried by these sends -- only an update lists changes. */
|
|
2841
3250
|
changes?: never;
|
|
2842
3251
|
} | {
|
|
3252
|
+
/** Which of the three sends to preview. */
|
|
2843
3253
|
variant: 'submitter-updated';
|
|
3254
|
+
/** What changed since the last send. An update must list at least one. */
|
|
2844
3255
|
changes: CharterSourcingEmailChanges;
|
|
2845
3256
|
});
|
|
2846
3257
|
/** The exact comma-separated route label used by the backend subject and body. */
|
|
@@ -2905,6 +3316,107 @@ declare const ContactList: {
|
|
|
2905
3316
|
displayName: string;
|
|
2906
3317
|
};
|
|
2907
3318
|
|
|
3319
|
+
/**
|
|
3320
|
+
* A resolution option a team lead can bulk-apply to selected debit memos.
|
|
3321
|
+
*/
|
|
3322
|
+
interface ResolutionOption {
|
|
3323
|
+
/** Stable value submitted to `onApply`. */
|
|
3324
|
+
value: string;
|
|
3325
|
+
/** Stakeholder-facing label shown in the dropdown. */
|
|
3326
|
+
label: string;
|
|
3327
|
+
}
|
|
3328
|
+
interface DebitMemoBulkActionBarProps {
|
|
3329
|
+
/** The full set of resolution options offered in the dropdown. */
|
|
3330
|
+
resolutionOptions: ResolutionOption[];
|
|
3331
|
+
/** Number of memos currently selected in the grid above/below this bar. */
|
|
3332
|
+
selectedCount: number;
|
|
3333
|
+
/**
|
|
3334
|
+
* Called when the team lead applies a resolution to the current selection.
|
|
3335
|
+
* The bar clears its own dropdown back to the placeholder after a
|
|
3336
|
+
* successful apply; it does not track applied/pending state itself.
|
|
3337
|
+
*/
|
|
3338
|
+
onApply: (resolutionValue: string) => void;
|
|
3339
|
+
/** Disables the whole control, e.g. while a bulk-apply request is in flight. */
|
|
3340
|
+
isSubmitting?: boolean;
|
|
3341
|
+
}
|
|
3342
|
+
/**
|
|
3343
|
+
* Bulk-resolution toolbar for the Debit Memo / Agent Error grid. Lets a team
|
|
3344
|
+
* lead assign one resolution reason to every currently-selected memo instead
|
|
3345
|
+
* of opening and editing each one individually. Composed from the `Select`
|
|
3346
|
+
* and `Button` atoms.
|
|
3347
|
+
*/
|
|
3348
|
+
declare function DebitMemoBulkActionBar({ resolutionOptions, selectedCount, onApply, isSubmitting, }: DebitMemoBulkActionBarProps): React.JSX.Element;
|
|
3349
|
+
|
|
3350
|
+
/**
|
|
3351
|
+
* One ARC debit memo / agent error row as shown in the Employees grid.
|
|
3352
|
+
*/
|
|
3353
|
+
interface DebitMemoRecord {
|
|
3354
|
+
/** Stable row id, also the ARC debit memo number shown as the link text. */
|
|
3355
|
+
id: string;
|
|
3356
|
+
/** Memo type code shown in the Type column, e.g. "DM". */
|
|
3357
|
+
type: string;
|
|
3358
|
+
/** Booking agent name or username who created the underlying booking. */
|
|
3359
|
+
agent: string;
|
|
3360
|
+
/** Branch number the memo is billed against. */
|
|
3361
|
+
branch: string;
|
|
3362
|
+
/** Traveler name, formatted "Last, First". */
|
|
3363
|
+
traveler: string;
|
|
3364
|
+
/** Airline numeric code (ALN) for the memo. */
|
|
3365
|
+
aln: string;
|
|
3366
|
+
/** Original ticket number pulled from the ARC debit memo PDF. */
|
|
3367
|
+
originalTicketNumber: string;
|
|
3368
|
+
/** Memo balance in US dollars. */
|
|
3369
|
+
balance: number;
|
|
3370
|
+
/** Standardized reason pulled from the ARC debit memo PDF. */
|
|
3371
|
+
memoReason: string;
|
|
3372
|
+
/** Date the memo was created, already formatted for display. */
|
|
3373
|
+
dateCreated: string;
|
|
3374
|
+
/** Date the memo was last updated, already formatted for display, if any. */
|
|
3375
|
+
lastUpdated?: string;
|
|
3376
|
+
/** URL to the ARC debit memo PDF the memo number links to. */
|
|
3377
|
+
memoPdfUrl?: string;
|
|
3378
|
+
}
|
|
3379
|
+
interface DebitMemoTableProps {
|
|
3380
|
+
/** Rows to render. Ignored while `isLoading` is true. */
|
|
3381
|
+
memos: DebitMemoRecord[];
|
|
3382
|
+
/** IDs of the currently selected rows (controlled). */
|
|
3383
|
+
selectedIds: string[];
|
|
3384
|
+
/** Called with the full next set of selected IDs on any checkbox change. */
|
|
3385
|
+
onSelectionChange: (selectedIds: string[]) => void;
|
|
3386
|
+
/** Called when a memo number link is activated (opens the ARC PDF). */
|
|
3387
|
+
onOpenMemo?: (memo: DebitMemoRecord) => void;
|
|
3388
|
+
/** Called when a row's edit action is activated. */
|
|
3389
|
+
onEditMemo?: (memo: DebitMemoRecord) => void;
|
|
3390
|
+
/**
|
|
3391
|
+
* Memo reasons that should render with the warning emphasis instead of the
|
|
3392
|
+
* neutral one, e.g. reasons that typically need manual judgment calls.
|
|
3393
|
+
*/
|
|
3394
|
+
emphasizedReasons?: string[];
|
|
3395
|
+
/** Renders the table's own loading row instead of data. */
|
|
3396
|
+
isLoading?: boolean;
|
|
3397
|
+
/** Renders an inline error alert instead of rows. */
|
|
3398
|
+
error?: string;
|
|
3399
|
+
/** Message shown when `memos` is empty and not loading/erroring. */
|
|
3400
|
+
emptyMessage?: string;
|
|
3401
|
+
}
|
|
3402
|
+
/**
|
|
3403
|
+
* The Employees / Debit Memo & Agent Error grid. Shows the standard memo
|
|
3404
|
+
* identity columns alongside three fields pulled directly from the ARC debit
|
|
3405
|
+
* memo PDF (Original Ticket #, Balance, Memo Reason) so a reviewer no longer
|
|
3406
|
+
* has to open each PDF to see them, plus row selection for bulk resolution.
|
|
3407
|
+
* Composed from the shared `Table` organism.
|
|
3408
|
+
*/
|
|
3409
|
+
declare function DebitMemoTable({ memos, selectedIds, onSelectionChange, onOpenMemo, onEditMemo, emphasizedReasons, isLoading, error, emptyMessage, }: DebitMemoTableProps): React.JSX.Element;
|
|
3410
|
+
|
|
3411
|
+
/**
|
|
3412
|
+
* Realistic sample rows for the Debit Memo / Agent Error grid, matching the
|
|
3413
|
+
* shape and values from the stakeholder mockup so Storybook, tests, and the
|
|
3414
|
+
* eventual live data all agree on the same fields.
|
|
3415
|
+
*/
|
|
3416
|
+
declare const DEBIT_MEMO_MOCK_DATA: DebitMemoRecord[];
|
|
3417
|
+
/** Memo reasons that warrant the warning-emphasis pill by default. */
|
|
3418
|
+
declare const DEBIT_MEMO_EMPHASIZED_REASONS: string[];
|
|
3419
|
+
|
|
2908
3420
|
type DrawerPosition = 'left' | 'right' | 'top' | 'bottom';
|
|
2909
3421
|
type DrawerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
2910
3422
|
interface DrawerProps {
|
|
@@ -2956,9 +3468,22 @@ interface DrawerFooterProps {
|
|
|
2956
3468
|
/** Additional CSS class */
|
|
2957
3469
|
className?: string;
|
|
2958
3470
|
}
|
|
3471
|
+
/**
|
|
3472
|
+
* Top of a Drawer: title and the close affordance.
|
|
3473
|
+
*/
|
|
2959
3474
|
declare const DrawerHeader: React__default.FC<DrawerHeaderProps>;
|
|
3475
|
+
/**
|
|
3476
|
+
* Scrollable content region of a Drawer.
|
|
3477
|
+
*/
|
|
2960
3478
|
declare const DrawerBody: React__default.FC<DrawerBodyProps>;
|
|
3479
|
+
/**
|
|
3480
|
+
* Bottom of a Drawer, for actions that stay visible while the body scrolls.
|
|
3481
|
+
*/
|
|
2961
3482
|
declare const DrawerFooter: React__default.FC<DrawerFooterProps>;
|
|
3483
|
+
/**
|
|
3484
|
+
* Panel sliding in from an edge for secondary work that keeps the page behind it
|
|
3485
|
+
* in context. Traps focus while open and closes on Escape or backdrop click.
|
|
3486
|
+
*/
|
|
2962
3487
|
declare const Drawer: React__default.FC<DrawerProps> & {
|
|
2963
3488
|
Header: typeof DrawerHeader;
|
|
2964
3489
|
Body: typeof DrawerBody;
|
|
@@ -2966,26 +3491,42 @@ declare const Drawer: React__default.FC<DrawerProps> & {
|
|
|
2966
3491
|
};
|
|
2967
3492
|
|
|
2968
3493
|
interface TravelDueDateItem {
|
|
3494
|
+
/** Date the task is due. */
|
|
2969
3495
|
duedate: string;
|
|
3496
|
+
/** When the task was completed. Empty while it is outstanding. */
|
|
2970
3497
|
completeddatetime: string;
|
|
3498
|
+
/** Short task name. */
|
|
2971
3499
|
tasktitle: string;
|
|
3500
|
+
/** Identifier for the task. */
|
|
2972
3501
|
taskid: number;
|
|
3502
|
+
/** Workflow status text as the source system reports it. */
|
|
2973
3503
|
status: string;
|
|
3504
|
+
/** Who completed the task. */
|
|
2974
3505
|
completedby: string;
|
|
3506
|
+
/** Longer explanation of what the task requires. */
|
|
2975
3507
|
description: string;
|
|
3508
|
+
/** Travel service the task belongs to (air, ground, hotel). */
|
|
2976
3509
|
servicetype?: string;
|
|
3510
|
+
/** Sport the task belongs to. */
|
|
2977
3511
|
sportCode: string;
|
|
3512
|
+
/** Trip the task belongs to. */
|
|
2978
3513
|
tripId: string;
|
|
3514
|
+
/** Name of that trip, for display without a second lookup. */
|
|
2979
3515
|
tripName: string;
|
|
3516
|
+
/** Master trip the task rolls up to, used to open the trip from a task. */
|
|
2980
3517
|
masterTripGUID?: string;
|
|
2981
3518
|
/** Set by the API when the due date has passed; used by `overdueOnly`. */
|
|
2982
3519
|
pastdue?: boolean;
|
|
2983
3520
|
}
|
|
2984
3521
|
type GroupedTravelDueDates = Record<string, TravelDueDateItem[]>;
|
|
2985
3522
|
interface DueDatesDrawerProps {
|
|
3523
|
+
/** Whether the drawer is open. */
|
|
2986
3524
|
isOpen: boolean;
|
|
3525
|
+
/** Tasks to show, already grouped by date. */
|
|
2987
3526
|
dueDates: GroupedTravelDueDates;
|
|
3527
|
+
/** Date to focus when opening from a calendar day. */
|
|
2988
3528
|
selectedDate?: string | null;
|
|
3529
|
+
/** Trip to focus when opening from a trip. */
|
|
2989
3530
|
selectedTrip?: string | null;
|
|
2990
3531
|
/**
|
|
2991
3532
|
* NG-702/NG-811: opened via the Overdue Actions card — only past-due,
|
|
@@ -2993,11 +3534,20 @@ interface DueDatesDrawerProps {
|
|
|
2993
3534
|
* rather than showing every due date.
|
|
2994
3535
|
*/
|
|
2995
3536
|
overdueOnly?: boolean;
|
|
3537
|
+
/** Called when the user dismisses the drawer. */
|
|
2996
3538
|
onClose: () => void;
|
|
3539
|
+
/** Called with the task the user marked complete or incomplete. */
|
|
2997
3540
|
onToggle?: (item: TravelDueDateItem) => void;
|
|
3541
|
+
/** Called with the master trip of the task the user opened. */
|
|
2998
3542
|
onTaskClick?: (masterTripGUID: string) => void;
|
|
3543
|
+
/** Additional CSS class. */
|
|
2999
3544
|
className?: string;
|
|
3000
3545
|
}
|
|
3546
|
+
/**
|
|
3547
|
+
* Whether a task counts as done.
|
|
3548
|
+
* Treats a completion timestamp as authoritative, since the source systems do not
|
|
3549
|
+
* always write the status text back.
|
|
3550
|
+
*/
|
|
3001
3551
|
declare const isTravelDueDateCompleted: (item: Pick<TravelDueDateItem, "status" | "completeddatetime">) => boolean;
|
|
3002
3552
|
declare const isTravelDueDateOverdue: (item: Pick<TravelDueDateItem, "completeddatetime" | "pastdue">) => boolean;
|
|
3003
3553
|
/** Hub's searchable, status-aware due-dates drawer. */
|
|
@@ -3093,16 +3643,32 @@ declare namespace GridTable {
|
|
|
3093
3643
|
}
|
|
3094
3644
|
|
|
3095
3645
|
interface HubNavigationItem {
|
|
3646
|
+
/** Stable id, matched against `activeNavKey` to mark the current destination. */
|
|
3096
3647
|
key: string;
|
|
3648
|
+
/** Visible text for the entry. */
|
|
3097
3649
|
label: string;
|
|
3650
|
+
/** Route the entry points at. The shell reports it back rather than navigating itself. */
|
|
3098
3651
|
path: string;
|
|
3652
|
+
/** Icon shown beside the label, and alone when the rail is collapsed. */
|
|
3099
3653
|
icon: ReactNode;
|
|
3100
3654
|
}
|
|
3655
|
+
/**
|
|
3656
|
+
* Individual Travel entry, kept separate because not every account has it.
|
|
3657
|
+
*/
|
|
3101
3658
|
declare const HUB_INDIVIDUAL_TRAVEL_ITEM: HubNavigationItem;
|
|
3102
3659
|
/** Canonical navigation identity for the carrier-facing STM Charters portal. */
|
|
3103
3660
|
declare const HUB_STM_CHARTERS_ITEM: HubNavigationItem;
|
|
3661
|
+
/**
|
|
3662
|
+
* The default primary navigation, in display order.
|
|
3663
|
+
*/
|
|
3104
3664
|
declare const HUB_NAV_ITEMS: HubNavigationItem[];
|
|
3665
|
+
/**
|
|
3666
|
+
* Administration entry, shown in the footer to admins.
|
|
3667
|
+
*/
|
|
3105
3668
|
declare const HUB_ADMIN_ITEM: HubNavigationItem;
|
|
3669
|
+
/**
|
|
3670
|
+
* Agent workspace entry, shown in the footer to admins.
|
|
3671
|
+
*/
|
|
3106
3672
|
declare const HUB_AGENTS_ITEM: HubNavigationItem;
|
|
3107
3673
|
/**
|
|
3108
3674
|
* Sourcing sits with the admin-gated footer items rather than in `HUB_NAV_ITEMS`: the
|
|
@@ -3112,46 +3678,70 @@ declare const HUB_SOURCING_ITEM: HubNavigationItem;
|
|
|
3112
3678
|
/** Off-fleet quote review is an admin surface too, so it is gated the same way. */
|
|
3113
3679
|
declare const HUB_OFF_FLEET_ITEM: HubNavigationItem;
|
|
3114
3680
|
interface HubAppShellActions {
|
|
3681
|
+
/** Whether the mobile navigation drawer is currently open. */
|
|
3115
3682
|
isMobileNavOpen: boolean;
|
|
3683
|
+
/** Opens or closes the mobile navigation drawer. */
|
|
3116
3684
|
toggleMobileNav: () => void;
|
|
3117
3685
|
}
|
|
3118
3686
|
interface HubAppShellProps {
|
|
3687
|
+
/** Page content rendered inside the shell. */
|
|
3119
3688
|
children: ReactNode;
|
|
3689
|
+
/** Primary navigation entries. Defaults to the standard Hub set. */
|
|
3120
3690
|
navItems?: HubNavigationItem[];
|
|
3121
3691
|
/** Set to `null` when Individual Travel is not available to the current user or account. */
|
|
3122
3692
|
individualTravelItem?: HubNavigationItem | null;
|
|
3693
|
+
/** Agent workspace entry, rendered in the footer and gated on `isAdmin`. */
|
|
3123
3694
|
agentsItem?: HubNavigationItem;
|
|
3124
3695
|
/** ACMI sourcing entry, rendered in the footer and shown only when `isAdmin` is true. */
|
|
3125
3696
|
sourcingItem?: HubNavigationItem;
|
|
3126
3697
|
/** Off-fleet quote review entry, rendered in the footer and gated on `isAdmin`. */
|
|
3127
3698
|
offFleetItem?: HubNavigationItem;
|
|
3699
|
+
/** Administration entry, rendered in the footer and gated on `isAdmin`. */
|
|
3128
3700
|
adminItem?: HubNavigationItem;
|
|
3129
3701
|
/**
|
|
3130
3702
|
* Authoritative footer navigation. When provided (including an empty array),
|
|
3131
3703
|
* it replaces the default admin-gated Sourcing, Off-Fleet, Agents, and Administration items.
|
|
3132
3704
|
*/
|
|
3133
3705
|
footerNavItems?: HubNavigationItem[];
|
|
3706
|
+
/** Key of the entry to mark as current. */
|
|
3134
3707
|
activeNavKey?: string;
|
|
3708
|
+
/** Called with the entry the user picked. The host performs the routing. */
|
|
3135
3709
|
onNavigate?: (item: HubNavigationItem) => void;
|
|
3710
|
+
/** Called when the user activates the logo. */
|
|
3136
3711
|
onLogoClick?: () => void;
|
|
3712
|
+
/** Called when the user chooses to hand off to the legacy portal. */
|
|
3137
3713
|
onLegacyPortal?: () => void;
|
|
3714
|
+
/** Account switcher rendered in the top bar. */
|
|
3138
3715
|
accountSelector?: ReactNode;
|
|
3716
|
+
/** Renders top bar actions, given the shell state so they can drive the mobile nav. */
|
|
3139
3717
|
renderTopbarActions?: (actions: HubAppShellActions) => ReactNode;
|
|
3718
|
+
/** Renders extra content inside the mobile drawer, given a callback that closes it. */
|
|
3140
3719
|
renderMobileExtras?: (close: () => void) => ReactNode;
|
|
3720
|
+
/** Content pinned to the bottom of the mobile drawer. */
|
|
3141
3721
|
mobileFooter?: ReactNode;
|
|
3722
|
+
/** Profile menu rendered in the top bar. */
|
|
3142
3723
|
profileMenu?: ReactNode;
|
|
3724
|
+
/** Initials shown in the top bar when no profile menu is supplied. */
|
|
3143
3725
|
userInitials?: string;
|
|
3726
|
+
/** Whether the current user sees the admin-gated footer entries. */
|
|
3144
3727
|
isAdmin?: boolean;
|
|
3728
|
+
/** Renders navigation as non-interactive, for loading and restricted states. */
|
|
3145
3729
|
navigationDisabled?: boolean;
|
|
3730
|
+
/** Shows the shell in its loading state. */
|
|
3146
3731
|
loading?: boolean;
|
|
3732
|
+
/** Renders the content area as non-interactive while an operation blocks it. */
|
|
3147
3733
|
contentDisabled?: boolean;
|
|
3734
|
+
/** Whether to render children at all. Set false to hold the frame while content resolves. */
|
|
3148
3735
|
showContent?: boolean;
|
|
3149
|
-
/**
|
|
3736
|
+
/** Overrides the default brand mark, shown while the side rail is expanded. */
|
|
3150
3737
|
logo?: ReactNode;
|
|
3151
|
-
/**
|
|
3738
|
+
/** Overrides the brand mark shown while the side rail is collapsed, where only an icon fits. */
|
|
3152
3739
|
collapsedLogo?: ReactNode;
|
|
3740
|
+
/** Whether the side rail starts expanded. */
|
|
3153
3741
|
defaultExpanded?: boolean;
|
|
3742
|
+
/** Beta tag shown beside the brand mark. */
|
|
3154
3743
|
betaLabel?: string;
|
|
3744
|
+
/** Additional CSS class. */
|
|
3155
3745
|
className?: string;
|
|
3156
3746
|
}
|
|
3157
3747
|
/** The shared application navigation and content shell used by Hub and its Storybook pages. */
|
|
@@ -3421,11 +4011,17 @@ declare const MembershipPrograms: {
|
|
|
3421
4011
|
};
|
|
3422
4012
|
|
|
3423
4013
|
interface ManifestCapacityStatsProps {
|
|
4014
|
+
/** Passengers currently manifested. */
|
|
3424
4015
|
paxCount: number;
|
|
4016
|
+
/** Seats available on the aircraft. */
|
|
3425
4017
|
seats: number;
|
|
4018
|
+
/** Total passenger weight, in pounds. */
|
|
3426
4019
|
paxWeight: number;
|
|
4020
|
+
/** Total cargo and equipment weight, in pounds. */
|
|
3427
4021
|
cargoWeight: number;
|
|
4022
|
+
/** Maximum payload the aircraft can carry, in pounds. */
|
|
3428
4023
|
payloadLimit: number;
|
|
4024
|
+
/** Additional CSS class. */
|
|
3429
4025
|
className?: string;
|
|
3430
4026
|
}
|
|
3431
4027
|
/** Advisory seat and payload meters from Hub's charter manifest. */
|
|
@@ -3454,11 +4050,21 @@ interface ModalProps {
|
|
|
3454
4050
|
/** Additional CSS class */
|
|
3455
4051
|
className?: string;
|
|
3456
4052
|
}
|
|
4053
|
+
/**
|
|
4054
|
+
* Dialog that interrupts the page until the user resolves it.
|
|
4055
|
+
* Traps focus, closes on Escape, and restores focus to the trigger on close.
|
|
4056
|
+
* Use an Alert instead when the user does not have to act.
|
|
4057
|
+
*/
|
|
3457
4058
|
declare const Modal: React__default.FC<ModalProps>;
|
|
3458
4059
|
interface ModalFooterProps {
|
|
4060
|
+
/** Footer content, usually the confirm and cancel actions. */
|
|
3459
4061
|
children: React__default.ReactNode;
|
|
4062
|
+
/** Additional CSS class. */
|
|
3460
4063
|
className?: string;
|
|
3461
4064
|
}
|
|
4065
|
+
/**
|
|
4066
|
+
* Action row for the bottom of a Modal, keeping button order consistent across dialogs.
|
|
4067
|
+
*/
|
|
3462
4068
|
declare const ModalFooter: React__default.FC<ModalFooterProps>;
|
|
3463
4069
|
interface ConfirmModalProps extends Omit<ModalProps, 'footer' | 'children'> {
|
|
3464
4070
|
/** Message to display */
|
|
@@ -3474,6 +4080,10 @@ interface ConfirmModalProps extends Omit<ModalProps, 'footer' | 'children'> {
|
|
|
3474
4080
|
/** Whether confirm action is in progress */
|
|
3475
4081
|
loading?: boolean;
|
|
3476
4082
|
}
|
|
4083
|
+
/**
|
|
4084
|
+
* Modal preset for confirming a single action, with the confirm and cancel
|
|
4085
|
+
* buttons already wired.
|
|
4086
|
+
*/
|
|
3477
4087
|
declare const ConfirmModal: React__default.FC<ConfirmModalProps>;
|
|
3478
4088
|
|
|
3479
4089
|
type ModuleSize = 'sm' | 'md' | 'lg';
|
|
@@ -3534,21 +4144,34 @@ declare const ModuleVerticalDivider: React__default.FC<{
|
|
|
3534
4144
|
}>;
|
|
3535
4145
|
|
|
3536
4146
|
interface SystemBanner {
|
|
4147
|
+
/** Identifier for the banner, used to key and dismiss it. */
|
|
3537
4148
|
id: string;
|
|
4149
|
+
/** Banner body as trusted HTML from the announcements system. */
|
|
3538
4150
|
html: string;
|
|
4151
|
+
/** Expanded detail revealed when the reader opens the banner. */
|
|
3539
4152
|
detailHtml?: string;
|
|
3540
4153
|
}
|
|
3541
4154
|
interface TravelAlertBanner {
|
|
4155
|
+
/** Identifier for the alert. */
|
|
3542
4156
|
id: string;
|
|
4157
|
+
/** Headline summarizing the disruption. */
|
|
3543
4158
|
title: string;
|
|
4159
|
+
/** Supporting detail. */
|
|
3544
4160
|
body?: string;
|
|
4161
|
+
/** Link to the full advisory. */
|
|
3545
4162
|
href?: string;
|
|
3546
4163
|
}
|
|
3547
4164
|
interface PageBannersProps {
|
|
4165
|
+
/** Platform-wide notices such as maintenance windows. */
|
|
3548
4166
|
systemBanners: SystemBanner[];
|
|
4167
|
+
/** Travel alerts affecting trips, such as weather or carrier disruption. */
|
|
3549
4168
|
alertBanners: TravelAlertBanner[];
|
|
4169
|
+
/** Additional CSS class. */
|
|
3550
4170
|
className?: string;
|
|
3551
4171
|
}
|
|
4172
|
+
/**
|
|
4173
|
+
* Stacked notices for the top of a page: platform notices first, then travel alerts.
|
|
4174
|
+
*/
|
|
3552
4175
|
declare const PageBanners: ({ systemBanners, alertBanners, className, }: PageBannersProps) => React.JSX.Element | null;
|
|
3553
4176
|
|
|
3554
4177
|
interface PreferenceField {
|
|
@@ -4098,6 +4721,9 @@ interface TableProps<T = any> {
|
|
|
4098
4721
|
/** Additional CSS class */
|
|
4099
4722
|
className?: string;
|
|
4100
4723
|
}
|
|
4724
|
+
/**
|
|
4725
|
+
* Data table with sorting, selection, and empty and loading states.
|
|
4726
|
+
*/
|
|
4101
4727
|
declare const Table: <T extends Record<string, any> = any>({ columns, data, rowKey, bordered, striped, hoverable, compact, loading, emptyMessage, emptyContent, selectable, selectedRowKeys, defaultSelectedRowKeys, onSelectionChange, isRowSelectable, rowSelectionLabel, selectAllLabel, onRowClick, className, }: TableProps<T>) => React__default.JSX.Element;
|
|
4102
4728
|
|
|
4103
4729
|
interface TeamOption {
|
|
@@ -4132,61 +4758,106 @@ declare const TeamCard: {
|
|
|
4132
4758
|
|
|
4133
4759
|
type TeamContactId = string | number;
|
|
4134
4760
|
interface TeamContactOption {
|
|
4761
|
+
/** Identifier reported back through the selected contact ids. */
|
|
4135
4762
|
id: TeamContactId;
|
|
4763
|
+
/** Contact name shown in the picker. */
|
|
4136
4764
|
name: string;
|
|
4765
|
+
/** Role at the school, shown beside the name. */
|
|
4137
4766
|
title?: string;
|
|
4767
|
+
/** Contact email address. */
|
|
4138
4768
|
email?: string;
|
|
4769
|
+
/** Contact phone number. */
|
|
4139
4770
|
phone?: string;
|
|
4771
|
+
/** Whether the contact is still active. Inactive contacts stay selectable so existing assignments survive. */
|
|
4140
4772
|
active?: boolean;
|
|
4141
4773
|
}
|
|
4142
4774
|
interface TeamContactsValue {
|
|
4775
|
+
/** Contact who owns the trip. */
|
|
4143
4776
|
primaryContactId?: TeamContactId;
|
|
4777
|
+
/** Backup contact. */
|
|
4144
4778
|
secondaryContactId?: TeamContactId;
|
|
4779
|
+
/** Contacts copied on correspondence. Holes are kept so empty rows stay in place while editing. */
|
|
4145
4780
|
ccContactIds?: Array<TeamContactId | undefined>;
|
|
4146
4781
|
}
|
|
4147
4782
|
interface TeamContactsLoadingState {
|
|
4783
|
+
/** Whether the primary contact is being saved. */
|
|
4148
4784
|
primary?: boolean;
|
|
4785
|
+
/** Whether the secondary contact is being saved. */
|
|
4149
4786
|
secondary?: boolean;
|
|
4787
|
+
/** Per-row save state for the copied contacts, positionally matched to `ccContactIds`. */
|
|
4150
4788
|
cc?: boolean[];
|
|
4151
4789
|
}
|
|
4152
4790
|
interface TeamContactsPanelProps {
|
|
4791
|
+
/** Contacts available to assign. */
|
|
4153
4792
|
contacts: TeamContactOption[];
|
|
4793
|
+
/** Currently assigned contacts. */
|
|
4154
4794
|
value: TeamContactsValue;
|
|
4795
|
+
/** Called with the full assignment after any change. */
|
|
4155
4796
|
onChange?: (value: TeamContactsValue) => void;
|
|
4797
|
+
/** Disables every picker. */
|
|
4156
4798
|
disabled?: boolean;
|
|
4799
|
+
/** Per-slot save state, for showing progress on the row being written. */
|
|
4157
4800
|
loading?: TeamContactsLoadingState;
|
|
4801
|
+
/** Stable hook for acceptance and visual tests. */
|
|
4158
4802
|
dataTestId?: string;
|
|
4803
|
+
/** Additional CSS class. */
|
|
4159
4804
|
className?: string;
|
|
4160
4805
|
}
|
|
4806
|
+
/**
|
|
4807
|
+
* Assigns a team's primary, secondary, and copied travel contacts.
|
|
4808
|
+
* Each slot saves independently, so `loading` is per slot rather than per panel.
|
|
4809
|
+
*/
|
|
4161
4810
|
declare const TeamContactsPanel: {
|
|
4162
4811
|
({ contacts, value, onChange, disabled, loading, dataTestId, className, }: TeamContactsPanelProps): React.JSX.Element;
|
|
4163
4812
|
displayName: string;
|
|
4164
4813
|
};
|
|
4165
4814
|
|
|
4166
4815
|
interface SeasonOption {
|
|
4816
|
+
/** Value reported through `onSeasonChange` when this season is picked. */
|
|
4167
4817
|
value: string;
|
|
4818
|
+
/** Visible season text. */
|
|
4168
4819
|
label: string;
|
|
4169
4820
|
}
|
|
4170
4821
|
interface TeamScheduleActionsProps {
|
|
4822
|
+
/** Whether the schedule is currently in its compact layout. */
|
|
4171
4823
|
isCompactView: boolean;
|
|
4824
|
+
/** Number of trips in the current season, shown in the summary. */
|
|
4172
4825
|
tripCount: number;
|
|
4826
|
+
/** Label for the season currently shown. */
|
|
4173
4827
|
seasonLabel: string;
|
|
4828
|
+
/** Value of the selected season, when a season picker is offered. */
|
|
4174
4829
|
seasonValue?: string;
|
|
4830
|
+
/** Seasons available to pick from. Omit to show only the stepper arrows. */
|
|
4175
4831
|
seasonOptions?: SeasonOption[];
|
|
4832
|
+
/** Disables stepping back, at the earliest season on record. */
|
|
4176
4833
|
previousSeasonDisabled?: boolean;
|
|
4834
|
+
/** Disables export, when there is nothing to export. */
|
|
4177
4835
|
exportDisabled?: boolean;
|
|
4836
|
+
/** Shows export as in progress. */
|
|
4178
4837
|
exporting?: boolean;
|
|
4838
|
+
/** Disables raising a group travel request. */
|
|
4179
4839
|
groupTravelDisabled?: boolean;
|
|
4840
|
+
/** Disables merging events. */
|
|
4180
4841
|
mergeDisabled?: boolean;
|
|
4842
|
+
/** Shows the merge as in progress. */
|
|
4181
4843
|
merging?: boolean;
|
|
4844
|
+
/** Called when the user switches between compact and full schedule layouts. */
|
|
4182
4845
|
onViewSchedule?: () => void;
|
|
4846
|
+
/** Called when the user leaves the schedule. */
|
|
4183
4847
|
onBack?: () => void;
|
|
4848
|
+
/** Called when the user steps to the previous season. */
|
|
4184
4849
|
onPreviousSeason?: () => void;
|
|
4850
|
+
/** Called when the user steps to the next season. */
|
|
4185
4851
|
onNextSeason?: () => void;
|
|
4852
|
+
/** Called with the season the user picked. */
|
|
4186
4853
|
onSeasonChange?: (value: string) => void;
|
|
4854
|
+
/** Called when the user exports the schedule. */
|
|
4187
4855
|
onExport?: () => void;
|
|
4856
|
+
/** Called when the user raises a group travel request. */
|
|
4188
4857
|
onGroupTravelRequest?: () => void;
|
|
4858
|
+
/** Called when the user merges duplicate events. */
|
|
4189
4859
|
onMergeEvents?: () => void;
|
|
4860
|
+
/** Additional CSS class. */
|
|
4190
4861
|
className?: string;
|
|
4191
4862
|
}
|
|
4192
4863
|
/** Exact presentational counterpart of Hub's Team Schedule action controls. */
|
|
@@ -4194,18 +4865,29 @@ declare const TeamScheduleActions: ({ isCompactView, tripCount, seasonLabel, sea
|
|
|
4194
4865
|
|
|
4195
4866
|
/** @deprecated Legacy injected row. Prefer the structured `data` prop. */
|
|
4196
4867
|
interface TeamScheduleCompactRow {
|
|
4868
|
+
/** Identifier for the row. */
|
|
4197
4869
|
id: string | number;
|
|
4870
|
+
/** Rendered trip cell. */
|
|
4198
4871
|
trip: ReactNode;
|
|
4872
|
+
/** Rendered events cell. */
|
|
4199
4873
|
events: ReactNode;
|
|
4200
4874
|
}
|
|
4201
4875
|
interface TeamScheduleCompactEvent {
|
|
4876
|
+
/** Identifier for the event. */
|
|
4202
4877
|
id: string | number;
|
|
4878
|
+
/** Opposing school. */
|
|
4203
4879
|
opponent: string;
|
|
4880
|
+
/** Event name. */
|
|
4204
4881
|
title: string;
|
|
4882
|
+
/** Date the event is played. */
|
|
4205
4883
|
date: string;
|
|
4884
|
+
/** Start time, when one is set. */
|
|
4206
4885
|
time?: string;
|
|
4886
|
+
/** Marker shown while the date or time is still to be confirmed. */
|
|
4207
4887
|
tbc?: string;
|
|
4888
|
+
/** Where the event is played. */
|
|
4208
4889
|
location: string;
|
|
4890
|
+
/** Whether the event is home or away. */
|
|
4209
4891
|
homeAway: string;
|
|
4210
4892
|
/** Leading 48px cell (e.g. checkbox or drag handle). */
|
|
4211
4893
|
leading?: ReactNode;
|
|
@@ -4213,14 +4895,21 @@ interface TeamScheduleCompactEvent {
|
|
|
4213
4895
|
action?: ReactNode;
|
|
4214
4896
|
}
|
|
4215
4897
|
interface TeamScheduleCompactTrip {
|
|
4898
|
+
/** Identifier for the trip. */
|
|
4216
4899
|
id: string | number;
|
|
4900
|
+
/** Rendered group travel request indicator. */
|
|
4217
4901
|
gtr?: ReactNode;
|
|
4902
|
+
/** First day of travel. */
|
|
4218
4903
|
travelStart: string;
|
|
4904
|
+
/** Last day of travel. */
|
|
4219
4905
|
travelEnd: string;
|
|
4906
|
+
/** Trip name. */
|
|
4220
4907
|
tripName: string;
|
|
4908
|
+
/** Rendered summary of the travel services on the trip. */
|
|
4221
4909
|
services?: ReactNode;
|
|
4222
4910
|
/** Trailing 116px cell (e.g. Edit action). */
|
|
4223
4911
|
action?: ReactNode;
|
|
4912
|
+
/** Competitions the trip covers. */
|
|
4224
4913
|
events: TeamScheduleCompactEvent[];
|
|
4225
4914
|
}
|
|
4226
4915
|
interface TeamScheduleCompactTableProps {
|
|
@@ -4233,19 +4922,25 @@ interface TeamScheduleCompactTableProps {
|
|
|
4233
4922
|
rows?: TeamScheduleCompactRow[];
|
|
4234
4923
|
/** Header labels for legacy `rows` mode only. */
|
|
4235
4924
|
tripHeaders?: ReactNode[];
|
|
4925
|
+
/** Header labels for the event columns in legacy `rows` mode only. */
|
|
4236
4926
|
eventHeaders?: ReactNode[];
|
|
4927
|
+
/** Called when the user adds an event. */
|
|
4237
4928
|
onAddEvent?: () => void;
|
|
4929
|
+
/** Disables adding an event. */
|
|
4238
4930
|
addEventDisabled?: boolean;
|
|
4931
|
+
/** Additional CSS class. */
|
|
4239
4932
|
className?: string;
|
|
4240
4933
|
/** Click trip column headers to sort. */
|
|
4241
4934
|
enableSorting?: boolean;
|
|
4242
4935
|
/** Search box matching trip and event text. */
|
|
4243
4936
|
enableGlobalFilter?: boolean;
|
|
4937
|
+
/** Placeholder for the search box. */
|
|
4244
4938
|
globalFilterPlaceholder?: string;
|
|
4245
4939
|
/** Per-column text filters under the trip headers. */
|
|
4246
4940
|
enableColumnFilters?: boolean;
|
|
4247
4941
|
/** Page the trips with prev/next controls. */
|
|
4248
4942
|
enablePagination?: boolean;
|
|
4943
|
+
/** Trips per page when pagination is on. */
|
|
4249
4944
|
pageSize?: number;
|
|
4250
4945
|
/** Checkbox per trip plus a select-all header checkbox. */
|
|
4251
4946
|
enableRowSelection?: boolean;
|
|
@@ -4260,26 +4955,43 @@ interface TeamScheduleCompactTableProps {
|
|
|
4260
4955
|
declare const TeamScheduleCompactTable: ({ data, rows, tripHeaders, eventHeaders, onAddEvent, addEventDisabled, className, enableSorting, enableGlobalFilter, globalFilterPlaceholder, enableColumnFilters, enablePagination, pageSize, enableRowSelection, onRowSelectionChange, enableColumnVisibility, enableExpanding, }: TeamScheduleCompactTableProps) => React.JSX.Element;
|
|
4261
4956
|
|
|
4262
4957
|
interface TeamScheduleDueDate {
|
|
4958
|
+
/** Identifier for the task. */
|
|
4263
4959
|
id?: string | number;
|
|
4960
|
+
/** Short task name. */
|
|
4264
4961
|
title: string;
|
|
4962
|
+
/** Date the task is due. */
|
|
4265
4963
|
date: string;
|
|
4266
4964
|
}
|
|
4267
4965
|
interface TeamScheduleExpandedRow {
|
|
4966
|
+
/** Stable identifier for the trip. */
|
|
4268
4967
|
masterTripGUID: string;
|
|
4968
|
+
/** Sport the trip belongs to. */
|
|
4269
4969
|
sportCode?: string;
|
|
4970
|
+
/** First day of travel. */
|
|
4270
4971
|
travelStartDate?: string;
|
|
4972
|
+
/** Last day of travel. */
|
|
4271
4973
|
travelEndDate?: string;
|
|
4974
|
+
/** Trip name. */
|
|
4272
4975
|
tripName: string;
|
|
4976
|
+
/** Outstanding tasks for the trip. */
|
|
4273
4977
|
dueDates?: TeamScheduleDueDate[];
|
|
4978
|
+
/** Rendered air itinerary for the trip. */
|
|
4274
4979
|
airSegment?: ReactNode;
|
|
4980
|
+
/** Rendered ground itinerary for the trip. */
|
|
4275
4981
|
groundSegment?: ReactNode;
|
|
4982
|
+
/** Rendered lodging for the trip. */
|
|
4276
4983
|
hotelSegment?: ReactNode;
|
|
4277
4984
|
}
|
|
4278
4985
|
interface TeamScheduleExpandedTableProps {
|
|
4986
|
+
/** Trips to show, in display order. */
|
|
4279
4987
|
rows: TeamScheduleExpandedRow[];
|
|
4988
|
+
/** Team the schedule belongs to, shown in the header. */
|
|
4280
4989
|
teamCode?: string;
|
|
4990
|
+
/** Called with the trip the user opened. */
|
|
4281
4991
|
onTripClick?: (row: TeamScheduleExpandedRow) => void;
|
|
4992
|
+
/** Text shown when there are no trips. */
|
|
4282
4993
|
emptyMessage?: string;
|
|
4994
|
+
/** Additional CSS class. */
|
|
4283
4995
|
className?: string;
|
|
4284
4996
|
}
|
|
4285
4997
|
declare const formatTeamScheduleTravelDates: (startValue?: string, endValue?: string) => string;
|
|
@@ -4289,20 +5001,33 @@ declare const TeamScheduleExpandedTable: ({ rows, teamCode, onTripClick, emptyMe
|
|
|
4289
5001
|
|
|
4290
5002
|
type TeamScheduleHomeAway = 'Home' | 'Away' | 'Neutral';
|
|
4291
5003
|
interface TeamScheduleEditorEvent {
|
|
5004
|
+
/** Identifier for the event. */
|
|
4292
5005
|
id: string | number;
|
|
5006
|
+
/** Date the event is played. */
|
|
4293
5007
|
eventDate: string;
|
|
5008
|
+
/** Opposing school. */
|
|
4294
5009
|
opponent: string;
|
|
5010
|
+
/** Event name. */
|
|
4295
5011
|
eventTitle: string;
|
|
5012
|
+
/** Whether the event is home or away. */
|
|
4296
5013
|
homeOrAway: TeamScheduleHomeAway;
|
|
5014
|
+
/** Whether the event is a candidate for merging into another. */
|
|
4297
5015
|
mergeable?: boolean;
|
|
4298
5016
|
}
|
|
4299
5017
|
interface TeamScheduleEditorTrip {
|
|
5018
|
+
/** Identifier for the trip. */
|
|
4300
5019
|
id: string | number;
|
|
5020
|
+
/** Whether a group travel request has already been raised for the trip. */
|
|
4301
5021
|
gtrExists?: boolean;
|
|
5022
|
+
/** First day of travel. */
|
|
4302
5023
|
travelStartDate: string;
|
|
5024
|
+
/** Last day of travel. */
|
|
4303
5025
|
travelEndDate: string;
|
|
5026
|
+
/** Trip name. */
|
|
4304
5027
|
tripName: string;
|
|
5028
|
+
/** Travel services on the trip, as codes or a preformatted summary. */
|
|
4305
5029
|
services: string[] | string;
|
|
5030
|
+
/** Competitions the trip covers. */
|
|
4306
5031
|
events: TeamScheduleEditorEvent[];
|
|
4307
5032
|
}
|
|
4308
5033
|
interface TeamScheduleEditorProps {
|
|
@@ -4314,113 +5039,219 @@ interface TeamScheduleEditorProps {
|
|
|
4314
5039
|
opponentOptions?: string[];
|
|
4315
5040
|
/** Called after any saved edit or deletion. */
|
|
4316
5041
|
onChange?: (rows: TeamScheduleEditorTrip[]) => void;
|
|
5042
|
+
/** Called with the trip the user saved. */
|
|
4317
5043
|
onSaveTrip?: (trip: TeamScheduleEditorTrip) => void;
|
|
5044
|
+
/** Called with the trip the user deleted. */
|
|
4318
5045
|
onDeleteTrip?: (trip: TeamScheduleEditorTrip) => void;
|
|
5046
|
+
/** Called with the event the user saved, and its trip when it has one. */
|
|
4319
5047
|
onSaveEvent?: (event: TeamScheduleEditorEvent, trip?: TeamScheduleEditorTrip) => void;
|
|
5048
|
+
/** Called with the event the user deleted and the trip it came from. */
|
|
4320
5049
|
onDeleteEvent?: (event: TeamScheduleEditorEvent, trip: TeamScheduleEditorTrip) => void;
|
|
5050
|
+
/** Called with the trip the user raised a group travel request for. */
|
|
4321
5051
|
onOpenGroupTravelRequest?: (trip: TeamScheduleEditorTrip) => void;
|
|
5052
|
+
/** Called with the ids of the currently selected trips. */
|
|
4322
5053
|
onSelectedTripsChange?: (ids: Array<string | number>) => void;
|
|
5054
|
+
/** Called with the ids of the currently selected events. */
|
|
4323
5055
|
onSelectedEventsChange?: (ids: Array<string | number>) => void;
|
|
5056
|
+
/** Additional CSS class. */
|
|
4324
5057
|
className?: string;
|
|
4325
5058
|
}
|
|
5059
|
+
/**
|
|
5060
|
+
* Inline editor for a team's season: trips, and the events inside each trip.
|
|
5061
|
+
* Works controlled via `rows` or uncontrolled via `initialRows`.
|
|
5062
|
+
*/
|
|
4326
5063
|
declare const TeamScheduleEditor: ({ rows, initialRows, opponentOptions, onChange, onSaveTrip, onDeleteTrip, onSaveEvent, onDeleteEvent, onOpenGroupTravelRequest, onSelectedTripsChange, onSelectedEventsChange, className, }: TeamScheduleEditorProps) => React.JSX.Element;
|
|
4327
5064
|
|
|
4328
5065
|
type TeamTravelCalendarDuration = 'month' | 'week';
|
|
4329
5066
|
type TeamTravelCalendarItemType = 'trips' | 'due_dates';
|
|
4330
5067
|
interface TeamTravelCalendarDueDate {
|
|
5068
|
+
/** Identifier for the task, unique within the trip. */
|
|
4331
5069
|
taskid: number | string;
|
|
5070
|
+
/** Date the task is due. */
|
|
4332
5071
|
duedate: string;
|
|
5072
|
+
/** Short task name shown on the calendar. */
|
|
4333
5073
|
tasktitle: string;
|
|
5074
|
+
/** Longer explanation of what the task requires. */
|
|
4334
5075
|
description?: string;
|
|
5076
|
+
/** Workflow status of the task. */
|
|
4335
5077
|
status?: string;
|
|
5078
|
+
/** When the task was completed, absent while it is outstanding. */
|
|
4336
5079
|
completeddatetime?: string;
|
|
5080
|
+
/** Who completed the task. */
|
|
4337
5081
|
completedby?: string;
|
|
5082
|
+
/** Travel service the task belongs to (air, ground, hotel). */
|
|
4338
5083
|
servicetype?: string;
|
|
5084
|
+
/** Sport the task belongs to. */
|
|
4339
5085
|
sportCode?: string;
|
|
5086
|
+
/** Trip the task belongs to. */
|
|
4340
5087
|
tripId?: string;
|
|
5088
|
+
/** Name of that trip, for display without a second lookup. */
|
|
4341
5089
|
tripName?: string;
|
|
5090
|
+
/** Start date of that trip. */
|
|
4342
5091
|
tripStart?: string;
|
|
5092
|
+
/** Master trip this task rolls up to. */
|
|
4343
5093
|
masterTripGUID?: string;
|
|
4344
5094
|
}
|
|
4345
5095
|
interface TeamTravelCalendarEvent {
|
|
5096
|
+
/** Identifier for the event. */
|
|
4346
5097
|
id?: string | number;
|
|
5098
|
+
/** Event name. */
|
|
4347
5099
|
eventtitle?: string;
|
|
5100
|
+
/** Opposing team. */
|
|
4348
5101
|
opponentname?: string;
|
|
5102
|
+
/** Where the event is played. */
|
|
4349
5103
|
venuename?: string;
|
|
5104
|
+
/** Date the event starts. */
|
|
4350
5105
|
eventstartdate?: string;
|
|
5106
|
+
/** Whether the event is home or away. */
|
|
4351
5107
|
homeoraway?: string;
|
|
4352
5108
|
}
|
|
4353
5109
|
interface TeamTravelCalendarTrip {
|
|
5110
|
+
/** Stable identifier for the trip across systems. */
|
|
4354
5111
|
masterTripGUID: string;
|
|
5112
|
+
/** Numeric trip identifier, where the legacy portal uses one. */
|
|
4355
5113
|
masterTripID?: number | string;
|
|
5114
|
+
/** Sport the trip belongs to. */
|
|
4356
5115
|
sportCode: string;
|
|
5116
|
+
/** First day of travel. */
|
|
4357
5117
|
tripStart: string;
|
|
5118
|
+
/** Last day of travel. */
|
|
4358
5119
|
tripEnd: string;
|
|
5120
|
+
/** Trip name shown on the calendar. */
|
|
4359
5121
|
tripName: string;
|
|
5122
|
+
/** Booking status of the air portion. */
|
|
4360
5123
|
air_status?: string;
|
|
5124
|
+
/** Booking status of the charter portion. */
|
|
4361
5125
|
charter_status?: string;
|
|
5126
|
+
/** Booking status of the ground portion. */
|
|
4362
5127
|
ground_status?: string;
|
|
5128
|
+
/** Booking status of the hotel portion. */
|
|
4363
5129
|
hotel_status?: string;
|
|
5130
|
+
/** Tasks due for this trip. */
|
|
4364
5131
|
duedates?: TeamTravelCalendarDueDate[];
|
|
5132
|
+
/** Competitions this trip covers. */
|
|
4365
5133
|
events?: TeamTravelCalendarEvent[];
|
|
4366
5134
|
}
|
|
4367
5135
|
interface TeamTravelCalendarSportGroup {
|
|
5136
|
+
/** Sport the group covers. */
|
|
4368
5137
|
sportCode: string;
|
|
5138
|
+
/** Human-readable sport name. */
|
|
4369
5139
|
sportDescription: string;
|
|
5140
|
+
/** Number of upcoming trips, shown on the group header. */
|
|
4370
5141
|
upcomingCount?: number;
|
|
5142
|
+
/** Start date of the next trip, shown on the group header. */
|
|
4371
5143
|
nextTripStartDate?: string;
|
|
5144
|
+
/** Trips in the group. */
|
|
4372
5145
|
trips: TeamTravelCalendarTrip[];
|
|
4373
5146
|
}
|
|
4374
5147
|
interface TeamTravelCalendarToolbarProps {
|
|
5148
|
+
/** Period the calendar currently spans. */
|
|
4375
5149
|
duration: TeamTravelCalendarDuration;
|
|
5150
|
+
/** Period label shown between the navigation controls. */
|
|
4376
5151
|
label?: string;
|
|
4377
5152
|
/** Optional app-owned date picker/navigation control. */
|
|
4378
5153
|
navigation?: ReactNode;
|
|
5154
|
+
/** Called with the newly selected period length. */
|
|
4379
5155
|
onDurationChange?: (duration: TeamTravelCalendarDuration) => void;
|
|
5156
|
+
/** Called when the user jumps back to today. */
|
|
4380
5157
|
onToday?: () => void;
|
|
5158
|
+
/** Called when the user steps back one period. */
|
|
4381
5159
|
onPrevious?: () => void;
|
|
5160
|
+
/** Called when the user steps forward one period. */
|
|
4382
5161
|
onNext?: () => void;
|
|
5162
|
+
/** Additional CSS class. */
|
|
4383
5163
|
className?: string;
|
|
4384
5164
|
}
|
|
5165
|
+
/**
|
|
5166
|
+
* Period controls shared by the calendar views: previous, next, today, and month/week.
|
|
5167
|
+
* Stateless -- the host owns the active date and passes the label back in.
|
|
5168
|
+
*/
|
|
4385
5169
|
declare const TeamTravelCalendarToolbar: ({ duration, label, navigation, onDurationChange, onToday, onPrevious, onNext, className, }: TeamTravelCalendarToolbarProps) => React.JSX.Element;
|
|
4386
5170
|
interface TeamTravelCalendarViewProps {
|
|
5171
|
+
/** Any date inside the period to render. */
|
|
4387
5172
|
activeDate: string;
|
|
5173
|
+
/** Whether to render a month or a week. */
|
|
4388
5174
|
duration?: TeamTravelCalendarDuration;
|
|
5175
|
+
/** Whether cells plot trips or due dates. */
|
|
4389
5176
|
type?: TeamTravelCalendarItemType;
|
|
5177
|
+
/** Trips to plot. Used when `type` is `trips`. */
|
|
4390
5178
|
trips?: TeamTravelCalendarTrip[];
|
|
5179
|
+
/** Tasks to plot. Used when `type` is `due_dates`. */
|
|
4391
5180
|
dueDates?: TeamTravelCalendarDueDate[];
|
|
5181
|
+
/** Date to mark as today. Defaults to the current date; set it to keep snapshots stable. */
|
|
4392
5182
|
today?: string;
|
|
5183
|
+
/** Toolbar rendered above the grid, usually a TeamTravelCalendarToolbar. */
|
|
4393
5184
|
toolbar?: ReactNode;
|
|
5185
|
+
/** Called with the trip the user opened. */
|
|
4394
5186
|
onTripClick?: (trip: TeamTravelCalendarTrip) => void;
|
|
5187
|
+
/** Called with the day the user opened, and the task when one was clicked directly. */
|
|
4395
5188
|
onDueDateClick?: (date: string, dueDate?: TeamTravelCalendarDueDate) => void;
|
|
5189
|
+
/** Called with the task the user marked complete or incomplete. */
|
|
4396
5190
|
onDueDateToggle?: (dueDate: TeamTravelCalendarDueDate) => void;
|
|
5191
|
+
/** Additional CSS class. */
|
|
4397
5192
|
className?: string;
|
|
4398
5193
|
}
|
|
5194
|
+
/**
|
|
5195
|
+
* Month or week grid plotting a team's trips or task due dates onto calendar days.
|
|
5196
|
+
*/
|
|
4399
5197
|
declare const TeamTravelCalendarView: ({ activeDate, duration, type, trips, dueDates, today, toolbar, onTripClick, onDueDateClick, onDueDateToggle, className, }: TeamTravelCalendarViewProps) => React.JSX.Element;
|
|
4400
5198
|
interface TeamTravelCalendarCardViewProps {
|
|
5199
|
+
/** Trips grouped by sport, in display order. */
|
|
4401
5200
|
groups: TeamTravelCalendarSportGroup[];
|
|
5201
|
+
/** Whether cards summarize trips or due dates. */
|
|
4402
5202
|
type?: TeamTravelCalendarItemType;
|
|
5203
|
+
/** Toolbar rendered above the cards. */
|
|
4403
5204
|
toolbar?: ReactNode;
|
|
5205
|
+
/** Called with the trip the user opened. */
|
|
4404
5206
|
onTripClick?: (trip: TeamTravelCalendarTrip) => void;
|
|
5207
|
+
/** Called with the task the user opened. */
|
|
4405
5208
|
onDueDateClick?: (dueDate: TeamTravelCalendarDueDate) => void;
|
|
5209
|
+
/** Called with the task the user marked complete or incomplete. */
|
|
4406
5210
|
onDueDateToggle?: (dueDate: TeamTravelCalendarDueDate) => void;
|
|
5211
|
+
/** Additional CSS class. */
|
|
4407
5212
|
className?: string;
|
|
4408
5213
|
}
|
|
5214
|
+
/**
|
|
5215
|
+
* The same travel plotted as cards grouped by sport, for scanning across sports
|
|
5216
|
+
* rather than across dates.
|
|
5217
|
+
*/
|
|
4409
5218
|
declare const TeamTravelCalendarCardView: ({ groups, type, toolbar, onTripClick, onDueDateClick, onDueDateToggle, className, }: TeamTravelCalendarCardViewProps) => React.JSX.Element;
|
|
4410
5219
|
interface TeamTravelCalendarListViewProps {
|
|
5220
|
+
/** Trips to list, in display order. */
|
|
4411
5221
|
trips: TeamTravelCalendarTrip[];
|
|
5222
|
+
/** Whether rows show trips or due dates. */
|
|
4412
5223
|
type?: TeamTravelCalendarItemType;
|
|
5224
|
+
/** Toolbar rendered above the list. */
|
|
4413
5225
|
toolbar?: ReactNode;
|
|
5226
|
+
/** Label describing the period the list covers. */
|
|
4414
5227
|
periodLabel?: string;
|
|
5228
|
+
/** Count of upcoming trips shown in the list header. */
|
|
4415
5229
|
upcomingTrips?: number;
|
|
5230
|
+
/** Called with the trip the user opened. */
|
|
4416
5231
|
onTripClick?: (trip: TeamTravelCalendarTrip) => void;
|
|
5232
|
+
/** Called with the trip whose task list the user opened. */
|
|
4417
5233
|
onDueDatesClick?: (trip: TeamTravelCalendarTrip) => void;
|
|
5234
|
+
/** Called with the task the user opened. */
|
|
4418
5235
|
onDueDateClick?: (dueDate: TeamTravelCalendarDueDate) => void;
|
|
5236
|
+
/** Called with the task the user marked complete or incomplete. */
|
|
4419
5237
|
onDueDateToggle?: (dueDate: TeamTravelCalendarDueDate) => void;
|
|
5238
|
+
/** Additional CSS class. */
|
|
4420
5239
|
className?: string;
|
|
4421
5240
|
}
|
|
5241
|
+
/**
|
|
5242
|
+
* The same travel as a dense chronological list, for long periods that a grid
|
|
5243
|
+
* cannot show at once.
|
|
5244
|
+
*/
|
|
4422
5245
|
declare const TeamTravelCalendarListView: ({ trips, type, toolbar, periodLabel, upcomingTrips, onTripClick, onDueDatesClick, onDueDateClick, onDueDateToggle, className, }: TeamTravelCalendarListViewProps) => React.JSX.Element;
|
|
5246
|
+
/**
|
|
5247
|
+
* Formats the heading for a calendar period -- "March 2026" for a month,
|
|
5248
|
+
* a date range for a week.
|
|
5249
|
+
*/
|
|
4423
5250
|
declare const getTeamTravelCalendarPeriodLabel: (activeDate: string, duration: TeamTravelCalendarDuration) => string;
|
|
5251
|
+
/**
|
|
5252
|
+
* Steps a date forward or back by whole periods, returning the new active date.
|
|
5253
|
+
* Pass a negative `amount` to step backwards.
|
|
5254
|
+
*/
|
|
4424
5255
|
declare const moveTeamTravelCalendarPeriod: (activeDate: string, duration: TeamTravelCalendarDuration, amount: number) => string;
|
|
4425
5256
|
|
|
4426
5257
|
type TeamFormMode = 'Add' | 'Edit';
|
|
@@ -4440,84 +5271,154 @@ interface ManagedFormProps<T> {
|
|
|
4440
5271
|
showActions?: boolean;
|
|
4441
5272
|
/** Disable every field and action. */
|
|
4442
5273
|
disabled?: boolean;
|
|
5274
|
+
/** Additional CSS class. */
|
|
4443
5275
|
className?: string;
|
|
4444
5276
|
}
|
|
4445
5277
|
interface TeamEquipmentValues {
|
|
5278
|
+
/** What the item is. */
|
|
4446
5279
|
description: string;
|
|
5280
|
+
/** Weight per unit, in pounds. Drives the manifest payload total. */
|
|
4447
5281
|
weight: TeamNumericValue;
|
|
5282
|
+
/** How many are travelling. */
|
|
4448
5283
|
quantity: TeamNumericValue;
|
|
5284
|
+
/** Height per unit, in inches. */
|
|
4449
5285
|
height: TeamNumericValue;
|
|
5286
|
+
/** Width per unit, in inches. */
|
|
4450
5287
|
width: TeamNumericValue;
|
|
5288
|
+
/** Depth per unit, in inches. */
|
|
4451
5289
|
depth: TeamNumericValue;
|
|
4452
5290
|
}
|
|
4453
5291
|
interface TeamEquipmentFormProps extends ManagedFormProps<TeamEquipmentValues> {
|
|
5292
|
+
/** Whether the form is adding or editing. */
|
|
4454
5293
|
mode?: TeamFormMode;
|
|
4455
5294
|
}
|
|
5295
|
+
/**
|
|
5296
|
+
* Adds or edits a piece of team equipment, including the dimensions and weight
|
|
5297
|
+
* that charter payload planning depends on.
|
|
5298
|
+
*/
|
|
4456
5299
|
declare const TeamEquipmentForm: ({ mode, values, initialValues, onChange, onSubmit, onCancel, showActions, disabled, className, }: TeamEquipmentFormProps) => React.JSX.Element;
|
|
4457
5300
|
interface TeamUserAccessValues {
|
|
5301
|
+
/** Portal user being granted access to the team. */
|
|
4458
5302
|
userId: string;
|
|
4459
5303
|
}
|
|
4460
5304
|
interface TeamUserAccessFormProps extends ManagedFormProps<TeamUserAccessValues> {
|
|
5305
|
+
/** Portal users available to grant access to. */
|
|
4461
5306
|
options: SelectOption[];
|
|
4462
5307
|
}
|
|
5308
|
+
/**
|
|
5309
|
+
* Grants an existing portal user access to a team.
|
|
5310
|
+
*/
|
|
4463
5311
|
declare const TeamUserAccessForm: ({ options, values, initialValues, onChange, onSubmit, onCancel, showActions, disabled, className, }: TeamUserAccessFormProps) => React.JSX.Element;
|
|
4464
5312
|
type TeamProgramType = 'Air' | 'Car' | 'Hotel';
|
|
4465
5313
|
interface TeamProgramValues {
|
|
5314
|
+
/** Which loyalty program the number belongs to. */
|
|
4466
5315
|
type: TeamProgramType;
|
|
5316
|
+
/** Supplier running the program. */
|
|
4467
5317
|
supplier: string;
|
|
5318
|
+
/** The team's account or membership number. */
|
|
4468
5319
|
accountNumber: string;
|
|
4469
5320
|
}
|
|
4470
5321
|
interface TeamProgramFormProps extends ManagedFormProps<TeamProgramValues> {
|
|
5322
|
+
/** Suppliers to offer per program type. Types left out fall back to a free-text entry. */
|
|
4471
5323
|
supplierOptions?: Partial<Record<TeamProgramType, SelectOption[]>>;
|
|
4472
5324
|
}
|
|
5325
|
+
/**
|
|
5326
|
+
* Records a loyalty or corporate program number the team travels under.
|
|
5327
|
+
*/
|
|
4473
5328
|
declare const TeamProgramForm: ({ values, initialValues, onChange, onSubmit, onCancel, showActions, disabled, className, supplierOptions, }: TeamProgramFormProps) => React.JSX.Element;
|
|
4474
5329
|
interface TeamRosterMemberValues {
|
|
5330
|
+
/** Portal user this roster member is linked to, when they have an account. */
|
|
4475
5331
|
portalUserId: string;
|
|
5332
|
+
/** Given name, as it appears on the government ID used to travel. */
|
|
4476
5333
|
firstName: string;
|
|
5334
|
+
/** Middle name, as it appears on that ID. */
|
|
4477
5335
|
middleName: string;
|
|
5336
|
+
/** Confirms the traveler has no middle name, so the empty field is deliberate. */
|
|
4478
5337
|
noMiddleName: boolean;
|
|
5338
|
+
/** Family name, as it appears on that ID. */
|
|
4479
5339
|
lastName: string;
|
|
5340
|
+
/** Whether the traveler is an athlete, coach, staff member, or guest. */
|
|
4480
5341
|
travelerType: string;
|
|
5342
|
+
/** Date of birth, required by carriers for ticketing. */
|
|
4481
5343
|
birthDate: string;
|
|
5344
|
+
/** Gender as recorded on the travel document. */
|
|
4482
5345
|
gender: string;
|
|
5346
|
+
/** Traveler weight, in pounds. Feeds charter payload calculations. */
|
|
4483
5347
|
weight: TeamNumericValue;
|
|
5348
|
+
/** Passport number, for international travel. */
|
|
4484
5349
|
passportNumber: string;
|
|
5350
|
+
/** TSA PreCheck / Known Traveler Number. */
|
|
4485
5351
|
knownTravelerNumber: string;
|
|
5352
|
+
/** DHS redress number, where the traveler has one. */
|
|
4486
5353
|
dhsRedressNumber: string;
|
|
5354
|
+
/** Airline the frequent flyer number belongs to. */
|
|
4487
5355
|
airline: string;
|
|
5356
|
+
/** Frequent flyer number for that airline. */
|
|
4488
5357
|
frequentFlyerNumber: string;
|
|
5358
|
+
/** Accessibility needs, seating, and meal requests. */
|
|
4489
5359
|
specialRequests: string;
|
|
4490
5360
|
}
|
|
4491
5361
|
interface TeamPortalUserOption extends SelectOption {
|
|
5362
|
+
/** Traveler details to prefill the form with when this user is picked. */
|
|
4492
5363
|
traveler?: Partial<TeamRosterMemberValues>;
|
|
4493
5364
|
}
|
|
4494
5365
|
interface TeamRosterMemberFormProps extends ManagedFormProps<TeamRosterMemberValues> {
|
|
5366
|
+
/** Whether the form is adding or editing. */
|
|
4495
5367
|
mode?: TeamFormMode;
|
|
5368
|
+
/** Portal users a roster member can be created from. */
|
|
4496
5369
|
portalUsers?: TeamPortalUserOption[];
|
|
5370
|
+
/** Airlines offered for the frequent flyer number. */
|
|
4497
5371
|
airlineOptions?: SelectOption[];
|
|
5372
|
+
/** Traveler types offered. */
|
|
4498
5373
|
travelerTypeOptions?: SelectOption[];
|
|
4499
5374
|
}
|
|
5375
|
+
/**
|
|
5376
|
+
* Adds or edits a roster member, including the identity details carriers require
|
|
5377
|
+
* for ticketing. Can prefill from a linked portal user.
|
|
5378
|
+
*/
|
|
4500
5379
|
declare const TeamRosterMemberForm: ({ mode, values, initialValues, onChange, onSubmit, onCancel, showActions, disabled, className, portalUsers, airlineOptions, travelerTypeOptions, }: TeamRosterMemberFormProps) => React.JSX.Element;
|
|
4501
5380
|
type TeamImportKind = 'equipment' | 'roster' | 'teamworks-roster';
|
|
4502
5381
|
interface TeamImportFormProps {
|
|
5382
|
+
/** What the uploaded file contains. */
|
|
4503
5383
|
kind: TeamImportKind;
|
|
5384
|
+
/** Called with the file the user chose. */
|
|
4504
5385
|
onSubmit?: (file: File) => void;
|
|
5386
|
+
/** Called when the user abandons the import. */
|
|
4505
5387
|
onCancel?: () => void;
|
|
5388
|
+
/** Disables the form while an import is running. */
|
|
4506
5389
|
disabled?: boolean;
|
|
5390
|
+
/** Additional CSS class. */
|
|
4507
5391
|
className?: string;
|
|
4508
5392
|
}
|
|
5393
|
+
/**
|
|
5394
|
+
* Bulk-loads roster or equipment records from an uploaded file.
|
|
5395
|
+
*/
|
|
4509
5396
|
declare const TeamImportForm: ({ kind, onSubmit, onCancel, disabled, className }: TeamImportFormProps) => React.JSX.Element;
|
|
4510
5397
|
|
|
4511
5398
|
interface TravelSummaryMetricsProps {
|
|
5399
|
+
/** Trips completed so far this season. */
|
|
4512
5400
|
tripsTraveled?: string | number;
|
|
5401
|
+
/** Trips still ahead this season. */
|
|
4513
5402
|
remainingTrips?: string | number;
|
|
5403
|
+
/** Total trip spend for the season. */
|
|
4514
5404
|
seasonTripCosts?: string | number;
|
|
5405
|
+
/** Season the figures cover. */
|
|
4515
5406
|
seasonLabel: string;
|
|
5407
|
+
/** Count of overdue tasks, surfaced as the one actionable tile. */
|
|
4516
5408
|
overdueActions?: string | number;
|
|
5409
|
+
/** Called when the user opens the overdue tasks. The tile is static without it. */
|
|
4517
5410
|
onOverdueActionsClick?: () => void;
|
|
5411
|
+
/** Additional CSS class. */
|
|
4518
5412
|
className?: string;
|
|
4519
5413
|
}
|
|
5414
|
+
/**
|
|
5415
|
+
* Formats a trip cost for a metric tile, abbreviating thousands so long figures
|
|
5416
|
+
* do not wrap.
|
|
5417
|
+
*/
|
|
4520
5418
|
declare const formatCompactTripCost: (value?: string | number) => string | undefined;
|
|
5419
|
+
/**
|
|
5420
|
+
* Season-at-a-glance tiles: trips taken, trips remaining, spend, and overdue tasks.
|
|
5421
|
+
*/
|
|
4521
5422
|
declare const TravelSummaryMetrics: ({ tripsTraveled, remainingTrips, seasonTripCosts, seasonLabel, overdueActions, onOverdueActionsClick, className, }: TravelSummaryMetricsProps) => React.JSX.Element;
|
|
4522
5423
|
|
|
4523
5424
|
interface TravelerFormData {
|
|
@@ -4555,7 +5456,9 @@ interface TravelerFormProps {
|
|
|
4555
5456
|
children?: ReactNode;
|
|
4556
5457
|
/** Form sections - render props approach */
|
|
4557
5458
|
renderNameSection?: (values: TravelerFormData) => ReactNode;
|
|
5459
|
+
/** Renders the traveler detail fields, given the current values. */
|
|
4558
5460
|
renderDetailsSection?: (values: TravelerFormData) => ReactNode;
|
|
5461
|
+
/** Renders the travel preference fields, given the current values. */
|
|
4559
5462
|
renderPreferencesSection?: (values: TravelerFormData) => ReactNode;
|
|
4560
5463
|
/** Footer actions */
|
|
4561
5464
|
footer?: ReactNode;
|
|
@@ -4629,6 +5532,9 @@ interface TripTableProps {
|
|
|
4629
5532
|
/** Additional CSS class */
|
|
4630
5533
|
className?: string;
|
|
4631
5534
|
}
|
|
5535
|
+
/**
|
|
5536
|
+
* Trip listing with the segment, status, and date columns the travel screens share.
|
|
5537
|
+
*/
|
|
4632
5538
|
declare const TripTable: React__default.FC<TripTableProps>;
|
|
4633
5539
|
|
|
4634
5540
|
type AdministrationTab = 'system' | 'client';
|
|
@@ -4639,13 +5545,19 @@ interface AdministrationCard {
|
|
|
4639
5545
|
icon?: ReactNode;
|
|
4640
5546
|
}
|
|
4641
5547
|
interface AdministrationPageProps {
|
|
5548
|
+
/** Tab currently shown. */
|
|
4642
5549
|
activeTab?: AdministrationTab;
|
|
4643
5550
|
/** Authoritative tabs for the current viewer. An empty array renders no tab controls. */
|
|
4644
5551
|
enabledTabs?: AdministrationTab[];
|
|
5552
|
+
/** Called with the tab the user selected. */
|
|
4645
5553
|
onTabChange?: (tab: AdministrationTab) => void;
|
|
5554
|
+
/** Administration destinations offered on the current tab. */
|
|
4646
5555
|
cards?: AdministrationCard[];
|
|
5556
|
+
/** Called with the destination the user opened. */
|
|
4647
5557
|
onCardClick?: (card: AdministrationCard) => void;
|
|
5558
|
+
/** Content rendered below the cards, for a tab that hosts its own screen. */
|
|
4648
5559
|
children?: ReactNode;
|
|
5560
|
+
/** Additional CSS class. */
|
|
4649
5561
|
className?: string;
|
|
4650
5562
|
}
|
|
4651
5563
|
/** Hub administration shell and system-card index. */
|
|
@@ -4664,20 +5576,35 @@ interface AgentGroupTravelRequestsPageProps {
|
|
|
4664
5576
|
today?: string;
|
|
4665
5577
|
/** Shows the STM-employee-only quick links (agent request form, CDS requests, actionable items, administer views). */
|
|
4666
5578
|
isStmEmployee?: boolean;
|
|
5579
|
+
/** Called when the agent returns to booking. */
|
|
4667
5580
|
onBackToBookATrip?: () => void;
|
|
5581
|
+
/** Called when the agent raises a request on behalf of a school. */
|
|
4668
5582
|
onSubmitNewRequest?: () => void;
|
|
5583
|
+
/** Called when the agent raises a request through the agent-only form. */
|
|
4669
5584
|
onSubmitAgentRequest?: () => void;
|
|
5585
|
+
/** Called when the agent searches closed requests. */
|
|
4670
5586
|
onSearchPastRequests?: () => void;
|
|
5587
|
+
/** Called when the agent opens the CDS request queue. */
|
|
4671
5588
|
onShowCdsRequests?: () => void;
|
|
5589
|
+
/** Called when the agent opens the items needing action. */
|
|
4672
5590
|
onShowActionableItems?: () => void;
|
|
5591
|
+
/** Called when the agent manages the saved account-group views. */
|
|
4673
5592
|
onAdministerViews?: () => void;
|
|
5593
|
+
/** Called with the request the agent opened. */
|
|
4674
5594
|
onOpenRequest?: (id: number) => void;
|
|
5595
|
+
/** Called with the master trip the agent opened. */
|
|
4675
5596
|
onViewMasterTrip?: (masterTripId: number) => void;
|
|
5597
|
+
/** Called with the request the agent deleted. */
|
|
4676
5598
|
onDeleteRequest?: (id: number) => void;
|
|
5599
|
+
/** Called with the record locator the agent copied. */
|
|
4677
5600
|
onCopyPnr?: (recordLocator: string) => void;
|
|
5601
|
+
/** Called with the request and the milestone the agent marked complete or incomplete. */
|
|
4678
5602
|
onToggleDueStatus?: (id: number, field: GroupTravelDueField) => void;
|
|
5603
|
+
/** Called with the request and its new submitted date. */
|
|
4679
5604
|
onSubmittedDateChange?: (id: number, value: string) => void;
|
|
5605
|
+
/** Called with the request and its new quote-sent date. */
|
|
4680
5606
|
onQuoteSentDateChange?: (id: number, value: string) => void;
|
|
5607
|
+
/** Additional CSS class. */
|
|
4681
5608
|
className?: string;
|
|
4682
5609
|
}
|
|
4683
5610
|
/** Hub's agent-facing Group Travel Request screen — the "Book a Trip" quick links plus the open-requests list. */
|
|
@@ -4810,6 +5737,7 @@ interface ChampionshipBidDetailPageProps {
|
|
|
4810
5737
|
onBack?: () => void;
|
|
4811
5738
|
/** BCP 47 locale used to format seats and total cost. */
|
|
4812
5739
|
locale?: string;
|
|
5740
|
+
/** Additional CSS class. */
|
|
4813
5741
|
className?: string;
|
|
4814
5742
|
}
|
|
4815
5743
|
/**
|
|
@@ -5022,31 +5950,57 @@ interface CharterManifestEquipment {
|
|
|
5022
5950
|
weight: number;
|
|
5023
5951
|
}
|
|
5024
5952
|
interface CharterManifestPageProps {
|
|
5953
|
+
/** Trip the manifest belongs to. */
|
|
5025
5954
|
tripName: string;
|
|
5955
|
+
/** First day of travel. */
|
|
5026
5956
|
travelStartDate?: string;
|
|
5957
|
+
/** Last day of travel. */
|
|
5027
5958
|
travelEndDate?: string;
|
|
5959
|
+
/** Seats available on the aircraft. */
|
|
5028
5960
|
seats: number;
|
|
5961
|
+
/** Maximum payload the aircraft can carry, in pounds. */
|
|
5029
5962
|
payloadLimit: number;
|
|
5963
|
+
/** Total passenger weight, in pounds. */
|
|
5030
5964
|
passengerWeight: number;
|
|
5965
|
+
/** Total cargo and equipment weight, in pounds. */
|
|
5031
5966
|
cargoWeight: number;
|
|
5967
|
+
/** Operator flying the charter. */
|
|
5032
5968
|
carrierName?: string;
|
|
5969
|
+
/** Note from the operator about the manifest. */
|
|
5033
5970
|
carrierNote?: string;
|
|
5971
|
+
/** Passengers currently manifested. */
|
|
5034
5972
|
passengers?: CharterManifestPassenger[];
|
|
5973
|
+
/** Equipment currently manifested. */
|
|
5035
5974
|
equipment?: CharterManifestEquipment[];
|
|
5975
|
+
/** Flight segments the manifest covers. */
|
|
5036
5976
|
segments?: CharterManifestSegment[];
|
|
5977
|
+
/** Whether the manifest is locked against further edits after a final send. */
|
|
5037
5978
|
locked?: boolean;
|
|
5979
|
+
/** How far the manifest has progressed through initial and final sends. */
|
|
5038
5980
|
sendState?: ManifestSendState;
|
|
5981
|
+
/** Called when the user leaves the manifest. */
|
|
5039
5982
|
onBack?: () => void;
|
|
5983
|
+
/** Called when the user generates the manifest file for the operator. */
|
|
5040
5984
|
onGenerateFile?: () => void;
|
|
5985
|
+
/** Called when the user reassigns the charter to another operator. */
|
|
5041
5986
|
onChangeCarrier?: () => void;
|
|
5987
|
+
/** Called when the user splits the manifest across segments. */
|
|
5042
5988
|
onSplitSegments?: () => void;
|
|
5989
|
+
/** Called when the user adds passengers. */
|
|
5043
5990
|
onAddPassengers?: () => void;
|
|
5991
|
+
/** Called when the user adds equipment. */
|
|
5044
5992
|
onAddEquipment?: () => void;
|
|
5993
|
+
/** Called with the passenger the user removed. */
|
|
5045
5994
|
onRemovePassenger?: (passenger: CharterManifestPassenger) => void;
|
|
5995
|
+
/** Called with the equipment the user removed. */
|
|
5046
5996
|
onRemoveEquipment?: (equipment: CharterManifestEquipment) => void;
|
|
5997
|
+
/** Called when the user sends the initial manifest to the operator. */
|
|
5047
5998
|
onSendInitial?: () => void;
|
|
5999
|
+
/** Called when the user sends the final manifest, locking it. */
|
|
5048
6000
|
onSendFinal?: () => void;
|
|
6001
|
+
/** Called when the user retracts an initial send. */
|
|
5049
6002
|
onUndoInitial?: () => void;
|
|
6003
|
+
/** Additional CSS class. */
|
|
5050
6004
|
className?: string;
|
|
5051
6005
|
}
|
|
5052
6006
|
/** Stateless, service-free rendering of Hub's charter manifest page. */
|
|
@@ -5104,6 +6058,7 @@ interface ChartersAccessManagementPageProps {
|
|
|
5104
6058
|
onChangeRole?: (membership: ChartersAccessMembership, role: ChartersAccessRole) => void | Promise<void>;
|
|
5105
6059
|
/** Remove STM Charters access after the page confirmation. */
|
|
5106
6060
|
onRemoveAccess?: (membership: ChartersAccessMembership) => void | Promise<void>;
|
|
6061
|
+
/** Additional CSS class. */
|
|
5107
6062
|
className?: string;
|
|
5108
6063
|
}
|
|
5109
6064
|
/**
|
|
@@ -5212,14 +6167,21 @@ interface ContactUsData {
|
|
|
5212
6167
|
groupHotelContacts?: ContactInfo[];
|
|
5213
6168
|
}
|
|
5214
6169
|
interface ContactUsPageProps {
|
|
6170
|
+
/** Page heading. */
|
|
5215
6171
|
title?: string;
|
|
6172
|
+
/** Which state to render. Drives the loading, empty, and error treatments. */
|
|
5216
6173
|
state?: 'loading' | 'data' | 'empty' | 'error';
|
|
6174
|
+
/** Message shown in the error state. */
|
|
5217
6175
|
errorMessage?: string;
|
|
6176
|
+
/** Contact details to show in the data state. */
|
|
5218
6177
|
data?: ContactUsData;
|
|
6178
|
+
/** Called when the user prints the contact sheet. */
|
|
5219
6179
|
onPrint?: () => void;
|
|
5220
6180
|
/** Generic cards remain available for non-Hub consumers. */
|
|
5221
6181
|
cards?: ContactCardData[];
|
|
6182
|
+
/** Content rendered below the cards. */
|
|
5222
6183
|
children?: ReactNode;
|
|
6184
|
+
/** Additional CSS class. */
|
|
5223
6185
|
className?: string;
|
|
5224
6186
|
}
|
|
5225
6187
|
/** Exact presentational counterpart of the Hub Contact Us screen. */
|
|
@@ -5274,26 +6236,84 @@ interface DashboardWidget {
|
|
|
5274
6236
|
};
|
|
5275
6237
|
}
|
|
5276
6238
|
interface DashboardPageProps {
|
|
6239
|
+
/** Greeting line above the name. */
|
|
5277
6240
|
greeting?: string;
|
|
6241
|
+
/** Name the greeting addresses. */
|
|
5278
6242
|
firstName?: string;
|
|
6243
|
+
/** School or account shown in the subtitle. */
|
|
5279
6244
|
accountName?: string;
|
|
6245
|
+
/** Widgets to render, in display order. */
|
|
5280
6246
|
widgets?: DashboardWidget[];
|
|
6247
|
+
/** Platform-wide notices shown above the widgets. */
|
|
5281
6248
|
systemBanners?: SystemBanner[];
|
|
6249
|
+
/** Travel alerts shown above the widgets. */
|
|
5282
6250
|
alertBanners?: TravelAlertBanner[];
|
|
6251
|
+
/** Whether the layout is saved, saving, or failed to save. */
|
|
5283
6252
|
syncStatus?: 'idle' | 'saving' | 'error';
|
|
6253
|
+
/** Called with the widget the user refreshed. */
|
|
5284
6254
|
onRefresh?: (widget: DashboardWidget) => void;
|
|
6255
|
+
/** Called with the widget the user removed. */
|
|
5285
6256
|
onRemove?: (widget: DashboardWidget) => void;
|
|
6257
|
+
/** Called with the widget and its new size. */
|
|
5286
6258
|
onResize?: (widget: DashboardWidget, size: DashboardWidgetSize) => void;
|
|
6259
|
+
/** Called with the positions a widget moved from and to. */
|
|
5287
6260
|
onReorder?: (from: number, to: number) => void;
|
|
6261
|
+
/** Called when the user restores the default layout. */
|
|
5288
6262
|
onReset?: () => void;
|
|
6263
|
+
/** Called with the type of widget the user added. */
|
|
5289
6264
|
onAddWidget?: (type: DashboardWidget['type']) => void;
|
|
6265
|
+
/** Called with the widget and the traveler date range the user picked. */
|
|
5290
6266
|
onTravelerRangeChange?: (widget: DashboardWidget, range: DashboardTravelerRange) => void;
|
|
6267
|
+
/** Called with the route a widget link points at. The host performs the routing. */
|
|
5291
6268
|
onNavigate?: (path: string, state?: unknown) => void;
|
|
6269
|
+
/** Additional CSS class. */
|
|
5292
6270
|
className?: string;
|
|
5293
6271
|
}
|
|
5294
6272
|
/** Exact, service-free rendering of Hub's personalized home page. */
|
|
5295
6273
|
declare const DashboardPage: ({ greeting, firstName, accountName, widgets, systemBanners, alertBanners, syncStatus, onRefresh, onRemove, onResize, onReorder, onReset, onAddWidget, onTravelerRangeChange, onNavigate, className }: DashboardPageProps) => React.JSX.Element;
|
|
5296
6274
|
|
|
6275
|
+
type DebitMemoTab = 'open' | 'resolved' | 'all';
|
|
6276
|
+
interface DebitMemoAgentErrorPageProps {
|
|
6277
|
+
/** Memos shown in the "Open" tab — the actionable queue this page is built around. */
|
|
6278
|
+
openMemos: DebitMemoRecord[];
|
|
6279
|
+
/** Count shown on the "Resolved" tab badge. Resolved memos aren't listed yet — see notes. */
|
|
6280
|
+
resolvedCount?: number;
|
|
6281
|
+
/** Count shown on the "All" tab badge. */
|
|
6282
|
+
allCount?: number;
|
|
6283
|
+
/** Resolution reasons offered in the bulk-assign dropdown. */
|
|
6284
|
+
resolutionOptions: ResolutionOption[];
|
|
6285
|
+
/** Memo reasons rendered with the warning-emphasis pill. */
|
|
6286
|
+
emphasizedReasons?: string[];
|
|
6287
|
+
/** Called when a resolution is bulk-applied to the given memo IDs. */
|
|
6288
|
+
onBulkApplyResolution: (memoIds: string[], resolutionValue: string) => void | Promise<void>;
|
|
6289
|
+
/** Called when a memo number link is activated (opens the ARC PDF). */
|
|
6290
|
+
onOpenMemo?: (memo: DebitMemoRecord) => void;
|
|
6291
|
+
/** Called when a row's edit action is activated. */
|
|
6292
|
+
onEditMemo?: (memo: DebitMemoRecord) => void;
|
|
6293
|
+
/** Called as the search field changes, debounced by the caller if needed. */
|
|
6294
|
+
onSearch?: (query: string) => void;
|
|
6295
|
+
/** Called when the export action is activated. */
|
|
6296
|
+
onExport?: () => void;
|
|
6297
|
+
/** Shows the loading state on the grid. */
|
|
6298
|
+
isLoading?: boolean;
|
|
6299
|
+
/** Shows an inline error instead of the grid. */
|
|
6300
|
+
error?: string;
|
|
6301
|
+
/**
|
|
6302
|
+
* Toggles the "What's new in this view" callout introducing the three
|
|
6303
|
+
* ARC-sourced columns and bulk resolution. Meant to be turned off once the
|
|
6304
|
+
* change has been live for a while.
|
|
6305
|
+
*/
|
|
6306
|
+
showWhatsNew?: boolean;
|
|
6307
|
+
}
|
|
6308
|
+
/**
|
|
6309
|
+
* Full "Employees / Debit Memo & Agent Error" page. Lets branch staff review
|
|
6310
|
+
* ARC debit memos without opening each PDF — the three highlighted columns
|
|
6311
|
+
* (Original Ticket #, Balance, Memo Reason) come straight from the memo PDF —
|
|
6312
|
+
* and resolve several matching memos (e.g. a handful of $25 memos) in one
|
|
6313
|
+
* bulk action instead of editing each one individually.
|
|
6314
|
+
*/
|
|
6315
|
+
declare function DebitMemoAgentErrorPage({ openMemos, resolvedCount, allCount, resolutionOptions, emphasizedReasons, onBulkApplyResolution, onOpenMemo, onEditMemo, onSearch, onExport, isLoading, error, showWhatsNew, }: DebitMemoAgentErrorPageProps): React.JSX.Element;
|
|
6316
|
+
|
|
5297
6317
|
type FeatureFlagIdentifier = string | number;
|
|
5298
6318
|
type FeatureFlagTargetType = 'global' | 'account' | 'user' | 'userType' | 'role' | 'organizationalUnit' | 'organizationalUnitValue';
|
|
5299
6319
|
type FeatureFlagRuleEffect = 'enable' | 'disable';
|
|
@@ -5369,22 +6389,33 @@ interface FeatureFlagManagementPageProps {
|
|
|
5369
6389
|
rules: FeatureFlagRule[];
|
|
5370
6390
|
/** Controlled account and audience options. */
|
|
5371
6391
|
targetOptions: FeatureFlagTargetOptions;
|
|
6392
|
+
/** Whether the catalog and rules are still loading. */
|
|
5372
6393
|
loading?: boolean;
|
|
6394
|
+
/** Load error shown in place of the rule list. */
|
|
5373
6395
|
error?: string;
|
|
6396
|
+
/** Called when the user retries a failed load. */
|
|
5374
6397
|
onRetry?: () => void;
|
|
5375
6398
|
/** Host mutation state. It disables all mutation controls. */
|
|
5376
6399
|
submitting?: boolean;
|
|
5377
6400
|
/** Controlled user-search results are returned through `targetOptions.users`. */
|
|
5378
6401
|
onSearchUsers?: (query: string, accountId?: FeatureFlagIdentifier) => void | Promise<void>;
|
|
6402
|
+
/** Whether a user search is in flight. */
|
|
5379
6403
|
userSearchLoading?: boolean;
|
|
6404
|
+
/** Error from the last user search. */
|
|
5380
6405
|
userSearchError?: string;
|
|
5381
6406
|
/** Called when an account selection needs account-scoped audience options from the host. */
|
|
5382
6407
|
onAccountChange?: (accountId?: FeatureFlagIdentifier) => void | Promise<void>;
|
|
6408
|
+
/** Whether account-scoped audience options are loading. */
|
|
5383
6409
|
audienceLoading?: boolean;
|
|
6410
|
+
/** Error from the last audience load. */
|
|
5384
6411
|
audienceError?: string;
|
|
6412
|
+
/** Called with the rule the user created. */
|
|
5385
6413
|
onCreateRule?: (value: FeatureFlagRuleFormValue) => void | Promise<void>;
|
|
6414
|
+
/** Called with the edit the user submitted. */
|
|
5386
6415
|
onEditRule?: (request: FeatureFlagRuleEditRequest) => void | Promise<void>;
|
|
6416
|
+
/** Called with the rule the user deactivated. */
|
|
5387
6417
|
onDeactivateRule?: (request: FeatureFlagRuleDeactivateRequest) => void | Promise<void>;
|
|
6418
|
+
/** Additional CSS class. */
|
|
5388
6419
|
className?: string;
|
|
5389
6420
|
}
|
|
5390
6421
|
/**
|
|
@@ -5407,20 +6438,36 @@ interface GroupTravelRequestContact {
|
|
|
5407
6438
|
email?: string;
|
|
5408
6439
|
}
|
|
5409
6440
|
interface GroupTravelRequestPageProps {
|
|
6441
|
+
/** Event the request is being raised for, shown in the heading. */
|
|
5410
6442
|
eventName?: string;
|
|
6443
|
+
/** Number of steps in the wizard, shown in the progress indicator. */
|
|
5411
6444
|
totalPages?: number;
|
|
6445
|
+
/** Called with the completed request. */
|
|
5412
6446
|
onSubmit?: (data: GroupTravelRequestValues) => void;
|
|
6447
|
+
/** Called when the user abandons the request. */
|
|
5413
6448
|
onCancel?: () => void;
|
|
6449
|
+
/** Called with the full request on every field change. */
|
|
5414
6450
|
onChange?: (data: GroupTravelRequestValues) => void;
|
|
6451
|
+
/** Values to prefill the wizard with. */
|
|
5415
6452
|
initialValues?: GroupTravelRequestValues;
|
|
6453
|
+
/** Team contacts offered as the request contact. */
|
|
5416
6454
|
contacts?: GroupTravelRequestContact[];
|
|
6455
|
+
/** Catering choices offered for the trip. */
|
|
5417
6456
|
cateringOptions?: string[];
|
|
6457
|
+
/** Default pickup address, offered as the departure point. */
|
|
5418
6458
|
schoolAddress?: string;
|
|
6459
|
+
/** Travel services the request can cover, and how each is configured. */
|
|
5419
6460
|
services?: ServiceConfig[];
|
|
5420
6461
|
/** Retained for consumers that provide a custom summary configuration. */
|
|
5421
6462
|
summarySections?: SummarySectionConfig[];
|
|
6463
|
+
/** Additional CSS class. */
|
|
5422
6464
|
className?: string;
|
|
5423
6465
|
}
|
|
6466
|
+
/**
|
|
6467
|
+
* Multi-step wizard for requesting travel for a whole team.
|
|
6468
|
+
* Collects the trip, the services needed, and the traveling party, and hands the
|
|
6469
|
+
* completed request to the host through `onSubmit`.
|
|
6470
|
+
*/
|
|
5424
6471
|
declare const GroupTravelRequestPage: {
|
|
5425
6472
|
({ eventName, totalPages, onSubmit, onCancel, onChange, initialValues, contacts, cateringOptions, schoolAddress, services, summarySections, className, }: GroupTravelRequestPageProps): React.JSX.Element;
|
|
5426
6473
|
displayName: string;
|
|
@@ -5539,6 +6586,10 @@ interface IndividualTravelPageProps {
|
|
|
5539
6586
|
/** Additional CSS class. */
|
|
5540
6587
|
className?: string;
|
|
5541
6588
|
}
|
|
6589
|
+
/**
|
|
6590
|
+
* Landing page for a single traveler's own requests, listing what they have raised
|
|
6591
|
+
* and offering a new one.
|
|
6592
|
+
*/
|
|
5542
6593
|
declare const IndividualTravelPage: React__default.FC<IndividualTravelPageProps>;
|
|
5543
6594
|
|
|
5544
6595
|
/** Travel services represented by the legacy individual-request record. */
|
|
@@ -5730,9 +6781,17 @@ interface IndividualTravelRequestFormPageProps {
|
|
|
5730
6781
|
onRetry?: () => void;
|
|
5731
6782
|
/** Optional account-specific fee or response-time notice. */
|
|
5732
6783
|
notice?: ReactNode;
|
|
6784
|
+
/** Label for the submit button. */
|
|
5733
6785
|
submitLabel?: string;
|
|
6786
|
+
/** Additional CSS class. */
|
|
5734
6787
|
className?: string;
|
|
5735
6788
|
}
|
|
6789
|
+
/**
|
|
6790
|
+
* Form for one traveler to request their own travel.
|
|
6791
|
+
* The questions asked come from the account configuration, so the host supplies
|
|
6792
|
+
* them rather than the page assuming a fixed set.
|
|
6793
|
+
* Renders read-only when no `onSubmit` is given.
|
|
6794
|
+
*/
|
|
5736
6795
|
declare const IndividualTravelRequestFormPage: React__default.FC<IndividualTravelRequestFormPageProps>;
|
|
5737
6796
|
|
|
5738
6797
|
interface IndividualTravelRequestDetailPageProps {
|
|
@@ -5746,9 +6805,11 @@ interface IndividualTravelRequestDetailPageProps {
|
|
|
5746
6805
|
notice?: ReactNode;
|
|
5747
6806
|
/** Optional host-owned return route. Hidden when absent. */
|
|
5748
6807
|
onBack?: () => void;
|
|
6808
|
+
/** Label for the back link. */
|
|
5749
6809
|
backLabel?: string;
|
|
5750
6810
|
/** Optional retry for a failed host query. Hidden unless an error is present. */
|
|
5751
6811
|
onRetry?: () => void;
|
|
6812
|
+
/** Additional CSS class. */
|
|
5752
6813
|
className?: string;
|
|
5753
6814
|
}
|
|
5754
6815
|
/**
|
|
@@ -6176,12 +7237,21 @@ interface RosterProgramNumberRow {
|
|
|
6176
7237
|
accountNumber: string;
|
|
6177
7238
|
}
|
|
6178
7239
|
interface RosterProgramNumbersPageProps {
|
|
7240
|
+
/** Loyalty and corporate program numbers held for the team. */
|
|
6179
7241
|
programs: RosterProgramNumberRow[];
|
|
7242
|
+
/** Whether the programs are still loading. */
|
|
6180
7243
|
loading?: boolean;
|
|
7244
|
+
/** Whether a save is in flight. */
|
|
6181
7245
|
saving?: boolean;
|
|
7246
|
+
/** Called when the user leaves the page. */
|
|
6182
7247
|
onBack?: () => void;
|
|
7248
|
+
/** Called with the full set of programs the user saved. */
|
|
6183
7249
|
onSubmit?: (programs: RosterProgramNumberRow[]) => void | Promise<void>;
|
|
6184
7250
|
}
|
|
7251
|
+
/**
|
|
7252
|
+
* Edits the loyalty and corporate program numbers a team travels under, saving them
|
|
7253
|
+
* as one set.
|
|
7254
|
+
*/
|
|
6185
7255
|
declare const RosterProgramNumbersPage: {
|
|
6186
7256
|
({ programs, loading, saving, onBack, onSubmit, }: RosterProgramNumbersPageProps): React.JSX.Element;
|
|
6187
7257
|
displayName: string;
|
|
@@ -6234,11 +7304,18 @@ interface RosterReportOption {
|
|
|
6234
7304
|
description?: string;
|
|
6235
7305
|
}
|
|
6236
7306
|
interface RosterReportsPageProps {
|
|
7307
|
+
/** Reports the user can run. */
|
|
6237
7308
|
reports: RosterReportOption[];
|
|
7309
|
+
/** Report currently running, shown as in progress. */
|
|
6238
7310
|
runningReportId?: string;
|
|
7311
|
+
/** Called when the user leaves the page. */
|
|
6239
7312
|
onBack?: () => void;
|
|
7313
|
+
/** Called with the report the user ran. */
|
|
6240
7314
|
onRun?: (report: RosterReportOption) => void | Promise<void>;
|
|
6241
7315
|
}
|
|
7316
|
+
/**
|
|
7317
|
+
* Lists the roster reports a user can run, and reports progress while one runs.
|
|
7318
|
+
*/
|
|
6242
7319
|
declare const RosterReportsPage: {
|
|
6243
7320
|
({ reports, runningReportId, onBack, onRun }: RosterReportsPageProps): React.JSX.Element;
|
|
6244
7321
|
displayName: string;
|
|
@@ -6498,5 +7575,5 @@ declare const TripDetailPage: {
|
|
|
6498
7575
|
displayName: string;
|
|
6499
7576
|
};
|
|
6500
7577
|
|
|
6501
|
-
export { ACMI_AIRCRAFT_OPTIONS, ACMI_CARRIER_OPTIONS, ACMI_INSURANCE_FLAT, Accordion, AcmiQuoteCalculator, AdministrationPage, AgentGroupTravelRequestsPage, AgentGroupTravelRequestsTable, AirSegment, Alert, AlertStyled, AppLayout, ArrowDownLeftIcon, ArrowUpRightIcon, Avatar, AvatarGroup, BID_TYPE_HEADINGS, Badge, BuildingIcon, BusIcon, Button, ButtonStyled, CARRIER_CATERING_OPTIONS, CARRIER_CONTACT_TYPES, CHAMPIONSHIP_BID_TYPES, CHAMPIONSHIP_HEADINGS, CHARTER_CONTACT_GROUPS, CHARTER_SECTIONS, CalendarIcon, CalendarTypeSelector, CalendarViewSelector, CarIcon, Card, CardBody, CardFooter, CardHeader, CarrierProfilePage, ChampionshipBidDetailPage, ChampionshipBidsPage, CharterBidResponsePage, CharterBidViewPage, CharterManifestPage, CharterSourcingEmailPreview, ChartersAccessManagementPage, ChartersHomePage, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, ConfirmModal, ContactCard, ContactList, ContactUsPage, CubeIcon, DOCUMENT_FILE_EXTENSIONS, DashboardIcon, DashboardPage, Datepicker, DetailList, DocumentIcon, DownloadIcon, Drawer, DrawerBody, DrawerFooter, DrawerHeader, Dropdown, DueDatesDrawer, EditIcon, EmptyState, EyeIcon, FeatureFlagManagementPage, FieldLayout, FileUploadButton, FilterChip, FilterIcon, FormField, FormRow, FormSection, FormStack, GridIcon, GridTable, GroundSegment, GroupTravelRequestPage, HUB_ADMIN_ITEM, HUB_AGENTS_ITEM, HUB_INDIVIDUAL_TRAVEL_ITEM, HUB_NAV_ITEMS, HUB_OFF_FLEET_ITEM, HUB_SOURCING_ITEM, HUB_STM_CHARTERS_ITEM, HeadsetIcon, HomeIcon, HotelIcon, HotelSegment, HubAppShell, Icons, IndividualTravelPage, IndividualTravelRequestDetailPage, IndividualTravelRequestFormPage, InfoCenterPage, InfoIcon, InfoTile, Input, ItineraryPage, ItinerarySegmentCard, ItineraryTimeline, LightbulbIcon, LimoIcon, LockIcon, LogoIcon, MailIcon, ManifestCapacityStats, ManifestViewToggle, MegaphoneIcon, MembershipPrograms, MenuIcon, Metric, MinusIcon, Modal, ModalFooter, Module, ModuleDivider, ModuleVerticalDivider, MultiUserSearch, NavItem, NotFoundPage, OFF_FLEET_LEARNED_DESCRIPTION, OFF_FLEET_LEARNED_EMPTY_COPY, OFF_FLEET_QUEUE_DESCRIPTION, OffFleetLearnedExamplesPage, OffFleetReviewQueuePage, OffFleetSubmissionDetailPage, PageBanners, PageHeader, Pagination, PhoneIcon, PlaneIcon, PlusIcon, PreferencesPanel, PrinterIcon, Progress, ProgressBar, ProgressCircle, QuoteCostBreakdown, QuoteReviewActions, REGULAR_SEASON_BID_TYPES, RailIcon, RefreshIcon, RegularSeasonBidsPage, RegularSeasonBidsTable, ReportIcon, RequestFormFooter, RequestFormHeader, RequestFormLayout, RequestSummary, RosterProgramNumbersPage, RosterReportsPage, RosterToolbar, SOURCING_COST_CATEGORIES, SOURCING_COST_CATEGORY_LABELS, SUPPLIER_TYPE_OPTIONS, SchoolContactForm, SearchField, SearchIcon, Segment, SegmentedSelector, Select, SelectFilter, ServiceToggle, ServiceToggleList, SettingsIcon, Sidenav, SourcingQuoteDetailPage, SourcingReviewQueuePage, SourcingReviewQueueTable, Spinner, StatusBadge, SummarySection, SupplierTypeToggle, TRIP_MONTH_OPTIONS, Table, Tag, TeamCalendarHeader, TeamCard, TeamContactsPanel, TeamEquipmentForm, TeamHeader, TeamImportForm, TeamManagementPage, TeamProgramForm, TeamRosterMemberForm, TeamScheduleActions, TeamScheduleCompactTable, TeamScheduleEditor, TeamScheduleExpandedTable, TeamSchedulePage, TeamSubMenu, TeamTravelCalendarCardView, TeamTravelCalendarListView, TeamTravelCalendarPage, TeamTravelCalendarToolbar, TeamTravelCalendarView, TeamUserAccessForm, Textarea, ThemeProvider, Timepicker, Title, Toggle, Tooltip, Topbar, TrashIcon, TravelServiceIcon, TravelSummaryMetrics, TravelerForm, TrendDownIcon, TrendUpIcon, TripDetailPage, TripSegment, TripTable, TypeIcon, UploadIcon, UserIcon, UsersIcon, WarningIcon, XIcon, absoluteFill, accentColors, alertTokens, boxShadow, brandColors, breakpoints, buildPaginationItems, buttonReset, computeLineItemTotal, computeQuoteTotals, computeTravelTypeCodes, css, darkTheme, lightTheme as defaultTheme, deriveProgramBidStatus, flexCenter, flexCol, flexRow, font, fontFamily, fontSize, fontWeight, formatCompactTripCost, formatItineraryDate, formatItineraryDateRange, formatItineraryMoney, formatTeamScheduleDueDate, formatTeamScheduleTravelDates, getCharterSourcingEmailRoute, getCharterSourcingEmailSubject, getPageCount, getSegmentDate, getSegmentStartMinutes, getSegmentTitle, getTeamTravelCalendarPeriodLabel, groupSegmentsByDay, isExpiringSoon, isProgramBiddable, isQuoteActionable, isTravelDueDateCompleted, isTravelDueDateOverdue, leading, lightTheme, lineClamp, lineHeight, matchesQuoteSearch, merge, moveTeamTravelCalendarPeriod, neutralColors, parseClockTime, parseItineraryDate, primaryColors, radius, rounded, semanticColors, shadow, size, space, spacing, srOnly, statusColors, styled, teamColors, textColors, toInlineStyle, trans, transition, truncate, useTheme, weight };
|
|
6502
|
-
export type { AccordionProps, AccountInfo, AcmiAircraftOption, AcmiLeg, AcmiPositioningMode, AcmiQuoteCalculatorProps, AcmiQuoteInputs, AcmiQuoteResult, AdministrationCard, AdministrationPageProps, AdministrationTab, AgentGroupTravelRequest, AgentGroupTravelRequestSportOption, AgentGroupTravelRequestViewOption, AgentGroupTravelRequestsPageProps, AirSegmentProps, AlertProps, AlertStyledProps, AlertVariant$1 as AlertVariant, AppLayoutProps, AvatarGroupProps, AvatarProps, AvatarSize, BadgeProps, BadgeSize, BadgeVariant, ButtonProps, ButtonSize$1 as ButtonSize, ButtonStyledProps, ButtonVariant$1 as ButtonVariant, CSSObject, CalendarMetric, CalendarTypeSelectorProps, CalendarTypeValue, CalendarView, CalendarViewSelectorProps, CalendarViewValue, CardBodyProps, CardFooterProps, CardHeaderProps, CardPadding, CardProps, CardVariant, CarrierAircraft, CarrierContact, CarrierProfilePageProps, CarrierProfilePreferences, CarrierProfileTab, ChampionshipBid, ChampionshipBidDetail, ChampionshipBidDetailPageProps, ChampionshipBidType, ChampionshipBidsPageProps, CharterBidLevel, CharterBidResponsePageProps, CharterBidSubmission, CharterBidTarget, CharterBidViewPageProps, CharterContact, CharterContactGroup, CharterFlightProgramBid, CharterManifestEquipment, CharterManifestPageProps, CharterManifestPassenger, CharterManifestSegment, CharterSectionCard, CharterSourcingEmailChange, CharterSourcingEmailChanges, CharterSourcingEmailLeg, CharterSourcingEmailPreviewProps, CharterSourcingEmailQuote, CharterSourcingEmailVariant, CharterSubmissionType, CharterSubmittedBid, CharterTripBid, CharterTripBidStatus, ChartersAccessId, ChartersAccessManagementPageProps, ChartersAccessMembership, ChartersAccessRole, ChartersAccountUser, ChartersHomePageProps, CheckboxProps, ConfirmModalProps, Contact, ContactCardData, ContactCardProps, ContactInfo, ContactListProps, ContactPair, ContactUsData, ContactUsPageProps, DashboardPageProps, DatepickerProps, DatepickerSize, DetailListItem, DetailListProps, DetailListVariant, DrawerBodyProps, DrawerFooterProps, DrawerHeaderProps, DrawerPosition, DrawerProps, DrawerSize, DropdownAlignment, DropdownItemProps, DropdownProps, DueDatesDrawerProps, EmptyStateProps, EmptyStateSize, FeatureFlagDefinition, FeatureFlagIdentifier, FeatureFlagManagementPageProps, FeatureFlagRule, FeatureFlagRuleDeactivateRequest, FeatureFlagRuleEditRequest, FeatureFlagRuleEffect, FeatureFlagRuleFormValue, FeatureFlagTargetOption, FeatureFlagTargetOptions, FeatureFlagTargetType, FieldLayoutProps, FieldLayoutRenderProps, FileUploadButtonProps, FilterChipProps, FilterOption, FlightData, FormFieldProps, FormRowProps, FormSectionProps, FormStackProps, GridCellRenderProps, GridColumn, GridRow, GridTableProps, GridTotalRow, GroundData, GroundSegmentProps, GroupTravelDueField, GroupTravelDueStatus, GroupTravelPnr, GroupTravelRequestContact, GroupTravelRequestFieldValue, GroupTravelRequestPageProps, GroupTravelRequestSource, GroupTravelRequestValues, GroupedTravelDueDates, HotelData, HotelSegmentProps, HubAppShellActions, HubAppShellProps, HubNavigationItem, IconName, IconProps, IndividualTravelExportRequest, IndividualTravelExportScope, IndividualTravelFilters, IndividualTravelPageProps, IndividualTravelPagination, IndividualTravelRequestAirLeg, IndividualTravelRequestAirRequest, IndividualTravelRequestAirTripType, IndividualTravelRequestAnswerValue, IndividualTravelRequestBusRequest, IndividualTravelRequestCarLeg, IndividualTravelRequestCarRequest, IndividualTravelRequestCurrentTraveler, IndividualTravelRequestDetail, IndividualTravelRequestDetailPageProps, IndividualTravelRequestFormConfiguration, IndividualTravelRequestFormPageProps, IndividualTravelRequestHotelLeg, IndividualTravelRequestHotelRequest, IndividualTravelRequestLabeledAnswer, IndividualTravelRequestOption, IndividualTravelRequestQuestion, IndividualTravelRequestQuestionType, IndividualTravelRequestService, IndividualTravelRequestSubmitter, IndividualTravelRequestTraveler, IndividualTravelRequestTravelerType, IndividualTravelRequestValues, IndividualTravelTabCounts, InfoCenterArticle, InfoCenterPageProps, InfoCenterPageState, InfoTileEdge, InfoTileProps, InputProps, InputSize, ItineraryAgent, ItineraryAirSegment, ItineraryCarSegment, ItineraryDay, ItineraryHotelSegment, ItineraryPageProps, ItinerarySegment, ItinerarySegmentCardProps, ItinerarySegmentStatus, ItineraryTimelineProps, ManifestCapacityStatsProps, ManifestSendState, ManifestView, ManifestViewToggleProps, MembershipProgram, MembershipProgramsProps, MetricProps, ModalFooterProps, ModalProps, ModalSize, ModuleProps, ModuleSize, MultiUserSearchOption, MultiUserSearchProps, NavItemProps, NavItemSize, NavItemVariant, NotFoundPageProps, OffFleetLearnedExample, OffFleetLearnedExamplesPageProps, OffFleetLeg, OffFleetLegDiagnostic, OffFleetLegMatch, OffFleetPreflightCheck, OffFleetPreflightRow, OffFleetPriceBasis, OffFleetQuoteHeader, OffFleetReviewQueuePageProps, OffFleetSubmission, OffFleetSubmissionDetailPageProps, OffFleetSubmissionStatus, OffFleetTripGrouping, OffFleetTripSegment, PageBannersProps, PageHeaderProps, PaginationItem, PaginationProps, PreferenceField, PreferenceSection, PreferencesPanelProps, ProgressBarProps, ProgressCircleProps, ProgressSize, ProgressVariant, QuoteCostBreakdownProps, QuoteCostTotals, QuoteFieldChange, QuoteReviewActionsProps, RegularSeasonBidType, RegularSeasonBidsPageProps, RegularSeasonBidsTableProps, RequestFormFooterProps, RequestFormHeaderProps, RequestFormLayoutProps, RequestSummaryProps, RosterProgramNumberId, RosterProgramNumberRow, RosterProgramNumbersPageProps, RosterReportOption, RosterReportsPageProps, RosterToolbarProps, ScheduleFilterOption, ScheduleMetric, SchoolContactFormProps, SearchFieldProps, SeasonOption, SegmentOption, SegmentProps, SegmentVariant, SegmentedSelectorOption, SegmentedSelectorProps, SelectFilterOption, SelectFilterProps, SelectOption, SelectOptionGroup, SelectProps, SelectSize, ServiceConfig, ServiceToggleListProps, ServiceToggleProps, SidenavItem, SidenavProps, SourcingCostAdjustment, SourcingCostCategory, SourcingCostLineItem, SourcingQuote, SourcingQuoteDetailPageProps, SourcingQuoteDraft, SourcingQuoteLeg, SourcingQuoteLegType, SourcingQuoteStatus, SourcingReviewQueuePageProps, SourcingReviewQueueTableProps, SpinnerProps, SpinnerSize, StatusBadgeProps, StatusBadgeVariant, StyleFunction, SummaryItem, SummarySectionConfig, SummarySegment, SupplierTypeToggleProps, SupplierTypeValue, SystemBanner, TabKey, TableColumn, TableProps, TableRowKey, TagProps, TagSize, TagVariant, TeamCalendarHeaderProps, TeamCardProps, TeamContactId, TeamContactOption, TeamContactsLoadingState, TeamContactsPanelProps, TeamContactsValue, TeamEquipmentFormProps, TeamEquipmentValues, TeamFormMode, TeamHeaderProps, TeamImportFormProps, TeamImportKind, TeamManagementPageProps, TeamManagementTab, TeamNumericValue, TeamOption, TeamPortalUserOption, TeamProgramFormProps, TeamProgramType, TeamProgramValues, TeamRosterMemberFormProps, TeamRosterMemberValues, TeamScheduleActionsProps, TeamScheduleCompactEvent, TeamScheduleCompactRow, TeamScheduleCompactTableProps, TeamScheduleCompactTrip, TeamScheduleDueDate, TeamScheduleEditorEvent, TeamScheduleEditorProps, TeamScheduleEditorTrip, TeamScheduleExpandedRow, TeamScheduleExpandedTableProps, TeamScheduleHomeAway, TeamSchedulePageProps, TeamSubMenuProps, TeamSubMenuTab, TeamTravelCalendarCardViewProps, TeamTravelCalendarDueDate, TeamTravelCalendarDuration, TeamTravelCalendarEvent, TeamTravelCalendarItemType, TeamTravelCalendarListViewProps, TeamTravelCalendarPageProps, TeamTravelCalendarSportGroup, TeamTravelCalendarToolbarProps, TeamTravelCalendarTrip, TeamTravelCalendarViewProps, TeamUserAccessFormProps, TeamUserAccessValues, TextareaProps, Theme, ThemeBreakpoint, ThemeColors, ThemeContextValue, ThemeMode, ThemeProviderProps, ThemeRadius, ThemeShadow, ThemeSpacing, ThemeTransition, ThemeTypography, TimepickerProps, TimepickerSize, TitleProps, TitleWeight, ToggleProps, ToggleSize, ToolbarAction, TooltipPosition, TooltipProps, TooltipVariant, TopbarProps, TravelAlertBanner, TravelDueDateItem, TravelServiceIconProps, TravelSummaryMetricsProps, TravelType, TravelerFormData, TravelerFormProps, TripData, TripDetailPageProps, TripSegmentProps, TripTableProps, TypeIconProps, VendorCode };
|
|
7578
|
+
export { ACMI_AIRCRAFT_OPTIONS, ACMI_CARRIER_OPTIONS, ACMI_INSURANCE_FLAT, Accordion, AcmiQuoteCalculator, AdministrationPage, AgentGroupTravelRequestsPage, AgentGroupTravelRequestsTable, AirSegment, Alert, AlertStyled, AppLayout, ArrowDownLeftIcon, ArrowUpRightIcon, Avatar, AvatarGroup, BID_TYPE_HEADINGS, Badge, BuildingIcon, BusIcon, Button, ButtonStyled, CARRIER_CATERING_OPTIONS, CARRIER_CONTACT_TYPES, CHAMPIONSHIP_BID_TYPES, CHAMPIONSHIP_HEADINGS, CHARTER_CONTACT_GROUPS, CHARTER_SECTIONS, CalendarIcon, CalendarTypeSelector, CalendarViewSelector, CarIcon, Card, CardBody, CardFooter, CardHeader, CarrierProfilePage, ChampionshipBidDetailPage, ChampionshipBidsPage, CharterBidResponsePage, CharterBidViewPage, CharterManifestPage, CharterSourcingEmailPreview, ChartersAccessManagementPage, ChartersHomePage, CheckIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, ConfirmModal, ContactCard, ContactList, ContactUsPage, CubeIcon, DEBIT_MEMO_EMPHASIZED_REASONS, DEBIT_MEMO_MOCK_DATA, DOCUMENT_FILE_EXTENSIONS, DashboardIcon, DashboardPage, Datepicker, DebitMemoAgentErrorPage, DebitMemoBulkActionBar, DebitMemoTable, DetailList, DocumentIcon, DownloadIcon, Drawer, DrawerBody, DrawerFooter, DrawerHeader, Dropdown, DueDatesDrawer, EditIcon, EmptyState, EyeIcon, FeatureFlagManagementPage, FieldLayout, FileUploadButton, FilterChip, FilterIcon, FormField, FormRow, FormSection, FormStack, GridIcon, GridTable, GroundSegment, GroupTravelRequestPage, HUB_ADMIN_ITEM, HUB_AGENTS_ITEM, HUB_INDIVIDUAL_TRAVEL_ITEM, HUB_NAV_ITEMS, HUB_OFF_FLEET_ITEM, HUB_SOURCING_ITEM, HUB_STM_CHARTERS_ITEM, HeadsetIcon, HomeIcon, HotelIcon, HotelSegment, HubAppShell, Icons, IndividualTravelPage, IndividualTravelRequestDetailPage, IndividualTravelRequestFormPage, InfoCenterPage, InfoIcon, InfoTile, Input, ItineraryPage, ItinerarySegmentCard, ItineraryTimeline, LightbulbIcon, LimoIcon, LockIcon, Logo, LogoIcon, MailIcon, ManifestCapacityStats, ManifestViewToggle, MegaphoneIcon, MembershipPrograms, MenuIcon, Metric, MinusIcon, Modal, ModalFooter, Module, ModuleDivider, ModuleVerticalDivider, MultiUserSearch, NavItem, NotFoundPage, OFF_FLEET_LEARNED_DESCRIPTION, OFF_FLEET_LEARNED_EMPTY_COPY, OFF_FLEET_QUEUE_DESCRIPTION, OffFleetLearnedExamplesPage, OffFleetReviewQueuePage, OffFleetSubmissionDetailPage, PageBanners, PageHeader, Pagination, PhoneIcon, PlaneIcon, PlusIcon, PreferencesPanel, PrinterIcon, Progress, ProgressBar, ProgressCircle, QuoteCostBreakdown, QuoteReviewActions, REGULAR_SEASON_BID_TYPES, RailIcon, RefreshIcon, RegularSeasonBidsPage, RegularSeasonBidsTable, ReportIcon, RequestFormFooter, RequestFormHeader, RequestFormLayout, RequestSummary, RosterProgramNumbersPage, RosterReportsPage, RosterToolbar, SOURCING_COST_CATEGORIES, SOURCING_COST_CATEGORY_LABELS, SUPPLIER_TYPE_OPTIONS, SchoolContactForm, SearchField, SearchIcon, Segment, SegmentedSelector, Select, SelectFilter, ServiceToggle, ServiceToggleList, SettingsIcon, Sidenav, SourcingQuoteDetailPage, SourcingReviewQueuePage, SourcingReviewQueueTable, Spinner, StatusBadge, SummarySection, SupplierTypeToggle, TRIP_MONTH_OPTIONS, Table, Tag, TeamCalendarHeader, TeamCard, TeamContactsPanel, TeamEquipmentForm, TeamHeader, TeamImportForm, TeamManagementPage, TeamProgramForm, TeamRosterMemberForm, TeamScheduleActions, TeamScheduleCompactTable, TeamScheduleEditor, TeamScheduleExpandedTable, TeamSchedulePage, TeamSubMenu, TeamTravelCalendarCardView, TeamTravelCalendarListView, TeamTravelCalendarPage, TeamTravelCalendarToolbar, TeamTravelCalendarView, TeamUserAccessForm, Textarea, ThemeProvider, Timepicker, Title, Toggle, Tooltip, Topbar, TrashIcon, TravelServiceIcon, TravelSummaryMetrics, TravelerForm, TrendDownIcon, TrendUpIcon, TripDetailPage, TripSegment, TripTable, TypeIcon, UploadIcon, UserIcon, UsersIcon, WarningIcon, XIcon, absoluteFill, accentColors, alertTokens, boxShadow, brandColors, breakpoints, buildPaginationItems, buttonReset, computeLineItemTotal, computeQuoteTotals, computeTravelTypeCodes, css, darkTheme, lightTheme as defaultTheme, deriveProgramBidStatus, flexCenter, flexCol, flexRow, font, fontFamily, fontSize, fontWeight, formatCompactTripCost, formatItineraryDate, formatItineraryDateRange, formatItineraryMoney, formatTeamScheduleDueDate, formatTeamScheduleTravelDates, getCharterSourcingEmailRoute, getCharterSourcingEmailSubject, getPageCount, getSegmentDate, getSegmentStartMinutes, getSegmentTitle, getTeamTravelCalendarPeriodLabel, groupSegmentsByDay, isExpiringSoon, isProgramBiddable, isQuoteActionable, isTravelDueDateCompleted, isTravelDueDateOverdue, leading, lightTheme, lineClamp, lineHeight, matchesQuoteSearch, merge, moveTeamTravelCalendarPeriod, neutralColors, parseClockTime, parseItineraryDate, primaryColors, radius, rounded, semanticColors, shadow, size, space, spacing, srOnly, statusColors, styled, teamColors, textColors, toInlineStyle, trans, transition, truncate, useTheme, weight };
|
|
7579
|
+
export type { AccordionProps, AccountInfo, AcmiAircraftOption, AcmiLeg, AcmiPositioningMode, AcmiQuoteCalculatorProps, AcmiQuoteInputs, AcmiQuoteResult, AdministrationCard, AdministrationPageProps, AdministrationTab, AgentGroupTravelRequest, AgentGroupTravelRequestSportOption, AgentGroupTravelRequestViewOption, AgentGroupTravelRequestsPageProps, AirSegmentProps, AlertProps, AlertStyledProps, AlertVariant$1 as AlertVariant, AppLayoutProps, AvatarGroupProps, AvatarProps, AvatarSize, BadgeProps, BadgeSize, BadgeVariant, ButtonProps, ButtonSize$1 as ButtonSize, ButtonStyledProps, ButtonVariant$1 as ButtonVariant, CSSObject, CalendarMetric, CalendarTypeSelectorProps, CalendarTypeValue, CalendarView, CalendarViewSelectorProps, CalendarViewValue, CardBodyProps, CardFooterProps, CardHeaderProps, CardPadding, CardProps, CardVariant, CarrierAircraft, CarrierContact, CarrierProfilePageProps, CarrierProfilePreferences, CarrierProfileTab, ChampionshipBid, ChampionshipBidDetail, ChampionshipBidDetailPageProps, ChampionshipBidType, ChampionshipBidsPageProps, CharterBidLevel, CharterBidResponsePageProps, CharterBidSubmission, CharterBidTarget, CharterBidViewPageProps, CharterContact, CharterContactGroup, CharterFlightProgramBid, CharterManifestEquipment, CharterManifestPageProps, CharterManifestPassenger, CharterManifestSegment, CharterSectionCard, CharterSourcingEmailChange, CharterSourcingEmailChanges, CharterSourcingEmailLeg, CharterSourcingEmailPreviewProps, CharterSourcingEmailQuote, CharterSourcingEmailVariant, CharterSubmissionType, CharterSubmittedBid, CharterTripBid, CharterTripBidStatus, ChartersAccessId, ChartersAccessManagementPageProps, ChartersAccessMembership, ChartersAccessRole, ChartersAccountUser, ChartersHomePageProps, CheckboxProps, ConfirmModalProps, Contact, ContactCardData, ContactCardProps, ContactInfo, ContactListProps, ContactPair, ContactUsData, ContactUsPageProps, DashboardPageProps, DatepickerProps, DatepickerSize, DebitMemoAgentErrorPageProps, DebitMemoBulkActionBarProps, DebitMemoRecord, DebitMemoTab, DebitMemoTableProps, DetailListItem, DetailListProps, DetailListVariant, DrawerBodyProps, DrawerFooterProps, DrawerHeaderProps, DrawerPosition, DrawerProps, DrawerSize, DropdownAlignment, DropdownItemProps, DropdownProps, DueDatesDrawerProps, EmptyStateProps, EmptyStateSize, FeatureFlagDefinition, FeatureFlagIdentifier, FeatureFlagManagementPageProps, FeatureFlagRule, FeatureFlagRuleDeactivateRequest, FeatureFlagRuleEditRequest, FeatureFlagRuleEffect, FeatureFlagRuleFormValue, FeatureFlagTargetOption, FeatureFlagTargetOptions, FeatureFlagTargetType, FieldLayoutProps, FieldLayoutRenderProps, FileUploadButtonProps, FilterChipProps, FilterOption, FlightData, FormFieldProps, FormRowProps, FormSectionProps, FormStackProps, GridCellRenderProps, GridColumn, GridRow, GridTableProps, GridTotalRow, GroundData, GroundSegmentProps, GroupTravelDueField, GroupTravelDueStatus, GroupTravelPnr, GroupTravelRequestContact, GroupTravelRequestFieldValue, GroupTravelRequestPageProps, GroupTravelRequestSource, GroupTravelRequestValues, GroupedTravelDueDates, HotelData, HotelSegmentProps, HubAppShellActions, HubAppShellProps, HubNavigationItem, IconName, IconProps, IndividualTravelExportRequest, IndividualTravelExportScope, IndividualTravelFilters, IndividualTravelPageProps, IndividualTravelPagination, IndividualTravelRequestAirLeg, IndividualTravelRequestAirRequest, IndividualTravelRequestAirTripType, IndividualTravelRequestAnswerValue, IndividualTravelRequestBusRequest, IndividualTravelRequestCarLeg, IndividualTravelRequestCarRequest, IndividualTravelRequestCurrentTraveler, IndividualTravelRequestDetail, IndividualTravelRequestDetailPageProps, IndividualTravelRequestFormConfiguration, IndividualTravelRequestFormPageProps, IndividualTravelRequestHotelLeg, IndividualTravelRequestHotelRequest, IndividualTravelRequestLabeledAnswer, IndividualTravelRequestOption, IndividualTravelRequestQuestion, IndividualTravelRequestQuestionType, IndividualTravelRequestService, IndividualTravelRequestSubmitter, IndividualTravelRequestTraveler, IndividualTravelRequestTravelerType, IndividualTravelRequestValues, IndividualTravelTabCounts, InfoCenterArticle, InfoCenterPageProps, InfoCenterPageState, InfoTileEdge, InfoTileProps, InputProps, InputSize, ItineraryAgent, ItineraryAirSegment, ItineraryCarSegment, ItineraryDay, ItineraryHotelSegment, ItineraryPageProps, ItinerarySegment, ItinerarySegmentCardProps, ItinerarySegmentStatus, ItineraryTimelineProps, LogoLockup, LogoProps, LogoVariant, ManifestCapacityStatsProps, ManifestSendState, ManifestView, ManifestViewToggleProps, MembershipProgram, MembershipProgramsProps, MetricProps, ModalFooterProps, ModalProps, ModalSize, ModuleProps, ModuleSize, MultiUserSearchOption, MultiUserSearchProps, NavItemProps, NavItemSize, NavItemVariant, NotFoundPageProps, OffFleetLearnedExample, OffFleetLearnedExamplesPageProps, OffFleetLeg, OffFleetLegDiagnostic, OffFleetLegMatch, OffFleetPreflightCheck, OffFleetPreflightRow, OffFleetPriceBasis, OffFleetQuoteHeader, OffFleetReviewQueuePageProps, OffFleetSubmission, OffFleetSubmissionDetailPageProps, OffFleetSubmissionStatus, OffFleetTripGrouping, OffFleetTripSegment, PageBannersProps, PageHeaderProps, PaginationItem, PaginationProps, PreferenceField, PreferenceSection, PreferencesPanelProps, ProgressBarProps, ProgressCircleProps, ProgressSize, ProgressVariant, QuoteCostBreakdownProps, QuoteCostTotals, QuoteFieldChange, QuoteReviewActionsProps, RegularSeasonBidType, RegularSeasonBidsPageProps, RegularSeasonBidsTableProps, RequestFormFooterProps, RequestFormHeaderProps, RequestFormLayoutProps, RequestSummaryProps, ResolutionOption, RosterProgramNumberId, RosterProgramNumberRow, RosterProgramNumbersPageProps, RosterReportOption, RosterReportsPageProps, RosterToolbarProps, ScheduleFilterOption, ScheduleMetric, SchoolContactFormProps, SearchFieldProps, SeasonOption, SegmentOption, SegmentProps, SegmentVariant, SegmentedSelectorOption, SegmentedSelectorProps, SelectFilterOption, SelectFilterProps, SelectOption, SelectOptionGroup, SelectProps, SelectSize, ServiceConfig, ServiceToggleListProps, ServiceToggleProps, SidenavItem, SidenavProps, SourcingCostAdjustment, SourcingCostCategory, SourcingCostLineItem, SourcingQuote, SourcingQuoteDetailPageProps, SourcingQuoteDraft, SourcingQuoteLeg, SourcingQuoteLegType, SourcingQuoteStatus, SourcingReviewQueuePageProps, SourcingReviewQueueTableProps, SpinnerProps, SpinnerSize, StatusBadgeProps, StatusBadgeVariant, StyleFunction, SummaryItem, SummarySectionConfig, SummarySegment, SupplierTypeToggleProps, SupplierTypeValue, SystemBanner, TabKey, TableColumn, TableProps, TableRowKey, TagProps, TagSize, TagVariant, TeamCalendarHeaderProps, TeamCardProps, TeamContactId, TeamContactOption, TeamContactsLoadingState, TeamContactsPanelProps, TeamContactsValue, TeamEquipmentFormProps, TeamEquipmentValues, TeamFormMode, TeamHeaderProps, TeamImportFormProps, TeamImportKind, TeamManagementPageProps, TeamManagementTab, TeamNumericValue, TeamOption, TeamPortalUserOption, TeamProgramFormProps, TeamProgramType, TeamProgramValues, TeamRosterMemberFormProps, TeamRosterMemberValues, TeamScheduleActionsProps, TeamScheduleCompactEvent, TeamScheduleCompactRow, TeamScheduleCompactTableProps, TeamScheduleCompactTrip, TeamScheduleDueDate, TeamScheduleEditorEvent, TeamScheduleEditorProps, TeamScheduleEditorTrip, TeamScheduleExpandedRow, TeamScheduleExpandedTableProps, TeamScheduleHomeAway, TeamSchedulePageProps, TeamSubMenuProps, TeamSubMenuTab, TeamTravelCalendarCardViewProps, TeamTravelCalendarDueDate, TeamTravelCalendarDuration, TeamTravelCalendarEvent, TeamTravelCalendarItemType, TeamTravelCalendarListViewProps, TeamTravelCalendarPageProps, TeamTravelCalendarSportGroup, TeamTravelCalendarToolbarProps, TeamTravelCalendarTrip, TeamTravelCalendarViewProps, TeamUserAccessFormProps, TeamUserAccessValues, TextareaProps, Theme, ThemeBreakpoint, ThemeColors, ThemeContextValue, ThemeMode, ThemeProviderProps, ThemeRadius, ThemeShadow, ThemeSpacing, ThemeTransition, ThemeTypography, TimepickerProps, TimepickerSize, TitleProps, TitleWeight, ToggleProps, ToggleSize, ToolbarAction, TooltipPosition, TooltipProps, TooltipVariant, TopbarProps, TravelAlertBanner, TravelDueDateItem, TravelServiceIconProps, TravelSummaryMetricsProps, TravelType, TravelerFormData, TravelerFormProps, TripData, TripDetailPageProps, TripSegmentProps, TripTableProps, TypeIconProps, VendorCode };
|