@amc-technology/ui-library 1.0.100 → 1.0.102
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 +25 -8
- package/esm2022/amc-technology-ui-library.mjs +5 -0
- package/esm2022/projects/UILibrary/src/app/Helpers.mjs +11 -0
- package/esm2022/projects/UILibrary/src/app/components/activity/activity.component.mjs +79 -0
- package/esm2022/projects/UILibrary/src/app/components/chat-box/chat-box.component.mjs +137 -0
- package/esm2022/projects/UILibrary/src/app/components/chat-message/chat-message.component.mjs +40 -0
- package/esm2022/projects/UILibrary/src/app/components/create/create.component.mjs +34 -0
- package/esm2022/projects/UILibrary/src/app/components/current-activity/current-activity.component.mjs +170 -0
- package/esm2022/projects/UILibrary/src/app/components/disposition/disposition.component.mjs +47 -0
- package/esm2022/projects/UILibrary/src/app/components/duration/duration.component.mjs +58 -0
- package/esm2022/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.mjs +72 -0
- package/esm2022/projects/UILibrary/src/app/components/interaction/interaction.component.mjs +98 -0
- package/esm2022/projects/UILibrary/src/app/components/login/login.component.mjs +41 -0
- package/esm2022/projects/UILibrary/src/app/components/operation/operation.component.mjs +56 -0
- package/esm2022/projects/UILibrary/src/app/components/property/property.component.mjs +106 -0
- package/esm2022/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.mjs +144 -0
- package/esm2022/projects/UILibrary/src/app/components/scenario/scenario.component.mjs +38 -0
- package/esm2022/projects/UILibrary/src/app/components/search-information/search-information.component.mjs +160 -0
- package/esm2022/projects/UILibrary/src/app/models/IActivity.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/IActivityDetails.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/IHoldActivityDetails.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/IInteractionActivityDetails.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/chat.message.mjs +7 -0
- package/esm2022/projects/UILibrary/src/app/models/chat.settings.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/disposition.interface.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/login.interface.mjs +2 -0
- package/esm2022/projects/UILibrary/src/app/models/uilibrary.model.mjs +61 -0
- package/esm2022/projects/UILibrary/src/app/uilibrary.module.mjs +106 -0
- package/esm2022/public_api.mjs +10 -0
- package/fesm2022/amc-technology-ui-library.mjs +1393 -0
- package/fesm2022/amc-technology-ui-library.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +26 -21
- package/projects/UILibrary/src/app/Helpers.d.ts +1 -1
- package/projects/UILibrary/src/app/components/activity/activity.component.d.ts +26 -23
- package/projects/UILibrary/src/app/components/chat-box/chat-box.component.d.ts +38 -35
- package/projects/UILibrary/src/app/components/chat-message/chat-message.component.d.ts +16 -13
- package/projects/UILibrary/src/app/components/create/create.component.d.ts +14 -11
- package/projects/UILibrary/src/app/components/current-activity/current-activity.component.d.ts +37 -34
- package/projects/UILibrary/src/app/components/disposition/disposition.component.d.ts +15 -12
- package/projects/UILibrary/src/app/components/duration/duration.component.d.ts +19 -16
- package/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.d.ts +24 -21
- package/projects/UILibrary/src/app/components/interaction/interaction.component.d.ts +44 -41
- package/projects/UILibrary/src/app/components/login/login.component.d.ts +14 -11
- package/projects/UILibrary/src/app/components/operation/operation.component.d.ts +25 -22
- package/projects/UILibrary/src/app/components/property/property.component.d.ts +44 -41
- package/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.d.ts +38 -35
- package/projects/UILibrary/src/app/components/scenario/scenario.component.d.ts +16 -13
- package/projects/UILibrary/src/app/components/search-information/search-information.component.d.ts +29 -26
- package/projects/UILibrary/src/app/models/IActivity.d.ts +36 -36
- package/projects/UILibrary/src/app/models/IActivityDetails.d.ts +7 -7
- package/projects/UILibrary/src/app/models/IHoldActivityDetails.d.ts +10 -10
- package/projects/UILibrary/src/app/models/IInteractionActivityDetails.d.ts +9 -9
- package/projects/UILibrary/src/app/models/chat.message.d.ts +15 -15
- package/projects/UILibrary/src/app/models/chat.settings.d.ts +6 -6
- package/projects/UILibrary/src/app/models/disposition.interface.d.ts +12 -12
- package/projects/UILibrary/src/app/models/login.interface.d.ts +13 -13
- package/projects/UILibrary/src/app/models/uilibrary.model.d.ts +281 -281
- package/projects/UILibrary/src/app/uilibrary.module.d.ts +30 -7
- package/public_api.d.ts +9 -1
- package/webcomponents/webcomponents.js +3 -3
- package/amc-technology-ui-library.d.ts +0 -19
- package/amc-technology-ui-library.metadata.json +0 -1
- package/bundles/amc-technology-ui-library.umd.js +0 -1653
- package/bundles/amc-technology-ui-library.umd.js.map +0 -1
- package/bundles/amc-technology-ui-library.umd.min.js +0 -16
- package/bundles/amc-technology-ui-library.umd.min.js.map +0 -1
- package/esm2015/amc-technology-ui-library.js +0 -20
- package/esm2015/projects/UILibrary/src/app/Helpers.js +0 -11
- package/esm2015/projects/UILibrary/src/app/components/activity/activity.component.js +0 -83
- package/esm2015/projects/UILibrary/src/app/components/chat-box/chat-box.component.js +0 -139
- package/esm2015/projects/UILibrary/src/app/components/chat-message/chat-message.component.js +0 -44
- package/esm2015/projects/UILibrary/src/app/components/create/create.component.js +0 -35
- package/esm2015/projects/UILibrary/src/app/components/current-activity/current-activity.component.js +0 -169
- package/esm2015/projects/UILibrary/src/app/components/disposition/disposition.component.js +0 -49
- package/esm2015/projects/UILibrary/src/app/components/duration/duration.component.js +0 -58
- package/esm2015/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.js +0 -72
- package/esm2015/projects/UILibrary/src/app/components/interaction/interaction.component.js +0 -93
- package/esm2015/projects/UILibrary/src/app/components/login/login.component.js +0 -43
- package/esm2015/projects/UILibrary/src/app/components/operation/operation.component.js +0 -57
- package/esm2015/projects/UILibrary/src/app/components/property/property.component.js +0 -99
- package/esm2015/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.js +0 -142
- package/esm2015/projects/UILibrary/src/app/components/scenario/scenario.component.js +0 -43
- package/esm2015/projects/UILibrary/src/app/components/search-information/search-information.component.js +0 -155
- package/esm2015/projects/UILibrary/src/app/models/IActivity.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/IActivityDetails.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/IHoldActivityDetails.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/IInteractionActivityDetails.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/chat.message.js +0 -7
- package/esm2015/projects/UILibrary/src/app/models/chat.settings.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/disposition.interface.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/login.interface.js +0 -1
- package/esm2015/projects/UILibrary/src/app/models/uilibrary.model.js +0 -40
- package/esm2015/projects/UILibrary/src/app/uilibrary.module.js +0 -83
- package/esm2015/public_api.js +0 -2
- package/esm5/amc-technology-ui-library.js +0 -20
- package/esm5/projects/UILibrary/src/app/Helpers.js +0 -11
- package/esm5/projects/UILibrary/src/app/components/activity/activity.component.js +0 -84
- package/esm5/projects/UILibrary/src/app/components/chat-box/chat-box.component.js +0 -140
- package/esm5/projects/UILibrary/src/app/components/chat-message/chat-message.component.js +0 -45
- package/esm5/projects/UILibrary/src/app/components/create/create.component.js +0 -36
- package/esm5/projects/UILibrary/src/app/components/current-activity/current-activity.component.js +0 -174
- package/esm5/projects/UILibrary/src/app/components/disposition/disposition.component.js +0 -61
- package/esm5/projects/UILibrary/src/app/components/duration/duration.component.js +0 -60
- package/esm5/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.js +0 -74
- package/esm5/projects/UILibrary/src/app/components/interaction/interaction.component.js +0 -98
- package/esm5/projects/UILibrary/src/app/components/login/login.component.js +0 -66
- package/esm5/projects/UILibrary/src/app/components/operation/operation.component.js +0 -58
- package/esm5/projects/UILibrary/src/app/components/property/property.component.js +0 -101
- package/esm5/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.js +0 -144
- package/esm5/projects/UILibrary/src/app/components/scenario/scenario.component.js +0 -44
- package/esm5/projects/UILibrary/src/app/components/search-information/search-information.component.js +0 -156
- package/esm5/projects/UILibrary/src/app/models/IActivity.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/IActivityDetails.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/IHoldActivityDetails.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/IInteractionActivityDetails.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/chat.message.js +0 -7
- package/esm5/projects/UILibrary/src/app/models/chat.settings.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/disposition.interface.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/login.interface.js +0 -1
- package/esm5/projects/UILibrary/src/app/models/uilibrary.model.js +0 -43
- package/esm5/projects/UILibrary/src/app/uilibrary.module.js +0 -84
- package/esm5/public_api.js +0 -2
- package/fesm2015/amc-technology-ui-library.js +0 -1360
- package/fesm2015/amc-technology-ui-library.js.map +0 -1
- package/fesm5/amc-technology-ui-library.js +0 -1423
- package/fesm5/amc-technology-ui-library.js.map +0 -1
- package/src/typings.d.ts +0 -5
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { IInteractionActivityDetails } from './IInteractionActivityDetails';
|
|
2
|
-
import { IHoldActivityDetails } from './IHoldActivityDetails';
|
|
3
|
-
import { IActivityDetails } from './IActivityDetails';
|
|
4
|
-
export interface IActivity {
|
|
5
|
-
WhoObject: IActivityDetails;
|
|
6
|
-
WhatObject: IActivityDetails;
|
|
7
|
-
CallType: string;
|
|
8
|
-
ChannelType: string;
|
|
9
|
-
CallDurationInSeconds: number;
|
|
10
|
-
Subject: string;
|
|
11
|
-
Description: string;
|
|
12
|
-
Status: string;
|
|
13
|
-
ActivityDate: string;
|
|
14
|
-
TimeStamp: Date;
|
|
15
|
-
ActivityId: string;
|
|
16
|
-
ScenarioId: string;
|
|
17
|
-
TaskSubtype: string;
|
|
18
|
-
contactSource: {
|
|
19
|
-
sourceType: string;
|
|
20
|
-
source: string;
|
|
21
|
-
};
|
|
22
|
-
CadFields: {
|
|
23
|
-
[key: string]: string;
|
|
24
|
-
};
|
|
25
|
-
IsActive: boolean;
|
|
26
|
-
IsProcessing: boolean;
|
|
27
|
-
IsUnSaved: boolean;
|
|
28
|
-
IsRecentWorkItemLoading: boolean;
|
|
29
|
-
HoldDurationInSeconds: number;
|
|
30
|
-
NumberOfHolds: 0;
|
|
31
|
-
HoldDurationOnInteractions: IHoldActivityDetails;
|
|
32
|
-
DurationOnInteractions: IInteractionActivityDetails;
|
|
33
|
-
LastUpdated: Date;
|
|
34
|
-
IsSubjectChanged: boolean;
|
|
35
|
-
InitialInteractionId: string;
|
|
36
|
-
}
|
|
1
|
+
import { IInteractionActivityDetails } from './IInteractionActivityDetails';
|
|
2
|
+
import { IHoldActivityDetails } from './IHoldActivityDetails';
|
|
3
|
+
import { IActivityDetails } from './IActivityDetails';
|
|
4
|
+
export interface IActivity {
|
|
5
|
+
WhoObject: IActivityDetails;
|
|
6
|
+
WhatObject: IActivityDetails;
|
|
7
|
+
CallType: string;
|
|
8
|
+
ChannelType: string;
|
|
9
|
+
CallDurationInSeconds: number;
|
|
10
|
+
Subject: string;
|
|
11
|
+
Description: string;
|
|
12
|
+
Status: string;
|
|
13
|
+
ActivityDate: string;
|
|
14
|
+
TimeStamp: Date;
|
|
15
|
+
ActivityId: string;
|
|
16
|
+
ScenarioId: string;
|
|
17
|
+
TaskSubtype: string;
|
|
18
|
+
contactSource: {
|
|
19
|
+
sourceType: string;
|
|
20
|
+
source: string;
|
|
21
|
+
};
|
|
22
|
+
CadFields: {
|
|
23
|
+
[key: string]: string;
|
|
24
|
+
};
|
|
25
|
+
IsActive: boolean;
|
|
26
|
+
IsProcessing: boolean;
|
|
27
|
+
IsUnSaved: boolean;
|
|
28
|
+
IsRecentWorkItemLoading: boolean;
|
|
29
|
+
HoldDurationInSeconds: number;
|
|
30
|
+
NumberOfHolds: 0;
|
|
31
|
+
HoldDurationOnInteractions: IHoldActivityDetails;
|
|
32
|
+
DurationOnInteractions: IInteractionActivityDetails;
|
|
33
|
+
LastUpdated: Date;
|
|
34
|
+
IsSubjectChanged: boolean;
|
|
35
|
+
InitialInteractionId: string;
|
|
36
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface IActivityDetails {
|
|
2
|
-
objectType: string;
|
|
3
|
-
displayName: string;
|
|
4
|
-
objectName: string;
|
|
5
|
-
objectId: string;
|
|
6
|
-
url: string;
|
|
7
|
-
}
|
|
1
|
+
export interface IActivityDetails {
|
|
2
|
+
objectType: string;
|
|
3
|
+
displayName: string;
|
|
4
|
+
objectName: string;
|
|
5
|
+
objectId: string;
|
|
6
|
+
url: string;
|
|
7
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface IHoldActivityDetails {
|
|
2
|
-
[key: string]: {
|
|
3
|
-
numberOfHolds: number;
|
|
4
|
-
holdDuration: number;
|
|
5
|
-
holdDurationTracking: {
|
|
6
|
-
start: Date;
|
|
7
|
-
end: Date;
|
|
8
|
-
}[];
|
|
9
|
-
};
|
|
10
|
-
}
|
|
1
|
+
export interface IHoldActivityDetails {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
numberOfHolds: number;
|
|
4
|
+
holdDuration: number;
|
|
5
|
+
holdDurationTracking: {
|
|
6
|
+
start: Date;
|
|
7
|
+
end: Date;
|
|
8
|
+
}[];
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface IInteractionActivityDetails {
|
|
2
|
-
[key: string]: {
|
|
3
|
-
interactionDuration: number;
|
|
4
|
-
DurationTracking: {
|
|
5
|
-
start: Date;
|
|
6
|
-
end: Date;
|
|
7
|
-
}[];
|
|
8
|
-
};
|
|
9
|
-
}
|
|
1
|
+
export interface IInteractionActivityDetails {
|
|
2
|
+
[key: string]: {
|
|
3
|
+
interactionDuration: number;
|
|
4
|
+
DurationTracking: {
|
|
5
|
+
start: Date;
|
|
6
|
+
end: Date;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export interface IChatMessage {
|
|
2
|
-
username?: string;
|
|
3
|
-
text: string;
|
|
4
|
-
/**
|
|
5
|
-
* What type of chat message. Defaults to OTHER_PERSON
|
|
6
|
-
*/
|
|
7
|
-
type?: IChatMessageType;
|
|
8
|
-
timestamp?: string;
|
|
9
|
-
userIcon?: URL;
|
|
10
|
-
}
|
|
11
|
-
export declare enum IChatMessageType {
|
|
12
|
-
AGENT = "AGENT",
|
|
13
|
-
OTHER_PERSON = "OTHER_PERSON",
|
|
14
|
-
INFORMATION = "INFORMATION"
|
|
15
|
-
}
|
|
1
|
+
export interface IChatMessage {
|
|
2
|
+
username?: string;
|
|
3
|
+
text: string;
|
|
4
|
+
/**
|
|
5
|
+
* What type of chat message. Defaults to OTHER_PERSON
|
|
6
|
+
*/
|
|
7
|
+
type?: IChatMessageType;
|
|
8
|
+
timestamp?: string;
|
|
9
|
+
userIcon?: URL;
|
|
10
|
+
}
|
|
11
|
+
export declare enum IChatMessageType {
|
|
12
|
+
AGENT = "AGENT",
|
|
13
|
+
OTHER_PERSON = "OTHER_PERSON",
|
|
14
|
+
INFORMATION = "INFORMATION"
|
|
15
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface IChatSettings {
|
|
2
|
-
sendImage: URL;
|
|
3
|
-
maxHeight?: string;
|
|
4
|
-
fallbackUserIcon?: URL;
|
|
5
|
-
disableSendMessage?: boolean;
|
|
6
|
-
}
|
|
1
|
+
export interface IChatSettings {
|
|
2
|
+
sendImage: URL;
|
|
3
|
+
maxHeight?: string;
|
|
4
|
+
fallbackUserIcon?: URL;
|
|
5
|
+
disableSendMessage?: boolean;
|
|
6
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IMetadata } from "./uilibrary.model";
|
|
2
|
-
export interface IDisposition {
|
|
3
|
-
dispositionHeader: string;
|
|
4
|
-
dispositionMetadata: IMetadata[];
|
|
5
|
-
disposition: Map<string, string>;
|
|
6
|
-
checkedDisposition: string;
|
|
7
|
-
}
|
|
8
|
-
export interface IDispositionResult {
|
|
9
|
-
dispositionId: string;
|
|
10
|
-
dispositionName: string;
|
|
11
|
-
dispositionMetadata: IMetadata[];
|
|
12
|
-
}
|
|
1
|
+
import { IMetadata } from "./uilibrary.model";
|
|
2
|
+
export interface IDisposition {
|
|
3
|
+
dispositionHeader: string;
|
|
4
|
+
dispositionMetadata: IMetadata[];
|
|
5
|
+
disposition: Map<string, string>;
|
|
6
|
+
checkedDisposition: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IDispositionResult {
|
|
9
|
+
dispositionId: string;
|
|
10
|
+
dispositionName: string;
|
|
11
|
+
dispositionMetadata: IMetadata[];
|
|
12
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export interface ILoginData {
|
|
2
|
-
header: string;
|
|
3
|
-
fields: ILoginField[];
|
|
4
|
-
}
|
|
5
|
-
export interface ILoginField {
|
|
6
|
-
name: string;
|
|
7
|
-
type: string;
|
|
8
|
-
value?: string;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
isRequired?: boolean;
|
|
11
|
-
invalidMessage: string;
|
|
12
|
-
isInvalid?: boolean;
|
|
13
|
-
}
|
|
1
|
+
export interface ILoginData {
|
|
2
|
+
header: string;
|
|
3
|
+
fields: ILoginField[];
|
|
4
|
+
}
|
|
5
|
+
export interface ILoginField {
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
isRequired?: boolean;
|
|
11
|
+
invalidMessage: string;
|
|
12
|
+
isInvalid?: boolean;
|
|
13
|
+
}
|