kwikid-agent-dashboard 0.0.37 → 0.0.39
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 +3655 -1317
- package/bundles/kwikid-agent-dashboard.umd.js.map +1 -1
- package/esm2015/lib/kwikid-agent-dashboard.component.js +39 -120
- package/esm2015/lib/kwikid-agent-dashboard.module.js +26 -35
- package/esm2015/lib/v1/components/action-button/action-button.component.js +91 -0
- package/esm2015/lib/v1/components/customer-details/customer-details.component.js +139 -0
- package/esm2015/lib/v1/components/customer-list/customer-list.component.js +201 -0
- package/esm2015/lib/v1/components/customer-tile/customer-tile.component.js +137 -0
- package/esm2015/lib/v1/components/customer-tile/status-pill/status-pill.component.js +54 -0
- package/esm2015/lib/v1/components/customer-tile/status-pill/status-pill.definitions.js +36 -0
- package/esm2015/lib/v1/helpers/maps.helpers.js +46 -0
- package/esm2015/lib/v1/kwikid-agent-dashboard.component.js +177 -0
- package/esm2015/lib/v1/kwikid-agent-dashboard.module.js +120 -0
- package/esm2015/lib/v1/pipes/search-filter.pipe.js +62 -0
- package/esm2015/lib/v1/services/agent.service.js +149 -0
- package/esm2015/lib/v1/services/google-maps.service.js +201 -0
- package/esm2015/lib/v1/services/open-street-maps.service.js +252 -0
- package/esm2015/lib/v2/components/agent-info/agent-info.component.js +20 -0
- package/esm2015/lib/v2/components/agent-info/agent-info.module.js +37 -0
- package/esm2015/lib/v2/components/bottom-sheet/bottom-sheet.component.js +111 -0
- package/esm2015/lib/v2/components/bottom-sheet/bottom-sheet.module.js +41 -0
- package/esm2015/lib/v2/components/components.module.js +79 -0
- package/esm2015/lib/v2/components/map-view/map-view.component.js +39 -0
- package/esm2015/lib/v2/components/map-view/map-view.module.js +37 -0
- package/esm2015/lib/v2/components/primary-actions/primary-actions.component.js +65 -0
- package/esm2015/lib/v2/components/primary-actions/primary-actions.module.js +54 -0
- package/esm2015/lib/v2/components/task-detail/task-detail.component.js +82 -0
- package/esm2015/lib/v2/components/task-detail/task-detail.module.js +41 -0
- package/esm2015/lib/v2/components/task-item/task-item.component.js +107 -0
- package/esm2015/lib/v2/components/task-item/task-item.constant.js +12 -0
- package/esm2015/lib/v2/components/task-item/task-item.module.js +45 -0
- package/esm2015/lib/v2/components/task-item-status/task-item-status.component.js +51 -0
- package/esm2015/lib/v2/components/task-item-status/task-item-status.module.js +19 -0
- package/esm2015/lib/v2/components/task-list/task-list.component.js +186 -0
- package/esm2015/lib/v2/components/task-list/task-list.module.js +57 -0
- package/esm2015/lib/v2/components/task-list-search/task-list-search.component.js +118 -0
- package/esm2015/lib/v2/components/task-list-search/task-list-search.module.js +41 -0
- package/esm2015/lib/v2/components/task-preview/task-preview.component.js +30 -0
- package/esm2015/lib/v2/components/task-preview/task-preview.module.js +37 -0
- package/esm2015/lib/v2/helpers/array.helper.js +10 -0
- package/esm2015/lib/v2/helpers/date.helplers.js +17 -0
- package/esm2015/lib/v2/kwikid-agent-dashboard.component.js +61 -0
- package/esm2015/lib/v2/kwikid-agent-dashboard.module.js +45 -0
- package/esm2015/lib/v2/layout/layout-body/layout-body.component.js +274 -0
- package/esm2015/lib/v2/layout/layout-body/layout-body.module.js +55 -0
- package/esm2015/lib/v2/layout/layout-header/layout-header.component.js +60 -0
- package/esm2015/lib/v2/layout/layout-header/layout-header.module.js +48 -0
- package/esm2015/lib/v2/layout/layout.module.js +18 -0
- package/esm2015/lib/v2/pipes/search-filter.pipe.js +62 -0
- package/fesm2015/kwikid-agent-dashboard.js +3255 -1100
- package/fesm2015/kwikid-agent-dashboard.js.map +1 -1
- package/lib/kwikid-agent-dashboard.component.d.ts +11 -36
- package/lib/kwikid-agent-dashboard.module.d.ts +13 -16
- package/lib/v1/components/action-button/action-button.component.d.ts +18 -0
- package/lib/{components → v1/components}/customer-details/customer-details.component.d.ts +13 -6
- package/lib/{components → v1/components}/customer-list/customer-list.component.d.ts +25 -15
- package/lib/{components → v1/components}/customer-tile/customer-tile.component.d.ts +12 -5
- package/lib/{components → v1/components}/customer-tile/status-pill/status-pill.component.d.ts +6 -2
- package/lib/{components → v1/components}/customer-tile/status-pill/status-pill.definitions.d.ts +1 -1
- package/lib/v1/kwikid-agent-dashboard.component.d.ts +54 -0
- package/lib/v1/kwikid-agent-dashboard.module.d.ts +23 -0
- package/lib/{pipes → v1/pipes}/search-filter.pipe.d.ts +1 -1
- package/lib/{services → v1/services}/agent.service.d.ts +1 -1
- package/lib/{services → v1/services}/google-maps.service.d.ts +4 -4
- package/lib/{services → v1/services}/open-street-maps.service.d.ts +5 -5
- package/lib/v2/components/agent-info/agent-info.component.d.ts +8 -0
- package/lib/v2/components/agent-info/agent-info.module.d.ts +11 -0
- package/lib/v2/components/bottom-sheet/bottom-sheet.component.d.ts +24 -0
- package/lib/v2/components/bottom-sheet/bottom-sheet.module.d.ts +12 -0
- package/lib/v2/components/components.module.d.ts +15 -0
- package/lib/v2/components/map-view/map-view.component.d.ts +10 -0
- package/lib/v2/components/map-view/map-view.module.d.ts +11 -0
- package/lib/v2/components/primary-actions/primary-actions.component.d.ts +14 -0
- package/lib/v2/components/primary-actions/primary-actions.module.d.ts +13 -0
- package/lib/v2/components/task-detail/task-detail.component.d.ts +23 -0
- package/lib/v2/components/task-detail/task-detail.module.d.ts +12 -0
- package/lib/v2/components/task-item/task-item.component.d.ts +23 -0
- package/lib/v2/components/task-item/task-item.constant.d.ts +11 -0
- package/lib/v2/components/task-item/task-item.module.d.ts +13 -0
- package/lib/v2/components/task-item-status/task-item-status.component.d.ts +14 -0
- package/lib/v2/components/task-item-status/task-item-status.module.d.ts +9 -0
- package/lib/v2/components/task-list/task-list.component.d.ts +45 -0
- package/lib/v2/components/task-list/task-list.module.d.ts +16 -0
- package/lib/v2/components/task-list-search/task-list-search.component.d.ts +34 -0
- package/lib/v2/components/task-list-search/task-list-search.module.d.ts +12 -0
- package/lib/v2/components/task-preview/task-preview.component.d.ts +11 -0
- package/lib/v2/components/task-preview/task-preview.module.d.ts +11 -0
- package/lib/v2/helpers/array.helper.d.ts +1 -0
- package/lib/v2/helpers/date.helplers.d.ts +3 -0
- package/lib/v2/kwikid-agent-dashboard.component.d.ts +17 -0
- package/lib/v2/kwikid-agent-dashboard.module.d.ts +13 -0
- package/lib/v2/layout/layout-body/layout-body.component.d.ts +42 -0
- package/lib/v2/layout/layout-body/layout-body.module.d.ts +14 -0
- package/lib/v2/layout/layout-header/layout-header.component.d.ts +20 -0
- package/lib/v2/layout/layout-header/layout-header.module.d.ts +13 -0
- package/lib/v2/layout/layout.module.d.ts +8 -0
- package/lib/v2/pipes/search-filter.pipe.d.ts +25 -0
- package/package.json +2 -2
- package/esm2015/lib/components/customer-details/customer-details.component.js +0 -90
- package/esm2015/lib/components/customer-list/customer-list.component.js +0 -165
- package/esm2015/lib/components/customer-tile/customer-tile.component.js +0 -87
- package/esm2015/lib/components/customer-tile/status-pill/status-pill.component.js +0 -32
- package/esm2015/lib/components/customer-tile/status-pill/status-pill.definitions.js +0 -36
- package/esm2015/lib/helpers/maps.helpers.js +0 -46
- package/esm2015/lib/pipes/search-filter.pipe.js +0 -62
- package/esm2015/lib/services/agent.service.js +0 -153
- package/esm2015/lib/services/google-maps.service.js +0 -201
- package/esm2015/lib/services/open-street-maps.service.js +0 -252
- /package/lib/{helpers → v1/helpers}/maps.helpers.d.ts +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./task-item.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@taiga-ui/kit";
|
|
6
|
+
import * as i5 from "../task-item-status/task-item-status.module";
|
|
7
|
+
import * as i6 from "kwikui";
|
|
8
|
+
import * as i7 from "kwikid-forms";
|
|
9
|
+
export declare class TaskItemModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskItemModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskItemModule, [typeof i1.TaskItemComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.TuiAccordionModule, typeof i5.TaskItemStatusModule, typeof i6.KwikUIModule, typeof i7.KwikIDFormsModule], [typeof i1.TaskItemComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TaskItemModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TaskItemStatusComponent implements OnInit {
|
|
4
|
+
config: any;
|
|
5
|
+
status: any;
|
|
6
|
+
styles: {};
|
|
7
|
+
value: string;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): Promise<void>;
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
setupStatus(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskItemStatusComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskItemStatusComponent, "task-item-status", never, { "config": "config"; "status": "status"; }, {}, never, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./task-item-status.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class TaskItemStatusModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskItemStatusModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskItemStatusModule, [typeof i1.TaskItemStatusComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule], [typeof i1.TaskItemStatusComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TaskItemStatusModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { FormControl, FormGroup } from "@angular/forms";
|
|
3
|
+
import { TuiDay } from "@taiga-ui/cdk";
|
|
4
|
+
import { KwikUILoaderService } from "kwikui";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TaskListComponent implements OnInit {
|
|
7
|
+
private loaderService;
|
|
8
|
+
config: any;
|
|
9
|
+
taskItems: any[];
|
|
10
|
+
onClickTaskItemViewDetail: EventEmitter<any>;
|
|
11
|
+
paginationIndex: number;
|
|
12
|
+
paginationLength: number;
|
|
13
|
+
activePageItems: any;
|
|
14
|
+
filteredItems: any;
|
|
15
|
+
itemPerPage: number;
|
|
16
|
+
loading: boolean;
|
|
17
|
+
searchText: string;
|
|
18
|
+
sortFilterKey: string | undefined;
|
|
19
|
+
sortInAscendingOrder: string;
|
|
20
|
+
start_time: string | Date;
|
|
21
|
+
end_time: string | Date;
|
|
22
|
+
max: TuiDay;
|
|
23
|
+
maxLength: any;
|
|
24
|
+
formGroup: FormGroup;
|
|
25
|
+
searchDataFormControl: FormControl;
|
|
26
|
+
searchTextFormControl: FormControl;
|
|
27
|
+
onGetTaskList: EventEmitter<any>;
|
|
28
|
+
constructor(loaderService: KwikUILoaderService);
|
|
29
|
+
ngOnInit(): Promise<void>;
|
|
30
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
31
|
+
handleOnTaskItemsChange(): void;
|
|
32
|
+
handleInitialDateRange(): void;
|
|
33
|
+
handleOnFilterTasksByText(event: any): void;
|
|
34
|
+
handleOnFilterTasksByDate(event: any): void;
|
|
35
|
+
handleOnGetTaskItems(): void;
|
|
36
|
+
handleOnChangeSortFilter(event: any): void;
|
|
37
|
+
handleOnSortTaskItems(key: any, order: any): void;
|
|
38
|
+
handleOnClickTaskItemViewDetail(e: any): void;
|
|
39
|
+
handleOnClickChangePaginationIndex(indexOfPage: number): void;
|
|
40
|
+
handleOnFilterTaskItems(): void;
|
|
41
|
+
trackByFn(index: number, item: any): number;
|
|
42
|
+
toggleLoader(loader: any, message?: any): Promise<void>;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskListComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskListComponent, "task-list", never, { "config": "config"; "taskItems": "taskItems"; }, { "onClickTaskItemViewDetail": "onClickTaskItemViewDetail"; "onGetTaskList": "onGetTaskList"; }, never, never>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./task-list.component";
|
|
3
|
+
import * as i2 from "../../pipes/search-filter.pipe";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/cdk/scrolling";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "kwikui";
|
|
8
|
+
import * as i7 from "kwikid-forms";
|
|
9
|
+
import * as i8 from "../task-item/task-item.module";
|
|
10
|
+
import * as i9 from "../task-list-search/task-list-search.module";
|
|
11
|
+
import * as i10 from "@taiga-ui/kit";
|
|
12
|
+
export declare class TaskListModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskListModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskListModule, [typeof i1.TaskListComponent, typeof i2.Ng2SearchPipe], [typeof i3.CommonModule, typeof i4.ScrollingModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.KwikUIModule, typeof i6.KwikUILoaderModule, typeof i7.KwikIDFormsModule, typeof i8.TaskItemModule, typeof i9.TaskListSearchModule, typeof i10.TuiPaginationModule], [typeof i1.TaskListComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TaskListModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { FormControl, FormGroup } from "@angular/forms";
|
|
3
|
+
import { TuiDay } from "@taiga-ui/cdk";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TaskListSearchComponent implements OnInit {
|
|
6
|
+
config: any;
|
|
7
|
+
searchText: string;
|
|
8
|
+
formGroup: FormGroup;
|
|
9
|
+
searchTextFormControl: FormControl;
|
|
10
|
+
searchDateFormControl: FormControl;
|
|
11
|
+
sortFilterKeyFormControl: FormControl;
|
|
12
|
+
sortInAscendingOrder: boolean;
|
|
13
|
+
start_time: string | Date;
|
|
14
|
+
end_time: string | Date;
|
|
15
|
+
max: TuiDay;
|
|
16
|
+
maxLength: any;
|
|
17
|
+
sortFilterOptions: string[];
|
|
18
|
+
activeSearchAction: string;
|
|
19
|
+
onFilterTasksByText: EventEmitter<any>;
|
|
20
|
+
onFilterTasksByDate: EventEmitter<any>;
|
|
21
|
+
onChangeSortFilter: EventEmitter<any>;
|
|
22
|
+
constructor();
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
handleOnClickSearchType(type: any): void;
|
|
25
|
+
handleInitialDateRange(): void;
|
|
26
|
+
handleSearchAndSortFormControls(): void;
|
|
27
|
+
handleOnChangeSearchText(event: any): void;
|
|
28
|
+
handleOnChangeDateRange(event: any): void;
|
|
29
|
+
handleOnChangeSortFilter(event: any): void;
|
|
30
|
+
handleOnClickChangeSortOrder(): void;
|
|
31
|
+
handleChangeDateRangeFormat(event: any): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskListSearchComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskListSearchComponent, "task-list-search", never, { "config": "config"; }, { "onFilterTasksByText": "onFilterTasksByText"; "onFilterTasksByDate": "onFilterTasksByDate"; "onChangeSortFilter": "onChangeSortFilter"; }, never, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./task-list-search.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/cdk/scrolling";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "kwikui";
|
|
7
|
+
import * as i6 from "kwikid-forms";
|
|
8
|
+
export declare class TaskListSearchModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskListSearchModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskListSearchModule, [typeof i1.TaskListSearchComponent], [typeof i2.CommonModule, typeof i3.ScrollingModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.KwikUIModule, typeof i6.KwikIDFormsModule], [typeof i1.TaskListSearchComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TaskListSearchModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TaskPreviewComponent implements OnInit {
|
|
4
|
+
config: any;
|
|
5
|
+
data: any;
|
|
6
|
+
onClickTaskItemAction: EventEmitter<any>;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): Promise<void>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskPreviewComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskPreviewComponent, "task-preview", never, { "config": "config"; "data": "data"; }, { "onClickTaskItemAction": "onClickTaskItemAction"; }, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./task-preview.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "kwikui";
|
|
6
|
+
import * as i5 from "kwikid-forms";
|
|
7
|
+
export declare class TaskPreviewModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TaskPreviewModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskPreviewModule, [typeof i1.TaskPreviewComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.KwikUIModule, typeof i5.KwikIDFormsModule], [typeof i1.TaskPreviewComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TaskPreviewModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sortItems: (data: any, key: any, sortInAscendingOrder: any) => any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KwikIDAgentDashboardComponentV2 implements OnInit {
|
|
4
|
+
config: any;
|
|
5
|
+
userConfig: any;
|
|
6
|
+
agentInfo: any;
|
|
7
|
+
taskList: Array<any>;
|
|
8
|
+
onGetTaskList: EventEmitter<any>;
|
|
9
|
+
onClickPerformAction: EventEmitter<any>;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
+
handleOnGetTaskList(event: any): void;
|
|
14
|
+
handleOnClickPerformAction(event: any): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KwikIDAgentDashboardComponentV2, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KwikIDAgentDashboardComponentV2, "kwikid-agent-dashboard-v2", never, { "config": "config"; "userConfig": "userConfig"; "agentInfo": "agentInfo"; "taskList": "taskList"; }, { "onGetTaskList": "onGetTaskList"; "onClickPerformAction": "onClickPerformAction"; }, never, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kwikid-agent-dashboard.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "kwikui";
|
|
6
|
+
import * as i5 from "kwikid-forms";
|
|
7
|
+
import * as i6 from "./layout/layout.module";
|
|
8
|
+
import * as i7 from "./components/components.module";
|
|
9
|
+
export declare class KwikIDAgentDashboardModuleV2 {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KwikIDAgentDashboardModuleV2, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KwikIDAgentDashboardModuleV2, [typeof i1.KwikIDAgentDashboardComponentV2], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.KwikUIModule, typeof i5.KwikIDFormsModule, typeof i6.LayoutModule, typeof i7.ComponentModule], [typeof i1.KwikIDAgentDashboardComponentV2]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KwikIDAgentDashboardModuleV2>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
2
|
+
import { TuiPreviewDialogService } from "@taiga-ui/addon-preview";
|
|
3
|
+
import { TuiDialogContext, TuiDialogService } from "@taiga-ui/core";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LayoutBodyComponent implements OnInit {
|
|
6
|
+
private hostElement;
|
|
7
|
+
private readonly previewDialogService;
|
|
8
|
+
private readonly dialogs;
|
|
9
|
+
windowResizeWatcher(): void;
|
|
10
|
+
isMobileView: boolean;
|
|
11
|
+
readonly preview: TemplateRef<TuiDialogContext<void>>;
|
|
12
|
+
private previewDialogRef;
|
|
13
|
+
popupFormCallback: any;
|
|
14
|
+
popupFormConfig: any;
|
|
15
|
+
popupFormData: any;
|
|
16
|
+
previewProperties: any;
|
|
17
|
+
pageFormConfig: any;
|
|
18
|
+
pageFormData: any;
|
|
19
|
+
onClickApiCall: EventEmitter<any>;
|
|
20
|
+
onGetTaskList: EventEmitter<any>;
|
|
21
|
+
apiCallResponse: any;
|
|
22
|
+
config: any;
|
|
23
|
+
userConfig: any;
|
|
24
|
+
agentInfo: any;
|
|
25
|
+
taskList: Array<any>;
|
|
26
|
+
isShowFullTaskDetails: boolean;
|
|
27
|
+
isActiveSidebar: boolean;
|
|
28
|
+
activeTaskDetail: any;
|
|
29
|
+
constructor(hostElement: ElementRef, previewDialogService: TuiPreviewDialogService, dialogs: TuiDialogService);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
32
|
+
handleShowingFullTaskDetails(): void;
|
|
33
|
+
handleOnClickTaskItemViewDetail(e: any): void;
|
|
34
|
+
handleOnClickCloseTaskDetail(e: any): void;
|
|
35
|
+
handleOnClickToggleSidebar(e: any): void;
|
|
36
|
+
handleOnClickApiCall(e: any): void;
|
|
37
|
+
handleOnGetTaskList(event: any): void;
|
|
38
|
+
handleOnClickPrimaryAction(e: any): Promise<void>;
|
|
39
|
+
handleOnClickSaveForm(e: any, eventType: any): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBodyComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutBodyComponent, "layout-body", never, { "config": "config"; "userConfig": "userConfig"; "agentInfo": "agentInfo"; "taskList": "taskList"; }, { "onClickApiCall": "onClickApiCall"; "onGetTaskList": "onGetTaskList"; }, never, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./layout-body.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "kwikui";
|
|
6
|
+
import * as i5 from "kwikid-forms";
|
|
7
|
+
import * as i6 from "../../components/components.module";
|
|
8
|
+
import * as i7 from "@taiga-ui/core";
|
|
9
|
+
import * as i8 from "@taiga-ui/addon-preview";
|
|
10
|
+
export declare class LayoutBodyModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBodyModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutBodyModule, [typeof i1.LayoutBodyComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.KwikUIModule, typeof i5.KwikIDFormViewModule, typeof i6.ComponentModule, typeof i7.TuiSvgModule, typeof i8.TuiPreviewActionModule, typeof i8.TuiPreviewModule, typeof i7.TuiButtonModule], [typeof i1.LayoutBodyComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LayoutBodyModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LayoutHeaderComponent implements OnInit {
|
|
4
|
+
config: any;
|
|
5
|
+
agentInfo: any;
|
|
6
|
+
onGetTaskList: EventEmitter<any>;
|
|
7
|
+
onClickPerformAction: EventEmitter<any>;
|
|
8
|
+
constructor();
|
|
9
|
+
ngOnInit(): Promise<void>;
|
|
10
|
+
refreshPage(): void;
|
|
11
|
+
open: boolean;
|
|
12
|
+
onClick(): void;
|
|
13
|
+
onObscured(obscured: boolean): void;
|
|
14
|
+
onActiveZone(active: boolean): void;
|
|
15
|
+
logout(): void;
|
|
16
|
+
handleOnGetTaskList(event: any): void;
|
|
17
|
+
handleOnClickPerformAction(event: any): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutHeaderComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutHeaderComponent, "layout-header", never, { "config": "config"; "agentInfo": "agentInfo"; }, { "onGetTaskList": "onGetTaskList"; "onClickPerformAction": "onClickPerformAction"; }, never, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./layout-header.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "kwikui";
|
|
6
|
+
import * as i5 from "kwikid-forms";
|
|
7
|
+
import * as i6 from "@taiga-ui/cdk";
|
|
8
|
+
import * as i7 from "@taiga-ui/core";
|
|
9
|
+
export declare class LayoutHeaderModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutHeaderModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutHeaderModule, [typeof i1.LayoutHeaderComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.KwikUIModule, typeof i5.KwikIDFormsModule, typeof i6.TuiActiveZoneModule, typeof i7.TuiGroupModule, typeof i7.TuiDropdownModule], [typeof i1.LayoutHeaderComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LayoutHeaderModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./layout-header/layout-header.module";
|
|
3
|
+
import * as i2 from "./layout-body/layout-body.module";
|
|
4
|
+
export declare class LayoutModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, never, [typeof i1.LayoutHeaderModule, typeof i2.LayoutBodyModule], [typeof i1.LayoutHeaderModule, typeof i2.LayoutBodyModule]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class Ng2SearchPipe implements PipeTransform {
|
|
4
|
+
/**
|
|
5
|
+
* @param items object from array
|
|
6
|
+
* @param term term's search
|
|
7
|
+
* @param excludes array of strings which will ignored during search
|
|
8
|
+
*/
|
|
9
|
+
transform(items: any, term: string, excludes?: any): any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @param items List of items to filter
|
|
13
|
+
* @param term a string term to compare with every property of the list
|
|
14
|
+
* @param excludes List of keys which will be ignored during search
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
static filter(items: Array<{
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>, term: string, excludes: any): Array<{
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}>;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Ng2SearchPipe, never>;
|
|
23
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<Ng2SearchPipe, "filter">;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Ng2SearchPipe>;
|
|
25
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kwikid-agent-dashboard",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.39",
|
|
4
4
|
"description": "KwikID's EKYC Agent Map View Module.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Gaurang Thakker"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@angular/google-maps": "^12.2.13",
|
|
36
36
|
"kwikid-forms": "^0.6.27",
|
|
37
37
|
"kwikid-toolkit": "^0.2.7",
|
|
38
|
-
"kwikui": "^0.3.
|
|
38
|
+
"kwikui": "^0.3.23",
|
|
39
39
|
"leaflet": "^1.9.4",
|
|
40
40
|
"leaflet-routing-machine": "^3.2.12",
|
|
41
41
|
"tslib": "^2.2.0"
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
-
import { checkObjectPathExists, getObjectValueFromPath } from 'kwikid-toolkit';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../services/agent.service";
|
|
5
|
-
import * as i2 from "../../services/google-maps.service";
|
|
6
|
-
import * as i3 from "../../services/open-street-maps.service";
|
|
7
|
-
import * as i4 from "kwikui";
|
|
8
|
-
import * as i5 from "../customer-tile/status-pill/status-pill.component";
|
|
9
|
-
import * as i6 from "@angular/common";
|
|
10
|
-
export class CustomerDetailsComponent {
|
|
11
|
-
constructor(agentService, googleMapsService, openStreetMapsService, cdr) {
|
|
12
|
-
this.agentService = agentService;
|
|
13
|
-
this.googleMapsService = googleMapsService;
|
|
14
|
-
this.openStreetMapsService = openStreetMapsService;
|
|
15
|
-
this.cdr = cdr;
|
|
16
|
-
this.customer = {};
|
|
17
|
-
this.viewTaskDetails = [];
|
|
18
|
-
this.nextStep = new EventEmitter();
|
|
19
|
-
this.removeTask = new EventEmitter();
|
|
20
|
-
}
|
|
21
|
-
ngOnChanges(changes) {
|
|
22
|
-
this.cdr.detectChanges();
|
|
23
|
-
}
|
|
24
|
-
ngOnInit() {
|
|
25
|
-
var _a, _b, _c;
|
|
26
|
-
this.viewTaskDetails =
|
|
27
|
-
(_c = (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.dashboard) === null || _b === void 0 ? void 0 : _b.viewTaskDetails) !== null && _c !== void 0 ? _c : this.viewTaskDetails;
|
|
28
|
-
}
|
|
29
|
-
getTaskCreationTime(task) {
|
|
30
|
-
var _a;
|
|
31
|
-
if (checkObjectPathExists(this.agentService.config, 'dashboard.taskCreationTimePath')) {
|
|
32
|
-
const time = getObjectValueFromPath(task, this.agentService.config.dashboard.taskCreationTimePath);
|
|
33
|
-
return this.convertEpochToDate(time);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
return this.convertEpochToDate((_a = task === null || task === void 0 ? void 0 : task.task_creation_time) !== null && _a !== void 0 ? _a : task === null || task === void 0 ? void 0 : task.start_time);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
convertEpochToDate(epochTime) {
|
|
40
|
-
if (typeof epochTime == 'string')
|
|
41
|
-
epochTime = Number(epochTime);
|
|
42
|
-
const date = new Date(epochTime * 1000); // Convert to milliseconds
|
|
43
|
-
const day = date.getDate().toString().padStart(2, '0');
|
|
44
|
-
const month = (date.getMonth() + 1).toString().padStart(2, '0'); // Months are zero-based
|
|
45
|
-
const year = date.getFullYear().toString();
|
|
46
|
-
return `${day}-${month}-${year}`;
|
|
47
|
-
}
|
|
48
|
-
getTaskDetails(taskData) {
|
|
49
|
-
return getObjectValueFromPath(this.customer, taskData);
|
|
50
|
-
}
|
|
51
|
-
goToMaps(location) {
|
|
52
|
-
window.open(`${location}`, '_blank');
|
|
53
|
-
}
|
|
54
|
-
handleOnClickNext(e) {
|
|
55
|
-
this.nextStep.emit(e);
|
|
56
|
-
}
|
|
57
|
-
close() {
|
|
58
|
-
var _a, _b;
|
|
59
|
-
this.agentService.currentTaskDetails = undefined;
|
|
60
|
-
if (((_b = (_a = this.agentService.config) === null || _a === void 0 ? void 0 : _a.dashboard) === null || _b === void 0 ? void 0 : _b.mapType) == 'google-maps') {
|
|
61
|
-
this.googleMapsService.plotDirectionsForSelectedTask(null);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
this.openStreetMapsService.plotDirectionsForSelectedTask(null);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
handleOnClickRemoveTask(task) {
|
|
68
|
-
this.removeTask.emit(task);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
/** @nocollapse */ CustomerDetailsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CustomerDetailsComponent, deps: [{ token: i1.AgentService }, { token: i2.GoogleMapsService }, { token: i3.OpenStreetMapsService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
-
/** @nocollapse */ CustomerDetailsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: CustomerDetailsComponent, selector: "customer-details", inputs: { customer: "customer", config: "config" }, outputs: { nextStep: "nextStep", removeTask: "removeTask" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"customer-details-wrapper\">\n <div class=\"customer-details-heading\">User Details</div>\n <div class=\"customer-details-body\">\n <div class=\"customer-details-user-id\">\n <kwikui-label-value-pair\n [data]=\"customer\"\n [field]=\"config?.dashboard?.taskIdentifier ?? {value:'$.user_id', type: 'string'} \"\n ></kwikui-label-value-pair>\n\n <status-pill\n *ngIf=\"config?.dashboard?.isShowTaskStatus\"\n [status]=\"customer.session_status\"\n ></status-pill>\n </div>\n\n <div class=\"customer-details-table\">\n <div\n class=\"customer-details-table-data\"\n *ngFor=\"let taskData of viewTaskDetails\"\n >\n <kwikui-label-value-pair\n [field]=\"taskData\"\n [data]=\"customer\"\n ></kwikui-label-value-pair>\n </div>\n </div>\n\n <div class=\"customer-details-date\">\n Created at: {{ getTaskCreationTime(customer) }}\n </div>\n\n <div class=\"customer-details-actions\">\n <div class=\"customer-details-task-buttons\">\n <kwikui-button\n *ngIf=\"config.dashboard?.isAllowRemoveTask\"\n [icon]=\"'tuiIconTrash2'\"\n [shape]=\"'rounded'\"\n appearance=\"icon\"\n size=\"s\"\n (onClick)=\"handleOnClickRemoveTask(customer)\"\n ></kwikui-button>\n <kwikui-button\n *ngIf=\"config.dashboard?.isShowCopyLink\"\n icon=\"tuiIconCopy\"\n [shape]=\"'rounded'\"\n appearance=\"icon\"\n size=\"s\"\n (onClick)=\"\n handleOnClickNext({\n customer: customer,\n stepType: 'SHARE_JOURNEY_LINK'\n })\n \"\n ></kwikui-button>\n </div>\n <div class=\"customer-details-journey-buttons\">\n <kwikui-button\n *ngIf=\"\n config.dashboard?.isShowMaps &&\n customer?.isValidLocation\n \"\n label=\"Show Directions\"\n appearance=\"flat\"\n size=\"s\"\n styles=\"font-size:0.7rem;\"\n (onClick)=\"\n goToMaps(customer?.googleMapsUrl)\n \"\n ></kwikui-button>\n <kwikui-button\n *ngIf=\"\n config.dashboard?.isAllowStartJourney &&\n agentService.canStartJourney(customer.session_status)\n \"\n label=\"Start Journey\"\n appearance=\"primary\"\n size=\"s\"\n styles=\"font-size:0.7rem;\"\n (onClick)=\"\n handleOnClickNext({ customer: customer, stepType: 'START_JOURNEY' })\n \"\n ></kwikui-button>\n </div>\n </div>\n </div>\n</div>\n", styles: [".customer-details-wrapper{display:flex;flex-direction:column;align-items:stretch;overflow:auto;grid-gap:.5rem;gap:.5rem;padding:1.5rem;height:100%;width:100%}.customer-details-wrapper .customer-details-heading{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:1rem 0;font-size:1.5rem;font-weight:600}.customer-details-wrapper .customer-details-body{display:flex;flex-direction:column;grid-gap:1.25rem;gap:1.25rem}.customer-details-wrapper .customer-details-body .customer-details-user-id{display:flex;flex-direction:row;grid-gap:.6rem;gap:.6rem;align-items:center;font-size:1.25rem;font-weight:500;padding:.5rem 0}.customer-details-wrapper .customer-details-body .customer-details-table{display:flex;grid-gap:.5rem;gap:.5rem;flex-direction:column}.customer-details-wrapper .customer-details-body .customer-details-table .customer-details-table-data .customer-details-table-detail-name{font-weight:500}.customer-details-wrapper .customer-details-body .customer-details-table .customer-details-table-data .customer-details-table-detail-value{word-wrap:break-word}.customer-details-wrapper .customer-details-body .customer-details-date{padding-top:1rem}.customer-details-wrapper .customer-details-body .customer-details-actions{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center}.customer-details-wrapper .customer-details-body .customer-details-actions .customer-details-task-buttons{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;padding:1rem 0}.customer-details-wrapper .customer-details-body .customer-details-actions .customer-details-journey-buttons{padding-right:.2rem;display:flex;flex-direction:row;grid-gap:.2rem;gap:.2rem;align-items:center;justify-content:flex-end}.customer-details-wrapper .customer-details-body .customer-details-actions .customer-details-journey-buttons .customer-share-link{font-size:.7rem}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{background:lightgray;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:gray}\n"], components: [{ type: i4.KwikUILabelValuePairComponent, selector: "kwikui-label-value-pair", inputs: ["field", "data"] }, { type: i5.StatusPillComponent, selector: "status-pill", inputs: ["status"] }, { type: i4.KwikUIButtonComponent, selector: "kwikui-button", inputs: ["appearance", "class", "disabled", "icon", "iconRight", "id", "label", "shape", "showLoader", "size", "styles", "type", "pseudoHover"], outputs: ["onClick"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.Default });
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: CustomerDetailsComponent, decorators: [{
|
|
74
|
-
type: Component,
|
|
75
|
-
args: [{
|
|
76
|
-
selector: 'customer-details',
|
|
77
|
-
templateUrl: './customer-details.component.html',
|
|
78
|
-
styleUrls: ['./customer-details.component.scss'],
|
|
79
|
-
changeDetection: ChangeDetectionStrategy.Default
|
|
80
|
-
}]
|
|
81
|
-
}], ctorParameters: function () { return [{ type: i1.AgentService }, { type: i2.GoogleMapsService }, { type: i3.OpenStreetMapsService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { customer: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], config: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}], nextStep: [{
|
|
86
|
-
type: Output
|
|
87
|
-
}], removeTask: [{
|
|
88
|
-
type: Output
|
|
89
|
-
}] } });
|
|
90
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLC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gICAgICAgIFtzaGFwZV09XCIncm91bmRlZCdcIlxuICAgICAgICAgIGFwcGVhcmFuY2U9XCJpY29uXCJcbiAgICAgICAgICBzaXplPVwic1wiXG4gICAgICAgICAgKG9uQ2xpY2spPVwiXG4gICAgICAgICAgICBoYW5kbGVPbkNsaWNrTmV4dCh7XG4gICAgICAgICAgICAgIGN1c3RvbWVyOiBjdXN0b21lcixcbiAgICAgICAgICAgICAgc3RlcFR5cGU6ICdTSEFSRV9KT1VSTkVZX0xJTksnXG4gICAgICAgICAgICB9KVxuICAgICAgICAgIFwiXG4gICAgICAgID48L2t3aWt1aS1idXR0b24+XG4gICAgICA8L2Rpdj5cbiAgICAgIDxkaXYgY2xhc3M9XCJjdXN0b21lci1kZXRhaWxzLWpvdXJuZXktYnV0dG9uc1wiPlxuICAgICAgICA8a3dpa3VpLWJ1dHRvblxuICAgICAgICAgICpuZ0lmPVwiXG4gICAgICAgICAgICBjb25maWcuZGFzaGJvYXJkPy5pc1Nob3dNYXBzICYmXG4gICAgICAgICAgICBjdXN0b21lcj8uaXNWYWxpZExvY2F0aW9uXG4gICAgICAgICAgXCJcbiAgICAgICAgICBsYWJlbD1cIlNob3cgRGlyZWN0aW9uc1wiXG4gICAgICAgICAgYXBwZWFyYW5jZT1cImZsYXRcIlxuICAgICAgICAgIHNpemU9XCJzXCJcbiAgICAgICAgICBzdHlsZXM9XCJmb250LXNpemU6MC43cmVtO1wiXG4gICAgICAgICAgKG9uQ2xpY2spPVwiXG4gICAgICAgICAgICBnb1RvTWFwcyhjdXN0b21lcj8uZ29vZ2xlTWFwc1VybClcbiAgICAgICAgICBcIlxuICAgICAgICA+PC9rd2lrdWktYnV0dG9uPlxuICAgICAgICA8a3dpa3VpLWJ1dHRvblxuICAgICAgICAgICpuZ0lmPVwiXG4gICAgICAgICAgICBjb25maWcuZGFzaGJvYXJkPy5pc0FsbG93U3RhcnRKb3VybmV5ICYmXG4gICAgICAgICAgICBhZ2VudFNlcnZpY2UuY2FuU3RhcnRKb3VybmV5KGN1c3RvbWVyLnNlc3Npb25fc3RhdHVzKVxuICAgICAgICAgIFwiXG4gICAgICAgICAgbGFiZWw9XCJTdGFydCBKb3VybmV5XCJcbiAgICAgICAgICBhcHBlYXJhbmNlPVwicHJpbWFyeVwiXG4gICAgICAgICAgc2l6ZT1cInNcIlxuICAgICAgICAgIHN0eWxlcz1cImZvbnQtc2l6ZTowLjdyZW07XCJcbiAgICAgICAgICAob25DbGljayk9XCJcbiAgICAgICAgICAgIGhhbmRsZU9uQ2xpY2tOZXh0KHsgY3VzdG9tZXI6IGN1c3RvbWVyLCBzdGVwVHlwZTogJ1NUQVJUX0pPVVJORVknIH0pXG4gICAgICAgICAgXCJcbiAgICAgICAgPjwva3dpa3VpLWJ1dHRvbj5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
|