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 @@
|
|
|
1
|
+
{"version":3,"file":"kwikid-agent-dashboard.js","sources":["../../../projects/kwikid-agent-dashboard/src/lib/services/agent.service.ts","../../../projects/kwikid-agent-dashboard/src/lib/services/map.service.ts","../../../projects/kwikid-agent-dashboard/src/lib/services/customer.service.ts","../../../projects/kwikid-agent-dashboard/src/lib/components/menu/menu.component.ts","../../../projects/kwikid-agent-dashboard/src/lib/components/menu/menu.component.html","../../../projects/kwikid-agent-dashboard/src/lib/services/info-window.service.ts","../../../projects/kwikid-agent-dashboard/src/lib/svgs/kyc-success/kyc-success.component.ts","../../../projects/kwikid-agent-dashboard/src/lib/svgs/kyc-success/kyc-success.component.html","../../../projects/kwikid-agent-dashboard/src/lib/svgs/kyc-pending/kyc-pending.component.ts","../../../projects/kwikid-agent-dashboard/src/lib/svgs/kyc-pending/kyc-pending.component.html","../../../projects/kwikid-agent-dashboard/src/lib/components/customer-tile/customer-tile.component.ts","../../../projects/kwikid-agent-dashboard/src/lib/components/customer-tile/customer-tile.component.html","../../../projects/kwikid-agent-dashboard/src/lib/components/customer-list/customer-list.component.ts","../../../projects/kwikid-agent-dashboard/src/lib/components/customer-list/customer-list.component.html","../../../projects/kwikid-agent-dashboard/src/lib/components/add-customer/add-customer.component.ts","../../../projects/kwikid-agent-dashboard/src/lib/components/add-customer/add-customer.component.html","../../../projects/kwikid-agent-dashboard/src/lib/kwikid-agent-dashboard.component.ts","../../../projects/kwikid-agent-dashboard/src/lib/kwikid-agent-dashboard.component.html","../../../projects/kwikid-agent-dashboard/src/lib/kwikid-agent-dashboard.module.ts","../../../projects/kwikid-agent-dashboard/src/public_api.ts","../../../projects/kwikid-agent-dashboard/src/kwikid-agent-dashboard.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\ndeclare const google: any;\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AgentService {\r\n agentConfig: any = {};\r\n\r\n showMenu = false;\r\n showMapview = true;\r\n addTask = false;\r\n\r\n getAgentConfig() {\r\n return this.agentConfig;\r\n }\r\n\r\n setAgentConfig(agentConfig) {\r\n this.agentConfig = agentConfig;\r\n }\r\n\r\n setMapview(value) {\r\n this.showMapview = value;\r\n }\r\n\r\n getAddTask(){\r\n return this.addTask\r\n }\r\n\r\n setAddTask(value) {\r\n this.addTask = value;\r\n this.setMenu(false);\r\n }\r\n\r\n toggleMapview() {\r\n this.showMapview = !this.showMapview;\r\n }\r\n\r\n getMenu() {\r\n return this.showMenu;\r\n }\r\n\r\n setMenu(value) {\r\n this.showMenu = value;\r\n }\r\n\r\n toggleMenu() {\r\n this.showMenu = !this.showMenu;\r\n }\r\n\r\n}\r\n","import { makeBindingParser } from '@angular/compiler';\r\nimport { Injectable } from '@angular/core';\r\nimport { AgentService } from './agent.service';\r\n\r\ndeclare const google: any;\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MapService {\r\n myPosition;\r\n map: any;\r\n allCustomersMarkers: any = [];\r\n allCustomersDirections;\r\n\r\n historyCustomerMarker;\r\n historyCustomerDirections;\r\n\r\n constructor(private agentService: AgentService) {}\r\n\r\n getMyPosition() {\r\n return this.myPosition;\r\n }\r\n\r\n getMap() {\r\n return this.map;\r\n }\r\n\r\n setMap(map) {\r\n this.map = map;\r\n }\r\n\r\n getMarkers() {\r\n return this.allCustomersMarkers;\r\n }\r\n\r\n setMarkers(markers) {\r\n this.allCustomersMarkers = markers;\r\n }\r\n\r\n async initMap(mapElement) {\r\n this.myPosition = await this.getPosition().then((pos) => {\r\n return {\r\n lat: pos.lat,\r\n lng: pos.lng\r\n };\r\n });\r\n\r\n this.map = new google.maps.Map(mapElement.nativeElement, {\r\n zoom: 10,\r\n center: this.myPosition,\r\n streetViewControl: false,\r\n mapTypeControl: false,\r\n fullscreenControl: false,\r\n zoomControl: false,\r\n });\r\n }\r\n\r\n async plotMarkers(customers) {\r\n let path = [];\r\n\r\n const marker = new google.maps.Marker({\r\n position: this.myPosition,\r\n map: this.map,\r\n animation: google.maps.Animation.DROP\r\n });\r\n\r\n let origin = marker.getPosition();\r\n\r\n customers.map((customer) => {\r\n path.push({\r\n location: this.getLatLng(customer.extras.loc),\r\n stopover: true\r\n });\r\n });\r\n\r\n customers = await this.calcRoute(customers, origin, path);\r\n\r\n customers.map((customer, index) => {\r\n const marker = new google.maps.Marker({\r\n position: this.getLatLng(customer.extras.loc),\r\n map: this.map,\r\n animation: google.maps.Animation.DROP,\r\n label: {\r\n text: String(index + 1),\r\n color: '#FFF'\r\n }\r\n });\r\n\r\n this.allCustomersMarkers.push(marker);\r\n });\r\n\r\n return customers;\r\n }\r\n\r\n async calcRoute(customers, origin, waypoints) {\r\n let directionsService = new google.maps.DirectionsService();\r\n let directionsRenderer = new google.maps.DirectionsRenderer({\r\n suppressMarkers: true\r\n });\r\n\r\n const destination = new google.maps.LatLng(19.0996079, 72.9144412);\r\n\r\n directionsRenderer.setMap(this.map);\r\n let request = {\r\n origin: origin,\r\n destination: destination,\r\n waypoints: waypoints,\r\n optimizeWaypoints: true,\r\n travelMode: 'DRIVING'\r\n };\r\n\r\n let sortList = this.sortList;\r\n let customersData = customers;\r\n\r\n await directionsService.route(request, function (result, status) {\r\n if (status == 'OK') {\r\n directionsRenderer.setDirections(result);\r\n customersData = sortList(\r\n result.routes[0].waypoint_order,\r\n customersData\r\n );\r\n }\r\n });\r\n\r\n this.allCustomersDirections = directionsRenderer;\r\n\r\n return customersData;\r\n }\r\n\r\n getPosition(): Promise<any> {\r\n return new Promise((resolve, reject) => {\r\n navigator.geolocation.watchPosition(\r\n (resp) => {\r\n resolve({\r\n lng: resp.coords.longitude,\r\n lat: resp.coords.latitude\r\n });\r\n },\r\n (err) => {\r\n reject(err);\r\n }\r\n );\r\n });\r\n }\r\n\r\n getLatLng(data) {\r\n return new google.maps.LatLng(data[0], data[1]);\r\n }\r\n\r\n sortList(order, customersData) {\r\n let c = [];\r\n for (let i = 0; i < customersData.length; i++) {\r\n let customer = customersData[order[i]];\r\n c.push(customer);\r\n }\r\n\r\n return c;\r\n }\r\n\r\n plotHistoryCustomer(customer) {\r\n if (this.historyCustomerMarker) this.setMarkersMap(null, null);\r\n this.agentService.toggleMenu();\r\n\r\n const marker = new google.maps.Marker({\r\n position: this.getLatLng(customer.loc),\r\n map: this.map,\r\n animation: google.maps.Animation.DROP,\r\n label: {\r\n text: 'C',\r\n color: '#FFF'\r\n }\r\n });\r\n\r\n this.historyCustomerMarker = marker;\r\n\r\n let directionsService = new google.maps.DirectionsService();\r\n let directionsRenderer = new google.maps.DirectionsRenderer({\r\n suppressMarkers: true\r\n });\r\n\r\n directionsRenderer.setMap(this.map);\r\n let request = {\r\n origin: this.myPosition,\r\n destination: marker.getPosition(),\r\n optimizeWaypoints: true,\r\n travelMode: 'DRIVING'\r\n };\r\n\r\n directionsService.route(request, function (result, status) {\r\n if (status == 'OK') {\r\n directionsRenderer.setDirections(result);\r\n }\r\n });\r\n\r\n this.historyCustomerDirections = directionsRenderer;\r\n\r\n this.setMarkersMap(null, this.map);\r\n\r\n return marker;\r\n }\r\n\r\n setMarkersMap(all, history) {\r\n this.allCustomersMarkers.map((marker) => {\r\n marker.setMap(all);\r\n });\r\n this.allCustomersDirections.setMap(all);\r\n\r\n this.historyCustomerMarker.setMap(history);\r\n this.historyCustomerDirections.setMap(history);\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomerService {\r\n\r\n customersData;\r\n\r\n constructor() { }\r\n\r\n getCustomers(){\r\n return this.customersData;\r\n }\r\n\r\n setCustomers(customers){\r\n this.customersData = customers;\r\n }\r\n}\r\n","import { Component, EventEmitter, OnInit, Output } from '@angular/core';\r\nimport { AgentService } from '../../services/agent.service';\r\n\r\n@Component({\r\n selector: 'menu',\r\n templateUrl: './menu.component.html',\r\n styleUrls: ['./menu.component.css']\r\n})\r\nexport class MenuComponent implements OnInit {\r\n /**\r\n * @description\r\n *\r\n * @constructor\r\n */\r\n constructor(public agentService: AgentService) {}\r\n\r\n @Output() nextStep = new EventEmitter();\r\n\r\n ngOnInit(): void {}\r\n\r\n goToNextStep(e) {\r\n this.nextStep.emit(e);\r\n }\r\n\r\n refresh() {\r\n window.location.reload();\r\n }\r\n}\r\n","<div class=\"menu-container\">\r\n <div class=\"menu-option\">\r\n <div class=\"agent-name\">Agent Name</div>\r\n <div class=\"agent-id\">1234-5678-9012</div>\r\n </div>\r\n <hr />\r\n <div class=\"menu-option\" (click)=\"agentService.toggleMapview()\">\r\n {{ agentService.showMapview ? 'Hide Maps' : 'Show Maps' }}\r\n </div>\r\n <div class=\"menu-option\" (click)=\"agentService.setAddTask(true)\">\r\n Add Task\r\n </div>\r\n <div class=\"menu-option\" (click)=\"refresh()\">Refresh</div>\r\n <hr />\r\n <div class=\"menu-option\" (onClick)=\"goToNextStep('logout')\">Logout</div>\r\n</div>\r\n","import { Injectable } from '@angular/core';\r\nimport { MapService } from './map.service';\r\n\r\ndeclare const google: any;\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class InfoWindowService {\r\n openMarker;\r\n lastInfoWindowOpened;\r\n\r\n config = {\r\n fields: {\r\n name: {\r\n label: 'Name',\r\n value: 'name',\r\n display: 'value',\r\n style: {\r\n fontSize: '1rem',\r\n fontWeight: 600\r\n }\r\n },\r\n phone: {\r\n label: 'Call',\r\n value: 'phone',\r\n display: 'label',\r\n style: {\r\n fontSize: '0.8rem',\r\n padding: '0.1rem 0',\r\n textAlign: 'justify'\r\n },\r\n icon: 'https://cdn-icons-png.flaticon.com/512/60/60720.png'\r\n },\r\n address: {\r\n label: 'Directions',\r\n value: 'address',\r\n display: 'label',\r\n style: {\r\n fontSize: '0.8rem',\r\n padding: '0.1rem 0'\r\n },\r\n icon: 'https://cdn-icons-png.flaticon.com/512/62/62516.png'\r\n }\r\n }\r\n };\r\n\r\n mainInfoWindowStyle = {\r\n display: 'flex',\r\n 'flex-direction': 'column',\r\n 'justify-content': 'center',\r\n 'align-items': 'stretch',\r\n gap: '0.5rem',\r\n padding: '0.5rem'\r\n };\r\n\r\n fieldDivStyle = {\r\n gap: ' 0.5rem',\r\n display: 'flex',\r\n 'flex-direction': 'row'\r\n };\r\n\r\n constructor(public mapService: MapService) {}\r\n\r\n getOpenMarker() {\r\n return this.openMarker;\r\n }\r\n\r\n setOpenMarker(value) {\r\n this.openMarker = value;\r\n }\r\n\r\n /**\r\n * @description\r\n * Wrapper method to show Customer Info Window\r\n *\r\n * @function showInfo\r\n * @func showInfo\r\n * @method showInfo\r\n */\r\n showCustomerInformation(customer, marker) {\r\n let map = this.mapService.getMap();\r\n let contentString = this.createInfoContent(customer);\r\n\r\n let infowindow = new google.maps.InfoWindow({\r\n content: contentString\r\n });\r\n\r\n this.addEventListeners(customer, infowindow);\r\n\r\n this.closeLastOpenedInfoWindow();\r\n infowindow.open(map, marker);\r\n this.lastInfoWindowOpened = infowindow;\r\n map.setCenter(marker.getPosition());\r\n\r\n return { infowindow: infowindow };\r\n }\r\n\r\n addEventListeners(customer, infowindow) {\r\n let addressLink = `http://maps.google.com/?q=${customer.extras.loc[0]}, ${customer.extras.loc[1]}`;\r\n\r\n google.maps.event.addListener(infowindow, 'domready', function () {\r\n document.getElementById('Call').addEventListener('click', function (e) {\r\n window.open(`tel:${customer.extras.phone}`, '_self');\r\n });\r\n document\r\n .getElementById('Directions')\r\n .addEventListener('click', function (e) {\r\n window.open(`${addressLink}`, '_blank');\r\n });\r\n\r\n document\r\n .getElementsByClassName('gm-ui-hover-effect')[0]\r\n .setAttribute(\r\n 'style',\r\n ' background: none;\\\r\n display: block; \\\r\n border: 0px; \\\r\n margin: 0px; \\\r\n padding: 0px; \\\r\n text-transform: none; \\\r\n appearance: none; \\\r\n position: absolute; \\\r\n cursor: pointer; \\\r\n user-select: none; \\\r\n top: 0px; \\\r\n right: 0px; \\\r\n width: 30px; \\\r\n height: 30px; \\\r\n '\r\n );\r\n });\r\n }\r\n\r\n /**\r\n * @description\r\n * Wrapper method to close Last Info Window\r\n *\r\n * @function closeLastOpenedInfoWindow\r\n * @func closeLastOpenedInfoWindow\r\n * @method closeLastOpenedInfoWindow\r\n */\r\n closeLastOpenedInfoWindow() {\r\n if (this.lastInfoWindowOpened) {\r\n this.lastInfoWindowOpened.close();\r\n }\r\n }\r\n\r\n /**\r\n * @description\r\n * Closes the previously opened info window.\r\n *\r\n * @function infoData\r\n * @func infoData\r\n * @method infoData\r\n */\r\n createInfoContent(customer) {\r\n let content = \"<div style='padding:4px; font-family: Manrope;' >\";\r\n\r\n content += this.createFields(customer, this.config.fields);\r\n content += '</div>';\r\n\r\n return content;\r\n }\r\n\r\n /**\r\n * @description\r\n * Wrapper method to create Fields Container\r\n *\r\n * @function createFields\r\n * @func createFields\r\n * @method createFields\r\n */\r\n createFields(customer, fields) {\r\n let _div = document.createElement('div');\r\n for (const property in this.mainInfoWindowStyle)\r\n _div.style[property] = this.mainInfoWindowStyle[property];\r\n\r\n for (let key of Object.keys(fields)) {\r\n let field = fields[key];\r\n\r\n let _fieldDiv = document.createElement('div');\r\n _fieldDiv.setAttribute('id', field.label);\r\n for (const property in this.fieldDivStyle)\r\n _fieldDiv.style[property] = this.fieldDivStyle[property];\r\n for (const property in field.style)\r\n _fieldDiv.style[property] = field.style[property];\r\n\r\n let string =\r\n field.display == 'label' ? field.label : customer.extras[field.value];\r\n\r\n if (field.icon) {\r\n let _icon = document.createElement('img');\r\n _icon.src = field.icon;\r\n _icon.style.width = field.style.fontSize;\r\n _icon.style.height = field.style.fontSize;\r\n _fieldDiv.appendChild(_icon);\r\n }\r\n\r\n let _fieldText = document.createElement('div');\r\n _fieldText.innerHTML = string;\r\n _fieldDiv.appendChild(_fieldText);\r\n\r\n _div.appendChild(_fieldDiv);\r\n }\r\n return _div.outerHTML;\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'svg-kyc-success',\r\n templateUrl: './kyc-success.component.html',\r\n styleUrls: ['./kyc-success.component.css']\r\n})\r\nexport class KycSuccessComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","<svg\r\n class=\"status\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n x=\"0px\"\r\n y=\"0px\"\r\n width=\"32\"\r\n height=\"32\"\r\n viewBox=\"0,0,256,256\"\r\n style=\"fill: #000000\"\r\n>\r\n <g transform=\"translate(64,64) scale(0.5,0.5)\">\r\n <g\r\n fill=\"#20c997\"\r\n fill-rule=\"nonzero\"\r\n stroke=\"none\"\r\n stroke-width=\"1\"\r\n stroke-linecap=\"butt\"\r\n stroke-linejoin=\"miter\"\r\n stroke-miterlimit=\"10\"\r\n stroke-dasharray=\"\"\r\n stroke-dashoffset=\"0\"\r\n font-family=\"none\"\r\n font-weight=\"none\"\r\n font-size=\"none\"\r\n text-anchor=\"none\"\r\n style=\"mix-blend-mode: normal\"\r\n >\r\n <path d=\"M-128,384v-512h512v512z\" id=\"bgRectangle\"></path>\r\n </g>\r\n <g\r\n fill=\"#ffffff\"\r\n fill-rule=\"nonzero\"\r\n stroke=\"none\"\r\n stroke-width=\"1\"\r\n stroke-linecap=\"butt\"\r\n stroke-linejoin=\"miter\"\r\n stroke-miterlimit=\"10\"\r\n stroke-dasharray=\"\"\r\n stroke-dashoffset=\"0\"\r\n font-family=\"none\"\r\n font-weight=\"none\"\r\n font-size=\"none\"\r\n text-anchor=\"none\"\r\n style=\"mix-blend-mode: normal\"\r\n >\r\n <g transform=\"scale(8,8)\">\r\n <path\r\n d=\"M28.28125,6.28125l-17.28125,17.28125l-7.28125,-7.28125l-1.4375,1.4375l8,8l0.71875,0.6875l0.71875,-0.6875l18,-18z\"\r\n ></path>\r\n </g>\r\n </g>\r\n </g>\r\n</svg>\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'svg-kyc-pending',\r\n templateUrl: './kyc-pending.component.html',\r\n styleUrls: ['./kyc-pending.component.css']\r\n})\r\nexport class KycPendingComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","<svg\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n class=\"status\"\r\n x=\"0px\"\r\n y=\"0px\"\r\n width=\"32\"\r\n height=\"32\"\r\n viewBox=\"0,0,256,256\"\r\n style=\"fill: #000000\"\r\n>\r\n <g transform=\"translate(32,32) scale(0.75,0.75)\">\r\n <g\r\n fill=\"#fcb919\"\r\n fill-rule=\"nonzero\"\r\n stroke=\"none\"\r\n stroke-width=\"1\"\r\n stroke-linecap=\"butt\"\r\n stroke-linejoin=\"miter\"\r\n stroke-miterlimit=\"10\"\r\n stroke-dasharray=\"\"\r\n stroke-dashoffset=\"0\"\r\n font-family=\"none\"\r\n font-weight=\"none\"\r\n font-size=\"none\"\r\n text-anchor=\"none\"\r\n style=\"mix-blend-mode: normal\"\r\n >\r\n <path\r\n d=\"M-42.66667,298.66667v-341.33333h341.33333v341.33333z\"\r\n id=\"bgRectangle\"\r\n ></path>\r\n </g>\r\n <g\r\n fill=\"#ffffff\"\r\n fill-rule=\"nonzero\"\r\n stroke=\"none\"\r\n stroke-width=\"1\"\r\n stroke-linecap=\"butt\"\r\n stroke-linejoin=\"miter\"\r\n stroke-miterlimit=\"10\"\r\n stroke-dasharray=\"\"\r\n stroke-dashoffset=\"0\"\r\n font-family=\"none\"\r\n font-weight=\"none\"\r\n font-size=\"none\"\r\n text-anchor=\"none\"\r\n style=\"mix-blend-mode: normal\"\r\n >\r\n <g transform=\"scale(8,8)\">\r\n <path\r\n d=\"M16,4c-6.61719,0 -12,5.38281 -12,12c0,6.61719 5.38281,12 12,12c6.61719,0 12,-5.38281 12,-12c0,-6.61719 -5.38281,-12 -12,-12zM16,6c5.53516,0 10,4.46484 10,10c0,5.53516 -4.46484,10 -10,10c-5.53516,0 -10,-4.46484 -10,-10c0,-5.53516 4.46484,-10 10,-10zM15,8v9h7v-2h-5v-7z\"\r\n ></path>\r\n </g>\r\n </g>\r\n </g>\r\n</svg>\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { InfoWindowService } from '../../services/info-window.service';\r\nimport { MapService } from '../../services/map.service';\r\n\r\ndeclare const google: any;\r\n\r\n@Component({\r\n selector: 'customer-tile',\r\n templateUrl: './customer-tile.component.html',\r\n styleUrls: ['./customer-tile.component.scss']\r\n})\r\nexport class CustomerTileComponent implements OnInit {\r\n /**\r\n * @description\r\n * Determines Customer Data\r\n *\r\n * @default\r\n * `{}`\r\n */\r\n @Input() customer: any = {};\r\n\r\n /**\r\n * @description\r\n * Determines Index of Customer Data in Customer List\r\n *\r\n * @default\r\n *\r\n */\r\n @Input() index: number = undefined;\r\n\r\n /**\r\n * @description\r\n * Emitter to emit next Step\r\n *\r\n * @emits KwikIDAgentDashboardComponent#nextStep\r\n * @fires KwikIDAgentDashboardComponent#nextStep\r\n */\r\n @Output() nextStep = new EventEmitter();\r\n\r\n @Output() removeTask = new EventEmitter(); /**\r\n * @description\r\n *\r\n * @constructor\r\n */\r\n constructor(\r\n public mapService: MapService,\r\n public infoWindowService: InfoWindowService\r\n ) {}\r\n\r\n /**\r\n * @description\r\n * To set Google Maps API on script\r\n *\r\n * @ngOnInit\r\n */\r\n ngOnInit(): void {}\r\n\r\n tileClick() {\r\n console.log(\"Tile Click\", this.index)\r\n if (this.index == this.infoWindowService.getOpenMarker()) {\r\n this.infoWindowService.setOpenMarker(null);\r\n this.infoWindowService.lastInfoWindowOpened.close();\r\n } else {\r\n this.showDetails(this.customer, this.index);\r\n }\r\n }\r\n\r\n /**\r\n * @description\r\n * Wrapper method to show Customer Info Window\r\n *\r\n * @function showDetails\r\n * @func showDetails\r\n * @method showDetails\r\n */\r\n showDetails(customer, index) {\r\n let markers = this.mapService.getMarkers();\r\n let marker = markers[index];\r\n\r\n let { infowindow } = this.infoWindowService.showCustomerInformation(\r\n customer,\r\n marker\r\n );\r\n\r\n this.infoWindowService.setOpenMarker(index);\r\n }\r\n\r\n /**\r\n * @description\r\n * Wrapper method to fire click event for next step.\r\n *\r\n * @function goToNextStep\r\n * @func goToNextStep\r\n * @method goToNextStep\r\n */\r\n goToNextStep(e) {\r\n this.nextStep.emit(e);\r\n }\r\n\r\n handleOnClickRemoveTask(task) {\r\n this.removeTask.emit(task);\r\n }\r\n}\r\n","<div class=\"customer-tile-wrapper\">\r\n <div class=\"customer-tile-primary-container\">\r\n <div class=\"customer-tile-primary-container-data\">\r\n <ng-container *ngIf=\"customer.kycComplete\">\r\n <svg-kyc-success></svg-kyc-success>\r\n </ng-container>\r\n <ng-container *ngIf=\"!customer.kycComplete\">\r\n <svg-kyc-pending></svg-kyc-pending>\r\n </ng-container>\r\n <div class=\"customer-tile-prtimary-container-name-phone\">\r\n <div class=\"customer-tile-primary-container-name\">\r\n {{ customer.extras.name }}\r\n </div>\r\n <div class=\"customer-tile-primary-container-phone\">\r\n {{ customer.extras.phone }}\r\n </div>\r\n </div>\r\n </div>\r\n <kwikui-button-icon\r\n [icon]=\"\r\n index == infoWindowService.getOpenMarker()\r\n ? 'tuiIconChevronUpLarge'\r\n : 'tuiIconChevronDownLarge'\r\n \"\r\n [shape]=\"'rounded'\"\r\n appearance=\"icon\"\r\n size=\"s\"\r\n (onClick)=\"tileClick()\"\r\n ></kwikui-button-icon>\r\n </div>\r\n <div\r\n [ngClass]=\"\r\n index == infoWindowService.getOpenMarker()\r\n ? 'customer-tile-secondary-container'\r\n : 'data-collasped'\r\n \"\r\n >\r\n <div class=\"customer-tile-secondary-container-data\">\r\n <div class=\"customer-tile-secondary-container-address\">\r\n {{ customer.extras.address }}\r\n </div>\r\n </div>\r\n <div class=\"customer-tile-secondary-container-actions\">\r\n <kwikui-button-icon\r\n [icon]=\"'tuiIconTrash2'\"\r\n [shape]=\"'rounded'\"\r\n appearance=\"icon\"\r\n size=\"s\"\r\n (onClick)=\"handleOnClickRemoveTask(customer)\"\r\n ></kwikui-button-icon>\r\n <div class=\"customer-tile-secondary-container-journey-buttons\">\r\n <kwikui-button\r\n label=\"Share Link\"\r\n appearance=\"flat\"\r\n size=\"s\"\r\n styles=\"font-size:0.7rem;\"\r\n (onClick)=\"goToNextStep({ customer: customer, process: 'share' })\"\r\n ></kwikui-button>\r\n <kwikui-button\r\n *ngIf=\"!customer.kycComplete\"\r\n label=\"Start Journey\"\r\n appearance=\"primary\"\r\n size=\"s\"\r\n styles=\"font-size:0.7rem;\"\r\n (onClick)=\"goToNextStep({ customer: customer, process: 'kyc' })\"\r\n ></kwikui-button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { TuiDay } from '@taiga-ui/cdk';\r\nimport { InfoWindowService } from '../../services/info-window.service';\r\nimport { MapService } from '../../services/map.service';\r\n\r\n@Component({\r\n selector: 'customer-list',\r\n templateUrl: './customer-list.component.html',\r\n styleUrls: ['./customer-list.component.css']\r\n})\r\nexport class CustomerListComponent implements OnInit {\r\n /**\r\n * @description\r\n * Stores list of customers\r\n *\r\n * @default\r\n * `[]`\r\n */\r\n @Input() customers: any;\r\n\r\n /**\r\n * @description\r\n * Describes today's date\r\n *\r\n * @default\r\n * ``\r\n */\r\n fromDate: string | Date;\r\n\r\n /**\r\n * @description\r\n * Describes today's date\r\n *\r\n * @default\r\n * ``\r\n */\r\n toDate: string | Date;\r\n\r\n /**\r\n * @description\r\n * Emitter to emit next Step\r\n *\r\n * @emits KwikIDAgentDashboardComponent#nextStep\r\n * @fires KwikIDAgentDashboardComponent#nextStep\r\n */\r\n @Output() nextStep = new EventEmitter();\r\n\r\n @Output() removeTask = new EventEmitter();\r\n\r\n lastInfoWindowOpened: any;\r\n filteredData = [];\r\n formGroup: FormGroup = new FormGroup({});\r\n fromDateFormControl: FormControl;\r\n toDateFormControl: FormControl;\r\n\r\n /**\r\n * @description\r\n *\r\n * @constructor\r\n */\r\n constructor(\r\n public mapService: MapService,\r\n public infoWindowService: InfoWindowService\r\n ) {\r\n this.fromDate = this.getDate();\r\n this.toDate = this.getDate();\r\n\r\n this.fromDateFormControl = new FormControl({\r\n value: new TuiDay(\r\n new Date().getFullYear(),\r\n new Date().getMonth(),\r\n new Date().getDate()\r\n ),\r\n disabled: false\r\n });\r\n this.formGroup.addControl('fromDate', this.fromDateFormControl);\r\n\r\n this.toDateFormControl = new FormControl({\r\n value: new TuiDay(\r\n new Date().getFullYear(),\r\n new Date().getMonth(),\r\n new Date().getDate()\r\n ),\r\n disabled: false\r\n });\r\n this.formGroup.addControl('toDate', this.toDateFormControl);\r\n }\r\n\r\n /**\r\n * @description\r\n * To set Google Maps API on script\r\n *\r\n * @ngOnInit\r\n */\r\n ngOnInit(): void {\r\n this.filteredData = this.getCustomers(this.customers);\r\n }\r\n\r\n /**\r\n * @description\r\n * Wrapper method to fire click event for next step.\r\n *\r\n * @function goToNextStep\r\n * @func goToNextStep\r\n * @method goToNextStep\r\n */\r\n goToNextStep(e) {\r\n this.nextStep.emit(e);\r\n }\r\n\r\n getDate() {\r\n const date = new Date();\r\n const year = date.getFullYear();\r\n\r\n let month: number | string = date.getMonth() + 1;\r\n let day: number | string = date.getDate();\r\n if (month < 10) month = '0' + month;\r\n if (day < 10) day = '0' + day;\r\n\r\n const today = `${year}-${month}-${day}`;\r\n return today;\r\n }\r\n\r\n getCustomers(customers) {\r\n let filterData = customers.filter((customer) => {\r\n let date = customer.date;\r\n return date >= this.fromDate && date <= this.toDate;\r\n });\r\n return filterData;\r\n }\r\n\r\n onFromDateChange(event) {\r\n let year = event.value.year;\r\n let month = event.value.month + 1;\r\n let date = event.value.day;\r\n month = month < 10 ? '0' + month : month;\r\n date = date < 10 ? '0' + date : date;\r\n this.fromDate = `${year}-${month}-${date}`;\r\n\r\n this.filteredData = this.getCustomers(this.customers);\r\n }\r\n\r\n onToDateChange(event) {\r\n let year = event.value.year;\r\n let month = event.value.month + 1;\r\n let date = event.value.day;\r\n month = month < 10 ? '0' + month : month;\r\n date = date < 10 ? '0' + date : date;\r\n this.toDate = `${year}-${month}-${date}`;\r\n\r\n this.filteredData = this.getCustomers(this.customers);\r\n }\r\n\r\n handleOnClickRemoveTask(task) {\r\n this.removeTask.emit(task);\r\n }\r\n}\r\n","<div class=\"customer-list-wrapper\">\r\n <div class=\"customer-list-filter\" [formGroup]=\"formGroup\">\r\n <kwikui-input-date\r\n [label]=\"'From Date'\"\r\n [id]=\"'fromDate'\"\r\n size=\"m\"\r\n [formControlName]=\"'fromDate'\"\r\n [formControl]=\"fromDateFormControl\"\r\n (getKeyValue)=\"onFromDateChange($event)\"\r\n ></kwikui-input-date>\r\n <kwikui-input-date\r\n [label]=\"'To Date'\"\r\n [id]=\"'toDate'\"\r\n size=\"m\"\r\n [formControlName]=\"'toDate'\"\r\n [formControl]=\"toDateFormControl\"\r\n (getKeyValue)=\"onToDateChange($event)\"\r\n ></kwikui-input-date>\r\n </div>\r\n <div class=\"customer-task-list\">\r\n <div *ngFor=\"let customer of filteredData; let index = index\">\r\n <customer-tile\r\n [customer]=\"customer\"\r\n [index]=\"index\"\r\n (nextStep)=\"goToNextStep($event)\"\r\n (removeTask)=\"handleOnClickRemoveTask($event)\"\r\n ></customer-tile>\r\n </div>\r\n </div>\r\n\r\n <div class=\"customer-list-empty\" *ngIf=\"customers.length === 0\">\r\n No Customers Left...\r\n </div>\r\n</div>\r\n","import { Component, EventEmitter, OnInit, Output } from '@angular/core';\r\nimport { FormControl, FormGroup } from '@angular/forms';\r\nimport { AgentService } from '../../services/agent.service';\r\n\r\n@Component({\r\n selector: 'add-customer',\r\n templateUrl: './add-customer.component.html',\r\n styleUrls: ['./add-customer.component.css']\r\n})\r\nexport class AddCustomerComponent implements OnInit {\r\n newCustomerFormGroup: FormGroup = undefined;\r\n\r\n constructor(public agentService: AgentService) {\r\n this.newCustomerFormGroup = new FormGroup({\r\n name: new FormControl(''),\r\n phone: new FormControl(''),\r\n address: new FormControl('')\r\n });\r\n }\r\n\r\n @Output() addTask = new EventEmitter();\r\n\r\n ngOnInit(): void {}\r\n\r\n handleGetKeyValue(e: any) {\r\n this.newCustomerFormGroup.patchValue(\r\n {\r\n [e.key]: e.value\r\n },\r\n { emitEvent: false }\r\n );\r\n }\r\n\r\n handleOnClickAddTask(e: any) {\r\n let newTask = {};\r\n newTask = {\r\n user_id: String(Math.floor(1000 + Math.random() * 9000)),\r\n date: this.getDate(),\r\n extras: {\r\n name: this.newCustomerFormGroup.controls.name.value,\r\n phone: this.newCustomerFormGroup.controls.phone.value,\r\n address: this.newCustomerFormGroup.controls.address.value,\r\n map: 'https: //www.google.com/maps/place/Westside+-+Borivali,+Mumbai/@19.2288067,72.853972,17z/data=!3m1!5s0x3be7b0d65d0d02dd:0x2bf11ace42a9dad8!4m12!1m6!3m5!1s0x3be7b0d6db21ad03:0xa31af1578987d699!2sBorivali+Station+West!8m2!3d19.2288016!4d72.8561607!3m4!1s0x3be7b12a0f616a41:0x1f4e031b07f5726c!8m2!3d19.2291309!4d72.8523105',\r\n loc: ['19.2288067', '72.853972']\r\n },\r\n kycComplete: false\r\n };\r\n this.addTask.emit(newTask);\r\n this.agentService.setAddTask(false);\r\n }\r\n\r\n getDate() {\r\n const date = new Date();\r\n const year = date.getFullYear();\r\n\r\n let month: number | string = date.getMonth() + 1;\r\n let day: number | string = date.getDate();\r\n if (month < 10) month = '0' + month;\r\n if (day < 10) day = '0' + day;\r\n\r\n const today = `${year}-${month}-${day}`;\r\n return today;\r\n }\r\n}\r\n","<div class=\"add-customer-container\">\r\n <div class=\"add-customer-form\">\r\n <div class=\"add-customer-form-content\" [formGroup]=\"newCustomerFormGroup\">\r\n <div class=\"add-customer-heading\">Add Task</div>\r\n <kwikui-input\r\n type=\"text\"\r\n label=\"Name\"\r\n id=\"name\"\r\n size=\"m\"\r\n [formControlName]=\"'name'\"\r\n [formControl]=\"newCustomerFormGroup.controls['name']\"\r\n (getKeyValue)=\"handleGetKeyValue($event)\"\r\n ></kwikui-input>\r\n <kwikui-input\r\n type=\"text\"\r\n label=\"Phone\"\r\n id=\"phone\"\r\n size=\"m\"\r\n [formControlName]=\"'phone'\"\r\n [formControl]=\"newCustomerFormGroup.controls['phone']\"\r\n (getKeyValue)=\"handleGetKeyValue($event)\"\r\n ></kwikui-input>\r\n <kwikui-input\r\n type=\"text\"\r\n label=\"Address\"\r\n id=\"address\"\r\n size=\"m\"\r\n [formControlName]=\"'address'\"\r\n [formControl]=\"newCustomerFormGroup.controls['address']\"\r\n (getKeyValue)=\"handleGetKeyValue($event)\"\r\n ></kwikui-input>\r\n <div class=\"add-customer-form-actions\">\r\n <kwikui-button\r\n label=\"Cancel\"\r\n appearance=\"flat\"\r\n size=\"m\"\r\n (onClick)=\"agentService.setAddTask(false)\"\r\n ></kwikui-button>\r\n <kwikui-button\r\n label=\"Submit\"\r\n appearance=\"primary\"\r\n size=\"m\"\r\n (onClick)=\"handleOnClickAddTask($event)\"\r\n ></kwikui-button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n","import {\r\n Component,\r\n OnInit,\r\n Input,\r\n ViewChild,\r\n Output,\r\n EventEmitter\r\n} from '@angular/core';\r\nimport { AgentService } from './services/agent.service';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { MapService } from './services/map.service';\r\nimport { CustomerService } from './services/customer.service';\r\nimport Customer from './shared/interfaces/customer';\r\n\r\n@Component({\r\n selector: 'kwikid-agent-dashboard',\r\n templateUrl: './kwikid-agent-dashboard.component.html',\r\n styleUrls: ['./kwikid-agent-dashboard.component.scss']\r\n})\r\nexport class KwikIDAgentDashboardComponent implements OnInit {\r\n /**\r\n * @description\r\n * Stores agent Config\r\n *\r\n * @default\r\n * `{}`\r\n */\r\n @Input() agentConfig: any = {};\r\n\r\n /**\r\n * @description\r\n * Stores list of customers\r\n *\r\n * @default\r\n * `[]`\r\n */\r\n @Input() customers: Array<Customer> = [];\r\n\r\n /**\r\n * @description\r\n * Stores list of customers\r\n *\r\n * @default\r\n * `[]`\r\n */\r\n @Input() todaysCustomers: Array<Customer> = [];\r\n\r\n /**\r\n * @description\r\n * Emitter to emit next Step\r\n *\r\n * @emits KwikIDAgentDashboardComponent#nextStep\r\n * @fires KwikIDAgentDashboardComponent#nextStep\r\n */\r\n @Output() nextStep = new EventEmitter();\r\n\r\n @Output() addTask = new EventEmitter();\r\n\r\n @Output() removeTask = new EventEmitter();\r\n\r\n /**\r\n * @description\r\n * Describes whether API Call is in progress or not\r\n *\r\n * @default\r\n * `true`\r\n */\r\n loading: boolean = true;\r\n\r\n /**\r\n * @description\r\n * Describes styling of Map Container\r\n *\r\n * @default\r\n * `object`\r\n */\r\n mapStyle: object = { height: '100%', width: '100%', zIindex: -1 };\r\n\r\n /**\r\n * @description\r\n * Fetches Map Element from HTML\r\n *\r\n * @default\r\n *\r\n */\r\n @ViewChild('mapElement') mapElement: any;\r\n\r\n /**\r\n * @description\r\n *\r\n * @constructor\r\n */\r\n constructor(\r\n public agentService: AgentService,\r\n public mapService: MapService,\r\n public customerService: CustomerService\r\n ) {}\r\n\r\n /**\r\n * @description\r\n * To set Google Maps API on script\r\n *\r\n * @ngOnInit\r\n */\r\n ngOnInit() {\r\n const DSLScript = document.createElement('script');\r\n DSLScript.src = this.agentConfig.googleMapsAPI;\r\n DSLScript.type = 'text/javascript';\r\n document.body.appendChild(DSLScript);\r\n this.loading = false;\r\n this.agentService.setAgentConfig(this.agentConfig);\r\n this.customerService.setCustomers(this.customers);\r\n this.todaysCustomers = this.customers.filter(\r\n (customer) => customer.date == this.getDate()\r\n );\r\n this.agentConfig.showMaps == true || this.agentConfig.showMaps == false\r\n ? this.agentService.setMapview(this.agentConfig.showMaps)\r\n : null;\r\n }\r\n\r\n /**\r\n * @description\r\n *\r\n * @ngAfterViewInit\r\n */\r\n ngAfterViewInit(): void {\r\n setTimeout(async () => {\r\n await this.mapService.initMap(this.mapElement);\r\n this.todaysCustomers = await this.mapService.plotMarkers(\r\n this.todaysCustomers\r\n );\r\n }, 1000);\r\n }\r\n\r\n /**\r\n * @description\r\n * Wrapper method to fire click event for next step.\r\n *\r\n * @function goToNextStep\r\n * @func goToNextStep\r\n * @method goToNextStep\r\n */\r\n goToNextStep(e) {\r\n this.nextStep.emit(e);\r\n }\r\n\r\n /**\r\n * @description\r\n * Wrapper method to fire click event for next step.\r\n *\r\n * @function getDate\r\n * @func getDate\r\n * @method getDate\r\n */\r\n getDate() {\r\n const date = new Date();\r\n const year = date.getFullYear();\r\n\r\n let month: number | string = date.getMonth() + 1;\r\n let day: number | string = date.getDate();\r\n if (month < 10) month = '0' + month;\r\n if (day < 10) day = '0' + day;\r\n\r\n const today = `${year}-${month}-${day}`;\r\n return today;\r\n }\r\n\r\n handleOnClickAddTask(task) {\r\n this.addTask.emit(task);\r\n }\r\n\r\n handleOnClickRemoveTask(task) {\r\n this.removeTask.emit(task);\r\n }\r\n}\r\n","<div class=\"kwikid-agent-dashboard\">\r\n <div ngClass=\"page-loader\" *ngIf=\"loading\">\r\n <span class=\"loader\"></span>\r\n </div>\r\n <div class=\"wrapper\">\r\n <div class=\"dashboard-header\">\r\n <div class=\"dashboard-header-client-name\">\r\n <kwikui-button-icon\r\n [icon]=\"'tuiIconLink'\"\r\n appearance=\"mono\"\r\n size=\"m\"\r\n ></kwikui-button-icon>\r\n\r\n {{ agentConfig.clientName }}\r\n </div>\r\n <div *ngIf=\"agentService.getMenu()\">\r\n <menu\r\n (close)=\"agentService.setMenu(false)\"\r\n (nextStep)=\"goToNextStep($event)\"\r\n ></menu>\r\n </div>\r\n <kwikui-button-icon\r\n [icon]=\"'tuiIconMoreVertical'\"\r\n (onClick)=\"agentService.toggleMenu()\"\r\n appearance=\"mono\"\r\n size=\"m\"\r\n ></kwikui-button-icon>\r\n </div>\r\n\r\n <div class=\"dashboard-body\">\r\n <div\r\n [class]=\"agentService.showMapview ? 'map' : 'map-hidden'\"\r\n #mapElement\r\n ></div>\r\n <div class=\"customer-list\">\r\n <customer-list\r\n [customers]=\"customers\"\r\n (nextStep)=\"goToNextStep($event)\"\r\n (removeTask)=\"handleOnClickRemoveTask($event)\"\r\n ></customer-list>\r\n </div>\r\n </div>\r\n </div>\r\n <div *ngIf=\"agentService.getAddTask()\">\r\n <add-customer (addTask)=\"handleOnClickAddTask($event)\"></add-customer>\r\n </div>\r\n</div>\r\n","import { CommonModule } from \"@angular/common\";\r\nimport {\r\n HttpClientModule\r\n} from \"@angular/common/http\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\r\nimport { KwikIDAgentDashboardComponent } from \"./kwikid-agent-dashboard.component\";\r\nimport { CustomerListComponent } from \"./components/customer-list/customer-list.component\";\r\nimport { CustomerTileComponent } from \"./components/customer-tile/customer-tile.component\";\r\nimport { MenuComponent } from \"./components/menu/menu.component\";\r\nimport { KycSuccessComponent } from './svgs/kyc-success/kyc-success.component';\r\nimport { KycPendingComponent } from './svgs/kyc-pending/kyc-pending.component';\r\n\r\nimport { KwikUIButtonModule, KwikUIButtonIconModule, KwikUIInputDateModule, KwikUIInputModule, KwikUISelectComboboxModule, KwikUITableModule, KwikUITablePaginationModule } from \"kwikui\";\r\n\r\nimport { RouterTestingModule } from \"@angular/router/testing\";\r\n\r\nimport {TuiSidebarModule} from '@taiga-ui/addon-mobile';\r\nimport {TuiActiveZoneModule} from '@taiga-ui/cdk';\r\nimport { AddCustomerComponent } from './components/add-customer/add-customer.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n KwikIDAgentDashboardComponent,\r\n CustomerListComponent,\r\n CustomerTileComponent,\r\n MenuComponent,\r\n KycSuccessComponent,\r\n KycPendingComponent,\r\n AddCustomerComponent,\r\n ],\r\n imports: [\r\n CommonModule,\r\n HttpClientModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n RouterTestingModule,\r\n\r\n KwikUIButtonModule,\r\n KwikUIButtonIconModule,\r\n KwikUIInputModule,\r\n KwikUIInputDateModule,\r\n KwikUISelectComboboxModule,\r\n KwikUITableModule,\r\n KwikUITablePaginationModule,\r\n\r\n TuiSidebarModule,\r\n TuiActiveZoneModule,\r\n ],\r\n exports: [KwikIDAgentDashboardComponent],\r\n})\r\nexport class KwikIDAgentDashboardModule {}\r\n","/* kwikid-agent-dashboard */\r\nexport * from \"./lib/kwikid-agent-dashboard.component\";\r\n\r\n/* All Modules in import order from bottom to top */\r\nexport * from \"./lib/kwikid-agent-dashboard.module\";\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1.AgentService","i1.MapService","i2.InfoWindowService","i3.KycSuccessComponent","i4.KycPendingComponent","i3","i4.CustomerTileComponent","i5","i2","i2.MapService","i3.CustomerService","i4","i5.MenuComponent","i6.CustomerListComponent","i7.AddCustomerComponent","i8"],"mappings":";;;;;;;;;;;;;;MAOa,YAAY,CAAA;AAHzB,IAAA,WAAA,GAAA;QAIE,IAAW,CAAA,WAAA,GAAQ,EAAE,CAAC;QAEtB,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;QACjB,IAAW,CAAA,WAAA,GAAG,IAAI,CAAC;QACnB,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;AAuCjB,KAAA;IArCC,cAAc,GAAA;QACZ,OAAO,IAAI,CAAC,WAAW,CAAC;KACzB;AAED,IAAA,cAAc,CAAC,WAAW,EAAA;AACxB,QAAA,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;KAChC;AAED,IAAA,UAAU,CAAC,KAAK,EAAA;AACd,QAAA,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;KAC1B;IAED,UAAU,GAAA;QACR,OAAO,IAAI,CAAC,OAAO,CAAA;KACpB;AAED,IAAA,UAAU,CAAC,KAAK,EAAA;AACd,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;AACrB,QAAA,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;KACrB;IAED,aAAa,GAAA;AACX,QAAA,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC;KACtC;IAED,OAAO,G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nInit } 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
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { InfoWindowService } from '../../services/info-window.service';
|
|
4
|
+
import { MapService } from '../../services/map.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CustomerListComponent implements OnInit {
|
|
7
|
+
mapService: MapService;
|
|
8
|
+
infoWindowService: InfoWindowService;
|
|
9
|
+
/**
|
|
10
|
+
* @description
|
|
11
|
+
* Stores list of customers
|
|
12
|
+
*
|
|
13
|
+
* @default
|
|
14
|
+
* `[]`
|
|
15
|
+
*/
|
|
16
|
+
customers: any;
|
|
17
|
+
/**
|
|
18
|
+
* @description
|
|
19
|
+
* Describes today's date
|
|
20
|
+
*
|
|
21
|
+
* @default
|
|
22
|
+
* ``
|
|
23
|
+
*/
|
|
24
|
+
fromDate: string | Date;
|
|
25
|
+
/**
|
|
26
|
+
* @description
|
|
27
|
+
* Describes today's date
|
|
28
|
+
*
|
|
29
|
+
* @default
|
|
30
|
+
* ``
|
|
31
|
+
*/
|
|
32
|
+
toDate: string | Date;
|
|
33
|
+
/**
|
|
34
|
+
* @description
|
|
35
|
+
* Emitter to emit next Step
|
|
36
|
+
*
|
|
37
|
+
* @emits KwikIDAgentDashboardComponent#nextStep
|
|
38
|
+
* @fires KwikIDAgentDashboardComponent#nextStep
|
|
39
|
+
*/
|
|
40
|
+
nextStep: EventEmitter<any>;
|
|
41
|
+
removeTask: EventEmitter<any>;
|
|
42
|
+
lastInfoWindowOpened: any;
|
|
43
|
+
filteredData: any[];
|
|
44
|
+
formGroup: FormGroup;
|
|
45
|
+
fromDateFormControl: FormControl;
|
|
46
|
+
toDateFormControl: FormControl;
|
|
47
|
+
/**
|
|
48
|
+
* @description
|
|
49
|
+
*
|
|
50
|
+
* @constructor
|
|
51
|
+
*/
|
|
52
|
+
constructor(mapService: MapService, infoWindowService: InfoWindowService);
|
|
53
|
+
/**
|
|
54
|
+
* @description
|
|
55
|
+
* To set Google Maps API on script
|
|
56
|
+
*
|
|
57
|
+
* @ngOnInit
|
|
58
|
+
*/
|
|
59
|
+
ngOnInit(): void;
|
|
60
|
+
/**
|
|
61
|
+
* @description
|
|
62
|
+
* Wrapper method to fire click event for next step.
|
|
63
|
+
*
|
|
64
|
+
* @function goToNextStep
|
|
65
|
+
* @func goToNextStep
|
|
66
|
+
* @method goToNextStep
|
|
67
|
+
*/
|
|
68
|
+
goToNextStep(e: any): void;
|
|
69
|
+
getDate(): string;
|
|
70
|
+
getCustomers(customers: any): any;
|
|
71
|
+
onFromDateChange(event: any): void;
|
|
72
|
+
onToDateChange(event: any): void;
|
|
73
|
+
handleOnClickRemoveTask(task: any): void;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomerListComponent, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomerListComponent, "customer-list", never, { "customers": "customers"; }, { "nextStep": "nextStep"; "removeTask": "removeTask"; }, never, never>;
|
|
76
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { InfoWindowService } from '../../services/info-window.service';
|
|
3
|
+
import { MapService } from '../../services/map.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CustomerTileComponent implements OnInit {
|
|
6
|
+
mapService: MapService;
|
|
7
|
+
infoWindowService: InfoWindowService;
|
|
8
|
+
/**
|
|
9
|
+
* @description
|
|
10
|
+
* Determines Customer Data
|
|
11
|
+
*
|
|
12
|
+
* @default
|
|
13
|
+
* `{}`
|
|
14
|
+
*/
|
|
15
|
+
customer: any;
|
|
16
|
+
/**
|
|
17
|
+
* @description
|
|
18
|
+
* Determines Index of Customer Data in Customer List
|
|
19
|
+
*
|
|
20
|
+
* @default
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
index: number;
|
|
24
|
+
/**
|
|
25
|
+
* @description
|
|
26
|
+
* Emitter to emit next Step
|
|
27
|
+
*
|
|
28
|
+
* @emits KwikIDAgentDashboardComponent#nextStep
|
|
29
|
+
* @fires KwikIDAgentDashboardComponent#nextStep
|
|
30
|
+
*/
|
|
31
|
+
nextStep: EventEmitter<any>;
|
|
32
|
+
removeTask: EventEmitter<any>; /**
|
|
33
|
+
* @description
|
|
34
|
+
*
|
|
35
|
+
* @constructor
|
|
36
|
+
*/
|
|
37
|
+
constructor(mapService: MapService, infoWindowService: InfoWindowService);
|
|
38
|
+
/**
|
|
39
|
+
* @description
|
|
40
|
+
* To set Google Maps API on script
|
|
41
|
+
*
|
|
42
|
+
* @ngOnInit
|
|
43
|
+
*/
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
tileClick(): void;
|
|
46
|
+
/**
|
|
47
|
+
* @description
|
|
48
|
+
* Wrapper method to show Customer Info Window
|
|
49
|
+
*
|
|
50
|
+
* @function showDetails
|
|
51
|
+
* @func showDetails
|
|
52
|
+
* @method showDetails
|
|
53
|
+
*/
|
|
54
|
+
showDetails(customer: any, index: any): void;
|
|
55
|
+
/**
|
|
56
|
+
* @description
|
|
57
|
+
* Wrapper method to fire click event for next step.
|
|
58
|
+
*
|
|
59
|
+
* @function goToNextStep
|
|
60
|
+
* @func goToNextStep
|
|
61
|
+
* @method goToNextStep
|
|
62
|
+
*/
|
|
63
|
+
goToNextStep(e: any): void;
|
|
64
|
+
handleOnClickRemoveTask(task: any): void;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomerTileComponent, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomerTileComponent, "customer-tile", never, { "customer": "customer"; "index": "index"; }, { "nextStep": "nextStep"; "removeTask": "removeTask"; }, never, never>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { AgentService } from './services/agent.service';
|
|
3
|
+
import { MapService } from './services/map.service';
|
|
4
|
+
import { CustomerService } from './services/customer.service';
|
|
5
|
+
import Customer from './shared/interfaces/customer';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class KwikIDAgentDashboardComponent implements OnInit {
|
|
8
|
+
agentService: AgentService;
|
|
9
|
+
mapService: MapService;
|
|
10
|
+
customerService: CustomerService;
|
|
11
|
+
/**
|
|
12
|
+
* @description
|
|
13
|
+
* Stores agent Config
|
|
14
|
+
*
|
|
15
|
+
* @default
|
|
16
|
+
* `{}`
|
|
17
|
+
*/
|
|
18
|
+
agentConfig: any;
|
|
19
|
+
/**
|
|
20
|
+
* @description
|
|
21
|
+
* Stores list of customers
|
|
22
|
+
*
|
|
23
|
+
* @default
|
|
24
|
+
* `[]`
|
|
25
|
+
*/
|
|
26
|
+
customers: Array<Customer>;
|
|
27
|
+
/**
|
|
28
|
+
* @description
|
|
29
|
+
* Stores list of customers
|
|
30
|
+
*
|
|
31
|
+
* @default
|
|
32
|
+
* `[]`
|
|
33
|
+
*/
|
|
34
|
+
todaysCustomers: Array<Customer>;
|
|
35
|
+
/**
|
|
36
|
+
* @description
|
|
37
|
+
* Emitter to emit next Step
|
|
38
|
+
*
|
|
39
|
+
* @emits KwikIDAgentDashboardComponent#nextStep
|
|
40
|
+
* @fires KwikIDAgentDashboardComponent#nextStep
|
|
41
|
+
*/
|
|
42
|
+
nextStep: EventEmitter<any>;
|
|
43
|
+
addTask: EventEmitter<any>;
|
|
44
|
+
removeTask: EventEmitter<any>;
|
|
45
|
+
/**
|
|
46
|
+
* @description
|
|
47
|
+
* Describes whether API Call is in progress or not
|
|
48
|
+
*
|
|
49
|
+
* @default
|
|
50
|
+
* `true`
|
|
51
|
+
*/
|
|
52
|
+
loading: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* @description
|
|
55
|
+
* Describes styling of Map Container
|
|
56
|
+
*
|
|
57
|
+
* @default
|
|
58
|
+
* `object`
|
|
59
|
+
*/
|
|
60
|
+
mapStyle: object;
|
|
61
|
+
/**
|
|
62
|
+
* @description
|
|
63
|
+
* Fetches Map Element from HTML
|
|
64
|
+
*
|
|
65
|
+
* @default
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
mapElement: any;
|
|
69
|
+
/**
|
|
70
|
+
* @description
|
|
71
|
+
*
|
|
72
|
+
* @constructor
|
|
73
|
+
*/
|
|
74
|
+
constructor(agentService: AgentService, mapService: MapService, customerService: CustomerService);
|
|
75
|
+
/**
|
|
76
|
+
* @description
|
|
77
|
+
* To set Google Maps API on script
|
|
78
|
+
*
|
|
79
|
+
* @ngOnInit
|
|
80
|
+
*/
|
|
81
|
+
ngOnInit(): void;
|
|
82
|
+
/**
|
|
83
|
+
* @description
|
|
84
|
+
*
|
|
85
|
+
* @ngAfterViewInit
|
|
86
|
+
*/
|
|
87
|
+
ngAfterViewInit(): void;
|
|
88
|
+
/**
|
|
89
|
+
* @description
|
|
90
|
+
* Wrapper method to fire click event for next step.
|
|
91
|
+
*
|
|
92
|
+
* @function goToNextStep
|
|
93
|
+
* @func goToNextStep
|
|
94
|
+
* @method goToNextStep
|
|
95
|
+
*/
|
|
96
|
+
goToNextStep(e: any): void;
|
|
97
|
+
/**
|
|
98
|
+
* @description
|
|
99
|
+
* Wrapper method to fire click event for next step.
|
|
100
|
+
*
|
|
101
|
+
* @function getDate
|
|
102
|
+
* @func getDate
|
|
103
|
+
* @method getDate
|
|
104
|
+
*/
|
|
105
|
+
getDate(): string;
|
|
106
|
+
handleOnClickAddTask(task: any): void;
|
|
107
|
+
handleOnClickRemoveTask(task: any): void;
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KwikIDAgentDashboardComponent, never>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KwikIDAgentDashboardComponent, "kwikid-agent-dashboard", never, { "agentConfig": "agentConfig"; "customers": "customers"; "todaysCustomers": "todaysCustomers"; }, { "nextStep": "nextStep"; "addTask": "addTask"; "removeTask": "removeTask"; }, never, never>;
|
|
110
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kwikid-agent-dashboard.component";
|
|
3
|
+
import * as i2 from "./components/customer-list/customer-list.component";
|
|
4
|
+
import * as i3 from "./components/customer-tile/customer-tile.component";
|
|
5
|
+
import * as i4 from "./components/menu/menu.component";
|
|
6
|
+
import * as i5 from "./svgs/kyc-success/kyc-success.component";
|
|
7
|
+
import * as i6 from "./svgs/kyc-pending/kyc-pending.component";
|
|
8
|
+
import * as i7 from "./components/add-customer/add-customer.component";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "@angular/common/http";
|
|
11
|
+
import * as i10 from "@angular/forms";
|
|
12
|
+
import * as i11 from "@angular/router/testing";
|
|
13
|
+
import * as i12 from "kwikui";
|
|
14
|
+
import * as i13 from "@taiga-ui/addon-mobile";
|
|
15
|
+
import * as i14 from "@taiga-ui/cdk";
|
|
16
|
+
export declare class KwikIDAgentDashboardModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KwikIDAgentDashboardModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KwikIDAgentDashboardModule, [typeof i1.KwikIDAgentDashboardComponent, typeof i2.CustomerListComponent, typeof i3.CustomerTileComponent, typeof i4.MenuComponent, typeof i5.KycSuccessComponent, typeof i6.KycPendingComponent, typeof i7.AddCustomerComponent], [typeof i8.CommonModule, typeof i9.HttpClientModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.RouterTestingModule, typeof i12.KwikUIButtonModule, typeof i12.KwikUIButtonIconModule, typeof i12.KwikUIInputModule, typeof i12.KwikUIInputDateModule, typeof i12.KwikUISelectComboboxModule, typeof i12.KwikUITableModule, typeof i12.KwikUITablePaginationModule, typeof i13.TuiSidebarModule, typeof i14.TuiActiveZoneModule], [typeof i1.KwikIDAgentDashboardComponent]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KwikIDAgentDashboardModule>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { MapService } from './map.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InfoWindowService {
|
|
4
|
+
mapService: MapService;
|
|
5
|
+
openMarker: any;
|
|
6
|
+
lastInfoWindowOpened: any;
|
|
7
|
+
config: {
|
|
8
|
+
fields: {
|
|
9
|
+
name: {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
display: string;
|
|
13
|
+
style: {
|
|
14
|
+
fontSize: string;
|
|
15
|
+
fontWeight: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
phone: {
|
|
19
|
+
label: string;
|
|
20
|
+
value: string;
|
|
21
|
+
display: string;
|
|
22
|
+
style: {
|
|
23
|
+
fontSize: string;
|
|
24
|
+
padding: string;
|
|
25
|
+
textAlign: string;
|
|
26
|
+
};
|
|
27
|
+
icon: string;
|
|
28
|
+
};
|
|
29
|
+
address: {
|
|
30
|
+
label: string;
|
|
31
|
+
value: string;
|
|
32
|
+
display: string;
|
|
33
|
+
style: {
|
|
34
|
+
fontSize: string;
|
|
35
|
+
padding: string;
|
|
36
|
+
};
|
|
37
|
+
icon: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
mainInfoWindowStyle: {
|
|
42
|
+
display: string;
|
|
43
|
+
'flex-direction': string;
|
|
44
|
+
'justify-content': string;
|
|
45
|
+
'align-items': string;
|
|
46
|
+
gap: string;
|
|
47
|
+
padding: string;
|
|
48
|
+
};
|
|
49
|
+
fieldDivStyle: {
|
|
50
|
+
gap: string;
|
|
51
|
+
display: string;
|
|
52
|
+
'flex-direction': string;
|
|
53
|
+
};
|
|
54
|
+
constructor(mapService: MapService);
|
|
55
|
+
getOpenMarker(): any;
|
|
56
|
+
setOpenMarker(value: any): void;
|
|
57
|
+
/**
|
|
58
|
+
* @description
|
|
59
|
+
* Wrapper method to show Customer Info Window
|
|
60
|
+
*
|
|
61
|
+
* @function showInfo
|
|
62
|
+
* @func showInfo
|
|
63
|
+
* @method showInfo
|
|
64
|
+
*/
|
|
65
|
+
showCustomerInformation(customer: any, marker: any): {
|
|
66
|
+
infowindow: any;
|
|
67
|
+
};
|
|
68
|
+
addEventListeners(customer: any, infowindow: any): void;
|
|
69
|
+
/**
|
|
70
|
+
* @description
|
|
71
|
+
* Wrapper method to close Last Info Window
|
|
72
|
+
*
|
|
73
|
+
* @function closeLastOpenedInfoWindow
|
|
74
|
+
* @func closeLastOpenedInfoWindow
|
|
75
|
+
* @method closeLastOpenedInfoWindow
|
|
76
|
+
*/
|
|
77
|
+
closeLastOpenedInfoWindow(): void;
|
|
78
|
+
/**
|
|
79
|
+
* @description
|
|
80
|
+
* Closes the previously opened info window.
|
|
81
|
+
*
|
|
82
|
+
* @function infoData
|
|
83
|
+
* @func infoData
|
|
84
|
+
* @method infoData
|
|
85
|
+
*/
|
|
86
|
+
createInfoContent(customer: any): string;
|
|
87
|
+
/**
|
|
88
|
+
* @description
|
|
89
|
+
* Wrapper method to create Fields Container
|
|
90
|
+
*
|
|
91
|
+
* @function createFields
|
|
92
|
+
* @func createFields
|
|
93
|
+
* @method createFields
|
|
94
|
+
*/
|
|
95
|
+
createFields(customer: any, fields: any): string;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfoWindowService, never>;
|
|
97
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InfoWindowService>;
|
|
98
|
+
}
|