bulk-tool-menu-library 0.2.1 → 20.0.1
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/esm2022/bulk-tool-20.mjs +5 -0
- package/esm2022/lib/auth.service.mjs +50 -0
- package/esm2022/lib/bulk-tool.component.mjs +22 -0
- package/esm2022/lib/bulk-tool.module.mjs +50 -0
- package/esm2022/lib/bulk-tool.service.mjs +14 -0
- package/esm2022/lib/constant.enum.mjs +6 -0
- package/esm2022/lib/environmentsModel.info.mjs +2 -0
- package/esm2022/lib/http-interceptor.mjs +25 -0
- package/esm2022/lib/login/login.component.mjs +84 -0
- package/esm2022/lib/materils/materils.module.mjs +172 -0
- package/esm2022/lib/menu/menu.component.mjs +47 -0
- package/esm2022/public_api.mjs +10 -0
- package/fesm2022/bulk-tool-20.mjs +448 -0
- package/fesm2022/bulk-tool-20.mjs.map +1 -0
- package/index.d.ts +144 -0
- package/lib/auth.service.d.ts +16 -0
- package/lib/bulk-tool.component.d.ts +8 -0
- package/lib/bulk-tool.module.d.ts +17 -0
- package/lib/bulk-tool.service.d.ts +6 -0
- package/lib/constant.enum.d.ts +5 -0
- package/lib/environmentsModel.info.d.ts +3 -0
- package/lib/http-interceptor.d.ts +8 -0
- package/lib/login/login.component.d.ts +27 -0
- package/lib/materils/materils.module.d.ts +45 -0
- package/lib/menu/menu.component.d.ts +28 -0
- package/package.json +23 -59
- package/{projects/bulk-tool/src/public_api.ts → public_api.d.ts} +6 -10
- package/.editorconfig +0 -13
- package/README.md +0 -27
- package/angular.json +0 -172
- package/e2e/protractor.conf.js +0 -28
- package/e2e/src/app.e2e-spec.ts +0 -14
- package/e2e/src/app.po.ts +0 -11
- package/e2e/tsconfig.e2e.json +0 -13
- package/projects/bulk-tool/karma.conf.js +0 -31
- package/projects/bulk-tool/ng-package.json +0 -8
- package/projects/bulk-tool/ng-package.prod.json +0 -7
- package/projects/bulk-tool/package-lock.json +0 -5
- package/projects/bulk-tool/package.json +0 -8
- package/projects/bulk-tool/src/lib/auth.service.spec.ts +0 -15
- package/projects/bulk-tool/src/lib/auth.service.ts +0 -46
- package/projects/bulk-tool/src/lib/base-app.service.ts +0 -36
- package/projects/bulk-tool/src/lib/bulk-tool.component.spec.ts +0 -25
- package/projects/bulk-tool/src/lib/bulk-tool.component.ts +0 -19
- package/projects/bulk-tool/src/lib/bulk-tool.module.ts +0 -41
- package/projects/bulk-tool/src/lib/bulk-tool.service.spec.ts +0 -15
- package/projects/bulk-tool/src/lib/constant.enum.ts +0 -6
- package/projects/bulk-tool/src/lib/environmentsModel.info.ts +0 -5
- package/projects/bulk-tool/src/lib/http-interceptor.ts +0 -22
- package/projects/bulk-tool/src/lib/login/login.component.css +0 -86
- package/projects/bulk-tool/src/lib/login/login.component.html +0 -59
- package/projects/bulk-tool/src/lib/login/login.component.spec.ts +0 -25
- package/projects/bulk-tool/src/lib/login/login.component.ts +0 -104
- package/projects/bulk-tool/src/lib/materils/materils.module.spec.ts +0 -13
- package/projects/bulk-tool/src/lib/materils/materils.module.ts +0 -96
- package/projects/bulk-tool/src/lib/menu/menu.component.css +0 -388
- package/projects/bulk-tool/src/lib/menu/menu.component.html +0 -46
- package/projects/bulk-tool/src/lib/menu/menu.component.spec.ts +0 -25
- package/projects/bulk-tool/src/lib/menu/menu.component.ts +0 -197
- package/projects/bulk-tool/src/test.ts +0 -22
- package/projects/bulk-tool/tsconfig.lib.json +0 -33
- package/projects/bulk-tool/tsconfig.spec.json +0 -17
- package/projects/bulk-tool/tslint.json +0 -17
- package/src/app/app.component.css +0 -0
- package/src/app/app.component.html +0 -18
- package/src/app/app.component.spec.ts +0 -27
- package/src/app/app.component.ts +0 -14
- package/src/app/app.module.ts +0 -44
- package/src/app/home/home.component.css +0 -0
- package/src/app/home/home.component.html +0 -13
- package/src/app/home/home.component.spec.ts +0 -25
- package/src/app/home/home.component.ts +0 -15
- package/src/app/login/login.component.css +0 -76
- package/src/app/login/login.component.html +0 -1
- package/src/app/login/login.component.spec.ts +0 -25
- package/src/app/login/login.component.ts +0 -72
- package/src/assets/.gitkeep +0 -0
- package/src/browserslist +0 -9
- package/src/environments/environment.prod.ts +0 -4
- package/src/environments/environment.ts +0 -18
- package/src/favicon.ico +0 -0
- package/src/index.html +0 -24
- package/src/karma.conf.js +0 -31
- package/src/main.ts +0 -12
- package/src/polyfills.ts +0 -80
- package/src/styles.css +0 -1
- package/src/test.ts +0 -20
- package/src/tsconfig.app.json +0 -11
- package/src/tsconfig.spec.json +0 -18
- package/src/tslint.json +0 -17
- package/tsconfig.json +0 -29
- package/tslint.json +0 -130
package/index.d.ts
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, Injector, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
import * as i7$1 from '@angular/router';
|
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
|
+
import * as i5$1 from '@angular/forms';
|
|
6
|
+
import { FormGroup, FormBuilder, AbstractControl } from '@angular/forms';
|
|
7
|
+
import * as i8$1 from '@angular/common/http';
|
|
8
|
+
import { HttpClient } from '@angular/common/http';
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
10
|
+
import * as i1 from '@angular/cdk/a11y';
|
|
11
|
+
import * as i2 from '@angular/cdk/table';
|
|
12
|
+
import * as i3 from '@angular/cdk/tree';
|
|
13
|
+
import * as i4 from '@angular/cdk/drag-drop';
|
|
14
|
+
import * as i5 from '@angular/material/autocomplete';
|
|
15
|
+
import * as i6 from '@angular/material/badge';
|
|
16
|
+
import * as i7 from '@angular/material/bottom-sheet';
|
|
17
|
+
import * as i8 from '@angular/material/button';
|
|
18
|
+
import * as i9 from '@angular/material/button-toggle';
|
|
19
|
+
import * as i10 from '@angular/material/card';
|
|
20
|
+
import * as i11 from '@angular/material/checkbox';
|
|
21
|
+
import * as i12 from '@angular/material/chips';
|
|
22
|
+
import * as i13 from '@angular/material/stepper';
|
|
23
|
+
import * as i14 from '@angular/material/datepicker';
|
|
24
|
+
import * as i15 from '@angular/material/dialog';
|
|
25
|
+
import * as i16 from '@angular/material/divider';
|
|
26
|
+
import * as i17 from '@angular/material/expansion';
|
|
27
|
+
import * as i18 from '@angular/material/grid-list';
|
|
28
|
+
import * as i19 from '@angular/material/icon';
|
|
29
|
+
import * as i20 from '@angular/material/input';
|
|
30
|
+
import * as i21 from '@angular/material/list';
|
|
31
|
+
import * as i22 from '@angular/material/menu';
|
|
32
|
+
import * as i23 from '@angular/material/core';
|
|
33
|
+
import * as i24 from '@angular/material/paginator';
|
|
34
|
+
import * as i25 from '@angular/material/progress-bar';
|
|
35
|
+
import * as i26 from '@angular/material/progress-spinner';
|
|
36
|
+
import * as i27 from '@angular/material/radio';
|
|
37
|
+
import * as i28 from '@angular/material/select';
|
|
38
|
+
import * as i29 from '@angular/material/sidenav';
|
|
39
|
+
import * as i30 from '@angular/material/slider';
|
|
40
|
+
import * as i31 from '@angular/material/slide-toggle';
|
|
41
|
+
import * as i32 from '@angular/material/snack-bar';
|
|
42
|
+
import * as i33 from '@angular/material/sort';
|
|
43
|
+
import * as i34 from '@angular/material/table';
|
|
44
|
+
import * as i35 from '@angular/material/tabs';
|
|
45
|
+
import * as i36 from '@angular/material/toolbar';
|
|
46
|
+
import * as i37 from '@angular/material/tooltip';
|
|
47
|
+
import * as i38 from '@angular/material/tree';
|
|
48
|
+
import * as i39 from '@angular/cdk/scrolling';
|
|
49
|
+
import * as i6$1 from '@angular/common';
|
|
50
|
+
|
|
51
|
+
declare class BulkToolService {
|
|
52
|
+
constructor();
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BulkToolService, never>;
|
|
54
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BulkToolService>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class BulkToolComponent implements OnInit {
|
|
58
|
+
constructor();
|
|
59
|
+
ngOnInit(): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BulkToolComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BulkToolComponent, "lib-BulkTool", never, {}, {}, never, never, false, never>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
interface IEnvironmentsInfo {
|
|
65
|
+
Url: string;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
declare class AuthService {
|
|
69
|
+
private http;
|
|
70
|
+
injector: Injector;
|
|
71
|
+
private API_ENDPOINT;
|
|
72
|
+
_username: any;
|
|
73
|
+
constructor(http: HttpClient, injector: Injector);
|
|
74
|
+
login(username: string, password: string): Observable<any>;
|
|
75
|
+
logout(): void;
|
|
76
|
+
GetMenu(): Observable<any>;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
78
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface Login {
|
|
82
|
+
[key: string]: AbstractControl;
|
|
83
|
+
}
|
|
84
|
+
declare class LoginComponent implements OnInit {
|
|
85
|
+
private formBuilder;
|
|
86
|
+
private route;
|
|
87
|
+
private router;
|
|
88
|
+
private authenticationService;
|
|
89
|
+
isLoading: boolean;
|
|
90
|
+
routeUrl: string;
|
|
91
|
+
loginForm: FormGroup;
|
|
92
|
+
submitted: boolean;
|
|
93
|
+
returnUrl: string;
|
|
94
|
+
error: string;
|
|
95
|
+
constructor(formBuilder: FormBuilder, route: ActivatedRoute, router: Router, authenticationService: AuthService);
|
|
96
|
+
isvalidUser: boolean;
|
|
97
|
+
ngOnInit(): void;
|
|
98
|
+
get formsData(): Login;
|
|
99
|
+
onLogin(): void;
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "lib-login", never, { "routeUrl": { "alias": "routeUrl"; "required": false; }; }, {}, never, never, false, never>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
interface Menu {
|
|
105
|
+
displaytext: string;
|
|
106
|
+
displayorder: number;
|
|
107
|
+
menuId: number;
|
|
108
|
+
menulevel: number;
|
|
109
|
+
parentMenuId: number;
|
|
110
|
+
targetAction: string;
|
|
111
|
+
targetServer: string;
|
|
112
|
+
}
|
|
113
|
+
declare class MenuComponent implements OnInit {
|
|
114
|
+
private authenticationService;
|
|
115
|
+
async: any;
|
|
116
|
+
MenuMode: string;
|
|
117
|
+
message: string;
|
|
118
|
+
tooltext: any;
|
|
119
|
+
sidenav: any;
|
|
120
|
+
messages: string[];
|
|
121
|
+
MenuData: Menu[];
|
|
122
|
+
constructor(authenticationService: AuthService);
|
|
123
|
+
ngOnInit(): void;
|
|
124
|
+
GetCBMenu(): void;
|
|
125
|
+
listItemClick(link: any): void;
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "lib-menu", never, {}, {}, never, never, false, never>;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
declare class MaterilsModule {
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterilsModule, never>;
|
|
132
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterilsModule, never, never, [typeof i1.A11yModule, typeof i2.CdkTableModule, typeof i3.CdkTreeModule, typeof i4.DragDropModule, typeof i5.MatAutocompleteModule, typeof i6.MatBadgeModule, typeof i7.MatBottomSheetModule, typeof i8.MatButtonModule, typeof i9.MatButtonToggleModule, typeof i10.MatCardModule, typeof i11.MatCheckboxModule, typeof i12.MatChipsModule, typeof i13.MatStepperModule, typeof i14.MatDatepickerModule, typeof i15.MatDialogModule, typeof i16.MatDividerModule, typeof i17.MatExpansionModule, typeof i18.MatGridListModule, typeof i19.MatIconModule, typeof i20.MatInputModule, typeof i21.MatListModule, typeof i22.MatMenuModule, typeof i23.MatNativeDateModule, typeof i24.MatPaginatorModule, typeof i25.MatProgressBarModule, typeof i26.MatProgressSpinnerModule, typeof i27.MatRadioModule, typeof i23.MatRippleModule, typeof i28.MatSelectModule, typeof i29.MatSidenavModule, typeof i30.MatSliderModule, typeof i31.MatSlideToggleModule, typeof i32.MatSnackBarModule, typeof i33.MatSortModule, typeof i34.MatTableModule, typeof i35.MatTabsModule, typeof i36.MatToolbarModule, typeof i37.MatTooltipModule, typeof i38.MatTreeModule, typeof i39.ScrollingModule]>;
|
|
133
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MaterilsModule>;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
declare class BulkToolModule {
|
|
137
|
+
static forRoot(config: IEnvironmentsInfo): ModuleWithProviders<BulkToolModule>;
|
|
138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BulkToolModule, never>;
|
|
139
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BulkToolModule, [typeof BulkToolComponent, typeof LoginComponent, typeof MenuComponent], [typeof MaterilsModule, typeof i5$1.FormsModule, typeof i6$1.CommonModule, typeof i7$1.RouterModule, typeof i5$1.ReactiveFormsModule, typeof i8$1.HttpClientModule], [typeof BulkToolComponent, typeof LoginComponent, typeof MenuComponent]>;
|
|
140
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BulkToolModule>;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export { BulkToolComponent, BulkToolModule, BulkToolService, LoginComponent, MaterilsModule, MenuComponent };
|
|
144
|
+
export type { Login, Menu };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AuthService {
|
|
6
|
+
private http;
|
|
7
|
+
injector: Injector;
|
|
8
|
+
private API_ENDPOINT;
|
|
9
|
+
_username: any;
|
|
10
|
+
constructor(http: HttpClient, injector: Injector);
|
|
11
|
+
login(username: string, password: string): Observable<any>;
|
|
12
|
+
logout(): void;
|
|
13
|
+
GetMenu(): Observable<any>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BulkToolComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BulkToolComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BulkToolComponent, "lib-BulkTool", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { IEnvironmentsInfo } from '../lib/environmentsModel.info';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./bulk-tool.component";
|
|
5
|
+
import * as i2 from "./login/login.component";
|
|
6
|
+
import * as i3 from "./menu/menu.component";
|
|
7
|
+
import * as i4 from "./materils/materils.module";
|
|
8
|
+
import * as i5 from "@angular/forms";
|
|
9
|
+
import * as i6 from "@angular/common";
|
|
10
|
+
import * as i7 from "@angular/router";
|
|
11
|
+
import * as i8 from "@angular/common/http";
|
|
12
|
+
export declare class BulkToolModule {
|
|
13
|
+
static forRoot(config: IEnvironmentsInfo): ModuleWithProviders<BulkToolModule>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BulkToolModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BulkToolModule, [typeof i1.BulkToolComponent, typeof i2.LoginComponent, typeof i3.MenuComponent], [typeof i4.MaterilsModule, typeof i5.FormsModule, typeof i6.CommonModule, typeof i7.RouterModule, typeof i5.ReactiveFormsModule, typeof i8.HttpClientModule], [typeof i1.BulkToolComponent, typeof i2.LoginComponent, typeof i3.MenuComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BulkToolModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HttpLibInterceptor implements HttpInterceptor {
|
|
5
|
+
intercept(request: HttpRequest<any>, newRequest: HttpHandler): Observable<HttpEvent<any>>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpLibInterceptor, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HttpLibInterceptor>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { FormBuilder, FormGroup, AbstractControl } from '@angular/forms';
|
|
4
|
+
import { AuthService } from '../auth.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface Login {
|
|
7
|
+
[key: string]: AbstractControl;
|
|
8
|
+
}
|
|
9
|
+
export declare class LoginComponent implements OnInit {
|
|
10
|
+
private formBuilder;
|
|
11
|
+
private route;
|
|
12
|
+
private router;
|
|
13
|
+
private authenticationService;
|
|
14
|
+
isLoading: boolean;
|
|
15
|
+
routeUrl: string;
|
|
16
|
+
loginForm: FormGroup;
|
|
17
|
+
submitted: boolean;
|
|
18
|
+
returnUrl: string;
|
|
19
|
+
error: string;
|
|
20
|
+
constructor(formBuilder: FormBuilder, route: ActivatedRoute, router: Router, authenticationService: AuthService);
|
|
21
|
+
isvalidUser: boolean;
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
get formsData(): Login;
|
|
24
|
+
onLogin(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "lib-login", never, { "routeUrl": { "alias": "routeUrl"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/cdk/a11y";
|
|
3
|
+
import * as i2 from "@angular/cdk/table";
|
|
4
|
+
import * as i3 from "@angular/cdk/tree";
|
|
5
|
+
import * as i4 from "@angular/cdk/drag-drop";
|
|
6
|
+
import * as i5 from "@angular/material/autocomplete";
|
|
7
|
+
import * as i6 from "@angular/material/badge";
|
|
8
|
+
import * as i7 from "@angular/material/bottom-sheet";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "@angular/material/button-toggle";
|
|
11
|
+
import * as i10 from "@angular/material/card";
|
|
12
|
+
import * as i11 from "@angular/material/checkbox";
|
|
13
|
+
import * as i12 from "@angular/material/chips";
|
|
14
|
+
import * as i13 from "@angular/material/stepper";
|
|
15
|
+
import * as i14 from "@angular/material/datepicker";
|
|
16
|
+
import * as i15 from "@angular/material/dialog";
|
|
17
|
+
import * as i16 from "@angular/material/divider";
|
|
18
|
+
import * as i17 from "@angular/material/expansion";
|
|
19
|
+
import * as i18 from "@angular/material/grid-list";
|
|
20
|
+
import * as i19 from "@angular/material/icon";
|
|
21
|
+
import * as i20 from "@angular/material/input";
|
|
22
|
+
import * as i21 from "@angular/material/list";
|
|
23
|
+
import * as i22 from "@angular/material/menu";
|
|
24
|
+
import * as i23 from "@angular/material/core";
|
|
25
|
+
import * as i24 from "@angular/material/paginator";
|
|
26
|
+
import * as i25 from "@angular/material/progress-bar";
|
|
27
|
+
import * as i26 from "@angular/material/progress-spinner";
|
|
28
|
+
import * as i27 from "@angular/material/radio";
|
|
29
|
+
import * as i28 from "@angular/material/select";
|
|
30
|
+
import * as i29 from "@angular/material/sidenav";
|
|
31
|
+
import * as i30 from "@angular/material/slider";
|
|
32
|
+
import * as i31 from "@angular/material/slide-toggle";
|
|
33
|
+
import * as i32 from "@angular/material/snack-bar";
|
|
34
|
+
import * as i33 from "@angular/material/sort";
|
|
35
|
+
import * as i34 from "@angular/material/table";
|
|
36
|
+
import * as i35 from "@angular/material/tabs";
|
|
37
|
+
import * as i36 from "@angular/material/toolbar";
|
|
38
|
+
import * as i37 from "@angular/material/tooltip";
|
|
39
|
+
import * as i38 from "@angular/material/tree";
|
|
40
|
+
import * as i39 from "@angular/cdk/scrolling";
|
|
41
|
+
export declare class MaterilsModule {
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterilsModule, never>;
|
|
43
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterilsModule, never, never, [typeof i1.A11yModule, typeof i2.CdkTableModule, typeof i3.CdkTreeModule, typeof i4.DragDropModule, typeof i5.MatAutocompleteModule, typeof i6.MatBadgeModule, typeof i7.MatBottomSheetModule, typeof i8.MatButtonModule, typeof i9.MatButtonToggleModule, typeof i10.MatCardModule, typeof i11.MatCheckboxModule, typeof i12.MatChipsModule, typeof i13.MatStepperModule, typeof i14.MatDatepickerModule, typeof i15.MatDialogModule, typeof i16.MatDividerModule, typeof i17.MatExpansionModule, typeof i18.MatGridListModule, typeof i19.MatIconModule, typeof i20.MatInputModule, typeof i21.MatListModule, typeof i22.MatMenuModule, typeof i23.MatNativeDateModule, typeof i24.MatPaginatorModule, typeof i25.MatProgressBarModule, typeof i26.MatProgressSpinnerModule, typeof i27.MatRadioModule, typeof i23.MatRippleModule, typeof i28.MatSelectModule, typeof i29.MatSidenavModule, typeof i30.MatSliderModule, typeof i31.MatSlideToggleModule, typeof i32.MatSnackBarModule, typeof i33.MatSortModule, typeof i34.MatTableModule, typeof i35.MatTabsModule, typeof i36.MatToolbarModule, typeof i37.MatTooltipModule, typeof i38.MatTreeModule, typeof i39.ScrollingModule]>;
|
|
44
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MaterilsModule>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AuthService } from '../auth.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export interface Menu {
|
|
5
|
+
displaytext: string;
|
|
6
|
+
displayorder: number;
|
|
7
|
+
menuId: number;
|
|
8
|
+
menulevel: number;
|
|
9
|
+
parentMenuId: number;
|
|
10
|
+
targetAction: string;
|
|
11
|
+
targetServer: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class MenuComponent implements OnInit {
|
|
14
|
+
private authenticationService;
|
|
15
|
+
async: any;
|
|
16
|
+
MenuMode: string;
|
|
17
|
+
message: string;
|
|
18
|
+
tooltext: any;
|
|
19
|
+
sidenav: any;
|
|
20
|
+
messages: string[];
|
|
21
|
+
MenuData: Menu[];
|
|
22
|
+
constructor(authenticationService: AuthService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
GetCBMenu(): void;
|
|
25
|
+
listItemClick(link: any): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "lib-menu", never, {}, {}, never, never, false, never>;
|
|
28
|
+
}
|
package/package.json
CHANGED
|
@@ -1,59 +1,23 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "bulk-tool-menu-library",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"@angular/router": "^6.1.0",
|
|
25
|
-
"bootstrap": "^4.3.1",
|
|
26
|
-
"classlist.js": "^1.1.20150312",
|
|
27
|
-
"core-js": "^2.5.4",
|
|
28
|
-
"exceladdincbms-v1": "^5.6.0",
|
|
29
|
-
"node-sass": "^4.14.1",
|
|
30
|
-
"rxjs": "6.2.2",
|
|
31
|
-
"web-animations-js": "^2.3.2",
|
|
32
|
-
"zone.js": "~0.8.26"
|
|
33
|
-
},
|
|
34
|
-
"devDependencies": {
|
|
35
|
-
"@angular-devkit/build-angular": "~0.7.0",
|
|
36
|
-
"@angular-devkit/build-ng-packagr": "~0.7.0",
|
|
37
|
-
"@angular/cli": "~6.1.3",
|
|
38
|
-
"@angular/compiler-cli": "^6.1.0",
|
|
39
|
-
"@angular/language-service": "^6.1.0",
|
|
40
|
-
"@types/jasmine": "~2.8.6",
|
|
41
|
-
"@types/jasminewd2": "~2.0.3",
|
|
42
|
-
"@types/node": "~8.9.4",
|
|
43
|
-
"codelyzer": "~4.2.1",
|
|
44
|
-
"jasmine-core": "~2.99.1",
|
|
45
|
-
"jasmine-spec-reporter": "~4.2.1",
|
|
46
|
-
"karma": "~1.7.1",
|
|
47
|
-
"karma-chrome-launcher": "~2.2.0",
|
|
48
|
-
"karma-coverage-istanbul-reporter": "~2.0.0",
|
|
49
|
-
"karma-jasmine": "~1.1.1",
|
|
50
|
-
"karma-jasmine-html-reporter": "^0.2.2",
|
|
51
|
-
"ng-packagr": "^3.0.0",
|
|
52
|
-
"protractor": "~5.3.0",
|
|
53
|
-
"ts-node": "~5.0.1",
|
|
54
|
-
"tsickle": "^0.34.3",
|
|
55
|
-
"tslib": "^1.9.0",
|
|
56
|
-
"tslint": "~5.9.1",
|
|
57
|
-
"typescript": "~2.7.2"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "bulk-tool-menu-library",
|
|
3
|
+
"version": "20.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^20.3.13",
|
|
6
|
+
"@angular/core": "^20.3.13"
|
|
7
|
+
},
|
|
8
|
+
"module": "fesm2022/bulk-tool-20.mjs",
|
|
9
|
+
"typings": "index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
"./package.json": {
|
|
12
|
+
"default": "./package.json"
|
|
13
|
+
},
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./index.d.ts",
|
|
16
|
+
"default": "./fesm2022/bulk-tool-20.mjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"tslib": "^2.3.0"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export * from './lib/
|
|
6
|
-
export * from './lib/
|
|
7
|
-
export * from './lib/bulk-tool.module';
|
|
8
|
-
export * from './lib/login/login.component';
|
|
9
|
-
export * from './lib/menu/menu.component';
|
|
10
|
-
export * from './lib/materils/materils.module';
|
|
1
|
+
export * from './lib/bulk-tool.service';
|
|
2
|
+
export * from './lib/bulk-tool.component';
|
|
3
|
+
export * from './lib/bulk-tool.module';
|
|
4
|
+
export * from './lib/login/login.component';
|
|
5
|
+
export * from './lib/menu/menu.component';
|
|
6
|
+
export * from './lib/materils/materils.module';
|
package/.editorconfig
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# Editor configuration, see http://editorconfig.org
|
|
2
|
-
root = true
|
|
3
|
-
|
|
4
|
-
[*]
|
|
5
|
-
charset = utf-8
|
|
6
|
-
indent_style = space
|
|
7
|
-
indent_size = 2
|
|
8
|
-
insert_final_newline = true
|
|
9
|
-
trim_trailing_whitespace = true
|
|
10
|
-
|
|
11
|
-
[*.md]
|
|
12
|
-
max_line_length = off
|
|
13
|
-
trim_trailing_whitespace = false
|
package/README.md
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# BulkToolLibrary
|
|
2
|
-
|
|
3
|
-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.1.3.
|
|
4
|
-
|
|
5
|
-
## Development server
|
|
6
|
-
|
|
7
|
-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
|
|
8
|
-
|
|
9
|
-
## Code scaffolding
|
|
10
|
-
|
|
11
|
-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
|
|
12
|
-
|
|
13
|
-
## Build
|
|
14
|
-
|
|
15
|
-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
|
|
16
|
-
|
|
17
|
-
## Running unit tests
|
|
18
|
-
|
|
19
|
-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
20
|
-
|
|
21
|
-
## Running end-to-end tests
|
|
22
|
-
|
|
23
|
-
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
|
|
24
|
-
|
|
25
|
-
## Further help
|
|
26
|
-
|
|
27
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
package/angular.json
DELETED
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
3
|
-
"version": 1,
|
|
4
|
-
"newProjectRoot": "projects",
|
|
5
|
-
"projects": {
|
|
6
|
-
"BulkToolLibrary": {
|
|
7
|
-
"root": "",
|
|
8
|
-
"sourceRoot": "src",
|
|
9
|
-
"projectType": "application",
|
|
10
|
-
"prefix": "app",
|
|
11
|
-
"schematics": {},
|
|
12
|
-
"architect": {
|
|
13
|
-
"build": {
|
|
14
|
-
"builder": "@angular-devkit/build-angular:browser",
|
|
15
|
-
"options": {
|
|
16
|
-
"outputPath": "dist/BulkToolLibrary",
|
|
17
|
-
"index": "src/index.html",
|
|
18
|
-
"main": "src/main.ts",
|
|
19
|
-
"polyfills": "src/polyfills.ts",
|
|
20
|
-
"tsConfig": "src/tsconfig.app.json",
|
|
21
|
-
"assets": [
|
|
22
|
-
"src/favicon.ico",
|
|
23
|
-
"src/assets"
|
|
24
|
-
],
|
|
25
|
-
"styles": [
|
|
26
|
-
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
|
27
|
-
"src/styles.css",
|
|
28
|
-
"./node_modules/bootstrap/dist/css/bootstrap.min.css"
|
|
29
|
-
],
|
|
30
|
-
"scripts": [
|
|
31
|
-
|
|
32
|
-
"./node_modules/bootstrap/dist/js/bootstrap.min.js"
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
"configurations": {
|
|
36
|
-
"production": {
|
|
37
|
-
"fileReplacements": [
|
|
38
|
-
{
|
|
39
|
-
"replace": "src/environments/environment.ts",
|
|
40
|
-
"with": "src/environments/environment.prod.ts"
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"optimization": true,
|
|
44
|
-
"outputHashing": "all",
|
|
45
|
-
"sourceMap": false,
|
|
46
|
-
"extractCss": true,
|
|
47
|
-
"namedChunks": false,
|
|
48
|
-
"aot": true,
|
|
49
|
-
"extractLicenses": true,
|
|
50
|
-
"vendorChunk": false,
|
|
51
|
-
"buildOptimizer": true
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
"serve": {
|
|
56
|
-
"builder": "@angular-devkit/build-angular:dev-server",
|
|
57
|
-
"options": {
|
|
58
|
-
"browserTarget": "BulkToolLibrary:build"
|
|
59
|
-
},
|
|
60
|
-
"configurations": {
|
|
61
|
-
"production": {
|
|
62
|
-
"browserTarget": "BulkToolLibrary:build:production"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"extract-i18n": {
|
|
67
|
-
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
68
|
-
"options": {
|
|
69
|
-
"browserTarget": "BulkToolLibrary:build"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"test": {
|
|
73
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
74
|
-
"options": {
|
|
75
|
-
"main": "src/test.ts",
|
|
76
|
-
"polyfills": "src/polyfills.ts",
|
|
77
|
-
"tsConfig": "src/tsconfig.spec.json",
|
|
78
|
-
"karmaConfig": "src/karma.conf.js",
|
|
79
|
-
"styles": [
|
|
80
|
-
"src/styles.css"
|
|
81
|
-
],
|
|
82
|
-
"scripts": [],
|
|
83
|
-
"assets": [
|
|
84
|
-
"src/favicon.ico",
|
|
85
|
-
"src/assets"
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"lint": {
|
|
90
|
-
"builder": "@angular-devkit/build-angular:tslint",
|
|
91
|
-
"options": {
|
|
92
|
-
"tsConfig": [
|
|
93
|
-
"src/tsconfig.app.json",
|
|
94
|
-
"src/tsconfig.spec.json"
|
|
95
|
-
],
|
|
96
|
-
"exclude": [
|
|
97
|
-
"**/node_modules/**"
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"BulkToolLibrary-e2e": {
|
|
104
|
-
"root": "e2e/",
|
|
105
|
-
"projectType": "application",
|
|
106
|
-
"architect": {
|
|
107
|
-
"e2e": {
|
|
108
|
-
"builder": "@angular-devkit/build-angular:protractor",
|
|
109
|
-
"options": {
|
|
110
|
-
"protractorConfig": "e2e/protractor.conf.js",
|
|
111
|
-
"devServerTarget": "BulkToolLibrary:serve"
|
|
112
|
-
},
|
|
113
|
-
"configurations": {
|
|
114
|
-
"production": {
|
|
115
|
-
"devServerTarget": "BulkToolLibrary:serve:production"
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"lint": {
|
|
120
|
-
"builder": "@angular-devkit/build-angular:tslint",
|
|
121
|
-
"options": {
|
|
122
|
-
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
123
|
-
"exclude": [
|
|
124
|
-
"**/node_modules/**"
|
|
125
|
-
]
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"BulkTool": {
|
|
131
|
-
"root": "projects/bulk-tool",
|
|
132
|
-
"sourceRoot": "projects/bulk-tool/src",
|
|
133
|
-
"projectType": "library",
|
|
134
|
-
"prefix": "lib",
|
|
135
|
-
"architect": {
|
|
136
|
-
"build": {
|
|
137
|
-
"builder": "@angular-devkit/build-ng-packagr:build",
|
|
138
|
-
"options": {
|
|
139
|
-
"tsConfig": "projects/bulk-tool/tsconfig.lib.json",
|
|
140
|
-
"project": "projects/bulk-tool/ng-package.json"
|
|
141
|
-
},
|
|
142
|
-
"configurations": {
|
|
143
|
-
"production": {
|
|
144
|
-
"project": "projects/bulk-tool/ng-package.prod.json"
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"test": {
|
|
149
|
-
"builder": "@angular-devkit/build-angular:karma",
|
|
150
|
-
"options": {
|
|
151
|
-
"main": "projects/bulk-tool/src/test.ts",
|
|
152
|
-
"tsConfig": "projects/bulk-tool/tsconfig.spec.json",
|
|
153
|
-
"karmaConfig": "projects/bulk-tool/karma.conf.js"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
"lint": {
|
|
157
|
-
"builder": "@angular-devkit/build-angular:tslint",
|
|
158
|
-
"options": {
|
|
159
|
-
"tsConfig": [
|
|
160
|
-
"projects/bulk-tool/tsconfig.lib.json",
|
|
161
|
-
"projects/bulk-tool/tsconfig.spec.json"
|
|
162
|
-
],
|
|
163
|
-
"exclude": [
|
|
164
|
-
"**/node_modules/**"
|
|
165
|
-
]
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"defaultProject": "BulkToolLibrary"
|
|
172
|
-
}
|