tickera-angular-components 0.0.1-dev.54 → 0.0.1-dev.56

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.
@@ -39,6 +39,13 @@ var common$1 = {
39
39
  "5": "Viernes",
40
40
  "6": "Sábado",
41
41
  "7": "Domingo"
42
+ },
43
+ documentTypes: {
44
+ CC: "Cedula de ciudadania",
45
+ CE: "Cedula de extrangería",
46
+ NIT: "NIT",
47
+ PP: "Pasaporte",
48
+ TI: "Tarjeta de identidad"
42
49
  }
43
50
  };
44
51
  var fileUpload$1 = {
@@ -112,6 +119,13 @@ var common = {
112
119
  "5": "Friday",
113
120
  "6": "Saturday",
114
121
  "7": "Sunday"
122
+ },
123
+ documentTypes: {
124
+ CC: "National Identity Card",
125
+ CE: "Foreigner's Identity Card",
126
+ NIT: "Tax Identification Number (NIT)",
127
+ PP: "Passport",
128
+ TI: "Identity Card"
115
129
  }
116
130
  };
117
131
  var fileUpload = {
@@ -422,11 +436,11 @@ const BASE_INPUT_CLASSES = [
422
436
  const ERROR_INPUT_CLASSES = BASE_INPUT_CLASSES + ' outline-red-500 dark:outline-red-500';
423
437
 
424
438
  const DOCUMENT_TYPES_OPTIONS = [
425
- { value: 'CC', label: 'documentType.cc' },
426
- { value: 'CE', label: 'documentType.ce' },
427
- { value: 'NIT', label: 'documentType.nit' },
428
- { value: 'PP', label: 'documentType.pp' },
429
- { value: 'TI', label: 'documentType.ti' },
439
+ { value: 'CC', label: 'common.documentTypes.cc' },
440
+ { value: 'CE', label: 'common.documentTypes.ce' },
441
+ { value: 'NIT', label: 'common.documentTypes.nit' },
442
+ { value: 'PP', label: 'common.documentTypes.pp' },
443
+ { value: 'TI', label: 'common.documentTypes.ti' },
430
444
  ];
431
445
 
432
446
  const PAYMENT_METHODS_OPTIONS = [
@@ -3071,6 +3085,9 @@ class TicketSelectionService {
3071
3085
  };
3072
3086
  return lists[ticket.status] ?? null;
3073
3087
  }
3088
+ setSelectedTickets(tickets) {
3089
+ this._selectedTickets.set(new Set(tickets));
3090
+ }
3074
3091
  toggle(ticket) {
3075
3092
  const list = this.getListByStatus(ticket);
3076
3093
  if (list) {