@amc-technology/ui-library 1.0.31 → 1.0.33

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.
Files changed (56) hide show
  1. package/amc-technology-ui-library.metadata.json +1 -1
  2. package/bundles/amc-technology-ui-library.umd.js +1078 -747
  3. package/bundles/amc-technology-ui-library.umd.js.map +1 -56
  4. package/bundles/amc-technology-ui-library.umd.min.js +16 -2
  5. package/bundles/amc-technology-ui-library.umd.min.js.map +1 -274
  6. package/esm2015/amc-technology-ui-library.js +16 -1417
  7. package/esm2015/projects/UILibrary/src/app/Helpers.js +11 -0
  8. package/esm2015/projects/UILibrary/src/app/components/activity/activity.component.js +83 -0
  9. package/esm2015/projects/UILibrary/src/app/components/chat-box/chat-box.component.js +104 -0
  10. package/esm2015/projects/UILibrary/src/app/components/chat-message/chat-message.component.js +39 -0
  11. package/esm2015/projects/UILibrary/src/app/components/disposition/disposition.component.js +49 -0
  12. package/esm2015/projects/UILibrary/src/app/components/duration/duration.component.js +58 -0
  13. package/esm2015/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.js +72 -0
  14. package/esm2015/projects/UILibrary/src/app/components/interaction/interaction.component.js +80 -0
  15. package/esm2015/projects/UILibrary/src/app/components/login/login.component.js +45 -0
  16. package/esm2015/projects/UILibrary/src/app/components/operation/operation.component.js +57 -0
  17. package/esm2015/projects/UILibrary/src/app/components/property/property.component.js +99 -0
  18. package/esm2015/projects/UILibrary/src/app/components/scenario/scenario.component.js +40 -0
  19. package/esm2015/projects/UILibrary/src/app/models/chat.message.js +7 -0
  20. package/esm2015/projects/UILibrary/src/app/models/chat.settings.js +1 -0
  21. package/esm2015/projects/UILibrary/src/app/models/disposition.interface.js +1 -0
  22. package/esm2015/projects/UILibrary/src/app/models/login.interface.js +1 -0
  23. package/esm2015/projects/UILibrary/src/app/models/uilibrary.model.js +40 -0
  24. package/esm2015/projects/UILibrary/src/app/uilibrary.module.js +73 -0
  25. package/esm2015/public_api.js +2 -0
  26. package/esm5/amc-technology-ui-library.js +16 -714
  27. package/esm5/projects/UILibrary/src/app/Helpers.js +11 -0
  28. package/esm5/projects/UILibrary/src/app/components/activity/activity.component.js +84 -0
  29. package/esm5/projects/UILibrary/src/app/components/chat-box/chat-box.component.js +105 -0
  30. package/esm5/projects/UILibrary/src/app/components/chat-message/chat-message.component.js +40 -0
  31. package/esm5/projects/UILibrary/src/app/components/disposition/disposition.component.js +61 -0
  32. package/esm5/projects/UILibrary/src/app/components/duration/duration.component.js +60 -0
  33. package/esm5/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.js +74 -0
  34. package/esm5/projects/UILibrary/src/app/components/interaction/interaction.component.js +85 -0
  35. package/esm5/projects/UILibrary/src/app/components/login/login.component.js +68 -0
  36. package/esm5/projects/UILibrary/src/app/components/operation/operation.component.js +58 -0
  37. package/esm5/projects/UILibrary/src/app/components/property/property.component.js +101 -0
  38. package/esm5/projects/UILibrary/src/app/components/scenario/scenario.component.js +41 -0
  39. package/esm5/projects/UILibrary/src/app/models/chat.message.js +7 -0
  40. package/esm5/projects/UILibrary/src/app/models/chat.settings.js +1 -0
  41. package/esm5/projects/UILibrary/src/app/models/disposition.interface.js +1 -0
  42. package/esm5/projects/UILibrary/src/app/models/login.interface.js +1 -0
  43. package/esm5/projects/UILibrary/src/app/models/uilibrary.model.js +43 -0
  44. package/esm5/projects/UILibrary/src/app/uilibrary.module.js +74 -0
  45. package/esm5/public_api.js +2 -0
  46. package/fesm2015/amc-technology-ui-library.js +813 -0
  47. package/fesm2015/amc-technology-ui-library.js.map +1 -0
  48. package/fesm5/amc-technology-ui-library.js +867 -0
  49. package/fesm5/amc-technology-ui-library.js.map +1 -0
  50. package/package.json +14 -67
  51. package/projects/UILibrary/src/app/components/activity/activity.component.d.ts +10 -10
  52. package/projects/UILibrary/src/app/components/interaction/interaction.component.d.ts +2 -1
  53. package/projects/UILibrary/src/app/components/scenario/scenario.component.d.ts +2 -2
  54. package/webcomponents/webcomponents.js +3 -3
  55. package/esm2015/amc-technology-ui-library.js.map +0 -40
  56. package/esm5/amc-technology-ui-library.js.map +0 -42
@@ -1,714 +1,16 @@
1
- import { __values } from 'tslib';
2
- import { Component, Input, Output, EventEmitter, ViewChild, NgModule, Injector } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
- import { FormsModule } from '@angular/forms';
5
- import { createCustomElement } from '@angular/elements';
6
- import { BrowserModule } from '@angular/platform-browser';
7
- import { ElementZoneStrategyFactory } from 'elements-zone-strategy';
8
-
9
- var InteractionComponent = /** @class */ (function () {
10
- function InteractionComponent() {
11
- this.minimizedChanged = new EventEmitter();
12
- this.isAgentTyping = new EventEmitter();
13
- this.newMessage = new EventEmitter();
14
- this._minimized = false;
15
- }
16
- Object.defineProperty(InteractionComponent.prototype, "_minimized", {
17
- get: function () {
18
- return this.minimized;
19
- },
20
- set: function (value) {
21
- this.minimized = value;
22
- this.minimizedChanged.emit(value);
23
- },
24
- enumerable: true,
25
- configurable: true
26
- });
27
- InteractionComponent.prototype.ngOnInit = function () {
28
- };
29
- InteractionComponent.prototype.minimize = function () {
30
- this._minimized = true;
31
- };
32
- InteractionComponent.prototype.maximize = function () {
33
- this._minimized = false;
34
- };
35
- InteractionComponent.prototype.isConferenceCall = function () {
36
- if (this.interaction.parties && this.interaction.parties.length > 1) {
37
- return true;
38
- }
39
- return false;
40
- };
41
- InteractionComponent.prototype.collapseKeypress = function (event) {
42
- if (event.code === 'Enter') {
43
- this.minimize();
44
- }
45
- };
46
- InteractionComponent.prototype.expandKeypress = function (event) {
47
- if (event.code === 'Enter') {
48
- this.maximize();
49
- }
50
- };
51
- return InteractionComponent;
52
- }());
53
- InteractionComponent.decorators = [
54
- { type: Component, args: [{
55
- selector: 'amc-interaction',
56
- template: "<div class=\"AnswerCallFocused\">\n <div class=\"editor callHeaderTop\">\n <img class=\"statusImage\" aria-hidden=\"true\" [src]=\"interaction.UIHeadersData.statusUrl\" (click)=\"interaction.UIHeadersData.focusHandler.handler(interaction.UIHeadersData.focusHandler.operationName, interaction.UIHeadersData.focusHandler.operationMetadata)\" />\n <label class=\"statusText\">\n <b [id]=\"interaction.UIHeadersData.statusText\">{{ interaction.UIHeadersData.statusText }}</b>\n </label>\n <label class=\"verticalDivider\">|</label>\n <label class=\"directionText\" *ngIf=\"!interaction.UIHeadersData.displayHoldCounter\">{{ interaction.UIHeadersData.directionText }}</label>\n <div class=\"holdCallDurationDiv\" *ngIf=\"interaction.UIHeadersData.displayHoldCounter\">\n <amc-holdtimer [holdCounterData]=\"interaction.UIHeadersData.holdCounterData\" [statusText]=\"interaction.UIHeadersData.statusText\" [callId]=\"interaction.subheaderData.value\"></amc-holdtimer>\n </div>\n <img class=\"ViewExpandImage\" [src]=\"interaction.UIHeadersData.minimizeUrl\" alt=\"Minimize\" (click)=\"minimize()\" (keypress)=\"collapseKeypress($event)\" *ngIf=\"!_minimized\" tabindex=\"0\" role=\"button\" aria-label=\"collapse Call Section\">\n <img class=\"ViewCollapseImage\" [src]=\"interaction.UIHeadersData.maximizeUrl\" alt=\"Maximize\" (click)=\"maximize()\" (keypress)=\"expandKeypress($event)\" *ngIf=\"_minimized\" tabindex=\"0\" role=\"button\" aria-label=\"expand Call Section\">\n <div class=\"DurationDiv\" *ngIf=\"interaction.displayCallTimer\">\n <amc-duration [statusText]=\"interaction.UIHeadersData.statusText\" [callId]=\"interaction.subheaderData.value\" [startTime]=\"interaction.startTime\"></amc-duration>\n </div>\n </div>\n\n <div *ngIf=\"!_minimized\">\n\n <div *ngIf=\"!isConferenceCall()\">\n <div class=\"editor phoneNumberContainer\">\n <input class=\"callImage\" type=\"image\" [src]=\"interaction.subheaderData.image.href\" [title]=\"interaction.subheaderData.tooltip || ''\" tabindex=\"-1\">\n <input class=\"editor phoneNumberValue\" [attr.aria-labelledby]=\"interaction.UIHeadersData.statusText + ' ' + interaction.subheaderData.value\" readonly type=\"text\" [value]=\"interaction.subheaderData.value\" [id]=\"interaction.subheaderData.value\" tabindex=\"-1\">\n </div>\n\n <div class=\"cadSection\">\n <ng-container *ngFor=\"let property of interaction.properties\">\n <ng-container *ngIf=\"property.visible\">\n <label class=\"col1\" [title]=\"property.displayKey\">{{property.displayKey}}</label>\n <amc-property [callType]=\"interaction.UIHeadersData.directionText\" [statusText]=\"interaction.UIHeadersData.statusText\" [callId]=\"interaction.subheaderData.value\" class=\"col2\" [property]=\"property\"> </amc-property>\n </ng-container>\n </ng-container>\n\n <ng-container *ngFor=\"let property of interaction.associatedData\">\n <ng-container *ngIf=\"property.visible\">\n <div class=\"editor displayDiv\">\n <label class=\"displayLabels\" [title]=\"property.displayKey\">{{property.displayKey}}</label>\n <amc-property [callType]=\"interaction.UIHeadersData.directionText\" [statusText]=\"interaction.UIHeadersData.statusText\" [callId]=\"interaction.subheaderData.value\" class=\"col2\" [property]=\"property\"> </amc-property>\n </div>\n </ng-container>\n </ng-container>\n </div>\n\n <app-chat-box *ngIf=\"interaction.chat\" [isTyping]=\"interaction.chat.isCustomerTyping\" [settings]=\"interaction.chat.settings\"\n [messages]=\"interaction.chat.messages\" (isAgentTyping)=\"isAgentTyping.emit($event)\" (newMessage)=\"newMessage.emit($event)\"></app-chat-box>\n\n <div [id]='interaction.interactionId'> </div>\n <amc-operation [callType]=\"interaction.UIHeadersData.directionText\" [statusText]=\"interaction.UIHeadersData.statusText\" [callId]=\"interaction.subheaderData.value\" [operations]=\"interaction.operations\"></amc-operation>\n </div>\n\n <div *ngIf=\"isConferenceCall()\">\n <div *ngFor=\"let party of interaction.parties\">\n <div class=\"editor phoneNumberContainer\">\n <input class=\"callImage\" type=\"image\" [src]=\"party.header.image.href\" [title]=\"party.header.tooltip || ''\" tabindex=\"-1\">\n <input class=\"editor phoneNumberValue\" readonly type=\"text\" [value]=\"party.header.value\" tabindex=\"-1\">\n </div>\n\n <div class=\"grid-container\">\n <ng-container *ngFor=\"let property of party.properties\">\n <ng-container *ngIf=\"property.visible\">\n <label class=\"col1\" [title]=\"property.displayKey\">{{ property.displayKey }}</label>\n <amc-property [callType]=\"interaction.UIHeadersData.directionText\" [statusText]=\"interaction.UIHeadersData.statusText\" [callId]=\"party.header.value\" class=\"col2\" [property]=\"property\"> </amc-property>\n </ng-container>\n </ng-container>\n </div>\n <amc-operation [callType]=\"interaction.UIHeadersData.directionText\" [statusText]=\"interaction.UIHeadersData.statusText\" [callId]=\"party.header.value\" [operations]=\"party.operations\"></amc-operation>\n <div class=\"AnswerCallFocused\"></div>\n </div>\n <amc-operation [callType]=\"interaction.UIHeadersData.directionText\" [statusText]=\"interaction.UIHeadersData.statusText\" [callId]=\"interaction.subheaderData.value\" [operations]=\"interaction.operations\"></amc-operation>\n </div>\n\n </div>\n</div>\n",
57
- styles: [":host{display:block}.phoneNumberContainer{margin-left:5px!important;padding-left:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.cadSection{margin-bottom:5px}.grid-container{margin-left:5px;display:grid;grid-template-columns:auto 1fr;grid-column-gap:10px;max-width:calc(100% - 5px);overflow:hidden}.col1{grid-column:1/2}.col2{grid-column:2/3}.ViewExpandImage{margin:3px}.ViewExpandImage:focus{outline:#3296da solid 2px;outline-offset:0}.ViewCollapseImage{margin:3px}.ViewCollapseImage:focus{outline:#3296da solid 2px;outline-offset:0}.callImage{cursor:default}.phoneNumberValue:focus{outline-style:none}", "body{padding-top:5px;padding-bottom:5px;margin:0}.login{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor .standalone-line{width:90%!important;text-align:center!important}.editorHyperLink label{font-size:.95em;float:left;width:30%;margin-left:2%;text-align:left;color:#000;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0;padding-top:0}.editorHyperLink input[type=text]{font-size:.95em;width:60%;text-align:left;margin:0 5% 0 0;color:#318fc5;cursor:pointer;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;padding-top:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages{height:20px;margin:5px}.AnswerCallFocused{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.ViewCollapseImage,.ViewExpandImage{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText{float:left;margin-top:1px}.displayDiv{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.DurationDiv{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData{border:0;outline:0}.callOptions{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText{font-size:.8em;margin-left:2px}.phoneNumberValue{font-weight:700;font-size:1em;margin-left:5px}.durationInput{background-color:transparent;border:0;width:100%;text-align:right}.topBorder{border-top:1px solid #939598}.holdCallDurationDiv{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer{background-color:transparent;border:0;width:100%}.verticalDivider{margin-left:2px;float:left}.callImage{height:20px}"]
58
- },] },
59
- ];
60
- InteractionComponent.ctorParameters = function () { return []; };
61
- InteractionComponent.propDecorators = {
62
- interaction: [{ type: Input }],
63
- minimizedChanged: [{ type: Output }],
64
- isAgentTyping: [{ type: Output }],
65
- newMessage: [{ type: Output }]
66
- };
67
- var ScenarioComponent = /** @class */ (function () {
68
- function ScenarioComponent() {
69
- this.minimizedChanged = new EventEmitter();
70
- this.isAgentTyping = new EventEmitter();
71
- this.newMessage = new EventEmitter();
72
- this.afterViewChecked = new EventEmitter();
73
- }
74
- ScenarioComponent.prototype.ngAfterViewChecked = function () {
75
- this.afterViewChecked.emit();
76
- };
77
- ScenarioComponent.prototype.onMinimizedChanged = function () {
78
- this.minimizedChanged.emit();
79
- };
80
- return ScenarioComponent;
81
- }());
82
- ScenarioComponent.decorators = [
83
- { type: Component, args: [{
84
- selector: 'amc-scenario',
85
- template: "<ng-container *ngIf=\"scenario && scenario.interactions\">\n <amc-interaction *ngFor=\"let interaction of scenario.interactions\" [interaction]=\"interaction\"\n (minimizedChanged)=\"onMinimizedChanged()\" (isAgentTyping)=\"isAgentTyping.emit($event)\"\n (newMessage)=\"newMessage.emit($event)\">\n </amc-interaction>\n</ng-container>\n",
86
- styles: ["", "body{padding-top:5px;padding-bottom:5px;margin:0}.login{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor .standalone-line{width:90%!important;text-align:center!important}.editorHyperLink label{font-size:.95em;float:left;width:30%;margin-left:2%;text-align:left;color:#000;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0;padding-top:0}.editorHyperLink input[type=text]{font-size:.95em;width:60%;text-align:left;margin:0 5% 0 0;color:#318fc5;cursor:pointer;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;padding-top:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages{height:20px;margin:5px}.AnswerCallFocused{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.ViewCollapseImage,.ViewExpandImage{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText{float:left;margin-top:1px}.displayDiv{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.DurationDiv{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData{border:0;outline:0}.callOptions{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText{font-size:.8em;margin-left:2px}.phoneNumberValue{font-weight:700;font-size:1em;margin-left:5px}.durationInput{background-color:transparent;border:0;width:100%;text-align:right}.topBorder{border-top:1px solid #939598}.holdCallDurationDiv{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer{background-color:transparent;border:0;width:100%}.verticalDivider{margin-left:2px;float:left}.callImage{height:20px}"]
87
- },] },
88
- ];
89
- ScenarioComponent.ctorParameters = function () { return []; };
90
- ScenarioComponent.propDecorators = {
91
- scenario: [{ type: Input }],
92
- minimizedChanged: [{ type: Output }],
93
- isAgentTyping: [{ type: Output }],
94
- newMessage: [{ type: Output }],
95
- afterViewChecked: [{ type: Output }]
96
- };
97
- var OperationComponent = /** @class */ (function () {
98
- function OperationComponent() {
99
- this.labelledByText = '';
100
- this.describedByText = '';
101
- }
102
- OperationComponent.prototype.ngOnInit = function () {
103
- if (this.statusText && this.callType) {
104
- this.describedByText = this.statusText + " " + this.callType;
105
- }
106
- else if (this.statusText) {
107
- this.describedByText = this.statusText;
108
- }
109
- else if (this.callType) {
110
- this.describedByText = this.callType;
111
- }
112
- if (this.callId) {
113
- this.labelledByText = this.callId;
114
- }
115
- };
116
- OperationComponent.prototype.operationKeypress = function (event, operation) {
117
- if (event.code === 'Enter') {
118
- operation.handler(operation.operationName, operation.operationMetadata);
119
- }
120
- };
121
- return OperationComponent;
122
- }());
123
- OperationComponent.decorators = [
124
- { type: Component, args: [{
125
- selector: 'amc-operation',
126
- template: "<div class=\"callOptions\">\n <img\n class=\"AnswerCallImages\"\n tabindex=\"0\"\n role=\"button\"\n attr.aria-label=\"{{ operation.title }}\"\n *ngFor=\"let operation of operations\"\n [title]=\"operation.title\"\n [src]=\"operation.icon\"\n [attr.accesskey]=\"operation.accesskey || null\"\n [attr.aria-labelledby]=\"labelledByText || null\"\n [attr.aria-describedby]=\"describedByText || null\"\n (click)=\"operation.handler(operation.operationName, operation.operationMetadata)\"\n (keypress)=\"operationKeypress($event, operation)\"/>\n</div>\n",
127
- styles: [".AnswerCallImages:focus{outline:#3296da solid 2px;outline-offset:1px}", "body{padding-top:5px;padding-bottom:5px;margin:0}.login{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor .standalone-line{width:90%!important;text-align:center!important}.editorHyperLink label{font-size:.95em;float:left;width:30%;margin-left:2%;text-align:left;color:#000;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0;padding-top:0}.editorHyperLink input[type=text]{font-size:.95em;width:60%;text-align:left;margin:0 5% 0 0;color:#318fc5;cursor:pointer;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;padding-top:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages{height:20px;margin:5px}.AnswerCallFocused{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.ViewCollapseImage,.ViewExpandImage{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText{float:left;margin-top:1px}.displayDiv{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.DurationDiv{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData{border:0;outline:0}.callOptions{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText{font-size:.8em;margin-left:2px}.phoneNumberValue{font-weight:700;font-size:1em;margin-left:5px}.durationInput{background-color:transparent;border:0;width:100%;text-align:right}.topBorder{border-top:1px solid #939598}.holdCallDurationDiv{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer{background-color:transparent;border:0;width:100%}.verticalDivider{margin-left:2px;float:left}.callImage{height:20px}"]
128
- },] },
129
- ];
130
- OperationComponent.ctorParameters = function () { return []; };
131
- OperationComponent.propDecorators = {
132
- statusText: [{ type: Input }],
133
- callId: [{ type: Input }],
134
- callType: [{ type: Input }],
135
- operations: [{ type: Input }]
136
- };
137
- var IChatMessageType = {
138
- AGENT: 'AGENT',
139
- OTHER_PERSON: 'OTHER_PERSON',
140
- INFORMATION: 'INFORMATION',
141
- };
142
- var Property = /** @class */ (function () {
143
- function Property(key, value, visible, valueType, customOperation) {
144
- var _this = this;
145
- this.displayOperation = (function () {
146
- _this.displayKey = _this.key;
147
- _this.displayValue = _this.value;
148
- });
149
- this.key = key;
150
- this.value = value;
151
- visible != null ? (this.visible = visible) : (this.visible = true);
152
- valueType != null
153
- ? (this.displayValueType = valueType)
154
- : (this.displayValueType = ValueType.STRING);
155
- this.customOperations = customOperation;
156
- this.displayOperation();
157
- }
158
- return Property;
159
- }());
160
- var ValueType = {
161
- STRING: 0,
162
- COUNTER: 1,
163
- };
164
- ValueType[ValueType.STRING] = 'STRING';
165
- ValueType[ValueType.COUNTER] = 'COUNTER';
166
- function secondsToHms(seconds_in) {
167
- seconds_in = Number(seconds_in);
168
- var h = Math.floor(seconds_in / 3600);
169
- var m = Math.floor(seconds_in % 3600 / 60);
170
- var s = Math.floor(seconds_in % 3600 % 60);
171
- var hDisplay = h > 0 ? h.toString() + ':' : '';
172
- var mDisplay = m > 0 ? ('0' + m.toString()).slice(-2) + ':' : '00:';
173
- var sDisplay = s > 0 ? ('0' + s.toString()).slice(-2) : '00';
174
- return hDisplay + mDisplay + sDisplay;
175
- }
176
- var PropertyComponent = /** @class */ (function () {
177
- function PropertyComponent() {
178
- this.labelledByText = '';
179
- this.title = '';
180
- this._timerId = null;
181
- this.processedDisplayValue = '';
182
- }
183
- PropertyComponent.prototype.ngOnInit = function () {
184
- if (this.statusText && this.callType) {
185
- this.labelledByText = this.statusText + " " + this.callType;
186
- }
187
- else if (this.statusText) {
188
- this.labelledByText = this.statusText;
189
- }
190
- else if (this.callType) {
191
- this.labelledByText = this.callType;
192
- }
193
- if (this.callType && this.callId) {
194
- this.title = this.callType + " " + this.callId;
195
- }
196
- else if (this.callType) {
197
- this.title = this.callType;
198
- }
199
- else if (this.callId) {
200
- this.title = this.callId;
201
- }
202
- this.initValues();
203
- };
204
- PropertyComponent.prototype.initValues = function () {
205
- if (this.property.displayValueType === ValueType.COUNTER) {
206
- this.startCallCounter();
207
- }
208
- else {
209
- this.processedDisplayValue = this.property.displayValue;
210
- }
211
- };
212
- PropertyComponent.prototype.startCallCounter = function () {
213
- var _this = this;
214
- if (this._timerId == null) {
215
- this._timerId = window.setInterval((function () {
216
- var callStartTime = _this.property.displayValue;
217
- var currentTime = new Date().getTime() / 1000;
218
- var secondsPassed = Math.floor((currentTime) - (callStartTime / 1000));
219
- _this.processedDisplayValue = secondsToHms(secondsPassed);
220
- }), 1000);
221
- }
222
- };
223
- PropertyComponent.prototype.ngOnDestroy = function () {
224
- if (this.property.displayValueType === ValueType.COUNTER) {
225
- if (this._timerId != null) {
226
- clearInterval(this._timerId);
227
- this._timerId = null;
228
- }
229
- }
230
- };
231
- return PropertyComponent;
232
- }());
233
- PropertyComponent.decorators = [
234
- { type: Component, args: [{
235
- selector: 'amc-property',
236
- template: "<input\n readonly\n *ngIf=\"!property.customOperations\"\n class=\"displayData\"\n tabindex=\"0\"\n type=\"text\"\n [name]=\"processedDisplayValue\"\n [title]=\"title || null\"\n [attr.aria-labelledby]=\"labelledByText || null\"\n [value]=\"processedDisplayValue\"/>\n\n <input\n readonly\n *ngIf=\"property.customOperations\"\n class=\"cursor displayData\"\n type=\"text\"\n tabindex=\"0\"\n [name]=\"processedDisplayValue\"\n [title]=\"title || null\"\n [value]=\"processedDisplayValue\"\n [attr.aria-labelledby]=\"labelledByText || null\"\n (click)=\"property.customOperations.handler(property.customOperations.eventName, property.customOperations.eventMetadata)\" />\n",
237
- styles: ["input{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0}", "body{padding-top:5px;padding-bottom:5px;margin:0}.login{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor .standalone-line{width:90%!important;text-align:center!important}.editorHyperLink label{font-size:.95em;float:left;width:30%;margin-left:2%;text-align:left;color:#000;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0;padding-top:0}.editorHyperLink input[type=text]{font-size:.95em;width:60%;text-align:left;margin:0 5% 0 0;color:#318fc5;cursor:pointer;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;padding-top:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages{height:20px;margin:5px}.AnswerCallFocused{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.ViewCollapseImage,.ViewExpandImage{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText{float:left;margin-top:1px}.displayDiv{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.DurationDiv{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData{border:0;outline:0}.callOptions{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText{font-size:.8em;margin-left:2px}.phoneNumberValue{font-weight:700;font-size:1em;margin-left:5px}.durationInput{background-color:transparent;border:0;width:100%;text-align:right}.topBorder{border-top:1px solid #939598}.holdCallDurationDiv{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer{background-color:transparent;border:0;width:100%}.verticalDivider{margin-left:2px;float:left}.callImage{height:20px}"]
238
- },] },
239
- ];
240
- PropertyComponent.ctorParameters = function () { return []; };
241
- PropertyComponent.propDecorators = {
242
- statusText: [{ type: Input }],
243
- callId: [{ type: Input }],
244
- callType: [{ type: Input }],
245
- property: [{ type: Input }]
246
- };
247
- var HoldtimerComponent = /** @class */ (function () {
248
- function HoldtimerComponent() {
249
- this.labelledByText = '';
250
- this.displayTime = '00:00/00:00';
251
- }
252
- HoldtimerComponent.prototype.ngOnInit = function () {
253
- if (this.statusText && this.callId) {
254
- this.labelledByText = this.statusText + " " + this.callId;
255
- }
256
- else if (this.statusText) {
257
- this.labelledByText = this.statusText;
258
- }
259
- else if (this.callId) {
260
- this.labelledByText = this.callId;
261
- }
262
- this.startCallCounter();
263
- };
264
- HoldtimerComponent.prototype.startCallCounter = function () {
265
- var _this = this;
266
- var pastTimeInSeconds = this.CaculatePastHoldDuration();
267
- if (this._timerId == null) {
268
- this._timerId = window.setInterval((function () {
269
- var currentTime = new Date().getTime() / 1000;
270
- var secondsPassedCurrentCall = Math.floor((currentTime) - (_this.holdCounterData.currentHoldStartTime / 1000));
271
- _this.displayTime = secondsToHms(secondsPassedCurrentCall) +
272
- '/' + secondsToHms(pastTimeInSeconds + secondsPassedCurrentCall);
273
- }), 1000);
274
- }
275
- };
276
- HoldtimerComponent.prototype.CaculatePastHoldDuration = function () {
277
- var pastTimeInSeconds = 0;
278
- if (this.holdCounterData.pastCallDurations) {
279
- this.holdCounterData.pastCallDurations.forEach((function (holdTimerIterator) {
280
- pastTimeInSeconds += (holdTimerIterator.endTime - holdTimerIterator.startTime) / 1000;
281
- }));
282
- }
283
- return pastTimeInSeconds;
284
- };
285
- HoldtimerComponent.prototype.ngOnDestroy = function () {
286
- if (this._timerId != null) {
287
- clearInterval(this._timerId);
288
- this._timerId = null;
289
- }
290
- };
291
- return HoldtimerComponent;
292
- }());
293
- HoldtimerComponent.decorators = [
294
- { type: Component, args: [{
295
- selector: 'amc-holdtimer',
296
- template: "<div class=\"holdCallDurationDiv\">\n <input\n readonly\n class=\"holdCallDurationTimer\"\n name=\"HoldCallDuration/TotalHoldCallDuration\"\n type=\"text\"\n tabindex=\"-1\"\n title=\"Hold Duration\"\n [attr.aria-labelledby]=\"labelledByText || null\"\n [value]=\"displayTime\">\n</div>\n",
297
- styles: [".holdCallDurationTimer:focus{outline-style:none}", "body{padding-top:5px;padding-bottom:5px;margin:0}.login{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor .standalone-line{width:90%!important;text-align:center!important}.editorHyperLink label{font-size:.95em;float:left;width:30%;margin-left:2%;text-align:left;color:#000;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0;padding-top:0}.editorHyperLink input[type=text]{font-size:.95em;width:60%;text-align:left;margin:0 5% 0 0;color:#318fc5;cursor:pointer;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;padding-top:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages{height:20px;margin:5px}.AnswerCallFocused{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.ViewCollapseImage,.ViewExpandImage{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText{float:left;margin-top:1px}.displayDiv{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.DurationDiv{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData{border:0;outline:0}.callOptions{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText{font-size:.8em;margin-left:2px}.phoneNumberValue{font-weight:700;font-size:1em;margin-left:5px}.durationInput{background-color:transparent;border:0;width:100%;text-align:right}.topBorder{border-top:1px solid #939598}.holdCallDurationDiv{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer{background-color:transparent;border:0;width:100%}.verticalDivider{margin-left:2px;float:left}.callImage{height:20px}"]
298
- },] },
299
- ];
300
- HoldtimerComponent.ctorParameters = function () { return []; };
301
- HoldtimerComponent.propDecorators = {
302
- holdCounterData: [{ type: Input }],
303
- statusText: [{ type: Input }],
304
- callId: [{ type: Input }]
305
- };
306
- var DurationComponent = /** @class */ (function () {
307
- function DurationComponent() {
308
- this.labelledByText = '';
309
- this.displayTime = '00:00/00:00';
310
- }
311
- DurationComponent.prototype.ngOnInit = function () {
312
- if (this.statusText && this.callId) {
313
- this.labelledByText = this.statusText + " " + this.callId;
314
- }
315
- else if (this.statusText) {
316
- this.labelledByText = this.statusText;
317
- }
318
- else if (this.callId) {
319
- this.labelledByText = this.callId;
320
- }
321
- this.startCallCounter();
322
- };
323
- DurationComponent.prototype.startCallCounter = function () {
324
- var _this = this;
325
- if (this._timerId == null) {
326
- this._timerId = window.setInterval((function () {
327
- var callStartTime = _this.startTime;
328
- var currentTime = new Date().getTime() / 1000;
329
- var secondsPassed = Math.floor((currentTime) - (callStartTime / 1000));
330
- _this.displayTime = Math.floor(secondsPassed / 60) + ':' + ('0' + (secondsPassed % 60)).slice(-2);
331
- }), 1000);
332
- }
333
- };
334
- DurationComponent.prototype.ngOnDestroy = function () {
335
- if (this._timerId != null) {
336
- clearInterval(this._timerId);
337
- this._timerId = null;
338
- }
339
- };
340
- return DurationComponent;
341
- }());
342
- DurationComponent.decorators = [
343
- { type: Component, args: [{
344
- selector: 'amc-duration',
345
- template: "<div class=\"holdCallDurationDiv\">\n <input\n readonly\n class=\"block durationInput\"\n name=\"CallDuration\"\n type=\"text\"\n tabindex=\"-1\"\n title=\"Call Duration\"\n [value]=\"displayTime\"\n [attr.aria-labelledby]=\"labelledByText || null\">\n</div>\n",
346
- styles: [".durationInput:focus{outline-style:none}", "body{padding-top:5px;padding-bottom:5px;margin:0}.login{width:20px;height:20px;display:block;margin-top:2px;margin-left:auto;margin-right:auto}.editor{font-size:.9em;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.editor .standalone-line{width:90%!important;text-align:center!important}.editorHyperLink label{font-size:.95em;float:left;width:30%;margin-left:2%;text-align:left;color:#000;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0;padding-top:0}.editorHyperLink input[type=text]{font-size:.95em;width:60%;text-align:left;margin:0 5% 0 0;color:#318fc5;cursor:pointer;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;padding-top:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.AnswerCallImages{height:20px;margin:5px}.AnswerCallFocused{border:1px solid #939598;margin-left:0;font-family:Arial;position:relative;background-color:#fff;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.ViewCollapseImage,.ViewExpandImage{width:20px;height:20px;float:right;cursor:pointer}.answerPhoneNumberStyle{border:0;position:relative;top:-12px;left:-38px;max-width:80px;height:15px;text-overflow:ellipsis;font-size:.85em}.callHeaderTop{border-bottom:1px solid;background-color:#f4f5fb;width:100%;margin-top:0}.statusImage{width:15px;height:15px;margin-left:10px;float:left;margin-right:5px}.statusText{float:left;margin-top:1px}.displayDiv{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.DurationDiv{float:right;width:17%;text-align:right;margin-right:5px}.displayLabels{margin-left:5px;width:25%;overflow:hidden;text-overflow:ellipsis}.displayData{border:0;outline:0}.callOptions{background-color:#f6f7fb;bottom:0;width:100%;text-align:center}.directionText{font-size:.8em;margin-left:2px}.phoneNumberValue{font-weight:700;font-size:1em;margin-left:5px}.durationInput{background-color:transparent;border:0;width:100%;text-align:right}.topBorder{border-top:1px solid #939598}.holdCallDurationDiv{float:left;margin-top:1px;margin-left:2px}.holdCallDurationTimer{background-color:transparent;border:0;width:100%}.verticalDivider{margin-left:2px;float:left}.callImage{height:20px}"]
347
- },] },
348
- ];
349
- DurationComponent.ctorParameters = function () { return []; };
350
- DurationComponent.propDecorators = {
351
- statusText: [{ type: Input }],
352
- callId: [{ type: Input }],
353
- startTime: [{ type: Input }]
354
- };
355
- var ChatBoxComponent = /** @class */ (function () {
356
- function ChatBoxComponent() {
357
- this.isTyping = false;
358
- this.lastCount = -1;
359
- this._isAgentTyping = false;
360
- this.isAgentTyping = new EventEmitter();
361
- this.newMessage = new EventEmitter();
362
- this.newMessageText = '';
363
- this.usernameToColor = {};
364
- this.colors = [
365
- '#81c784',
366
- '#ffab91',
367
- '#f48fb1',
368
- '#29b6f6',
369
- '#e1bee7',
370
- '#9ccc65',
371
- '#ffc107',
372
- '#26c6da',
373
- '#cddc39',
374
- ];
375
- this.colorsIndex = 0;
376
- this.agentColor = '#29b6f6';
377
- }
378
- ChatBoxComponent.prototype.ngAfterViewChecked = function () {
379
- if (this.lastCount !== this.messages.length) {
380
- this.lastCount = this.messages.length;
381
- this.scrollToBottom();
382
- }
383
- };
384
- ChatBoxComponent.prototype.getColor = function (message) {
385
- if (message.type && message.type === IChatMessageType.AGENT) {
386
- return this.agentColor;
387
- }
388
- else if (message.username) {
389
- if (!this.usernameToColor[message.username]) {
390
- this.usernameToColor[message.username] = this.colors[this.colorsIndex];
391
- this.colorsIndex = (this.colorsIndex + 1) % this.colors.length;
392
- }
393
- return this.usernameToColor[message.username];
394
- }
395
- else {
396
- return this.colors[0];
397
- }
398
- };
399
- ChatBoxComponent.prototype.shouldAlignRight = function (message) {
400
- return message.type && message.type === IChatMessageType.AGENT;
401
- };
402
- ChatBoxComponent.prototype.sendNewMessage = function () {
403
- if (this.newMessageText) {
404
- this.newMessage.emit(this.newMessageText);
405
- this.newMessageText = '';
406
- }
407
- };
408
- ChatBoxComponent.prototype.onNewMessageFocus = function (event) {
409
- var isTyping = event && this.newMessageText.length > 0;
410
- if (isTyping !== this._isAgentTyping) {
411
- this._isAgentTyping = isTyping;
412
- this.isAgentTyping.emit(isTyping);
413
- }
414
- };
415
- ChatBoxComponent.prototype.onKeyup = function () {
416
- var isTyping = this.newMessageText.length > 0;
417
- if (isTyping !== this._isAgentTyping) {
418
- this._isAgentTyping = isTyping;
419
- this.isAgentTyping.emit(isTyping);
420
- }
421
- };
422
- ChatBoxComponent.prototype.scrollToBottom = function () {
423
- try {
424
- this.messagesContainer.nativeElement.scrollTop = this.messagesContainer.nativeElement.scrollHeight;
425
- }
426
- catch (e) { }
427
- };
428
- return ChatBoxComponent;
429
- }());
430
- ChatBoxComponent.decorators = [
431
- { type: Component, args: [{
432
- selector: 'app-chat-box',
433
- template: "<div class=\"chat-box\">\n <div #MessagesContainer class=\"messages\" [style.max-height]='settings.maxHeight'>\n <ng-container *ngFor=\"let message of messages\">\n <app-chat-message [alignRight]=\"shouldAlignRight(message)\" [message]=\"message.text\" [username]=\"message.username\"\n [timestamp]=\"message.timestamp\" [image]=\"message.userIcon\" [fallbackImage]=\"settings.fallbackUserIcon\" [color]=\"getColor(message)\">\n </app-chat-message>\n </ng-container>\n\n <div *ngIf=\"isTyping\" class=\"typing-indicator\">\n Someone is typing\n <span></span>\n <span></span>\n <span></span>\n </div>\n </div>\n\n <div class=\"new-message\">\n <input #NewMessageText [(ngModel)]=\"newMessageText\" type=\"text\" placeholder=\"Type a message\" (focus)=\"onNewMessageFocus(true)\"\n (blur)=\"onNewMessageFocus(false)\" (keydown.enter)=\"sendNewMessage()\" (keyup)='onKeyup()' [disabled]=\"settings.disableSendMessage\">\n <input type=\"image\" [src]=\"settings.sendImage\" (click)=\"sendNewMessage()\" [disabled]=\"settings.disableSendMessage\">\n </div>\n</div>\n",
434
- styles: [".chat-box{background-color:#eceff1}.messages{padding:5px;overflow:auto;min-height:50px}.new-message{border-top:1px solid #000;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;height:25px}.new-message input[type=text]{-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;background-color:#eceff1;border:none;min-width:0}.new-message input[type=image]{position:relative;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:20px;cursor:pointer}.new-message input[type=image]:disabled{opacity:.5;cursor:auto}.new-message input:focus{outline:0}.typing-indicator{font-size:1em;font-style:italic}.typing-indicator span{display:inline-block;height:10px;width:10px;border-radius:50%;background-color:#9e9e9e;margin:0 1px;opacity:.2}.typing-indicator span:nth-of-type(1){-webkit-animation:1.5s .33333s infinite blink;animation:1.5s .33333s infinite blink}.typing-indicator span:nth-of-type(2){-webkit-animation:1.5s .66666s infinite blink;animation:1.5s .66666s infinite blink}.typing-indicator span:nth-of-type(3){-webkit-animation:1.5s .99999s infinite blink;animation:1.5s .99999s infinite blink}@-webkit-keyframes blink{50%{opacity:1}}@keyframes blink{50%{opacity:1}}"],
435
- },] },
436
- ];
437
- ChatBoxComponent.ctorParameters = function () { return []; };
438
- ChatBoxComponent.propDecorators = {
439
- settings: [{ type: Input }],
440
- isTyping: [{ type: Input }],
441
- messages: [{ type: Input }],
442
- isAgentTyping: [{ type: Output }],
443
- newMessage: [{ type: Output }],
444
- messagesContainer: [{ type: ViewChild, args: ['MessagesContainer',] }]
445
- };
446
- var ChatMessageComponent = /** @class */ (function () {
447
- function ChatMessageComponent() {
448
- this.alignRight = false;
449
- }
450
- ChatMessageComponent.prototype.ngOnInit = function () {
451
- };
452
- return ChatMessageComponent;
453
- }());
454
- ChatMessageComponent.decorators = [
455
- { type: Component, args: [{
456
- selector: 'app-chat-message',
457
- template: "<div [class]=\"alignRight? 'message right-message' : 'message left-message'\">\n <div class=\"message-header\">\n <img *ngIf=\"image\" class=\"image\" [src]=\"image\" (error)=\"image = fallbackImage\" [style.border-color]=\"color\" />\n <span *ngIf=\"username\" class=\"username\">{{username}}</span>\n <span *ngIf=\"timestamp\" class=\"timestamp\">{{timestamp}}</span>\n </div>\n\n <div class=\"message-body-container\">\n <div>\n <div class=\"message-body\" [style.background-color]=\"color\" [style.border-color]=\"color\">\n <span [innerHTML]=\"message\"></span>\n </div>\n </div>\n </div>\n</div>\n",
458
- styles: [":host{display:block;margin-top:2px;margin-bottom:2px}.right-message{text-align:end}.message-header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-text-emphasis:none;text-emphasis:none;font-style:italic;font-size:.7em;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:.5em}.message-header .image{height:30px;border-radius:50%;border:2px solid red}.message-header .username{font-weight:700}.right-message>.message-header{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;margin-right:1px}.right-message>.message-header .image,.right-message>.message-header .username{margin-left:5px}.left-message>.message-header{margin-left:1px}.left-message>.message-header .image,.left-message>.message-header .username{margin-right:5px}.message-body-container{display:-webkit-box;display:-ms-flexbox;display:flex}.right-message>.message-body-container{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.message-body{display:inline-block;position:relative;border-radius:.4em;padding:3px;font-style:normal;font-size:1em;text-align:start;min-width:2em;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.left-message .message-body:after{content:\"\";position:absolute;left:.8em;top:-.4em;border-bottom:.4em solid #000;border-bottom-color:inherit;border-left:.4em solid transparent;border-right:.4em solid transparent}.right-message .message-body:after{content:\"\";position:absolute;right:.8em;top:-.4em;border-bottom:.4em solid #000;border-bottom-color:inherit;border-left:.4em solid transparent;border-right:.4em solid transparent}"]
459
- },] },
460
- ];
461
- ChatMessageComponent.ctorParameters = function () { return []; };
462
- ChatMessageComponent.propDecorators = {
463
- message: [{ type: Input }],
464
- alignRight: [{ type: Input }],
465
- username: [{ type: Input }],
466
- color: [{ type: Input }],
467
- timestamp: [{ type: Input }],
468
- image: [{ type: Input }],
469
- fallbackImage: [{ type: Input }]
470
- };
471
- var DispositionComponent = /** @class */ (function () {
472
- function DispositionComponent() {
473
- this.dispositionEmitter = new EventEmitter();
474
- this.selectedDispositionValue = '';
475
- this.dispositionName = '';
476
- }
477
- DispositionComponent.prototype.ngOnInit = function () {
478
- var e_1, _a;
479
- try {
480
- for (var _b = __values(this.disposition.dispositionMetadata), _c = _b.next(); !_c.done; _c = _b.next()) {
481
- var metadata = _c.value;
482
- if (metadata.key === 'callId') {
483
- this.dispositionName = "disposition_" + metadata.value;
484
- break;
485
- }
486
- }
487
- }
488
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
489
- finally {
490
- try {
491
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
492
- }
493
- finally { if (e_1) throw e_1.error; }
494
- }
495
- if (this.disposition.checkedDisposition) {
496
- this.selectedDispositionValue = this.disposition.checkedDisposition;
497
- }
498
- };
499
- DispositionComponent.prototype.submitDisposition = function () {
500
- var selectedDisposition = {
501
- dispositionId: this.selectedDispositionValue,
502
- dispositionName: this.disposition.disposition.get(this.selectedDispositionValue),
503
- dispositionMetadata: this.disposition.dispositionMetadata
504
- };
505
- this.dispositionEmitter.emit(selectedDisposition);
506
- };
507
- DispositionComponent.prototype.selectAndSubmitDisposition = function (event, dispositionKey) {
508
- if (event.code === 'Enter') {
509
- this.selectedDispositionValue = dispositionKey;
510
- this.submitDisposition();
511
- }
512
- };
513
- return DispositionComponent;
514
- }());
515
- DispositionComponent.decorators = [
516
- { type: Component, args: [{
517
- selector: 'amc-disposition',
518
- template: "<div class=\"disposition-container\">\n <div class=\"header-container\">\n <label class=\"disposition-header\" attr.aria-label=\"set disposition\">{{disposition.dispositionHeader}}</label>\n </div>\n\n <div class=\"dispositions-container\">\n <div class=\"disposition\" *ngFor=\"let disp of disposition.disposition | keyvalue; let i = index\">\n <label\n class=\"disposition-label\"\n tabindex=\"0\"\n [id]=\"disp.key\"\n [ngClass]=\"{'disposition-label-selected' : selectedDispositionValue === disp.key, 'first-disposition': i === 0}\"\n (keypress)=\"selectAndSubmitDisposition($event, disp.key)\">\n\n <input\n class=\"disposition-input\"\n type=\"radio\"\n value=\"{{disp.key}}\"\n tabindex=\"-1\"\n attr.aria-label=\"{{disp.value}}\"\n [required]=\"!selectedDispositionValue\"\n [name]=\"dispositionName\"\n (change)=\"submitDisposition()\"\n [(ngModel)]=\"selectedDispositionValue\">\n\n {{disp.value}}\n </label>\n </div>\n </div>\n</div>\n",
519
- styles: [".disposition-container{border:1px solid #939598;white-space:nowrap;font-family:Arial;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;text-overflow:ellipsis;position:relative;font-size:.9em;max-height:180px;overflow-x:hidden;overflow-y:hidden}.header-container{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;white-space:nowrap;height:28px;position:sticky;overflow-x:hidden;overflow-y:hidden}.disposition-header{margin-top:auto;margin-left:7px;padding:5px;white-space:nowrap;text-overflow:ellipsis;font-weight:700;font-size:.9em;font-family:Arial;overflow-x:hidden}.disposition{margin-left:5px;padding-left:5px;white-space:nowrap}.disposition-label{text-overflow:ellipsis;font-weight:400;white-space:nowrap;font-size:.9em;overflow-x:hidden}.disposition-label-selected{text-overflow:ellipsis;font-weight:700;white-space:nowrap;font-size:.9em}.dispositions-container{padding:3px;overflow-y:scroll;max-height:150px}.disposition-label:focus{outline:#3296da solid 2px;outline-offset:5px}.first-disposition{margin-top:5px}"]
520
- },] },
521
- ];
522
- DispositionComponent.ctorParameters = function () { return []; };
523
- DispositionComponent.propDecorators = {
524
- disposition: [{ type: Input }],
525
- dispositionEmitter: [{ type: Output }]
526
- };
527
- var ActivityComponent = /** @class */ (function () {
528
- function ActivityComponent() {
529
- this.ActivitySave = new EventEmitter();
530
- this.OnNameSelectChange = new EventEmitter();
531
- this.OnRelatedToChange = new EventEmitter();
532
- this.OnSubjectChange = new EventEmitter();
533
- this.OnCallNotesChange = new EventEmitter();
534
- this.isActivityMaximized = true;
535
- }
536
- ActivityComponent.prototype.ngOnInit = function () {
537
- };
538
- ActivityComponent.prototype.onNameSelectChange = function (event) {
539
- this.activity.WhoObject = this.getWho(event.currentTarget.value);
540
- this.OnNameSelectChange.emit(this.activity);
541
- };
542
- ActivityComponent.prototype.parseWhoObject = function (whoObject) {
543
- return whoObject.objectType + ': ' + whoObject.objectName;
544
- };
545
- ActivityComponent.prototype.parseWhatObject = function (whatObject) {
546
- return whatObject.objectType + ': ' + whatObject.objectName;
547
- };
548
- ActivityComponent.prototype.onRelatedToChange = function (event) {
549
- this.activity.WhatObject = this.getWhat(event.currentTarget.value);
550
- this.OnRelatedToChange.emit(this.activity);
551
- };
552
- ActivityComponent.prototype.onSubjectChange = function (event) {
553
- this.activity.Subject = event.srcElement.value;
554
- this.OnSubjectChange.emit(this.activity);
555
- };
556
- ActivityComponent.prototype.onCallNotesChange = function (event) {
557
- this.activity.Subject = event.srcElement.value.trim();
558
- this.OnCallNotesChange.emit(this.activity);
559
- };
560
- ActivityComponent.prototype.getWho = function (id) {
561
- for (var i = 0; i < this.activity.whoList.length; i++) {
562
- if (this.activity.whoList[i].objectId === id) {
563
- return this.activity.whoList[i];
564
- }
565
- }
566
- };
567
- ActivityComponent.prototype.getWhat = function (id) {
568
- for (var i = 0; i < this.activity.whatList.length; i++) {
569
- if (this.activity.whatList[i].objectId === id) {
570
- return this.activity.whatList[i];
571
- }
572
- }
573
- };
574
- ActivityComponent.prototype.loadQuickComment = function (value) {
575
- this.activity.Description = this.activity.Description + this.activity.quickCommentList[value];
576
- };
577
- ActivityComponent.prototype.activitySave = function (clearActivityFields) {
578
- this.ActivitySave.emit(this.activity);
579
- };
580
- return ActivityComponent;
581
- }());
582
- ActivityComponent.decorators = [
583
- { type: Component, args: [{
584
- selector: 'app-activity',
585
- template: "<div *ngIf=\"isActivityMaximized\" class=\"callDisplay\">\n <div class=\"editor callHeader\">\n <label class=\"headerLabel\">\n <b>Activity Information</b>\n </label>\n <img class=\"ViewResizeImage\" src=\"/assets/images/section_collapse.png\" (click)=\"isActivityMaximized = false\" title=\"Collapse\">\n </div>\n <div class=\"callBody\">\n <div class=\"activityFields\">\n <form>\n <div class=\"editor displayDiv\">\n <label class=\"displayLabels\" title=\"Call From\">{{activity.NameFieldName}}</label>\n <select class=\"dropDownListStyle displayData\" data-resetperactivity=\"false\" (change)=\"onNameSelectChange($event)\">\n <option *ngFor=\"let who of activity.whoList\" value=\"{{who.objectId}}\">{{parseWhoObject(who)}}</option>\n </select>\n </div>\n <div class=\"editor displayDiv\">\n <label class=\"displayLabels\" title=\"Related To\">{{activity.RelatedToFieldName}}</label>\n <select class=\"dropDownListStyle displayData\" (change)=\"onRelatedToChange($event)\" data-resetperactivity=\"false\">\n <option *ngFor=\"let what of activity.whatList\" value=\"{{what.objectId}}\">{{parseWhatObject(what)}}</option>\n </select>\n </div>\n <div class=\"editor displayDiv\">\n <label class=\"displayLabels\" title=\"Subject\">{{activity.SubjectFieldName}}</label>\n <input class=\"activitySubjectTextBoxStyle displayData\" (change)=\"onSubjectChange($event)\" title=\"{{activity.Subject}}\"\n type=\"text\" value=\"{{activity.Subject}}\">\n </div>\n <div class=\"editor displayDiv\">\n <div class=\"callNotesContainer\">\n <div class=\"textAreaDiv\">\n <textarea value=\"{{activity.Description}}\" placeholder=\"Click to add a comment\" class=\"activityCommentsTextBoxStyle\"\n (change)=\"onCallNotesChange($event)\" cols=\"20\" rows=\"2\" title=\"\"></textarea>\n </div>\n <div class=\"notesButtonBorder\">\n <div class=\"commentsButtonDiv\">\n <div class=\"quickCommentsDiv\">\n <input *ngFor=\"let quickComment of activity.quickCommentList ; let i = index;\" class=\"quickNotesBotton\" type=\"button\"\n value=\"{{i+1}}\" (click)=\"loadQuickComment(i)\" title=\"{{quickComment}}\">\n </div>\n <div class=\"submitDiv\">\n <input class=\"submitButton\" type=\"button\" value=\"Submit\" (click)=\"activitySave(false)\">\n </div>\n </div>\n </div>\n </div>\n </div>\n </form>\n </div>\n </div>\n</div>\n<div *ngIf=\"!isActivityMaximized\" class=\"callDisplay\">\n <div class=\"editor callHeader\">\n <label class=\"headerLabel\">\n <b>Activity Information</b>\n </label>\n <img class=\"ViewResizeImage\" src=\"assets/images/section_expand.png\" (click)=\"isActivityMaximized = true\" title=\"Expand\">\n </div>\n",
586
- styles: [".callDisplay{display:grid;margin-bottom:8px;background-color:#fff}.editor{font-size:.9em;width:70%;text-align:left;margin:4px 5% 0 0;font-family:Arial;white-space:nowrap;text-overflow:ellipsis;border:0;padding-top:2px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.callHeader{background-color:#f4f5fb!important;width:100%!important;margin-top:0!important}.headerLabel{margin-left:10px}.ViewResizeImage{width:20px;height:20px;float:right;cursor:pointer}.callBody{border-top:0;position:relative}.displayDiv{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.displayLabels{margin-left:5px;width:25%;margin-right:2px}.displayData{width:70%}.dropDownListStyle{border:1px solid #939598!important;border-radius:3px!important;width:71%!important;height:20px!important;text-align:left!important;white-space:nowrap!important;text-overflow:ellipsis!important;margin:0 5px 0 0;cursor:pointer}.activitySubjectTextBoxStyle{border:1px solid #939598!important;border-radius:3px!important;width:71%!important;height:20px!important;text-align:left!important;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;margin:0 5px 0 0;padding-left:2px}.activityCommentsTextBoxStyle{border:none;color:#333!important;text-align:left!important;margin:0;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;resize:none;width:100%;height:95px}.notesButtonBorder{background-color:#fff;border-left:1px solid #939598;border-bottom:1px solid #939598;border-right:1px solid #939598;border-bottom-left-radius:3px!important;border-bottom-right-radius:3px!important;height:auto}.commentsButtonDiv{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.quickNotesBotton{background-color:#1e72ba;border:0;color:#fff;height:70%;width:20px;margin:2px;outline:0;font-size:70%}.quickCommentsDiv{text-align:left;-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;-ms-flex-wrap:wrap;flex-wrap:wrap;display:-webkit-box;display:-ms-flexbox;display:flex;margin:2px}.submitDiv{text-align:right;padding-right:4px}.submitButton{border:0;float:right;margin-top:2px;outline:0;cursor:pointer;background-color:#6cb047;color:#fff;border-radius:4px;font-size:98%;margin-bottom:2px}"]
587
- },] },
588
- ];
589
- ActivityComponent.ctorParameters = function () { return []; };
590
- ActivityComponent.propDecorators = {
591
- activity: [{ type: Input }],
592
- ActivitySave: [{ type: Output }],
593
- OnNameSelectChange: [{ type: Output }],
594
- OnRelatedToChange: [{ type: Output }],
595
- OnSubjectChange: [{ type: Output }],
596
- OnCallNotesChange: [{ type: Output }]
597
- };
598
- var LoginComponent = /** @class */ (function () {
599
- function LoginComponent() {
600
- this.loginDetailsProvided = new EventEmitter();
601
- }
602
- LoginComponent.prototype.ngOnInit = function () {
603
- var e_2, _a;
604
- if (!this.loginData.header) {
605
- this.loginData.header = 'Login';
606
- }
607
- try {
608
- for (var _b = __values(this.loginData.fields), _c = _b.next(); !_c.done; _c = _b.next()) {
609
- var field = _c.value;
610
- if (!field.isInvalid) {
611
- field.isInvalid = false;
612
- }
613
- }
614
- }
615
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
616
- finally {
617
- try {
618
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
619
- }
620
- finally { if (e_2) throw e_2.error; }
621
- }
622
- };
623
- LoginComponent.prototype.onLogin = function (loginForm) {
624
- var e_3, _a;
625
- try {
626
- for (var _b = __values(this.loginData.fields), _c = _b.next(); !_c.done; _c = _b.next()) {
627
- var field = _c.value;
628
- field.value = loginForm.value[field.name];
629
- }
630
- }
631
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
632
- finally {
633
- try {
634
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
635
- }
636
- finally { if (e_3) throw e_3.error; }
637
- }
638
- this.loginDetailsProvided.emit(this.loginData);
639
- };
640
- LoginComponent.prototype.focusOutOfInput = function (loginForm, field) {
641
- if (!loginForm.controls[field.name].valid) {
642
- field.isInvalid = true;
643
- }
644
- };
645
- return LoginComponent;
646
- }());
647
- LoginComponent.decorators = [
648
- { type: Component, args: [{
649
- selector: 'amc-login',
650
- template: "<div class=\"login-container\">\n <form (ngSubmit)=\"onLogin(loginForm)\"class=\"login-form\" id=\"login-form\" #loginForm=\"ngForm\">\n <div class=\"header-container\">\n <label class=\"login-header\" attr.aria-label=\"login\">{{ loginData.header }}</label>\n </div>\n <div class=\"fields-container\">\n <div *ngFor=\"let field of loginData.fields\" class=\"field\">\n <label class=\"field-label\">\n {{ field.name }}:\n </label>\n\n <input\n ngModel\n class=\"field-input\"\n attr.aria-label=\"{{ field.name }}\"\n [name]=\"field.name\"\n [type]=\"field.type\"\n [value]=\"field.value\"\n [placeholder]=\"field.placeholder || ''\"\n [required]=\"field.isRequired || false\"\n (focusout)=\"focusOutOfInput(loginForm, field)\"/>\n\n <p class=\"invalid-input\" *ngIf=\"field.isInvalid\">{{ field.invalidMessage }}</p>\n </div>\n\n <button\n type=\"submit\"\n class=\"form-submit\"\n form=\"login-form\"\n tabindex=\"0\"\n attr.aria-label=\"send\"\n [disabled]=\"!loginForm.valid\">Login</button>\n </div>\n\n </form>\n</div>\n",
651
- styles: [".login-container{border:1px solid #939598;white-space:nowrap;font-family:Arial;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;text-overflow:ellipsis;position:relative;font-size:.9em;max-height:200px;overflow-x:hidden;overflow-y:hidden}.header-container{border-bottom:1px solid #939598;background-color:#f4f5fb;width:100%;height:28px;position:sticky}.login-header{margin-top:auto;margin-left:7px;padding:5px;font-weight:700;font-size:.9em}.fields-container{overflow-y:auto;max-height:160px;font-size:.9em;padding:5px}.field{display:table-row;margin:5px}.field-label{padding:10px;display:table-cell}.field-input{display:table-cell;border:1px solid #939598;border-radius:5px}.field-input:focus{-webkit-box-shadow:0 0 5px #38badf;box-shadow:0 0 5px #38badf}.form-submit{margin:15px 10px 10px;display:table-row;border:1px solid #00a4b0;border-radius:5px;background-color:#00a4b0;color:#f7f7f7;width:10em;height:2em;-webkit-transition:.2s;transition:.2s;font-size:1.1em;position:relative;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.form-submit:hover{background-color:#01858f}.form-submit:disabled{background-color:silver;border-color:silver;color:#fff}input.ng-invalid.ng-touched[required]{border-color:#a94442}.form-submit:focus{outline:#3296da solid 2px;outline-offset:5px}.invalid-input{margin:0;padding:0;color:#a94442;font-size:x-small}"]
652
- },] },
653
- ];
654
- LoginComponent.ctorParameters = function () { return []; };
655
- LoginComponent.propDecorators = {
656
- loginData: [{ type: Input }],
657
- loginDetailsProvided: [{ type: Output }]
658
- };
659
- var UILibraryModule = /** @class */ (function () {
660
- function UILibraryModule(injector) {
661
- this.injector = injector;
662
- }
663
- UILibraryModule.prototype.ngDoBootstrap = function (app) {
664
- if (!customElements.get('amc-webcomponents-scenario')) {
665
- var strategyFactory = new ElementZoneStrategyFactory(ScenarioComponent, this.injector);
666
- customElements.define('amc-webcomponents-scenario', createCustomElement(ScenarioComponent, {
667
- injector: this.injector,
668
- strategyFactory: strategyFactory
669
- }));
670
- }
671
- if (!customElements.get('amc-webcomponents-disposition')) {
672
- var strategyFactory = new ElementZoneStrategyFactory(DispositionComponent, this.injector);
673
- customElements.define('amc-webcomponents-disposition', createCustomElement(DispositionComponent, {
674
- injector: this.injector,
675
- strategyFactory: strategyFactory
676
- }));
677
- }
678
- if (!customElements.get('amc-webcomponents-login')) {
679
- var strategyFactory = new ElementZoneStrategyFactory(LoginComponent, this.injector);
680
- customElements.define('amc-webcomponents-disposition', createCustomElement(LoginComponent, {
681
- injector: this.injector,
682
- strategyFactory: strategyFactory
683
- }));
684
- }
685
- };
686
- return UILibraryModule;
687
- }());
688
- UILibraryModule.decorators = [
689
- { type: NgModule, args: [{
690
- imports: [BrowserModule, CommonModule, FormsModule],
691
- declarations: [
692
- InteractionComponent,
693
- ScenarioComponent,
694
- OperationComponent,
695
- PropertyComponent,
696
- HoldtimerComponent,
697
- DurationComponent,
698
- ChatBoxComponent,
699
- ChatMessageComponent,
700
- DispositionComponent,
701
- ActivityComponent,
702
- LoginComponent
703
- ],
704
- entryComponents: [ScenarioComponent, DispositionComponent, LoginComponent],
705
- bootstrap: [],
706
- exports: [ScenarioComponent, DispositionComponent, LoginComponent]
707
- },] },
708
- ];
709
- UILibraryModule.ctorParameters = function () { return [
710
- { type: Injector }
711
- ]; };
712
-
713
- export { UILibraryModule, Property, ValueType, IChatMessageType, ActivityComponent as ɵj, ChatBoxComponent as ɵg, ChatMessageComponent as ɵh, DispositionComponent as ɵi, DurationComponent as ɵf, HoldtimerComponent as ɵe, InteractionComponent as ɵa, LoginComponent as ɵk, OperationComponent as ɵc, PropertyComponent as ɵd, ScenarioComponent as ɵb };
714
- //# sourceMappingURL=amc-technology-ui-library.js.map
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public_api';
5
+ export { ActivityComponent as ɵj } from './projects/UILibrary/src/app/components/activity/activity.component';
6
+ export { ChatBoxComponent as ɵg } from './projects/UILibrary/src/app/components/chat-box/chat-box.component';
7
+ export { ChatMessageComponent as ɵh } from './projects/UILibrary/src/app/components/chat-message/chat-message.component';
8
+ export { DispositionComponent as ɵi } from './projects/UILibrary/src/app/components/disposition/disposition.component';
9
+ export { DurationComponent as ɵf } from './projects/UILibrary/src/app/components/duration/duration.component';
10
+ export { HoldtimerComponent as ɵe } from './projects/UILibrary/src/app/components/holdtimer/holdtimer.component';
11
+ export { InteractionComponent as ɵa } from './projects/UILibrary/src/app/components/interaction/interaction.component';
12
+ export { LoginComponent as ɵk } from './projects/UILibrary/src/app/components/login/login.component';
13
+ export { OperationComponent as ɵc } from './projects/UILibrary/src/app/components/operation/operation.component';
14
+ export { PropertyComponent as ɵd } from './projects/UILibrary/src/app/components/property/property.component';
15
+ export { ScenarioComponent as ɵb } from './projects/UILibrary/src/app/components/scenario/scenario.component';
16
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1jLXRlY2hub2xvZ3ktdWktbGlicmFyeS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhbWMtdGVjaG5vbG9neS91aS1saWJyYXJ5LyIsInNvdXJjZXMiOlsiYW1jLXRlY2hub2xvZ3ktdWktbGlicmFyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQyxpQkFBaUIsSUFBSSxFQUFFLEVBQUMsTUFBTSxxRUFBcUUsQ0FBQztBQUM1RyxPQUFPLEVBQUMsZ0JBQWdCLElBQUksRUFBRSxFQUFDLE1BQU0scUVBQXFFLENBQUM7QUFDM0csT0FBTyxFQUFDLG9CQUFvQixJQUFJLEVBQUUsRUFBQyxNQUFNLDZFQUE2RSxDQUFDO0FBQ3ZILE9BQU8sRUFBQyxvQkFBb0IsSUFBSSxFQUFFLEVBQUMsTUFBTSwyRUFBMkUsQ0FBQztBQUNySCxPQUFPLEVBQUMsaUJBQWlCLElBQUksRUFBRSxFQUFDLE1BQU0scUVBQXFFLENBQUM7QUFDNUcsT0FBTyxFQUFDLGtCQUFrQixJQUFJLEVBQUUsRUFBQyxNQUFNLHVFQUF1RSxDQUFDO0FBQy9HLE9BQU8sRUFBQyxvQkFBb0IsSUFBSSxFQUFFLEVBQUMsTUFBTSwyRUFBMkUsQ0FBQztBQUNySCxPQUFPLEVBQUMsY0FBYyxJQUFJLEVBQUUsRUFBQyxNQUFNLCtEQUErRCxDQUFDO0FBQ25HLE9BQU8sRUFBQyxrQkFBa0IsSUFBSSxFQUFFLEVBQUMsTUFBTSx1RUFBdUUsQ0FBQztBQUMvRyxPQUFPLEVBQUMsaUJBQWlCLElBQUksRUFBRSxFQUFDLE1BQU0scUVBQXFFLENBQUM7QUFDNUcsT0FBTyxFQUFDLGlCQUFpQixJQUFJLEVBQUUsRUFBQyxNQUFNLHFFQUFxRSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuXG5leHBvcnQge0FjdGl2aXR5Q29tcG9uZW50IGFzIMm1an0gZnJvbSAnLi9wcm9qZWN0cy9VSUxpYnJhcnkvc3JjL2FwcC9jb21wb25lbnRzL2FjdGl2aXR5L2FjdGl2aXR5LmNvbXBvbmVudCc7XG5leHBvcnQge0NoYXRCb3hDb21wb25lbnQgYXMgybVnfSBmcm9tICcuL3Byb2plY3RzL1VJTGlicmFyeS9zcmMvYXBwL2NvbXBvbmVudHMvY2hhdC1ib3gvY2hhdC1ib3guY29tcG9uZW50JztcbmV4cG9ydCB7Q2hhdE1lc3NhZ2VDb21wb25lbnQgYXMgybVofSBmcm9tICcuL3Byb2plY3RzL1VJTGlicmFyeS9zcmMvYXBwL2NvbXBvbmVudHMvY2hhdC1tZXNzYWdlL2NoYXQtbWVzc2FnZS5jb21wb25lbnQnO1xuZXhwb3J0IHtEaXNwb3NpdGlvbkNvbXBvbmVudCBhcyDJtWl9IGZyb20gJy4vcHJvamVjdHMvVUlMaWJyYXJ5L3NyYy9hcHAvY29tcG9uZW50cy9kaXNwb3NpdGlvbi9kaXNwb3NpdGlvbi5jb21wb25lbnQnO1xuZXhwb3J0IHtEdXJhdGlvbkNvbXBvbmVudCBhcyDJtWZ9IGZyb20gJy4vcHJvamVjdHMvVUlMaWJyYXJ5L3NyYy9hcHAvY29tcG9uZW50cy9kdXJhdGlvbi9kdXJhdGlvbi5jb21wb25lbnQnO1xuZXhwb3J0IHtIb2xkdGltZXJDb21wb25lbnQgYXMgybVlfSBmcm9tICcuL3Byb2plY3RzL1VJTGlicmFyeS9zcmMvYXBwL2NvbXBvbmVudHMvaG9sZHRpbWVyL2hvbGR0aW1lci5jb21wb25lbnQnO1xuZXhwb3J0IHtJbnRlcmFjdGlvbkNvbXBvbmVudCBhcyDJtWF9IGZyb20gJy4vcHJvamVjdHMvVUlMaWJyYXJ5L3NyYy9hcHAvY29tcG9uZW50cy9pbnRlcmFjdGlvbi9pbnRlcmFjdGlvbi5jb21wb25lbnQnO1xuZXhwb3J0IHtMb2dpbkNvbXBvbmVudCBhcyDJtWt9IGZyb20gJy4vcHJvamVjdHMvVUlMaWJyYXJ5L3NyYy9hcHAvY29tcG9uZW50cy9sb2dpbi9sb2dpbi5jb21wb25lbnQnO1xuZXhwb3J0IHtPcGVyYXRpb25Db21wb25lbnQgYXMgybVjfSBmcm9tICcuL3Byb2plY3RzL1VJTGlicmFyeS9zcmMvYXBwL2NvbXBvbmVudHMvb3BlcmF0aW9uL29wZXJhdGlvbi5jb21wb25lbnQnO1xuZXhwb3J0IHtQcm9wZXJ0eUNvbXBvbmVudCBhcyDJtWR9IGZyb20gJy4vcHJvamVjdHMvVUlMaWJyYXJ5L3NyYy9hcHAvY29tcG9uZW50cy9wcm9wZXJ0eS9wcm9wZXJ0eS5jb21wb25lbnQnO1xuZXhwb3J0IHtTY2VuYXJpb0NvbXBvbmVudCBhcyDJtWJ9IGZyb20gJy4vcHJvamVjdHMvVUlMaWJyYXJ5L3NyYy9hcHAvY29tcG9uZW50cy9zY2VuYXJpby9zY2VuYXJpby5jb21wb25lbnQnOyJdfQ==