@esfaenza/admin-module 11.2.2 → 11.2.4-beta3

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.
Files changed (35) hide show
  1. package/bundles/esfaenza-admin-module.umd.js +85 -42
  2. package/bundles/esfaenza-admin-module.umd.js.map +1 -1
  3. package/bundles/esfaenza-admin-module.umd.min.js +2 -2
  4. package/bundles/esfaenza-admin-module.umd.min.js.map +1 -1
  5. package/esfaenza-admin-module.d.ts +1 -0
  6. package/esfaenza-admin-module.metadata.json +1 -1
  7. package/esm2015/esfaenza-admin-module.js +2 -1
  8. package/esm2015/lib/admin-module-messages.js +8 -0
  9. package/esm2015/lib/admin-module.comms.service.js +31 -0
  10. package/esm2015/lib/admin-module.module.js +21 -3
  11. package/esm2015/lib/components/audits/adm_audits.component.js +6 -6
  12. package/esm2015/lib/components/enqueues/adm_enq.component.js +6 -7
  13. package/esm2015/lib/components/logs/adm_logs.component.js +6 -6
  14. package/esm2015/lib/components/metrics/metrics_search.component.js +6 -7
  15. package/esm2015/lib/components/profiler/adm_profiler.component.js +6 -7
  16. package/esm2015/lib/components/topact/topact_search.component.js +6 -8
  17. package/esm2015/lib/components/workers/adm_wrk.component.js +6 -8
  18. package/esm2015/lib/models/shared/Locale.js +1 -1
  19. package/esm2015/public-api.js +2 -2
  20. package/fesm2015/esfaenza-admin-module.js +79 -34
  21. package/fesm2015/esfaenza-admin-module.js.map +1 -1
  22. package/lib/admin-module-messages.d.ts +6 -0
  23. package/lib/admin-module.comms.service.d.ts +7 -0
  24. package/lib/admin-module.module.d.ts +3 -0
  25. package/lib/components/audits/adm_audits.component.d.ts +3 -3
  26. package/lib/components/enqueues/adm_enq.component.d.ts +3 -4
  27. package/lib/components/logs/adm_logs.component.d.ts +3 -3
  28. package/lib/components/metrics/metrics_search.component.d.ts +3 -4
  29. package/lib/components/profiler/adm_profiler.component.d.ts +3 -4
  30. package/lib/components/topact/topact_search.component.d.ts +3 -4
  31. package/lib/components/workers/adm_wrk.component.d.ts +3 -4
  32. package/package.json +2 -1
  33. package/public-api.d.ts +1 -1
  34. package/esm2015/lib/communications/base/BaseModuleCommunicationsConsumer.js +0 -3
  35. package/lib/communications/base/BaseModuleCommunicationsConsumer.d.ts +0 -3
@@ -3,13 +3,13 @@ import { Location } from "@angular/common";
3
3
  import { LocalizationService } from "@esfaenza/localizations";
4
4
  import { PreferencesService } from "@esfaenza/preferences";
5
5
  import { HTTPService } from "@esfaenza/httpservice";
6
- import { BaseModuleCommunicationsConsumer } from "../../communications/base/BaseModuleCommunicationsConsumer";
6
+ import { InterComService } from "@esfaenza/extensions";
7
7
  import { AuditsView } from "../../models/components/AuditsView";
8
8
  import { KeyValue } from "../../models/shared/KeyValue";
9
9
  export declare class AdmAuditsComponent {
10
10
  lc: LocalizationService;
11
+ private intercom;
11
12
  private localStorage;
12
- private _state;
13
13
  private http;
14
14
  private route;
15
15
  private location;
@@ -20,7 +20,7 @@ export declare class AdmAuditsComponent {
20
20
  HttpMethods: KeyValue[];
21
21
  searchInProgress: boolean;
22
22
  storageSub: any;
23
- constructor(lc: LocalizationService, localStorage: PreferencesService, _state: BaseModuleCommunicationsConsumer, http: HTTPService, route: ActivatedRoute, location: Location, backend: string, mod: string);
23
+ constructor(lc: LocalizationService, intercom: InterComService, localStorage: PreferencesService, http: HTTPService, route: ActivatedRoute, location: Location, backend: string, mod: string);
24
24
  ngOnInit(): void;
25
25
  ngOnDestroy(): void;
26
26
  Init(ignoreStorage: any): Promise<void>;
@@ -2,15 +2,14 @@ import { ActivatedRoute } from "@angular/router";
2
2
  import { Location } from "@angular/common";
3
3
  import { LocalizationService } from "@esfaenza/localizations";
4
4
  import { PreferencesService } from "@esfaenza/preferences";
5
- import { ExportService } from "@esfaenza/extensions";
5
+ import { ExportService, InterComService } from "@esfaenza/extensions";
6
6
  import { HTTPService } from "@esfaenza/httpservice";
7
- import { BaseModuleCommunicationsConsumer } from "../../communications/base/BaseModuleCommunicationsConsumer";
8
7
  import { LocksView } from "../../models/components/LocksView";
9
8
  export declare class AdmEnqComponent {
10
9
  lc: LocalizationService;
11
10
  private localStorage;
12
11
  expExts: ExportService;
13
- private _state;
12
+ private intercom;
14
13
  private http;
15
14
  private route;
16
15
  private location;
@@ -18,7 +17,7 @@ export declare class AdmEnqComponent {
18
17
  private mod;
19
18
  locksView: LocksView;
20
19
  storageSub: any;
21
- constructor(lc: LocalizationService, localStorage: PreferencesService, expExts: ExportService, _state: BaseModuleCommunicationsConsumer, http: HTTPService, route: ActivatedRoute, location: Location, backend: string, mod: string);
20
+ constructor(lc: LocalizationService, localStorage: PreferencesService, expExts: ExportService, intercom: InterComService, http: HTTPService, route: ActivatedRoute, location: Location, backend: string, mod: string);
22
21
  ngOnInit(): void;
23
22
  ngOnDestroy(): void;
24
23
  Init(ignoreStorage: any): Promise<void>;
@@ -1,14 +1,14 @@
1
1
  import { ActivatedRoute } from "@angular/router";
2
2
  import { LocalizationService } from "@esfaenza/localizations";
3
3
  import { HTTPService } from "@esfaenza/httpservice";
4
- import { BaseModuleCommunicationsConsumer } from "../../communications/base/BaseModuleCommunicationsConsumer";
4
+ import { InterComService } from "@esfaenza/extensions";
5
5
  export declare class AdmLogsComponent {
6
- private _state;
6
+ private intercom;
7
7
  private http;
8
8
  private lc;
9
9
  private route;
10
10
  private backend;
11
11
  Log: string;
12
- constructor(_state: BaseModuleCommunicationsConsumer, http: HTTPService, lc: LocalizationService, route: ActivatedRoute, backend: string);
12
+ constructor(intercom: InterComService, http: HTTPService, lc: LocalizationService, route: ActivatedRoute, backend: string);
13
13
  ngOnInit(): void;
14
14
  }
@@ -4,8 +4,7 @@ import { LocalizationService } from "@esfaenza/localizations";
4
4
  import { PreferencesService } from "@esfaenza/preferences";
5
5
  import { BaseChartComponent } from "@esfaenza/es-charts";
6
6
  import { HTTPService } from "@esfaenza/httpservice";
7
- import { DateService } from "@esfaenza/extensions";
8
- import { BaseModuleCommunicationsConsumer } from "../../communications/base/BaseModuleCommunicationsConsumer";
7
+ import { DateService, InterComService } from "@esfaenza/extensions";
9
8
  import { KeyValue } from "../../models/shared/KeyValue";
10
9
  import { Metric } from "../../models/components/Metric";
11
10
  import { MetricChart } from "../../models/components/MetricChart";
@@ -15,7 +14,7 @@ export declare class AdmMetricsComponent {
15
14
  lc: LocalizationService;
16
15
  private localStorage;
17
16
  private location;
18
- private _state;
17
+ private intercom;
19
18
  private http;
20
19
  private route;
21
20
  private backend;
@@ -26,7 +25,7 @@ export declare class AdmMetricsComponent {
26
25
  storageSub: any;
27
26
  autoUpdate: boolean;
28
27
  seconds: string;
29
- constructor(dateExts: DateService, lc: LocalizationService, localStorage: PreferencesService, location: Location, _state: BaseModuleCommunicationsConsumer, http: HTTPService, route: ActivatedRoute, backend: string, mod: string);
28
+ constructor(dateExts: DateService, lc: LocalizationService, localStorage: PreferencesService, location: Location, intercom: InterComService, http: HTTPService, route: ActivatedRoute, backend: string, mod: string);
30
29
  ngOnInit(): void;
31
30
  Init(ignoreStore: any): void;
32
31
  dateChanged(): void;
@@ -2,23 +2,22 @@ import { ActivatedRoute } from "@angular/router";
2
2
  import { Location } from "@angular/common";
3
3
  import { LocalizationService } from "@esfaenza/localizations";
4
4
  import { PreferencesService } from "@esfaenza/preferences";
5
- import { ExportService } from "@esfaenza/extensions";
5
+ import { ExportService, InterComService } from "@esfaenza/extensions";
6
6
  import { HTTPService } from "@esfaenza/httpservice";
7
- import { BaseModuleCommunicationsConsumer } from "../../communications/base/BaseModuleCommunicationsConsumer";
8
7
  import { ProfilerDataNodesView } from "../../models/components/ProfilerDataNodesView";
9
8
  export declare class AdmProfilerComponent {
10
9
  private expExts;
11
10
  lc: LocalizationService;
12
11
  private localStorage;
13
12
  private location;
14
- private _state;
13
+ private intercom;
15
14
  private http;
16
15
  private route;
17
16
  private backend;
18
17
  private mod;
19
18
  searchView: ProfilerDataNodesView;
20
19
  storageSub: any;
21
- constructor(expExts: ExportService, lc: LocalizationService, localStorage: PreferencesService, location: Location, _state: BaseModuleCommunicationsConsumer, http: HTTPService, route: ActivatedRoute, backend: string, mod: string);
20
+ constructor(expExts: ExportService, lc: LocalizationService, localStorage: PreferencesService, location: Location, intercom: InterComService, http: HTTPService, route: ActivatedRoute, backend: string, mod: string);
22
21
  ngOnInit(): void;
23
22
  Init(ignoreStore: any): void;
24
23
  doInit(ignoreStorage: any): Promise<void>;
@@ -4,8 +4,7 @@ import { BaseChartComponent, LineChartData, LineSerie } from "@esfaenza/es-chart
4
4
  import { LocalizationService } from "@esfaenza/localizations";
5
5
  import { PreferencesService } from "@esfaenza/preferences";
6
6
  import { HTTPService } from "@esfaenza/httpservice";
7
- import { DateService } from "@esfaenza/extensions";
8
- import { BaseModuleCommunicationsConsumer } from "../../communications/base/BaseModuleCommunicationsConsumer";
7
+ import { DateService, InterComService } from "@esfaenza/extensions";
9
8
  import { DirectorInfos } from "../../models/components/DirectorInfos";
10
9
  import { TopActivitiesDataView } from "../../models/components/TopActivitiesDataView";
11
10
  import { TopNode } from "../../models/components/TopNode";
@@ -15,7 +14,7 @@ export declare class AdmTopActivitiesComponent {
15
14
  lc: LocalizationService;
16
15
  private localStorage;
17
16
  private location;
18
- private _state;
17
+ private intercom;
19
18
  private http;
20
19
  private route;
21
20
  private backend;
@@ -26,7 +25,7 @@ export declare class AdmTopActivitiesComponent {
26
25
  autoUpdate: boolean;
27
26
  seconds: string;
28
27
  private ChartInstance;
29
- constructor(dateExts: DateService, lc: LocalizationService, localStorage: PreferencesService, location: Location, _state: BaseModuleCommunicationsConsumer, http: HTTPService, route: ActivatedRoute, backend: string, mod: string);
28
+ constructor(dateExts: DateService, lc: LocalizationService, localStorage: PreferencesService, location: Location, intercom: InterComService, http: HTTPService, route: ActivatedRoute, backend: string, mod: string);
30
29
  ngOnInit(): void;
31
30
  Init(ignoreStore: any): void;
32
31
  doInit(ignoreStorage: any): Promise<void>;
@@ -1,13 +1,12 @@
1
1
  import { ActivatedRoute } from "@angular/router";
2
2
  import { Location } from "@angular/common";
3
3
  import { NgForm } from "@angular/forms";
4
- import { MessageService, UtilityService } from "@esfaenza/extensions";
4
+ import { InterComService, MessageService, UtilityService } from "@esfaenza/extensions";
5
5
  import { EsTableOperationDefinition } from "@esfaenza/es-table";
6
6
  import { LocalizationService } from "@esfaenza/localizations";
7
7
  import { PreferencesService } from "@esfaenza/preferences";
8
8
  import { HTTPService } from "@esfaenza/httpservice";
9
9
  import { ModalDirective } from "ngx-bootstrap/modal";
10
- import { BaseModuleCommunicationsConsumer } from "../../communications/base/BaseModuleCommunicationsConsumer";
11
10
  import { KeyValue } from "../../models/shared/KeyValue";
12
11
  import { ProcessesView } from "../../models/components/ProcessesView";
13
12
  export declare class AdmWrkComponent {
@@ -15,7 +14,7 @@ export declare class AdmWrkComponent {
15
14
  private msgExts;
16
15
  lc: LocalizationService;
17
16
  private localStorage;
18
- private _state;
17
+ private intercom;
19
18
  private http;
20
19
  private route;
21
20
  private location;
@@ -25,7 +24,7 @@ export declare class AdmWrkComponent {
25
24
  DynamicOps: EsTableOperationDefinition[];
26
25
  storageSub: any;
27
26
  valueToShow: string;
28
- constructor(utiExts: UtilityService, msgExts: MessageService, lc: LocalizationService, localStorage: PreferencesService, _state: BaseModuleCommunicationsConsumer, http: HTTPService, route: ActivatedRoute, location: Location, backend: string, mod: string);
27
+ constructor(utiExts: UtilityService, msgExts: MessageService, lc: LocalizationService, localStorage: PreferencesService, intercom: InterComService, http: HTTPService, route: ActivatedRoute, location: Location, backend: string, mod: string);
29
28
  ngOnInit(): void;
30
29
  ngOnDestroy(): void;
31
30
  Init(ignoreStorage: any): Promise<void>;
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@esfaenza/admin-module",
3
- "version": "11.2.2",
3
+ "version": "11.2.4-beta3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "11.2.14",
6
6
  "@angular/core": "11.2.14",
7
7
  "@angular/material": "11.2.13",
8
+ "@esfaenza/extensions": "~11.2.23",
8
9
  "@esfaenza/ngx-contextmenu": "~11.2.5",
9
10
  "@esfaenza/localizations": "~11.2.6",
10
11
  "@esfaenza/es-table": "~11.2.41",
package/public-api.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './lib/admin-module.module';
2
2
  export * from './lib/tokens';
3
- export * from './lib/communications/base/BaseModuleCommunicationsConsumer';
3
+ export * from "./lib/admin-module-messages";
@@ -1,3 +0,0 @@
1
- export class BaseModuleCommunicationsConsumer {
2
- }
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQmFzZU1vZHVsZUNvbW11bmljYXRpb25zQ29uc3VtZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZG1pbi1tb2R1bGUvc3JjL2xpYi9jb21tdW5pY2F0aW9ucy9iYXNlL0Jhc2VNb2R1bGVDb21tdW5pY2F0aW9uc0NvbnN1bWVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBZ0IsZ0NBQWdDO0NBRXJEIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGFic3RyYWN0IGNsYXNzIEJhc2VNb2R1bGVDb21tdW5pY2F0aW9uc0NvbnN1bWVyIHtcclxuICAgIHB1YmxpYyBhYnN0cmFjdCBoYW5kbGVOYXZpZ2F0aW9uKHJvdXRlVGl0bGU6IHN0cmluZywgc3ViTmF2aWdhdGlvbjogYm9vbGVhbik7XHJcbn0iXX0=
@@ -1,3 +0,0 @@
1
- export declare abstract class BaseModuleCommunicationsConsumer {
2
- abstract handleNavigation(routeTitle: string, subNavigation: boolean): any;
3
- }