@amc-technology/ui-library 1.0.103 → 1.0.105
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/esm2022/projects/UILibrary/src/app/components/activity/activity.component.mjs +2 -2
- package/esm2022/projects/UILibrary/src/app/components/chat-box/chat-box.component.mjs +5 -5
- package/esm2022/projects/UILibrary/src/app/components/create/create.component.mjs +5 -5
- package/esm2022/projects/UILibrary/src/app/components/current-activity/current-activity.component.mjs +2 -2
- package/esm2022/projects/UILibrary/src/app/components/disposition/disposition.component.mjs +1 -1
- package/esm2022/projects/UILibrary/src/app/components/duration/duration.component.mjs +8 -8
- package/esm2022/projects/UILibrary/src/app/components/hold-timer/hold-timer.component.mjs +11 -11
- package/esm2022/projects/UILibrary/src/app/components/interaction/interaction.component.mjs +11 -11
- package/esm2022/projects/UILibrary/src/app/components/login/login.component.mjs +2 -2
- package/esm2022/projects/UILibrary/src/app/components/operation/operation.component.mjs +1 -1
- package/esm2022/projects/UILibrary/src/app/components/property/property.component.mjs +13 -13
- package/esm2022/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.mjs +1 -1
- package/esm2022/projects/UILibrary/src/app/components/scenario/scenario.component.mjs +1 -1
- package/esm2022/projects/UILibrary/src/app/components/search-information/search-information.component.mjs +25 -14
- package/esm2022/projects/UILibrary/src/app/models/disposition.interface.mjs +1 -1
- package/esm2022/projects/UILibrary/src/app/models/uilibrary.model.mjs +20 -22
- package/esm2022/projects/UILibrary/src/app/uilibrary.module.mjs +2 -3
- package/esm2022/public_api.mjs +1 -1
- package/fesm2022/amc-technology-ui-library.mjs +97 -89
- package/fesm2022/amc-technology-ui-library.mjs.map +1 -1
- package/package.json +2 -3
- package/projects/UILibrary/src/app/components/activity/activity.component.d.ts +1 -1
- package/projects/UILibrary/src/app/components/chat-box/chat-box.component.d.ts +6 -6
- package/projects/UILibrary/src/app/components/create/create.component.d.ts +1 -1
- package/projects/UILibrary/src/app/components/current-activity/current-activity.component.d.ts +1 -1
- package/projects/UILibrary/src/app/components/duration/duration.component.d.ts +1 -1
- package/projects/UILibrary/src/app/components/hold-timer/hold-timer.component.d.ts +3 -3
- package/projects/UILibrary/src/app/components/interaction/interaction.component.d.ts +4 -4
- package/projects/UILibrary/src/app/components/property/property.component.d.ts +3 -3
- package/projects/UILibrary/src/app/components/search-information/search-information.component.d.ts +4 -3
- package/projects/UILibrary/src/app/models/disposition.interface.d.ts +1 -1
- package/projects/UILibrary/src/app/models/uilibrary.model.d.ts +13 -13
- package/projects/UILibrary/src/app/uilibrary.module.d.ts +4 -4
- package/webcomponents/webcomponents.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amc-technology/ui-library",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.105",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"dependencies": {
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"@types/ws": "8.5.4",
|
|
16
16
|
"@webcomponents/custom-elements": "^1.2.2",
|
|
17
17
|
"aspnet-prerendering": "^3.0.1",
|
|
18
|
-
"bootstrap": "^3.3
|
|
19
|
-
"clean": "^4.0.2",
|
|
18
|
+
"bootstrap": "^5.3.3",
|
|
20
19
|
"core-js": "^2.5.5",
|
|
21
20
|
"rxjs": "^7.8.0",
|
|
22
21
|
"tslib": "^2.6.2",
|
|
@@ -2,13 +2,13 @@ import { OnInit, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { IActivity, IActivityDetails } from '../../models/uilibrary.model';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ActivityComponent implements OnInit {
|
|
5
|
-
isActivityMaximized: boolean;
|
|
6
5
|
activity: IActivity;
|
|
7
6
|
ActivitySave: EventEmitter<IActivity>;
|
|
8
7
|
OnNameSelectChange: EventEmitter<IActivity>;
|
|
9
8
|
OnRelatedToChange: EventEmitter<IActivity>;
|
|
10
9
|
OnSubjectChange: EventEmitter<IActivity>;
|
|
11
10
|
OnCallNotesChange: EventEmitter<IActivity>;
|
|
11
|
+
isActivityMaximized: boolean;
|
|
12
12
|
constructor();
|
|
13
13
|
ngOnInit(): void;
|
|
14
14
|
onNameSelectChange(event: any): void;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { AfterViewChecked, AfterViewInit, ElementRef, EventEmitter, IterableDiffers, OnInit, Renderer2 } from '@angular/core';
|
|
1
|
+
import { AfterViewChecked, AfterViewInit, DoCheck, ElementRef, EventEmitter, IterableDiffers, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { IChatMessage } from '../../models/chat.message';
|
|
3
3
|
import { IChatSettings } from '../../models/chat.settings';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ChatBoxComponent implements AfterViewChecked, AfterViewInit, OnInit {
|
|
5
|
+
export declare class ChatBoxComponent implements AfterViewChecked, AfterViewInit, OnInit, DoCheck {
|
|
6
6
|
private renderer;
|
|
7
7
|
private iterableDiffers;
|
|
8
8
|
settings: IChatSettings;
|
|
9
9
|
isTyping: boolean;
|
|
10
10
|
messages: IChatMessage[];
|
|
11
|
-
private lastCount;
|
|
12
|
-
_isAgentTyping: boolean;
|
|
13
11
|
isAgentTyping: EventEmitter<boolean>;
|
|
14
12
|
newMessage: EventEmitter<string>;
|
|
15
|
-
newMessageText: string;
|
|
16
13
|
messagesContainer: ElementRef;
|
|
17
14
|
autofocus: ElementRef;
|
|
15
|
+
_isAgentTyping: boolean;
|
|
16
|
+
newMessageText: string;
|
|
18
17
|
usernameToColor: {
|
|
19
18
|
[username: string]: string;
|
|
20
19
|
};
|
|
21
20
|
colors: string[];
|
|
22
21
|
colorsIndex: number;
|
|
23
22
|
agentColor: string;
|
|
23
|
+
sendButtonText: string;
|
|
24
|
+
private lastCount;
|
|
24
25
|
private scrollAtBottom;
|
|
25
26
|
private iterableDiffer;
|
|
26
|
-
sendButtonText: string;
|
|
27
27
|
constructor(renderer: Renderer2, iterableDiffers: IterableDiffers);
|
|
28
28
|
ngOnInit(): void;
|
|
29
29
|
ngDoCheck(): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class CreateComponent {
|
|
4
|
+
Entities: any;
|
|
4
5
|
CreateNewEntity: EventEmitter<string>;
|
|
5
6
|
isCreateMaximized: boolean;
|
|
6
|
-
Entities: any;
|
|
7
7
|
constructor();
|
|
8
8
|
createNewEntity(type: string): void;
|
|
9
9
|
getEntities(): string[];
|
package/projects/UILibrary/src/app/components/current-activity/current-activity.component.d.ts
CHANGED
|
@@ -16,9 +16,9 @@ export declare class CurrentActivityComponent implements OnInit {
|
|
|
16
16
|
eventName: string;
|
|
17
17
|
newValue?: IActivity;
|
|
18
18
|
}>;
|
|
19
|
+
isActivityMaximized: boolean;
|
|
19
20
|
private eventList;
|
|
20
21
|
private debouncer;
|
|
21
|
-
isActivityMaximized: boolean;
|
|
22
22
|
constructor();
|
|
23
23
|
ngOnInit(): Promise<void>;
|
|
24
24
|
submitActivity(): void;
|
|
@@ -9,11 +9,11 @@ export declare class DurationComponent implements OnInit, OnDestroy {
|
|
|
9
9
|
private _timerId?;
|
|
10
10
|
constructor();
|
|
11
11
|
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
12
13
|
/**
|
|
13
14
|
* @ignore
|
|
14
15
|
*/
|
|
15
16
|
private startCallCounter;
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DurationComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<DurationComponent, "amc-duration", never, { "statusText": { "alias": "statusText"; "required": false; }; "callId": { "alias": "callId"; "required": false; }; "startTime": { "alias": "startTime"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -13,12 +13,12 @@ export declare class HoldTimerComponent implements OnInit, OnDestroy {
|
|
|
13
13
|
/**
|
|
14
14
|
* @ignore
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
private CaculatePastHoldDuration;
|
|
16
|
+
ngOnDestroy(): void;
|
|
18
17
|
/**
|
|
19
18
|
* @ignore
|
|
20
19
|
*/
|
|
21
|
-
|
|
20
|
+
private startCallCounter;
|
|
21
|
+
private CaculatePastHoldDuration;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<HoldTimerComponent, never>;
|
|
23
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<HoldTimerComponent, "amc-holdTimer", never, { "holdCounterData": { "alias": "holdCounterData"; "required": false; }; "statusText": { "alias": "statusText"; "required": false; }; "callId": { "alias": "callId"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
24
|
}
|
|
@@ -10,15 +10,15 @@ export declare class InteractionComponent implements OnInit {
|
|
|
10
10
|
isAgentTyping: EventEmitter<boolean>;
|
|
11
11
|
newMessage: EventEmitter<string>;
|
|
12
12
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
* @ignore
|
|
14
|
+
*/
|
|
15
15
|
minimized: boolean;
|
|
16
|
-
set _minimized(value: boolean);
|
|
17
|
-
get _minimized(): boolean;
|
|
18
16
|
/**
|
|
19
17
|
* @ignore
|
|
20
18
|
*/
|
|
21
19
|
constructor();
|
|
20
|
+
get _minimized(): boolean;
|
|
21
|
+
set _minimized(value: boolean);
|
|
22
22
|
/**
|
|
23
23
|
* @ignore
|
|
24
24
|
*/
|
|
@@ -30,15 +30,15 @@ export declare class PropertyComponent implements OnInit, OnDestroy {
|
|
|
30
30
|
/**
|
|
31
31
|
* @ignore
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
34
|
/**
|
|
35
35
|
* @ignore
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
initValues(): void;
|
|
38
38
|
/**
|
|
39
39
|
* @ignore
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
private startCallCounter;
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyComponent, never>;
|
|
43
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyComponent, "amc-property", never, { "statusText": { "alias": "statusText"; "required": false; }; "callId": { "alias": "callId"; "required": false; }; "callType": { "alias": "callType"; "required": false; }; "property": { "alias": "property"; "required": false; }; }, {}, never, never, false, never>;
|
|
44
44
|
}
|
package/projects/UILibrary/src/app/components/search-information/search-information.component.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import * as api from '@amc-technology/davinci-api';
|
|
3
3
|
import { IActivity } from '../../models/IActivity';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -16,10 +16,11 @@ export declare class SearchInformationComponent implements OnChanges {
|
|
|
16
16
|
singleMatchData: any;
|
|
17
17
|
multiMatchData: any[];
|
|
18
18
|
shouldShowAllMultiMatchOptions: boolean;
|
|
19
|
+
selectedMultiMatchIndex: number;
|
|
19
20
|
constructor();
|
|
20
|
-
ngOnChanges(): void;
|
|
21
|
-
protected renderData(): void;
|
|
21
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
22
22
|
onAgentSelectedCallerInformation(event: any): void;
|
|
23
|
+
protected renderData(): void;
|
|
23
24
|
protected parseSearchRecordForNameSingleMatch(searchRecord: api.IRecordItem): any[];
|
|
24
25
|
protected parseSearchRecordForNameMultiMatch(searchRecord: api.IRecordItem): any[];
|
|
25
26
|
protected getEntityImgToDisplay(searchRecord: api.IRecordItem): string;
|
|
@@ -2,6 +2,13 @@ import { IChatSettings } from './chat.settings';
|
|
|
2
2
|
import { IChatMessage } from './chat.message';
|
|
3
3
|
export * from './chat.message';
|
|
4
4
|
export * from './chat.settings';
|
|
5
|
+
/**
|
|
6
|
+
* enum for Value types of PROPERTY.
|
|
7
|
+
*/
|
|
8
|
+
export declare enum ValueType {
|
|
9
|
+
STRING = 0,
|
|
10
|
+
COUNTER = 1
|
|
11
|
+
}
|
|
5
12
|
export interface ILoginData {
|
|
6
13
|
header: string;
|
|
7
14
|
fields: ILoginField[];
|
|
@@ -243,8 +250,6 @@ export interface IProperty {
|
|
|
243
250
|
* A helper method to make instances of [IProperty]
|
|
244
251
|
*/
|
|
245
252
|
export declare class Property implements IProperty {
|
|
246
|
-
private key;
|
|
247
|
-
private value;
|
|
248
253
|
/**
|
|
249
254
|
* KEY value to be displayed on component.
|
|
250
255
|
*/
|
|
@@ -263,10 +268,8 @@ export declare class Property implements IProperty {
|
|
|
263
268
|
* This flag decides if PROPERTY will be displayed on component or not.
|
|
264
269
|
*/
|
|
265
270
|
visible: boolean;
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
*/
|
|
269
|
-
displayOperation: () => void;
|
|
271
|
+
private key;
|
|
272
|
+
private value;
|
|
270
273
|
/**
|
|
271
274
|
*
|
|
272
275
|
* @param key
|
|
@@ -276,6 +279,10 @@ export declare class Property implements IProperty {
|
|
|
276
279
|
* @param customOperation
|
|
277
280
|
*/
|
|
278
281
|
constructor(key: string, value: any, visible?: boolean, valueType?: ValueType, customOperation?: IEventHandler);
|
|
282
|
+
/**
|
|
283
|
+
* Operation responsible for generating displayKey and dispkayValur from key and value.
|
|
284
|
+
*/
|
|
285
|
+
displayOperation: () => void;
|
|
279
286
|
}
|
|
280
287
|
/**
|
|
281
288
|
* Interface which contains eventName and handler associated with it.
|
|
@@ -285,10 +292,3 @@ export interface IEventHandler {
|
|
|
285
292
|
handler: (eventName: string, eventMetadata?: IMetadata[]) => void;
|
|
286
293
|
eventMetadata?: IMetadata[];
|
|
287
294
|
}
|
|
288
|
-
/**
|
|
289
|
-
* enum for Value types of PROPERTY.
|
|
290
|
-
*/
|
|
291
|
-
export declare enum ValueType {
|
|
292
|
-
STRING = 0,
|
|
293
|
-
COUNTER = 1
|
|
294
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
1
|
+
import { Injector, DoBootstrap } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./components/interaction/interaction.component";
|
|
4
4
|
import * as i2 from "./components/scenario/scenario.component";
|
|
@@ -18,13 +18,13 @@ import * as i15 from "./components/search-information/search-information.compone
|
|
|
18
18
|
import * as i16 from "@angular/platform-browser";
|
|
19
19
|
import * as i17 from "@angular/common";
|
|
20
20
|
import * as i18 from "@angular/forms";
|
|
21
|
-
import * as i19 from "@angular/material/
|
|
22
|
-
export declare class UILibraryModule {
|
|
21
|
+
import * as i19 from "@angular/material/tabs";
|
|
22
|
+
export declare class UILibraryModule implements DoBootstrap {
|
|
23
23
|
private injector;
|
|
24
24
|
constructor(injector: Injector);
|
|
25
25
|
ngDoBootstrap(app: any): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<UILibraryModule, never>;
|
|
27
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UILibraryModule, [typeof i1.InteractionComponent, typeof i2.ScenarioComponent, typeof i3.OperationComponent, typeof i4.PropertyComponent, typeof i5.HoldTimerComponent, typeof i6.DurationComponent, typeof i7.ChatBoxComponent, typeof i8.ChatMessageComponent, typeof i9.DispositionComponent, typeof i10.ActivityComponent, typeof i11.LoginComponent, typeof i12.CreateComponent, typeof i13.RecentActivityComponent, typeof i14.CurrentActivityComponent, typeof i15.SearchInformationComponent], [typeof i16.BrowserModule, typeof i17.CommonModule, typeof i18.FormsModule, typeof i19.
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UILibraryModule, [typeof i1.InteractionComponent, typeof i2.ScenarioComponent, typeof i3.OperationComponent, typeof i4.PropertyComponent, typeof i5.HoldTimerComponent, typeof i6.DurationComponent, typeof i7.ChatBoxComponent, typeof i8.ChatMessageComponent, typeof i9.DispositionComponent, typeof i10.ActivityComponent, typeof i11.LoginComponent, typeof i12.CreateComponent, typeof i13.RecentActivityComponent, typeof i14.CurrentActivityComponent, typeof i15.SearchInformationComponent], [typeof i16.BrowserModule, typeof i17.CommonModule, typeof i18.FormsModule, typeof i19.MatTabsModule], [typeof i2.ScenarioComponent, typeof i9.DispositionComponent, typeof i11.LoginComponent, typeof i12.CreateComponent, typeof i13.RecentActivityComponent, typeof i14.CurrentActivityComponent, typeof i15.SearchInformationComponent]>;
|
|
28
28
|
static ɵinj: i0.ɵɵInjectorDeclaration<UILibraryModule>;
|
|
29
29
|
}
|
|
30
30
|
export * from './models/uilibrary.model';
|