@evercam/ui 0.0.63-preview-update-eui-307bb2b24 → 0.0.63-preview-admin-copilot-e9a0bbd17
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 +1 -0
- package/dist/attributes.json +53 -0
- package/dist/components/EAvatar.vue.d.ts +1 -0
- package/dist/components/EEvercamLogo.vue.d.ts +6 -0
- package/dist/components/EPulsatingDot.vue.d.ts +18 -0
- package/dist/components/chat/EChat.vue.d.ts +17 -3
- package/dist/components/chat/EChatBody.vue.d.ts +8 -2
- package/dist/components/chat/EChatFooter.vue.d.ts +7 -1
- package/dist/components/chat/EChatHeader.vue.d.ts +7 -1
- package/dist/components/chat/EChatInput.vue.d.ts +22 -2
- package/dist/components/chat/EChatMessage.vue.d.ts +7 -1
- package/dist/components/chat/EChatWrapper.vue.d.ts +2 -0
- package/dist/index.d.ts +17 -2
- package/dist/index.mjs +2407 -2002
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +13 -13
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/styles.css +27553 -27487
- package/dist/tags.json +12 -1
- package/dist/types.d.ts +10 -2
- package/dist/utils.d.ts +4 -0
- package/dist/web-types.json +100 -1
- package/package.json +8 -6
package/README.md
CHANGED
package/dist/attributes.json
CHANGED
|
@@ -978,5 +978,58 @@
|
|
|
978
978
|
"type": "string",
|
|
979
979
|
"description": "",
|
|
980
980
|
"default": "You"
|
|
981
|
+
},
|
|
982
|
+
"EChat/embedded": {
|
|
983
|
+
"type": "boolean",
|
|
984
|
+
"description": "",
|
|
985
|
+
"default": false
|
|
986
|
+
},
|
|
987
|
+
"EChat/show-header": {
|
|
988
|
+
"type": "boolean",
|
|
989
|
+
"description": "",
|
|
990
|
+
"default": true
|
|
991
|
+
},
|
|
992
|
+
"EChat/inline-footer": {
|
|
993
|
+
"type": "boolean",
|
|
994
|
+
"description": "",
|
|
995
|
+
"default": false
|
|
996
|
+
},
|
|
997
|
+
"EChat/height": {
|
|
998
|
+
"type": "string",
|
|
999
|
+
"description": ""
|
|
1000
|
+
},
|
|
1001
|
+
"EChat/width": {
|
|
1002
|
+
"type": "string",
|
|
1003
|
+
"description": ""
|
|
1004
|
+
},
|
|
1005
|
+
"EChat/show-user-avatar": {
|
|
1006
|
+
"type": "boolean",
|
|
1007
|
+
"description": "",
|
|
1008
|
+
"default": true
|
|
1009
|
+
},
|
|
1010
|
+
"EChat/show-copilot-avatar": {
|
|
1011
|
+
"type": "boolean",
|
|
1012
|
+
"description": "",
|
|
1013
|
+
"default": true
|
|
1014
|
+
},
|
|
1015
|
+
"EChat/readonly": {
|
|
1016
|
+
"type": "boolean",
|
|
1017
|
+
"description": "",
|
|
1018
|
+
"default": false
|
|
1019
|
+
},
|
|
1020
|
+
"EChat/is-loading": {
|
|
1021
|
+
"type": "boolean",
|
|
1022
|
+
"description": "",
|
|
1023
|
+
"default": false
|
|
1024
|
+
},
|
|
1025
|
+
"EChat/header-text": {
|
|
1026
|
+
"type": "string",
|
|
1027
|
+
"description": "",
|
|
1028
|
+
"default": "Evercam Copilot"
|
|
1029
|
+
},
|
|
1030
|
+
"EChat/input-placeholder": {
|
|
1031
|
+
"type": "string",
|
|
1032
|
+
"description": "",
|
|
1033
|
+
"default": "Message Copilot"
|
|
981
1034
|
}
|
|
982
1035
|
}
|
|
@@ -2,6 +2,7 @@ import Vue from "vue";
|
|
|
2
2
|
import { BaseColor, Size } from '../types';
|
|
3
3
|
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
4
4
|
sizes: {
|
|
5
|
+
"2xs": string;
|
|
5
6
|
xs: string;
|
|
6
7
|
sm: string;
|
|
7
8
|
base: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown, unknown, {
|
|
3
|
+
size: string;
|
|
4
|
+
backgroundClasses: string;
|
|
5
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Vue from "vue";
|
|
2
|
+
import { toRgba } from '../utils';
|
|
3
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, {
|
|
4
|
+
toRgba: typeof toRgba;
|
|
5
|
+
}, {
|
|
6
|
+
computedSize: string;
|
|
7
|
+
computedMargin: string;
|
|
8
|
+
computedShadowSize: string;
|
|
9
|
+
computedSecondaryColor: string;
|
|
10
|
+
dotContainerStyle: Record<string, any>;
|
|
11
|
+
shadowStyle: Record<string, any>;
|
|
12
|
+
secondShadowStyle: Record<string, any>;
|
|
13
|
+
dotStyle: Record<string, any>;
|
|
14
|
+
}, {
|
|
15
|
+
size: number;
|
|
16
|
+
color: string;
|
|
17
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
18
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
import { ChatMessage } from '../../types';
|
|
2
|
+
import { ChatMessage, ChatMessageRole } from '../../types';
|
|
3
3
|
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
4
4
|
prompt: string;
|
|
5
5
|
containerHeight: number;
|
|
@@ -9,15 +9,29 @@ declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, a
|
|
|
9
9
|
}, {
|
|
10
10
|
sendMessage(): void;
|
|
11
11
|
isUserMessage(message: ChatMessage): boolean;
|
|
12
|
-
getMessageContent(message: ChatMessage): string;
|
|
13
|
-
onBodyResized(): void;
|
|
12
|
+
getMessageContent(message: ChatMessage): string | string[];
|
|
14
13
|
updateChatBodyHeight(): void;
|
|
14
|
+
isAvatarVisible(message: ChatMessage): boolean;
|
|
15
15
|
}, {
|
|
16
|
+
ChatMessageRole: typeof ChatMessageRole;
|
|
16
17
|
userInitials: string;
|
|
17
18
|
chatBodyStyle: Record<string, unknown>;
|
|
19
|
+
wrapperStyle: Record<string, unknown>;
|
|
20
|
+
bodyBorderClasses: Record<string, boolean>;
|
|
18
21
|
}, {
|
|
19
22
|
dark: boolean;
|
|
20
23
|
messages: ChatMessage[];
|
|
21
24
|
user: string;
|
|
25
|
+
embedded: boolean;
|
|
26
|
+
showHeader: boolean;
|
|
27
|
+
inlineFooter: boolean;
|
|
28
|
+
height: string;
|
|
29
|
+
width: string;
|
|
30
|
+
showUserAvatar: boolean;
|
|
31
|
+
showCopilotAvatar: boolean;
|
|
32
|
+
readonly: boolean;
|
|
33
|
+
isLoading: boolean;
|
|
34
|
+
headerText: string;
|
|
35
|
+
inputPlaceholder: string;
|
|
22
36
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
23
37
|
export default _default;
|
|
@@ -2,14 +2,20 @@ import Vue from "vue";
|
|
|
2
2
|
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
3
3
|
autoScroll: boolean;
|
|
4
4
|
previousChildCount: number;
|
|
5
|
+
showGoToBottomButton: boolean;
|
|
5
6
|
}, {
|
|
6
7
|
onContentResized(): void;
|
|
7
8
|
scrollToBottom(): void;
|
|
8
9
|
disableAutoScroll(): void;
|
|
9
10
|
onScroll(): void;
|
|
10
|
-
onWheel(): void;
|
|
11
|
+
onWheel(e: WheelEvent): void;
|
|
11
12
|
onKeyUp(event: KeyboardEvent): void;
|
|
12
13
|
onTouch(): void;
|
|
13
14
|
onTouchMove(): void;
|
|
14
|
-
},
|
|
15
|
+
}, {
|
|
16
|
+
bodyClasses: Record<string, boolean>;
|
|
17
|
+
goToBottomButtonClasses: Record<string, boolean>;
|
|
18
|
+
}, {
|
|
19
|
+
dark: boolean;
|
|
20
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
15
21
|
export default _default;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown,
|
|
2
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown, {
|
|
3
|
+
backgroundClasses: Record<string, boolean>;
|
|
4
|
+
footerClasses: Record<string, boolean>;
|
|
5
|
+
}, {
|
|
6
|
+
dark: boolean;
|
|
7
|
+
inline: boolean;
|
|
8
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
3
9
|
export default _default;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown,
|
|
2
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown, {
|
|
3
|
+
backgroundClasses: Record<string, boolean>;
|
|
4
|
+
headerClasses: Record<string, boolean>;
|
|
5
|
+
logoClasses: Record<string, boolean>;
|
|
6
|
+
}, {
|
|
3
7
|
title: string;
|
|
8
|
+
hidden: boolean;
|
|
9
|
+
dark: boolean;
|
|
4
10
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
5
11
|
export default _default;
|
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>,
|
|
2
|
+
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
3
|
+
content: string;
|
|
4
|
+
maxHeight: number;
|
|
5
|
+
textAreaHeight: number;
|
|
6
|
+
isShiftKeyPressed: boolean;
|
|
7
|
+
}, {
|
|
8
|
+
focus(): void;
|
|
9
|
+
submitMessage(): void;
|
|
3
10
|
onInput(e: Event): void;
|
|
4
|
-
|
|
11
|
+
onKeyDown(e: KeyboardEvent): void;
|
|
12
|
+
onKeyUp(e: KeyboardEvent): void;
|
|
13
|
+
updateTextAreaHeight(): void;
|
|
14
|
+
}, {
|
|
15
|
+
textAreaContainerClasses: Record<string, boolean>;
|
|
16
|
+
textAreaClasses: Record<string, boolean>;
|
|
17
|
+
buttonClasses: Record<string, boolean>;
|
|
18
|
+
textareaStyle: Record<string, string>;
|
|
19
|
+
isOverflowing: boolean;
|
|
20
|
+
}, {
|
|
21
|
+
dark: boolean;
|
|
22
|
+
placeholder: string;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
5
25
|
export default _default;
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
|
-
import { ChatMessageRole } from '../../types';
|
|
2
|
+
import { ChatMessageRole, Size } from '../../types';
|
|
3
3
|
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown, {
|
|
4
|
+
Size: typeof Size;
|
|
4
5
|
isBotRole: boolean;
|
|
5
6
|
isStream: boolean;
|
|
7
|
+
userMessageClasses: Record<string, boolean>;
|
|
8
|
+
logoClasses: Record<string, boolean>;
|
|
9
|
+
dotColor: string;
|
|
6
10
|
}, {
|
|
7
11
|
role: ChatMessageRole;
|
|
8
12
|
initials: string;
|
|
9
13
|
message: string | string[];
|
|
10
14
|
isLoading: boolean;
|
|
11
15
|
avatarSrc: string;
|
|
16
|
+
showAvatar: boolean;
|
|
17
|
+
dark: boolean;
|
|
12
18
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
13
19
|
export default _default;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import Vue from "vue";
|
|
2
2
|
declare const _default: import("vue/types/vue").ExtendedVue<Vue<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => Vue<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown, {
|
|
3
|
+
borderClasses: Record<string, boolean>;
|
|
3
4
|
wrapperClasses: Record<string, boolean>;
|
|
4
5
|
}, {
|
|
5
6
|
dark: boolean;
|
|
7
|
+
embedded: boolean;
|
|
6
8
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
7
9
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import ELayout from "./components/ELayout.vue";
|
|
|
30
30
|
export declare const components: {
|
|
31
31
|
EAvatar: import("vue/types/vue").ExtendedVue<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, {
|
|
32
32
|
sizes: {
|
|
33
|
+
"2xs": string;
|
|
33
34
|
xs: string;
|
|
34
35
|
sm: string;
|
|
35
36
|
base: string;
|
|
@@ -1105,16 +1106,30 @@ export declare const components: {
|
|
|
1105
1106
|
}, {
|
|
1106
1107
|
sendMessage(): void;
|
|
1107
1108
|
isUserMessage(message: import('./types').ChatMessage): boolean;
|
|
1108
|
-
getMessageContent(message: import('./types').ChatMessage): string;
|
|
1109
|
-
onBodyResized(): void;
|
|
1109
|
+
getMessageContent(message: import('./types').ChatMessage): string | string[];
|
|
1110
1110
|
updateChatBodyHeight(): void;
|
|
1111
|
+
isAvatarVisible(message: import('./types').ChatMessage): boolean;
|
|
1111
1112
|
}, {
|
|
1113
|
+
ChatMessageRole: typeof import('./types').ChatMessageRole;
|
|
1112
1114
|
userInitials: string;
|
|
1113
1115
|
chatBodyStyle: Record<string, unknown>;
|
|
1116
|
+
wrapperStyle: Record<string, unknown>;
|
|
1117
|
+
bodyBorderClasses: Record<string, boolean>;
|
|
1114
1118
|
}, {
|
|
1115
1119
|
dark: boolean;
|
|
1116
1120
|
messages: import('./types').ChatMessage[];
|
|
1117
1121
|
user: string;
|
|
1122
|
+
embedded: boolean;
|
|
1123
|
+
showHeader: boolean;
|
|
1124
|
+
inlineFooter: boolean;
|
|
1125
|
+
height: string;
|
|
1126
|
+
width: string;
|
|
1127
|
+
showUserAvatar: boolean;
|
|
1128
|
+
showCopilotAvatar: boolean;
|
|
1129
|
+
readonly: boolean;
|
|
1130
|
+
isLoading: boolean;
|
|
1131
|
+
headerText: string;
|
|
1132
|
+
inputPlaceholder: string;
|
|
1118
1133
|
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin>;
|
|
1119
1134
|
EContextProvider: any;
|
|
1120
1135
|
};
|