@esfaenza/extensions 15.2.5 → 15.2.6
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/esm2020/lib/models/ExtensionsModuleConfig.mjs +2 -4
- package/esm2020/lib/modules/extensions.module.mjs +4 -3
- package/esm2020/lib/tokens.mjs +3 -1
- package/fesm2015/esfaenza-extensions.mjs +6 -3
- package/fesm2015/esfaenza-extensions.mjs.map +1 -1
- package/fesm2020/esfaenza-extensions.mjs +6 -3
- package/fesm2020/esfaenza-extensions.mjs.map +1 -1
- package/lib/models/ExtensionsModuleConfig.d.ts +5 -9
- package/lib/tokens.d.ts +2 -0
- package/package.json +1 -1
|
@@ -15,7 +15,9 @@ const APPSEARCH_PREFIX = new InjectionToken('APPSEARCH_PREFIX');
|
|
|
15
15
|
/**
|
|
16
16
|
* Token che indica se i metodi di estensione che utilizzano le date permettono l'uso di date in utc
|
|
17
17
|
*/
|
|
18
|
-
const EXT_ALLOW_UTC = new InjectionToken('EXT_ALLOW_UTC');
|
|
18
|
+
const EXT_ALLOW_UTC = new InjectionToken('EXT_ALLOW_UTC');
|
|
19
|
+
/** Modalità di Debug */
|
|
20
|
+
const EXT_DEBUG_MODE = new InjectionToken('EXT_DEBUG_MODE');
|
|
19
21
|
|
|
20
22
|
// Angular
|
|
21
23
|
/**
|
|
@@ -293,7 +295,8 @@ class ExtensionsModule {
|
|
|
293
295
|
ngModule: ExtensionsModule,
|
|
294
296
|
providers: [
|
|
295
297
|
{ provide: APPSEARCH_PREFIX, useValue: config?.appsearch_prefix || 'Hot' },
|
|
296
|
-
{ provide: EXT_ALLOW_UTC, useValue: config?.allow_utc == null ? false : config?.allow_utc }
|
|
298
|
+
{ provide: EXT_ALLOW_UTC, useValue: config?.allow_utc == null ? false : config?.allow_utc },
|
|
299
|
+
{ provide: EXT_DEBUG_MODE, useValue: config?.debugMode || false },
|
|
297
300
|
]
|
|
298
301
|
};
|
|
299
302
|
}
|
|
@@ -2095,5 +2098,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2095
2098
|
* Generated bundle index. Do not edit.
|
|
2096
2099
|
*/
|
|
2097
2100
|
|
|
2098
|
-
export { APPSEARCH_PREFIX, CallResult, ClipboardService, CsvHeaders, DateService, EXT_ALLOW_UTC, Export, ExportAs, ExportDictionary, ExportList, ExportService, ExtensionsModule, GenericItem, HashingService, InboundMessageTypes, InterComMessage, InterComService, LocDatePipe, MessageService, UtilityService };
|
|
2101
|
+
export { APPSEARCH_PREFIX, CallResult, ClipboardService, CsvHeaders, DateService, EXT_ALLOW_UTC, EXT_DEBUG_MODE, Export, ExportAs, ExportDictionary, ExportList, ExportService, ExtensionsModule, GenericItem, HashingService, InboundMessageTypes, InterComMessage, InterComService, LocDatePipe, MessageService, UtilityService };
|
|
2099
2102
|
//# sourceMappingURL=esfaenza-extensions.mjs.map
|