@smartsoft001/angular 1.1.692 → 1.1.696
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/bundles/smartsoft001-angular.umd.js +139 -95
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/components/app/base/base.component.js +6 -2
- package/esm2015/lib/components/app/split-panel/split-panel.component.js +5 -3
- package/esm2015/lib/services/app/app.service.js +45 -3
- package/esm2015/smartsoft001-angular.js +4 -4
- package/fesm2015/smartsoft001-angular.js +89 -45
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/lib/components/app/base/base.component.d.ts +3 -1
- package/lib/components/app/split-panel/split-panel.component.d.ts +2 -1
- package/lib/services/app/app.service.d.ts +11 -0
- package/package.json +6 -5
- package/smartsoft001-angular.d.ts +3 -3
- package/smartsoft001-angular.metadata.json +1 -1
|
@@ -5,6 +5,7 @@ import { IAppOptions, IMenuItem } from "../../../models/interfaces";
|
|
|
5
5
|
import { StyleService } from "../../../services/style/style.service";
|
|
6
6
|
import { MenuService } from "../../../services/menu/menu.service";
|
|
7
7
|
import { AuthService } from "../../../services/auth/auth.service";
|
|
8
|
+
import { AppService } from "../../../services/app/app.service";
|
|
8
9
|
export declare abstract class AppBaseComponent implements OnDestroy, AfterContentInit, AfterViewInit {
|
|
9
10
|
protected router: Router;
|
|
10
11
|
protected cd: ChangeDetectorRef;
|
|
@@ -12,6 +13,7 @@ export declare abstract class AppBaseComponent implements OnDestroy, AfterConten
|
|
|
12
13
|
protected styleService: StyleService;
|
|
13
14
|
protected menuService: MenuService;
|
|
14
15
|
protected authService: AuthService;
|
|
16
|
+
protected appService: AppService;
|
|
15
17
|
protected readonly platformId: any;
|
|
16
18
|
protected document: any;
|
|
17
19
|
private _options;
|
|
@@ -25,7 +27,7 @@ export declare abstract class AppBaseComponent implements OnDestroy, AfterConten
|
|
|
25
27
|
logo: string;
|
|
26
28
|
set options(val: IAppOptions);
|
|
27
29
|
endMenuContainer: ViewContainerRef;
|
|
28
|
-
constructor(router: Router, cd: ChangeDetectorRef, elementRef: ElementRef, styleService: StyleService, menuService: MenuService, authService: AuthService, platformId: any, document: any);
|
|
30
|
+
constructor(router: Router, cd: ChangeDetectorRef, elementRef: ElementRef, styleService: StyleService, menuService: MenuService, authService: AuthService, appService: AppService, platformId: any, document: any);
|
|
29
31
|
logout(): void;
|
|
30
32
|
ngAfterContentInit(): Promise<void>;
|
|
31
33
|
ngAfterViewInit(): Promise<void>;
|
|
@@ -4,10 +4,11 @@ import { AppBaseComponent } from "../base/base.component";
|
|
|
4
4
|
import { StyleService } from "../../../services/style/style.service";
|
|
5
5
|
import { MenuService } from "../../../services/menu/menu.service";
|
|
6
6
|
import { AuthService } from "../../../services/auth/auth.service";
|
|
7
|
+
import { AppService } from "../../../services/app/app.service";
|
|
7
8
|
export declare class AppSplitPanelComponent extends AppBaseComponent implements OnInit, AfterContentInit {
|
|
8
9
|
readonly platform: any;
|
|
9
10
|
listRef: ElementRef;
|
|
10
|
-
constructor(router: Router, cd: ChangeDetectorRef, elementRef: ElementRef, styleService: StyleService, menuService: MenuService, authService: AuthService, platform: any, document: any);
|
|
11
|
+
constructor(router: Router, cd: ChangeDetectorRef, elementRef: ElementRef, styleService: StyleService, menuService: MenuService, authService: AuthService, appService: AppService, platform: any, document: any);
|
|
11
12
|
ngAfterContentInit(): Promise<void>;
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
import { Title } from "@angular/platform-browser";
|
|
2
|
+
import { Router } from "@angular/router";
|
|
1
3
|
import { IIconButtonOptions } from "../../models/interfaces";
|
|
4
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
2
5
|
export declare class AppService {
|
|
6
|
+
private titleService;
|
|
7
|
+
private translate;
|
|
8
|
+
private router;
|
|
3
9
|
private static _endButtonsSource$;
|
|
10
|
+
private static _titleSource$;
|
|
11
|
+
private _baseTitle;
|
|
4
12
|
endButtons$: import("rxjs").Observable<AppEndButton[]>;
|
|
13
|
+
title$: import("rxjs").Observable<string>;
|
|
14
|
+
constructor(titleService: Title, translate: TranslateService, router: Router);
|
|
5
15
|
addEndButton(button: AppEndButton): void;
|
|
6
16
|
removeEndButton(buttonOrId: AppEndButton | string): void;
|
|
17
|
+
initTitle(): void;
|
|
7
18
|
}
|
|
8
19
|
export declare type AppEndButton = IIconButtonOptions & {
|
|
9
20
|
id?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartsoft001/angular",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.696",
|
|
4
4
|
"main": "bundles/smartsoft001-angular.umd.js",
|
|
5
5
|
"module": "fesm2015/smartsoft001-angular.js",
|
|
6
6
|
"es2015": "fesm2015/smartsoft001-angular.js",
|
|
@@ -29,16 +29,17 @@
|
|
|
29
29
|
"ng-lazyload-image": "^9.1.0",
|
|
30
30
|
"@angular/material-moment-adapter": "^12.2.1",
|
|
31
31
|
"moment": "^2.27.0",
|
|
32
|
-
"@smartsoft001/domain-core": "1.0.
|
|
33
|
-
"@smartsoft001/models": "1.0.
|
|
32
|
+
"@smartsoft001/domain-core": "1.0.644",
|
|
33
|
+
"@smartsoft001/models": "1.0.671",
|
|
34
34
|
"reflect-metadata": "0.1.13",
|
|
35
|
-
"@smartsoft001/utils": "1.0.
|
|
35
|
+
"@smartsoft001/utils": "1.0.706",
|
|
36
36
|
"lodash": "^4.17.20",
|
|
37
37
|
"guid-typescript": "1.0.9",
|
|
38
38
|
"md5": "2.3.0",
|
|
39
|
-
"@smartsoft001/users": "1.0.
|
|
39
|
+
"@smartsoft001/users": "1.0.663",
|
|
40
40
|
"@ngrx/router-store": "12.5.0",
|
|
41
41
|
"lodash-decorators": "^6.0.1",
|
|
42
|
+
"@angular/platform-browser": "12.2.7",
|
|
42
43
|
"jwt-decode": "3.1.1",
|
|
43
44
|
"@capacitor/core": "^2.4.2",
|
|
44
45
|
"@ionic-native/fingerprint-aio": "^5.30.0",
|
|
@@ -92,9 +92,9 @@ export { ListComponent as ɵei } from './lib/components/list/list.component';
|
|
|
92
92
|
export { ListMasonryGridComponent as ɵem } from './lib/components/list/masonry-grid/masonry-grid.component';
|
|
93
93
|
export { ListMobileComponent as ɵej } from './lib/components/list/mobile/mobile.component';
|
|
94
94
|
export { LoaderComponent as ɵen } from './lib/components/loader/loader.component';
|
|
95
|
-
export { PageBaseComponent as
|
|
95
|
+
export { PageBaseComponent as ɵcq } from './lib/components/page/base/base.component';
|
|
96
96
|
export { PageComponent as ɵcr } from './lib/components/page/page.component';
|
|
97
|
-
export { PageStandardComponent as
|
|
97
|
+
export { PageStandardComponent as ɵcp } from './lib/components/page/standard/standard.component';
|
|
98
98
|
export { PagingComponent as ɵgd } from './lib/components/paging/paging.component';
|
|
99
99
|
export { PasswordStrengthComponent as ɵfv } from './lib/components/password-strength/password-strength.component';
|
|
100
100
|
export { SearchbarComponent as ɵfh } from './lib/components/searchbar/searchbar.component';
|
|
@@ -120,7 +120,7 @@ export { IModelLabelProvider as ɵbc, MODEL_LABEL_PROVIDER as ɵbd } from './lib
|
|
|
120
120
|
export { IModelPossibilitiesProvider as ɵdj, MODEL_POSSIBILITIES_PROVIDER as ɵdk } from './lib/providers/model-possibilities.provider';
|
|
121
121
|
export { IModelValidatorsProvider as ɵc, MODEL_VALIDATORS_PROVIDER as ɵd } from './lib/providers/model-validators.provider';
|
|
122
122
|
export { AlertService as ɵv } from './lib/services/alert/alert.service';
|
|
123
|
-
export { AppService as
|
|
123
|
+
export { AppService as ɵco } from './lib/services/app/app.service';
|
|
124
124
|
export { AuthService as ɵe } from './lib/services/auth/auth.service';
|
|
125
125
|
export { CalendarService as ɵt } from './lib/services/calendar/calendar.service';
|
|
126
126
|
export { CameraService as ɵq } from './lib/services/camera/camera.service';
|