vue-wiguet-chatweb 0.1.23 → 0.1.24
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/dist/App.vue.d.ts +2 -0
- package/dist/components/Chat.vue.d.ts +16 -6
- package/dist/components/ChatMessage.vue.d.ts +12 -0
- package/dist/components/DangerIcon.vue.d.ts +1 -1
- package/dist/components/IconAttach.vue.d.ts +2 -0
- package/dist/components/IconChat.vue.d.ts +1 -1
- package/dist/components/IconClose.vue.d.ts +1 -1
- package/dist/components/IconSend.vue.d.ts +1 -1
- package/dist/components/IconTelegram.vue.d.ts +1 -1
- package/dist/components/IconWhatsApp.vue.d.ts +1 -1
- package/dist/components/IconWidget.vue.d.ts +1 -1
- package/dist/components/Loader.vue.d.ts +1 -1
- package/dist/components/LoadingComponent.vue.d.ts +21 -0
- package/dist/components/MessageList.vue.d.ts +12 -6
- package/dist/components/ODialog/IPropsDialog.d.ts +6 -0
- package/dist/components/ODialog/IPropsSidebar.d.ts +14 -0
- package/dist/components/ODialog/ODialog.vue.d.ts +26 -0
- package/dist/components/Widget.vue.d.ts +10 -6
- package/dist/components/sidebar/SidebarHeader.vue.d.ts +36 -0
- package/dist/dto/app.dto.d.ts +9 -1
- package/dist/hooks/useMobile.d.ts +3 -0
- package/dist/index.d.ts +1 -1
- package/dist/store/config.d.ts +1 -1
- package/dist/store/index.d.ts +1 -4
- package/dist/style.css +1 -1
- package/dist/vue-wiguet-chatweb.js +3296 -2622
- package/dist/vue-wiguet-chatweb.umd.cjs +17 -7
- package/package.json +7 -7
- package/src/components/Chat.vue +147 -53
- package/src/components/IconAttach.vue +24 -0
- package/src/components/IconSend.vue +1 -1
- package/src/components/LoadingComponent.vue +111 -0
- package/src/components/MessageList.vue +22 -4
- package/src/components/ODialog/IPropsDialog.ts +10 -0
- package/src/components/ODialog/IPropsSidebar.ts +17 -0
- package/src/components/ODialog/ODialog.vue +82 -0
- package/src/components/sidebar/SidebarHeader.vue +40 -0
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
2
|
+
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { PropType } from
|
2
|
-
declare const _default: import(
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
3
3
|
titlePrincipal: {
|
4
4
|
type: StringConstructor;
|
5
5
|
default: string;
|
@@ -24,7 +24,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
24
24
|
type: BooleanConstructor;
|
25
25
|
required: true;
|
26
26
|
};
|
27
|
-
}
|
27
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
28
|
+
onQualifying: (...args: any[]) => void;
|
29
|
+
"show-toast": (...args: any[]) => void;
|
30
|
+
"show-confirm": (...args: any[]) => void;
|
31
|
+
"new-message": (...args: any[]) => void;
|
32
|
+
"clear-new-messages": (...args: any[]) => void;
|
33
|
+
"not-viewed-total": (...args: any[]) => void;
|
34
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
28
35
|
titlePrincipal: {
|
29
36
|
type: StringConstructor;
|
30
37
|
default: string;
|
@@ -49,14 +56,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
49
56
|
type: BooleanConstructor;
|
50
57
|
required: true;
|
51
58
|
};
|
52
|
-
}>> & {
|
59
|
+
}>> & Readonly<{
|
53
60
|
onOnQualifying?: ((...args: any[]) => any) | undefined;
|
54
61
|
"onShow-toast"?: ((...args: any[]) => any) | undefined;
|
55
62
|
"onShow-confirm"?: ((...args: any[]) => any) | undefined;
|
56
63
|
"onNew-message"?: ((...args: any[]) => any) | undefined;
|
57
64
|
"onClear-new-messages"?: ((...args: any[]) => any) | undefined;
|
58
65
|
"onNot-viewed-total"?: ((...args: any[]) => any) | undefined;
|
59
|
-
}
|
66
|
+
}>, {
|
60
67
|
titlePrincipal: string;
|
61
|
-
}, {}
|
68
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
69
|
+
messageContainerRef: HTMLDivElement;
|
70
|
+
textAreaRef: HTMLTextAreaElement;
|
71
|
+
}, any>;
|
62
72
|
export default _default;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
2
|
+
message: {
|
3
|
+
type: ObjectConstructor;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
7
|
+
message: {
|
8
|
+
type: ObjectConstructor;
|
9
|
+
required: true;
|
10
|
+
};
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
12
|
+
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
2
2
|
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
2
|
+
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
2
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import(
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, SVGSVGElement>;
|
2
2
|
export default _default;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
3
|
+
size: {
|
4
|
+
type: PropType<"small" | "normal">;
|
5
|
+
default: string;
|
6
|
+
};
|
7
|
+
footer_text: {
|
8
|
+
type: StringConstructor;
|
9
|
+
};
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
11
|
+
size: {
|
12
|
+
type: PropType<"small" | "normal">;
|
13
|
+
default: string;
|
14
|
+
};
|
15
|
+
footer_text: {
|
16
|
+
type: StringConstructor;
|
17
|
+
};
|
18
|
+
}>> & Readonly<{}>, {
|
19
|
+
size: "small" | "normal";
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
21
|
+
export default _default;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { PropType } from 'vue';
|
2
|
-
import {
|
3
|
-
declare const _default: import(
|
2
|
+
import { Message } from '../dto/app.dto';
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
4
4
|
messages: {
|
5
5
|
type: PropType<Message[]>;
|
6
6
|
default: () => never[];
|
@@ -9,7 +9,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
9
9
|
type: BooleanConstructor;
|
10
10
|
default: boolean;
|
11
11
|
};
|
12
|
-
}
|
12
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
13
|
+
loadMore: (...args: any[]) => void;
|
14
|
+
retry: (...args: any[]) => void;
|
15
|
+
onQualifying: (...args: any[]) => void;
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
13
17
|
messages: {
|
14
18
|
type: PropType<Message[]>;
|
15
19
|
default: () => never[];
|
@@ -18,12 +22,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
18
22
|
type: BooleanConstructor;
|
19
23
|
default: boolean;
|
20
24
|
};
|
21
|
-
}>> & {
|
25
|
+
}>> & Readonly<{
|
22
26
|
onLoadMore?: ((...args: any[]) => any) | undefined;
|
23
27
|
onRetry?: ((...args: any[]) => any) | undefined;
|
24
28
|
onOnQualifying?: ((...args: any[]) => any) | undefined;
|
25
|
-
}
|
29
|
+
}>, {
|
26
30
|
messages: Message[];
|
27
31
|
canLoadMoreMessages: boolean;
|
28
|
-
}, {}
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
33
|
+
target: HTMLDivElement;
|
34
|
+
}, any>;
|
29
35
|
export default _default;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { IPropsSidebar } from './IPropsSidebar';
|
2
|
+
import { DialogProps } from 'primevue/dialog';
|
3
|
+
export interface IPropsDialog extends Omit<IPropsSidebar, 'position'> {
|
4
|
+
position?: DialogProps['position'];
|
5
|
+
'onUpdate:modelValue'?: (args: IPropsDialog['modelValue']) => void;
|
6
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { DrawerProps } from 'primevue/drawer';
|
2
|
+
export interface IPropsSidebar {
|
3
|
+
modelValue: boolean;
|
4
|
+
dismissable?: boolean;
|
5
|
+
position?: DrawerProps['position'];
|
6
|
+
title?: string;
|
7
|
+
isLoading?: boolean;
|
8
|
+
hideActions?: boolean;
|
9
|
+
hideHeader?: boolean;
|
10
|
+
acceptFn?: () => Promise<boolean>;
|
11
|
+
beforeAcceptFn?: () => Promise<boolean>;
|
12
|
+
disable?: boolean;
|
13
|
+
'onUpdate:modelValue'?: (args: IPropsSidebar['modelValue']) => void;
|
14
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { IPropsDialog } from './IPropsDialog';
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
attrs: Partial<{}>;
|
4
|
+
slots: {
|
5
|
+
default?(_: {}): any;
|
6
|
+
};
|
7
|
+
refs: {};
|
8
|
+
rootEl: any;
|
9
|
+
};
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<IPropsDialog, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
12
|
+
"update:modelValue": (visible: boolean) => any;
|
13
|
+
accept: (args_0: void) => any;
|
14
|
+
}, string, import('vue').PublicProps, Readonly<IPropsDialog> & Readonly<{
|
15
|
+
"onUpdate:modelValue"?: ((visible: boolean) => any) | undefined;
|
16
|
+
onAccept?: ((args_0?: void | undefined) => any) | undefined;
|
17
|
+
}>, {
|
18
|
+
beforeAcceptFn: () => Promise<boolean>;
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
21
|
+
export default _default;
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
23
|
+
new (): {
|
24
|
+
$slots: S;
|
25
|
+
};
|
26
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { PropType } from
|
2
|
-
declare const _default: import(
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
3
3
|
tokenAuth: {
|
4
4
|
type: StringConstructor;
|
5
5
|
required: true;
|
@@ -19,7 +19,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
19
19
|
type: BooleanConstructor;
|
20
20
|
default: boolean;
|
21
21
|
};
|
22
|
-
}
|
22
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
23
|
+
onQualifying: (...args: any[]) => void;
|
24
|
+
"show-toast": (...args: any[]) => void;
|
25
|
+
"show-confirm": (...args: any[]) => void;
|
26
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
23
27
|
tokenAuth: {
|
24
28
|
type: StringConstructor;
|
25
29
|
required: true;
|
@@ -39,11 +43,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
39
43
|
type: BooleanConstructor;
|
40
44
|
default: boolean;
|
41
45
|
};
|
42
|
-
}>> & {
|
46
|
+
}>> & Readonly<{
|
43
47
|
onOnQualifying?: ((...args: any[]) => any) | undefined;
|
44
48
|
"onShow-toast"?: ((...args: any[]) => any) | undefined;
|
45
49
|
"onShow-confirm"?: ((...args: any[]) => any) | undefined;
|
46
|
-
}
|
50
|
+
}>, {
|
47
51
|
isDarkMode: boolean;
|
48
|
-
}, {}>;
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
49
53
|
export default _default;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { PropType } from 'vue';
|
2
|
+
declare function __VLS_template(): {
|
3
|
+
attrs: Partial<{}>;
|
4
|
+
slots: {
|
5
|
+
content?(_: {}): any;
|
6
|
+
};
|
7
|
+
refs: {};
|
8
|
+
rootEl: HTMLElement;
|
9
|
+
};
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
12
|
+
closeFn: {
|
13
|
+
type: PropType<(event: Event) => void>;
|
14
|
+
required: true;
|
15
|
+
};
|
16
|
+
title: {
|
17
|
+
type: StringConstructor;
|
18
|
+
required: false;
|
19
|
+
};
|
20
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
21
|
+
closeFn: {
|
22
|
+
type: PropType<(event: Event) => void>;
|
23
|
+
required: true;
|
24
|
+
};
|
25
|
+
title: {
|
26
|
+
type: StringConstructor;
|
27
|
+
required: false;
|
28
|
+
};
|
29
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
31
|
+
export default _default;
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
33
|
+
new (): {
|
34
|
+
$slots: S;
|
35
|
+
};
|
36
|
+
};
|
package/dist/dto/app.dto.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { TypeMessageTypeCodes } from '../resources/constants/message-type.constant';
|
1
2
|
export interface IResponse<T> {
|
2
3
|
error: boolean;
|
3
4
|
message: string;
|
@@ -48,7 +49,9 @@ export interface SendMessageBody {
|
|
48
49
|
message: string;
|
49
50
|
esCliente: boolean;
|
50
51
|
appChatId: string;
|
52
|
+
codigoTipoMensaje?: TypeMessageTypeCodes;
|
51
53
|
mensajeARespondeId?: string;
|
54
|
+
files?: File[];
|
52
55
|
}
|
53
56
|
export interface ListMessageBody {
|
54
57
|
appChatId: string;
|
@@ -72,11 +75,16 @@ export interface Message {
|
|
72
75
|
};
|
73
76
|
response?: Message | string;
|
74
77
|
messageType?: MessageType;
|
78
|
+
urlFile?: string;
|
79
|
+
thumbnailFile?: string;
|
80
|
+
file?: File & {
|
81
|
+
objectURL: string;
|
82
|
+
};
|
75
83
|
}
|
76
84
|
export interface MessageType {
|
77
85
|
id?: number;
|
78
86
|
code: number;
|
79
|
-
nombre
|
87
|
+
nombre?: string;
|
80
88
|
}
|
81
89
|
export interface Sender {
|
82
90
|
nombreCompleto: string;
|
package/dist/index.d.ts
CHANGED
package/dist/store/config.d.ts
CHANGED
package/dist/store/index.d.ts
CHANGED
@@ -1,7 +1,4 @@
|
|
1
|
-
import { ListMessageBody } from
|
2
|
-
import { ChatInformation } from "../dto/app.dto";
|
3
|
-
import { SendMessageBody } from "../dto/app.dto";
|
4
|
-
import { Message } from "../dto/app.dto";
|
1
|
+
import { ListMessageBody, ChatInformation, SendMessageBody, Message } from '../dto/app.dto';
|
5
2
|
export declare const messagesByAppAndPhone: (data?: any) => Promise<any>;
|
6
3
|
export declare const sendMessageByAppAndPhone: (data?: any) => Promise<void>;
|
7
4
|
export declare function getMessagesApi(data: {
|
package/dist/style.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
.bubble[data-v-
|
1
|
+
.bubble[data-v-d73d4995]{--r: 25px;--t: 30px;padding:calc(2 * var(--r) / 3);-webkit-mask:radial-gradient(var(--t) at var(--_d) 0,#0000 98%,#000 102%) var(--_d) 100% / calc(100% - var(--r)) var(--t) no-repeat,conic-gradient(at var(--r) var(--r),#000 75%,#0000 0) calc(var(--r) / -2) calc(var(--r) / -2) padding-box,radial-gradient(50% 50%,#000 98%,#0000 101%) 0 0 / var(--r) var(--r) space padding-box;mask:radial-gradient(var(--t) at var(--_d) 0,#0000 98%,#000 102%) var(--_d) 100% / calc(100% - var(--r)) var(--t) no-repeat,conic-gradient(at var(--r) var(--r),#000 75%,#0000 0) calc(var(--r) / -2) calc(var(--r) / -2) padding-box,radial-gradient(50% 50%,#000 98%,#0000 101%) 0 0 / var(--r) var(--r) space padding-box;color:#fff;height:100%}.left[data-v-d73d4995]{--_d: 0%;border-left:var(--t) solid #0000;margin-right:0;background-color:#fcd7ae;color:#4d4d4d}.bubble>.content-left[data-v-d73d4995]{margin-right:10px;margin-bottom:1px}.right[data-v-d73d4995]{--_d: 100%;border-right:var(--t) solid #0000;margin-right:0;background-color:#fdeedb;color:#4d4d4d}.bubble>.content-right[data-v-d73d4995]{margin-bottom:1px;margin-right:10px}.message-text[data-v-d73d4995]{margin-bottom:10px;overflow-wrap:break-word}.detail-message[data-v-d73d4995]{font-size:10px;color:gray;display:flex;justify-content:space-between}.chat-message[data-v-d73d4995]{display:flex;flex-direction:column;justify-content:center}.message[data-v-d73d4995]{width:100%;display:flex}.message-left[data-v-d73d4995]{justify-content:start}.message-right[data-v-d73d4995]{justify-content:end}.target[data-v-d73d4995]{padding:.5rem 0;width:100%}.btn-danger[data-v-d73d4995]{background-color:transparent;border:0;border-radius:50%;cursor:pointer;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.btn-danger svg[data-v-d73d4995]{width:24px;height:24px}.btn-danger[data-v-d73d4995]:hover{background-color:#ff00003a}.btn-container-widget[data-v-d73d4995]{display:flex;align-items:center;position:absolute;left:-40px;top:50%;transform:translateY(-50%)}.message-container[data-v-d73d4995]{min-width:80%;max-width:80%;position:relative;margin-bottom:.5rem}.messages-container-list[data-v-d73d4995]{width:100%}.icon[data-v-d73d4995]{width:2rem}.btn-icon[data-v-d73d4995]{text-decoration:none;border:none;color:#9ca3af}.btn-icon[data-v-d73d4995]:hover:not(.content-disabled){color:#1f2937}.btn-icon span[data-v-d73d4995]{text-wrap:nowrap}.btn-icon .icon[data-v-d73d4995]{font-size:2rem}.flex[data-v-d73d4995]{display:flex;flex-wrap:wrap}.flex-col[data-v-d73d4995]{flex-direction:column}.items-center[data-v-d73d4995]{align-items:center}.gap-2[data-v-d73d4995]{gap:.5rem}.mb-2[data-v-d73d4995]{margin-bottom:8px}.mt-2[data-v-d73d4995]{margin-top:8px}.content-disabled[data-v-d73d4995]{-webkit-filter:grayscale(1);filter:grayscale(1);opacity:.5}.justify-between[data-v-d73d4995]{justify-content:space-between}.spinner_ajPY[data-v-d9a6b2b7]{fill:#fe6d00;transform-origin:center;animation:spinner_AtaB-d9a6b2b7 .75s infinite linear}@keyframes spinner_AtaB-d9a6b2b7{to{transform:rotate(360deg)}}.auth-loading[data-v-decccef5]{position:absolute;width:100%;height:100%;background:#555555bf;left:0;top:0;z-index:999999;display:flex;flex-direction:column;align-items:center;justify-content:center}.icon_1[data-v-decccef5]{animation:rotate-decccef5 2s linear infinite;height:200px}.sm-loader-size[data-v-decccef5]{height:40px}@keyframes rotate-decccef5{to{transform:rotate(-360deg)}}.icon_2[data-v-decccef5]{width:115px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.btn-primary[data-v-118e9544]{padding:10px 12px}.btn-primary[data-v-118e9544]:hover{background-color:#f28b0c1a}.btn-close[data-v-118e9544]{padding:0;background-color:transparent;border:none;display:flex;align-items:center;border-radius:50%}.btn-close[data-v-118e9544]:hover{background-color:#cacaca88}.messages-container[data-v-118e9544]{position:relative}.loader[data-v-118e9544]{position:absolute;top:18px;z-index:5;left:50%;transform:translate(-50%,-50%)}.fit[data-v-118e9544]{width:100%;height:100%;position:relative}.center[data-v-118e9544]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.message-send-block[data-v-118e9544]{display:block;margin:1.5rem;text-align:center}.header-widget{height:5%;display:flex;justify-content:space-between;align-items:center}.jl2-input-chat{height:20px;width:95%;border:none;resize:none;margin-left:8px;margin-top:8px;margin-bottom:8px;overflow:hidden;max-height:10rem}.jl2-input-chat:focus-visible{outline:none}.jl-inputgroup-chat{width:100%;border:1px solid;border-color:#f28b0c;background:var(--surface-a);color:var(--surface-500);-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:13px;display:flex;justify-content:space-around;align-items:center}.jl-inputgroup-chat>input{border:none;background:none}.jl-inputgroup-chat>input:hover{outline:none}.form-message{display:flex;justify-content:space-between}.form-message button,.jl-inputgroup-chat>button{border:none!important;background:none}.form-message button,.jl-inputgroup-chat>button:focus{box-shadow:none}.form-message button,.jl-inputgroup-chat>button:active{box-shadow:none}.widget{margin:auto;height:100%;display:flex;width:100%;flex-direction:column;justify-content:space-evenly}.messages-container{height:80%;overflow-y:scroll;border:1px solid lightgray;border-radius:.5rem;scrollbar-color:red transparent;scrollbar-width:thin;scrollbar-color:#F28B0C transparent;scrollbar-track-color:transparent;scrollbar-face-color:#F28B0C;scrollbar-thumb-color:#F28B0C}.messages-container::-webkit-scrollbar{width:8px}.messages-container::-webkit-scrollbar-track{background-color:transparent}.messages-container::-webkit-scrollbar-thumb{background-color:#f28b0c;border-radius:8px}.input-message{border-left:1px solid var(--fge-gray-lines-color);border-right:1px solid var(--fge-gray-lines-color)}.message-send{padding-top:20px;width:90%;margin:auto}#chat-circle{margin:auto;position:fixed;bottom:50px;right:50px;color:#fff;cursor:pointer}.title-chat{font-size:1rem;font-weight:700;color:var(--chat-text-color);margin:0}.chat-box{display:flex;justify-content:center;align-items:center;border:2px solid #d9d9d9;border-radius:25px;padding:5px 15px 30px;background:#fff;position:fixed;right:30px;bottom:50px;width:450px;height:70vh;max-width:85vw;max-height:80vh;box-shadow:0 5px 35px 9px #ccc}.pointer{cursor:pointer}.disabled[data-v-c7da0c7e]{color:currentColor;cursor:not-allowed!important;opacity:.4!important;text-decoration:none}.container-buttons-chat[data-v-c7da0c7e]{position:relative;right:-1.8rem}.button[data-v-c7da0c7e]{position:absolute;width:2.5rem;height:2.5rem;opacity:0;box-shadow:0 1px 3px 1px silver;border-radius:100%;border:1px solid white;background-color:#fff;overflow:hidden;cursor:pointer;transition:transform .5s ease,opacity .3s ease;z-index:-1}.container-buttons-chat.active>a[data-v-c7da0c7e]{z-index:1;opacity:1}.container-buttons-chat.active .whatsapp[data-v-c7da0c7e]{transform:translateY(-150px)}.container-buttons-chat.active .telegram[data-v-c7da0c7e]{transform:translateY(-100px)}.container-buttons-chat.active .webchat[data-v-c7da0c7e]{transform:translateY(-50px)}.widget-container[data-v-c7da0c7e]{position:relative}.new-message-badge[data-v-c7da0c7e]{position:absolute;background-color:red;width:30px;height:30px;display:flex;font-family:Roboto,sans-serif;align-items:center;font-weight:500;justify-content:center;border-radius:50%;right:-2px;top:-4px;z-index:2}
|