@admin-layout/client 12.2.5-alpha.2 → 12.2.5-alpha.7

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.
@@ -0,0 +1,241 @@
1
+ /**
2
+ * Result cards for every chat widget that is a list of things to pick from:
3
+ * stays, rental cars, trains and buses, products, movie showtimes and jobs,
4
+ * plus the single resume card. Flights keep their own model (flightCards.ts);
5
+ * this file reuses its time, price and monogram helpers so a train reads the
6
+ * way a flight does.
7
+ *
8
+ * Every renderer (the tailwind chat cards on the web, any native twin) builds
9
+ * from these views, so the strings a card shows are decided once, here.
10
+ *
11
+ * Nothing here knows a provider. A seller's name comes from the row itself
12
+ * (`provider`, `merchant`, `sourceLabel`) or from the host of its link, never
13
+ * from a table of known sites.
14
+ */
15
+ /** A standout a card can be labelled with once its result set is ranked. */
16
+ export type ResultBadge = 'cheapest' | 'fastest' | 'top-rated';
17
+ export declare const resultBadgeLabel: (badge: ResultBadge) => string;
18
+ /** Orderings a result list offers. `recommended` keeps the order the agent returned. */
19
+ export type ResultSort = 'recommended' | 'cheapest' | 'fastest' | 'rating' | 'departure' | 'newest';
20
+ /** The fields of a result row every card may read. Each vertical adds its own. */
21
+ export interface ResultItemLike {
22
+ id?: string;
23
+ title?: string;
24
+ url?: string;
25
+ imageUrl?: string;
26
+ price?: number;
27
+ priceLabel?: string;
28
+ priceUnit?: string;
29
+ currency?: string;
30
+ rating?: number;
31
+ reviewCount?: number;
32
+ reviews?: number;
33
+ source?: string;
34
+ /** The seller or operator as the row names it. */
35
+ provider?: string;
36
+ /** Display name for the source, when the row carries one. */
37
+ sourceLabel?: string;
38
+ [key: string]: unknown;
39
+ }
40
+ export interface ResultSetLike {
41
+ title?: string;
42
+ subtitle?: string;
43
+ totalCount?: number;
44
+ actionLabel?: string;
45
+ currency?: string;
46
+ properties?: ResultItemLike[];
47
+ [key: string]: unknown;
48
+ }
49
+ export interface ResultCardBase {
50
+ key: string;
51
+ url?: string;
52
+ title: string;
53
+ price?: string;
54
+ priceValue?: number;
55
+ rating?: number;
56
+ /** Where the row is sold or listed: "booking.com", "Turo", "FlixBus". */
57
+ sourceLabel?: string;
58
+ badges: ResultBadge[];
59
+ /** One sentence a screen reader announces for the whole card. */
60
+ accessibleLabel: string;
61
+ }
62
+ /** One quick pick in a result header: "Cheapest · $89 · Hotel Lux". */
63
+ export interface ResultPick {
64
+ badge: ResultBadge;
65
+ label: string;
66
+ key: string;
67
+ /** The figure the chip shows: a price, a duration, or a rating. */
68
+ value?: string;
69
+ /** Which card it is, in a word or two. */
70
+ name?: string;
71
+ }
72
+ export interface ResultSummary {
73
+ title: string;
74
+ /** "6 stays · from $89 · Sep 5 – 8" */
75
+ subtitle: string;
76
+ count: number;
77
+ fromPrice?: string;
78
+ picks: ResultPick[];
79
+ }
80
+ /** "www.booking.com" → "booking.com"; undefined for a hash or relative link. */
81
+ export declare const hostLabel: (url?: string) => string | undefined;
82
+ /** The row's own name for where it is sold, else the link's host, else its source key. */
83
+ export declare const sourceLabelOf: (item: ResultItemLike) => string | undefined;
84
+ /** "4.6" or "9.1"; scores over 5 are on a 10 scale and keep one decimal too. */
85
+ export declare const ratingLabel: (rating?: number) => string | undefined;
86
+ /** "1,284" with a compact fallback for very large counts: "12k". */
87
+ export declare const countLabel: (n?: number) => string | undefined;
88
+ interface Rankable {
89
+ priceValue?: number;
90
+ rating?: number;
91
+ reviewCount?: number;
92
+ minutes?: number;
93
+ }
94
+ /** Orders any result cards; a metric a card lacks sorts it last. */
95
+ export declare const sortResultCards: <T extends ResultCardBase & Rankable & {
96
+ departTime?: string;
97
+ postedDays?: number;
98
+ }>(cards: T[], sort: ResultSort) => T[];
99
+ /** What a travel result set holds; flights are read by flightCards.ts. */
100
+ export type TravelResultKind = 'stay' | 'car' | 'train' | 'bus';
101
+ /** The kind of one travel row, from its own `kind`, then its source, then its price unit. */
102
+ export declare const travelItemKind: (item: ResultItemLike) => TravelResultKind;
103
+ /** The kind most rows in the set share, so one card style renders the whole row. */
104
+ export declare const travelResultKind: (a?: ResultSetLike) => TravelResultKind;
105
+ export interface StayCardView extends ResultCardBase, Rankable {
106
+ imageUrl?: string;
107
+ /** "Downtown · 1.2 km from center" or the city. */
108
+ location?: string;
109
+ ratingText?: string;
110
+ reviewsText?: string;
111
+ /** "night", "trip". */
112
+ unit?: string;
113
+ /** "Free cancellation", "Entire home" ... as the row states it. */
114
+ perks: string[];
115
+ description?: string;
116
+ }
117
+ export declare const toStayCard: (item: ResultItemLike, index: number, currency?: string) => StayCardView | null;
118
+ export declare const toStayCards: (a: ResultSetLike) => StayCardView[];
119
+ export interface CarCardView extends ResultCardBase, Rankable {
120
+ imageUrl?: string;
121
+ /** "SUV · 5 seats · Automatic" from whatever the row states. */
122
+ specs?: string;
123
+ description?: string;
124
+ ratingText?: string;
125
+ /** "128 trips" — Turo counts trips, a rental desk counts reviews. */
126
+ reviewsText?: string;
127
+ unit: string;
128
+ /** A search link to a rental site rather than a priced car. */
129
+ isLink: boolean;
130
+ }
131
+ export declare const toCarCard: (item: ResultItemLike, index: number, currency?: string) => CarCardView | null;
132
+ /** Priced cars first, search links after: a link has nothing to compare. */
133
+ export declare const toCarCards: (a: ResultSetLike) => CarCardView[];
134
+ export interface GroundCardView extends ResultCardBase, Rankable {
135
+ mode: 'train' | 'bus';
136
+ operator?: string;
137
+ /** Monogram tile for the operator. */
138
+ operatorCode: string;
139
+ operatorTone: number;
140
+ departTime?: string;
141
+ arriveTime?: string;
142
+ /** "+1" when it arrives a calendar day later. */
143
+ dayOffset?: string;
144
+ /** Station, else the city. */
145
+ origin?: string;
146
+ destination?: string;
147
+ duration?: string;
148
+ stops?: string;
149
+ stopCount?: number;
150
+ /** "Sun, Oct 4". */
151
+ date?: string;
152
+ travelClass?: string;
153
+ /** "3 seats left" when the row says so and it is few. */
154
+ seatsLeft?: string;
155
+ /** A route-planner link (Rome2Rio, Wanderu) rather than one departure. */
156
+ isLink: boolean;
157
+ description?: string;
158
+ }
159
+ export declare const toGroundCard: (item: ResultItemLike, index: number, currency?: string) => GroundCardView | null;
160
+ /** Departures first, planner links after. */
161
+ export declare const toGroundCards: (a: ResultSetLike) => GroundCardView[];
162
+ export interface ProductCardView extends ResultCardBase, Rankable {
163
+ imageUrl?: string;
164
+ ratingText?: string;
165
+ reviewsText?: string;
166
+ /** "Was $129" when the row carries an original price. */
167
+ wasPrice?: string;
168
+ /** "Free delivery", "In stock" as the row states it. */
169
+ note?: string;
170
+ }
171
+ export declare const toProductCard: (item: ResultItemLike, index: number, currency?: string) => ProductCardView | null;
172
+ export declare const toProductCards: (a: ResultSetLike) => ProductCardView[];
173
+ export interface MovieShowtime {
174
+ time: string;
175
+ /** Booking link for that time, when the row has one per time. */
176
+ url?: string;
177
+ }
178
+ export interface MovieCardView extends ResultCardBase, Rankable {
179
+ posterUrl?: string;
180
+ /** "PG-13 · 2h 46m · Sci-Fi". */
181
+ meta?: string;
182
+ ratingText?: string;
183
+ theater?: string;
184
+ /** "1.2 mi · 123 Main St". */
185
+ place?: string;
186
+ /** "Today", "Sat, Oct 4". */
187
+ when?: string;
188
+ format?: string;
189
+ times: MovieShowtime[];
190
+ /** Showtimes past the ones the card shows. */
191
+ moreTimes: number;
192
+ }
193
+ export declare const toMovieCard: (item: ResultItemLike, index: number, currency?: string) => MovieCardView | null;
194
+ export declare const toMovieCards: (a: ResultSetLike) => MovieCardView[];
195
+ export interface JobCardView extends ResultCardBase, Rankable {
196
+ company?: string;
197
+ companyCode: string;
198
+ companyTone: number;
199
+ logoUrl?: string;
200
+ location?: string;
201
+ /** "Remote", "Hybrid", "On-site". */
202
+ workplace?: string;
203
+ salary?: string;
204
+ employmentType?: string;
205
+ /** "Today", "3d ago", "2w ago". */
206
+ posted?: string;
207
+ postedDays?: number;
208
+ snippet?: string;
209
+ easyApply: boolean;
210
+ }
211
+ /** Whole days since an ISO date; undefined for anything unparseable. */
212
+ export declare const daysSince: (iso: string | undefined, now: number) => number | undefined;
213
+ export declare const postedLabel: (days?: number) => string | undefined;
214
+ export declare const toJobCard: (item: ResultItemLike, index: number, now?: number) => JobCardView | null;
215
+ /** Jobs get no badges: "cheapest" means nothing and a rating is rarely there. */
216
+ export declare const toJobCards: (a: ResultSetLike, now?: number) => JobCardView[];
217
+ export interface ResumeCardView {
218
+ title: string;
219
+ subtitle?: string;
220
+ /** The person's name and headline, when the attachment carries the resume. */
221
+ name?: string;
222
+ headline?: string;
223
+ /** Top skills or sections, a few words each. */
224
+ tags: string[];
225
+ template?: string;
226
+ openUrl?: string;
227
+ downloadUrl?: string;
228
+ imageUrl?: string;
229
+ actionLabel: string;
230
+ accessibleLabel: string;
231
+ }
232
+ export declare const toResumeCard: (a: Record<string, unknown> | undefined) => ResumeCardView | null;
233
+ export declare const travelResultNoun: (kind: TravelResultKind) => [string, string];
234
+ export declare const staySummary: (a: ResultSetLike, cards?: StayCardView[]) => ResultSummary;
235
+ export declare const carSummary: (a: ResultSetLike, cards?: CarCardView[]) => ResultSummary;
236
+ export declare const groundSummary: (a: ResultSetLike, cards?: GroundCardView[]) => ResultSummary;
237
+ export declare const productSummary: (a: ResultSetLike, cards?: ProductCardView[]) => ResultSummary;
238
+ export declare const movieSummary: (a: ResultSetLike, cards?: MovieCardView[]) => ResultSummary;
239
+ export declare const jobSummary: (a: ResultSetLike, cards?: JobCardView[]) => ResultSummary;
240
+ export {};
241
+ //# sourceMappingURL=resultCards.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resultCards.d.ts","sourceRoot":"","sources":["../../src/utils/resultCards.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAcH,4EAA4E;AAC5E,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,CAAC;AAE/D,eAAO,MAAM,gBAAgB,GAAI,OAAO,WAAW,KAAG,MAC+B,CAAC;AAEtF,wFAAwF;AACxF,MAAM,MAAM,UAAU,GAAG,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG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