@smartsoft001/angular 1.1.644 → 1.1.648
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 +23 -5
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/components/app/base/base.component.js +4 -2
- package/esm2015/lib/components/app/base/base.component.js.map +1 -1
- package/esm2015/lib/components/app/split-panel/split-panel.component.js +1 -1
- package/esm2015/lib/components/app/split-panel/split-panel.component.js.map +1 -1
- package/esm2015/lib/components/app/split-panel/split-panel.component.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/input/strings/strings.component.js +1 -1
- package/esm2015/lib/components/input/strings/strings.component.js.map +1 -1
- package/esm2015/lib/components/input/strings/strings.component.metadata.json +1 -1
- package/esm2015/lib/components/tabs/tabs.component.js +5 -2
- package/esm2015/lib/components/tabs/tabs.component.js.map +1 -1
- package/esm2015/lib/components/tabs/tabs.component.metadata.json +1 -1
- package/esm2015/lib/models/interfaces.js.map +1 -1
- package/esm2015/lib/services/menu/menu.service.js +14 -0
- package/esm2015/lib/services/menu/menu.service.js.map +1 -1
- package/esm2015/lib/services/menu/menu.service.metadata.json +1 -1
- package/fesm2015/smartsoft001-angular.js +23 -5
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/lib/components/tabs/tabs.component.d.ts +2 -1
- package/lib/models/interfaces.d.ts +4 -1
- package/lib/services/menu/menu.service.d.ts +5 -0
- package/package.json +5 -5
- package/smartsoft001-angular.metadata.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterContentInit, OnDestroy, QueryList } from "@angular/core";
|
|
1
|
+
import { AfterContentInit, EventEmitter, OnDestroy, QueryList } from "@angular/core";
|
|
2
2
|
import { IonSegment } from "@ionic/angular";
|
|
3
3
|
import { TabComponent } from "./tab/tab.component";
|
|
4
4
|
export declare class TabsComponent implements AfterContentInit, OnDestroy {
|
|
@@ -6,6 +6,7 @@ export declare class TabsComponent implements AfterContentInit, OnDestroy {
|
|
|
6
6
|
tabs: Array<TabComponent>;
|
|
7
7
|
group: IonSegment;
|
|
8
8
|
tabComponents: QueryList<TabComponent>;
|
|
9
|
+
tabChange: EventEmitter<TabComponent>;
|
|
9
10
|
ngAfterContentInit(): void;
|
|
10
11
|
onSelectTab(selected: TabComponent): void;
|
|
11
12
|
ngOnDestroy(): void;
|
|
@@ -11,7 +11,7 @@ export interface IAppOptions {
|
|
|
11
11
|
logo?: string;
|
|
12
12
|
menu?: {
|
|
13
13
|
showForAnonymous?: boolean;
|
|
14
|
-
items
|
|
14
|
+
items?: IMenuItem[];
|
|
15
15
|
};
|
|
16
16
|
style?: IStyle;
|
|
17
17
|
}
|
|
@@ -77,6 +77,9 @@ export interface IMenuItem {
|
|
|
77
77
|
caption?: string;
|
|
78
78
|
component?: any;
|
|
79
79
|
icon?: string;
|
|
80
|
+
infos?: Array<{
|
|
81
|
+
text: string;
|
|
82
|
+
}>;
|
|
80
83
|
}
|
|
81
84
|
export interface IPageOptions {
|
|
82
85
|
title: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentFactoryResolver, Injector, ViewContainerRef } from "@angular/core";
|
|
2
2
|
import { MenuController } from "@ionic/angular";
|
|
3
|
+
import { IMenuItem } from "../../models";
|
|
3
4
|
/**
|
|
4
5
|
* Only to use in smart-page
|
|
5
6
|
* @requires PageComponent
|
|
@@ -9,11 +10,15 @@ export declare class MenuService {
|
|
|
9
10
|
private readonly resolver;
|
|
10
11
|
private _endContainer;
|
|
11
12
|
private _openedEnd;
|
|
13
|
+
private _menuItemsSource;
|
|
14
|
+
menuItems$: import("rxjs").Observable<IMenuItem[]>;
|
|
12
15
|
/**
|
|
13
16
|
* @desc checking if the menu is open (menu on the right side of the screen)
|
|
14
17
|
*/
|
|
15
18
|
get openedEnd(): boolean;
|
|
16
19
|
constructor(menuCtrl: MenuController, resolver: ComponentFactoryResolver);
|
|
20
|
+
changeMenuItemByRoute(route: string, changes: Partial<IMenuItem>): void;
|
|
21
|
+
setMenuItems(items: IMenuItem[]): void;
|
|
17
22
|
/**
|
|
18
23
|
* @private
|
|
19
24
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartsoft001/angular",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.648",
|
|
4
4
|
"main": "bundles/smartsoft001-angular.umd.js",
|
|
5
5
|
"module": "fesm2015/smartsoft001-angular.js",
|
|
6
6
|
"es2015": "fesm2015/smartsoft001-angular.js",
|
|
@@ -29,14 +29,14 @@
|
|
|
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.596",
|
|
33
|
+
"@smartsoft001/models": "1.0.623",
|
|
34
34
|
"reflect-metadata": "0.1.13",
|
|
35
|
-
"@smartsoft001/utils": "1.0.
|
|
35
|
+
"@smartsoft001/utils": "1.0.658",
|
|
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.615",
|
|
40
40
|
"@ngrx/router-store": "12.4.0",
|
|
41
41
|
"lodash-decorators": "^6.0.1",
|
|
42
42
|
"jwt-decode": "3.1.1",
|