kwikid-agent-dashboard 0.0.0-watch
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/README.md +0 -0
- package/esm2015/kwikid-agent-dashboard.js +5 -0
- package/esm2015/lib/components/add-customer/add-customer.component.js +66 -0
- package/esm2015/lib/components/customer-list/customer-list.component.js +121 -0
- package/esm2015/lib/components/customer-tile/customer-tile.component.js +107 -0
- package/esm2015/lib/components/menu/menu.component.js +34 -0
- package/esm2015/lib/kwikid-agent-dashboard.component.js +166 -0
- package/esm2015/lib/kwikid-agent-dashboard.module.js +87 -0
- package/esm2015/lib/services/agent.service.js +47 -0
- package/esm2015/lib/services/customer.service.js +20 -0
- package/esm2015/lib/services/info-window.service.js +183 -0
- package/esm2015/lib/services/map.service.js +175 -0
- package/esm2015/lib/shared/interfaces/customer.js +2 -0
- package/esm2015/lib/svgs/kyc-pending/kyc-pending.component.js +18 -0
- package/esm2015/lib/svgs/kyc-success/kyc-success.component.js +18 -0
- package/esm2015/public_api.js +5 -0
- package/fesm2015/kwikid-agent-dashboard.js +995 -0
- package/fesm2015/kwikid-agent-dashboard.js.map +1 -0
- package/kwikid-agent-dashboard.d.ts +5 -0
- package/lib/components/add-customer/add-customer.component.d.ts +16 -0
- package/lib/components/customer-list/customer-list.component.d.ts +76 -0
- package/lib/components/customer-tile/customer-tile.component.d.ts +67 -0
- package/lib/components/menu/menu.component.d.ts +18 -0
- package/lib/kwikid-agent-dashboard.component.d.ts +110 -0
- package/lib/kwikid-agent-dashboard.module.d.ts +20 -0
- package/lib/services/agent.service.d.ts +18 -0
- package/lib/services/customer.service.d.ts +9 -0
- package/lib/services/info-window.service.d.ts +98 -0
- package/lib/services/map.service.d.ts +27 -0
- package/lib/shared/interfaces/customer.d.ts +16 -0
- package/lib/svgs/kyc-pending/kyc-pending.component.d.ts +8 -0
- package/lib/svgs/kyc-success/kyc-success.component.d.ts +8 -0
- package/package.json +46 -0
- package/public_api.d.ts +2 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AgentService } from './agent.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MapService {
|
|
4
|
+
private agentService;
|
|
5
|
+
myPosition: any;
|
|
6
|
+
map: any;
|
|
7
|
+
allCustomersMarkers: any;
|
|
8
|
+
allCustomersDirections: any;
|
|
9
|
+
historyCustomerMarker: any;
|
|
10
|
+
historyCustomerDirections: any;
|
|
11
|
+
constructor(agentService: AgentService);
|
|
12
|
+
getMyPosition(): any;
|
|
13
|
+
getMap(): any;
|
|
14
|
+
setMap(map: any): void;
|
|
15
|
+
getMarkers(): any;
|
|
16
|
+
setMarkers(markers: any): void;
|
|
17
|
+
initMap(mapElement: any): Promise<void>;
|
|
18
|
+
plotMarkers(customers: any): Promise<any>;
|
|
19
|
+
calcRoute(customers: any, origin: any, waypoints: any): Promise<any>;
|
|
20
|
+
getPosition(): Promise<any>;
|
|
21
|
+
getLatLng(data: any): any;
|
|
22
|
+
sortList(order: any, customersData: any): any[];
|
|
23
|
+
plotHistoryCustomer(customer: any): any;
|
|
24
|
+
setMarkersMap(all: any, history: any): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapService>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default interface Customer {
|
|
2
|
+
user_id: string;
|
|
3
|
+
date: string;
|
|
4
|
+
extras: any;
|
|
5
|
+
kycStatus: KycStatus;
|
|
6
|
+
}
|
|
7
|
+
interface KycStatus {
|
|
8
|
+
ekyc: KycType;
|
|
9
|
+
dkyc: KycType;
|
|
10
|
+
capdoc: KycType;
|
|
11
|
+
}
|
|
12
|
+
interface KycType {
|
|
13
|
+
status: string;
|
|
14
|
+
required: boolean;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KycPendingComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KycPendingComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KycPendingComponent, "svg-kyc-pending", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KycSuccessComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KycSuccessComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KycSuccessComponent, "svg-kyc-success", never, {}, {}, never, never>;
|
|
8
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kwikid-agent-dashboard",
|
|
3
|
+
"version": "0.0.0-watch+1678705324582",
|
|
4
|
+
"description": "KwikID's EKYC Agent Map View Module.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Gaurang Thakker"
|
|
7
|
+
},
|
|
8
|
+
"homepage": "https://bitbucket.org/team360noscope/kwikid-agent-dashboard/",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://git@bitbucket.org:team360noscope/kwikid-agent-dashboard.git"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"KwikID",
|
|
15
|
+
"EKYC Agent Dashboard"
|
|
16
|
+
],
|
|
17
|
+
"peerDependencies": {
|
|
18
|
+
"@angular/common": ">=6.0.0",
|
|
19
|
+
"@angular/core": ">=6.0.0",
|
|
20
|
+
"@taiga-ui/addon-charts": "^3.6.0",
|
|
21
|
+
"@taiga-ui/addon-commerce": "^3.6.0",
|
|
22
|
+
"@taiga-ui/addon-doc": "^3.6.0",
|
|
23
|
+
"@taiga-ui/addon-editor": "^3.6.0",
|
|
24
|
+
"@taiga-ui/addon-mobile": "^3.6.0",
|
|
25
|
+
"@taiga-ui/addon-preview": "^3.6.0",
|
|
26
|
+
"@taiga-ui/addon-table": "^3.6.0",
|
|
27
|
+
"@taiga-ui/addon-tablebars": "^3.6.0",
|
|
28
|
+
"@taiga-ui/cdk": "^3.6.0",
|
|
29
|
+
"@taiga-ui/core": "^3.6.0",
|
|
30
|
+
"@taiga-ui/icons": "^3.6.0",
|
|
31
|
+
"@taiga-ui/kit": "^3.6.0",
|
|
32
|
+
"@taiga-ui/styles": "^3.6.0"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"kwikid-toolkit": "0.0.15",
|
|
36
|
+
"kwikui": "^0.2.12",
|
|
37
|
+
"tslib": "^2.2.0"
|
|
38
|
+
},
|
|
39
|
+
"main": "bundles/kwikid-agent-dashboard.umd.js",
|
|
40
|
+
"module": "fesm2015/kwikid-agent-dashboard.js",
|
|
41
|
+
"es2015": "fesm2015/kwikid-agent-dashboard.js",
|
|
42
|
+
"esm2015": "esm2015/kwikid-agent-dashboard.js",
|
|
43
|
+
"fesm2015": "fesm2015/kwikid-agent-dashboard.js",
|
|
44
|
+
"typings": "kwikid-agent-dashboard.d.ts",
|
|
45
|
+
"sideEffects": false
|
|
46
|
+
}
|
package/public_api.d.ts
ADDED