tickera-angular-components 0.0.1-dev.24 → 0.0.1-dev.26

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.
@@ -206,51 +206,6 @@ const ALERT_ICONS = {
206
206
  info: 'ri-info-line',
207
207
  };
208
208
 
209
- const BUTTON_VARIANT_CLASSES = {
210
- primary: 'btn-primary',
211
- secondary: 'btn-secondary',
212
- tertiary: 'btn-tertiary',
213
- success: 'btn-success',
214
- transparent: 'btn-transparent',
215
- };
216
- const BASE_BUTTON_CLASSES = 'btn';
217
- const BUTTON_SIZES_CLASSES = {
218
- xs: 'btn-xs',
219
- sm: 'btn-sm',
220
- md: 'btn-md',
221
- lg: 'btn-lg',
222
- };
223
-
224
- const FORM_ERROR_MESSAGES = {
225
- required: 'Este campo es requerido',
226
- minlength: 'Debe tener al menos caracteres',
227
- maxlength: 'Debe tener al menos caracteres',
228
- pattern: 'El formato no es válido',
229
- email: 'El formato no es válido',
230
- mustMatch: 'Las contraseñas no coinciden',
231
- matDatepickerMin: 'La fecha no puede ser anterior a la fecha mínima permitida',
232
- matDatepickerMax: 'La fecha no puede ser posterior a la fecha máxima permitida',
233
- };
234
-
235
- const BASE_INPUT_CLASSES = [
236
- 'block',
237
- 'w-full',
238
- 'rounded-md',
239
- 'px-3',
240
- 'py-1.5',
241
- 'text-base',
242
- 'text-gray-900',
243
- 'outline-1',
244
- '-outline-offset-1',
245
- 'outline-gray-300',
246
- 'placeholder:text-gray-400',
247
- 'focus:outline-2',
248
- 'focus:-outline-offset-2',
249
- 'focus:outline-indigo-600',
250
- 'sm:text-sm/6',
251
- ].join(' ');
252
- const ERROR_INPUT_CLASSES = BASE_INPUT_CLASSES + ' outline-red-500 dark:outline-red-500';
253
-
254
209
  const ADMIN_API_ROUTES = {
255
210
  FIND_ALL: '/admins',
256
211
  CREATE: '/admins/auth/register',
@@ -375,6 +330,67 @@ const VENUES_API_ROUTES = {
375
330
  deleteOneImage: (venueId, imageId) => '/venues/' + venueId + '/images/' + imageId,
376
331
  };
377
332
 
333
+ const BUTTON_VARIANT_CLASSES = {
334
+ primary: 'btn-primary',
335
+ secondary: 'btn-secondary',
336
+ tertiary: 'btn-tertiary',
337
+ success: 'btn-success',
338
+ transparent: 'btn-transparent',
339
+ };
340
+ const BASE_BUTTON_CLASSES = 'btn';
341
+ const BUTTON_SIZES_CLASSES = {
342
+ xs: 'btn-xs',
343
+ sm: 'btn-sm',
344
+ md: 'btn-md',
345
+ lg: 'btn-lg',
346
+ };
347
+
348
+ const FORM_ERROR_MESSAGES = {
349
+ required: 'Este campo es requerido',
350
+ minlength: 'Debe tener al menos caracteres',
351
+ maxlength: 'Debe tener al menos caracteres',
352
+ pattern: 'El formato no es válido',
353
+ email: 'El formato no es válido',
354
+ mustMatch: 'Las contraseñas no coinciden',
355
+ matDatepickerMin: 'La fecha no puede ser anterior a la fecha mínima permitida',
356
+ matDatepickerMax: 'La fecha no puede ser posterior a la fecha máxima permitida',
357
+ };
358
+
359
+ const BASE_INPUT_CLASSES = [
360
+ 'block',
361
+ 'w-full',
362
+ 'rounded-md',
363
+ 'px-3',
364
+ 'py-1.5',
365
+ 'text-base',
366
+ 'text-gray-900',
367
+ 'outline-1',
368
+ '-outline-offset-1',
369
+ 'outline-gray-300',
370
+ 'placeholder:text-gray-400',
371
+ 'focus:outline-2',
372
+ 'focus:-outline-offset-2',
373
+ 'focus:outline-indigo-600',
374
+ 'sm:text-sm/6',
375
+ ].join(' ');
376
+ const ERROR_INPUT_CLASSES = BASE_INPUT_CLASSES + ' outline-red-500 dark:outline-red-500';
377
+
378
+ const DOCUMENT_TYPES_OPTIONS = [
379
+ { value: 'CC', label: 'documentType.cc' },
380
+ { value: 'CE', label: 'documentType.ce' },
381
+ { value: 'NIT', label: 'documentType.nit' },
382
+ { value: 'PP', label: 'documentType.pp' },
383
+ { value: 'TI', label: 'documentType.ti' },
384
+ ];
385
+
386
+ const PAYMENT_METHODS_OPTIONS = [
387
+ { value: 'credit_card', label: 'paymentMethod.creditCard' },
388
+ { value: 'debit_card', label: 'paymentMethod.debitCard' },
389
+ { value: 'pse', label: 'paymentMethod.pse' },
390
+ { value: 'cash', label: 'paymentMethod.cash' },
391
+ { value: 'bank_transfer', label: 'paymentMethod.bankTransfer' },
392
+ ];
393
+
378
394
  var FileType;
379
395
  (function (FileType) {
380
396
  FileType["IMAGE"] = "image";
@@ -418,9 +434,11 @@ var CorporateBondStatus;
418
434
 
419
435
  var PerformanceStatus;
420
436
  (function (PerformanceStatus) {
421
- PerformanceStatus["ACTIVE"] = "active";
437
+ PerformanceStatus["SCHEDULED"] = "scheduled";
438
+ PerformanceStatus["OPEN"] = "open";
439
+ PerformanceStatus["CLOSED"] = "closed";
422
440
  PerformanceStatus["CANCELLED"] = "cancelled";
423
- PerformanceStatus["FINISHED"] = "finished";
441
+ PerformanceStatus["COMPLETED"] = "completed";
424
442
  PerformanceStatus["POSTPONED"] = "postponed";
425
443
  })(PerformanceStatus || (PerformanceStatus = {}));
426
444
 
@@ -5439,5 +5457,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
5439
5457
  * Generated bundle index. Do not edit.
5440
5458
  */
5441
5459
 
5442
- 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, DateInputComponent, DateService, DaySelectorGridComponent, DeleteConfirmationComponent, DeleteConfirmationService, DynamicTableComponent, ERROR_INPUT_CLASSES, EndDateGreaterThanStartValidator, ErrorFeedbackModalComponent, FORM_ERROR_MESSAGES, FeedbackModalService, FileType, FileUploadComponent, FileUploadPreviewComponent, FormEditorComponent, FormInputComponent, FormSelectComponent, FormTextareaComponent, GiftBondStatus, InfoFeedbackModalComponent, LanguageSwitcherComponent, LoadingFeedbackModalComponent, MinTodayValidator, MustMatchValidator, OrderItemType, OrderStatus, 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, SuccessFeedbackModalComponent, TICKERA_COMPONENTS_CONFIG, TickeraTranslocoLoader, ToastService, ToggleSwitchComponent, VENUES_API_ROUTES, WarningFeedbackModalComponent, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, formatCitiesResponseToSelect, getBrowserLanguage, getCustomerFullname, getStoredLanguage, parseJsonToFormDataAdvanced, provideTickeraComponents, resolveLanguage, setStoredLanguage, transformImageToFile };
5460
+ 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, ErrorFeedbackModalComponent, FORM_ERROR_MESSAGES, FeedbackModalService, FileType, FileUploadComponent, FileUploadPreviewComponent, FormEditorComponent, FormInputComponent, FormSelectComponent, FormTextareaComponent, GiftBondStatus, InfoFeedbackModalComponent, LanguageSwitcherComponent, LoadingFeedbackModalComponent, 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, SuccessFeedbackModalComponent, TICKERA_COMPONENTS_CONFIG, TickeraTranslocoLoader, ToastService, ToggleSwitchComponent, VENUES_API_ROUTES, WarningFeedbackModalComponent, ZonePriceItemComponent, ZonePriceListComponent, authInterceptor, formatCitiesResponseToSelect, getBrowserLanguage, getCustomerFullname, getStoredLanguage, parseJsonToFormDataAdvanced, provideTickeraComponents, resolveLanguage, setStoredLanguage, transformImageToFile };
5443
5461
  //# sourceMappingURL=tickera-angular-components.mjs.map