tickera-angular-components 0.0.1-dev.31 → 0.0.1-dev.33
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 +1184 -3
- package/fesm2022/tickera-angular-components.mjs.map +1 -1
- package/index.d.ts +306 -148
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { InjectionToken, EnvironmentProviders, WritableSignal, EventEmitter, OnC
|
|
|
3
3
|
import { TranslocoLoader, TranslocoService } from '@jsverse/transloco';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
5
|
import { Observable, Subject } from 'rxjs';
|
|
6
|
+
import { ShapeConfig, Shape } from 'konva/lib/Shape';
|
|
7
|
+
import { Context } from 'konva/lib/Context';
|
|
6
8
|
import { ValidatorFn, FormGroup, FormBuilder, ControlValueAccessor, NgControl, Validator, AbstractControl, FormControl } from '@angular/forms';
|
|
7
9
|
import { HttpClient, HttpInterceptorFn } from '@angular/common/http';
|
|
8
10
|
import { Toolbar, Editor } from 'ngx-editor';
|
|
@@ -535,25 +537,40 @@ interface FeedbackModalElement {
|
|
|
535
537
|
closeModal?: void;
|
|
536
538
|
}
|
|
537
539
|
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
540
|
+
declare enum FileType {
|
|
541
|
+
IMAGE = "image",
|
|
542
|
+
PDF = "pdf",
|
|
543
|
+
EXCEL = "excel",
|
|
544
|
+
WORD = "word",
|
|
545
|
+
TEXT = "text",
|
|
546
|
+
DEFAULT = "default"
|
|
543
547
|
}
|
|
544
548
|
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
549
|
+
declare enum CouponApplicability {
|
|
550
|
+
GENERAL = "GENERAL",
|
|
551
|
+
CUSTOMER_EMAIL = "CUSTOMER_EMAIL",
|
|
552
|
+
MEMBERSHIP_TYPE = "MEMBERSHIP_TYPE",
|
|
553
|
+
SHOWS = "SHOWS",
|
|
554
|
+
PERFORMANCES = "PERFORMANCES"
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
declare enum CouponDiscountType {
|
|
558
|
+
PERCENTAGE = "PERCENTAGE",
|
|
559
|
+
FIXED = "FIXED"
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
declare enum CouponStatus {
|
|
563
|
+
ACTIVE = "ACTIVE",
|
|
564
|
+
INACTIVE = "INACTIVE",
|
|
565
|
+
EXPIRED = "EXPIRED",
|
|
566
|
+
CONSUMED = "CONSUMED"
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
declare enum CorporateBondStatus {
|
|
570
|
+
ACTIVE = "ACTIVE",
|
|
571
|
+
INACTIVE = "INACTIVE",
|
|
572
|
+
EXPIRED = "EXPIRED",
|
|
573
|
+
CONSUMED = "CONSUMED"
|
|
557
574
|
}
|
|
558
575
|
|
|
559
576
|
declare enum PerformanceStatus {
|
|
@@ -565,14 +582,18 @@ declare enum PerformanceStatus {
|
|
|
565
582
|
POSTPONED = "postponed"
|
|
566
583
|
}
|
|
567
584
|
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
585
|
+
declare enum PerformanceTicketStatus {
|
|
586
|
+
AVAILABLE = "available",
|
|
587
|
+
RESERVED = "reserved",
|
|
588
|
+
SOLD = "sold",
|
|
589
|
+
BLOCKED = "blocked"
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
declare enum GiftBondStatus {
|
|
593
|
+
ACTIVE = "ACTIVE",
|
|
594
|
+
INACTIVE = "INACTIVE",
|
|
595
|
+
EXPIRED = "EXPIRED",
|
|
596
|
+
CONSUMED = "CONSUMED"
|
|
576
597
|
}
|
|
577
598
|
|
|
578
599
|
interface FetchProductCategoriesParams {
|
|
@@ -695,6 +716,30 @@ interface Product extends Auditable {
|
|
|
695
716
|
images?: ProductImage[];
|
|
696
717
|
}
|
|
697
718
|
|
|
719
|
+
interface ShowImage {
|
|
720
|
+
id: number;
|
|
721
|
+
path: string;
|
|
722
|
+
full_url: string;
|
|
723
|
+
original_name: string;
|
|
724
|
+
extension: string;
|
|
725
|
+
size: number;
|
|
726
|
+
mime_type: string;
|
|
727
|
+
width: number;
|
|
728
|
+
height: number;
|
|
729
|
+
show_id: number;
|
|
730
|
+
created_at: Date;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
interface PriceZone extends Auditable {
|
|
734
|
+
id: number;
|
|
735
|
+
name: string;
|
|
736
|
+
color: string;
|
|
737
|
+
normal_price: number | null;
|
|
738
|
+
is_active: boolean;
|
|
739
|
+
elements: any[];
|
|
740
|
+
room_map_id: number | null;
|
|
741
|
+
}
|
|
742
|
+
|
|
698
743
|
interface NumerationConfig {
|
|
699
744
|
start_row_letter: string;
|
|
700
745
|
row_order: 'TOP_TO_BOTTOM' | 'BOTTOM_TO_TOP';
|
|
@@ -821,85 +866,6 @@ interface Show extends Auditable {
|
|
|
821
866
|
next_performance?: Performance;
|
|
822
867
|
}
|
|
823
868
|
|
|
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;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
interface PerformanceResponse {
|
|
882
|
-
statusCode: number;
|
|
883
|
-
data: Performance;
|
|
884
|
-
message: string;
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
interface PerformancesResponseInterface {
|
|
888
|
-
statusCode: number;
|
|
889
|
-
data: {
|
|
890
|
-
performances: Performance[];
|
|
891
|
-
total: number;
|
|
892
|
-
};
|
|
893
|
-
message: string;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
declare enum PerformanceTicketStatus {
|
|
897
|
-
AVAILABLE = "available",
|
|
898
|
-
RESERVED = "reserved",
|
|
899
|
-
SOLD = "sold",
|
|
900
|
-
BLOCKED = "blocked"
|
|
901
|
-
}
|
|
902
|
-
|
|
903
869
|
interface OrderItem extends Auditable {
|
|
904
870
|
id: number;
|
|
905
871
|
order: Order;
|
|
@@ -915,26 +881,6 @@ interface OrderItem extends Auditable {
|
|
|
915
881
|
item: Show | Product;
|
|
916
882
|
}
|
|
917
883
|
|
|
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"
|
|
936
|
-
}
|
|
937
|
-
|
|
938
884
|
interface Coupon extends Auditable {
|
|
939
885
|
id: number;
|
|
940
886
|
code: string;
|
|
@@ -959,13 +905,6 @@ interface Coupon extends Auditable {
|
|
|
959
905
|
customers?: Customer[];
|
|
960
906
|
}
|
|
961
907
|
|
|
962
|
-
declare enum CorporateBondStatus {
|
|
963
|
-
ACTIVE = "ACTIVE",
|
|
964
|
-
INACTIVE = "INACTIVE",
|
|
965
|
-
EXPIRED = "EXPIRED",
|
|
966
|
-
CONSUMED = "CONSUMED"
|
|
967
|
-
}
|
|
968
|
-
|
|
969
908
|
interface CorporateBond extends Auditable {
|
|
970
909
|
id: number;
|
|
971
910
|
name: string;
|
|
@@ -1073,6 +1012,169 @@ interface PerformanceTicket extends Auditable {
|
|
|
1073
1012
|
element_qty?: number;
|
|
1074
1013
|
}
|
|
1075
1014
|
|
|
1015
|
+
interface TicketMapSeatPosition {
|
|
1016
|
+
rowIndex: number;
|
|
1017
|
+
colIndex: number;
|
|
1018
|
+
seatLabel: string;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
interface TicketMapTableChairPosition {
|
|
1022
|
+
index: number;
|
|
1023
|
+
angle: number;
|
|
1024
|
+
x: number;
|
|
1025
|
+
y: number;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
interface ElementRenderData {
|
|
1029
|
+
elementId: number;
|
|
1030
|
+
hallFloorId: number | null;
|
|
1031
|
+
type: RoomMapElementType;
|
|
1032
|
+
shapeConfig: Record<string, any>;
|
|
1033
|
+
tickets: PerformanceTicket[];
|
|
1034
|
+
ticketByNumeration: Map<string, PerformanceTicket>;
|
|
1035
|
+
elementName: string;
|
|
1036
|
+
seatPositions?: TicketMapSeatPosition[][];
|
|
1037
|
+
chairPositions?: TicketMapTableChairPosition[];
|
|
1038
|
+
zoneCapacity?: number;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
interface TicketMapTooltipData {
|
|
1042
|
+
x: number;
|
|
1043
|
+
y: number;
|
|
1044
|
+
elementName: string;
|
|
1045
|
+
seatLabel: string | null;
|
|
1046
|
+
price: number;
|
|
1047
|
+
status: PerformanceTicketStatus;
|
|
1048
|
+
statusLabel: string;
|
|
1049
|
+
statusColor: string;
|
|
1050
|
+
isSelected: boolean;
|
|
1051
|
+
ticketId: number;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
interface TicketMapZoneQuantityState {
|
|
1055
|
+
elementId: number;
|
|
1056
|
+
selectedCount: number;
|
|
1057
|
+
maxCapacity: number;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
interface ReservePerformanceDto {
|
|
1061
|
+
ticket_ids: number[];
|
|
1062
|
+
products?: {
|
|
1063
|
+
id: number;
|
|
1064
|
+
quantity: number;
|
|
1065
|
+
}[];
|
|
1066
|
+
coupon_code?: string;
|
|
1067
|
+
gift_bond_code?: string;
|
|
1068
|
+
corporate_bond_code?: string;
|
|
1069
|
+
billing: {
|
|
1070
|
+
first_name: string;
|
|
1071
|
+
last_name: string;
|
|
1072
|
+
email: string;
|
|
1073
|
+
mobile: string;
|
|
1074
|
+
document_type: string;
|
|
1075
|
+
document_number: string;
|
|
1076
|
+
address: string;
|
|
1077
|
+
city_id: number;
|
|
1078
|
+
postal_code?: string;
|
|
1079
|
+
address_notes?: string;
|
|
1080
|
+
payment_method: string;
|
|
1081
|
+
terms_accepted: boolean;
|
|
1082
|
+
data_processing_accepted: boolean;
|
|
1083
|
+
comments?: string;
|
|
1084
|
+
};
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
declare enum SelectedDiscountCardType {
|
|
1088
|
+
COUPON = "COUPON",
|
|
1089
|
+
CORPORATE_BOND = "CORPORATE_BOND",
|
|
1090
|
+
GIFT_BOND = "GIFT_BOND"
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
interface SelectedDiscountCard {
|
|
1094
|
+
name: string;
|
|
1095
|
+
type: SelectedDiscountCardType;
|
|
1096
|
+
value: number;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
interface FetchShowsParams {
|
|
1100
|
+
page?: number;
|
|
1101
|
+
limit?: number;
|
|
1102
|
+
search?: string;
|
|
1103
|
+
date?: string;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
interface ShowResponse {
|
|
1107
|
+
statusCode: number;
|
|
1108
|
+
data: Show;
|
|
1109
|
+
message: string;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
interface ShowsResponseInterface {
|
|
1113
|
+
statusCode: number;
|
|
1114
|
+
data: {
|
|
1115
|
+
shows: Show[];
|
|
1116
|
+
total: number;
|
|
1117
|
+
};
|
|
1118
|
+
message: string;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
interface ShowCategory extends Auditable {
|
|
1122
|
+
id: number;
|
|
1123
|
+
name: string;
|
|
1124
|
+
slug: string;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
interface ShowCategoriesResponse {
|
|
1128
|
+
statusCode: number;
|
|
1129
|
+
data: {
|
|
1130
|
+
categories: ShowCategory[];
|
|
1131
|
+
total: number;
|
|
1132
|
+
};
|
|
1133
|
+
message: string;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
interface ShowCategoryResponse {
|
|
1137
|
+
statusCode: number;
|
|
1138
|
+
data: ShowCategory;
|
|
1139
|
+
message: string;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
interface ShowGender extends Auditable {
|
|
1143
|
+
id: number;
|
|
1144
|
+
name: string;
|
|
1145
|
+
slug: string;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
interface ShowGenderResponse {
|
|
1149
|
+
statusCode: number;
|
|
1150
|
+
data: ShowGender;
|
|
1151
|
+
message: string;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
interface ShowGendersResponse {
|
|
1155
|
+
statusCode: number;
|
|
1156
|
+
data: {
|
|
1157
|
+
genders: ShowGender[];
|
|
1158
|
+
total: number;
|
|
1159
|
+
};
|
|
1160
|
+
message: string;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
interface PerformanceResponse {
|
|
1164
|
+
statusCode: number;
|
|
1165
|
+
data: Performance;
|
|
1166
|
+
message: string;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
interface PerformancesResponseInterface {
|
|
1170
|
+
statusCode: number;
|
|
1171
|
+
data: {
|
|
1172
|
+
performances: Performance[];
|
|
1173
|
+
total: number;
|
|
1174
|
+
};
|
|
1175
|
+
message: string;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1076
1178
|
interface PerformanceBookingDataResponse {
|
|
1077
1179
|
statusCode: number;
|
|
1078
1180
|
data: {
|
|
@@ -1201,13 +1303,6 @@ interface FindAllPriceZoneParams {
|
|
|
1201
1303
|
limit?: number;
|
|
1202
1304
|
}
|
|
1203
1305
|
|
|
1204
|
-
declare enum GiftBondStatus {
|
|
1205
|
-
ACTIVE = "ACTIVE",
|
|
1206
|
-
INACTIVE = "INACTIVE",
|
|
1207
|
-
EXPIRED = "EXPIRED",
|
|
1208
|
-
CONSUMED = "CONSUMED"
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
1306
|
interface GiftBond extends Auditable {
|
|
1212
1307
|
id: number;
|
|
1213
1308
|
uuid: string;
|
|
@@ -1262,14 +1357,15 @@ declare const DOCUMENT_TYPES_OPTIONS: SelectOption[];
|
|
|
1262
1357
|
|
|
1263
1358
|
declare const PAYMENT_METHODS_OPTIONS: SelectOption[];
|
|
1264
1359
|
|
|
1265
|
-
declare
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1360
|
+
declare const TICKET_ELEMENT_TYPES: RoomMapElementType[];
|
|
1361
|
+
declare const DEFAULT_STAGE_CONFIG: {
|
|
1362
|
+
[x: string]: any;
|
|
1363
|
+
};
|
|
1364
|
+
declare const TICKET_STATUS_COLORS: Record<PerformanceTicketStatus, string>;
|
|
1365
|
+
declare const TICKET_STATUS_FILLS: Record<PerformanceTicketStatus, string>;
|
|
1366
|
+
declare const TICKET_STATUS_LABELS: Record<PerformanceTicketStatus, string>;
|
|
1367
|
+
declare const TICKET_MAP_GRID_SIZE = 30;
|
|
1368
|
+
declare const TICKET_MAP_TITLE_HEIGHT = 30;
|
|
1273
1369
|
|
|
1274
1370
|
declare const getCustomerFullname: (customer: Customer) => string;
|
|
1275
1371
|
|
|
@@ -1282,6 +1378,68 @@ declare const formatCitiesResponseToSelect: (res: CitiesResponse) => {
|
|
|
1282
1378
|
label: string;
|
|
1283
1379
|
}[];
|
|
1284
1380
|
|
|
1381
|
+
interface KonvaShapeConfig {
|
|
1382
|
+
config: ShapeConfig;
|
|
1383
|
+
layer: 'background' | 'elements' | 'foreground' | 'overlay';
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
declare function drawRoundedRect(con: Context, shape: Shape, x: number, y: number, width: number, height: number, cornerRadius: number): void;
|
|
1387
|
+
|
|
1388
|
+
declare const generateExitScene: (con: Context, shape: Shape) => void;
|
|
1389
|
+
|
|
1390
|
+
declare const generateHallwayScene: (con: Context, shape: Shape) => void;
|
|
1391
|
+
|
|
1392
|
+
declare const generateProductionAreaScene: (con: Context, shape: Shape) => void;
|
|
1393
|
+
|
|
1394
|
+
declare const generateSeatBlockScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1395
|
+
start_row_letter: string;
|
|
1396
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1397
|
+
start_column_number: number;
|
|
1398
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1399
|
+
}) => void;
|
|
1400
|
+
|
|
1401
|
+
declare const generateStageScene: (con: Context, shape: Shape) => void;
|
|
1402
|
+
|
|
1403
|
+
declare const generateStairScene: (con: Context, shape: Shape) => void;
|
|
1404
|
+
|
|
1405
|
+
declare const generateTableScene: (con: Context, shape: Shape) => void;
|
|
1406
|
+
|
|
1407
|
+
declare const generateUnavailableSpaceScene: (con: Context, shape: Shape) => void;
|
|
1408
|
+
|
|
1409
|
+
declare const generateZoneScene: (con: Context, shape: Shape) => void;
|
|
1410
|
+
|
|
1411
|
+
declare function tintColor(hex: string, amount?: number): string;
|
|
1412
|
+
|
|
1413
|
+
declare const drawChairIcon: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1414
|
+
|
|
1415
|
+
declare const drawHappyFace: (con: Context, cx: number, cy: number, size: number) => void;
|
|
1416
|
+
|
|
1417
|
+
declare const drawWheelchairIcon: (con: Context, shape: Shape, cx: number, cy: number, size: number, fillColor?: string, strokeColor?: string) => void;
|
|
1418
|
+
|
|
1419
|
+
declare const numberToLetter: (num: number) => string;
|
|
1420
|
+
|
|
1421
|
+
declare const getItemTypeIcon: (ticket: PerformanceTicket) => string;
|
|
1422
|
+
|
|
1423
|
+
declare const generateSeatBlockTicketScene: (con: Context, shape: Shape, numerationConfig?: {
|
|
1424
|
+
start_row_letter: string;
|
|
1425
|
+
row_order: "TOP_TO_BOTTOM" | "BOTTOM_TO_TOP";
|
|
1426
|
+
start_column_number: number;
|
|
1427
|
+
column_order: "LEFT_TO_RIGHT" | "RIGHT_TO_LEFT";
|
|
1428
|
+
}, ticketStatusMap?: Map<string, PerformanceTicketStatus>) => void;
|
|
1429
|
+
|
|
1430
|
+
declare const generateTableTicketScene: (con: Context, shape: Shape, chairTicketStatuses?: PerformanceTicketStatus[], tableSeats?: RoomMapSeatState[][]) => void;
|
|
1431
|
+
|
|
1432
|
+
declare function processElementsToRenderData(elements: RoomMapElementTemplate[], tickets: PerformanceTicket[], priceZones?: {
|
|
1433
|
+
id: number;
|
|
1434
|
+
color: string;
|
|
1435
|
+
}[]): ElementRenderData[];
|
|
1436
|
+
declare function findTicketAtPosition(renderData: ElementRenderData, relX: number, relY: number): PerformanceTicket | null;
|
|
1437
|
+
declare function findElementAtPosition(renderDataList: ElementRenderData[], stageX: number, stageY: number): {
|
|
1438
|
+
element: ElementRenderData;
|
|
1439
|
+
relX: number;
|
|
1440
|
+
relY: number;
|
|
1441
|
+
} | null;
|
|
1442
|
+
|
|
1285
1443
|
declare function MinTodayValidator(controlName: string): ValidatorFn;
|
|
1286
1444
|
declare function EndDateGreaterThanStartValidator(startDateControlName: string, endDateControlName: string): ValidatorFn;
|
|
1287
1445
|
|
|
@@ -2610,5 +2768,5 @@ declare class ZonePriceListComponent {
|
|
|
2610
2768
|
static ɵcmp: i0.ɵɵComponentDeclaration<ZonePriceListComponent, "zone-price-list", never, { "zones": { "alias": "zones"; "required": true; }; }, {}, never, never, true, never>;
|
|
2611
2769
|
}
|
|
2612
2770
|
|
|
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 };
|
|
2771
|
+
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, 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, 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, SelectedDiscountCardType, ShowMultiSelectComponent, ShowSelectComponent, ShowService, ShowsFilterComponent, StateSelectComponent, StatesService, TICKERA_COMPONENTS_CONFIG, TICKET_ELEMENT_TYPES, TICKET_MAP_GRID_SIZE, TICKET_MAP_TITLE_HEIGHT, TICKET_STATUS_COLORS, TICKET_STATUS_FILLS, TICKET_STATUS_LABELS, TickeraTranslocoLoader, ToastService, ToggleSwitchComponent, VENUES_API_ROUTES, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, drawChairIcon, drawHappyFace, drawRoundedRect, drawWheelchairIcon, findElementAtPosition, findTicketAtPosition, formatCitiesResponseToSelect, generateExitScene, generateHallwayScene, generateProductionAreaScene, generateSeatBlockScene, generateSeatBlockTicketScene, generateStageScene, generateStairScene, generateTableScene, generateTableTicketScene, generateUnavailableSpaceScene, generateZoneScene, getBrowserLanguage, getCustomerFullname, getItemTypeIcon, getStoredLanguage, numberToLetter, parseJsonToFormDataAdvanced, processElementsToRenderData, provideTickeraComponents, resolveLanguage, setStoredLanguage, tintColor, transformImageToFile };
|
|
2772
|
+
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, ElementRenderData, FeedbackModalElement, FeedbackModalType, FetchCitiesParams, FetchDailyPerformancesParams, FetchProductCategoriesParams, FetchProductTagsParams, FetchProductTypesParams, FetchShowsParams, FileUploadConfig, FindAllPriceZoneParams, GiftBond, GiftBondResponse, GiftBondsResponse, Hall, HallFloor, KonvaShapeConfig, 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, 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, ShowType, ShowsResponseInterface, State, StateResponse, StatesResponse, TickeraComponentsConfig, TicketMapSeatPosition, TicketMapTableChairPosition, TicketMapTooltipData, TicketMapZoneQuantityState, UploadedFile, ValidateCorporateBondResponse, ValidateCouponResponse, ValidateGiftBondResponse, Venue, VenueImage };
|