kwikid-agent-dashboard 0.0.3 → 0.0.4
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/kwikid-agent-dashboard.umd.js +805 -578
- package/bundles/kwikid-agent-dashboard.umd.js.map +1 -1
- package/esm2015/lib/components/customer-list/customer-list.component.js +56 -68
- package/esm2015/lib/components/customer-tile/customer-tile.component.js +30 -24
- package/esm2015/lib/components/customer-tile/status-pill/status-pill.component.js +29 -0
- package/esm2015/lib/components/customer-tile/status-pill/status-pill.definitions.js +18 -0
- package/esm2015/lib/kwikid-agent-dashboard.component.js +507 -124
- package/esm2015/lib/kwikid-agent-dashboard.module.js +54 -27
- package/esm2015/lib/pipes/search-filter.pipe.js +62 -0
- package/esm2015/lib/services/info-window.service.js +5 -3
- package/esm2015/lib/services/map.service.js +50 -124
- package/fesm2015/kwikid-agent-dashboard.js +764 -513
- package/fesm2015/kwikid-agent-dashboard.js.map +1 -1
- package/lib/components/customer-list/customer-list.component.d.ts +19 -58
- package/lib/components/customer-tile/customer-tile.component.d.ts +7 -10
- package/lib/components/customer-tile/status-pill/status-pill.component.d.ts +10 -0
- package/lib/components/customer-tile/status-pill/status-pill.definitions.d.ts +10 -0
- package/lib/kwikid-agent-dashboard.component.d.ts +132 -95
- package/lib/kwikid-agent-dashboard.module.d.ts +13 -12
- package/lib/pipes/search-filter.pipe.d.ts +25 -0
- package/lib/services/map.service.d.ts +15 -16
- package/package.json +4 -2
- package/esm2015/lib/components/add-customer/add-customer.component.js +0 -66
- package/esm2015/lib/components/menu/menu.component.js +0 -34
- package/esm2015/lib/services/agent.service.js +0 -47
- package/esm2015/lib/services/customer.service.js +0 -20
- package/esm2015/lib/shared/interfaces/customer.js +0 -2
- package/esm2015/lib/svgs/kyc-pending/kyc-pending.component.js +0 -18
- package/esm2015/lib/svgs/kyc-success/kyc-success.component.js +0 -18
- package/lib/components/add-customer/add-customer.component.d.ts +0 -16
- package/lib/components/menu/menu.component.d.ts +0 -18
- package/lib/services/agent.service.d.ts +0 -18
- package/lib/services/customer.service.d.ts +0 -9
- package/lib/shared/interfaces/customer.d.ts +0 -16
- package/lib/svgs/kyc-pending/kyc-pending.component.d.ts +0 -8
- package/lib/svgs/kyc-success/kyc-success.component.d.ts +0 -8
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { AgentService } from '../../services/agent.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AddCustomerComponent implements OnInit {
|
|
6
|
-
agentService: AgentService;
|
|
7
|
-
newCustomerFormGroup: FormGroup;
|
|
8
|
-
constructor(agentService: AgentService);
|
|
9
|
-
addTask: EventEmitter<any>;
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
handleGetKeyValue(e: any): void;
|
|
12
|
-
handleOnClickAddTask(e: any): void;
|
|
13
|
-
getDate(): string;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddCustomerComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddCustomerComponent, "add-customer", never, {}, { "addTask": "addTask"; }, never, never>;
|
|
16
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { AgentService } from '../../services/agent.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MenuComponent implements OnInit {
|
|
5
|
-
agentService: AgentService;
|
|
6
|
-
/**
|
|
7
|
-
* @description
|
|
8
|
-
*
|
|
9
|
-
* @constructor
|
|
10
|
-
*/
|
|
11
|
-
constructor(agentService: AgentService);
|
|
12
|
-
nextStep: EventEmitter<any>;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
goToNextStep(e: any): void;
|
|
15
|
-
refresh(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "menu", never, {}, { "nextStep": "nextStep"; }, never, never>;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class AgentService {
|
|
3
|
-
agentConfig: any;
|
|
4
|
-
showMenu: boolean;
|
|
5
|
-
showMapview: boolean;
|
|
6
|
-
addTask: boolean;
|
|
7
|
-
getAgentConfig(): any;
|
|
8
|
-
setAgentConfig(agentConfig: any): void;
|
|
9
|
-
setMapview(value: any): void;
|
|
10
|
-
getAddTask(): boolean;
|
|
11
|
-
setAddTask(value: any): void;
|
|
12
|
-
toggleMapview(): void;
|
|
13
|
-
getMenu(): boolean;
|
|
14
|
-
setMenu(value: any): void;
|
|
15
|
-
toggleMenu(): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AgentService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AgentService>;
|
|
18
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CustomerService {
|
|
3
|
-
customersData: any;
|
|
4
|
-
constructor();
|
|
5
|
-
getCustomers(): any;
|
|
6
|
-
setCustomers(customers: any): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CustomerService, never>;
|
|
8
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CustomerService>;
|
|
9
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|