@phonghq/go-chat 1.0.48 → 1.0.49
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/go-chat.es.js +347 -347
- package/dist/go-chat.umd.js +13 -13
- package/dist/test/chat/page/home/PhoneNumpad.vue.js +7 -8
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
|
|
2
2
|
import { ref } from 'vue';
|
|
3
3
|
import DrawerBaseCustom from '../../../components/common/drawer/DrawerBaseCustom.vue';
|
|
4
|
-
import { responsiveObserver } from '../../../composable/useListentEvent';
|
|
5
4
|
import PhoneNumpad from '../../../views/home/phone-numpad/PhoneNumpad.vue';
|
|
6
5
|
const emit = defineEmits();
|
|
7
6
|
const props = withDefaults(defineProps(), {});
|
|
@@ -28,9 +27,9 @@ const __VLS_ctx = {
|
|
|
28
27
|
let __VLS_elements;
|
|
29
28
|
let __VLS_components;
|
|
30
29
|
let __VLS_directives;
|
|
31
|
-
if (__VLS_ctx.
|
|
30
|
+
if (__VLS_ctx.responsive == 'window') {
|
|
32
31
|
// @ts-ignore
|
|
33
|
-
[
|
|
32
|
+
[responsive,];
|
|
34
33
|
/** @type {[typeof PhoneNumpad, ]} */ ;
|
|
35
34
|
// @ts-ignore
|
|
36
35
|
const __VLS_0 = __VLS_asFunctionalComponent(PhoneNumpad, new PhoneNumpad({
|
|
@@ -52,12 +51,12 @@ if (__VLS_ctx.responsiveObserver == 'window') {
|
|
|
52
51
|
const __VLS_5 = ({ call: {} },
|
|
53
52
|
{ onCall: (__VLS_ctx.handleCall) });
|
|
54
53
|
// @ts-ignore
|
|
55
|
-
[
|
|
54
|
+
[responsive, hideNumpad, handleCall,];
|
|
56
55
|
var __VLS_2;
|
|
57
56
|
}
|
|
58
|
-
if (__VLS_ctx.
|
|
57
|
+
if (__VLS_ctx.responsive != 'window') {
|
|
59
58
|
// @ts-ignore
|
|
60
|
-
[
|
|
59
|
+
[responsive,];
|
|
61
60
|
/** @type {[typeof DrawerBaseCustom, typeof DrawerBaseCustom, ]} */ ;
|
|
62
61
|
// @ts-ignore
|
|
63
62
|
const __VLS_7 = __VLS_asFunctionalComponent(DrawerBaseCustom, new DrawerBaseCustom({
|
|
@@ -102,11 +101,11 @@ if (__VLS_ctx.responsiveObserver != 'window') {
|
|
|
102
101
|
{ onCall: (__VLS_ctx.handleCall) });
|
|
103
102
|
const __VLS_20 = ({ back: {} },
|
|
104
103
|
{ onBack: (...[$event]) => {
|
|
105
|
-
if (!(__VLS_ctx.
|
|
104
|
+
if (!(__VLS_ctx.responsive != 'window'))
|
|
106
105
|
return;
|
|
107
106
|
__VLS_ctx.drawerVisibleRef?.close();
|
|
108
107
|
// @ts-ignore
|
|
109
|
-
[
|
|
108
|
+
[responsive, hideNumpad, handleCall, drawerVisibleRef,];
|
|
110
109
|
} });
|
|
111
110
|
/** @type {typeof __VLS_ctx.phoneNumpadRef} */ ;
|
|
112
111
|
var __VLS_21 = {};
|