@esfaenza/extensions 15.2.2 → 15.2.4

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.
@@ -1,19 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, NgModule, Injector, Injectable, Inject, Optional } from '@angular/core';
3
+ import * as i1 from '@esfaenza/localizations';
4
+ import { BaseLocalization } from '@esfaenza/localizations';
3
5
  import swal from 'sweetalert2';
6
+ import { first, map } from 'rxjs/operators';
4
7
  import { ToastrService } from 'ngx-toastr';
5
8
  import { of, Subject } from 'rxjs';
6
- import { map } from 'rxjs/operators';
7
9
  import { Deserialize } from 'cerialize';
8
10
 
9
- /**
10
- * Token che identifica il locale da utilizzare per questa libreria, sono supportati i locali 'it-IT' ed 'en-US'
11
- */
12
- const EXT_LOCALE = new InjectionToken('EXT_LOCALE');
13
- /**
14
- * Token che indica se la libreria deve utilizzare la libreria 'sweetalerts2' (più graficamente piacevolo) o se limitarsi ad usare 'toastr'
15
- */
16
- const EXT_FANCY_ALERTS = new InjectionToken('EXT_FANCY_ALERTS');
17
11
  /**
18
12
  * Token che indica il prefisso delle searchView che serve per storicizzarle evitando di tirarsi in memoria anche tutti gli oggetti. Se vuoto viene supposto 'Hot'
19
13
  */
@@ -32,8 +26,6 @@ class ExtensionsModule {
32
26
  return {
33
27
  ngModule: ExtensionsModule,
34
28
  providers: [
35
- { provide: EXT_LOCALE, useValue: config?.locale || 'it-IT' },
36
- { provide: EXT_FANCY_ALERTS, useValue: config?.fancy_alerts || true },
37
29
  { provide: APPSEARCH_PREFIX, useValue: config?.appsearch_prefix || 'Hot' },
38
30
  { provide: EXT_ALLOW_UTC, useValue: config?.allow_utc == null ? false : config?.allow_utc }
39
31
  ]
@@ -42,9 +34,12 @@ class ExtensionsModule {
42
34
  }
43
35
  ExtensionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExtensionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
44
36
  ExtensionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: ExtensionsModule });
45
- ExtensionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExtensionsModule });
37
+ ExtensionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExtensionsModule, providers: [BaseLocalization] });
46
38
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ExtensionsModule, decorators: [{
47
- type: NgModule
39
+ type: NgModule,
40
+ args: [{
41
+ providers: [BaseLocalization]
42
+ }]
48
43
  }] });
49
44
 
50
45
  // Angular
@@ -57,10 +52,9 @@ class MessageService {
57
52
  *
58
53
  * @ignore
59
54
  */
60
- constructor(injector, FANCY_ALERTS, LOCALE) {
55
+ constructor(injector, locProvider) {
61
56
  this.injector = injector;
62
- this.FANCY_ALERTS = FANCY_ALERTS;
63
- this.LOCALE = LOCALE;
57
+ this.locProvider = locProvider;
64
58
  /**
65
59
  * Oggetto statico in supporto alla localizzazione
66
60
  */
@@ -73,6 +67,13 @@ class MessageService {
73
67
  'Success': { 'en-US': "Success", 'it-IT': "Successo", },
74
68
  'Warning': { 'en-US': "Warning", 'it-IT': "Attenzione", }
75
69
  };
70
+ this.init();
71
+ }
72
+ get toastr() {
73
+ return this.injector.get(ToastrService);
74
+ }
75
+ async init() {
76
+ let LOCALE = this.locProvider ? await this.locProvider.Locale.pipe(first()).toPromise() : 'it-IT';
76
77
  this.expiredSessionSwal = swal.mixin({
77
78
  showCancelButton: false,
78
79
  confirmButtonText: 'Login',
@@ -86,7 +87,7 @@ class MessageService {
86
87
  icon: "warning"
87
88
  });
88
89
  this.successSwalWithCancel = swal.mixin({
89
- title: this.loc["Success"][this.LOCALE ?? 'it-IT'],
90
+ title: this.loc["Success"][LOCALE],
90
91
  customClass: {
91
92
  confirmButton: "btn btn-primary",
92
93
  cancelButton: "btn btn-secondary app-margin-right-10",
@@ -95,12 +96,12 @@ class MessageService {
95
96
  buttonsStyling: false,
96
97
  reverseButtons: true,
97
98
  showCancelButton: true,
98
- confirmButtonText: this.loc["Confirm"][this.LOCALE ?? 'it-IT'],
99
- cancelButtonText: this.loc["Cancel"][this.LOCALE ?? 'it-IT'],
99
+ confirmButtonText: this.loc["Confirm"][LOCALE],
100
+ cancelButtonText: this.loc["Cancel"][LOCALE],
100
101
  icon: "success"
101
102
  });
102
103
  this.warningSwalWithCancel = swal.mixin({
103
- title: this.loc["Warning"][this.LOCALE ?? 'it-IT'],
104
+ title: this.loc["Warning"][LOCALE],
104
105
  customClass: {
105
106
  confirmButton: "btn btn-primary",
106
107
  cancelButton: "btn btn-secondary app-margin-right-10",
@@ -109,12 +110,12 @@ class MessageService {
109
110
  buttonsStyling: false,
110
111
  reverseButtons: true,
111
112
  showCancelButton: true,
112
- confirmButtonText: this.loc["Confirm"][this.LOCALE ?? 'it-IT'],
113
- cancelButtonText: this.loc["Cancel"][this.LOCALE ?? 'it-IT'],
113
+ confirmButtonText: this.loc["Confirm"][LOCALE],
114
+ cancelButtonText: this.loc["Cancel"][LOCALE],
114
115
  icon: "warning"
115
116
  });
116
117
  this.warningSwal = swal.mixin({
117
- title: this.loc["Warning"][this.LOCALE ?? 'it-IT'],
118
+ title: this.loc["Warning"][LOCALE],
118
119
  customClass: {
119
120
  confirmButton: "btn btn-primary",
120
121
  container: "app-wrap",
@@ -122,11 +123,11 @@ class MessageService {
122
123
  buttonsStyling: false,
123
124
  reverseButtons: true,
124
125
  showCancelButton: false,
125
- confirmButtonText: this.loc["Close"][this.LOCALE ?? 'it-IT'],
126
+ confirmButtonText: this.loc["Close"][LOCALE],
126
127
  icon: "warning"
127
128
  });
128
129
  this.successSwal = swal.mixin({
129
- title: this.loc["Success"][this.LOCALE ?? 'it-IT'],
130
+ title: this.loc["Success"][LOCALE],
130
131
  customClass: {
131
132
  confirmButton: "btn btn-primary",
132
133
  container: "app-wrap",
@@ -134,11 +135,11 @@ class MessageService {
134
135
  buttonsStyling: false,
135
136
  reverseButtons: true,
136
137
  showCancelButton: false,
137
- confirmButtonText: this.loc["Close"][this.LOCALE ?? 'it-IT'],
138
+ confirmButtonText: this.loc["Close"][LOCALE],
138
139
  icon: "success"
139
140
  });
140
141
  this.errorSwal = swal.mixin({
141
- title: this.loc["Error"][this.LOCALE ?? 'it-IT'],
142
+ title: this.loc["Error"][LOCALE],
142
143
  customClass: {
143
144
  confirmButton: "btn btn-primary",
144
145
  container: "app-wrap",
@@ -146,11 +147,11 @@ class MessageService {
146
147
  buttonsStyling: false,
147
148
  reverseButtons: true,
148
149
  showCancelButton: false,
149
- confirmButtonText: this.loc["Close"][this.LOCALE ?? 'it-IT'],
150
+ confirmButtonText: this.loc["Close"][LOCALE],
150
151
  icon: "error"
151
152
  });
152
153
  this.infoSwal = swal.mixin({
153
- title: this.loc["Info"][this.LOCALE ?? 'it-IT'],
154
+ title: this.loc["Info"][LOCALE],
154
155
  customClass: {
155
156
  confirmButton: "btn btn-primary",
156
157
  container: "app-wrap",
@@ -158,13 +159,10 @@ class MessageService {
158
159
  buttonsStyling: false,
159
160
  reverseButtons: true,
160
161
  showCancelButton: false,
161
- confirmButtonText: this.loc["Close"][this.LOCALE ?? 'it-IT'],
162
+ confirmButtonText: this.loc["Close"][LOCALE],
162
163
  icon: "info"
163
164
  });
164
165
  }
165
- get toastr() {
166
- return this.injector.get(ToastrService);
167
- }
168
166
  /**
169
167
  * Presentazione di un semplice messaggio di successo
170
168
  *
@@ -257,7 +255,7 @@ class MessageService {
257
255
  toastrOrSwal(providerOverride) {
258
256
  if (providerOverride != null)
259
257
  return providerOverride;
260
- return this.FANCY_ALERTS == null ? "swal" : this.FANCY_ALERTS ? "swal" : "toastr";
258
+ return "swal";
261
259
  }
262
260
  /**
263
261
  * Mostra un messaggio di avviso con richiesta di conferma e gestisce il risultato chiamato i callback **onsuccess** o **onerror**
@@ -399,23 +397,15 @@ class MessageService {
399
397
  }
400
398
  }
401
399
  }
402
- MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, deps: [{ token: Injector }, { token: EXT_FANCY_ALERTS, optional: true }, { token: EXT_LOCALE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
400
+ MessageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, deps: [{ token: Injector }, { token: i1.BaseLocalization, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
403
401
  MessageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService });
404
402
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MessageService, decorators: [{
405
403
  type: Injectable
406
404
  }], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
407
405
  type: Inject,
408
406
  args: [Injector]
409
- }] }, { type: undefined, decorators: [{
407
+ }] }, { type: i1.BaseLocalization, decorators: [{
410
408
  type: Optional
411
- }, {
412
- type: Inject,
413
- args: [EXT_FANCY_ALERTS]
414
- }] }, { type: undefined, decorators: [{
415
- type: Optional
416
- }, {
417
- type: Inject,
418
- args: [EXT_LOCALE]
419
409
  }] }]; } });
420
410
 
421
411
  // Angular
@@ -428,9 +418,9 @@ class ClipboardService {
428
418
  *
429
419
  * @ignore
430
420
  */
431
- constructor(msgService, LOCALE) {
421
+ constructor(msgService, locProvider) {
432
422
  this.msgService = msgService;
433
- this.LOCALE = LOCALE;
423
+ this.locProvider = locProvider;
434
424
  /**
435
425
  * Oggetto statico di localizzazione per i messaggi di questa Service
436
426
  */
@@ -480,15 +470,16 @@ class ClipboardService {
480
470
  * @param {'array' | 'matrix'} style Stile dell'output desiderato, se array o matrice
481
471
  * @param {Function} valueFoundCallback Callback che questa funzione chiamerà una volta ottenuto i valori richiesti dalla clipboard
482
472
  */
483
- getClipboard(style, valueFoundCallback) {
473
+ async getClipboard(style, valueFoundCallback) {
474
+ let LOCALE = this.locProvider ? await this.locProvider.Locale.pipe(first()).toPromise() : 'it-IT';
484
475
  if (navigator.userAgent.indexOf("Firefox") != -1) {
485
476
  swal.fire({
486
- title: this.loc["User input required"][this.LOCALE ?? 'it-IT'],
487
- text: this.loc["Your current browser does not support reading from the clipboard directly. Please paste your clipboard's content in this Input field and confirm the operation"][this.LOCALE ?? 'it-IT'],
477
+ title: this.loc["User input required"][LOCALE],
478
+ text: this.loc["Your current browser does not support reading from the clipboard directly. Please paste your clipboard's content in this Input field and confirm the operation"][LOCALE],
488
479
  input: 'textarea',
489
480
  icon: "warning",
490
- confirmButtonText: this.loc["Confirm"][this.LOCALE ?? 'it-IT'],
491
- cancelButtonText: this.loc["Cancel"][this.LOCALE ?? 'it-IT'],
481
+ confirmButtonText: this.loc["Confirm"][LOCALE],
482
+ cancelButtonText: this.loc["Cancel"][LOCALE],
492
483
  showCancelButton: true,
493
484
  customClass: {
494
485
  confirmButton: "btn btn-primary",
@@ -499,7 +490,7 @@ class ClipboardService {
499
490
  allowOutsideClick: false,
500
491
  inputValidator: (value) => {
501
492
  if (!value)
502
- return this.loc["Please insert your clipboard content"][this.LOCALE ?? 'it-IT'];
493
+ return this.loc["Please insert your clipboard content"][LOCALE];
503
494
  }
504
495
  }).then(t => {
505
496
  if (t.isConfirmed) {
@@ -526,7 +517,7 @@ class ClipboardService {
526
517
  console.log("[@esfaenza/extensions] Clipboard permission granted, retrieving values");
527
518
  window.navigator.clipboard.readText()
528
519
  .then((t) => this.doClipboardDataGet(t, style, valueFoundCallback))
529
- .catch((err) => this.msgService.simpleError(this.loc["Error during Clipboard content read operation"][this.LOCALE ?? 'it-IT'] + ": " + err));
520
+ .catch((err) => this.msgService.simpleError(this.loc["Error during Clipboard content read operation"][LOCALE] + ": " + err));
530
521
  });
531
522
  }
532
523
  }
@@ -572,7 +563,8 @@ class ClipboardService {
572
563
  *
573
564
  * @param {string} text Testo da inserire nella clipboard
574
565
  */
575
- copyTextToClipboard(text) {
566
+ async copyTextToClipboard(text) {
567
+ let LOCALE = this.locProvider ? await this.locProvider.Locale.pipe(first()).toPromise() : 'it-IT';
576
568
  var textArea = document.createElement("textarea");
577
569
  //
578
570
  // *** This styling is an extra step which is likely not required. ***
@@ -611,23 +603,20 @@ class ClipboardService {
611
603
  try {
612
604
  var successful = document.execCommand("copy");
613
605
  if (!successful)
614
- this.msgService.simpleError(this.loc["Generic error during 'copy' command execution"][this.LOCALE ?? 'it-IT']);
606
+ this.msgService.simpleError(this.loc["Generic error during 'copy' command execution"][LOCALE]);
615
607
  }
616
608
  catch (err) {
617
- this.msgService.simpleError(this.loc["Error during Clipboard content copy operation"][this.LOCALE ?? 'it-IT'] + ": " + err);
609
+ this.msgService.simpleError(this.loc["Error during Clipboard content copy operation"][LOCALE] + ": " + err);
618
610
  }
619
611
  document.body.removeChild(textArea);
620
612
  }
621
613
  }
622
- ClipboardService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClipboardService, deps: [{ token: MessageService }, { token: EXT_LOCALE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
614
+ ClipboardService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClipboardService, deps: [{ token: MessageService }, { token: i1.BaseLocalization, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
623
615
  ClipboardService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClipboardService });
624
616
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ClipboardService, decorators: [{
625
617
  type: Injectable
626
- }], ctorParameters: function () { return [{ type: MessageService }, { type: undefined, decorators: [{
618
+ }], ctorParameters: function () { return [{ type: MessageService }, { type: i1.BaseLocalization, decorators: [{
627
619
  type: Optional
628
- }, {
629
- type: Inject,
630
- args: [EXT_LOCALE]
631
620
  }] }]; } });
632
621
 
633
622
  // Angular
@@ -640,8 +629,8 @@ class DateService {
640
629
  *
641
630
  * @ignore
642
631
  */
643
- constructor(LOCALE, allowUtc) {
644
- this.LOCALE = LOCALE;
632
+ constructor(locProvider, allowUtc) {
633
+ this.locProvider = locProvider;
645
634
  this.allowUtc = allowUtc;
646
635
  /**
647
636
  * Oggetto statico di localizzazione per i messaggi di questa Service
@@ -668,14 +657,18 @@ class DateService {
668
657
  smallDateWithM: "",
669
658
  fulldateDisplayNoSS: ""
670
659
  };
671
- this.cfg.smallDate = this.loc["SMALL_DATE_FORMAT"][this.LOCALE ?? 'it-IT'];
672
- this.cfg.fulldate = this.loc["FULL_DATE_FORMAT"][this.LOCALE ?? 'it-IT'];
673
- this.cfg.fulldateNoSS = this.loc["FULL_DATE_FORMAT_NO_SS"][this.LOCALE ?? 'it-IT'];
674
- this.cfg.fulldateDisplay = this.loc["FULL_DATE_DISPLAY_FORMAT"][this.LOCALE ?? 'it-IT'];
675
- this.cfg.fulldateDisplayNoSS = this.loc["FULL_DATE_DISPLAY_FORMAT_NO_SS"][this.LOCALE ?? 'it-IT'];
676
- this.cfg.smallDate = this.loc["SMALL_DATE_DISPLAY_FORMAT"][this.LOCALE ?? 'it-IT'];
677
- this.cfg.smallDateWithH = this.loc["SMALL_DATE_DISPLAY_FORMAT_WITH_HOUR"][this.LOCALE ?? 'it-IT'];
678
- this.cfg.smallDateWithM = this.loc["SMALL_DATE_DISPLAY_FORMAT_WITH_MINUTE"][this.LOCALE ?? 'it-IT'];
660
+ this.init();
661
+ }
662
+ async init() {
663
+ let LOCALE = this.locProvider ? await this.locProvider.Locale.pipe(first()).toPromise() : 'it-IT';
664
+ this.cfg.smallDate = this.loc["SMALL_DATE_FORMAT"][LOCALE];
665
+ this.cfg.fulldate = this.loc["FULL_DATE_FORMAT"][LOCALE];
666
+ this.cfg.fulldateNoSS = this.loc["FULL_DATE_FORMAT_NO_SS"][LOCALE];
667
+ this.cfg.fulldateDisplay = this.loc["FULL_DATE_DISPLAY_FORMAT"][LOCALE];
668
+ this.cfg.fulldateDisplayNoSS = this.loc["FULL_DATE_DISPLAY_FORMAT_NO_SS"][LOCALE];
669
+ this.cfg.smallDate = this.loc["SMALL_DATE_DISPLAY_FORMAT"][LOCALE];
670
+ this.cfg.smallDateWithH = this.loc["SMALL_DATE_DISPLAY_FORMAT_WITH_HOUR"][LOCALE];
671
+ this.cfg.smallDateWithM = this.loc["SMALL_DATE_DISPLAY_FORMAT_WITH_MINUTE"][LOCALE];
679
672
  }
680
673
  /**
681
674
  * Aggiusta una data in "istante finale" in base a qual è la parte di data significativa.
@@ -847,15 +840,12 @@ class DateService {
847
840
  return date.format(small ? this.cfg.smallDate : seconds ? this.cfg.fulldateDisplay : this.cfg.fulldateDisplayNoSS);
848
841
  }
849
842
  }
850
- DateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DateService, deps: [{ token: EXT_LOCALE, optional: true }, { token: EXT_ALLOW_UTC, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
843
+ DateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DateService, deps: [{ token: i1.BaseLocalization, optional: true }, { token: EXT_ALLOW_UTC, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
851
844
  DateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DateService });
852
845
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: DateService, decorators: [{
853
846
  type: Injectable
854
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
847
+ }], ctorParameters: function () { return [{ type: i1.BaseLocalization, decorators: [{
855
848
  type: Optional
856
- }, {
857
- type: Inject,
858
- args: [EXT_LOCALE]
859
849
  }] }, { type: undefined, decorators: [{
860
850
  type: Optional
861
851
  }, {
@@ -998,7 +988,7 @@ const ExportAs = (order, type, prefix) => (target, propertyKey) => {
998
988
  Object.defineProperty(target, propertyKey + prop, { value: null, writable: true, enumerable: true });
999
989
  Object.defineProperty(target, propertyKey + prop + csvValueNavigator, { value: propertyKey + "." + prop, writable: false });
1000
990
  Object.defineProperty(target, propertyKey + prop + csvVisPrefix, { value: toEmit, writable: false });
1001
- Object.defineProperty(target, propertyKey + prop + csvHdrPrefix, { value: prefix + " " + lbl, writable: false });
991
+ Object.defineProperty(target, propertyKey + prop + csvHdrPrefix, { value: (prefix ? prefix + ' ' : '') + lbl, writable: false });
1002
992
  if (target[exportList])
1003
993
  target[exportList].push(propertyKey + prop + csvVisPrefix);
1004
994
  else
@@ -2057,8 +2047,6 @@ class FullExtensionsModule {
2057
2047
  MessageService,
2058
2048
  UtilityService,
2059
2049
  InterComService,
2060
- { provide: EXT_LOCALE, useValue: config?.locale || 'it-IT' },
2061
- { provide: EXT_FANCY_ALERTS, useValue: config?.fancy_alerts || true },
2062
2050
  { provide: APPSEARCH_PREFIX, useValue: config?.appsearch_prefix || 'Hot' },
2063
2051
  { provide: EXT_ALLOW_UTC, useValue: config?.allow_utc == null ? false : config?.allow_utc }
2064
2052
  ]
@@ -2067,9 +2055,12 @@ class FullExtensionsModule {
2067
2055
  }
2068
2056
  FullExtensionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FullExtensionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2069
2057
  FullExtensionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: FullExtensionsModule });
2070
- FullExtensionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FullExtensionsModule });
2058
+ FullExtensionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FullExtensionsModule, providers: [BaseLocalization] });
2071
2059
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FullExtensionsModule, decorators: [{
2072
- type: NgModule
2060
+ type: NgModule,
2061
+ args: [{
2062
+ providers: [BaseLocalization]
2063
+ }]
2073
2064
  }] });
2074
2065
 
2075
2066
  /**
@@ -2105,5 +2096,5 @@ var InboundMessageTypes;
2105
2096
  * Generated bundle index. Do not edit.
2106
2097
  */
2107
2098
 
2108
- export { APPSEARCH_PREFIX, CallResult, ClipboardService, CsvHeaders, DateService, EXT_ALLOW_UTC, EXT_FANCY_ALERTS, EXT_LOCALE, Export, ExportAs, ExportDictionary, ExportList, ExportService, ExtensionsModule, FullExtensionsModule, GenericItem, HashingService, InboundMessageTypes, InterComMessage, InterComService, MessageService, UtilityService };
2099
+ export { APPSEARCH_PREFIX, CallResult, ClipboardService, CsvHeaders, DateService, EXT_ALLOW_UTC, Export, ExportAs, ExportDictionary, ExportList, ExportService, ExtensionsModule, FullExtensionsModule, GenericItem, HashingService, InboundMessageTypes, InterComMessage, InterComService, MessageService, UtilityService };
2109
2100
  //# sourceMappingURL=esfaenza-extensions.mjs.map