tickera-angular-components 0.0.1-dev.3 → 0.0.1-dev.31
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/assets/fonts/open-sans-latin-300-italic.woff2 +0 -0
- package/assets/fonts/open-sans-latin-300-normal.woff2 +0 -0
- package/assets/fonts/open-sans-latin-400-italic.woff2 +0 -0
- package/assets/fonts/open-sans-latin-400-normal.woff2 +0 -0
- package/assets/fonts/open-sans-latin-500-italic.woff2 +0 -0
- package/assets/fonts/open-sans-latin-500-normal.woff2 +0 -0
- package/assets/fonts/open-sans-latin-600-italic.woff2 +0 -0
- package/assets/fonts/open-sans-latin-600-normal.woff2 +0 -0
- package/assets/fonts/open-sans-latin-700-italic.woff2 +0 -0
- package/assets/fonts/open-sans-latin-700-normal.woff2 +0 -0
- package/assets/fonts/remixicon.woff2 +0 -0
- package/fesm2022/tickera-angular-components.mjs +758 -420
- package/fesm2022/tickera-angular-components.mjs.map +1 -1
- package/i18n/en.json +45 -0
- package/i18n/es.json +45 -0
- package/index.d.ts +610 -336
- package/package.json +1 -1
- package/tickera.styles.css +1 -0
package/index.d.ts
CHANGED
|
@@ -1,33 +1,31 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, EnvironmentProviders, WritableSignal, EventEmitter,
|
|
3
|
-
import {
|
|
4
|
-
import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
|
|
2
|
+
import { InjectionToken, EnvironmentProviders, WritableSignal, EventEmitter, OnChanges, OnDestroy, SimpleChanges, Injector, Type, OnInit, ElementRef } from '@angular/core';
|
|
3
|
+
import { TranslocoLoader, TranslocoService } from '@jsverse/transloco';
|
|
5
4
|
import * as rxjs from 'rxjs';
|
|
6
5
|
import { Observable, Subject } from 'rxjs';
|
|
7
|
-
import {
|
|
6
|
+
import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, FormControl } from '@angular/forms';
|
|
7
|
+
import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
|
|
8
8
|
import { Toolbar, Editor } from 'ngx-editor';
|
|
9
9
|
import { Router } from '@angular/router';
|
|
10
10
|
|
|
11
11
|
interface TickeraComponentsConfig {
|
|
12
12
|
apiUrl: string;
|
|
13
13
|
accessTokenKey?: string;
|
|
14
|
+
defaultLang?: string;
|
|
15
|
+
availableLangs?: string[];
|
|
14
16
|
}
|
|
15
17
|
declare const TICKERA_COMPONENTS_CONFIG: InjectionToken<TickeraComponentsConfig>;
|
|
16
18
|
declare function provideTickeraComponents(config: TickeraComponentsConfig): EnvironmentProviders;
|
|
17
19
|
|
|
18
|
-
declare
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
declare
|
|
26
|
-
|
|
27
|
-
sm: string;
|
|
28
|
-
md: string;
|
|
29
|
-
lg: string;
|
|
30
|
-
};
|
|
20
|
+
declare class TickeraTranslocoLoader implements TranslocoLoader {
|
|
21
|
+
getTranslation(lang: string): Observable<Record<string, unknown>>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare function getStoredLanguage(): string;
|
|
25
|
+
declare function setStoredLanguage(lang: string): void;
|
|
26
|
+
declare function getBrowserLanguage(): string;
|
|
27
|
+
declare function resolveLanguage(): string;
|
|
28
|
+
|
|
31
29
|
declare const ALERT_ICONS: {
|
|
32
30
|
success: string;
|
|
33
31
|
error: string;
|
|
@@ -35,26 +33,6 @@ declare const ALERT_ICONS: {
|
|
|
35
33
|
info: string;
|
|
36
34
|
};
|
|
37
35
|
|
|
38
|
-
declare const BUTTON_VARIANT_CLASSES: {
|
|
39
|
-
primary: string;
|
|
40
|
-
secondary: string;
|
|
41
|
-
terciary: string;
|
|
42
|
-
success: string;
|
|
43
|
-
transparent: string;
|
|
44
|
-
};
|
|
45
|
-
declare const BASE_BUTTON_CLASSES: string;
|
|
46
|
-
declare const BUTTON_SIZES_CLASSES: {
|
|
47
|
-
xs: string;
|
|
48
|
-
sm: string;
|
|
49
|
-
md: string;
|
|
50
|
-
lg: string;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
declare const FORM_ERROR_MESSAGES: Record<string, string>;
|
|
54
|
-
|
|
55
|
-
declare const BASE_INPUT_CLASSES: string;
|
|
56
|
-
declare const ERROR_INPUT_CLASSES: string;
|
|
57
|
-
|
|
58
36
|
declare const ADMIN_API_ROUTES: {
|
|
59
37
|
FIND_ALL: string;
|
|
60
38
|
CREATE: string;
|
|
@@ -78,10 +56,10 @@ declare const COUNTRY_API_ENDPOINTS: {
|
|
|
78
56
|
delete: (id: number) => string;
|
|
79
57
|
};
|
|
80
58
|
|
|
81
|
-
declare const
|
|
59
|
+
declare const CUSTOMERS_API_ROUTES: {
|
|
82
60
|
findAll: string;
|
|
83
61
|
create: string;
|
|
84
|
-
|
|
62
|
+
findOne: (id: number) => string;
|
|
85
63
|
update: (id: number) => string;
|
|
86
64
|
delete: (id: number) => string;
|
|
87
65
|
};
|
|
@@ -103,12 +81,49 @@ declare const PERFORMANCES_API_ROUTES: {
|
|
|
103
81
|
publicAvailablePerformances: string;
|
|
104
82
|
};
|
|
105
83
|
|
|
84
|
+
declare const PRICE_ZONES_API_ROUTES: {
|
|
85
|
+
FIND_ALL: string;
|
|
86
|
+
CREATE: string;
|
|
87
|
+
findOneById: (id: number) => string;
|
|
88
|
+
update: (id: number) => string;
|
|
89
|
+
delete: (id: number) => string;
|
|
90
|
+
updateElements: (id: number) => string;
|
|
91
|
+
duplicate: (id: number) => string;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
declare const PRODUCT_CATEGORIES_API_ROUTES: {
|
|
95
|
+
FIND_ALL: string;
|
|
96
|
+
CREATE: string;
|
|
97
|
+
findById: (id: number) => string;
|
|
98
|
+
update: (id: number) => string;
|
|
99
|
+
delete: (id: number) => string;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
declare const PRODUCT_TAGS_API_ROUTES: {
|
|
103
|
+
FIND_ALL: string;
|
|
104
|
+
CREATE: string;
|
|
105
|
+
findById: (id: number) => string;
|
|
106
|
+
update: (id: number) => string;
|
|
107
|
+
delete: (id: number) => string;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
declare const PRODUCT_TYPES_API_ROUTES: {
|
|
111
|
+
FIND_ALL: string;
|
|
112
|
+
CREATE: string;
|
|
113
|
+
findById: (id: number) => string;
|
|
114
|
+
update: (id: number) => string;
|
|
115
|
+
delete: (id: number) => string;
|
|
116
|
+
};
|
|
117
|
+
|
|
106
118
|
declare const PRODUCTS_API_ROUTES: {
|
|
107
119
|
FIND_ALL: string;
|
|
108
120
|
CREATE: string;
|
|
109
121
|
findOneById: (id: number) => string;
|
|
110
122
|
update: (id: number) => string;
|
|
111
123
|
delete: (id: number) => string;
|
|
124
|
+
fetchImages: (id: number) => string;
|
|
125
|
+
uploadImages: (id: number) => string;
|
|
126
|
+
deleteOneImage: (productId: number, imageId: number) => string;
|
|
112
127
|
};
|
|
113
128
|
|
|
114
129
|
declare const SHOWS_API_ROUTES: {
|
|
@@ -123,22 +138,12 @@ declare const SHOWS_API_ROUTES: {
|
|
|
123
138
|
publicAvailablePerformances: string;
|
|
124
139
|
};
|
|
125
140
|
|
|
126
|
-
declare const
|
|
141
|
+
declare const STATE_API_ENDPOINTS: {
|
|
127
142
|
findAll: string;
|
|
128
143
|
create: string;
|
|
129
|
-
|
|
130
|
-
update: (id: number) => string;
|
|
131
|
-
delete: (id: number) => string;
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
declare const PRICE_ZONES_API_ROUTES: {
|
|
135
|
-
FIND_ALL: string;
|
|
136
|
-
CREATE: string;
|
|
137
|
-
findOneById: (id: number) => string;
|
|
144
|
+
findById: (id: number) => string;
|
|
138
145
|
update: (id: number) => string;
|
|
139
146
|
delete: (id: number) => string;
|
|
140
|
-
updateElements: (id: number) => string;
|
|
141
|
-
duplicate: (id: number) => string;
|
|
142
147
|
};
|
|
143
148
|
|
|
144
149
|
declare const VENUES_API_ROUTES: {
|
|
@@ -152,152 +157,14 @@ declare const VENUES_API_ROUTES: {
|
|
|
152
157
|
deleteOneImage: (venueId: number, imageId: number) => string;
|
|
153
158
|
};
|
|
154
159
|
|
|
155
|
-
declare
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
EXCEL = "excel",
|
|
159
|
-
WORD = "word",
|
|
160
|
-
TEXT = "text",
|
|
161
|
-
DEFAULT = "default"
|
|
162
|
-
}
|
|
160
|
+
declare const BUTTON_VARIANT_CLASSES: Record<string, string>;
|
|
161
|
+
declare const BASE_BUTTON_CLASSES = "btn";
|
|
162
|
+
declare const BUTTON_SIZES_CLASSES: Record<string, string>;
|
|
163
163
|
|
|
164
|
-
declare
|
|
165
|
-
GENERAL = "GENERAL",
|
|
166
|
-
CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
|
|
167
|
-
MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
|
|
168
|
-
SHOWS = "SHOWS",
|
|
169
|
-
PERFORMANCES = "PERFORMANCES"
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
declare enum CouponDiscountType {
|
|
173
|
-
PERCENTAGE = "PERCENTAGE",
|
|
174
|
-
FIXED = "FIXED"
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
declare enum CorporateBondStatus {
|
|
178
|
-
ACTIVE = "ACTIVE",
|
|
179
|
-
INACTIVE = "INACTIVE",
|
|
180
|
-
EXPIRED = "EXPIRED"
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
declare enum PerformanceStatus {
|
|
184
|
-
ACTIVE = "active",
|
|
185
|
-
CANCELLED = "cancelled",
|
|
186
|
-
FINISHED = "finished",
|
|
187
|
-
POSTPONED = "postponed"
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
declare enum PerformanceTicketStatus {
|
|
191
|
-
AVAILABLE = "available",
|
|
192
|
-
RESERVED = "reserved",
|
|
193
|
-
SOLD = "sold",
|
|
194
|
-
BLOCKED = "blocked"
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
declare enum RoomMapElementOrientation {
|
|
198
|
-
TOP = "top",
|
|
199
|
-
RIGHT = "right",
|
|
200
|
-
BOTTOM = "bottom",
|
|
201
|
-
LEFT = "left",
|
|
202
|
-
CENTER = "center"
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
declare enum RoomMapElementType {
|
|
206
|
-
SEAT_BLOCK = "seat_block",
|
|
207
|
-
TABLE = "table",
|
|
208
|
-
ZONE = "zone",
|
|
209
|
-
EXIT = "exit",
|
|
210
|
-
STAGE = "stage",
|
|
211
|
-
PRODUCTION_AREA = "production_area",
|
|
212
|
-
UNAVAILABLE_SPACE = "unavailable_space",
|
|
213
|
-
STAIR = "stair",
|
|
214
|
-
HALLWAY = "hallway"
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
declare enum OrderItemType {
|
|
218
|
-
TICKET = "TICKET",
|
|
219
|
-
PRODUCT = "PRODUCT"
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
declare enum OrderStatus {
|
|
223
|
-
PENDING = "PENDING",
|
|
224
|
-
COMPLETED = "COMPLETED",
|
|
225
|
-
FAILED = "FAILED",
|
|
226
|
-
CANCELLED = "CANCELLED"
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
interface RoomMapPosition {
|
|
230
|
-
x: number;
|
|
231
|
-
y: number;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
interface RoomMapSize {
|
|
235
|
-
width: number;
|
|
236
|
-
height: number;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
interface RoomMapBaseElement {
|
|
240
|
-
id: string;
|
|
241
|
-
type: RoomMapElementType;
|
|
242
|
-
position: RoomMapPosition;
|
|
243
|
-
size: RoomMapSize;
|
|
244
|
-
rotation: number;
|
|
245
|
-
name?: string;
|
|
246
|
-
isLocked: boolean;
|
|
247
|
-
isVisible: boolean;
|
|
248
|
-
zIndex: number;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
interface RoomMapExitElement extends RoomMapBaseElement {
|
|
252
|
-
type: RoomMapElementType.EXIT;
|
|
253
|
-
exitName?: string;
|
|
254
|
-
exitType: 'emergency' | 'regular';
|
|
255
|
-
width: number;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
interface RoomMapProductionAreaElement extends RoomMapBaseElement {
|
|
259
|
-
type: RoomMapElementType.PRODUCTION_AREA;
|
|
260
|
-
areaName?: string;
|
|
261
|
-
areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
interface RoomMapSeatElement extends RoomMapBaseElement {
|
|
265
|
-
type: RoomMapElementType.SEAT_BLOCK;
|
|
266
|
-
seatNumber?: string;
|
|
267
|
-
isAvailable: boolean;
|
|
268
|
-
priceCategory?: string;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
interface RoomMapStageElement extends RoomMapBaseElement {
|
|
272
|
-
type: RoomMapElementType.STAGE;
|
|
273
|
-
stageName?: string;
|
|
274
|
-
orientation: RoomMapElementOrientation;
|
|
275
|
-
isMainStage: boolean;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
interface RoomMapTableElement extends RoomMapBaseElement {
|
|
279
|
-
type: RoomMapElementType.TABLE;
|
|
280
|
-
tableNumber?: string;
|
|
281
|
-
capacity: number;
|
|
282
|
-
shape: 'round' | 'rectangular' | 'square';
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
interface RoomMapUnavailableElement extends RoomMapBaseElement {
|
|
286
|
-
type: RoomMapElementType.UNAVAILABLE_SPACE;
|
|
287
|
-
reason?: string;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
interface RoomMapZoneElement extends RoomMapBaseElement {
|
|
291
|
-
type: RoomMapElementType.ZONE;
|
|
292
|
-
zoneName: string;
|
|
293
|
-
zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
|
|
294
|
-
color: string;
|
|
295
|
-
capacity?: number;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
|
|
164
|
+
declare const FORM_ERROR_MESSAGES: Record<string, string>;
|
|
299
165
|
|
|
300
|
-
|
|
166
|
+
declare const BASE_INPUT_CLASSES: string;
|
|
167
|
+
declare const ERROR_INPUT_CLASSES: string;
|
|
301
168
|
|
|
302
169
|
interface SelectOption {
|
|
303
170
|
value: any;
|
|
@@ -305,7 +172,7 @@ interface SelectOption {
|
|
|
305
172
|
disabled?: boolean;
|
|
306
173
|
}
|
|
307
174
|
|
|
308
|
-
interface Admin {
|
|
175
|
+
interface Admin extends Auditable {
|
|
309
176
|
id: number;
|
|
310
177
|
username: string;
|
|
311
178
|
email: string;
|
|
@@ -321,16 +188,17 @@ interface Admin {
|
|
|
321
188
|
reset_password_expires: Date;
|
|
322
189
|
email_verified_at: Date;
|
|
323
190
|
last_login: Date;
|
|
324
|
-
created_at: Date;
|
|
325
|
-
updated_at: Date;
|
|
326
|
-
deleted_at: Date;
|
|
327
191
|
}
|
|
328
192
|
|
|
329
193
|
interface Auditable {
|
|
330
194
|
created_at: Date;
|
|
331
195
|
updated_at: Date;
|
|
196
|
+
deleted_at?: Date | null;
|
|
332
197
|
is_published?: boolean;
|
|
333
198
|
published_at?: Date;
|
|
199
|
+
published_by?: number;
|
|
200
|
+
deleted_by?: number;
|
|
201
|
+
deleted_by_admin?: Admin;
|
|
334
202
|
created_by_admin?: Admin;
|
|
335
203
|
updated_by_admin?: Admin;
|
|
336
204
|
published_by_admin?: Admin;
|
|
@@ -373,20 +241,20 @@ interface AdminsResponse {
|
|
|
373
241
|
}
|
|
374
242
|
|
|
375
243
|
interface Country {
|
|
376
|
-
id:
|
|
244
|
+
id: number;
|
|
377
245
|
name: string;
|
|
378
246
|
iso2: string;
|
|
379
247
|
}
|
|
380
248
|
|
|
381
249
|
interface State {
|
|
382
|
-
id:
|
|
250
|
+
id: number;
|
|
383
251
|
name: string;
|
|
384
252
|
country_id: number;
|
|
385
253
|
country?: Country;
|
|
386
254
|
}
|
|
387
255
|
|
|
388
256
|
interface City {
|
|
389
|
-
id:
|
|
257
|
+
id: number;
|
|
390
258
|
name: string;
|
|
391
259
|
search_text: string | null;
|
|
392
260
|
state_id: number;
|
|
@@ -425,27 +293,21 @@ interface Venue extends Auditable {
|
|
|
425
293
|
images: VenueImage[];
|
|
426
294
|
}
|
|
427
295
|
|
|
428
|
-
interface HallFloor {
|
|
296
|
+
interface HallFloor extends Auditable {
|
|
429
297
|
id: number;
|
|
430
298
|
name: string;
|
|
431
299
|
level: number;
|
|
432
300
|
max_capacity: number;
|
|
433
301
|
description: string;
|
|
434
302
|
hall_id: number;
|
|
435
|
-
created_at: Date;
|
|
436
|
-
updated_at: Date;
|
|
437
|
-
deleted_at: Date | null;
|
|
438
303
|
}
|
|
439
304
|
|
|
440
|
-
interface Hall {
|
|
305
|
+
interface Hall extends Auditable {
|
|
441
306
|
id: number;
|
|
442
307
|
name: string;
|
|
443
308
|
venue_id: number;
|
|
444
309
|
venue?: Venue;
|
|
445
310
|
hall_floors?: HallFloor[];
|
|
446
|
-
created_at: Date;
|
|
447
|
-
updated_at: Date;
|
|
448
|
-
deleted_at: Date | null;
|
|
449
311
|
}
|
|
450
312
|
|
|
451
313
|
interface CountryResponse {
|
|
@@ -499,7 +361,7 @@ interface FetchCitiesParams {
|
|
|
499
361
|
search?: string;
|
|
500
362
|
}
|
|
501
363
|
|
|
502
|
-
interface Customer {
|
|
364
|
+
interface Customer extends Auditable {
|
|
503
365
|
username: string;
|
|
504
366
|
email: string;
|
|
505
367
|
mobile: string;
|
|
@@ -530,9 +392,6 @@ interface Customer {
|
|
|
530
392
|
membership_expires_at: Date | null;
|
|
531
393
|
id: number;
|
|
532
394
|
is_active: boolean;
|
|
533
|
-
created_at: Date;
|
|
534
|
-
updated_at: Date;
|
|
535
|
-
deleted_at: Date | null;
|
|
536
395
|
}
|
|
537
396
|
|
|
538
397
|
interface CustomerResponse {
|
|
@@ -550,8 +409,139 @@ interface CustomersResponse {
|
|
|
550
409
|
message: string;
|
|
551
410
|
}
|
|
552
411
|
|
|
412
|
+
declare enum OrderItemType {
|
|
413
|
+
TICKET = "TICKET",
|
|
414
|
+
PRODUCT = "PRODUCT"
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
declare enum OrderStatus {
|
|
418
|
+
ON_HOLD = "on-hold",
|
|
419
|
+
PENDING_PAYMENT = "pending-payment",
|
|
420
|
+
PROCESSING = "processing",
|
|
421
|
+
COMPLETED = "completed",
|
|
422
|
+
FAILED = "failed",
|
|
423
|
+
CANCELLED = "cancelled",
|
|
424
|
+
REFUNDED = "refunded"
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
declare enum RoomMapElementType {
|
|
428
|
+
SEAT_BLOCK = "seat_block",
|
|
429
|
+
TABLE = "table",
|
|
430
|
+
ZONE = "zone",
|
|
431
|
+
EXIT = "exit",
|
|
432
|
+
STAGE = "stage",
|
|
433
|
+
PRODUCTION_AREA = "production_area",
|
|
434
|
+
UNAVAILABLE_SPACE = "unavailable_space",
|
|
435
|
+
STAIR = "stair",
|
|
436
|
+
HALLWAY = "hallway"
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
interface RoomMapPosition {
|
|
440
|
+
x: number;
|
|
441
|
+
y: number;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
interface RoomMapSize {
|
|
445
|
+
width: number;
|
|
446
|
+
height: number;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
interface RoomMapBaseElement {
|
|
450
|
+
id: string;
|
|
451
|
+
type: RoomMapElementType;
|
|
452
|
+
position: RoomMapPosition;
|
|
453
|
+
size: RoomMapSize;
|
|
454
|
+
rotation: number;
|
|
455
|
+
name?: string;
|
|
456
|
+
isLocked: boolean;
|
|
457
|
+
isVisible: boolean;
|
|
458
|
+
zIndex: number;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
interface RoomMapExitElement extends RoomMapBaseElement {
|
|
462
|
+
type: RoomMapElementType.EXIT;
|
|
463
|
+
exitName?: string;
|
|
464
|
+
exitType: 'emergency' | 'regular';
|
|
465
|
+
width: number;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
interface RoomMapProductionAreaElement extends RoomMapBaseElement {
|
|
469
|
+
type: RoomMapElementType.PRODUCTION_AREA;
|
|
470
|
+
areaName?: string;
|
|
471
|
+
areaType: 'lighting' | 'sound' | 'backstage' | 'orchestra' | 'custom';
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
interface RoomMapSeatElement extends RoomMapBaseElement {
|
|
475
|
+
type: RoomMapElementType.SEAT_BLOCK;
|
|
476
|
+
seatNumber?: string;
|
|
477
|
+
isAvailable: boolean;
|
|
478
|
+
priceCategory?: string;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
declare enum RoomMapElementOrientation {
|
|
482
|
+
TOP = "top",
|
|
483
|
+
RIGHT = "right",
|
|
484
|
+
BOTTOM = "bottom",
|
|
485
|
+
LEFT = "left",
|
|
486
|
+
CENTER = "center"
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
interface RoomMapStageElement extends RoomMapBaseElement {
|
|
490
|
+
type: RoomMapElementType.STAGE;
|
|
491
|
+
stageName?: string;
|
|
492
|
+
orientation: RoomMapElementOrientation;
|
|
493
|
+
isMainStage: boolean;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
interface RoomMapTableElement extends RoomMapBaseElement {
|
|
497
|
+
type: RoomMapElementType.TABLE;
|
|
498
|
+
tableNumber?: string;
|
|
499
|
+
capacity: number;
|
|
500
|
+
shape: 'round' | 'rectangular' | 'square';
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
interface RoomMapUnavailableElement extends RoomMapBaseElement {
|
|
504
|
+
type: RoomMapElementType.UNAVAILABLE_SPACE;
|
|
505
|
+
reason?: string;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
interface RoomMapZoneElement extends RoomMapBaseElement {
|
|
509
|
+
type: RoomMapElementType.ZONE;
|
|
510
|
+
zoneName: string;
|
|
511
|
+
zoneType: 'vip' | 'general' | 'premium' | 'balcony' | 'custom';
|
|
512
|
+
color: string;
|
|
513
|
+
capacity?: number;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
type RoomMapCanvasElement = RoomMapSeatElement | RoomMapTableElement | RoomMapZoneElement | RoomMapExitElement | RoomMapStageElement | RoomMapProductionAreaElement | RoomMapUnavailableElement;
|
|
517
|
+
|
|
518
|
+
type RoomMapSeatDisplayState = 'normal' | 'accessible' | 'non_existent';
|
|
519
|
+
|
|
553
520
|
type ShowType = 'play' | 'musical' | 'concert' | 'dance' | 'opera' | 'comedy' | 'other';
|
|
554
521
|
|
|
522
|
+
type ModalSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
|
|
523
|
+
|
|
524
|
+
type FeedbackModalType = 'loading' | 'success' | 'info' | 'warning' | 'error';
|
|
525
|
+
|
|
526
|
+
interface FeedbackModalElement {
|
|
527
|
+
id: string;
|
|
528
|
+
type: FeedbackModalType;
|
|
529
|
+
title: string;
|
|
530
|
+
isOpen: WritableSignal<boolean>;
|
|
531
|
+
message?: string;
|
|
532
|
+
showHeader?: boolean;
|
|
533
|
+
showCloseButton?: boolean;
|
|
534
|
+
showTitle?: boolean;
|
|
535
|
+
closeModal?: void;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
interface FetchShowsParams {
|
|
539
|
+
page?: number;
|
|
540
|
+
limit?: number;
|
|
541
|
+
search?: string;
|
|
542
|
+
date?: string;
|
|
543
|
+
}
|
|
544
|
+
|
|
555
545
|
interface ShowImage {
|
|
556
546
|
id: number;
|
|
557
547
|
path: string;
|
|
@@ -566,60 +556,125 @@ interface ShowImage {
|
|
|
566
556
|
created_at: Date;
|
|
567
557
|
}
|
|
568
558
|
|
|
569
|
-
|
|
559
|
+
declare enum PerformanceStatus {
|
|
560
|
+
SCHEDULED = "scheduled",
|
|
561
|
+
OPEN = "open",
|
|
562
|
+
CLOSED = "closed",
|
|
563
|
+
CANCELLED = "cancelled",
|
|
564
|
+
COMPLETED = "completed",
|
|
565
|
+
POSTPONED = "postponed"
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
interface PriceZone extends Auditable {
|
|
570
569
|
id: number;
|
|
571
|
-
|
|
570
|
+
name: string;
|
|
571
|
+
color: string;
|
|
572
|
+
normal_price: number | null;
|
|
573
|
+
is_active: boolean;
|
|
574
|
+
elements: any[];
|
|
575
|
+
room_map_id: number | null;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
interface FetchProductCategoriesParams {
|
|
579
|
+
name?: string;
|
|
580
|
+
slug?: string;
|
|
581
|
+
page?: number;
|
|
582
|
+
limit?: number;
|
|
583
|
+
search?: string;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
interface ProductCategory extends Auditable {
|
|
587
|
+
id: number;
|
|
588
|
+
name: string;
|
|
572
589
|
slug: string;
|
|
573
|
-
description: string;
|
|
574
|
-
duration_minutes: number | null;
|
|
575
|
-
type_of_costs: string | null;
|
|
576
|
-
service_fee: number | null;
|
|
577
|
-
show_type: ShowType | null;
|
|
578
|
-
pulep: string | null;
|
|
579
|
-
minimum_age: number | null;
|
|
580
|
-
show_category_id: number | null;
|
|
581
|
-
default_room_map_id: number | null;
|
|
582
|
-
published_at?: Date;
|
|
583
|
-
is_published: boolean;
|
|
584
|
-
images: ShowImage[];
|
|
585
|
-
terms_and_conditions: string;
|
|
586
|
-
performances_quantity?: number;
|
|
587
590
|
}
|
|
588
591
|
|
|
589
|
-
interface
|
|
592
|
+
interface ProductCategoriesResponse {
|
|
590
593
|
statusCode: number;
|
|
591
|
-
data:
|
|
594
|
+
data: {
|
|
595
|
+
categories: ProductCategory[];
|
|
596
|
+
total: number;
|
|
597
|
+
};
|
|
592
598
|
message: string;
|
|
593
599
|
}
|
|
594
600
|
|
|
595
|
-
interface
|
|
601
|
+
interface ProductCategoryResponse {
|
|
602
|
+
statusCode: number;
|
|
603
|
+
data: ProductCategory;
|
|
604
|
+
message: string;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
interface FetchProductTagsParams {
|
|
608
|
+
name?: string;
|
|
609
|
+
slug?: string;
|
|
610
|
+
page?: number;
|
|
611
|
+
limit?: number;
|
|
612
|
+
search?: string;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
interface ProductTag extends Auditable {
|
|
616
|
+
id: number;
|
|
617
|
+
name: string;
|
|
618
|
+
slug: string;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
interface ProductTagResponse {
|
|
622
|
+
statusCode: number;
|
|
623
|
+
data: ProductTag;
|
|
624
|
+
message: string;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
interface ProductTagsResponse {
|
|
596
628
|
statusCode: number;
|
|
597
629
|
data: {
|
|
598
|
-
|
|
630
|
+
tags: ProductTag[];
|
|
599
631
|
total: number;
|
|
600
632
|
};
|
|
601
633
|
message: string;
|
|
602
634
|
}
|
|
603
635
|
|
|
604
|
-
interface
|
|
636
|
+
interface FetchProductTypesParams {
|
|
637
|
+
name?: string;
|
|
638
|
+
slug?: string;
|
|
605
639
|
page?: number;
|
|
606
640
|
limit?: number;
|
|
607
641
|
search?: string;
|
|
608
|
-
date?: string;
|
|
609
642
|
}
|
|
610
643
|
|
|
611
|
-
interface
|
|
644
|
+
interface ProductType extends Auditable {
|
|
645
|
+
id: number;
|
|
646
|
+
name: string;
|
|
647
|
+
slug: string;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
interface ProductTypeResponse {
|
|
651
|
+
statusCode: number;
|
|
652
|
+
data: ProductType;
|
|
653
|
+
message: string;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
interface ProductTypesResponse {
|
|
657
|
+
statusCode: number;
|
|
658
|
+
data: {
|
|
659
|
+
types: ProductType[];
|
|
660
|
+
total: number;
|
|
661
|
+
};
|
|
662
|
+
message: string;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
interface ProductImage {
|
|
612
666
|
id: number;
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
667
|
+
path: string;
|
|
668
|
+
full_url: string;
|
|
669
|
+
original_name: string;
|
|
670
|
+
extension: string;
|
|
671
|
+
size: number;
|
|
672
|
+
mime_type: string;
|
|
673
|
+
width: number;
|
|
674
|
+
height: number;
|
|
675
|
+
product_id: number;
|
|
676
|
+
product: Product;
|
|
619
677
|
created_at: Date;
|
|
620
|
-
updated_at: Date;
|
|
621
|
-
created_by: number;
|
|
622
|
-
updated_by: number;
|
|
623
678
|
}
|
|
624
679
|
|
|
625
680
|
interface Product extends Auditable {
|
|
@@ -634,10 +689,10 @@ interface Product extends Auditable {
|
|
|
634
689
|
is_limited_edition: boolean;
|
|
635
690
|
is_active: boolean;
|
|
636
691
|
deleted_at: Date | null;
|
|
637
|
-
categories?:
|
|
638
|
-
tags?:
|
|
639
|
-
types?:
|
|
640
|
-
images?:
|
|
692
|
+
categories?: ProductCategory[];
|
|
693
|
+
tags?: ProductTag[];
|
|
694
|
+
types?: ProductType[];
|
|
695
|
+
images?: ProductImage[];
|
|
641
696
|
}
|
|
642
697
|
|
|
643
698
|
interface NumerationConfig {
|
|
@@ -675,7 +730,7 @@ interface RoomMapElementTemplate {
|
|
|
675
730
|
price_zone?: PriceZone;
|
|
676
731
|
}
|
|
677
732
|
|
|
678
|
-
interface RoomMap {
|
|
733
|
+
interface RoomMap extends Auditable {
|
|
679
734
|
id: number;
|
|
680
735
|
name: string;
|
|
681
736
|
canvas_settings: {
|
|
@@ -691,8 +746,6 @@ interface RoomMap {
|
|
|
691
746
|
related_product_ids: number[];
|
|
692
747
|
products?: Product[];
|
|
693
748
|
venue_name?: string;
|
|
694
|
-
created_at: Date;
|
|
695
|
-
updated_at: Date;
|
|
696
749
|
}
|
|
697
750
|
|
|
698
751
|
interface RoomMapCanvasConfiguration {
|
|
@@ -734,7 +787,7 @@ interface ElementPropertiesTab {
|
|
|
734
787
|
elements_access: string[];
|
|
735
788
|
}
|
|
736
789
|
|
|
737
|
-
interface Performance {
|
|
790
|
+
interface Performance extends Auditable {
|
|
738
791
|
id: number;
|
|
739
792
|
start_time: Date | string;
|
|
740
793
|
end_time: Date | string;
|
|
@@ -744,8 +797,85 @@ interface Performance {
|
|
|
744
797
|
show?: Show;
|
|
745
798
|
room_map: RoomMap;
|
|
746
799
|
room_map_id: number;
|
|
747
|
-
|
|
748
|
-
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
interface Show extends Auditable {
|
|
803
|
+
id: number;
|
|
804
|
+
title: string;
|
|
805
|
+
slug: string;
|
|
806
|
+
description: string;
|
|
807
|
+
duration_minutes: number | null;
|
|
808
|
+
type_of_costs: string | null;
|
|
809
|
+
service_fee: number | null;
|
|
810
|
+
show_type: ShowType | null;
|
|
811
|
+
pulep: string | null;
|
|
812
|
+
minimum_age: number | null;
|
|
813
|
+
show_category_id: number | null;
|
|
814
|
+
default_room_map_id: number | null;
|
|
815
|
+
published_at?: Date;
|
|
816
|
+
is_published: boolean;
|
|
817
|
+
images: ShowImage[];
|
|
818
|
+
terms_and_conditions: string;
|
|
819
|
+
performances_quantity?: number;
|
|
820
|
+
performances?: Performance[];
|
|
821
|
+
next_performance?: Performance;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
interface ShowResponse {
|
|
825
|
+
statusCode: number;
|
|
826
|
+
data: Show;
|
|
827
|
+
message: string;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
interface ShowsResponseInterface {
|
|
831
|
+
statusCode: number;
|
|
832
|
+
data: {
|
|
833
|
+
shows: Show[];
|
|
834
|
+
total: number;
|
|
835
|
+
};
|
|
836
|
+
message: string;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
interface ShowCategory extends Auditable {
|
|
840
|
+
id: number;
|
|
841
|
+
name: string;
|
|
842
|
+
slug: string;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
interface ShowCategoriesResponse {
|
|
846
|
+
statusCode: number;
|
|
847
|
+
data: {
|
|
848
|
+
categories: ShowCategory[];
|
|
849
|
+
total: number;
|
|
850
|
+
};
|
|
851
|
+
message: string;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
interface ShowCategoryResponse {
|
|
855
|
+
statusCode: number;
|
|
856
|
+
data: ShowCategory;
|
|
857
|
+
message: string;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
interface ShowGender extends Auditable {
|
|
861
|
+
id: number;
|
|
862
|
+
name: string;
|
|
863
|
+
slug: string;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
interface ShowGenderResponse {
|
|
867
|
+
statusCode: number;
|
|
868
|
+
data: ShowGender;
|
|
869
|
+
message: string;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
interface ShowGendersResponse {
|
|
873
|
+
statusCode: number;
|
|
874
|
+
data: {
|
|
875
|
+
genders: ShowGender[];
|
|
876
|
+
total: number;
|
|
877
|
+
};
|
|
878
|
+
message: string;
|
|
749
879
|
}
|
|
750
880
|
|
|
751
881
|
interface PerformanceResponse {
|
|
@@ -763,7 +893,14 @@ interface PerformancesResponseInterface {
|
|
|
763
893
|
message: string;
|
|
764
894
|
}
|
|
765
895
|
|
|
766
|
-
|
|
896
|
+
declare enum PerformanceTicketStatus {
|
|
897
|
+
AVAILABLE = "available",
|
|
898
|
+
RESERVED = "reserved",
|
|
899
|
+
SOLD = "sold",
|
|
900
|
+
BLOCKED = "blocked"
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
interface OrderItem extends Auditable {
|
|
767
904
|
id: number;
|
|
768
905
|
order: Order;
|
|
769
906
|
item_type: OrderItemType;
|
|
@@ -776,26 +913,41 @@ interface OrderItem {
|
|
|
776
913
|
ticket_id?: number;
|
|
777
914
|
ticket_uuid?: string;
|
|
778
915
|
item: Show | Product;
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
declare enum CouponApplicability {
|
|
919
|
+
GENERAL = "GENERAL",
|
|
920
|
+
CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
|
|
921
|
+
MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
|
|
922
|
+
SHOWS = "SHOWS",
|
|
923
|
+
PERFORMANCES = "PERFORMANCES"
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
declare enum CouponDiscountType {
|
|
927
|
+
PERCENTAGE = "PERCENTAGE",
|
|
928
|
+
FIXED = "FIXED"
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
declare enum CouponStatus {
|
|
932
|
+
ACTIVE = "ACTIVE",
|
|
933
|
+
INACTIVE = "INACTIVE",
|
|
934
|
+
EXPIRED = "EXPIRED",
|
|
935
|
+
CONSUMED = "CONSUMED"
|
|
783
936
|
}
|
|
784
937
|
|
|
785
938
|
interface Coupon extends Auditable {
|
|
786
939
|
id: number;
|
|
787
940
|
code: string;
|
|
941
|
+
billing_code: string;
|
|
788
942
|
description?: string;
|
|
789
943
|
discount_type: CouponDiscountType;
|
|
790
|
-
discount_type_string?: string;
|
|
791
944
|
discount_value: number;
|
|
792
|
-
discount_value_string?: string;
|
|
793
945
|
start_date: Date | null;
|
|
794
946
|
end_date: Date | null;
|
|
795
947
|
max_uses: number | null;
|
|
796
|
-
|
|
948
|
+
max_uses_per_customer?: number | null;
|
|
797
949
|
uses_count: number;
|
|
798
|
-
|
|
950
|
+
status: CouponStatus;
|
|
799
951
|
applicability_type: CouponApplicability;
|
|
800
952
|
applicable_customer_emails: string[] | null;
|
|
801
953
|
applicable_membership_types: string[] | null;
|
|
@@ -803,9 +955,18 @@ interface Coupon extends Auditable {
|
|
|
803
955
|
applicable_performance_ids?: number[];
|
|
804
956
|
applicable_price_zone_ids?: number[];
|
|
805
957
|
applies_to_service_fee?: boolean;
|
|
958
|
+
orders?: Order[];
|
|
959
|
+
customers?: Customer[];
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
declare enum CorporateBondStatus {
|
|
963
|
+
ACTIVE = "ACTIVE",
|
|
964
|
+
INACTIVE = "INACTIVE",
|
|
965
|
+
EXPIRED = "EXPIRED",
|
|
966
|
+
CONSUMED = "CONSUMED"
|
|
806
967
|
}
|
|
807
968
|
|
|
808
|
-
interface CorporateBond {
|
|
969
|
+
interface CorporateBond extends Auditable {
|
|
809
970
|
id: number;
|
|
810
971
|
name: string;
|
|
811
972
|
description?: string;
|
|
@@ -816,10 +977,6 @@ interface CorporateBond {
|
|
|
816
977
|
status: CorporateBondStatus;
|
|
817
978
|
value: number;
|
|
818
979
|
codes: CorporateBondCode[];
|
|
819
|
-
created_at: Date;
|
|
820
|
-
updated_at: Date;
|
|
821
|
-
created_by: number;
|
|
822
|
-
updated_by: number;
|
|
823
980
|
}
|
|
824
981
|
|
|
825
982
|
interface CorporateBondCode {
|
|
@@ -849,7 +1006,7 @@ interface ValidateCorporateBondResponse {
|
|
|
849
1006
|
statusCode: number;
|
|
850
1007
|
}
|
|
851
1008
|
|
|
852
|
-
interface Order {
|
|
1009
|
+
interface Order extends Auditable {
|
|
853
1010
|
id: number;
|
|
854
1011
|
uuid: string;
|
|
855
1012
|
customer: Customer;
|
|
@@ -871,16 +1028,12 @@ interface Order {
|
|
|
871
1028
|
status: OrderStatus;
|
|
872
1029
|
show_snapshot: Record<string, any>;
|
|
873
1030
|
performance_snapshot: Record<string, any>;
|
|
874
|
-
created_at: Date;
|
|
875
|
-
updated_at: Date;
|
|
876
1031
|
payment_method: string;
|
|
877
1032
|
terms_accepted: boolean;
|
|
878
1033
|
data_processing_accepted: boolean;
|
|
879
1034
|
billing_info: Partial<Customer>;
|
|
880
1035
|
comments: string;
|
|
881
1036
|
address_notes: string;
|
|
882
|
-
created_by: number;
|
|
883
|
-
updated_by: number;
|
|
884
1037
|
}
|
|
885
1038
|
|
|
886
1039
|
interface OrderResponse {
|
|
@@ -898,7 +1051,7 @@ interface OrdersResponse {
|
|
|
898
1051
|
message: string;
|
|
899
1052
|
}
|
|
900
1053
|
|
|
901
|
-
interface PerformanceTicket {
|
|
1054
|
+
interface PerformanceTicket extends Auditable {
|
|
902
1055
|
id: number;
|
|
903
1056
|
uuid: string;
|
|
904
1057
|
is_accessible: boolean;
|
|
@@ -918,8 +1071,6 @@ interface PerformanceTicket {
|
|
|
918
1071
|
checked_in_at: Date | null;
|
|
919
1072
|
order_items: OrderItem[];
|
|
920
1073
|
element_qty?: number;
|
|
921
|
-
created_at: Date;
|
|
922
|
-
updated_at: Date;
|
|
923
1074
|
}
|
|
924
1075
|
|
|
925
1076
|
interface PerformanceBookingDataResponse {
|
|
@@ -1003,6 +1154,13 @@ interface ProductResponse {
|
|
|
1003
1154
|
message: string;
|
|
1004
1155
|
}
|
|
1005
1156
|
|
|
1157
|
+
interface ProductTaxonomy extends Auditable {
|
|
1158
|
+
id: number;
|
|
1159
|
+
name: string;
|
|
1160
|
+
slug: string;
|
|
1161
|
+
selected?: boolean;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1006
1164
|
interface ProductsResponseInterface {
|
|
1007
1165
|
statusCode: number;
|
|
1008
1166
|
data: {
|
|
@@ -1043,6 +1201,50 @@ interface FindAllPriceZoneParams {
|
|
|
1043
1201
|
limit?: number;
|
|
1044
1202
|
}
|
|
1045
1203
|
|
|
1204
|
+
declare enum GiftBondStatus {
|
|
1205
|
+
ACTIVE = "ACTIVE",
|
|
1206
|
+
INACTIVE = "INACTIVE",
|
|
1207
|
+
EXPIRED = "EXPIRED",
|
|
1208
|
+
CONSUMED = "CONSUMED"
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
interface GiftBond extends Auditable {
|
|
1212
|
+
id: number;
|
|
1213
|
+
uuid: string;
|
|
1214
|
+
name: string;
|
|
1215
|
+
description?: string;
|
|
1216
|
+
status: GiftBondStatus;
|
|
1217
|
+
value: number;
|
|
1218
|
+
customer: Customer;
|
|
1219
|
+
customer_id: number;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
interface GiftBondResponse {
|
|
1223
|
+
statusCode: number;
|
|
1224
|
+
data: GiftBond;
|
|
1225
|
+
message: string;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
interface GiftBondsResponse {
|
|
1229
|
+
statusCode: number;
|
|
1230
|
+
data: {
|
|
1231
|
+
gift_bonds: GiftBond[];
|
|
1232
|
+
total: number;
|
|
1233
|
+
};
|
|
1234
|
+
message: string;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
interface ValidateGiftBondResponse {
|
|
1238
|
+
data: {
|
|
1239
|
+
valid: boolean;
|
|
1240
|
+
message: string;
|
|
1241
|
+
code: string;
|
|
1242
|
+
bond?: GiftBond;
|
|
1243
|
+
};
|
|
1244
|
+
statusCode: number;
|
|
1245
|
+
message: string;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1046
1248
|
interface CouponResponse {
|
|
1047
1249
|
statusCode: number;
|
|
1048
1250
|
data: Coupon;
|
|
@@ -1056,6 +1258,19 @@ interface ValidateCouponResponse {
|
|
|
1056
1258
|
};
|
|
1057
1259
|
}
|
|
1058
1260
|
|
|
1261
|
+
declare const DOCUMENT_TYPES_OPTIONS: SelectOption[];
|
|
1262
|
+
|
|
1263
|
+
declare const PAYMENT_METHODS_OPTIONS: SelectOption[];
|
|
1264
|
+
|
|
1265
|
+
declare enum FileType {
|
|
1266
|
+
IMAGE = "image",
|
|
1267
|
+
PDF = "pdf",
|
|
1268
|
+
EXCEL = "excel",
|
|
1269
|
+
WORD = "word",
|
|
1270
|
+
TEXT = "text",
|
|
1271
|
+
DEFAULT = "default"
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1059
1274
|
declare const getCustomerFullname: (customer: Customer) => string;
|
|
1060
1275
|
|
|
1061
1276
|
declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
@@ -1063,7 +1278,7 @@ declare function parseJsonToFormDataAdvanced(imageGallery: any[]): FormData;
|
|
|
1063
1278
|
declare const transformImageToFile: (image: ShowImage | VenueImage) => UploadedFile;
|
|
1064
1279
|
|
|
1065
1280
|
declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
|
|
1066
|
-
value:
|
|
1281
|
+
value: number;
|
|
1067
1282
|
label: string;
|
|
1068
1283
|
}[];
|
|
1069
1284
|
|
|
@@ -1097,16 +1312,6 @@ declare class ToastService {
|
|
|
1097
1312
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
1098
1313
|
}
|
|
1099
1314
|
|
|
1100
|
-
declare class LoadingModalService {
|
|
1101
|
-
title: WritableSignal<string>;
|
|
1102
|
-
isOpen: WritableSignal<boolean>;
|
|
1103
|
-
get modalIsOpen(): WritableSignal<boolean>;
|
|
1104
|
-
open(title?: string): void;
|
|
1105
|
-
close(): void;
|
|
1106
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingModalService, never>;
|
|
1107
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LoadingModalService>;
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
1315
|
declare class DeleteConfirmationService {
|
|
1111
1316
|
title: WritableSignal<string>;
|
|
1112
1317
|
resourceName: WritableSignal<string>;
|
|
@@ -1235,25 +1440,6 @@ declare class PerformancesListEventsService {
|
|
|
1235
1440
|
static ɵprov: i0.ɵɵInjectableDeclaration<PerformancesListEventsService>;
|
|
1236
1441
|
}
|
|
1237
1442
|
|
|
1238
|
-
declare class ProductService {
|
|
1239
|
-
private apiService;
|
|
1240
|
-
private productsSubject;
|
|
1241
|
-
products$: Observable<Product[]>;
|
|
1242
|
-
constructor(apiService: ApiService);
|
|
1243
|
-
fetchProducts(page: number, search: string): Observable<ProductsResponseInterface>;
|
|
1244
|
-
loadProducts({ page, search }?: {
|
|
1245
|
-
page?: number;
|
|
1246
|
-
search?: string;
|
|
1247
|
-
}): void;
|
|
1248
|
-
getCurrentProducts(): Product[];
|
|
1249
|
-
fetchOneById(id: number): Observable<ProductResponse>;
|
|
1250
|
-
createOne(data: Product): Observable<any>;
|
|
1251
|
-
updateOne(id: number, data: any): Observable<ProductResponse>;
|
|
1252
|
-
deleteOne(id: number): Observable<any>;
|
|
1253
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
1254
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
1255
|
-
}
|
|
1256
|
-
|
|
1257
1443
|
declare class ShowService {
|
|
1258
1444
|
private apiService;
|
|
1259
1445
|
private showsSubject;
|
|
@@ -1334,6 +1520,88 @@ declare class PriceZoneFormModalService {
|
|
|
1334
1520
|
static ɵprov: i0.ɵɵInjectableDeclaration<PriceZoneFormModalService>;
|
|
1335
1521
|
}
|
|
1336
1522
|
|
|
1523
|
+
declare class ProductCategoryService {
|
|
1524
|
+
private apiService;
|
|
1525
|
+
constructor(apiService: ApiService);
|
|
1526
|
+
fetchCategories({ page, search, limit, }: FetchProductCategoriesParams): Observable<ProductCategoriesResponse>;
|
|
1527
|
+
fetchOneById(id: number): Observable<ProductCategoryResponse>;
|
|
1528
|
+
createOne(data: ProductCategory): Observable<any>;
|
|
1529
|
+
updateOne(id: number, data: ProductCategory): Observable<ProductCategoryResponse>;
|
|
1530
|
+
deleteOne(id: number): Observable<any>;
|
|
1531
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryService, never>;
|
|
1532
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductCategoryService>;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
declare class ProductTagService {
|
|
1536
|
+
private apiService;
|
|
1537
|
+
constructor(apiService: ApiService);
|
|
1538
|
+
fetchTags({ page, search, limit }: FetchProductTagsParams): Observable<ProductTagsResponse>;
|
|
1539
|
+
fetchOneById(id: number): Observable<ProductTagResponse>;
|
|
1540
|
+
createOne(data: ProductTag): Observable<any>;
|
|
1541
|
+
updateOne(id: number, data: ProductTag): Observable<ProductTagResponse>;
|
|
1542
|
+
deleteOne(id: number): Observable<any>;
|
|
1543
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTagService, never>;
|
|
1544
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTagService>;
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
declare class ProductTypeService {
|
|
1548
|
+
private apiService;
|
|
1549
|
+
constructor(apiService: ApiService);
|
|
1550
|
+
fetchTypes({ page, search, limit }: FetchProductTypesParams): Observable<ProductTypesResponse>;
|
|
1551
|
+
fetchOneById(id: number): Observable<ProductTypeResponse>;
|
|
1552
|
+
createOne(data: ProductType): Observable<any>;
|
|
1553
|
+
updateOne(id: number, data: ProductType): Observable<ProductTypeResponse>;
|
|
1554
|
+
deleteOne(id: number): Observable<any>;
|
|
1555
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTypeService, never>;
|
|
1556
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTypeService>;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
interface FetchProductsParams {
|
|
1560
|
+
page?: number;
|
|
1561
|
+
limit?: number;
|
|
1562
|
+
search?: string;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
declare class ProductService {
|
|
1566
|
+
private apiService;
|
|
1567
|
+
private productsSubject;
|
|
1568
|
+
products$: Observable<Product[]>;
|
|
1569
|
+
constructor(apiService: ApiService);
|
|
1570
|
+
fetchProducts({ page, search, limit, }: FetchProductsParams): Observable<ProductsResponseInterface>;
|
|
1571
|
+
loadProducts(params: FetchProductsParams): void;
|
|
1572
|
+
getCurrentProducts(): Product[];
|
|
1573
|
+
fetchOneById(id: number): Observable<ProductResponse>;
|
|
1574
|
+
createOne(data: Product): Observable<any>;
|
|
1575
|
+
updateOne(id: number, data: any): Observable<ProductResponse>;
|
|
1576
|
+
deleteOne(id: number): Observable<any>;
|
|
1577
|
+
fetchImages(id: number): Observable<{
|
|
1578
|
+
data: ProductImage[];
|
|
1579
|
+
}>;
|
|
1580
|
+
uploadImages(id: number, files?: FormData): Observable<{
|
|
1581
|
+
data: ProductImage[];
|
|
1582
|
+
}>;
|
|
1583
|
+
deleteOneImage(productId: number, imageId: number): Observable<any>;
|
|
1584
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
1585
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
declare class BaseModalService {
|
|
1589
|
+
readonly isOpen: WritableSignal<boolean>;
|
|
1590
|
+
get modalIsOpen(): WritableSignal<boolean>;
|
|
1591
|
+
open(): void;
|
|
1592
|
+
close(): void;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
declare class FeedbackModalService {
|
|
1596
|
+
private _modals;
|
|
1597
|
+
readonly modals: i0.Signal<FeedbackModalElement[]>;
|
|
1598
|
+
addModal(modal: FeedbackModalElement): void;
|
|
1599
|
+
removeModal(id: string): void;
|
|
1600
|
+
removeAllModals(): void;
|
|
1601
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalService, never>;
|
|
1602
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FeedbackModalService>;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1337
1605
|
declare const authInterceptor: HttpInterceptorFn;
|
|
1338
1606
|
|
|
1339
1607
|
declare class AppButtonComponent {
|
|
@@ -1341,7 +1609,7 @@ declare class AppButtonComponent {
|
|
|
1341
1609
|
disabled: boolean;
|
|
1342
1610
|
loading: boolean;
|
|
1343
1611
|
type: 'button' | 'submit';
|
|
1344
|
-
variant: 'primary' | 'secondary' | '
|
|
1612
|
+
variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
|
|
1345
1613
|
text: string;
|
|
1346
1614
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1347
1615
|
loadingText: string;
|
|
@@ -1353,7 +1621,6 @@ declare class AppButtonComponent {
|
|
|
1353
1621
|
}
|
|
1354
1622
|
|
|
1355
1623
|
declare class AppLinkButtonComponent {
|
|
1356
|
-
protected readonly BASE_BUTTON_CLASSES: string;
|
|
1357
1624
|
disabled: boolean;
|
|
1358
1625
|
loading: boolean;
|
|
1359
1626
|
target: '_blank' | '_self' | '_parent' | '_top';
|
|
@@ -1363,7 +1630,7 @@ declare class AppLinkButtonComponent {
|
|
|
1363
1630
|
route: string;
|
|
1364
1631
|
queryParams: Record<string, any>;
|
|
1365
1632
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1366
|
-
variant: 'primary' | 'secondary' | '
|
|
1633
|
+
variant: 'primary' | 'secondary' | 'tertiary' | 'success' | 'transparent';
|
|
1367
1634
|
get buttonClasses(): string;
|
|
1368
1635
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppLinkButtonComponent, never>;
|
|
1369
1636
|
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>;
|
|
@@ -1374,23 +1641,34 @@ declare class AppAlertComponent {
|
|
|
1374
1641
|
text: string;
|
|
1375
1642
|
closeable: boolean;
|
|
1376
1643
|
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
1377
|
-
get alertColorClasses(): string;
|
|
1378
|
-
get alertSizeClasses(): string;
|
|
1379
|
-
get alertClasses(): string;
|
|
1380
1644
|
get alertIcon(): string;
|
|
1381
1645
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppAlertComponent, never>;
|
|
1382
1646
|
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>;
|
|
1383
1647
|
}
|
|
1384
1648
|
|
|
1385
|
-
declare class
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1649
|
+
declare class FeedbackModalComponent implements OnChanges, OnDestroy {
|
|
1650
|
+
isOpen: WritableSignal<boolean>;
|
|
1651
|
+
type: FeedbackModalType;
|
|
1652
|
+
title: string;
|
|
1653
|
+
message: string;
|
|
1654
|
+
showHeader: boolean;
|
|
1655
|
+
showCloseButton: boolean;
|
|
1656
|
+
showTitle: boolean;
|
|
1657
|
+
autoClose: boolean;
|
|
1658
|
+
autoCloseDuration: number;
|
|
1659
|
+
buttonText: string;
|
|
1660
|
+
closed: EventEmitter<void>;
|
|
1661
|
+
private autoCloseTimeout;
|
|
1662
|
+
get defaultButtonText(): string;
|
|
1663
|
+
get resolvedButtonText(): string;
|
|
1664
|
+
get buttonVariant(): 'primary' | 'secondary';
|
|
1665
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1666
|
+
ngOnDestroy(): void;
|
|
1390
1667
|
closeModal(): void;
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
static
|
|
1668
|
+
private scheduleAutoClose;
|
|
1669
|
+
private clearAutoClose;
|
|
1670
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FeedbackModalComponent, never>;
|
|
1671
|
+
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>;
|
|
1394
1672
|
}
|
|
1395
1673
|
|
|
1396
1674
|
declare class DeleteConfirmationComponent {
|
|
@@ -1413,14 +1691,16 @@ declare class DeleteConfirmationComponent {
|
|
|
1413
1691
|
declare class AppModalComponent {
|
|
1414
1692
|
title: string;
|
|
1415
1693
|
disableClose: boolean;
|
|
1694
|
+
showHeader: boolean;
|
|
1695
|
+
showCloseButton: boolean;
|
|
1696
|
+
showTitle: boolean;
|
|
1416
1697
|
isOpen: WritableSignal<boolean>;
|
|
1417
|
-
size:
|
|
1698
|
+
size: ModalSize;
|
|
1418
1699
|
closeModal: EventEmitter<void>;
|
|
1419
|
-
private readonly SIZE_CLASSES;
|
|
1420
|
-
get sizeClass(): string;
|
|
1421
1700
|
onCloseModal(): void;
|
|
1701
|
+
onKeydownEscape(): void;
|
|
1422
1702
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppModalComponent, never>;
|
|
1423
|
-
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>;
|
|
1703
|
+
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>;
|
|
1424
1704
|
}
|
|
1425
1705
|
|
|
1426
1706
|
declare class AuditInformationComponent {
|
|
@@ -1527,7 +1807,6 @@ declare class FormSelectComponent implements ControlValueAccessor {
|
|
|
1527
1807
|
get showError(): boolean;
|
|
1528
1808
|
get errorMessage(): string;
|
|
1529
1809
|
get resolvedDefaultOptionLabel(): string;
|
|
1530
|
-
get selectClasses(): string;
|
|
1531
1810
|
get fieldGroupClasses(): string;
|
|
1532
1811
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormSelectComponent, [{ optional: true; self: true; }, null]>;
|
|
1533
1812
|
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>;
|
|
@@ -1560,7 +1839,6 @@ declare class FormTextareaComponent implements ControlValueAccessor {
|
|
|
1560
1839
|
get inputId(): string;
|
|
1561
1840
|
get showError(): boolean;
|
|
1562
1841
|
get errorMessage(): string;
|
|
1563
|
-
get inputClasses(): string;
|
|
1564
1842
|
get fieldGroupClasses(): string;
|
|
1565
1843
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormTextareaComponent, [{ optional: true; self: true; }, null]>;
|
|
1566
1844
|
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>;
|
|
@@ -1628,7 +1906,6 @@ declare class ColorPickerComponent implements ControlValueAccessor {
|
|
|
1628
1906
|
selectPresetColor(color: string): void;
|
|
1629
1907
|
get inputId(): string;
|
|
1630
1908
|
get showError(): boolean;
|
|
1631
|
-
get inputClasses(): string;
|
|
1632
1909
|
get fieldGroupClasses(): string;
|
|
1633
1910
|
isValidHexColor(color: string): boolean;
|
|
1634
1911
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerComponent, [{ optional: true; self: true; }, null]>;
|
|
@@ -1665,7 +1942,6 @@ declare class DateInputComponent implements ControlValueAccessor {
|
|
|
1665
1942
|
get inputId(): string;
|
|
1666
1943
|
get showError(): boolean;
|
|
1667
1944
|
get errorMessage(): string;
|
|
1668
|
-
get inputClasses(): string;
|
|
1669
1945
|
get fieldGroupClasses(): string;
|
|
1670
1946
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [{ optional: true; self: true; }, null]>;
|
|
1671
1947
|
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "date-input", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "includeTime": { "alias": "includeTime"; "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; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1692,9 +1968,6 @@ declare class ToggleSwitchComponent implements ControlValueAccessor {
|
|
|
1692
1968
|
setDisabledState(isDisabled: boolean): void;
|
|
1693
1969
|
onToggle(): void;
|
|
1694
1970
|
get inputId(): string;
|
|
1695
|
-
get toggleSizeClasses(): string;
|
|
1696
|
-
get toggleThumbSizeClasses(): string;
|
|
1697
|
-
get toggleThumbTranslateClasses(): string;
|
|
1698
1971
|
get fieldGroupClasses(): string;
|
|
1699
1972
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitchComponent, [{ optional: true; self: true; }]>;
|
|
1700
1973
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitchComponent, "toggle-switch", never, { "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fieldGroupClass": { "alias": "fieldGroupClass"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, { "toggleClick": "toggleClick"; }, never, never, true, never>;
|
|
@@ -1783,6 +2056,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1783
2056
|
notFoundText: string;
|
|
1784
2057
|
bindLabel: string;
|
|
1785
2058
|
bindValue: string;
|
|
2059
|
+
disabled: boolean;
|
|
1786
2060
|
value: any;
|
|
1787
2061
|
onChange: any;
|
|
1788
2062
|
onTouched: any;
|
|
@@ -1812,7 +2086,7 @@ declare class AsyncSelectComponent implements OnInit, OnDestroy, OnChanges, Cont
|
|
|
1812
2086
|
registerOnTouched(fn: any): void;
|
|
1813
2087
|
setDisabledState(isDisabled: boolean): void;
|
|
1814
2088
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncSelectComponent, never>;
|
|
1815
|
-
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>;
|
|
2089
|
+
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>;
|
|
1816
2090
|
}
|
|
1817
2091
|
|
|
1818
2092
|
declare class ChangePasswordFormComponent {
|
|
@@ -2336,5 +2610,5 @@ declare class ZonePriceListComponent {
|
|
|
2336
2610
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
|
|
2337
2611
|
}
|
|
2338
2612
|
|
|
2339
|
-
export { ADMIN_API_ROUTES,
|
|
2340
|
-
export type { Admin, AdminsResponse, AsyncSelectConfig, Auditable, CitiesResponse, City, CityResponse, CorporateBond, CorporateBondCode, CorporateBondResponse, CountriesResponse, Country, CountryResponse, Coupon, CouponResponse, Customer, CustomerResponse, CustomersResponse, DailyPerformanceHall, DailyPerformanceItem, DailyPerformancePriceZone, DailyPerformanceShow, DailyPerformanceVenue, DailyPerformancesResponse, DeleteConfirmationOpen, DragDropEvent, DynamicTableHeader, ElementPropertiesTab, FetchCitiesParams, FetchDailyPerformancesParams, FetchShowsParams, FileUploadConfig, FindAllPriceZoneParams, Hall, HallFloor, NumerationConfig, Order, OrderItem, OrderResponse, OrdersResponse, Performance, PerformanceAvailableDay, PerformanceBookingDataResponse, PerformanceResponse, PerformanceTicket, PerformancesAvailableDaysResponse, PerformancesResponseInterface, PriceZone, PriceZoneResponse, PriceZoneUpdateResponse, PriceZonesResponseInterface, Product, ProductResponse, ProductsResponseInterface, RoomMap, RoomMapBaseElement, RoomMapCanvasConfiguration, RoomMapCanvasElement, RoomMapChairPosition, RoomMapElementTemplate, RoomMapExitElement, RoomMapGridPosition, RoomMapPosition, RoomMapProductionAreaElement, RoomMapSeatDisplayState, RoomMapSeatElement, RoomMapSeatState, RoomMapSize, RoomMapStageElement, RoomMapTableElement, RoomMapUnavailableElement, RoomMapZoneElement, SelectOption, Show, ShowImage, ShowResponse, ShowType, ShowsResponseInterface, State, StateResponse, StatesResponse, TickeraComponentsConfig, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, Venue, VenueImage };
|
|
2613
|
+
export { ADMIN_API_ROUTES, ALERT_ICONS, AdminSelectComponent, AdminService, ApiService, AppAlertComponent, 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, CorporateBondStatus, CountrySelectComponent, CountryService, CouponApplicability, CouponDiscountType, CouponStatus, CustomerSelectComponent, CustomerService, 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, GiftBondStatus, LanguageSwitcherComponent, MinTodayValidator, MustMatchValidator, OrderItemType, OrderStatus, PAYMENT_METHODS_OPTIONS, PERFORMANCES_API_ROUTES, PRICE_ZONES_API_ROUTES, PRODUCTS_API_ROUTES, PRODUCT_CATEGORIES_API_ROUTES, PRODUCT_TAGS_API_ROUTES, PRODUCT_TYPES_API_ROUTES, PerformanceCardComponent, PerformanceCardListComponent, PerformanceMultiSelectComponent, PerformanceSelectComponent, PerformanceService, PerformanceStatus, PerformanceStepperComponent, PerformanceTicketStatus, PerformancesListEventsService, PriceZoneEventService, PriceZoneFormModalService, PriceZoneSelectComponent, PriceZoneService, ProductCategoryService, ProductMultiSelectComponent, ProductSelectComponent, ProductService, ProductTagService, ProductTypeService, RoomMapElementOrientation, RoomMapElementType, SHOWS_API_ROUTES, STATE_API_ENDPOINTS, ShowMultiSelectComponent, ShowSelectComponent, ShowService, ShowsFilterComponent, StateSelectComponent, StatesService, TICKERA_COMPONENTS_CONFIG, TickeraTranslocoLoader, ToastService, ToggleSwitchComponent, VENUES_API_ROUTES, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, formatCitiesResponseToSelect, getBrowserLanguage, getCustomerFullname, getStoredLanguage, parseJsonToFormDataAdvanced, provideTickeraComponents, resolveLanguage, setStoredLanguage, transformImageToFile };
|
|
2614
|
+
export type { Admin, AdminsResponse, AsyncSelectConfig, Auditable, CitiesResponse, City, CityResponse, CorporateBond, CorporateBondCode, CorporateBondResponse, CountriesResponse, Country, CountryResponse, Coupon, CouponResponse, Customer, CustomerResponse, CustomersResponse, DailyPerformanceHall, DailyPerformanceItem, DailyPerformancePriceZone, DailyPerformanceShow, DailyPerformanceVenue, DailyPerformancesResponse, DeleteConfirmationOpen, DragDropEvent, DynamicTableHeader, ElementPropertiesTab, FeedbackModalElement, FeedbackModalType, FetchCitiesParams, FetchDailyPerformancesParams, FetchProductCategoriesParams, FetchProductTagsParams, FetchProductTypesParams, FetchShowsParams, FileUploadConfig, FindAllPriceZoneParams, GiftBond, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, ModalSize, NumerationConfig, Order, 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, RoomMap, RoomMapBaseElement, RoomMapCanvasConfiguration, RoomMapCanvasElement, RoomMapChairPosition, RoomMapElementTemplate, RoomMapExitElement, RoomMapGridPosition, RoomMapPosition, RoomMapProductionAreaElement, RoomMapSeatDisplayState, RoomMapSeatElement, RoomMapSeatState, RoomMapSize, RoomMapStageElement, RoomMapTableElement, RoomMapUnavailableElement, RoomMapZoneElement, SelectOption, Show, ShowCategoriesResponse, ShowCategory, ShowCategoryResponse, ShowGender, ShowGenderResponse, ShowGendersResponse, ShowImage, ShowResponse, ShowType, ShowsResponseInterface, State, StateResponse, StatesResponse, TickeraComponentsConfig, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage };
|