@esfaenza/extensions 15.2.23 → 15.2.25

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.
@@ -0,0 +1,22 @@
1
+ import { AppEmbeddingExtensions } from "./extensions.embedding.service";
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Service che fornisce un accesso base in lettura/scrittura sulla clipboard
5
+ */
6
+ export declare class BaseExtensionsService {
7
+ private emb;
8
+ RedirectMap: {
9
+ [index: string]: {
10
+ url: string;
11
+ params: string[];
12
+ };
13
+ };
14
+ RoutesMap: {
15
+ [index: string]: {
16
+ route: (param: string) => any;
17
+ };
18
+ };
19
+ constructor(emb: AppEmbeddingExtensions);
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseExtensionsService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseExtensionsService>;
22
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AppEmbeddingExtensions {
3
+ Embedded: boolean;
4
+ EmbeddingLevel: number;
5
+ MainWindow: any;
6
+ constructor();
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppEmbeddingExtensions, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<AppEmbeddingExtensions>;
9
+ }
@@ -2,6 +2,7 @@ import { Injector } from "@angular/core";
2
2
  import { BaseLocalization } from "@esfaenza/localizations";
3
3
  import { Observable } from "rxjs";
4
4
  import { CallResult } from "../models/CallResult";
5
+ import { AppEmbeddingExtensions } from "./extensions.embedding.service";
5
6
  import * as i0 from "@angular/core";
6
7
  /**
7
8
  * Service che fornisce funzionalità di alert nei tipi fondamentali: success, info, warning e danger
@@ -9,6 +10,7 @@ import * as i0 from "@angular/core";
9
10
  export declare class MessageService {
10
11
  private injector;
11
12
  private locProvider;
13
+ private emb;
12
14
  /**
13
15
  * Oggetto statico in supporto alla localizzazione
14
16
  */
@@ -47,7 +49,7 @@ export declare class MessageService {
47
49
  *
48
50
  * @ignore
49
51
  */
50
- constructor(injector: Injector, locProvider: BaseLocalization);
52
+ constructor(injector: Injector, locProvider: BaseLocalization, emb: AppEmbeddingExtensions);
51
53
  init(): Promise<void>;
52
54
  /**
53
55
  * Presentazione di un semplice messaggio di successo
@@ -180,6 +182,6 @@ export declare class MessageService {
180
182
  * @param {Function} postFailure Callback da chimare in caso di fallimento
181
183
  */
182
184
  manageStringResponseBool(response: boolean, successMsg: string, errorMsg: string, postSuccess?: Function, postFailure?: Function): void;
183
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, [null, { optional: true; }]>;
185
+ static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, [null, { optional: true; }, null]>;
184
186
  static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
185
187
  }
@@ -1,3 +1,4 @@
1
+ import { Type } from "@angular/core";
1
2
  import { NgForm } from "@angular/forms";
2
3
  import { TypeCode } from '../models/TypeCode';
3
4
  import * as i0 from "@angular/core";
@@ -96,6 +97,11 @@ export declare class UtilityService {
96
97
  * Step ricorsivo per la clonatura degli oggetti. Vedere **deepClone**
97
98
  */
98
99
  private recursiveStep;
100
+ cast(object: any, clss: Type<any>): any;
101
+ /** @ignore */
102
+ private executionTimers;
103
+ /** @ignore */
104
+ throttla(id: string, func: Function, throttleTime: number): void;
99
105
  static ɵfac: i0.ɵɵFactoryDeclaration<UtilityService, never>;
100
106
  static ɵprov: i0.ɵɵInjectableDeclaration<UtilityService>;
101
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/extensions",
3
- "version": "15.2.23",
3
+ "version": "15.2.25",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
package/public-api.d.ts CHANGED
@@ -1,10 +1,12 @@
1
1
  export * from './lib/modules/extensions.module';
2
+ export * from './lib/services/extensions.base';
2
3
  export * from './lib/services/extensions.dates.service';
3
4
  export * from './lib/services/extensions.exports.service';
4
5
  export * from './lib/services/extensions.clipboard.service';
5
6
  export * from './lib/services/extensions.hashing.service';
6
7
  export * from './lib/services/extensions.messages.service';
7
8
  export * from './lib/services/extensions.utilities.service';
9
+ export * from './lib/services/extensions.embedding.service';
8
10
  export * from './lib/tokens';
9
11
  export * from './lib/models/CallResult';
10
12
  export * from './lib/models/CsvHeaders';