@sachin9822/reports-lib 0.0.6 → 0.0.7
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/environments/environment.d.ts +5 -0
- package/esm2020/environments/environment.mjs +10 -0
- package/esm2020/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.mjs +20 -7
- package/esm2020/lib/interceptors/auth-http.interceptor.mjs +88 -0
- package/esm2020/lib/models/accgl-details-enquiry-reportmodel.mjs +2 -0
- package/esm2020/lib/models/journal-voucher-entry-model.mjs +2 -0
- package/esm2020/lib/models/security/authorise-profile-system-function.model.mjs +2 -0
- package/esm2020/lib/models/security/authorise-profile-system-report.model.mjs +2 -0
- package/esm2020/lib/models/security/authorise-profile-system-shortcurt.model.mjs +2 -0
- package/esm2020/lib/models/security/authorize-profile-ratesheet.model.mjs +2 -0
- package/esm2020/lib/models/security/authorize-profile.model.mjs +2 -0
- package/esm2020/lib/models/security/user-session.model.mjs +6 -0
- package/esm2020/lib/models/view-pending-queue-option.enum.mjs +13 -0
- package/esm2020/lib/reports-lib-routing.module.mjs +2 -6
- package/esm2020/lib/reports-lib.module.mjs +47 -15
- package/esm2020/lib/services/active-x.service.mjs +63 -0
- package/esm2020/lib/services/report.service.mjs +24 -0
- package/esm2020/lib/services/session.service.mjs +54 -0
- package/esm2020/public-api.mjs +1 -2
- package/fesm2015/sachin9822-reports-lib.mjs +288 -37
- package/fesm2015/sachin9822-reports-lib.mjs.map +1 -1
- package/fesm2020/sachin9822-reports-lib.mjs +286 -37
- package/fesm2020/sachin9822-reports-lib.mjs.map +1 -1
- package/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.d.ts +6 -1
- package/lib/interceptors/auth-http.interceptor.d.ts +15 -0
- package/lib/models/accgl-details-enquiry-reportmodel.d.ts +8 -0
- package/lib/models/journal-voucher-entry-model.d.ts +18 -0
- package/lib/models/security/authorise-profile-system-function.model.d.ts +9 -0
- package/lib/models/security/authorise-profile-system-report.model.d.ts +6 -0
- package/lib/models/security/authorise-profile-system-shortcurt.model.d.ts +4 -0
- package/lib/models/security/authorize-profile-ratesheet.model.d.ts +5 -0
- package/lib/models/security/authorize-profile.model.d.ts +9 -0
- package/lib/models/security/user-session.model.d.ts +31 -0
- package/lib/models/view-pending-queue-option.enum.d.ts +10 -0
- package/lib/reports-lib.module.d.ts +7 -5
- package/lib/services/active-x.service.d.ts +23 -0
- package/lib/services/report.service.d.ts +13 -0
- package/lib/services/session.service.d.ts +21 -0
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2020/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.mjs +0 -14
- package/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.d.ts +0 -8
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ViewPendingQueueOption } from "../view-pending-queue-option.enum";
|
2
|
+
export interface AuthorizeProfileModel {
|
3
|
+
name: string;
|
4
|
+
requiresAuthorisationPin: boolean;
|
5
|
+
amlDisplay: boolean;
|
6
|
+
privilegeRating: number;
|
7
|
+
viewPendingQueue: ViewPendingQueueOption;
|
8
|
+
isAllowUnclaimedTransaction: boolean;
|
9
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { AuthorizeProfileSystemFunctionModel } from './authorise-profile-system-function.model';
|
2
|
+
import { AuthorizeProfileRatesheetModel } from './authorize-profile-ratesheet.model';
|
3
|
+
import { AuthorizeProfileModel } from './authorize-profile.model';
|
4
|
+
import { AuthorizeProfileSystemReportModel } from './authorise-profile-system-report.model';
|
5
|
+
import { AuthorizeProfileSystemShortcutModel } from './authorise-profile-system-shortcurt.model';
|
6
|
+
import { ViewPendingQueueOption } from '../view-pending-queue-option.enum';
|
7
|
+
export declare class UserSessionModel {
|
8
|
+
username: string;
|
9
|
+
userCorrelationId: string;
|
10
|
+
timeZone: Date;
|
11
|
+
baseCurrency: string;
|
12
|
+
cultureCode: string;
|
13
|
+
companyShortCode: string;
|
14
|
+
softwareVersion: string;
|
15
|
+
tillCode: string;
|
16
|
+
counterName: string;
|
17
|
+
counterCode: string;
|
18
|
+
branch: string;
|
19
|
+
branchCode: string;
|
20
|
+
branchTelephoneNumber: string;
|
21
|
+
branchFaxNumber: string;
|
22
|
+
branchCorrelationId: string;
|
23
|
+
businessDate: Date;
|
24
|
+
authorizeProfileSystemFunctions: AuthorizeProfileSystemFunctionModel[];
|
25
|
+
authorizeProfileRatesheetModel: AuthorizeProfileRatesheetModel[];
|
26
|
+
authorizeProfiles: AuthorizeProfileModel[];
|
27
|
+
authorizeProfileSystemReports: AuthorizeProfileSystemReportModel[];
|
28
|
+
authorizeProfileSystemShortcuts: AuthorizeProfileSystemShortcutModel[];
|
29
|
+
topViewPendingQueueAuthority: ViewPendingQueueOption;
|
30
|
+
constructor(values?: Object);
|
31
|
+
}
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./reports-lib.component";
|
3
3
|
import * as i2 from "./components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component";
|
4
|
-
import * as i3 from "
|
5
|
-
import * as i4 from "
|
6
|
-
import * as i5 from "
|
7
|
-
import * as i6 from "
|
4
|
+
import * as i3 from "@angular/common/http";
|
5
|
+
import * as i4 from "ag-grid-angular";
|
6
|
+
import * as i5 from "./reports-lib-routing.module";
|
7
|
+
import * as i6 from "@angular/common";
|
8
|
+
import * as i7 from "@ng-idle/core";
|
9
|
+
import * as i8 from "angular-oauth2-oidc";
|
8
10
|
export declare class ReportsLibModule {
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReportsLibModule, never>;
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ReportsLibModule, [typeof i1.ReportsLibComponent, typeof i2.AccGlDetailsEnquiryReportComponent, typeof i3.
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ReportsLibModule, [typeof i1.ReportsLibComponent, typeof i2.AccGlDetailsEnquiryReportComponent], [typeof i3.HttpClientModule, typeof i4.AgGridModule, typeof i5.ReportsLibRoutingModule, typeof i6.CommonModule, typeof i3.HttpClientModule, typeof i7.NgIdleModule, typeof i8.OAuthModule], [typeof i1.ReportsLibComponent, typeof i2.AccGlDetailsEnquiryReportComponent]>;
|
11
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<ReportsLibModule>;
|
12
14
|
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { HttpBackend } from "@angular/common/http";
|
2
|
+
import { Observable } from "rxjs";
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class ActiveXService {
|
5
|
+
private backend;
|
6
|
+
private macAddress;
|
7
|
+
private ipAddress;
|
8
|
+
private machineName;
|
9
|
+
private processorId;
|
10
|
+
private printerName;
|
11
|
+
private scriptxServiceUrl;
|
12
|
+
private scriptxHttpClient;
|
13
|
+
isSelfHostAvailable: boolean;
|
14
|
+
constructor(backend: HttpBackend);
|
15
|
+
getMACAddress(): string;
|
16
|
+
getIPAddress(): string;
|
17
|
+
getMachineName(): string;
|
18
|
+
getPrinterName(): string;
|
19
|
+
getProcessorId(): string;
|
20
|
+
requestSelfHostedServiceInfo(): Observable<any[]>;
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActiveXService, never>;
|
22
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ActiveXService>;
|
23
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
2
|
+
import { AccGlDetailsEnquiryReportModel } from '../models/accgl-details-enquiry-reportmodel';
|
3
|
+
import { Observable } from 'rxjs';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class ReportService {
|
6
|
+
private http;
|
7
|
+
private serviceUrl;
|
8
|
+
private reportUrl;
|
9
|
+
constructor(http: HttpClient);
|
10
|
+
getAccGLDetailsReport(date: Date, dateType: string, sysCompanyCode: string, sysUserId: string, companyName: string): Observable<AccGlDetailsEnquiryReportModel>;
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportService, never>;
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ReportService>;
|
13
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { InMemoryStorageService } from 'ngx-webstorage-service';
|
2
|
+
import { UserSessionModel } from '../models/security/user-session.model';
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
4
|
+
import { OAuthService } from 'angular-oauth2-oidc';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class SessionService {
|
7
|
+
private storage;
|
8
|
+
private oauthService;
|
9
|
+
private userSessionKey;
|
10
|
+
session: UserSessionModel;
|
11
|
+
onSessionChanged: BehaviorSubject<any>;
|
12
|
+
constructor(storage: InMemoryStorageService, oauthService: OAuthService);
|
13
|
+
GetObjectByKey(key: string): any;
|
14
|
+
SetObject(key: string, value: any): void;
|
15
|
+
RemoveObject(key: string): void;
|
16
|
+
GetUserSession(): UserSessionModel;
|
17
|
+
Clear(): void;
|
18
|
+
private UpdateSession;
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SessionService, never>;
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SessionService>;
|
21
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -2,4 +2,3 @@ export * from './lib/reports-lib.service';
|
|
2
2
|
export * from './lib/reports-lib.component';
|
3
3
|
export * from './lib/reports-lib.module';
|
4
4
|
export * from './lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component';
|
5
|
-
export * from './lib/components/transaction-enquiry-report/transaction-enquiry-report.component';
|
package/esm2020/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.mjs
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
import { Component } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export class TransactionEnquiryReportComponent {
|
4
|
-
constructor() { }
|
5
|
-
ngOnInit() {
|
6
|
-
}
|
7
|
-
}
|
8
|
-
TransactionEnquiryReportComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TransactionEnquiryReportComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
9
|
-
TransactionEnquiryReportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TransactionEnquiryReportComponent, selector: "lib-transaction-enquiry-report", ngImport: i0, template: "<p>transaction-enquiry-report works!</p>\n", styles: [""] });
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TransactionEnquiryReportComponent, decorators: [{
|
11
|
-
type: Component,
|
12
|
-
args: [{ selector: 'lib-transaction-enquiry-report', template: "<p>transaction-enquiry-report works!</p>\n" }]
|
13
|
-
}], ctorParameters: function () { return []; } });
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb24tZW5xdWlyeS1yZXBvcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcmVwb3J0cy1saWIvc3JjL2xpYi9jb21wb25lbnRzL3RyYW5zYWN0aW9uLWVucXVpcnktcmVwb3J0L3RyYW5zYWN0aW9uLWVucXVpcnktcmVwb3J0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3JlcG9ydHMtbGliL3NyYy9saWIvY29tcG9uZW50cy90cmFuc2FjdGlvbi1lbnF1aXJ5LXJlcG9ydC90cmFuc2FjdGlvbi1lbnF1aXJ5LXJlcG9ydC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDOztBQU9sRCxNQUFNLE9BQU8saUNBQWlDO0lBRTVDLGdCQUFnQixDQUFDO0lBRWpCLFFBQVE7SUFDUixDQUFDOzs4SEFMVSxpQ0FBaUM7a0hBQWpDLGlDQUFpQyxzRUNQOUMsNENBQ0E7MkZETWEsaUNBQWlDO2tCQUw3QyxTQUFTOytCQUNFLGdDQUFnQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2xpYi10cmFuc2FjdGlvbi1lbnF1aXJ5LXJlcG9ydCcsXG4gIHRlbXBsYXRlVXJsOiAnLi90cmFuc2FjdGlvbi1lbnF1aXJ5LXJlcG9ydC5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL3RyYW5zYWN0aW9uLWVucXVpcnktcmVwb3J0LmNvbXBvbmVudC5jc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBUcmFuc2FjdGlvbkVucXVpcnlSZXBvcnRDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gIH1cblxufVxuIiwiPHA+dHJhbnNhY3Rpb24tZW5xdWlyeS1yZXBvcnQgd29ya3MhPC9wPlxuIl19
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
2
|
-
import * as i0 from "@angular/core";
|
3
|
-
export declare class TransactionEnquiryReportComponent implements OnInit {
|
4
|
-
constructor();
|
5
|
-
ngOnInit(): void;
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TransactionEnquiryReportComponent, never>;
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TransactionEnquiryReportComponent, "lib-transaction-enquiry-report", never, {}, {}, never, never, false>;
|
8
|
-
}
|