@amc-technology/ui-library 1.0.99 → 1.0.101

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 (127) hide show
  1. package/esm2022/amc-technology-ui-library.mjs +5 -0
  2. package/esm2022/projects/UILibrary/src/app/Helpers.mjs +11 -0
  3. package/esm2022/projects/UILibrary/src/app/components/activity/activity.component.mjs +79 -0
  4. package/esm2022/projects/UILibrary/src/app/components/chat-box/chat-box.component.mjs +137 -0
  5. package/esm2022/projects/UILibrary/src/app/components/chat-message/chat-message.component.mjs +40 -0
  6. package/esm2022/projects/UILibrary/src/app/components/create/create.component.mjs +34 -0
  7. package/esm2022/projects/UILibrary/src/app/components/current-activity/current-activity.component.mjs +170 -0
  8. package/esm2022/projects/UILibrary/src/app/components/disposition/disposition.component.mjs +47 -0
  9. package/esm2022/projects/UILibrary/src/app/components/duration/duration.component.mjs +58 -0
  10. package/esm2022/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.mjs +72 -0
  11. package/esm2022/projects/UILibrary/src/app/components/interaction/interaction.component.mjs +98 -0
  12. package/esm2022/projects/UILibrary/src/app/components/login/login.component.mjs +41 -0
  13. package/esm2022/projects/UILibrary/src/app/components/operation/operation.component.mjs +56 -0
  14. package/esm2022/projects/UILibrary/src/app/components/property/property.component.mjs +106 -0
  15. package/esm2022/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.mjs +144 -0
  16. package/esm2022/projects/UILibrary/src/app/components/scenario/scenario.component.mjs +38 -0
  17. package/esm2022/projects/UILibrary/src/app/components/search-information/search-information.component.mjs +160 -0
  18. package/esm2022/projects/UILibrary/src/app/models/IActivity.mjs +2 -0
  19. package/esm2022/projects/UILibrary/src/app/models/IActivityDetails.mjs +2 -0
  20. package/esm2022/projects/UILibrary/src/app/models/IHoldActivityDetails.mjs +2 -0
  21. package/esm2022/projects/UILibrary/src/app/models/IInteractionActivityDetails.mjs +2 -0
  22. package/esm2022/projects/UILibrary/src/app/models/chat.message.mjs +7 -0
  23. package/esm2022/projects/UILibrary/src/app/models/chat.settings.mjs +2 -0
  24. package/esm2022/projects/UILibrary/src/app/models/disposition.interface.mjs +2 -0
  25. package/esm2022/projects/UILibrary/src/app/models/login.interface.mjs +2 -0
  26. package/esm2022/projects/UILibrary/src/app/models/uilibrary.model.mjs +61 -0
  27. package/esm2022/projects/UILibrary/src/app/uilibrary.module.mjs +106 -0
  28. package/esm2022/public_api.mjs +10 -0
  29. package/fesm2022/amc-technology-ui-library.mjs +1393 -0
  30. package/fesm2022/amc-technology-ui-library.mjs.map +1 -0
  31. package/index.d.ts +5 -0
  32. package/package.json +26 -21
  33. package/projects/UILibrary/src/app/Helpers.d.ts +1 -1
  34. package/projects/UILibrary/src/app/components/activity/activity.component.d.ts +26 -23
  35. package/projects/UILibrary/src/app/components/chat-box/chat-box.component.d.ts +38 -35
  36. package/projects/UILibrary/src/app/components/chat-message/chat-message.component.d.ts +16 -13
  37. package/projects/UILibrary/src/app/components/create/create.component.d.ts +14 -11
  38. package/projects/UILibrary/src/app/components/current-activity/current-activity.component.d.ts +37 -34
  39. package/projects/UILibrary/src/app/components/disposition/disposition.component.d.ts +15 -12
  40. package/projects/UILibrary/src/app/components/duration/duration.component.d.ts +19 -16
  41. package/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.d.ts +24 -21
  42. package/projects/UILibrary/src/app/components/interaction/interaction.component.d.ts +44 -41
  43. package/projects/UILibrary/src/app/components/login/login.component.d.ts +14 -11
  44. package/projects/UILibrary/src/app/components/operation/operation.component.d.ts +25 -22
  45. package/projects/UILibrary/src/app/components/property/property.component.d.ts +44 -41
  46. package/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.d.ts +38 -35
  47. package/projects/UILibrary/src/app/components/scenario/scenario.component.d.ts +16 -13
  48. package/projects/UILibrary/src/app/components/search-information/search-information.component.d.ts +29 -26
  49. package/projects/UILibrary/src/app/models/IActivity.d.ts +36 -36
  50. package/projects/UILibrary/src/app/models/IActivityDetails.d.ts +7 -7
  51. package/projects/UILibrary/src/app/models/IHoldActivityDetails.d.ts +10 -10
  52. package/projects/UILibrary/src/app/models/IInteractionActivityDetails.d.ts +9 -9
  53. package/projects/UILibrary/src/app/models/chat.message.d.ts +15 -15
  54. package/projects/UILibrary/src/app/models/chat.settings.d.ts +6 -6
  55. package/projects/UILibrary/src/app/models/disposition.interface.d.ts +12 -12
  56. package/projects/UILibrary/src/app/models/login.interface.d.ts +13 -13
  57. package/projects/UILibrary/src/app/models/uilibrary.model.d.ts +281 -281
  58. package/projects/UILibrary/src/app/uilibrary.module.d.ts +30 -7
  59. package/public_api.d.ts +9 -1
  60. package/webcomponents/webcomponents.js +3 -3
  61. package/amc-technology-ui-library.d.ts +0 -19
  62. package/amc-technology-ui-library.metadata.json +0 -1
  63. package/bundles/amc-technology-ui-library.umd.js +0 -1653
  64. package/bundles/amc-technology-ui-library.umd.js.map +0 -1
  65. package/bundles/amc-technology-ui-library.umd.min.js +0 -16
  66. package/bundles/amc-technology-ui-library.umd.min.js.map +0 -1
  67. package/esm2015/amc-technology-ui-library.js +0 -20
  68. package/esm2015/projects/UILibrary/src/app/Helpers.js +0 -11
  69. package/esm2015/projects/UILibrary/src/app/components/activity/activity.component.js +0 -83
  70. package/esm2015/projects/UILibrary/src/app/components/chat-box/chat-box.component.js +0 -139
  71. package/esm2015/projects/UILibrary/src/app/components/chat-message/chat-message.component.js +0 -44
  72. package/esm2015/projects/UILibrary/src/app/components/create/create.component.js +0 -35
  73. package/esm2015/projects/UILibrary/src/app/components/current-activity/current-activity.component.js +0 -169
  74. package/esm2015/projects/UILibrary/src/app/components/disposition/disposition.component.js +0 -49
  75. package/esm2015/projects/UILibrary/src/app/components/duration/duration.component.js +0 -58
  76. package/esm2015/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.js +0 -72
  77. package/esm2015/projects/UILibrary/src/app/components/interaction/interaction.component.js +0 -93
  78. package/esm2015/projects/UILibrary/src/app/components/login/login.component.js +0 -43
  79. package/esm2015/projects/UILibrary/src/app/components/operation/operation.component.js +0 -57
  80. package/esm2015/projects/UILibrary/src/app/components/property/property.component.js +0 -99
  81. package/esm2015/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.js +0 -142
  82. package/esm2015/projects/UILibrary/src/app/components/scenario/scenario.component.js +0 -43
  83. package/esm2015/projects/UILibrary/src/app/components/search-information/search-information.component.js +0 -155
  84. package/esm2015/projects/UILibrary/src/app/models/IActivity.js +0 -1
  85. package/esm2015/projects/UILibrary/src/app/models/IActivityDetails.js +0 -1
  86. package/esm2015/projects/UILibrary/src/app/models/IHoldActivityDetails.js +0 -1
  87. package/esm2015/projects/UILibrary/src/app/models/IInteractionActivityDetails.js +0 -1
  88. package/esm2015/projects/UILibrary/src/app/models/chat.message.js +0 -7
  89. package/esm2015/projects/UILibrary/src/app/models/chat.settings.js +0 -1
  90. package/esm2015/projects/UILibrary/src/app/models/disposition.interface.js +0 -1
  91. package/esm2015/projects/UILibrary/src/app/models/login.interface.js +0 -1
  92. package/esm2015/projects/UILibrary/src/app/models/uilibrary.model.js +0 -40
  93. package/esm2015/projects/UILibrary/src/app/uilibrary.module.js +0 -83
  94. package/esm2015/public_api.js +0 -2
  95. package/esm5/amc-technology-ui-library.js +0 -20
  96. package/esm5/projects/UILibrary/src/app/Helpers.js +0 -11
  97. package/esm5/projects/UILibrary/src/app/components/activity/activity.component.js +0 -84
  98. package/esm5/projects/UILibrary/src/app/components/chat-box/chat-box.component.js +0 -140
  99. package/esm5/projects/UILibrary/src/app/components/chat-message/chat-message.component.js +0 -45
  100. package/esm5/projects/UILibrary/src/app/components/create/create.component.js +0 -36
  101. package/esm5/projects/UILibrary/src/app/components/current-activity/current-activity.component.js +0 -174
  102. package/esm5/projects/UILibrary/src/app/components/disposition/disposition.component.js +0 -61
  103. package/esm5/projects/UILibrary/src/app/components/duration/duration.component.js +0 -60
  104. package/esm5/projects/UILibrary/src/app/components/holdtimer/holdtimer.component.js +0 -74
  105. package/esm5/projects/UILibrary/src/app/components/interaction/interaction.component.js +0 -98
  106. package/esm5/projects/UILibrary/src/app/components/login/login.component.js +0 -66
  107. package/esm5/projects/UILibrary/src/app/components/operation/operation.component.js +0 -58
  108. package/esm5/projects/UILibrary/src/app/components/property/property.component.js +0 -101
  109. package/esm5/projects/UILibrary/src/app/components/recent-activity/recent-activity.component.js +0 -144
  110. package/esm5/projects/UILibrary/src/app/components/scenario/scenario.component.js +0 -44
  111. package/esm5/projects/UILibrary/src/app/components/search-information/search-information.component.js +0 -156
  112. package/esm5/projects/UILibrary/src/app/models/IActivity.js +0 -1
  113. package/esm5/projects/UILibrary/src/app/models/IActivityDetails.js +0 -1
  114. package/esm5/projects/UILibrary/src/app/models/IHoldActivityDetails.js +0 -1
  115. package/esm5/projects/UILibrary/src/app/models/IInteractionActivityDetails.js +0 -1
  116. package/esm5/projects/UILibrary/src/app/models/chat.message.js +0 -7
  117. package/esm5/projects/UILibrary/src/app/models/chat.settings.js +0 -1
  118. package/esm5/projects/UILibrary/src/app/models/disposition.interface.js +0 -1
  119. package/esm5/projects/UILibrary/src/app/models/login.interface.js +0 -1
  120. package/esm5/projects/UILibrary/src/app/models/uilibrary.model.js +0 -43
  121. package/esm5/projects/UILibrary/src/app/uilibrary.module.js +0 -84
  122. package/esm5/public_api.js +0 -2
  123. package/fesm2015/amc-technology-ui-library.js +0 -1360
  124. package/fesm2015/amc-technology-ui-library.js.map +0 -1
  125. package/fesm5/amc-technology-ui-library.js +0 -1423
  126. package/fesm5/amc-technology-ui-library.js.map +0 -1
  127. 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
+ }