tickera-angular-components 0.0.1-dev.12 → 0.0.1-dev.120
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/fesm2022/tickera-angular-components.mjs +6434 -2097
- package/fesm2022/tickera-angular-components.mjs.map +1 -1
- package/i18n/en.json +122 -1
- package/i18n/es.json +122 -1
- package/index.d.ts +1989 -401
- package/package.json +5 -2
- package/tickera.styles.css +1 -1
package/index.d.ts
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, EnvironmentProviders, WritableSignal, EventEmitter, Injector, Type, OnInit,
|
|
2
|
+
import { InjectionToken, EnvironmentProviders, WritableSignal, Signal, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Injector, Type, OnInit, ElementRef, AfterViewInit } from '@angular/core';
|
|
3
|
+
export { TippyDirective } from '@ngneat/helipopper';
|
|
4
|
+
export * from '@ngneat/helipopper/config';
|
|
3
5
|
import { TranslocoLoader, TranslocoService } from '@jsverse/transloco';
|
|
4
6
|
import * as rxjs from 'rxjs';
|
|
5
7
|
import { Observable, Subject } from 'rxjs';
|
|
6
|
-
import {
|
|
8
|
+
import { ShapeConfig, Shape } from 'konva/lib/Shape';
|
|
9
|
+
import { Context } from 'konva/lib/Context';
|
|
10
|
+
import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, ValidationErrors, FormControl } from '@angular/forms';
|
|
7
11
|
import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
|
|
12
|
+
import { Stage } from 'konva/lib/Stage';
|
|
8
13
|
import { Toolbar, Editor } from 'ngx-editor';
|
|
9
|
-
import { Router } from '@angular/router';
|
|
14
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
15
|
+
import { StageComponent } from 'ng2-konva';
|
|
16
|
+
import * as tickera_angular_components from 'tickera-angular-components';
|
|
10
17
|
|
|
11
18
|
interface TickeraComponentsConfig {
|
|
12
19
|
apiUrl: string;
|
|
@@ -14,6 +21,7 @@ interface TickeraComponentsConfig {
|
|
|
14
21
|
defaultLang?: string;
|
|
15
22
|
availableLangs?: string[];
|
|
16
23
|
}
|
|
24
|
+
|
|
17
25
|
declare const TICKERA_COMPONENTS_CONFIG: InjectionToken<TickeraComponentsConfig>;
|
|
18
26
|
declare function provideTickeraComponents(config: TickeraComponentsConfig): EnvironmentProviders;
|
|
19
27
|
|
|
@@ -33,15 +41,6 @@ declare const ALERT_ICONS: {
|
|
|
33
41
|
info: string;
|
|
34
42
|
};
|
|
35
43
|
|
|
36
|
-
declare const BUTTON_VARIANT_CLASSES: Record<string, string>;
|
|
37
|
-
declare const BASE_BUTTON_CLASSES = "btn";
|
|
38
|
-
declare const BUTTON_SIZES_CLASSES: Record<string, string>;
|
|
39
|
-
|
|
40
|
-
declare const FORM_ERROR_MESSAGES: Record<string, string>;
|
|
41
|
-
|
|
42
|
-
declare const BASE_INPUT_CLASSES: string;
|
|
43
|
-
declare const ERROR_INPUT_CLASSES: string;
|
|
44
|
-
|
|
45
44
|
declare const ADMIN_API_ROUTES: {
|
|
46
45
|
FIND_ALL: string;
|
|
47
46
|
CREATE: string;
|
|
@@ -65,10 +64,10 @@ declare const COUNTRY_API_ENDPOINTS: {
|
|
|
65
64
|
delete: (id: number) => string;
|
|
66
65
|
};
|
|
67
66
|
|
|
68
|
-
declare const
|
|
67
|
+
declare const CUSTOMERS_API_ROUTES: {
|
|
69
68
|
findAll: string;
|
|
70
69
|
create: string;
|
|
71
|
-
|
|
70
|
+
findOne: (id: number) => string;
|
|
72
71
|
update: (id: number) => string;
|
|
73
72
|
delete: (id: number) => string;
|
|
74
73
|
};
|
|
@@ -79,6 +78,7 @@ declare const PERFORMANCES_API_ROUTES: {
|
|
|
79
78
|
createBulk: string;
|
|
80
79
|
findOneById: (id: number) => string;
|
|
81
80
|
findOneBookingData: (id: number) => string;
|
|
81
|
+
findOneBookingDataAdmin: (id: number) => string;
|
|
82
82
|
update: (id: number) => string;
|
|
83
83
|
delete: (id: number) => string;
|
|
84
84
|
deleteMany: string;
|
|
@@ -90,12 +90,49 @@ declare const PERFORMANCES_API_ROUTES: {
|
|
|
90
90
|
publicAvailablePerformances: string;
|
|
91
91
|
};
|
|
92
92
|
|
|
93
|
+
declare const PRICE_ZONES_API_ROUTES: {
|
|
94
|
+
FIND_ALL: string;
|
|
95
|
+
CREATE: string;
|
|
96
|
+
findOneById: (id: number) => string;
|
|
97
|
+
update: (id: number) => string;
|
|
98
|
+
delete: (id: number) => string;
|
|
99
|
+
updateElements: (id: number) => string;
|
|
100
|
+
duplicate: (id: number) => string;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
declare const PRODUCT_CATEGORIES_API_ROUTES: {
|
|
104
|
+
FIND_ALL: string;
|
|
105
|
+
CREATE: string;
|
|
106
|
+
findById: (id: number) => string;
|
|
107
|
+
update: (id: number) => string;
|
|
108
|
+
delete: (id: number) => string;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
declare const PRODUCT_TAGS_API_ROUTES: {
|
|
112
|
+
FIND_ALL: string;
|
|
113
|
+
CREATE: string;
|
|
114
|
+
findById: (id: number) => string;
|
|
115
|
+
update: (id: number) => string;
|
|
116
|
+
delete: (id: number) => string;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
declare const PRODUCT_TYPES_API_ROUTES: {
|
|
120
|
+
FIND_ALL: string;
|
|
121
|
+
CREATE: string;
|
|
122
|
+
findById: (id: number) => string;
|
|
123
|
+
update: (id: number) => string;
|
|
124
|
+
delete: (id: number) => string;
|
|
125
|
+
};
|
|
126
|
+
|
|
93
127
|
declare const PRODUCTS_API_ROUTES: {
|
|
94
128
|
FIND_ALL: string;
|
|
95
129
|
CREATE: string;
|
|
96
130
|
findOneById: (id: number) => string;
|
|
97
131
|
update: (id: number) => string;
|
|
98
132
|
delete: (id: number) => string;
|
|
133
|
+
fetchImages: (id: number) => string;
|
|
134
|
+
uploadImages: (id: number) => string;
|
|
135
|
+
deleteOneImage: (productId: number, imageId: number) => string;
|
|
99
136
|
};
|
|
100
137
|
|
|
101
138
|
declare const SHOWS_API_ROUTES: {
|
|
@@ -110,22 +147,12 @@ declare const SHOWS_API_ROUTES: {
|
|
|
110
147
|
publicAvailablePerformances: string;
|
|
111
148
|
};
|
|
112
149
|
|
|
113
|
-
declare const
|
|
150
|
+
declare const STATE_API_ENDPOINTS: {
|
|
114
151
|
findAll: string;
|
|
115
152
|
create: string;
|
|
116
|
-
|
|
117
|
-
update: (id: number) => string;
|
|
118
|
-
delete: (id: number) => string;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
declare const PRICE_ZONES_API_ROUTES: {
|
|
122
|
-
FIND_ALL: string;
|
|
123
|
-
CREATE: string;
|
|
124
|
-
findOneById: (id: number) => string;
|
|
153
|
+
findById: (id: number) => string;
|
|
125
154
|
update: (id: number) => string;
|
|
126
155
|
delete: (id: number) => string;
|
|
127
|
-
updateElements: (id: number) => string;
|
|
128
|
-
duplicate: (id: number) => string;
|
|
129
156
|
};
|
|
130
157
|
|
|
131
158
|
declare const VENUES_API_ROUTES: {
|
|
@@ -139,162 +166,27 @@ declare const VENUES_API_ROUTES: {
|
|
|
139
166
|
deleteOneImage: (venueId: number, imageId: number) => string;
|
|
140
167
|
};
|
|
141
168
|
|
|
142
|
-
declare
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
|
|
155
|
-
SHOWS = "SHOWS",
|
|
156
|
-
PERFORMANCES = "PERFORMANCES"
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
declare enum CouponDiscountType {
|
|
160
|
-
PERCENTAGE = "PERCENTAGE",
|
|
161
|
-
FIXED = "FIXED"
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
declare enum CorporateBondStatus {
|
|
165
|
-
ACTIVE = "ACTIVE",
|
|
166
|
-
INACTIVE = "INACTIVE",
|
|
167
|
-
EXPIRED = "EXPIRED"
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
declare enum PerformanceStatus {
|
|
171
|
-
ACTIVE = "active",
|
|
172
|
-
CANCELLED = "cancelled",
|
|
173
|
-
FINISHED = "finished",
|
|
174
|
-
POSTPONED = "postponed"
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
declare enum PerformanceTicketStatus {
|
|
178
|
-
AVAILABLE = "available",
|
|
179
|
-
RESERVED = "reserved",
|
|
180
|
-
SOLD = "sold",
|
|
181
|
-
BLOCKED = "blocked"
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
declare enum RoomMapElementOrientation {
|
|
185
|
-
TOP = "top",
|
|
186
|
-
RIGHT = "right",
|
|
187
|
-
BOTTOM = "bottom",
|
|
188
|
-
LEFT = "left",
|
|
189
|
-
CENTER = "center"
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
declare enum RoomMapElementType {
|
|
193
|
-
SEAT_BLOCK = "seat_block",
|
|
194
|
-
TABLE = "table",
|
|
195
|
-
ZONE = "zone",
|
|
196
|
-
EXIT = "exit",
|
|
197
|
-
STAGE = "stage",
|
|
198
|
-
PRODUCTION_AREA = "production_area",
|
|
199
|
-
UNAVAILABLE_SPACE = "unavailable_space",
|
|
200
|
-
STAIR = "stair",
|
|
201
|
-
HALLWAY = "hallway"
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
declare enum GiftBondStatus {
|
|
205
|
-
ACTIVE = "ACTIVE",
|
|
206
|
-
REDEEMED = "REDEEMED",
|
|
207
|
-
EXPIRED = "EXPIRED",
|
|
208
|
-
INACTIVE = "INACTIVE"
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
declare enum OrderItemType {
|
|
212
|
-
TICKET = "TICKET",
|
|
213
|
-
PRODUCT = "PRODUCT"
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
declare enum OrderStatus {
|
|
217
|
-
ON_HOLD = "on-hold",
|
|
218
|
-
PENDING_PAYMENT = "pending-payment",
|
|
219
|
-
PROCESSING = "processing",
|
|
220
|
-
COMPLETED = "completed",
|
|
221
|
-
FAILED = "failed",
|
|
222
|
-
CANCELLED = "cancelled",
|
|
223
|
-
REFUNDED = "refunded"
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
interface RoomMapPosition {
|
|
227
|
-
x: number;
|
|
228
|
-
y: number;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
interface RoomMapSize {
|
|
232
|
-
width: number;
|
|
233
|
-
height: number;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
interface RoomMapBaseElement {
|
|
237
|
-
id: string;
|
|
238
|
-
type: RoomMapElementType;
|
|
239
|
-
position: RoomMapPosition;
|
|
240
|
-
size: RoomMapSize;
|
|
241
|
-
rotation: number;
|
|
242
|
-
name?: string;
|
|
243
|
-
isLocked: boolean;
|
|
244
|
-
isVisible: boolean;
|
|
245
|
-
zIndex: number;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
interface RoomMapExitElement extends RoomMapBaseElement {
|
|
249
|
-
type: RoomMapElementType.EXIT;
|
|
250
|
-
exitName?: string;
|
|
251
|
-
exitType: 'emergency' | 'regular';
|
|
252
|
-
width: number;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
interface RoomMapProductionAreaElement extends RoomMapBaseElement {
|
|
256
|
-
type: RoomMapElementType.PRODUCTION_AREA;
|
|
257
|
-
areaName?: string;
|
|
258
|
-
areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
interface RoomMapSeatElement extends RoomMapBaseElement {
|
|
262
|
-
type: RoomMapElementType.SEAT_BLOCK;
|
|
263
|
-
seatNumber?: string;
|
|
264
|
-
isAvailable: boolean;
|
|
265
|
-
priceCategory?: string;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
interface RoomMapStageElement extends RoomMapBaseElement {
|
|
269
|
-
type: RoomMapElementType.STAGE;
|
|
270
|
-
stageName?: string;
|
|
271
|
-
orientation: RoomMapElementOrientation;
|
|
272
|
-
isMainStage: boolean;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
interface RoomMapTableElement extends RoomMapBaseElement {
|
|
276
|
-
type: RoomMapElementType.TABLE;
|
|
277
|
-
tableNumber?: string;
|
|
278
|
-
capacity: number;
|
|
279
|
-
shape: 'round' | 'rectangular' | 'square';
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
interface RoomMapUnavailableElement extends RoomMapBaseElement {
|
|
283
|
-
type: RoomMapElementType.UNAVAILABLE_SPACE;
|
|
284
|
-
reason?: string;
|
|
285
|
-
}
|
|
169
|
+
declare const VIP_CARDS_API_ROUTES: {
|
|
170
|
+
findAll: string;
|
|
171
|
+
findOne: (id: number) => string;
|
|
172
|
+
activateAdmin: string;
|
|
173
|
+
rechargeAdmin: (id: number) => string;
|
|
174
|
+
updateStatus: (id: number) => string;
|
|
175
|
+
updateTerms: (id: number) => string;
|
|
176
|
+
transactions: (id: number) => string;
|
|
177
|
+
findMy: string;
|
|
178
|
+
activate: string;
|
|
179
|
+
recharge: string;
|
|
180
|
+
};
|
|
286
181
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
|
|
291
|
-
color: string;
|
|
292
|
-
capacity?: number;
|
|
293
|
-
}
|
|
182
|
+
declare const BUTTON_VARIANT_CLASSES: Record<string, string>;
|
|
183
|
+
declare const BASE_BUTTON_CLASSES = "btn";
|
|
184
|
+
declare const BUTTON_SIZES_CLASSES: Record<string, string>;
|
|
294
185
|
|
|
295
|
-
|
|
186
|
+
declare const FORM_ERROR_MESSAGES: Record<string, string>;
|
|
296
187
|
|
|
297
|
-
|
|
188
|
+
declare const BASE_INPUT_CLASSES: string;
|
|
189
|
+
declare const ERROR_INPUT_CLASSES: string;
|
|
298
190
|
|
|
299
191
|
interface SelectOption {
|
|
300
192
|
value: any;
|
|
@@ -302,7 +194,7 @@ interface SelectOption {
|
|
|
302
194
|
disabled?: boolean;
|
|
303
195
|
}
|
|
304
196
|
|
|
305
|
-
interface Admin {
|
|
197
|
+
interface Admin extends Auditable {
|
|
306
198
|
id: number;
|
|
307
199
|
username: string;
|
|
308
200
|
email: string;
|
|
@@ -318,16 +210,17 @@ interface Admin {
|
|
|
318
210
|
reset_password_expires: Date;
|
|
319
211
|
email_verified_at: Date;
|
|
320
212
|
last_login: Date;
|
|
321
|
-
created_at: Date;
|
|
322
|
-
updated_at: Date;
|
|
323
|
-
deleted_at: Date;
|
|
324
213
|
}
|
|
325
214
|
|
|
326
215
|
interface Auditable {
|
|
327
216
|
created_at: Date;
|
|
328
217
|
updated_at: Date;
|
|
218
|
+
deleted_at?: Date | null;
|
|
329
219
|
is_published?: boolean;
|
|
330
220
|
published_at?: Date;
|
|
221
|
+
published_by?: number;
|
|
222
|
+
deleted_by?: number;
|
|
223
|
+
deleted_by_admin?: Admin;
|
|
331
224
|
created_by_admin?: Admin;
|
|
332
225
|
updated_by_admin?: Admin;
|
|
333
226
|
published_by_admin?: Admin;
|
|
@@ -370,20 +263,20 @@ interface AdminsResponse {
|
|
|
370
263
|
}
|
|
371
264
|
|
|
372
265
|
interface Country {
|
|
373
|
-
id:
|
|
266
|
+
id: number;
|
|
374
267
|
name: string;
|
|
375
268
|
iso2: string;
|
|
376
269
|
}
|
|
377
270
|
|
|
378
271
|
interface State {
|
|
379
|
-
id:
|
|
272
|
+
id: number;
|
|
380
273
|
name: string;
|
|
381
274
|
country_id: number;
|
|
382
275
|
country?: Country;
|
|
383
276
|
}
|
|
384
277
|
|
|
385
278
|
interface City {
|
|
386
|
-
id:
|
|
279
|
+
id: number;
|
|
387
280
|
name: string;
|
|
388
281
|
search_text: string | null;
|
|
389
282
|
state_id: number;
|
|
@@ -422,27 +315,21 @@ interface Venue extends Auditable {
|
|
|
422
315
|
images: VenueImage[];
|
|
423
316
|
}
|
|
424
317
|
|
|
425
|
-
interface HallFloor {
|
|
318
|
+
interface HallFloor extends Auditable {
|
|
426
319
|
id: number;
|
|
427
320
|
name: string;
|
|
428
321
|
level: number;
|
|
429
322
|
max_capacity: number;
|
|
430
323
|
description: string;
|
|
431
324
|
hall_id: number;
|
|
432
|
-
created_at: Date;
|
|
433
|
-
updated_at: Date;
|
|
434
|
-
deleted_at: Date | null;
|
|
435
325
|
}
|
|
436
326
|
|
|
437
|
-
interface Hall {
|
|
327
|
+
interface Hall extends Auditable {
|
|
438
328
|
id: number;
|
|
439
329
|
name: string;
|
|
440
330
|
venue_id: number;
|
|
441
331
|
venue?: Venue;
|
|
442
332
|
hall_floors?: HallFloor[];
|
|
443
|
-
created_at: Date;
|
|
444
|
-
updated_at: Date;
|
|
445
|
-
deleted_at: Date | null;
|
|
446
333
|
}
|
|
447
334
|
|
|
448
335
|
interface CountryResponse {
|
|
@@ -496,7 +383,7 @@ interface FetchCitiesParams {
|
|
|
496
383
|
search?: string;
|
|
497
384
|
}
|
|
498
385
|
|
|
499
|
-
interface Customer {
|
|
386
|
+
interface Customer extends Auditable {
|
|
500
387
|
username: string;
|
|
501
388
|
email: string;
|
|
502
389
|
mobile: string;
|
|
@@ -527,9 +414,6 @@ interface Customer {
|
|
|
527
414
|
membership_expires_at: Date | null;
|
|
528
415
|
id: number;
|
|
529
416
|
is_active: boolean;
|
|
530
|
-
created_at: Date;
|
|
531
|
-
updated_at: Date;
|
|
532
|
-
deleted_at: Date | null;
|
|
533
417
|
}
|
|
534
418
|
|
|
535
419
|
interface CustomerResponse {
|
|
@@ -547,76 +431,362 @@ interface CustomersResponse {
|
|
|
547
431
|
message: string;
|
|
548
432
|
}
|
|
549
433
|
|
|
550
|
-
|
|
434
|
+
interface BreadcrumbStep {
|
|
435
|
+
label: string;
|
|
436
|
+
href?: string;
|
|
437
|
+
icon?: string;
|
|
438
|
+
}
|
|
551
439
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
extension: string;
|
|
558
|
-
size: number;
|
|
559
|
-
mime_type: string;
|
|
560
|
-
width: number;
|
|
561
|
-
height: number;
|
|
562
|
-
show_id: number;
|
|
563
|
-
created_at: Date;
|
|
440
|
+
declare enum OrderItemType {
|
|
441
|
+
TICKET = "TICKET",
|
|
442
|
+
PRODUCT = "PRODUCT",
|
|
443
|
+
GIFT_BOND = "GIFT_BOND",
|
|
444
|
+
CORPORATE_BOND = "CORPORATE_BOND"
|
|
564
445
|
}
|
|
565
446
|
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
show_type: ShowType | null;
|
|
575
|
-
pulep: string | null;
|
|
576
|
-
minimum_age: number | null;
|
|
577
|
-
show_category_id: number | null;
|
|
578
|
-
default_room_map_id: number | null;
|
|
579
|
-
published_at?: Date;
|
|
580
|
-
is_published: boolean;
|
|
581
|
-
images: ShowImage[];
|
|
582
|
-
terms_and_conditions: string;
|
|
583
|
-
performances_quantity?: number;
|
|
447
|
+
declare enum OrderStatus {
|
|
448
|
+
ON_HOLD = "on-hold",
|
|
449
|
+
PENDING_PAYMENT = "pending-payment",
|
|
450
|
+
PROCESSING = "processing",
|
|
451
|
+
COMPLETED = "completed",
|
|
452
|
+
FAILED = "failed",
|
|
453
|
+
CANCELLED = "cancelled",
|
|
454
|
+
REFUNDED = "refunded"
|
|
584
455
|
}
|
|
585
456
|
|
|
586
|
-
|
|
457
|
+
declare enum CreatorType {
|
|
458
|
+
ADMIN = "admin",
|
|
459
|
+
CUSTOMER = "customer"
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
declare enum PaymentMethod {
|
|
463
|
+
PAYROLL = "payroll",
|
|
464
|
+
CASH = "cash",
|
|
465
|
+
DATAFONO = "datafono",
|
|
466
|
+
INTERNAL_EXCHANGE = "internal_exchange",
|
|
467
|
+
CLIENT_EXCHANGE = "client_exchange",
|
|
468
|
+
MERCADO_PAGO = "mercado_pago"
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
declare enum RoomMapElementType {
|
|
472
|
+
SEAT_BLOCK = "seat_block",
|
|
473
|
+
TABLE = "table",
|
|
474
|
+
ZONE = "zone",
|
|
475
|
+
EXIT = "exit",
|
|
476
|
+
STAGE = "stage",
|
|
477
|
+
PRODUCTION_AREA = "production_area",
|
|
478
|
+
UNAVAILABLE_SPACE = "unavailable_space",
|
|
479
|
+
STAIR = "stair",
|
|
480
|
+
HALLWAY = "hallway"
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
interface RoomMapPosition {
|
|
484
|
+
x: number;
|
|
485
|
+
y: number;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
interface RoomMapSize {
|
|
489
|
+
width: number;
|
|
490
|
+
height: number;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
interface RoomMapBaseElement {
|
|
494
|
+
id: string;
|
|
495
|
+
type: RoomMapElementType;
|
|
496
|
+
position: RoomMapPosition;
|
|
497
|
+
size: RoomMapSize;
|
|
498
|
+
rotation: number;
|
|
499
|
+
name?: string;
|
|
500
|
+
isLocked: boolean;
|
|
501
|
+
isVisible: boolean;
|
|
502
|
+
zIndex: number;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
interface RoomMapExitElement extends RoomMapBaseElement {
|
|
506
|
+
type: RoomMapElementType.EXIT;
|
|
507
|
+
exitName?: string;
|
|
508
|
+
exitType: 'emergency' | 'regular';
|
|
509
|
+
width: number;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
interface RoomMapProductionAreaElement extends RoomMapBaseElement {
|
|
513
|
+
type: RoomMapElementType.PRODUCTION_AREA;
|
|
514
|
+
areaName?: string;
|
|
515
|
+
areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
interface RoomMapSeatElement extends RoomMapBaseElement {
|
|
519
|
+
type: RoomMapElementType.SEAT_BLOCK;
|
|
520
|
+
seatNumber?: string;
|
|
521
|
+
isAvailable: boolean;
|
|
522
|
+
priceCategory?: string;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
declare enum RoomMapElementOrientation {
|
|
526
|
+
TOP = "top",
|
|
527
|
+
RIGHT = "right",
|
|
528
|
+
BOTTOM = "bottom",
|
|
529
|
+
LEFT = "left",
|
|
530
|
+
CENTER = "center"
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
interface RoomMapStageElement extends RoomMapBaseElement {
|
|
534
|
+
type: RoomMapElementType.STAGE;
|
|
535
|
+
stageName?: string;
|
|
536
|
+
orientation: RoomMapElementOrientation;
|
|
537
|
+
isMainStage: boolean;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
interface RoomMapTableElement extends RoomMapBaseElement {
|
|
541
|
+
type: RoomMapElementType.TABLE;
|
|
542
|
+
tableNumber?: string;
|
|
543
|
+
capacity: number;
|
|
544
|
+
shape: 'round' | 'rectangular' | 'square';
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
interface RoomMapUnavailableElement extends RoomMapBaseElement {
|
|
548
|
+
type: RoomMapElementType.UNAVAILABLE_SPACE;
|
|
549
|
+
reason?: string;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
interface RoomMapZoneElement extends RoomMapBaseElement {
|
|
553
|
+
type: RoomMapElementType.ZONE;
|
|
554
|
+
zoneName: string;
|
|
555
|
+
zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
|
|
556
|
+
color: string;
|
|
557
|
+
capacity?: number;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
|
|
561
|
+
|
|
562
|
+
type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
|
|
563
|
+
|
|
564
|
+
declare enum ShowType {
|
|
565
|
+
PLAY = "PLAY",
|
|
566
|
+
CONCERT = "CONCERT",
|
|
567
|
+
STAND_UP_COMEDY = "STAND_UP_COMEDY",
|
|
568
|
+
OPERA = "OPERA",
|
|
569
|
+
MUSICAL = "MUSICAL",
|
|
570
|
+
DANCE = "DANCE",
|
|
571
|
+
SPORT = "SPORT",
|
|
572
|
+
OTHER = "OTHER",
|
|
573
|
+
DEFAULT = "DEFAULT"
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
|
|
577
|
+
|
|
578
|
+
type FeedbackModalType = 'loading' | 'success' | 'info' | 'warning' | 'error';
|
|
579
|
+
|
|
580
|
+
type BadgeSize = 'xs' | 'sm' | 'md' | 'lg';
|
|
581
|
+
|
|
582
|
+
type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
583
|
+
|
|
584
|
+
type BreadcrumbTheme = 'light' | 'dark';
|
|
585
|
+
|
|
586
|
+
type TextFontSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
|
|
587
|
+
|
|
588
|
+
interface FeedbackModalElement {
|
|
589
|
+
id: string;
|
|
590
|
+
type: FeedbackModalType;
|
|
591
|
+
title: string;
|
|
592
|
+
isOpen: WritableSignal<boolean>;
|
|
593
|
+
message?: string;
|
|
594
|
+
showHeader?: boolean;
|
|
595
|
+
showCloseButton?: boolean;
|
|
596
|
+
showTitle?: boolean;
|
|
597
|
+
closeModal?: void;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
declare enum FileType {
|
|
601
|
+
IMAGE = "image",
|
|
602
|
+
PDF = "pdf",
|
|
603
|
+
EXCEL = "excel",
|
|
604
|
+
WORD = "word",
|
|
605
|
+
TEXT = "text",
|
|
606
|
+
DEFAULT = "default"
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
declare enum CouponApplicability {
|
|
610
|
+
GENERAL = "GENERAL",
|
|
611
|
+
CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
|
|
612
|
+
MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
|
|
613
|
+
SHOWS = "SHOWS",
|
|
614
|
+
PERFORMANCES = "PERFORMANCES"
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
declare enum CouponDiscountType {
|
|
618
|
+
PERCENTAGE = "PERCENTAGE",
|
|
619
|
+
FIXED = "FIXED"
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
declare enum CouponStatus {
|
|
623
|
+
ACTIVE = "ACTIVE",
|
|
624
|
+
INACTIVE = "INACTIVE",
|
|
625
|
+
EXPIRED = "EXPIRED",
|
|
626
|
+
CONSUMED = "CONSUMED"
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
declare enum CorporateBondStatus {
|
|
630
|
+
ACTIVE = "ACTIVE",
|
|
631
|
+
INACTIVE = "INACTIVE",
|
|
632
|
+
PENDING = "PENDING",
|
|
633
|
+
PAYMENT_FAILED = "PAYMENT_FAILED",
|
|
634
|
+
EXPIRED = "EXPIRED",
|
|
635
|
+
CONSUMED = "CONSUMED"
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
declare enum PerformanceStatus {
|
|
639
|
+
SCHEDULED = "scheduled",
|
|
640
|
+
OPEN = "open",
|
|
641
|
+
CLOSED = "closed",
|
|
642
|
+
CANCELLED = "cancelled",
|
|
643
|
+
COMPLETED = "completed",
|
|
644
|
+
POSTPONED = "postponed"
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
declare enum PerformanceTicketStatus {
|
|
648
|
+
AVAILABLE = "available",
|
|
649
|
+
RESERVED = "reserved",
|
|
650
|
+
SOLD = "sold",
|
|
651
|
+
BLOCKED = "blocked"
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
declare enum GiftBondStatus {
|
|
655
|
+
ACTIVE = "ACTIVE",
|
|
656
|
+
INACTIVE = "INACTIVE"
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
declare enum GiftBondPurchaseStatus {
|
|
660
|
+
AVAILABLE = "AVAILABLE",
|
|
661
|
+
REDEEMED = "REDEEMED",
|
|
662
|
+
EXPIRED = "EXPIRED",
|
|
663
|
+
CANCELLED = "CANCELLED"
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
declare enum TransactionStatus {
|
|
667
|
+
PENDING = "PENDING",
|
|
668
|
+
APPROVED = "APPROVED",
|
|
669
|
+
REJECTED = "REJECTED",
|
|
670
|
+
ERROR = "ERROR"
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
declare enum VipCardStatus {
|
|
674
|
+
ACTIVE = "ACTIVE",
|
|
675
|
+
INACTIVE = "INACTIVE",
|
|
676
|
+
EXPIRED = "EXPIRED"
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
declare enum VipTransactionType {
|
|
680
|
+
INITIAL_RECHARGE = "INITIAL_RECHARGE",
|
|
681
|
+
RECHARGE = "RECHARGE",
|
|
682
|
+
PURCHASE_PAYMENT = "PURCHASE_PAYMENT"
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
declare enum MembershipStatus {
|
|
686
|
+
ACTIVE = "ACTIVE",
|
|
687
|
+
INACTIVE = "INACTIVE"
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
interface FetchProductCategoriesParams {
|
|
691
|
+
name?: string;
|
|
692
|
+
slug?: string;
|
|
693
|
+
page?: number;
|
|
694
|
+
limit?: number;
|
|
695
|
+
search?: string;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
interface ProductCategory extends Auditable {
|
|
699
|
+
id: number;
|
|
700
|
+
name: string;
|
|
701
|
+
slug: string;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
interface ProductCategoriesResponse {
|
|
587
705
|
statusCode: number;
|
|
588
|
-
data:
|
|
706
|
+
data: {
|
|
707
|
+
categories: ProductCategory[];
|
|
708
|
+
total: number;
|
|
709
|
+
};
|
|
589
710
|
message: string;
|
|
590
711
|
}
|
|
591
712
|
|
|
592
|
-
interface
|
|
713
|
+
interface ProductCategoryResponse {
|
|
714
|
+
statusCode: number;
|
|
715
|
+
data: ProductCategory;
|
|
716
|
+
message: string;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
interface FetchProductTagsParams {
|
|
720
|
+
name?: string;
|
|
721
|
+
slug?: string;
|
|
722
|
+
page?: number;
|
|
723
|
+
limit?: number;
|
|
724
|
+
search?: string;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
interface ProductTag extends Auditable {
|
|
728
|
+
id: number;
|
|
729
|
+
name: string;
|
|
730
|
+
slug: string;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
interface ProductTagResponse {
|
|
734
|
+
statusCode: number;
|
|
735
|
+
data: ProductTag;
|
|
736
|
+
message: string;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
interface ProductTagsResponse {
|
|
593
740
|
statusCode: number;
|
|
594
741
|
data: {
|
|
595
|
-
|
|
742
|
+
tags: ProductTag[];
|
|
596
743
|
total: number;
|
|
597
744
|
};
|
|
598
745
|
message: string;
|
|
599
746
|
}
|
|
600
747
|
|
|
601
|
-
interface
|
|
748
|
+
interface FetchProductTypesParams {
|
|
749
|
+
name?: string;
|
|
750
|
+
slug?: string;
|
|
602
751
|
page?: number;
|
|
603
752
|
limit?: number;
|
|
604
753
|
search?: string;
|
|
605
|
-
date?: string;
|
|
606
754
|
}
|
|
607
755
|
|
|
608
|
-
interface
|
|
756
|
+
interface ProductType extends Auditable {
|
|
609
757
|
id: number;
|
|
610
758
|
name: string;
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
759
|
+
slug: string;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
interface ProductTypeResponse {
|
|
763
|
+
statusCode: number;
|
|
764
|
+
data: ProductType;
|
|
765
|
+
message: string;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
interface ProductTypesResponse {
|
|
769
|
+
statusCode: number;
|
|
770
|
+
data: {
|
|
771
|
+
types: ProductType[];
|
|
772
|
+
total: number;
|
|
773
|
+
};
|
|
774
|
+
message: string;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
interface ProductImage {
|
|
778
|
+
id: number;
|
|
779
|
+
path: string;
|
|
780
|
+
full_url: string;
|
|
781
|
+
original_name: string;
|
|
782
|
+
extension: string;
|
|
783
|
+
size: number;
|
|
784
|
+
mime_type: string;
|
|
785
|
+
width: number;
|
|
786
|
+
height: number;
|
|
787
|
+
product_id: number;
|
|
788
|
+
product: Product;
|
|
616
789
|
created_at: Date;
|
|
617
|
-
updated_at: Date;
|
|
618
|
-
created_by: number;
|
|
619
|
-
updated_by: number;
|
|
620
790
|
}
|
|
621
791
|
|
|
622
792
|
interface Product extends Auditable {
|
|
@@ -629,12 +799,35 @@ interface Product extends Auditable {
|
|
|
629
799
|
slug: string;
|
|
630
800
|
sku?: string;
|
|
631
801
|
is_limited_edition: boolean;
|
|
632
|
-
is_active: boolean;
|
|
633
802
|
deleted_at: Date | null;
|
|
634
|
-
categories?:
|
|
635
|
-
tags?:
|
|
636
|
-
types?:
|
|
637
|
-
images?:
|
|
803
|
+
categories?: ProductCategory[];
|
|
804
|
+
tags?: ProductTag[];
|
|
805
|
+
types?: ProductType[];
|
|
806
|
+
images?: ProductImage[];
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
interface ShowImage {
|
|
810
|
+
id: number;
|
|
811
|
+
path: string;
|
|
812
|
+
full_url: string;
|
|
813
|
+
original_name: string;
|
|
814
|
+
extension: string;
|
|
815
|
+
size: number;
|
|
816
|
+
mime_type: string;
|
|
817
|
+
width: number;
|
|
818
|
+
height: number;
|
|
819
|
+
show_id: number;
|
|
820
|
+
created_at: Date;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
interface PriceZone extends Auditable {
|
|
824
|
+
id: number;
|
|
825
|
+
name: string;
|
|
826
|
+
color: string;
|
|
827
|
+
normal_price: number | null;
|
|
828
|
+
is_active: boolean;
|
|
829
|
+
elements: any[];
|
|
830
|
+
room_map_id: number | null;
|
|
638
831
|
}
|
|
639
832
|
|
|
640
833
|
interface NumerationConfig {
|
|
@@ -672,7 +865,7 @@ interface RoomMapElementTemplate {
|
|
|
672
865
|
price_zone?: PriceZone;
|
|
673
866
|
}
|
|
674
867
|
|
|
675
|
-
interface RoomMap {
|
|
868
|
+
interface RoomMap extends Auditable {
|
|
676
869
|
id: number;
|
|
677
870
|
name: string;
|
|
678
871
|
canvas_settings: {
|
|
@@ -688,8 +881,6 @@ interface RoomMap {
|
|
|
688
881
|
related_product_ids: number[];
|
|
689
882
|
products?: Product[];
|
|
690
883
|
venue_name?: string;
|
|
691
|
-
created_at: Date;
|
|
692
|
-
updated_at: Date;
|
|
693
884
|
}
|
|
694
885
|
|
|
695
886
|
interface RoomMapCanvasConfiguration {
|
|
@@ -731,7 +922,7 @@ interface ElementPropertiesTab {
|
|
|
731
922
|
elements_access: string[];
|
|
732
923
|
}
|
|
733
924
|
|
|
734
|
-
interface Performance {
|
|
925
|
+
interface Performance extends Auditable {
|
|
735
926
|
id: number;
|
|
736
927
|
start_time: Date | string;
|
|
737
928
|
end_time: Date | string;
|
|
@@ -741,26 +932,83 @@ interface Performance {
|
|
|
741
932
|
show?: Show;
|
|
742
933
|
room_map: RoomMap;
|
|
743
934
|
room_map_id: number;
|
|
744
|
-
|
|
745
|
-
|
|
935
|
+
performance_tickets?: PerformanceTicket[];
|
|
936
|
+
can_delete?: boolean;
|
|
937
|
+
can_cancel?: boolean;
|
|
938
|
+
can_modify?: boolean;
|
|
939
|
+
can_reserve?: boolean;
|
|
746
940
|
}
|
|
747
941
|
|
|
748
|
-
interface
|
|
942
|
+
interface ShowCategory extends Auditable {
|
|
943
|
+
id: number;
|
|
944
|
+
name: string;
|
|
945
|
+
slug: string;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
interface ShowCategoriesResponse {
|
|
749
949
|
statusCode: number;
|
|
750
|
-
data:
|
|
950
|
+
data: {
|
|
951
|
+
categories: ShowCategory[];
|
|
952
|
+
total: number;
|
|
953
|
+
};
|
|
751
954
|
message: string;
|
|
752
955
|
}
|
|
753
956
|
|
|
754
|
-
interface
|
|
957
|
+
interface ShowCategoryResponse {
|
|
958
|
+
statusCode: number;
|
|
959
|
+
data: ShowCategory;
|
|
960
|
+
message: string;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
interface ShowGender extends Auditable {
|
|
964
|
+
id: number;
|
|
965
|
+
name: string;
|
|
966
|
+
slug: string;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
interface ShowGenderResponse {
|
|
970
|
+
statusCode: number;
|
|
971
|
+
data: ShowGender;
|
|
972
|
+
message: string;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
interface ShowGendersResponse {
|
|
755
976
|
statusCode: number;
|
|
756
977
|
data: {
|
|
757
|
-
|
|
978
|
+
genders: ShowGender[];
|
|
758
979
|
total: number;
|
|
759
980
|
};
|
|
760
981
|
message: string;
|
|
761
982
|
}
|
|
762
983
|
|
|
763
|
-
interface
|
|
984
|
+
interface Show extends Auditable {
|
|
985
|
+
id: number;
|
|
986
|
+
title: string;
|
|
987
|
+
slug: string;
|
|
988
|
+
description: string;
|
|
989
|
+
duration_minutes: number | null;
|
|
990
|
+
type_of_costs: string | null;
|
|
991
|
+
service_fee: number | null;
|
|
992
|
+
show_type: ShowType | null;
|
|
993
|
+
pulep: string | null;
|
|
994
|
+
minimum_age: number | null;
|
|
995
|
+
show_gender?: ShowGender | null;
|
|
996
|
+
show_gender_id: number | null;
|
|
997
|
+
show_category?: ShowCategory | null;
|
|
998
|
+
show_category_id: number | null;
|
|
999
|
+
default_room_map?: RoomMap | null;
|
|
1000
|
+
default_room_map_id: number | null;
|
|
1001
|
+
is_published: boolean;
|
|
1002
|
+
images: ShowImage[];
|
|
1003
|
+
terms_and_conditions: string | null;
|
|
1004
|
+
performances_quantity?: number;
|
|
1005
|
+
performances?: Performance[];
|
|
1006
|
+
next_performance?: Performance;
|
|
1007
|
+
days_of_week?: number[];
|
|
1008
|
+
unique_start_times?: string[];
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
interface OrderItem extends Auditable {
|
|
764
1012
|
id: number;
|
|
765
1013
|
order: Order;
|
|
766
1014
|
item_type: OrderItemType;
|
|
@@ -773,26 +1021,21 @@ interface OrderItem {
|
|
|
773
1021
|
ticket_id?: number;
|
|
774
1022
|
ticket_uuid?: string;
|
|
775
1023
|
item: Show | Product;
|
|
776
|
-
created_at: Date;
|
|
777
|
-
updated_at: Date;
|
|
778
|
-
created_by: number;
|
|
779
|
-
updated_by: number;
|
|
780
1024
|
}
|
|
781
1025
|
|
|
782
1026
|
interface Coupon extends Auditable {
|
|
783
1027
|
id: number;
|
|
784
1028
|
code: string;
|
|
1029
|
+
billing_code: string;
|
|
785
1030
|
description?: string;
|
|
786
1031
|
discount_type: CouponDiscountType;
|
|
787
|
-
discount_type_string?: string;
|
|
788
1032
|
discount_value: number;
|
|
789
|
-
discount_value_string?: string;
|
|
790
1033
|
start_date: Date | null;
|
|
791
1034
|
end_date: Date | null;
|
|
792
1035
|
max_uses: number | null;
|
|
793
|
-
|
|
1036
|
+
max_uses_per_customer?: number | null;
|
|
794
1037
|
uses_count: number;
|
|
795
|
-
|
|
1038
|
+
status: CouponStatus;
|
|
796
1039
|
applicability_type: CouponApplicability;
|
|
797
1040
|
applicable_customer_emails: string[] | null;
|
|
798
1041
|
applicable_membership_types: string[] | null;
|
|
@@ -800,84 +1043,218 @@ interface Coupon extends Auditable {
|
|
|
800
1043
|
applicable_performance_ids?: number[];
|
|
801
1044
|
applicable_price_zone_ids?: number[];
|
|
802
1045
|
applies_to_service_fee?: boolean;
|
|
1046
|
+
orders?: Order[];
|
|
1047
|
+
customers?: Customer[];
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
interface CorporateBond extends Auditable {
|
|
1051
|
+
id: number;
|
|
1052
|
+
name: string;
|
|
1053
|
+
description?: string;
|
|
1054
|
+
company_nit: string;
|
|
1055
|
+
prefix: string;
|
|
1056
|
+
suffix: string;
|
|
1057
|
+
quantity: number;
|
|
1058
|
+
status: CorporateBondStatus;
|
|
1059
|
+
value: number;
|
|
1060
|
+
purchase_value: number;
|
|
1061
|
+
buyer_customer_id: number | null;
|
|
1062
|
+
buyer: Customer | null;
|
|
1063
|
+
order_id: number | null;
|
|
1064
|
+
order: Order | null;
|
|
1065
|
+
payment_method?: PaymentMethod;
|
|
1066
|
+
codes: CorporateBondCode[];
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
interface CorporateBondCode {
|
|
1070
|
+
id: number;
|
|
1071
|
+
corporate_bond: CorporateBond;
|
|
1072
|
+
corporate_bond_id: number;
|
|
1073
|
+
code: string;
|
|
1074
|
+
is_used: boolean;
|
|
1075
|
+
used_at: Date | null;
|
|
1076
|
+
created_at: Date;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
interface CorporateBondResponse {
|
|
1080
|
+
statusCode: number;
|
|
1081
|
+
data: CorporateBond;
|
|
1082
|
+
message: string;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
interface ValidateCorporateBondResponse {
|
|
1086
|
+
data: {
|
|
1087
|
+
valid: boolean;
|
|
1088
|
+
message: string;
|
|
1089
|
+
code: string;
|
|
1090
|
+
bond?: CorporateBond;
|
|
1091
|
+
};
|
|
1092
|
+
message: string;
|
|
1093
|
+
statusCode: number;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
interface GiftBondImage {
|
|
1097
|
+
id: number;
|
|
1098
|
+
path: string;
|
|
1099
|
+
full_url: string;
|
|
1100
|
+
original_name: string;
|
|
1101
|
+
extension: string;
|
|
1102
|
+
size: number;
|
|
1103
|
+
mime_type: string;
|
|
1104
|
+
width: number;
|
|
1105
|
+
height: number;
|
|
1106
|
+
is_featured: boolean;
|
|
1107
|
+
gift_bond_id: number;
|
|
1108
|
+
gift_bond: GiftBond;
|
|
1109
|
+
created_at: Date;
|
|
803
1110
|
}
|
|
804
1111
|
|
|
805
|
-
interface
|
|
1112
|
+
interface GiftBond extends Auditable {
|
|
806
1113
|
id: number;
|
|
807
1114
|
name: string;
|
|
808
1115
|
description?: string;
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
suffix: string;
|
|
812
|
-
quantity: number;
|
|
813
|
-
status: CorporateBondStatus;
|
|
1116
|
+
slug?: string;
|
|
1117
|
+
status: GiftBondStatus;
|
|
814
1118
|
value: number;
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
updated_at: Date;
|
|
818
|
-
created_by: number;
|
|
819
|
-
updated_by: number;
|
|
1119
|
+
page_content?: string;
|
|
1120
|
+
images?: GiftBondImage[];
|
|
820
1121
|
}
|
|
821
1122
|
|
|
822
|
-
interface
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
code: string;
|
|
827
|
-
is_used: boolean;
|
|
828
|
-
used_at: Date | null;
|
|
829
|
-
created_at: Date;
|
|
1123
|
+
interface GiftBondResponse {
|
|
1124
|
+
statusCode: number;
|
|
1125
|
+
data: GiftBond;
|
|
1126
|
+
message: string;
|
|
830
1127
|
}
|
|
831
1128
|
|
|
832
|
-
interface
|
|
1129
|
+
interface GiftBondsResponse {
|
|
833
1130
|
statusCode: number;
|
|
834
|
-
data:
|
|
1131
|
+
data: {
|
|
1132
|
+
gift_bonds: GiftBond[];
|
|
1133
|
+
total: number;
|
|
1134
|
+
};
|
|
835
1135
|
message: string;
|
|
836
1136
|
}
|
|
837
1137
|
|
|
838
|
-
interface
|
|
1138
|
+
interface GiftBondPurchase extends Auditable {
|
|
1139
|
+
id: number;
|
|
1140
|
+
code: string;
|
|
1141
|
+
original_value: number;
|
|
1142
|
+
used_value: number | null;
|
|
1143
|
+
lost_value: number | null;
|
|
1144
|
+
beneficiary_email: string;
|
|
1145
|
+
beneficiary: Customer | null;
|
|
1146
|
+
personalized_message: string | null;
|
|
1147
|
+
status: GiftBondPurchaseStatus;
|
|
1148
|
+
purchased_at: string;
|
|
1149
|
+
expires_at: string;
|
|
1150
|
+
redeemed_at: string | null;
|
|
1151
|
+
gift_bond?: GiftBond;
|
|
1152
|
+
gift_bond_id: number;
|
|
1153
|
+
buyer_customer_id: number;
|
|
1154
|
+
buyer: Customer;
|
|
1155
|
+
order: Order | null;
|
|
1156
|
+
order_id: number;
|
|
1157
|
+
redemption_order_id: number | null;
|
|
1158
|
+
redemption_order: Order | null;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
interface ValidateGiftBondResponse {
|
|
839
1162
|
data: {
|
|
840
1163
|
valid: boolean;
|
|
841
1164
|
message: string;
|
|
842
1165
|
code: string;
|
|
843
|
-
bond?:
|
|
1166
|
+
bond?: GiftBondPurchase;
|
|
844
1167
|
};
|
|
1168
|
+
statusCode: number;
|
|
1169
|
+
message: string;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
interface GiftBondPurchaseResponse {
|
|
1173
|
+
statusCode: number;
|
|
1174
|
+
data: GiftBondPurchase;
|
|
845
1175
|
message: string;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
interface GiftBondPurchasesResponse {
|
|
846
1179
|
statusCode: number;
|
|
1180
|
+
data: {
|
|
1181
|
+
items: GiftBondPurchase[];
|
|
1182
|
+
total: number;
|
|
1183
|
+
};
|
|
1184
|
+
message: string;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
interface Transaction extends Auditable {
|
|
1188
|
+
id: number;
|
|
1189
|
+
status: TransactionStatus;
|
|
1190
|
+
amount: number;
|
|
1191
|
+
currency: string;
|
|
1192
|
+
payment_gateway: string;
|
|
1193
|
+
gateway_transaction_id: string;
|
|
1194
|
+
gateway_response: any;
|
|
1195
|
+
order: Order;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
interface OrderBillingInfo {
|
|
1199
|
+
first_name: string;
|
|
1200
|
+
last_name: string;
|
|
1201
|
+
email: string;
|
|
1202
|
+
mobile: string;
|
|
1203
|
+
document_type: string;
|
|
1204
|
+
document_number: string;
|
|
1205
|
+
address: string;
|
|
1206
|
+
city_id: number;
|
|
1207
|
+
postal_code?: string;
|
|
1208
|
+
address_notes?: string;
|
|
1209
|
+
payment_method: PaymentMethod;
|
|
1210
|
+
terms_accepted: boolean;
|
|
1211
|
+
data_processing_accepted: boolean;
|
|
1212
|
+
comments?: string;
|
|
1213
|
+
products?: Array<{
|
|
1214
|
+
id: number;
|
|
1215
|
+
quantity: number;
|
|
1216
|
+
}>;
|
|
847
1217
|
}
|
|
848
1218
|
|
|
849
|
-
interface Order {
|
|
1219
|
+
interface Order extends Auditable {
|
|
850
1220
|
id: number;
|
|
851
1221
|
uuid: string;
|
|
852
|
-
|
|
1222
|
+
customer_id: number | null;
|
|
1223
|
+
customer: Customer | null;
|
|
853
1224
|
customer_name?: string;
|
|
854
1225
|
customer_email?: string;
|
|
855
1226
|
order_items: OrderItem[];
|
|
856
1227
|
order_items_quantity?: number;
|
|
857
|
-
|
|
1228
|
+
transactions: Transaction[];
|
|
1229
|
+
sub_total: number;
|
|
1230
|
+
discount_amount: number | null;
|
|
858
1231
|
total: number;
|
|
1232
|
+
sub_total_discounted: number | null;
|
|
859
1233
|
total_discounted: number;
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
coupon: Coupon;
|
|
865
|
-
coupon_snapshot: Record<string, any>;
|
|
866
|
-
corporate_bond_code: CorporateBondCode;
|
|
867
|
-
corporate_bond_code_snapshot: Record<string, any>;
|
|
1234
|
+
service_fee: number | null;
|
|
1235
|
+
service_fee_discounted: number | null;
|
|
1236
|
+
coupon: Coupon | null;
|
|
1237
|
+
coupon_snapshot: Record<string, any> | null;
|
|
868
1238
|
status: OrderStatus;
|
|
869
|
-
show_snapshot: Record<string, any
|
|
870
|
-
performance_snapshot: Record<string, any
|
|
871
|
-
|
|
872
|
-
updated_at: Date;
|
|
873
|
-
payment_method: string;
|
|
1239
|
+
show_snapshot: Record<string, any> | null;
|
|
1240
|
+
performance_snapshot: Record<string, any> | null;
|
|
1241
|
+
payment_method: PaymentMethod | null;
|
|
874
1242
|
terms_accepted: boolean;
|
|
875
1243
|
data_processing_accepted: boolean;
|
|
876
|
-
billing_info:
|
|
877
|
-
|
|
878
|
-
|
|
1244
|
+
billing_info: OrderBillingInfo | null;
|
|
1245
|
+
corporate_bond_code_snapshot: Record<string, any> | null;
|
|
1246
|
+
gift_bond_snapshot: Record<string, any> | null;
|
|
1247
|
+
corporate_bond_code: CorporateBondCode | null;
|
|
1248
|
+
corporate_bond_code_id: number | null;
|
|
1249
|
+
gift_bond: GiftBond | null;
|
|
1250
|
+
gift_bond_id: number | null;
|
|
1251
|
+
comments: string | null;
|
|
1252
|
+
address_notes: string | null;
|
|
1253
|
+
mercado_pago_preference_id: string;
|
|
879
1254
|
created_by: number;
|
|
1255
|
+
created_by_type: CreatorType;
|
|
880
1256
|
updated_by: number;
|
|
1257
|
+
updated_by_type: CreatorType;
|
|
881
1258
|
}
|
|
882
1259
|
|
|
883
1260
|
interface OrderResponse {
|
|
@@ -895,7 +1272,15 @@ interface OrdersResponse {
|
|
|
895
1272
|
message: string;
|
|
896
1273
|
}
|
|
897
1274
|
|
|
898
|
-
interface
|
|
1275
|
+
interface MercadoPagoPreference {
|
|
1276
|
+
data: {
|
|
1277
|
+
id: string;
|
|
1278
|
+
init_point: string;
|
|
1279
|
+
sandbox_init_point: string;
|
|
1280
|
+
};
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
interface PerformanceTicket extends Auditable {
|
|
899
1284
|
id: number;
|
|
900
1285
|
uuid: string;
|
|
901
1286
|
is_accessible: boolean;
|
|
@@ -915,8 +1300,133 @@ interface PerformanceTicket {
|
|
|
915
1300
|
checked_in_at: Date | null;
|
|
916
1301
|
order_items: OrderItem[];
|
|
917
1302
|
element_qty?: number;
|
|
918
|
-
|
|
919
|
-
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
interface TicketMapSeatPosition {
|
|
1306
|
+
rowIndex: number;
|
|
1307
|
+
colIndex: number;
|
|
1308
|
+
seatLabel: string;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
interface TicketMapTableChairPosition {
|
|
1312
|
+
index: number;
|
|
1313
|
+
angle: number;
|
|
1314
|
+
x: number;
|
|
1315
|
+
y: number;
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
interface ElementRenderData {
|
|
1319
|
+
elementId: number;
|
|
1320
|
+
hallFloorId: number | null;
|
|
1321
|
+
type: RoomMapElementType;
|
|
1322
|
+
shapeConfig: Record<string, any>;
|
|
1323
|
+
tickets: PerformanceTicket[];
|
|
1324
|
+
ticketByNumeration: Map<string, PerformanceTicket>;
|
|
1325
|
+
elementName: string;
|
|
1326
|
+
seatPositions?: TicketMapSeatPosition[][];
|
|
1327
|
+
chairPositions?: TicketMapTableChairPosition[];
|
|
1328
|
+
zoneCapacity?: number;
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
interface TicketMapTooltipData {
|
|
1332
|
+
x: number;
|
|
1333
|
+
y: number;
|
|
1334
|
+
elementName: string;
|
|
1335
|
+
seatLabel: string | null;
|
|
1336
|
+
price: number;
|
|
1337
|
+
status: PerformanceTicketStatus;
|
|
1338
|
+
statusLabel: string;
|
|
1339
|
+
statusColor: string;
|
|
1340
|
+
isSelected: boolean;
|
|
1341
|
+
ticketId: number;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
interface TicketMapZoneQuantityState {
|
|
1345
|
+
elementId: number;
|
|
1346
|
+
selectedCount: number;
|
|
1347
|
+
maxCapacity: number;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
interface ReservePerformanceDto {
|
|
1351
|
+
ticket_ids: number[];
|
|
1352
|
+
products?: {
|
|
1353
|
+
id: number;
|
|
1354
|
+
quantity: number;
|
|
1355
|
+
}[];
|
|
1356
|
+
coupon_code?: string;
|
|
1357
|
+
gift_bond_code?: string;
|
|
1358
|
+
corporate_bond_code?: string;
|
|
1359
|
+
payment_method?: string;
|
|
1360
|
+
billing?: {
|
|
1361
|
+
first_name: string;
|
|
1362
|
+
last_name: string;
|
|
1363
|
+
email: string;
|
|
1364
|
+
mobile: string;
|
|
1365
|
+
document_type: string;
|
|
1366
|
+
document_number: string;
|
|
1367
|
+
address: string;
|
|
1368
|
+
city_id: number;
|
|
1369
|
+
postal_code?: string;
|
|
1370
|
+
address_notes?: string;
|
|
1371
|
+
terms_accepted: boolean;
|
|
1372
|
+
data_processing_accepted: boolean;
|
|
1373
|
+
comments?: string;
|
|
1374
|
+
};
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
interface TicketMapZoomConfig {
|
|
1378
|
+
minZoom: number;
|
|
1379
|
+
maxZoom: number;
|
|
1380
|
+
zoomStep: number;
|
|
1381
|
+
scaleBy: number;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
interface HallFloorOption {
|
|
1385
|
+
id: number | null;
|
|
1386
|
+
name: string;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
declare enum SelectedDiscountCardType {
|
|
1390
|
+
COUPON = "COUPON",
|
|
1391
|
+
CORPORATE_BOND = "CORPORATE_BOND",
|
|
1392
|
+
GIFT_BOND = "GIFT_BOND"
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
interface SelectedDiscountCard {
|
|
1396
|
+
name: string;
|
|
1397
|
+
type: SelectedDiscountCardType;
|
|
1398
|
+
value: number;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
interface FetchShowsParams {
|
|
1402
|
+
page?: number;
|
|
1403
|
+
limit?: number;
|
|
1404
|
+
search?: string;
|
|
1405
|
+
date?: string;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
interface ShowResponse {
|
|
1409
|
+
statusCode: number;
|
|
1410
|
+
data: Show;
|
|
1411
|
+
message: string;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
interface ShowsResponseInterface {
|
|
1415
|
+
statusCode: number;
|
|
1416
|
+
data: {
|
|
1417
|
+
shows: Show[];
|
|
1418
|
+
total: number;
|
|
1419
|
+
};
|
|
1420
|
+
message: string;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
interface FindAllPerformancesParams {
|
|
1424
|
+
roomMapId?: number;
|
|
1425
|
+
showId?: number;
|
|
1426
|
+
hallId?: number;
|
|
1427
|
+
page?: number;
|
|
1428
|
+
search?: string;
|
|
1429
|
+
limit?: number;
|
|
920
1430
|
}
|
|
921
1431
|
|
|
922
1432
|
interface PerformanceBookingDataResponse {
|
|
@@ -930,6 +1440,12 @@ interface PerformanceBookingDataResponse {
|
|
|
930
1440
|
message: string;
|
|
931
1441
|
}
|
|
932
1442
|
|
|
1443
|
+
interface PerformanceResponse {
|
|
1444
|
+
statusCode: number;
|
|
1445
|
+
data: Performance;
|
|
1446
|
+
message: string;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
933
1449
|
interface PerformanceAvailableDay {
|
|
934
1450
|
date: string;
|
|
935
1451
|
count: number;
|
|
@@ -942,6 +1458,15 @@ interface PerformancesAvailableDaysResponse {
|
|
|
942
1458
|
message: string;
|
|
943
1459
|
}
|
|
944
1460
|
|
|
1461
|
+
interface PerformancesResponseInterface {
|
|
1462
|
+
statusCode: number;
|
|
1463
|
+
data: {
|
|
1464
|
+
performances: Performance[];
|
|
1465
|
+
total: number;
|
|
1466
|
+
};
|
|
1467
|
+
message: string;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
945
1470
|
interface DailyPerformanceHall {
|
|
946
1471
|
name: string | null;
|
|
947
1472
|
}
|
|
@@ -1000,6 +1525,13 @@ interface ProductResponse {
|
|
|
1000
1525
|
message: string;
|
|
1001
1526
|
}
|
|
1002
1527
|
|
|
1528
|
+
interface ProductTaxonomy extends Auditable {
|
|
1529
|
+
id: number;
|
|
1530
|
+
name: string;
|
|
1531
|
+
slug: string;
|
|
1532
|
+
selected?: boolean;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1003
1535
|
interface ProductsResponseInterface {
|
|
1004
1536
|
statusCode: number;
|
|
1005
1537
|
data: {
|
|
@@ -1040,71 +1572,272 @@ interface FindAllPriceZoneParams {
|
|
|
1040
1572
|
limit?: number;
|
|
1041
1573
|
}
|
|
1042
1574
|
|
|
1043
|
-
interface
|
|
1575
|
+
interface CouponResponse {
|
|
1576
|
+
statusCode: number;
|
|
1577
|
+
data: Coupon;
|
|
1578
|
+
message: string;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
interface ValidateCouponResponse {
|
|
1582
|
+
data: {
|
|
1583
|
+
coupon: Coupon;
|
|
1584
|
+
message: string;
|
|
1585
|
+
};
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
interface RecentOrder {
|
|
1044
1589
|
id: number;
|
|
1590
|
+
customer_name: string;
|
|
1591
|
+
event: string;
|
|
1592
|
+
total: number;
|
|
1593
|
+
status: string;
|
|
1045
1594
|
uuid: string;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
interface RecentRoomMap {
|
|
1598
|
+
id: number;
|
|
1046
1599
|
name: string;
|
|
1047
|
-
|
|
1048
|
-
status: GiftBondStatus;
|
|
1049
|
-
value: number;
|
|
1050
|
-
customer: Customer;
|
|
1051
|
-
customer_id: number;
|
|
1600
|
+
capacity: number;
|
|
1052
1601
|
created_at: Date;
|
|
1053
1602
|
updated_at: Date;
|
|
1054
|
-
created_by: number;
|
|
1055
|
-
updated_by: number;
|
|
1056
1603
|
}
|
|
1057
1604
|
|
|
1058
|
-
interface
|
|
1605
|
+
interface QrTokenData {
|
|
1606
|
+
token: string;
|
|
1607
|
+
expires_at: string;
|
|
1608
|
+
refresh_in: number;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
interface QrTokenResponse {
|
|
1059
1612
|
statusCode: number;
|
|
1060
|
-
data:
|
|
1613
|
+
data: QrTokenData;
|
|
1061
1614
|
message: string;
|
|
1062
1615
|
}
|
|
1063
1616
|
|
|
1064
|
-
interface
|
|
1065
|
-
|
|
1617
|
+
interface VipCategorySnapshot {
|
|
1618
|
+
membership_id: number;
|
|
1619
|
+
name: string;
|
|
1620
|
+
discount_percentage: number;
|
|
1621
|
+
service_fee_exempt: boolean;
|
|
1622
|
+
applicable_show_ids: number[] | null;
|
|
1623
|
+
excluded_show_ids: number[] | null;
|
|
1624
|
+
duration_days: number;
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
interface VipCard extends Auditable {
|
|
1628
|
+
id: number;
|
|
1629
|
+
uuid: string;
|
|
1630
|
+
customer: Customer;
|
|
1631
|
+
customer_id: number;
|
|
1632
|
+
membership: {
|
|
1633
|
+
id: number;
|
|
1634
|
+
name: string;
|
|
1635
|
+
} | null;
|
|
1636
|
+
membership_id: number;
|
|
1637
|
+
category_snapshot: VipCategorySnapshot;
|
|
1638
|
+
balance: number;
|
|
1639
|
+
status: VipCardStatus;
|
|
1640
|
+
activated_at: string | null;
|
|
1641
|
+
last_activity_at: string | null;
|
|
1642
|
+
expires_at: string | null;
|
|
1643
|
+
last_low_balance_alert_at: string | null;
|
|
1644
|
+
last_expiry_alert_at: string | null;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
interface VipTransaction {
|
|
1648
|
+
id: number;
|
|
1649
|
+
uuid: string;
|
|
1650
|
+
vip_card_id: number;
|
|
1651
|
+
type: VipTransactionType;
|
|
1652
|
+
amount: number;
|
|
1653
|
+
balance_before: number;
|
|
1654
|
+
balance_after: number;
|
|
1655
|
+
order: Order | null;
|
|
1656
|
+
order_id: number | null;
|
|
1657
|
+
description: string | null;
|
|
1658
|
+
created_at: string;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
interface VipCardResponse {
|
|
1662
|
+
data: VipCard;
|
|
1663
|
+
}
|
|
1664
|
+
interface VipCardsResponse {
|
|
1066
1665
|
data: {
|
|
1067
|
-
|
|
1666
|
+
vip_cards: VipCard[];
|
|
1068
1667
|
total: number;
|
|
1069
1668
|
};
|
|
1070
|
-
message: string;
|
|
1071
1669
|
}
|
|
1072
|
-
|
|
1073
|
-
interface ValidateGiftBondResponse {
|
|
1670
|
+
interface VipTransactionsResponse {
|
|
1074
1671
|
data: {
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
code: string;
|
|
1078
|
-
bond?: GiftBond;
|
|
1672
|
+
transactions: VipTransaction[];
|
|
1673
|
+
total: number;
|
|
1079
1674
|
};
|
|
1080
|
-
|
|
1081
|
-
|
|
1675
|
+
}
|
|
1676
|
+
interface VipOrderResponse {
|
|
1677
|
+
data: Order;
|
|
1082
1678
|
}
|
|
1083
1679
|
|
|
1084
|
-
interface
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1680
|
+
interface Membership extends Auditable {
|
|
1681
|
+
id: number;
|
|
1682
|
+
name: string;
|
|
1683
|
+
description: string;
|
|
1684
|
+
benefits: string[] | null;
|
|
1685
|
+
price: number;
|
|
1686
|
+
duration_days: number;
|
|
1687
|
+
min_recharge: number;
|
|
1688
|
+
status: MembershipStatus;
|
|
1689
|
+
discount_percentage: number;
|
|
1690
|
+
service_fee_exempt: boolean;
|
|
1691
|
+
applicable_show_ids: number[] | null;
|
|
1692
|
+
excluded_show_ids: number[] | null;
|
|
1088
1693
|
}
|
|
1089
1694
|
|
|
1090
|
-
interface
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1695
|
+
interface FetchVipCardsParams {
|
|
1696
|
+
page?: number;
|
|
1697
|
+
limit?: number;
|
|
1698
|
+
status?: VipCardStatus;
|
|
1699
|
+
membership_id?: number;
|
|
1700
|
+
customer_id?: number;
|
|
1701
|
+
search?: string;
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
interface ActivateVipCardParams {
|
|
1705
|
+
customer_id: number;
|
|
1706
|
+
membership_id: number;
|
|
1707
|
+
amount: number;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
declare const DOCUMENT_TYPES_OPTIONS: SelectOption[];
|
|
1711
|
+
|
|
1712
|
+
declare const PAYMENT_METHODS_OPTIONS: SelectOption[];
|
|
1713
|
+
declare const ORDER_STATUS_COLORS: Record<OrderStatus, {
|
|
1714
|
+
text: string;
|
|
1715
|
+
bg: string;
|
|
1716
|
+
}>;
|
|
1717
|
+
declare const ORDER_ITEM_TYPES_COLORS: Record<OrderItemType, {
|
|
1718
|
+
text: string;
|
|
1719
|
+
bg: string;
|
|
1720
|
+
}>;
|
|
1721
|
+
declare const ORDER_DISCOUNT_COLORS: Record<string, {
|
|
1722
|
+
text: string;
|
|
1723
|
+
bg: string;
|
|
1724
|
+
}>;
|
|
1725
|
+
declare const TRANSACTION_STATUS_COLORS: Record<TransactionStatus, {
|
|
1726
|
+
text: string;
|
|
1727
|
+
bg: string;
|
|
1728
|
+
}>;
|
|
1729
|
+
|
|
1730
|
+
declare const PERFORMANCE_TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, {
|
|
1731
|
+
text: string;
|
|
1732
|
+
bg: string;
|
|
1733
|
+
}>;
|
|
1734
|
+
declare const PERFORMANCE_STATUS_COLORS: Record<PerformanceStatus, {
|
|
1735
|
+
text: string;
|
|
1736
|
+
bg: string;
|
|
1737
|
+
}>;
|
|
1738
|
+
|
|
1739
|
+
declare const TICKET_MAP_LAST_TICKETS_LIMIT = 10;
|
|
1740
|
+
declare const TICKET_ELEMENT_TYPES: RoomMapElementType[];
|
|
1741
|
+
declare const DEFAULT_STAGE_CONFIG: {
|
|
1742
|
+
[x: string]: any;
|
|
1743
|
+
};
|
|
1744
|
+
declare const TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, string>;
|
|
1745
|
+
declare const TICKET_STATUS_FILLS: Record<PerformanceTicketStatus, string>;
|
|
1746
|
+
declare const TICKET_STATUS_LABELS: Record<PerformanceTicketStatus, string>;
|
|
1747
|
+
declare const TICKET_MAP_GRID_SIZE = 30;
|
|
1748
|
+
declare const TICKET_MAP_TITLE_HEIGHT = 30;
|
|
1749
|
+
|
|
1750
|
+
interface KonvaShapeConfig {
|
|
1751
|
+
config: ShapeConfig;
|
|
1752
|
+
layer: 'background' | 'elements' | 'foreground' | 'overlay';
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
declare function drawRoundedRect(con: Context, shape: Shape, x: number, y: number, width: number, height: number, cornerRadius: number): void;
|
|
1756
|
+
|
|
1757
|
+
declare const generateExitScene: (con: Context, shape: Shape) => void;
|
|
1758
|
+
|
|
1759
|
+
declare const generateHallwayScene: (con: Context, shape: Shape) => void;
|
|
1760
|
+
|
|
1761
|
+
declare const generateProductionAreaScene: (con: Context, shape: Shape) => void;
|
|
1762
|
+
|
|
1763
|
+
declare const generateSeatBlockScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1764
|
+
start_row_letter: string;
|
|
1765
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1766
|
+
start_column_number: number;
|
|
1767
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1768
|
+
}) => void;
|
|
1769
|
+
|
|
1770
|
+
declare const generateStageScene: (con: Context, shape: Shape) => void;
|
|
1771
|
+
|
|
1772
|
+
declare const generateStairScene: (con: Context, shape: Shape) => void;
|
|
1773
|
+
|
|
1774
|
+
declare const generateTableScene: (con: Context, shape: Shape) => void;
|
|
1775
|
+
|
|
1776
|
+
declare const generateUnavailableSpaceScene: (con: Context, shape: Shape) => void;
|
|
1777
|
+
|
|
1778
|
+
declare const generateZoneScene: (con: Context, shape: Shape) => void;
|
|
1779
|
+
|
|
1780
|
+
declare const KONVA_SHAPE_MAPPINGS: Record<RoomMapElementType, KonvaShapeConfig>;
|
|
1781
|
+
|
|
1782
|
+
declare const SHOW_TYPE_COLORS: Record<ShowType, {
|
|
1783
|
+
bg: string;
|
|
1784
|
+
text: string;
|
|
1785
|
+
}>;
|
|
1096
1786
|
|
|
1097
1787
|
declare const getCustomerFullname: (customer: Customer) => string;
|
|
1098
1788
|
|
|
1789
|
+
type OrderDiscountType = 'coupon' | 'corporate_bond' | 'gift_bond';
|
|
1790
|
+
interface OrderDiscountInfo {
|
|
1791
|
+
type: OrderDiscountType | null;
|
|
1792
|
+
code: string | null;
|
|
1793
|
+
name: string | null;
|
|
1794
|
+
value: number;
|
|
1795
|
+
discountType: 'percentage' | 'fixed' | null;
|
|
1796
|
+
icon: string;
|
|
1797
|
+
}
|
|
1798
|
+
declare function getOrderDiscount(order: Order): OrderDiscountInfo;
|
|
1799
|
+
|
|
1099
1800
|
declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
1100
1801
|
|
|
1101
1802
|
declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
|
|
1102
1803
|
|
|
1103
1804
|
declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
|
|
1104
|
-
value:
|
|
1805
|
+
value: number;
|
|
1105
1806
|
label: string;
|
|
1106
1807
|
}[];
|
|
1107
1808
|
|
|
1809
|
+
declare function tintColor(hex: string, amount?: number): string;
|
|
1810
|
+
|
|
1811
|
+
declare const drawChairIcon: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1812
|
+
|
|
1813
|
+
declare const drawHappyFace: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1814
|
+
|
|
1815
|
+
declare const drawWheelchairIcon: (con: Context, shape: Shape, cx: number, cy: number, size: number, fillColor?: string, strokeColor?: string) => void;
|
|
1816
|
+
|
|
1817
|
+
declare const numberToLetter: (num: number) => string;
|
|
1818
|
+
|
|
1819
|
+
declare const getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
1820
|
+
|
|
1821
|
+
declare const generateSeatBlockTicketScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1822
|
+
start_row_letter: string;
|
|
1823
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1824
|
+
start_column_number: number;
|
|
1825
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1826
|
+
}, ticketStatusMap?: Map<string, PerformanceTicketStatus>) => void;
|
|
1827
|
+
|
|
1828
|
+
declare const generateTableTicketScene: (con: Context, shape: Shape, chairTicketStatuses?: PerformanceTicketStatus[], tableSeats?: RoomMapSeatState[][]) => void;
|
|
1829
|
+
|
|
1830
|
+
declare function processElementsToRenderData(elements: RoomMapElementTemplate[], tickets: PerformanceTicket[], priceZones?: {
|
|
1831
|
+
id: number;
|
|
1832
|
+
color: string;
|
|
1833
|
+
}[]): ElementRenderData[];
|
|
1834
|
+
declare function findTicketAtPosition(renderData: ElementRenderData, relX: number, relY: number): PerformanceTicket | null;
|
|
1835
|
+
declare function findElementAtPosition(renderDataList: ElementRenderData[], stageX: number, stageY: number): {
|
|
1836
|
+
element: ElementRenderData;
|
|
1837
|
+
relX: number;
|
|
1838
|
+
relY: number;
|
|
1839
|
+
} | null;
|
|
1840
|
+
|
|
1108
1841
|
declare function MinTodayValidator(controlName: string): ValidatorFn;
|
|
1109
1842
|
declare function EndDateGreaterThanStartValidator(startDateControlName: string, endDateControlName: string): ValidatorFn;
|
|
1110
1843
|
|
|
@@ -1135,16 +1868,6 @@ declare class ToastService {
|
|
|
1135
1868
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
1136
1869
|
}
|
|
1137
1870
|
|
|
1138
|
-
declare class LoadingModalService {
|
|
1139
|
-
title: WritableSignal<string>;
|
|
1140
|
-
isOpen: WritableSignal<boolean>;
|
|
1141
|
-
get modalIsOpen(): WritableSignal<boolean>;
|
|
1142
|
-
open(title?: string): void;
|
|
1143
|
-
close(): void;
|
|
1144
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingModalService, never>;
|
|
1145
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingModalService>;
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
1871
|
declare class DeleteConfirmationService {
|
|
1149
1872
|
title: WritableSignal<string>;
|
|
1150
1873
|
resourceName: WritableSignal<string>;
|
|
@@ -1235,7 +1958,7 @@ declare class PerformanceService {
|
|
|
1235
1958
|
private performancesSubject;
|
|
1236
1959
|
performances$: Observable<Performance[]>;
|
|
1237
1960
|
constructor(apiService: ApiService);
|
|
1238
|
-
fetchPerformances(showId
|
|
1961
|
+
fetchPerformances({ showId, roomMapId, hallId, search, page, limit, }: FindAllPerformancesParams): Observable<PerformancesResponseInterface>;
|
|
1239
1962
|
fetchDailyPerformances({ show_id, search, limit, date, }: FetchDailyPerformancesParams): Observable<DailyPerformancesResponse>;
|
|
1240
1963
|
loadPerformances({ showId, search }?: {
|
|
1241
1964
|
showId?: number;
|
|
@@ -1243,7 +1966,7 @@ declare class PerformanceService {
|
|
|
1243
1966
|
}): void;
|
|
1244
1967
|
getCurrentPerformances(): Performance[];
|
|
1245
1968
|
fetchOneById(id: number): Observable<PerformanceResponse>;
|
|
1246
|
-
fetchOneBookingData(id: number): Observable<PerformanceBookingDataResponse>;
|
|
1969
|
+
fetchOneBookingData(id: number, isAdmin?: boolean): Observable<PerformanceBookingDataResponse>;
|
|
1247
1970
|
fetchAvailableDays(params?: {
|
|
1248
1971
|
show_id?: number;
|
|
1249
1972
|
}): Observable<PerformancesAvailableDaysResponse>;
|
|
@@ -1273,25 +1996,6 @@ declare class PerformancesListEventsService {
|
|
|
1273
1996
|
static ɵprov: i0.ɵɵInjectableDeclaration<PerformancesListEventsService>;
|
|
1274
1997
|
}
|
|
1275
1998
|
|
|
1276
|
-
declare class ProductService {
|
|
1277
|
-
private apiService;
|
|
1278
|
-
private productsSubject;
|
|
1279
|
-
products$: Observable<Product[]>;
|
|
1280
|
-
constructor(apiService: ApiService);
|
|
1281
|
-
fetchProducts(page: number, search: string): Observable<ProductsResponseInterface>;
|
|
1282
|
-
loadProducts({ page, search }?: {
|
|
1283
|
-
page?: number;
|
|
1284
|
-
search?: string;
|
|
1285
|
-
}): void;
|
|
1286
|
-
getCurrentProducts(): Product[];
|
|
1287
|
-
fetchOneById(id: number): Observable<ProductResponse>;
|
|
1288
|
-
createOne(data: Product): Observable<any>;
|
|
1289
|
-
updateOne(id: number, data: any): Observable<ProductResponse>;
|
|
1290
|
-
deleteOne(id: number): Observable<any>;
|
|
1291
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
1292
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
1999
|
declare class ShowService {
|
|
1296
2000
|
private apiService;
|
|
1297
2001
|
private showsSubject;
|
|
@@ -1372,6 +2076,360 @@ declare class PriceZoneFormModalService {
|
|
|
1372
2076
|
static ɵprov: i0.ɵɵInjectableDeclaration<PriceZoneFormModalService>;
|
|
1373
2077
|
}
|
|
1374
2078
|
|
|
2079
|
+
declare class ProductCategoryService {
|
|
2080
|
+
private apiService;
|
|
2081
|
+
constructor(apiService: ApiService);
|
|
2082
|
+
fetchCategories({ page, search, limit, }: FetchProductCategoriesParams): Observable<ProductCategoriesResponse>;
|
|
2083
|
+
fetchOneById(id: number): Observable<ProductCategoryResponse>;
|
|
2084
|
+
createOne(data: ProductCategory): Observable<any>;
|
|
2085
|
+
updateOne(id: number, data: ProductCategory): Observable<ProductCategoryResponse>;
|
|
2086
|
+
deleteOne(id: number): Observable<any>;
|
|
2087
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryService, never>;
|
|
2088
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductCategoryService>;
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
declare class ProductTagService {
|
|
2092
|
+
private apiService;
|
|
2093
|
+
constructor(apiService: ApiService);
|
|
2094
|
+
fetchTags({ page, search, limit }: FetchProductTagsParams): Observable<ProductTagsResponse>;
|
|
2095
|
+
fetchOneById(id: number): Observable<ProductTagResponse>;
|
|
2096
|
+
createOne(data: ProductTag): Observable<any>;
|
|
2097
|
+
updateOne(id: number, data: ProductTag): Observable<ProductTagResponse>;
|
|
2098
|
+
deleteOne(id: number): Observable<any>;
|
|
2099
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTagService, never>;
|
|
2100
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTagService>;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
declare class ProductTypeService {
|
|
2104
|
+
private apiService;
|
|
2105
|
+
constructor(apiService: ApiService);
|
|
2106
|
+
fetchTypes({ page, search, limit }: FetchProductTypesParams): Observable<ProductTypesResponse>;
|
|
2107
|
+
fetchOneById(id: number): Observable<ProductTypeResponse>;
|
|
2108
|
+
createOne(data: ProductType): Observable<any>;
|
|
2109
|
+
updateOne(id: number, data: ProductType): Observable<ProductTypeResponse>;
|
|
2110
|
+
deleteOne(id: number): Observable<any>;
|
|
2111
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTypeService, never>;
|
|
2112
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTypeService>;
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
interface FetchProductsParams {
|
|
2116
|
+
page?: number;
|
|
2117
|
+
limit?: number;
|
|
2118
|
+
search?: string;
|
|
2119
|
+
name?: string;
|
|
2120
|
+
is_published?: boolean;
|
|
2121
|
+
category_id?: number;
|
|
2122
|
+
tag_id?: number;
|
|
2123
|
+
type_id?: number;
|
|
2124
|
+
ids_in?: number[];
|
|
2125
|
+
ids_not_in?: number[];
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
declare class ProductService {
|
|
2129
|
+
private apiService;
|
|
2130
|
+
private productsSubject;
|
|
2131
|
+
products$: Observable<Product[]>;
|
|
2132
|
+
constructor(apiService: ApiService);
|
|
2133
|
+
fetchProducts(params: FetchProductsParams): Observable<ProductsResponseInterface>;
|
|
2134
|
+
loadProducts(params: FetchProductsParams): void;
|
|
2135
|
+
getCurrentProducts(): Product[];
|
|
2136
|
+
fetchOneById(id: number): Observable<ProductResponse>;
|
|
2137
|
+
createOne(data: Product): Observable<any>;
|
|
2138
|
+
updateOne(id: number, data: any): Observable<ProductResponse>;
|
|
2139
|
+
deleteOne(id: number): Observable<any>;
|
|
2140
|
+
fetchImages(id: number): Observable<{
|
|
2141
|
+
data: ProductImage[];
|
|
2142
|
+
}>;
|
|
2143
|
+
uploadImages(id: number, files?: FormData): Observable<{
|
|
2144
|
+
data: ProductImage[];
|
|
2145
|
+
}>;
|
|
2146
|
+
deleteOneImage(productId: number, imageId: number): Observable<any>;
|
|
2147
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
2148
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
declare class BaseModalService {
|
|
2152
|
+
readonly isOpen: WritableSignal<boolean>;
|
|
2153
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
2154
|
+
open(): void;
|
|
2155
|
+
close(): void;
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
declare class FeedbackModalService {
|
|
2159
|
+
private _modals;
|
|
2160
|
+
readonly modals: i0.Signal<FeedbackModalElement[]>;
|
|
2161
|
+
addModal(modal: FeedbackModalElement): void;
|
|
2162
|
+
removeModal(id: string): void;
|
|
2163
|
+
removeAllModals(): void;
|
|
2164
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalService, never>;
|
|
2165
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeedbackModalService>;
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
declare class OrderTransactionDetailsModalService {
|
|
2169
|
+
readonly isOpen: WritableSignal<boolean>;
|
|
2170
|
+
transaction: WritableSignal<Transaction | null>;
|
|
2171
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
2172
|
+
open(transaction: Transaction): void;
|
|
2173
|
+
close(): void;
|
|
2174
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionDetailsModalService, never>;
|
|
2175
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrderTransactionDetailsModalService>;
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
declare class PerformanceBookingDataService {
|
|
2179
|
+
private _show;
|
|
2180
|
+
private _performance;
|
|
2181
|
+
private _roomMap;
|
|
2182
|
+
private _hallFloors;
|
|
2183
|
+
private _selectedHallFloor;
|
|
2184
|
+
private _allRenderData;
|
|
2185
|
+
private _stageConfig;
|
|
2186
|
+
readonly show: i0.Signal<Show | null>;
|
|
2187
|
+
readonly hallFloors: i0.Signal<HallFloor[]>;
|
|
2188
|
+
readonly selectedHallFloor: i0.Signal<HallFloor | null>;
|
|
2189
|
+
readonly performance: i0.Signal<Performance | null>;
|
|
2190
|
+
readonly stageConfig: i0.Signal<{
|
|
2191
|
+
[x: string]: any;
|
|
2192
|
+
}>;
|
|
2193
|
+
readonly roomMap: i0.Signal<RoomMap | null>;
|
|
2194
|
+
readonly renderData: i0.Signal<ElementRenderData[]>;
|
|
2195
|
+
setPerformanceBookingData({ data }: PerformanceBookingDataResponse): void;
|
|
2196
|
+
setRoomMap(roomMap: RoomMap | null): void;
|
|
2197
|
+
setAllRenderData(data: ElementRenderData[]): void;
|
|
2198
|
+
setPerformance(performance: Performance | null): void;
|
|
2199
|
+
setShow(show: Show | null): void;
|
|
2200
|
+
setHallFloors(data: HallFloor[]): void;
|
|
2201
|
+
setSelectedHallFloor(id: number): void;
|
|
2202
|
+
updateStageConfig(data: {
|
|
2203
|
+
[x: string]: any;
|
|
2204
|
+
}): void;
|
|
2205
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceBookingDataService, never>;
|
|
2206
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PerformanceBookingDataService>;
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
declare class TicketSelectionDetailsService {
|
|
2210
|
+
private _customerEmail;
|
|
2211
|
+
private _customerId;
|
|
2212
|
+
private _paymentMethod;
|
|
2213
|
+
private _billingInformation;
|
|
2214
|
+
readonly customerEmail: i0.Signal<string | null>;
|
|
2215
|
+
readonly customerId: i0.Signal<number | null>;
|
|
2216
|
+
readonly paymentMethod: i0.Signal<string | null>;
|
|
2217
|
+
readonly billingInformation: i0.Signal<Customer | null>;
|
|
2218
|
+
setCustomerEmail(email: string | null): void;
|
|
2219
|
+
setCustomerId(id: number | null): void;
|
|
2220
|
+
setPaymentMethod(method: string | null): void;
|
|
2221
|
+
setBillingInformation(values: Customer): void;
|
|
2222
|
+
clearSelection(): void;
|
|
2223
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDetailsService, never>;
|
|
2224
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDetailsService>;
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
declare class TicketSelectionDiscountService {
|
|
2228
|
+
private _coupon;
|
|
2229
|
+
private _corporateBond;
|
|
2230
|
+
private _corporateBondCode;
|
|
2231
|
+
private _giftBond;
|
|
2232
|
+
private _giftBondCode;
|
|
2233
|
+
readonly coupon: Signal<Coupon | null>;
|
|
2234
|
+
readonly corporateBond: Signal<CorporateBond | null>;
|
|
2235
|
+
readonly corporateBondCode: Signal<string | null>;
|
|
2236
|
+
readonly giftBond: Signal<GiftBondPurchase | null>;
|
|
2237
|
+
readonly giftBondCode: Signal<string | null>;
|
|
2238
|
+
readonly selectedDiscount: Signal<SelectedDiscountCard | null>;
|
|
2239
|
+
readonly selectedDiscountType: Signal<SelectedDiscountCardType | undefined>;
|
|
2240
|
+
readonly selectedDiscountValue: Signal<number | undefined>;
|
|
2241
|
+
setCoupon(coupon: Coupon | null): void;
|
|
2242
|
+
setCorporateBond(corporateBond: CorporateBond | null): void;
|
|
2243
|
+
setCorporateBondCode(code: string | null): void;
|
|
2244
|
+
setGiftBond(giftBond: GiftBondPurchase | null): void;
|
|
2245
|
+
setGiftBondCode(code: string | null): void;
|
|
2246
|
+
clearSelection(): void;
|
|
2247
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionDiscountService, never>;
|
|
2248
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionDiscountService>;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
declare class TicketSelectionTotalsService {
|
|
2252
|
+
private bookingDataService;
|
|
2253
|
+
private selectionService;
|
|
2254
|
+
private selectionDiscountService;
|
|
2255
|
+
readonly selectedProductEntries: i0.Signal<{
|
|
2256
|
+
id: number;
|
|
2257
|
+
quantity: number;
|
|
2258
|
+
}[]>;
|
|
2259
|
+
readonly selectedProductCount: i0.Signal<number>;
|
|
2260
|
+
readonly productSubtotal: i0.Signal<number>;
|
|
2261
|
+
readonly ticketSubtotal: i0.Signal<number>;
|
|
2262
|
+
readonly serviceFee: i0.Signal<number>;
|
|
2263
|
+
subtotalValue(): number;
|
|
2264
|
+
totalValue(): number;
|
|
2265
|
+
totalDiscounted(): number | null;
|
|
2266
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionTotalsService, never>;
|
|
2267
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionTotalsService>;
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
declare class TicketSelectionService {
|
|
2271
|
+
private bookingDataService;
|
|
2272
|
+
private feedbackModalService;
|
|
2273
|
+
private selectionDetailsService;
|
|
2274
|
+
private selectionDiscountService;
|
|
2275
|
+
private _zoneQuantities;
|
|
2276
|
+
private _allTickets;
|
|
2277
|
+
private _selectedTickets;
|
|
2278
|
+
private _selectedBlockedTickets;
|
|
2279
|
+
private _products;
|
|
2280
|
+
private _productQuantities;
|
|
2281
|
+
readonly selectedTickets: i0.Signal<PerformanceTicket[]>;
|
|
2282
|
+
readonly selectedBlockedTickets: i0.Signal<PerformanceTicket[]>;
|
|
2283
|
+
readonly selectedCount: i0.Signal<number>;
|
|
2284
|
+
readonly blockedSelectedCount: i0.Signal<number>;
|
|
2285
|
+
readonly selectedTicketIds: i0.Signal<Set<PerformanceTicket>>;
|
|
2286
|
+
readonly selectedBlockedTicketIds: i0.Signal<number[]>;
|
|
2287
|
+
readonly selectedTicketIdList: i0.Signal<number[]>;
|
|
2288
|
+
readonly products: i0.Signal<Product[]>;
|
|
2289
|
+
readonly productQuantities: i0.Signal<Map<number, number>>;
|
|
2290
|
+
readonly selectedProductEntries: i0.Signal<{
|
|
2291
|
+
id: number;
|
|
2292
|
+
quantity: number;
|
|
2293
|
+
}[]>;
|
|
2294
|
+
readonly selectedProductCount: i0.Signal<number>;
|
|
2295
|
+
readonly serviceFee: i0.Signal<number>;
|
|
2296
|
+
setTickets(tickets: PerformanceTicket[]): void;
|
|
2297
|
+
setProducts(products: Product[]): void;
|
|
2298
|
+
updateProductQuantity(productId: number, delta: number): void;
|
|
2299
|
+
getProductQuantity(productId: number): number;
|
|
2300
|
+
private getListByStatus;
|
|
2301
|
+
setSelectedTickets(tickets: PerformanceTicket[]): void;
|
|
2302
|
+
toggle(ticket: PerformanceTicket): void;
|
|
2303
|
+
select(ticket: PerformanceTicket): void;
|
|
2304
|
+
deselect(ticket: PerformanceTicket): void;
|
|
2305
|
+
clearBlockedSelection(): void;
|
|
2306
|
+
clearSelection(): void;
|
|
2307
|
+
isSelected(ticket: PerformanceTicket): boolean;
|
|
2308
|
+
initZoneQuantity(elementId: number, maxCapacity: number): void;
|
|
2309
|
+
adjustZoneQuantity(elementId: number, delta: number): void;
|
|
2310
|
+
getZoneTickets(elementId: number): PerformanceTicket[];
|
|
2311
|
+
buildTooltipData(ticket: PerformanceTicket, elementName: string, seatLabel: string | null, x: number, y: number): TicketMapTooltipData;
|
|
2312
|
+
buildReservePerformanceDto(paymentMethod?: string, termsAccepted?: boolean, dataProcessingAccepted?: boolean): ReservePerformanceDto;
|
|
2313
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketSelectionService, never>;
|
|
2314
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketSelectionService>;
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
declare class TicketMapZoomService {
|
|
2318
|
+
readonly currentZoom: i0.WritableSignal<number>;
|
|
2319
|
+
private stage?;
|
|
2320
|
+
private bookingDataService;
|
|
2321
|
+
private readonly defaultConfig;
|
|
2322
|
+
constructor();
|
|
2323
|
+
/**
|
|
2324
|
+
* Set the Konva stage instance
|
|
2325
|
+
*/
|
|
2326
|
+
setStage(stage: Stage): void;
|
|
2327
|
+
/**
|
|
2328
|
+
* Zoom in by one step
|
|
2329
|
+
*/
|
|
2330
|
+
zoomIn(): void;
|
|
2331
|
+
/**
|
|
2332
|
+
* Zoom out by one step
|
|
2333
|
+
*/
|
|
2334
|
+
zoomOut(): void;
|
|
2335
|
+
/**
|
|
2336
|
+
* Reset zoom to 100%
|
|
2337
|
+
*/
|
|
2338
|
+
resetZoom(): void;
|
|
2339
|
+
/**
|
|
2340
|
+
* Get current zoom as percentage string
|
|
2341
|
+
*/
|
|
2342
|
+
getZoomPercentage(): string;
|
|
2343
|
+
/**
|
|
2344
|
+
* Get current zoom value
|
|
2345
|
+
*/
|
|
2346
|
+
getCurrentZoom(): number;
|
|
2347
|
+
/**
|
|
2348
|
+
* Apply zoom with center point
|
|
2349
|
+
*/
|
|
2350
|
+
private applyZoom;
|
|
2351
|
+
/**
|
|
2352
|
+
* Apply zoom scale with specific center point
|
|
2353
|
+
*/
|
|
2354
|
+
private applyZoomScale;
|
|
2355
|
+
/**
|
|
2356
|
+
* Handle mouse wheel zoom toward the cursor position
|
|
2357
|
+
*/
|
|
2358
|
+
handleWheelZoom(deltaY: number): void;
|
|
2359
|
+
/**
|
|
2360
|
+
* Fit the content bounds to fill the stage container
|
|
2361
|
+
*/
|
|
2362
|
+
fitToContainer(padding?: number): void;
|
|
2363
|
+
/**
|
|
2364
|
+
* Get current stage position
|
|
2365
|
+
*/
|
|
2366
|
+
getStagePosition(): {
|
|
2367
|
+
x: number;
|
|
2368
|
+
y: number;
|
|
2369
|
+
};
|
|
2370
|
+
/**
|
|
2371
|
+
* Set stage position (useful for programmatic panning)
|
|
2372
|
+
*/
|
|
2373
|
+
setStagePosition(position: {
|
|
2374
|
+
x: number;
|
|
2375
|
+
y: number;
|
|
2376
|
+
}): void;
|
|
2377
|
+
/**
|
|
2378
|
+
* Fit the stage content bounds to the container, centering and scaling
|
|
2379
|
+
* to show the full content with optional padding.
|
|
2380
|
+
*/
|
|
2381
|
+
fitToBounds(contentBounds: {
|
|
2382
|
+
x: number;
|
|
2383
|
+
y: number;
|
|
2384
|
+
width: number;
|
|
2385
|
+
height: number;
|
|
2386
|
+
}, containerWidth: number, containerHeight: number, padding?: number): void;
|
|
2387
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomService, never>;
|
|
2388
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketMapZoomService>;
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
declare class ConfirmationOrderModalService extends BaseModalService {
|
|
2392
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalService, never>;
|
|
2393
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationOrderModalService>;
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
declare class TicketQrService {
|
|
2397
|
+
private apiService;
|
|
2398
|
+
constructor(apiService: ApiService);
|
|
2399
|
+
fetchQrToken(ticketUuid: string): Observable<QrTokenResponse>;
|
|
2400
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrService, never>;
|
|
2401
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketQrService>;
|
|
2402
|
+
}
|
|
2403
|
+
|
|
2404
|
+
declare class TicketQrModalService {
|
|
2405
|
+
isOpen: WritableSignal<boolean>;
|
|
2406
|
+
ticketUuid: WritableSignal<string | null>;
|
|
2407
|
+
ticketDescription: WritableSignal<string | null>;
|
|
2408
|
+
open(ticketUuid: string, description?: string): void;
|
|
2409
|
+
close(): void;
|
|
2410
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrModalService, never>;
|
|
2411
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TicketQrModalService>;
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
declare class VipCardService {
|
|
2415
|
+
private apiService;
|
|
2416
|
+
constructor(apiService: ApiService);
|
|
2417
|
+
findMy(): Observable<{
|
|
2418
|
+
data: VipCard | null;
|
|
2419
|
+
}>;
|
|
2420
|
+
activate(data: any): Observable<VipOrderResponse>;
|
|
2421
|
+
recharge(data: any): Observable<VipOrderResponse>;
|
|
2422
|
+
fetchAll(params?: FetchVipCardsParams): Observable<VipCardsResponse>;
|
|
2423
|
+
fetchOneById(id: number): Observable<VipCardResponse>;
|
|
2424
|
+
activateAdmin(data: ActivateVipCardParams): Observable<VipOrderResponse>;
|
|
2425
|
+
rechargeAdmin(id: number, data: any): Observable<VipOrderResponse>;
|
|
2426
|
+
updateStatus(id: number, status: VipCardStatus): Observable<VipCardResponse>;
|
|
2427
|
+
updateTerms(id: number): Observable<VipCardResponse>;
|
|
2428
|
+
fetchTransactions(id: number, page?: number, limit?: number): Observable<VipTransactionsResponse>;
|
|
2429
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipCardService, never>;
|
|
2430
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<VipCardService>;
|
|
2431
|
+
}
|
|
2432
|
+
|
|
1375
2433
|
declare const authInterceptor: HttpInterceptorFn;
|
|
1376
2434
|
|
|
1377
2435
|
declare class AppButtonComponent {
|
|
@@ -1384,10 +2442,11 @@ declare class AppButtonComponent {
|
|
|
1384
2442
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1385
2443
|
loadingText: string;
|
|
1386
2444
|
icon: string;
|
|
2445
|
+
tooltip: string;
|
|
1387
2446
|
handleClick(): void;
|
|
1388
2447
|
get buttonClasses(): string;
|
|
1389
2448
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppButtonComponent, never>;
|
|
1390
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppButtonComponent, "app-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "text": { "alias": "text"; "required": false; }; "size": { "alias": "size"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
2449
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppButtonComponent, "app-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "type": { "alias": "type"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "text": { "alias": "text"; "required": false; }; "size": { "alias": "size"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
1391
2450
|
}
|
|
1392
2451
|
|
|
1393
2452
|
declare class AppLinkButtonComponent {
|
|
@@ -1401,9 +2460,10 @@ declare class AppLinkButtonComponent {
|
|
|
1401
2460
|
queryParams: Record<string, any>;
|
|
1402
2461
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1403
2462
|
variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
|
|
2463
|
+
tooltip: string;
|
|
1404
2464
|
get buttonClasses(): string;
|
|
1405
2465
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppLinkButtonComponent, never>;
|
|
1406
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppLinkButtonComponent, "app-link-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "target": { "alias": "target"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
|
|
2466
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppLinkButtonComponent, "app-link-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "target": { "alias": "target"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loadingText": { "alias": "loadingText"; "required": false; }; "route": { "alias": "route"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, true, never>;
|
|
1407
2467
|
}
|
|
1408
2468
|
|
|
1409
2469
|
declare class AppAlertComponent {
|
|
@@ -1416,15 +2476,29 @@ declare class AppAlertComponent {
|
|
|
1416
2476
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppAlertComponent, "app-alert", never, { "type": { "alias": "type"; "required": false; }; "text": { "alias": "text"; "required": false; }; "closeable": { "alias": "closeable"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
1417
2477
|
}
|
|
1418
2478
|
|
|
1419
|
-
declare class
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
2479
|
+
declare class FeedbackModalComponent implements OnChanges, OnDestroy {
|
|
2480
|
+
isOpen: WritableSignal<boolean>;
|
|
2481
|
+
type: FeedbackModalType;
|
|
2482
|
+
title: string;
|
|
2483
|
+
message: string;
|
|
2484
|
+
showHeader: boolean;
|
|
2485
|
+
showCloseButton: boolean;
|
|
2486
|
+
showTitle: boolean;
|
|
2487
|
+
autoClose: boolean;
|
|
2488
|
+
autoCloseDuration: number;
|
|
2489
|
+
buttonText: string;
|
|
2490
|
+
closed: EventEmitter<void>;
|
|
2491
|
+
private autoCloseTimeout;
|
|
2492
|
+
get defaultButtonText(): string;
|
|
2493
|
+
get resolvedButtonText(): string;
|
|
2494
|
+
get buttonVariant(): 'primary' | 'secondary';
|
|
2495
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2496
|
+
ngOnDestroy(): void;
|
|
1424
2497
|
closeModal(): void;
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
static
|
|
2498
|
+
private scheduleAutoClose;
|
|
2499
|
+
private clearAutoClose;
|
|
2500
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalComponent, never>;
|
|
2501
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FeedbackModalComponent, "feedback-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "message": { "alias": "message"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "autoCloseDuration": { "alias": "autoCloseDuration"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; }, { "closed": "closed"; }, never, never, true, never>;
|
|
1428
2502
|
}
|
|
1429
2503
|
|
|
1430
2504
|
declare class DeleteConfirmationComponent {
|
|
@@ -1447,12 +2521,27 @@ declare class DeleteConfirmationComponent {
|
|
|
1447
2521
|
declare class AppModalComponent {
|
|
1448
2522
|
title: string;
|
|
1449
2523
|
disableClose: boolean;
|
|
2524
|
+
showHeader: boolean;
|
|
2525
|
+
showCloseButton: boolean;
|
|
2526
|
+
showTitle: boolean;
|
|
1450
2527
|
isOpen: WritableSignal<boolean>;
|
|
1451
|
-
size:
|
|
2528
|
+
size: ModalSize;
|
|
1452
2529
|
closeModal: EventEmitter<void>;
|
|
1453
2530
|
onCloseModal(): void;
|
|
2531
|
+
onKeydownEscape(): void;
|
|
1454
2532
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppModalComponent, never>;
|
|
1455
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppModalComponent, "app-modal", never, { "title": { "alias": "title"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "closeModal": "closeModal"; }, never, ["*"], true, never>;
|
|
2533
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppModalComponent, "app-modal", never, { "title": { "alias": "title"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "closeModal": "closeModal"; }, never, ["*"], true, never>;
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2536
|
+
declare class AppBadgeComponent {
|
|
2537
|
+
text: string;
|
|
2538
|
+
color: BadgeColor;
|
|
2539
|
+
size: BadgeSize;
|
|
2540
|
+
bordered: boolean;
|
|
2541
|
+
backgroundColor: string;
|
|
2542
|
+
textColor: string;
|
|
2543
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppBadgeComponent, never>;
|
|
2544
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppBadgeComponent, "app-badge", never, { "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
1456
2545
|
}
|
|
1457
2546
|
|
|
1458
2547
|
declare class AuditInformationComponent {
|
|
@@ -1487,6 +2576,64 @@ declare class DynamicTableComponent {
|
|
|
1487
2576
|
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "dynamic-table", never, { "title": { "alias": "title"; "required": false; }; "data": { "alias": "data"; "required": false; }; "headers": { "alias": "headers"; "required": false; }; "columnComponents": { "alias": "columnComponents"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "showPagination": { "alias": "showPagination"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; }, { "pageChange": "pageChange"; "searchChange": "searchChange"; }, never, never, true, never>;
|
|
1488
2577
|
}
|
|
1489
2578
|
|
|
2579
|
+
declare class TextExpandableComponent implements OnChanges {
|
|
2580
|
+
text: string;
|
|
2581
|
+
maxLength: number;
|
|
2582
|
+
fontSize: TextFontSize;
|
|
2583
|
+
allowHtml: boolean;
|
|
2584
|
+
maxLines?: number;
|
|
2585
|
+
protected expanded: boolean;
|
|
2586
|
+
ngOnChanges(): void;
|
|
2587
|
+
get plainText(): string;
|
|
2588
|
+
get truncated(): boolean;
|
|
2589
|
+
get visibleText(): string;
|
|
2590
|
+
get lines(): number;
|
|
2591
|
+
toggleExpanded(): void;
|
|
2592
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextExpandableComponent, never>;
|
|
2593
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextExpandableComponent, "text-expandable", never, { "text": { "alias": "text"; "required": true; }; "maxLength": { "alias": "maxLength"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "allowHtml": { "alias": "allowHtml"; "required": false; }; "maxLines": { "alias": "maxLines"; "required": false; }; }, {}, never, never, true, never>;
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
declare class ShowCardComponent {
|
|
2597
|
+
show: Show;
|
|
2598
|
+
linkText: string;
|
|
2599
|
+
linkUrlFn?: (show: Show) => string;
|
|
2600
|
+
linkQueryParams?: Record<string, any>;
|
|
2601
|
+
transloco: TranslocoService;
|
|
2602
|
+
dateService: DateService;
|
|
2603
|
+
get showTypeColor(): {
|
|
2604
|
+
bg: string;
|
|
2605
|
+
text: string;
|
|
2606
|
+
};
|
|
2607
|
+
formatTimeDate(date: string): Date;
|
|
2608
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardComponent, never>;
|
|
2609
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowCardComponent, "show-card", never, { "show": { "alias": "show"; "required": true; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrlFn": { "alias": "linkUrlFn"; "required": false; }; "linkQueryParams": { "alias": "linkQueryParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
declare class ShowTypeBadgeComponent {
|
|
2613
|
+
show: Show;
|
|
2614
|
+
size: BadgeSize;
|
|
2615
|
+
transloco: TranslocoService;
|
|
2616
|
+
get showTypeColor(): {
|
|
2617
|
+
bg: string;
|
|
2618
|
+
text: string;
|
|
2619
|
+
};
|
|
2620
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowTypeBadgeComponent, never>;
|
|
2621
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowTypeBadgeComponent, "show-type-badge", never, { "show": { "alias": "show"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
declare class ShowCardSkeletonComponent {
|
|
2625
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowCardSkeletonComponent, never>;
|
|
2626
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShowCardSkeletonComponent, "show-card-skeleton", never, {}, {}, never, never, true, never>;
|
|
2627
|
+
}
|
|
2628
|
+
|
|
2629
|
+
declare class AppBreadcumbComponent {
|
|
2630
|
+
homeUrl: string | undefined;
|
|
2631
|
+
steps: BreadcrumbStep[];
|
|
2632
|
+
theme: BreadcrumbTheme;
|
|
2633
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppBreadcumbComponent, never>;
|
|
2634
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppBreadcumbComponent, "app-breadcrumb", never, { "homeUrl": { "alias": "homeUrl"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, never, never, true, never>;
|
|
2635
|
+
}
|
|
2636
|
+
|
|
1490
2637
|
declare class LanguageSwitcherComponent {
|
|
1491
2638
|
protected transloco: TranslocoService;
|
|
1492
2639
|
availableLangs: string[];
|
|
@@ -1507,7 +2654,9 @@ declare class FormInputComponent implements ControlValueAccessor {
|
|
|
1507
2654
|
placeholder: string;
|
|
1508
2655
|
required: boolean;
|
|
1509
2656
|
readonly: boolean;
|
|
2657
|
+
maxlength: number | null;
|
|
1510
2658
|
minlength: number | null;
|
|
2659
|
+
max: number | null;
|
|
1511
2660
|
min: number | null;
|
|
1512
2661
|
step: number | null;
|
|
1513
2662
|
pattern: string | null;
|
|
@@ -1529,12 +2678,12 @@ declare class FormInputComponent implements ControlValueAccessor {
|
|
|
1529
2678
|
get inputClasses(): string;
|
|
1530
2679
|
get fieldGroupClasses(): string;
|
|
1531
2680
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, [{ optional: true; self: true; }, null]>;
|
|
1532
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "form-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, true, never>;
|
|
2681
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "form-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, never, true, never>;
|
|
1533
2682
|
}
|
|
1534
2683
|
|
|
1535
2684
|
declare class FormSelectComponent implements ControlValueAccessor {
|
|
1536
2685
|
ngControl: NgControl;
|
|
1537
|
-
|
|
2686
|
+
protected transloco: TranslocoService;
|
|
1538
2687
|
label: string;
|
|
1539
2688
|
name: string;
|
|
1540
2689
|
id: string;
|
|
@@ -1558,7 +2707,6 @@ declare class FormSelectComponent implements ControlValueAccessor {
|
|
|
1558
2707
|
get inputId(): string;
|
|
1559
2708
|
get showError(): boolean;
|
|
1560
2709
|
get errorMessage(): string;
|
|
1561
|
-
get resolvedDefaultOptionLabel(): string;
|
|
1562
2710
|
get fieldGroupClasses(): string;
|
|
1563
2711
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, [{ optional: true; self: true; }, null]>;
|
|
1564
2712
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormSelectComponent, "form-select", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "options": { "alias": "options"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "showDefaultOption": { "alias": "showDefaultOption"; "required": false; }; "defaultOptionLabel": { "alias": "defaultOptionLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1596,6 +2744,49 @@ declare class FormTextareaComponent implements ControlValueAccessor {
|
|
|
1596
2744
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormTextareaComponent, "form-textarea", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
1597
2745
|
}
|
|
1598
2746
|
|
|
2747
|
+
declare class NumberInputComponent implements ControlValueAccessor, Validator, OnChanges {
|
|
2748
|
+
transloco: TranslocoService;
|
|
2749
|
+
private injector;
|
|
2750
|
+
label: string;
|
|
2751
|
+
name: string;
|
|
2752
|
+
id: string;
|
|
2753
|
+
placeholder: string;
|
|
2754
|
+
required: boolean;
|
|
2755
|
+
readonly: boolean;
|
|
2756
|
+
min: number | null;
|
|
2757
|
+
max: number | null;
|
|
2758
|
+
step: number;
|
|
2759
|
+
fieldGroupClass: string;
|
|
2760
|
+
value: number | null;
|
|
2761
|
+
disabled: boolean;
|
|
2762
|
+
onChange: any;
|
|
2763
|
+
onTouched: any;
|
|
2764
|
+
private _ngControl;
|
|
2765
|
+
constructor(transloco: TranslocoService, injector: Injector);
|
|
2766
|
+
get ngControl(): NgControl | null;
|
|
2767
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2768
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
2769
|
+
writeValue(value: any): void;
|
|
2770
|
+
registerOnChange(fn: any): void;
|
|
2771
|
+
registerOnTouched(fn: any): void;
|
|
2772
|
+
setDisabledState(isDisabled: boolean): void;
|
|
2773
|
+
onInput(value: any): void;
|
|
2774
|
+
increment(): void;
|
|
2775
|
+
decrement(): void;
|
|
2776
|
+
get canIncrement(): boolean;
|
|
2777
|
+
get canDecrement(): boolean;
|
|
2778
|
+
get inputId(): string;
|
|
2779
|
+
get showError(): boolean;
|
|
2780
|
+
get errorMessage(): string;
|
|
2781
|
+
get fieldGroupClasses(): string;
|
|
2782
|
+
private clamp;
|
|
2783
|
+
private round;
|
|
2784
|
+
private minValidator;
|
|
2785
|
+
private maxValidator;
|
|
2786
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputComponent, never>;
|
|
2787
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberInputComponent, "number-input", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "step": { "alias": "step"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
2788
|
+
}
|
|
2789
|
+
|
|
1599
2790
|
declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDestroy {
|
|
1600
2791
|
ngControl: NgControl;
|
|
1601
2792
|
private transloco;
|
|
@@ -1613,7 +2804,8 @@ declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDes
|
|
|
1613
2804
|
onChange: any;
|
|
1614
2805
|
onTouched: any;
|
|
1615
2806
|
private subscription;
|
|
1616
|
-
|
|
2807
|
+
isBrowser: boolean;
|
|
2808
|
+
constructor(ngControl: NgControl, transloco: TranslocoService, platformId: object);
|
|
1617
2809
|
ngOnInit(): void;
|
|
1618
2810
|
ngOnDestroy(): void;
|
|
1619
2811
|
writeValue(value: any): void;
|
|
@@ -1624,7 +2816,7 @@ declare class FormEditorComponent implements ControlValueAccessor, OnInit, OnDes
|
|
|
1624
2816
|
get showError(): boolean;
|
|
1625
2817
|
get errorMessage(): string;
|
|
1626
2818
|
get fieldGroupClasses(): string;
|
|
1627
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormEditorComponent, [{ optional: true; self: true; }, null]>;
|
|
2819
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormEditorComponent, [{ optional: true; self: true; }, null, null]>;
|
|
1628
2820
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormEditorComponent, "form-editor", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
1629
2821
|
}
|
|
1630
2822
|
|
|
@@ -1808,6 +3000,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1808
3000
|
notFoundText: string;
|
|
1809
3001
|
bindLabel: string;
|
|
1810
3002
|
bindValue: string;
|
|
3003
|
+
disabled: boolean;
|
|
1811
3004
|
value: any;
|
|
1812
3005
|
onChange: any;
|
|
1813
3006
|
onTouched: any;
|
|
@@ -1837,7 +3030,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1837
3030
|
registerOnTouched(fn: any): void;
|
|
1838
3031
|
setDisabledState(isDisabled: boolean): void;
|
|
1839
3032
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncSelectComponent, never>;
|
|
1840
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AsyncSelectComponent, "async-select", never, { "config": { "alias": "config"; "required": false; }; "items": { "alias": "items"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
3033
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AsyncSelectComponent, "async-select", never, { "config": { "alias": "config"; "required": false; }; "items": { "alias": "items"; "required": false; }; "parentId": { "alias": "parentId"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "notFoundText": { "alias": "notFoundText"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
1841
3034
|
}
|
|
1842
3035
|
|
|
1843
3036
|
declare class ChangePasswordFormComponent {
|
|
@@ -2274,6 +3467,28 @@ declare class PriceZoneSelectComponent implements OnInit, OnDestroy, ControlValu
|
|
|
2274
3467
|
static ɵcmp: i0.ɵɵComponentDeclaration<PriceZoneSelectComponent, "price-zone-select", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, { "priceZoneChange": "priceZoneChange"; }, never, never, true, never>;
|
|
2275
3468
|
}
|
|
2276
3469
|
|
|
3470
|
+
declare class PerformanceTicketStatusBadgeComponent {
|
|
3471
|
+
ticket: PerformanceTicket;
|
|
3472
|
+
size: BadgeSize;
|
|
3473
|
+
protected get statusColors(): {
|
|
3474
|
+
text: string;
|
|
3475
|
+
bg: string;
|
|
3476
|
+
};
|
|
3477
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceTicketStatusBadgeComponent, never>;
|
|
3478
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceTicketStatusBadgeComponent, "performance-ticket-status-badge", never, { "ticket": { "alias": "ticket"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3481
|
+
declare class PerformanceStatusBadgeComponent {
|
|
3482
|
+
performance: Performance;
|
|
3483
|
+
size: BadgeSize;
|
|
3484
|
+
protected get statusColors(): {
|
|
3485
|
+
text: string;
|
|
3486
|
+
bg: string;
|
|
3487
|
+
};
|
|
3488
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceStatusBadgeComponent, never>;
|
|
3489
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceStatusBadgeComponent, "performance-status-badge", never, { "performance": { "alias": "performance"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3490
|
+
}
|
|
3491
|
+
|
|
2277
3492
|
declare class DaySelectorGridComponent {
|
|
2278
3493
|
private platformId;
|
|
2279
3494
|
protected performanceService: PerformanceService;
|
|
@@ -2295,11 +3510,15 @@ declare class DaySelectorGridComponent {
|
|
|
2295
3510
|
declare class PerformanceCardComponent {
|
|
2296
3511
|
protected listEventService: PerformancesListEventsService;
|
|
2297
3512
|
card: DailyPerformanceItem;
|
|
3513
|
+
linkText: string;
|
|
3514
|
+
linkUrlFn?: (card: DailyPerformanceItem) => string;
|
|
3515
|
+
linkQueryParams?: Record<string, any>;
|
|
2298
3516
|
constructor(listEventService: PerformancesListEventsService);
|
|
3517
|
+
get badgeColor(): 'success' | 'error';
|
|
2299
3518
|
onSelect(): void;
|
|
2300
3519
|
isSelected(): boolean;
|
|
2301
3520
|
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardComponent, never>;
|
|
2302
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
|
|
3521
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardComponent, "performance-card", never, { "card": { "alias": "card"; "required": true; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrlFn": { "alias": "linkUrlFn"; "required": false; }; "linkQueryParams": { "alias": "linkQueryParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
2303
3522
|
}
|
|
2304
3523
|
|
|
2305
3524
|
declare class PerformanceCardListComponent {
|
|
@@ -2307,6 +3526,9 @@ declare class PerformanceCardListComponent {
|
|
|
2307
3526
|
protected performanceService: PerformanceService;
|
|
2308
3527
|
protected listEventService: PerformancesListEventsService;
|
|
2309
3528
|
protected toastService: ToastService;
|
|
3529
|
+
linkText: string;
|
|
3530
|
+
linkUrlFn?: (card: DailyPerformanceItem) => string;
|
|
3531
|
+
linkQueryParams?: Record<string, any>;
|
|
2310
3532
|
loadingData: WritableSignal<boolean>;
|
|
2311
3533
|
performances: WritableSignal<DailyPerformanceItem[]>;
|
|
2312
3534
|
constructor(platformId: object, performanceService: PerformanceService, listEventService: PerformancesListEventsService, toastService: ToastService);
|
|
@@ -2314,7 +3536,7 @@ declare class PerformanceCardListComponent {
|
|
|
2314
3536
|
private loadData;
|
|
2315
3537
|
get selectedDayDate(): string | null;
|
|
2316
3538
|
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceCardListComponent, never>;
|
|
2317
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, {}, {}, never, never, true, never>;
|
|
3539
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceCardListComponent, "performance-card-list", never, { "linkText": { "alias": "linkText"; "required": false; }; "linkUrlFn": { "alias": "linkUrlFn"; "required": false; }; "linkQueryParams": { "alias": "linkQueryParams"; "required": false; }; }, {}, never, never, true, never>;
|
|
2318
3540
|
}
|
|
2319
3541
|
|
|
2320
3542
|
declare class PerformanceStepperComponent {
|
|
@@ -2343,9 +3565,9 @@ declare class ShowsFilterComponent {
|
|
|
2343
3565
|
}
|
|
2344
3566
|
|
|
2345
3567
|
interface PriceZoneItem {
|
|
2346
|
-
|
|
3568
|
+
color: string;
|
|
2347
3569
|
name: string;
|
|
2348
|
-
|
|
3570
|
+
available_seats: number;
|
|
2349
3571
|
price: string;
|
|
2350
3572
|
}
|
|
2351
3573
|
|
|
@@ -2361,5 +3583,371 @@ declare class ZonePriceListComponent {
|
|
|
2361
3583
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
|
|
2362
3584
|
}
|
|
2363
3585
|
|
|
2364
|
-
|
|
2365
|
-
|
|
3586
|
+
declare class TicketMapWidgetComponent {
|
|
3587
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetComponent, never>;
|
|
3588
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetComponent, "ticket-map-widget", never, {}, {}, never, ["*"], true, never>;
|
|
3589
|
+
}
|
|
3590
|
+
|
|
3591
|
+
declare class TicketMapWidgetHeaderComponent {
|
|
3592
|
+
title: string;
|
|
3593
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWidgetHeaderComponent, never>;
|
|
3594
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWidgetHeaderComponent, "ticket-map-widget-header", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
declare class TicketMapZoomControlsComponent {
|
|
3598
|
+
private zoomService;
|
|
3599
|
+
readonly currentZoom: i0.Signal<number>;
|
|
3600
|
+
readonly zoomPercentage: i0.Signal<string>;
|
|
3601
|
+
constructor(zoomService: TicketMapZoomService);
|
|
3602
|
+
zoomIn(): void;
|
|
3603
|
+
zoomOut(): void;
|
|
3604
|
+
resetZoom(): void;
|
|
3605
|
+
fitToContainer(): void;
|
|
3606
|
+
handleZoomAction(action: string): void;
|
|
3607
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapZoomControlsComponent, never>;
|
|
3608
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapZoomControlsComponent, "ticket-map-zoom-controls", never, {}, {}, never, never, true, never>;
|
|
3609
|
+
}
|
|
3610
|
+
|
|
3611
|
+
declare class PerformanceTicketMapComponent implements OnDestroy, AfterViewInit {
|
|
3612
|
+
private platformId;
|
|
3613
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3614
|
+
protected feedbackModalService: FeedbackModalService;
|
|
3615
|
+
protected selectionService: TicketSelectionService;
|
|
3616
|
+
protected zoomService: TicketMapZoomService;
|
|
3617
|
+
selectionChange: EventEmitter<PerformanceTicket[]>;
|
|
3618
|
+
needsLoginError: EventEmitter<any>;
|
|
3619
|
+
readOnly: boolean;
|
|
3620
|
+
needsLogin: boolean;
|
|
3621
|
+
isLoggedIn: boolean;
|
|
3622
|
+
stageComponent?: StageComponent;
|
|
3623
|
+
protected tooltipData: i0.WritableSignal<TicketMapTooltipData | null>;
|
|
3624
|
+
private stageReady;
|
|
3625
|
+
private autoFitDone;
|
|
3626
|
+
private resizeObserver?;
|
|
3627
|
+
constructor(platformId: object, bookingDataService: PerformanceBookingDataService, feedbackModalService: FeedbackModalService, selectionService: TicketSelectionService, zoomService: TicketMapZoomService);
|
|
3628
|
+
protected get isBrowser(): boolean;
|
|
3629
|
+
ngAfterViewInit(): void;
|
|
3630
|
+
private setupResizeObserver;
|
|
3631
|
+
private syncStageToContainer;
|
|
3632
|
+
ngOnDestroy(): void;
|
|
3633
|
+
private getInternalPointer;
|
|
3634
|
+
protected selectHallFloor(floorId: number): void;
|
|
3635
|
+
protected handleStageClick(konvaEvent: any): void;
|
|
3636
|
+
protected handleStageMouseMove(konvaEvent: any): void;
|
|
3637
|
+
protected handleStageMouseLeave(): void;
|
|
3638
|
+
protected handleWheel(konvaEvent: any): void;
|
|
3639
|
+
protected trackByElementId(_index: number, item: ElementRenderData): number;
|
|
3640
|
+
protected trackByFloorId(_index: number, floor: HallFloorOption): HallFloorOption;
|
|
3641
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PerformanceTicketMapComponent, never>;
|
|
3642
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PerformanceTicketMapComponent, "performance-ticket-map", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "needsLogin": { "alias": "needsLogin"; "required": false; }; "isLoggedIn": { "alias": "isLoggedIn"; "required": false; }; }, { "selectionChange": "selectionChange"; "needsLoginError": "needsLoginError"; }, never, never, true, never>;
|
|
3643
|
+
}
|
|
3644
|
+
|
|
3645
|
+
declare class TicketMapPriceZonesComponent {
|
|
3646
|
+
title: string;
|
|
3647
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3648
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapPriceZonesComponent, never>;
|
|
3649
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapPriceZonesComponent, "ticket-map-price-zones", never, { "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
3650
|
+
}
|
|
3651
|
+
|
|
3652
|
+
declare class TicketMapProductSelectionItemComponent {
|
|
3653
|
+
protected selectionService: TicketSelectionService;
|
|
3654
|
+
product: Product;
|
|
3655
|
+
constructor(selectionService: TicketSelectionService);
|
|
3656
|
+
get quantity(): number;
|
|
3657
|
+
get firstImage(): string | undefined;
|
|
3658
|
+
increment(): void;
|
|
3659
|
+
decrement(): void;
|
|
3660
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapProductSelectionItemComponent, never>;
|
|
3661
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapProductSelectionItemComponent, "ticket-map-product-selection-item", never, { "product": { "alias": "product"; "required": true; }; }, {}, never, never, true, never>;
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3664
|
+
declare class TIcketMapProductSelectionComponent {
|
|
3665
|
+
private bookingDataService;
|
|
3666
|
+
readonly products: i0.Signal<tickera_angular_components.Product[]>;
|
|
3667
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TIcketMapProductSelectionComponent, never>;
|
|
3668
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TIcketMapProductSelectionComponent, "ticket-map-product-selection", never, {}, {}, never, never, true, never>;
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
declare class TicketMapTotalsComponent {
|
|
3672
|
+
protected bookingDataService: PerformanceBookingDataService;
|
|
3673
|
+
protected selectionDetailsService: TicketSelectionDetailsService;
|
|
3674
|
+
protected selectionDiscountService: TicketSelectionDiscountService;
|
|
3675
|
+
protected selectionTotalsService: TicketSelectionTotalsService;
|
|
3676
|
+
protected selectionService: TicketSelectionService;
|
|
3677
|
+
private activatedRoute;
|
|
3678
|
+
title: string;
|
|
3679
|
+
buttonText: string;
|
|
3680
|
+
loadingButtonText: string;
|
|
3681
|
+
isLoading: boolean;
|
|
3682
|
+
onPurchaseClick: EventEmitter<void>;
|
|
3683
|
+
constructor(bookingDataService: PerformanceBookingDataService, selectionDetailsService: TicketSelectionDetailsService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, activatedRoute: ActivatedRoute);
|
|
3684
|
+
get serviceFee(): number;
|
|
3685
|
+
get performanceId(): number;
|
|
3686
|
+
get selectedTicketIds(): number[];
|
|
3687
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapTotalsComponent, never>;
|
|
3688
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapTotalsComponent, "ticket-map-totals", never, { "title": { "alias": "title"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "loadingButtonText": { "alias": "loadingButtonText"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; }, { "onPurchaseClick": "onPurchaseClick"; }, never, never, true, never>;
|
|
3689
|
+
}
|
|
3690
|
+
|
|
3691
|
+
declare class TicketMapWrapperComponent {
|
|
3692
|
+
selectionChange: EventEmitter<PerformanceTicket[]>;
|
|
3693
|
+
needsLoginError: EventEmitter<any>;
|
|
3694
|
+
readOnly: boolean;
|
|
3695
|
+
needsLogin: boolean;
|
|
3696
|
+
isLoggedIn: boolean;
|
|
3697
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketMapWrapperComponent, never>;
|
|
3698
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketMapWrapperComponent, "ticket-map-wrapper", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "needsLogin": { "alias": "needsLogin"; "required": false; }; "isLoggedIn": { "alias": "isLoggedIn"; "required": false; }; }, { "selectionChange": "selectionChange"; "needsLoginError": "needsLoginError"; }, never, never, true, never>;
|
|
3699
|
+
}
|
|
3700
|
+
|
|
3701
|
+
declare class SeatSelectionEmptySummaryComponent {
|
|
3702
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionEmptySummaryComponent, never>;
|
|
3703
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionEmptySummaryComponent, "seat-selection-empty-summary", never, {}, {}, never, never, true, never>;
|
|
3704
|
+
}
|
|
3705
|
+
|
|
3706
|
+
declare class SeatSelectionSummaryComponent {
|
|
3707
|
+
protected selectionService: TicketSelectionService;
|
|
3708
|
+
title: string;
|
|
3709
|
+
clearButtonText: string;
|
|
3710
|
+
constructor(selectionService: TicketSelectionService);
|
|
3711
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryComponent, never>;
|
|
3712
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryComponent, "seat-selection-summary", never, { "title": { "alias": "title"; "required": false; }; "clearButtonText": { "alias": "clearButtonText"; "required": false; }; }, {}, never, never, true, never>;
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3715
|
+
declare class SeatSelectionSummaryItemComponent {
|
|
3716
|
+
protected selectionService: TicketSelectionService;
|
|
3717
|
+
item: PerformanceTicket;
|
|
3718
|
+
constructor(selectionService: TicketSelectionService);
|
|
3719
|
+
getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
3720
|
+
removeItem(ticket: PerformanceTicket): void;
|
|
3721
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeatSelectionSummaryItemComponent, never>;
|
|
3722
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeatSelectionSummaryItemComponent, "seat-selection-summary-item", never, { "item": { "alias": "item"; "required": true; }; }, {}, never, never, true, never>;
|
|
3723
|
+
}
|
|
3724
|
+
|
|
3725
|
+
declare class ConfirmationOrderModalComponent {
|
|
3726
|
+
private confirmationOrderModalService;
|
|
3727
|
+
private selectionDiscountService;
|
|
3728
|
+
private selectionTotalsService;
|
|
3729
|
+
private selectionService;
|
|
3730
|
+
private bookingDataService;
|
|
3731
|
+
modalTitle: string;
|
|
3732
|
+
confirmButtonText: string;
|
|
3733
|
+
confirmButtonTextLoading: string;
|
|
3734
|
+
loading: boolean;
|
|
3735
|
+
onConfirm: EventEmitter<any>;
|
|
3736
|
+
constructor(confirmationOrderModalService: ConfirmationOrderModalService, selectionDiscountService: TicketSelectionDiscountService, selectionTotalsService: TicketSelectionTotalsService, selectionService: TicketSelectionService, bookingDataService: PerformanceBookingDataService);
|
|
3737
|
+
get isOpen(): i0.WritableSignal<boolean>;
|
|
3738
|
+
get selectedCount(): number;
|
|
3739
|
+
get serviceFee(): number;
|
|
3740
|
+
get subtotalValue(): number;
|
|
3741
|
+
get ticketSubtotal(): number;
|
|
3742
|
+
get productSubtotal(): number;
|
|
3743
|
+
get productCount(): number;
|
|
3744
|
+
get totalValue(): number;
|
|
3745
|
+
get totalDiscounted(): number | null;
|
|
3746
|
+
get coupon(): tickera_angular_components.Coupon | null;
|
|
3747
|
+
get corporateBond(): tickera_angular_components.CorporateBond | null;
|
|
3748
|
+
get giftBond(): tickera_angular_components.GiftBondPurchase | null;
|
|
3749
|
+
onClose(): void;
|
|
3750
|
+
confirmOrder(): void;
|
|
3751
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationOrderModalComponent, never>;
|
|
3752
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationOrderModalComponent, "confirmation-order-modal", never, { "modalTitle": { "alias": "modalTitle"; "required": false; }; "confirmButtonText": { "alias": "confirmButtonText"; "required": false; }; "confirmButtonTextLoading": { "alias": "confirmButtonTextLoading"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "onConfirm": "onConfirm"; }, never, never, true, never>;
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3755
|
+
declare class OrderInformationComponent {
|
|
3756
|
+
readonly transloco: TranslocoService;
|
|
3757
|
+
private readonly toastService;
|
|
3758
|
+
order: Order;
|
|
3759
|
+
showPayButton: boolean;
|
|
3760
|
+
createMpPreference?: (order: Order) => Observable<MercadoPagoPreference>;
|
|
3761
|
+
paymentLinkCreated: EventEmitter<MercadoPagoPreference>;
|
|
3762
|
+
isLoading: boolean;
|
|
3763
|
+
constructor(transloco: TranslocoService, toastService: ToastService);
|
|
3764
|
+
get showMpButton(): boolean;
|
|
3765
|
+
payWithMercadoPago(): void;
|
|
3766
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderInformationComponent, never>;
|
|
3767
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderInformationComponent, "order-information", never, { "order": { "alias": "order"; "required": true; }; "showPayButton": { "alias": "showPayButton"; "required": false; }; "createMpPreference": { "alias": "createMpPreference"; "required": false; }; }, { "paymentLinkCreated": "paymentLinkCreated"; }, never, never, true, never>;
|
|
3768
|
+
}
|
|
3769
|
+
|
|
3770
|
+
declare class OrderStatusBadgeComponent {
|
|
3771
|
+
protected transloco: TranslocoService;
|
|
3772
|
+
order: Order | RecentOrder;
|
|
3773
|
+
size: BadgeSize;
|
|
3774
|
+
constructor(transloco: TranslocoService);
|
|
3775
|
+
protected get statusColors(): {
|
|
3776
|
+
text: string;
|
|
3777
|
+
bg: string;
|
|
3778
|
+
};
|
|
3779
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderStatusBadgeComponent, never>;
|
|
3780
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderStatusBadgeComponent, "order-status-badge", never, { "order": { "alias": "order"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3783
|
+
declare class OrderItemTypeBadgeComponent {
|
|
3784
|
+
protected transloco: TranslocoService;
|
|
3785
|
+
item: OrderItem;
|
|
3786
|
+
size: BadgeSize;
|
|
3787
|
+
constructor(transloco: TranslocoService);
|
|
3788
|
+
protected get statusColors(): {
|
|
3789
|
+
text: string;
|
|
3790
|
+
bg: string;
|
|
3791
|
+
};
|
|
3792
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderItemTypeBadgeComponent, never>;
|
|
3793
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderItemTypeBadgeComponent, "order-item-type-badge", never, { "item": { "alias": "item"; "required": true; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
3794
|
+
}
|
|
3795
|
+
|
|
3796
|
+
declare class OrderItemsComponent {
|
|
3797
|
+
private ticketQrModalService;
|
|
3798
|
+
order: Order;
|
|
3799
|
+
constructor(ticketQrModalService: TicketQrModalService);
|
|
3800
|
+
protected get orderItems(): Order['order_items'];
|
|
3801
|
+
protected get products(): Order['order_items'];
|
|
3802
|
+
protected get tickets(): Order['order_items'];
|
|
3803
|
+
protected get giftBonds(): Order['order_items'];
|
|
3804
|
+
protected get corporateBonds(): Order['order_items'];
|
|
3805
|
+
protected get showActionColumn(): boolean;
|
|
3806
|
+
protected itemTotal(quantity: number, price: number): number;
|
|
3807
|
+
protected hasDiscount(): boolean;
|
|
3808
|
+
protected get totals(): {
|
|
3809
|
+
giftBonds: number;
|
|
3810
|
+
corporateBonds: number;
|
|
3811
|
+
products: number;
|
|
3812
|
+
tickets: number;
|
|
3813
|
+
};
|
|
3814
|
+
openTicketQr(ticketUuid: string, description: string): void;
|
|
3815
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderItemsComponent, never>;
|
|
3816
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderItemsComponent, "order-items", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
declare class OrderDiscountAppliedComponent {
|
|
3820
|
+
order: Order;
|
|
3821
|
+
protected get discountInfo(): OrderDiscountInfo;
|
|
3822
|
+
protected get hasDiscount(): boolean;
|
|
3823
|
+
protected get discountPct(): number | null;
|
|
3824
|
+
protected get badgeColors(): {
|
|
3825
|
+
text: string;
|
|
3826
|
+
bg: string;
|
|
3827
|
+
};
|
|
3828
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDiscountAppliedComponent, never>;
|
|
3829
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDiscountAppliedComponent, "order-discount-applied", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3830
|
+
}
|
|
3831
|
+
|
|
3832
|
+
interface BillingField {
|
|
3833
|
+
label: string;
|
|
3834
|
+
value: string | number | null;
|
|
3835
|
+
}
|
|
3836
|
+
declare class OrderBillingInfoComponent {
|
|
3837
|
+
order: Order;
|
|
3838
|
+
protected get fields(): BillingField[];
|
|
3839
|
+
protected get hasFields(): boolean;
|
|
3840
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderBillingInfoComponent, never>;
|
|
3841
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderBillingInfoComponent, "order-billing-info", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3842
|
+
}
|
|
3843
|
+
|
|
3844
|
+
declare class OrderTransactionsComponent {
|
|
3845
|
+
private transactionDetailsModalService;
|
|
3846
|
+
order: Order;
|
|
3847
|
+
constructor(transactionDetailsModalService: OrderTransactionDetailsModalService);
|
|
3848
|
+
protected get transactions(): Transaction[];
|
|
3849
|
+
protected get hasTransactions(): boolean;
|
|
3850
|
+
protected get txColors(): Record<string, {
|
|
3851
|
+
text: string;
|
|
3852
|
+
bg: string;
|
|
3853
|
+
}>;
|
|
3854
|
+
protected openTransaction(transaction: Transaction): void;
|
|
3855
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionsComponent, never>;
|
|
3856
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderTransactionsComponent, "order-transactions", never, { "order": { "alias": "order"; "required": true; }; }, {}, never, never, true, never>;
|
|
3857
|
+
}
|
|
3858
|
+
|
|
3859
|
+
declare class OrderTransactionDetailsModalComponent {
|
|
3860
|
+
private modalService;
|
|
3861
|
+
isOpen: WritableSignal<boolean> | null;
|
|
3862
|
+
transaction: Transaction | null;
|
|
3863
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
3864
|
+
get selectedTransaction(): WritableSignal<Transaction | null>;
|
|
3865
|
+
protected get txColors(): Record<TransactionStatus, {
|
|
3866
|
+
text: string;
|
|
3867
|
+
bg: string;
|
|
3868
|
+
}>;
|
|
3869
|
+
protected get gatewayResponse(): string;
|
|
3870
|
+
onClose(): void;
|
|
3871
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTransactionDetailsModalComponent, never>;
|
|
3872
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderTransactionDetailsModalComponent, "order-transaction-details-modal", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "transaction": { "alias": "transaction"; "required": false; }; }, {}, never, never, true, never>;
|
|
3873
|
+
}
|
|
3874
|
+
|
|
3875
|
+
declare class TicketQrComponent implements OnInit, OnDestroy {
|
|
3876
|
+
private ticketQrService;
|
|
3877
|
+
ticketUuid: string;
|
|
3878
|
+
qrCanvas: ElementRef<HTMLCanvasElement>;
|
|
3879
|
+
loading: i0.WritableSignal<boolean>;
|
|
3880
|
+
error: i0.WritableSignal<boolean>;
|
|
3881
|
+
refreshing: i0.WritableSignal<boolean>;
|
|
3882
|
+
countdown: i0.WritableSignal<number>;
|
|
3883
|
+
private destroy$;
|
|
3884
|
+
private refreshTimeout;
|
|
3885
|
+
private countdownInterval;
|
|
3886
|
+
constructor(ticketQrService: TicketQrService);
|
|
3887
|
+
ngOnInit(): void;
|
|
3888
|
+
ngOnDestroy(): void;
|
|
3889
|
+
retry(): void;
|
|
3890
|
+
private clearTimers;
|
|
3891
|
+
private fetchAndRender;
|
|
3892
|
+
private scheduleRefresh;
|
|
3893
|
+
private startCountdown;
|
|
3894
|
+
private renderQr;
|
|
3895
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrComponent, never>;
|
|
3896
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketQrComponent, "performance-ticket-qr", never, { "ticketUuid": { "alias": "ticketUuid"; "required": true; }; }, {}, never, never, true, never>;
|
|
3897
|
+
}
|
|
3898
|
+
|
|
3899
|
+
declare class TicketQrModalComponent {
|
|
3900
|
+
private ticketQrModalService;
|
|
3901
|
+
constructor(ticketQrModalService: TicketQrModalService);
|
|
3902
|
+
get isOpen(): i0.WritableSignal<boolean>;
|
|
3903
|
+
get ticketUuid(): i0.WritableSignal<string | null>;
|
|
3904
|
+
get ticketDescription(): i0.WritableSignal<string | null>;
|
|
3905
|
+
onClose(): void;
|
|
3906
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TicketQrModalComponent, never>;
|
|
3907
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TicketQrModalComponent, "ticket-qr-modal", never, {}, {}, never, never, true, never>;
|
|
3908
|
+
}
|
|
3909
|
+
|
|
3910
|
+
declare class VipBalanceCardComponent {
|
|
3911
|
+
card: VipCard | null;
|
|
3912
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipBalanceCardComponent, never>;
|
|
3913
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipBalanceCardComponent, "vip-balance-card", never, { "card": { "alias": "card"; "required": false; }; }, {}, never, never, true, never>;
|
|
3914
|
+
}
|
|
3915
|
+
|
|
3916
|
+
declare class VipCardStatusBadgeComponent {
|
|
3917
|
+
protected readonly tranloco: TranslocoService;
|
|
3918
|
+
card: VipCard;
|
|
3919
|
+
get statusColor(): BadgeColor;
|
|
3920
|
+
get statusTranslationKey(): string;
|
|
3921
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipCardStatusBadgeComponent, never>;
|
|
3922
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipCardStatusBadgeComponent, "vip-card-status-badge", never, { "card": { "alias": "card"; "required": true; }; }, {}, never, never, true, never>;
|
|
3923
|
+
}
|
|
3924
|
+
|
|
3925
|
+
declare class VipRechargeModalComponent {
|
|
3926
|
+
private fb;
|
|
3927
|
+
title: string;
|
|
3928
|
+
submitLabel: string;
|
|
3929
|
+
loading: boolean;
|
|
3930
|
+
minAmount: number;
|
|
3931
|
+
isOpen: WritableSignal<boolean>;
|
|
3932
|
+
closeModal: EventEmitter<void>;
|
|
3933
|
+
confirm: EventEmitter<{
|
|
3934
|
+
amount: number;
|
|
3935
|
+
}>;
|
|
3936
|
+
rechargeForm: FormGroup;
|
|
3937
|
+
constructor(fb: FormBuilder);
|
|
3938
|
+
onClose(): void;
|
|
3939
|
+
onSubmit(): void;
|
|
3940
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipRechargeModalComponent, never>;
|
|
3941
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipRechargeModalComponent, "vip-recharge-modal", never, { "title": { "alias": "title"; "required": false; }; "submitLabel": { "alias": "submitLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "minAmount": { "alias": "minAmount"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "closeModal": "closeModal"; "confirm": "confirm"; }, never, never, true, never>;
|
|
3942
|
+
}
|
|
3943
|
+
|
|
3944
|
+
declare class VipTransactionsTableComponent {
|
|
3945
|
+
transactions: VipTransaction[];
|
|
3946
|
+
loading: boolean;
|
|
3947
|
+
typeLabel(type: VipTransactionType): string;
|
|
3948
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VipTransactionsTableComponent, never>;
|
|
3949
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VipTransactionsTableComponent, "vip-transactions-table", never, { "transactions": { "alias": "transactions"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
|
|
3950
|
+
}
|
|
3951
|
+
|
|
3952
|
+
export { ADMIN_API_ROUTES, ALERT_ICONS, AdminSelectComponent, AdminService, ApiService, AppAlertComponent, AppBadgeComponent, AppBreadcumbComponent, AppButtonComponent, AppLinkButtonComponent, AppModalComponent, AsyncSelectComponent, AuditInformationComponent, BASE_BUTTON_CLASSES, BASE_INPUT_CLASSES, BUTTON_SIZES_CLASSES, BUTTON_VARIANT_CLASSES, BaseModalService, CITY_API_ENDPOINTS, COUNTRY_API_ENDPOINTS, CUSTOMERS_API_ROUTES, ChangePasswordFormComponent, ChangePasswordFormService, CitiesService, CitySelectComponent, ColorPickerComponent, ConfirmationOrderModalComponent, ConfirmationOrderModalService, CorporateBondStatus, CountrySelectComponent, CountryService, CouponApplicability, CouponDiscountType, CouponStatus, CreatorType, CustomerSelectComponent, CustomerService, DEFAULT_STAGE_CONFIG, DOCUMENT_TYPES_OPTIONS, DateInputComponent, DateService, DaySelectorGridComponent, DeleteConfirmationComponent, DeleteConfirmationService, DynamicTableComponent, ERROR_INPUT_CLASSES, EndDateGreaterThanStartValidator, FORM_ERROR_MESSAGES, FeedbackModalComponent, FeedbackModalService, FileType, FileUploadComponent, FileUploadPreviewComponent, FormEditorComponent, FormInputComponent, FormSelectComponent, FormTextareaComponent, GiftBondPurchaseStatus, GiftBondStatus, KONVA_SHAPE_MAPPINGS, LanguageSwitcherComponent, MembershipStatus, MinTodayValidator, MustMatchValidator, NumberInputComponent, ORDER_DISCOUNT_COLORS, ORDER_ITEM_TYPES_COLORS, ORDER_STATUS_COLORS, OrderBillingInfoComponent, OrderDiscountAppliedComponent, OrderInformationComponent, OrderItemType, OrderItemTypeBadgeComponent, OrderItemsComponent, OrderStatus, OrderStatusBadgeComponent, OrderTransactionDetailsModalComponent, OrderTransactionDetailsModalService, OrderTransactionsComponent, PAYMENT_METHODS_OPTIONS, PERFORMANCES_API_ROUTES, PERFORMANCE_STATUS_COLORS, PERFORMANCE_TICKET_STATUS_COLORS, PRICE_ZONES_API_ROUTES, PRODUCTS_API_ROUTES, PRODUCT_CATEGORIES_API_ROUTES, PRODUCT_TAGS_API_ROUTES, PRODUCT_TYPES_API_ROUTES, PaymentMethod, PerformanceBookingDataService, PerformanceCardComponent, PerformanceCardListComponent, PerformanceMultiSelectComponent, PerformanceSelectComponent, PerformanceService, PerformanceStatus, PerformanceStatusBadgeComponent, PerformanceStepperComponent, PerformanceTicketMapComponent, PerformanceTicketStatus, PerformanceTicketStatusBadgeComponent, PerformancesListEventsService, PriceZoneEventService, PriceZoneFormModalService, PriceZoneSelectComponent, PriceZoneService, ProductCategoryService, ProductMultiSelectComponent, ProductSelectComponent, ProductService, ProductTagService, ProductTypeService, RoomMapElementOrientation, RoomMapElementType, SHOWS_API_ROUTES, SHOW_TYPE_COLORS, STATE_API_ENDPOINTS, SeatSelectionEmptySummaryComponent, SeatSelectionSummaryComponent, SeatSelectionSummaryItemComponent, SelectedDiscountCardType, ShowCardComponent, ShowCardSkeletonComponent, ShowMultiSelectComponent, ShowSelectComponent, ShowService, ShowType, ShowTypeBadgeComponent, ShowsFilterComponent, StateSelectComponent, StatesService, TICKERA_COMPONENTS_CONFIG, TICKET_ELEMENT_TYPES, TICKET_MAP_GRID_SIZE, TICKET_MAP_LAST_TICKETS_LIMIT, TICKET_MAP_TITLE_HEIGHT, TICKET_STATUS_COLORS, TICKET_STATUS_FILLS, TICKET_STATUS_LABELS, TIcketMapProductSelectionComponent, TRANSACTION_STATUS_COLORS, TextExpandableComponent, TickeraTranslocoLoader, TicketMapPriceZonesComponent, TicketMapProductSelectionItemComponent, TicketMapTotalsComponent, TicketMapWidgetComponent, TicketMapWidgetHeaderComponent, TicketMapWrapperComponent, TicketMapZoomControlsComponent, TicketMapZoomService, TicketQrComponent, TicketQrModalComponent, TicketQrModalService, TicketQrService, TicketSelectionDetailsService, TicketSelectionDiscountService, TicketSelectionService, TicketSelectionTotalsService, ToastService, ToggleSwitchComponent, TransactionStatus, VENUES_API_ROUTES, VIP_CARDS_API_ROUTES, VipBalanceCardComponent, VipCardService, VipCardStatus, VipCardStatusBadgeComponent, VipRechargeModalComponent, VipTransactionType, VipTransactionsTableComponent, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, drawChairIcon, drawHappyFace, drawRoundedRect, drawWheelchairIcon, findElementAtPosition, findTicketAtPosition, formatCitiesResponseToSelect, generateExitScene, generateHallwayScene, generateProductionAreaScene, generateSeatBlockScene, generateSeatBlockTicketScene, generateStageScene, generateStairScene, generateTableScene, generateTableTicketScene, generateUnavailableSpaceScene, generateZoneScene, getBrowserLanguage, getCustomerFullname, getItemTypeIcon, getOrderDiscount, getStoredLanguage, numberToLetter, parseJsonToFormDataAdvanced, processElementsToRenderData, provideTickeraComponents, resolveLanguage, setStoredLanguage, tintColor, transformImageToFile };
|
|
3953
|
+
export type { ActivateVipCardParams, Admin, AdminsResponse, AsyncSelectConfig, Auditable, BadgeColor, BadgeSize, BreadcrumbStep, BreadcrumbTheme, CitiesResponse, City, CityResponse, CorporateBond, CorporateBondCode, CorporateBondResponse, CountriesResponse, Country, CountryResponse, Coupon, CouponResponse, Customer, CustomerResponse, CustomersResponse, DailyPerformanceHall, DailyPerformanceItem, DailyPerformancePriceZone, DailyPerformanceShow, DailyPerformanceVenue, DailyPerformancesResponse, DeleteConfirmationOpen, DragDropEvent, DynamicTableHeader, ElementPropertiesTab, ElementRenderData, FeedbackModalElement, FeedbackModalType, FetchCitiesParams, FetchDailyPerformancesParams, FetchProductCategoriesParams, FetchProductTagsParams, FetchProductTypesParams, FetchShowsParams, FetchVipCardsParams, FileUploadConfig, FindAllPerformancesParams, FindAllPriceZoneParams, GiftBond, GiftBondImage, GiftBondPurchase, GiftBondPurchaseResponse, GiftBondPurchasesResponse, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, HallFloorOption, KonvaShapeConfig, Membership, MercadoPagoPreference, ModalSize, NumerationConfig, Order, OrderBillingInfo, OrderDiscountInfo, OrderDiscountType, OrderItem, OrderResponse, OrdersResponse, Performance, PerformanceAvailableDay, PerformanceBookingDataResponse, PerformanceResponse, PerformanceTicket, PerformancesAvailableDaysResponse, PerformancesResponseInterface, PriceZone, PriceZoneResponse, PriceZoneUpdateResponse, PriceZonesResponseInterface, Product, ProductCategoriesResponse, ProductCategory, ProductCategoryResponse, ProductImage, ProductResponse, ProductTag, ProductTagResponse, ProductTagsResponse, ProductTaxonomy, ProductType, ProductTypeResponse, ProductTypesResponse, ProductsResponseInterface, QrTokenData, QrTokenResponse, RecentOrder, RecentRoomMap, ReservePerformanceDto, RoomMap, RoomMapBaseElement, RoomMapCanvasConfiguration, RoomMapCanvasElement, RoomMapChairPosition, RoomMapElementTemplate, RoomMapExitElement, RoomMapGridPosition, RoomMapPosition, RoomMapProductionAreaElement, RoomMapSeatDisplayState, RoomMapSeatElement, RoomMapSeatState, RoomMapSize, RoomMapStageElement, RoomMapTableElement, RoomMapUnavailableElement, RoomMapZoneElement, SelectOption, SelectedDiscountCard, Show, ShowCategoriesResponse, ShowCategory, ShowCategoryResponse, ShowGender, ShowGenderResponse, ShowGendersResponse, ShowImage, ShowResponse, ShowsResponseInterface, State, StateResponse, StatesResponse, TextFontSize, TickeraComponentsConfig, TicketMapSeatPosition, TicketMapTableChairPosition, TicketMapTooltipData, TicketMapZoneQuantityState, TicketMapZoomConfig, Transaction, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage, VipCard, VipCardResponse, VipCardsResponse, VipCategorySnapshot, VipOrderResponse, VipTransaction, VipTransactionsResponse };
|