@phonghq/go-chat 1.0.43 → 1.0.45

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 (106) hide show
  1. package/dist/assets/icons/IconPlan.vue.d.ts +13 -1
  2. package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +13 -1
  3. package/dist/assets/icons/customer-detail/IconPhone.vue.d.ts +13 -1
  4. package/dist/chat/App.vue.d.ts +13 -2
  5. package/dist/chat/page/home/ChatList.vue.d.ts +2 -0
  6. package/dist/chat/page/home/ChatMessageItem.vue.d.ts +1 -0
  7. package/dist/chat/page/home/ChatMessageItem2.vue.d.ts +19 -0
  8. package/dist/chat/page/home/Home.vue.d.ts +2 -0
  9. package/dist/chat/page/home/InputChat.vue.d.ts +2 -0
  10. package/dist/components/chat/call/Calling.vue.d.ts +4 -2
  11. package/dist/components/chat/common/tabs/TabBase.vue.d.ts +18 -0
  12. package/dist/components/common/drawer/DrawerBaseCustom.vue.d.ts +1 -1
  13. package/dist/components/ui/select/Select.vue.d.ts +20 -0
  14. package/dist/components/ui/select/SelectContent.vue.d.ts +24 -0
  15. package/dist/components/ui/select/SelectGroup.vue.d.ts +10 -0
  16. package/dist/components/ui/select/SelectItem.vue.d.ts +18 -0
  17. package/dist/components/ui/select/SelectItemText.vue.d.ts +10 -0
  18. package/dist/components/ui/select/SelectLabel.vue.d.ts +14 -0
  19. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +14 -0
  20. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +14 -0
  21. package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
  22. package/dist/components/ui/select/SelectTrigger.vue.d.ts +17 -0
  23. package/dist/components/ui/select/SelectValue.vue.d.ts +10 -0
  24. package/dist/components/ui/select/index.d.ts +11 -0
  25. package/dist/components/ui/tabs/Tabs.vue.d.ts +20 -0
  26. package/dist/components/ui/tabs/TabsContent.vue.d.ts +14 -0
  27. package/dist/components/ui/tabs/TabsList.vue.d.ts +14 -0
  28. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +14 -0
  29. package/dist/components/ui/tabs/index.d.ts +4 -0
  30. package/dist/composable/useInitData.d.ts +1 -1
  31. package/dist/composable/useListConversations.d.ts +1 -1
  32. package/dist/composable/useListentEvent.d.ts +5 -0
  33. package/dist/composable/usePlivo.d.ts +1 -0
  34. package/dist/constant/color.d.ts +2 -2
  35. package/dist/go-chat.es.js +14753 -14211
  36. package/dist/go-chat.umd.js +15 -15
  37. package/dist/style.css +1 -1
  38. package/dist/test/assets/icons/IconPlan.vue.js +23 -3
  39. package/dist/test/assets/icons/call/IconPhone.vue.js +6 -19
  40. package/dist/test/assets/icons/call/IconPhoneCancel.vue.js +32 -21
  41. package/dist/test/assets/icons/customer-detail/IconPhone.vue.js +23 -3
  42. package/dist/test/chat/App.vue.js +218 -301
  43. package/dist/test/chat/page/customer-check-in/CustomerCheckIn.vue.js +3 -1
  44. package/dist/test/chat/page/customer-detail/CustomerDetail.vue.js +2 -2
  45. package/dist/test/chat/page/home/ChatList.vue.js +64 -34
  46. package/dist/test/chat/page/home/ChatMessage.vue.js +10 -1
  47. package/dist/test/chat/page/home/ChatMessageItem.vue.js +63 -80
  48. package/dist/test/chat/page/home/ChatMessageItem2.vue.js +351 -0
  49. package/dist/test/chat/page/home/Home.vue.js +15 -7
  50. package/dist/test/chat/page/home/HomeHeader.vue.js +8 -4
  51. package/dist/test/chat/page/home/InputChat.vue.js +58 -37
  52. package/dist/test/components/chat/call/Calling.vue.js +111 -67
  53. package/dist/test/components/chat/common/tab/TabBase.vue.js +1 -0
  54. package/dist/test/components/chat/common/tabs/TabBase.vue.js +92 -0
  55. package/dist/test/components/chat/layout/mobile/Footer.vue.js +6 -1
  56. package/dist/test/components/common/drawer/DrawerBaseCustom.vue.js +1 -0
  57. package/dist/test/components/common/select/SelectBase.vue.js +139 -0
  58. package/dist/test/components/ui/select/Select.vue.js +49 -0
  59. package/dist/test/components/ui/select/SelectContent.vue.js +98 -0
  60. package/dist/test/components/ui/select/SelectGroup.vue.js +37 -0
  61. package/dist/test/components/ui/select/SelectItem.vue.js +86 -0
  62. package/dist/test/components/ui/select/SelectItemText.vue.js +37 -0
  63. package/dist/test/components/ui/select/SelectLabel.vue.js +40 -0
  64. package/dist/test/components/ui/select/SelectScrollDownButton.vue.js +58 -0
  65. package/dist/test/components/ui/select/SelectScrollUpButton.vue.js +58 -0
  66. package/dist/test/components/ui/select/SelectSeparator.vue.js +39 -0
  67. package/dist/test/components/ui/select/SelectTrigger.vue.js +76 -0
  68. package/dist/test/components/ui/select/SelectValue.vue.js +37 -0
  69. package/dist/test/components/ui/select/index.js +11 -0
  70. package/dist/test/components/ui/tabs/Tabs.vue.js +54 -0
  71. package/dist/test/components/ui/tabs/TabsContent.vue.js +44 -0
  72. package/dist/test/components/ui/tabs/TabsList.vue.js +44 -0
  73. package/dist/test/components/ui/tabs/TabsTrigger.vue.js +45 -0
  74. package/dist/test/components/ui/tabs/index.js +4 -0
  75. package/dist/test/composable/useInitData.js +5 -5
  76. package/dist/test/composable/useListConversations.js +32 -29
  77. package/dist/test/composable/useListentEvent.js +48 -0
  78. package/dist/test/composable/usePlivo.js +6 -1
  79. package/dist/test/constant/color.js +4 -2
  80. package/dist/test/plugins/axios-gci.js +1 -1
  81. package/dist/test/utils/chat/auth.js +1 -1
  82. package/dist/test/utils/chat/call.js +2 -3
  83. package/dist/test/utils/chat/conversation.js +2 -2
  84. package/dist/test/utils/chat/page-error.js +25 -0
  85. package/dist/test/utils/chat/user.js +7 -2
  86. package/dist/test/utils/string-helper.js +13 -0
  87. package/dist/types/chat/global.d.ts +6 -5
  88. package/dist/types/conversation.d.ts +1 -0
  89. package/dist/utils/chat/auth.d.ts +1 -1
  90. package/dist/utils/chat/conversation.d.ts +1 -0
  91. package/dist/utils/chat/page-error.d.ts +4 -0
  92. package/dist/utils/chat/user.d.ts +3 -0
  93. package/dist/utils/string-helper.d.ts +1 -0
  94. package/package.json +3 -2
  95. package/dist/components/layout/Blank.vue.d.ts +0 -9
  96. package/dist/components/layout/Default.vue.d.ts +0 -9
  97. package/dist/components/modal/Confirm.vue.d.ts +0 -2
  98. package/dist/composable/useError.d.ts +0 -4
  99. package/dist/composable/useModalConfirm.d.ts +0 -5
  100. package/dist/test/components/ListenEvent.vue.js +0 -45
  101. package/dist/test/components/layout/Blank.vue.js +0 -19
  102. package/dist/test/components/layout/Default.vue.js +0 -21
  103. package/dist/test/components/modal/Confirm.vue.js +0 -164
  104. package/dist/test/composable/useError.js +0 -10
  105. package/dist/test/composable/useModalConfirm.js +0 -39
  106. /package/dist/components/{ListenEvent.vue.d.ts → common/select/SelectBase.vue.d.ts} +0 -0
@@ -13,16 +13,14 @@ import { currentPage, routerPush } from '../utils/chat/chat-router';
13
13
  import BaseSpin from '../components/chat/common/spin/BaseSpin.vue';
14
14
  import Calling from '../components/chat/call/Calling.vue';
15
15
  import { dataProfile, logout } from '../utils/chat/auth';
16
- import MobileFooter from '../components/chat/layout/mobile/Footer.vue';
17
16
  import '../style/index.scss';
18
- import { useDebounce } from '../utils/debounce';
19
17
  import { defineRootColor } from '../constant/color';
20
18
  import IconCloseCircle from '../assets/icons/IconCloseCircle.vue';
21
19
  import Setting from '../chat/page/setting/Setting.vue';
22
20
  import SettingSuccess from '../chat/page/setting/SettingSuccess.vue';
23
- import { goChatError } from '../composable/useError';
24
21
  import NotTenantPhone from '../views/NotTenantPhone.vue';
25
22
  import { phoneNumberFormat } from '../utils/string-helper';
23
+ import { responsiveObserver, useListenEvent } from '../composable/useListentEvent';
26
24
  const routerConfig = [
27
25
  { id: PAGE.HOME, backFunc: null, backTitle: '' },
28
26
  {
@@ -91,21 +89,29 @@ const routerMobileConfig = computed(() => [
91
89
  }
92
90
  ]);
93
91
  const props = withDefaults(defineProps(), {
94
- response: 'tablet',
92
+ response: 'tablet'
95
93
  });
96
94
  const emit = defineEmits();
95
+ const handleExposeInit = (init_data) => {
96
+ if (init_data?.conversation_id) {
97
+ chatListRef.value?.initData({
98
+ conversation_id: init_data?.conversation_id,
99
+ is_unknown: init_data?.is_unknown || '0'
100
+ });
101
+ }
102
+ else
103
+ chatListRef.value?.initData();
104
+ };
97
105
  const { initPage } = useInitData();
106
+ const { getResponsiveObserver } = useListenEvent(handleExposeInit);
98
107
  onMounted(() => {
108
+ getResponsiveObserver();
99
109
  if (props.isLib) {
100
110
  defineRootColor();
111
+ handleInitPage();
101
112
  }
102
- getResponsiveObserver();
103
- window.addEventListener('resize', getResponsiveObserverDebounce);
104
- handleInitPage();
105
- });
106
- onUnmounted(() => {
107
- window.removeEventListener('resize', getResponsiveObserverDebounce);
108
113
  });
114
+ onUnmounted(() => { });
109
115
  const currentPageConfig = computed(() => {
110
116
  if (responsiveRender.value === 'mobile') {
111
117
  return routerMobileConfig.value.find((e) => e.id == currentPage.value);
@@ -119,8 +125,12 @@ const unreadCount = computed(() => {
119
125
  return ((chatListRef.value?.listConversationsAll?.reduce((total, cur) => total + (cur?.unread_count ?? 0), 0) ?? 0) +
120
126
  (chatListRef.value?.listConversationsUnknown?.reduce((total, cur) => total + (cur?.unread_count ?? 0), 0) ?? 0));
121
127
  });
128
+ const currentConversation = computed(() => {
129
+ return (chatListRef.value?.listConversationsAll.find((e) => e.receiver_id == receiverId.value) ??
130
+ chatListRef.value?.listConversationsUnknown.find((e) => e.receiver_id == receiverId.value) ??
131
+ null);
132
+ });
122
133
  const callStatus = computed(() => callingRef.value?.callStatus ?? null);
123
- const responsiveObserver = ref('tablet');
124
134
  const appChatRef = ref();
125
135
  const callingRef = ref(null);
126
136
  const receiverId = ref(null);
@@ -128,8 +138,6 @@ const customerDetailRef = ref(null);
128
138
  const homeComponentRef = ref(null);
129
139
  const chatListRef = ref(null);
130
140
  const drawerVisibleRef = ref(null);
131
- const mediaPermissionError = ref('');
132
- const mediaPermissionState = ref('granted');
133
141
  const selectReceiver = async (data) => {
134
142
  if (receiverId.value != data?.receiver_id || responsiveRender.value === 'mobile') {
135
143
  if (currentPage.value != PAGE.HOME) {
@@ -142,31 +150,36 @@ const selectReceiver = async (data) => {
142
150
  }
143
151
  };
144
152
  const handleCall = (user) => {
145
- callingRef.value?.startCall(user);
146
- };
147
- const getResponsiveObserver = () => {
148
- if (!appChatRef.value)
153
+ if (dataProfile.value?.user_type != 'tenant')
149
154
  return;
150
- const width = appChatRef.value?.offsetWidth ?? 0;
151
- if (width >= 640) {
152
- if (responsiveObserver.value != 'tablet') {
153
- responsiveObserver.value = 'tablet';
154
- }
155
+ if (callingRef.value) {
156
+ callingRef.value?.startCall(user);
155
157
  }
156
158
  else {
157
- if (responsiveObserver.value != 'mobile') {
158
- if (currentPage.value == PAGE.HOME) {
159
- currentPage.value = PAGE.CHAT_LIST;
160
- }
161
- responsiveObserver.value = 'mobile';
162
- }
159
+ emit('call', user);
163
160
  }
164
161
  };
165
- const getResponsiveObserverDebounce = useDebounce(() => {
166
- getResponsiveObserver();
167
- }, 50);
162
+ // const getResponsiveObserver = () => {
163
+ // if (!appChatRef.value) return
164
+ // const width = appChatRef.value?.offsetWidth ?? 0
165
+ // if (width >= 640) {
166
+ // if (responsiveObserver.value != 'tablet') {
167
+ // responsiveObserver.value = 'tablet'
168
+ // }
169
+ // } else {
170
+ // if (responsiveObserver.value != 'mobile') {
171
+ // if (currentPage.value == PAGE.HOME) {
172
+ // currentPage.value = PAGE.CHAT_LIST
173
+ // }
174
+ // responsiveObserver.value = 'mobile'
175
+ // }
176
+ // }
177
+ // }
178
+ // const getResponsiveObserverDebounce = useDebounce(() => {
179
+ // getResponsiveObserver()
180
+ // }, 50)
168
181
  const handleInitPage = async () => {
169
- const init_data = await initPage({ props: props, response: responsiveRender.value });
182
+ const init_data = await initPage({ props: props, responsive: responsiveRender.value });
170
183
  if (!dataProfile.value?.tenant_phone && dataProfile.value?.user_type == 'tenant') {
171
184
  emit('error:noPhoneTenant');
172
185
  routerPush(PAGE.NOT_TENANT_PHONE);
@@ -177,62 +190,25 @@ const handleInitPage = async () => {
177
190
  // routerPush(PAGE.REGISTER_TENANT)
178
191
  // }
179
192
  }
180
- if (init_data?.conversation_id) {
181
- chatListRef.value?.initData({ conversation_id: init_data?.conversation_id, is_unknown: init_data?.is_unknown || '0' });
182
- }
183
- else
184
- chatListRef.value?.initData();
185
- };
186
- const handleEndCall = (data, type) => {
187
- setTimeout(() => {
188
- if (data?.phone && homeComponentRef.value?.infoUser?.phone == data?.phone) {
189
- homeComponentRef.value?.handleGetMessage({ resetList: true });
190
- }
191
- // publicTopicConversationUpdate({
192
- // infoUser: homeComponentRef.value?.infoUser ?? null,
193
- // isCall: type
194
- // })
195
- }, 2000);
193
+ handleExposeInit(init_data);
196
194
  };
195
+ // const handleEndCall = (data: IResUser | null, type: string) => {
196
+ // setTimeout(() => {
197
+ // if (data?.phone && homeComponentRef.value?.infoUser?.phone == data?.phone) {
198
+ // // homeComponentRef.value?.handleGetMessage({ resetList: true })
199
+ // }
200
+ // // publicTopicConversationUpdate({
201
+ // // infoUser: homeComponentRef.value?.infoUser ?? null,
202
+ // // isCall: type
203
+ // // })
204
+ // }, 2000)
205
+ // }
197
206
  const openSettings = () => {
198
207
  drawerVisibleRef.value?.open();
199
208
  };
200
209
  const handleReadMessage = () => {
201
210
  chatListRef.value?.handleReadMessage();
202
211
  };
203
- const handleMedialPermissionError = async () => {
204
- if (navigator.permissions && navigator.permissions.query) {
205
- try {
206
- const result = await navigator.permissions.query({ name: 'microphone' });
207
- if (result.state == 'prompt') {
208
- goChatError.value =
209
- 'Microphone access is needed. Please allow microphone permission to continue.';
210
- }
211
- else if (result.state == 'denied') {
212
- goChatError.value =
213
- 'You have denied microphone access. Please enable microphone permission in your browser to continue the call.';
214
- }
215
- mediaPermissionState.value = result.state;
216
- }
217
- catch (err) {
218
- console.log(err);
219
- }
220
- }
221
- };
222
- const askMedialPermission = async () => {
223
- try {
224
- await navigator.mediaDevices.getUserMedia({ audio: true });
225
- window.location.reload();
226
- }
227
- catch (e) {
228
- console.log(e);
229
- }
230
- handleMedialPermissionError();
231
- };
232
- const reload = () => {
233
- ;
234
- window.location.reload();
235
- };
236
212
  let __VLS_exposed;
237
213
  defineExpose({
238
214
  get unreadCount() {
@@ -251,11 +227,12 @@ defineExpose({
251
227
  await callingRef.value?.answer();
252
228
  },
253
229
  endCall: () => callingRef.value?.endCall(),
254
- openSettings
230
+ openSettings,
231
+ initData: (data) => handleExposeInit(data),
255
232
  });
256
233
  debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
257
234
  const __VLS_defaults = {
258
- response: 'tablet',
235
+ response: 'tablet'
259
236
  };
260
237
  const __VLS_ctx = {
261
238
  ...{},
@@ -268,14 +245,13 @@ let __VLS_elements;
268
245
  let __VLS_components;
269
246
  let __VLS_directives;
270
247
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
271
- ...{ class: "go-chat-main max-w-full p-0 overscroll-x-none" },
272
- ...{ class: ({ 'md:p-8': !__VLS_ctx.isLib }) },
248
+ ...{ class: "go-chat-main max-w-full" },
273
249
  id: "appChatMain",
274
250
  ref: "appChatRef",
275
251
  });
276
252
  /** @type {typeof __VLS_ctx.appChatRef} */ ;
277
253
  // @ts-ignore
278
- [isLib, appChatRef,];
254
+ [appChatRef,];
279
255
  if (!__VLS_ctx.isRouterReady) {
280
256
  // @ts-ignore
281
257
  [isRouterReady,];
@@ -350,103 +326,52 @@ else if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE) {
350
326
  }
351
327
  else {
352
328
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
353
- ...{ class: "w-full h-full flex flex-col overflow-hidden relative" },
329
+ ...{ class: "grow h-full overflow-hidden flex flex-col" },
330
+ });
331
+ __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
332
+ ...{ class: "w-full grow flex overflow-hidden relative" },
354
333
  });
355
- if (__VLS_ctx.goChatError) {
334
+ if (__VLS_ctx.isLib) {
356
335
  // @ts-ignore
357
- [goChatError,];
358
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
359
- ...{ class: "shrink-0 w-full bg-chat-error text-white text-sm px-4 py-2 flex items-center justify-between gap-2" },
360
- });
361
- __VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
362
- (__VLS_ctx.goChatError);
336
+ [isLib,];
337
+ /** @type {[typeof Calling, ]} */ ;
363
338
  // @ts-ignore
364
- [goChatError,];
365
- if (__VLS_ctx.mediaPermissionState == 'prompt') {
366
- // @ts-ignore
367
- [mediaPermissionState,];
368
- __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
369
- ...{ onClick: (__VLS_ctx.askMedialPermission) },
370
- ...{ class: "bg-white min-h-10 text-chat-haze-600 font-bold w-[250px] rounded-lg" },
371
- });
372
- // @ts-ignore
373
- [askMedialPermission,];
374
- }
375
- else if (__VLS_ctx.mediaPermissionState == 'denied') {
376
- // @ts-ignore
377
- [mediaPermissionState,];
378
- __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
379
- }
380
- else {
381
- __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
382
- ...{ onClick: (...[$event]) => {
383
- if (!!(!__VLS_ctx.isRouterReady))
384
- return;
385
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
386
- return;
387
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
388
- return;
389
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
390
- return;
391
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
392
- return;
393
- if (!(__VLS_ctx.goChatError))
394
- return;
395
- if (!!(__VLS_ctx.mediaPermissionState == 'prompt'))
396
- return;
397
- if (!!(__VLS_ctx.mediaPermissionState == 'denied'))
398
- return;
399
- __VLS_ctx.reload();
400
- // @ts-ignore
401
- [reload,];
402
- } },
403
- ...{ class: "bg-white min-h-10 text-chat-haze-600 font-bold text-base w-[200px] rounded-lg" },
404
- });
405
- }
339
+ const __VLS_23 = __VLS_asFunctionalComponent(Calling, new Calling({
340
+ ...{ 'onUserCalling': {} },
341
+ ref: "callingRef",
342
+ responsive: (__VLS_ctx.responsiveRender),
343
+ }));
344
+ const __VLS_24 = __VLS_23({
345
+ ...{ 'onUserCalling': {} },
346
+ ref: "callingRef",
347
+ responsive: (__VLS_ctx.responsiveRender),
348
+ }, ...__VLS_functionalComponentArgsRest(__VLS_23));
349
+ let __VLS_26;
350
+ let __VLS_27;
351
+ const __VLS_28 = ({ userCalling: {} },
352
+ { onUserCalling: (...[$event]) => {
353
+ if (!!(!__VLS_ctx.isRouterReady))
354
+ return;
355
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
356
+ return;
357
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
358
+ return;
359
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
360
+ return;
361
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
362
+ return;
363
+ if (!(__VLS_ctx.isLib))
364
+ return;
365
+ __VLS_ctx.emit('userCalling', $event);
366
+ // @ts-ignore
367
+ [responsiveRender, emit,];
368
+ } });
369
+ /** @type {typeof __VLS_ctx.callingRef} */ ;
370
+ var __VLS_29 = {};
371
+ // @ts-ignore
372
+ [callingRef,];
373
+ var __VLS_25;
406
374
  }
407
- /** @type {[typeof Calling, ]} */ ;
408
- // @ts-ignore
409
- const __VLS_23 = __VLS_asFunctionalComponent(Calling, new Calling({
410
- ...{ 'onUserCalling': {} },
411
- ...{ 'onEndCall': {} },
412
- ...{ 'onError:mediaPermissionFail': {} },
413
- ref: "callingRef",
414
- responsive: (__VLS_ctx.responsiveRender),
415
- }));
416
- const __VLS_24 = __VLS_23({
417
- ...{ 'onUserCalling': {} },
418
- ...{ 'onEndCall': {} },
419
- ...{ 'onError:mediaPermissionFail': {} },
420
- ref: "callingRef",
421
- responsive: (__VLS_ctx.responsiveRender),
422
- }, ...__VLS_functionalComponentArgsRest(__VLS_23));
423
- let __VLS_26;
424
- let __VLS_27;
425
- const __VLS_28 = ({ userCalling: {} },
426
- { onUserCalling: (...[$event]) => {
427
- if (!!(!__VLS_ctx.isRouterReady))
428
- return;
429
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
430
- return;
431
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
432
- return;
433
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
434
- return;
435
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
436
- return;
437
- __VLS_ctx.emit('userCalling', $event);
438
- // @ts-ignore
439
- [responsiveRender, emit,];
440
- } });
441
- const __VLS_29 = ({ endCall: {} },
442
- { onEndCall: (__VLS_ctx.handleEndCall) });
443
- const __VLS_30 = ({ 'error:mediaPermissionFail': {} },
444
- { 'onError:mediaPermissionFail': (__VLS_ctx.handleMedialPermissionError) });
445
- /** @type {typeof __VLS_ctx.callingRef} */ ;
446
- var __VLS_31 = {};
447
- // @ts-ignore
448
- [handleEndCall, handleMedialPermissionError, callingRef,];
449
- var __VLS_25;
450
375
  if (__VLS_ctx.responsiveRender == 'mobile') {
451
376
  // @ts-ignore
452
377
  [responsiveRender,];
@@ -486,8 +411,8 @@ else {
486
411
  });
487
412
  /** @type {[typeof IconArrowLeft, ]} */ ;
488
413
  // @ts-ignore
489
- const __VLS_34 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
490
- const __VLS_35 = __VLS_34({}, ...__VLS_functionalComponentArgsRest(__VLS_34));
414
+ const __VLS_32 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
415
+ const __VLS_33 = __VLS_32({}, ...__VLS_functionalComponentArgsRest(__VLS_32));
491
416
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
492
417
  ...{ class: "ml-3" },
493
418
  });
@@ -504,7 +429,7 @@ else {
504
429
  // @ts-ignore
505
430
  [currentPageConfig,];
506
431
  }
507
- else if (__VLS_ctx.dataProfile?.user_type == 'tenant' || true) {
432
+ else if (__VLS_ctx.dataProfile?.user_type == 'tenant') {
508
433
  // @ts-ignore
509
434
  [dataProfile,];
510
435
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
@@ -548,63 +473,65 @@ else {
548
473
  });
549
474
  /** @type {[typeof IconCloseCircle, ]} */ ;
550
475
  // @ts-ignore
551
- const __VLS_38 = __VLS_asFunctionalComponent(IconCloseCircle, new IconCloseCircle({}));
552
- const __VLS_39 = __VLS_38({}, ...__VLS_functionalComponentArgsRest(__VLS_38));
476
+ const __VLS_36 = __VLS_asFunctionalComponent(IconCloseCircle, new IconCloseCircle({}));
477
+ const __VLS_37 = __VLS_36({}, ...__VLS_functionalComponentArgsRest(__VLS_36));
553
478
  }
554
479
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
555
480
  ...{ class: "grow overflow-hidden" },
556
481
  });
557
482
  /** @type {[typeof ChatList, ]} */ ;
558
483
  // @ts-ignore
559
- const __VLS_42 = __VLS_asFunctionalComponent(ChatList, new ChatList({
484
+ const __VLS_40 = __VLS_asFunctionalComponent(ChatList, new ChatList({
560
485
  ...{ 'onSelectReceiver': {} },
561
486
  ref: "chatListRef",
562
487
  ...{ class: "w-full max-w-[500px] !bg-[#F9FAFC]" },
563
488
  responsive: (__VLS_ctx.responsiveRender),
564
489
  receiverId: (__VLS_ctx.receiverId),
565
490
  }));
566
- const __VLS_43 = __VLS_42({
491
+ const __VLS_41 = __VLS_40({
567
492
  ...{ 'onSelectReceiver': {} },
568
493
  ref: "chatListRef",
569
494
  ...{ class: "w-full max-w-[500px] !bg-[#F9FAFC]" },
570
495
  responsive: (__VLS_ctx.responsiveRender),
571
496
  receiverId: (__VLS_ctx.receiverId),
572
- }, ...__VLS_functionalComponentArgsRest(__VLS_42));
573
- let __VLS_45;
574
- let __VLS_46;
575
- const __VLS_47 = ({ selectReceiver: {} },
497
+ }, ...__VLS_functionalComponentArgsRest(__VLS_40));
498
+ let __VLS_43;
499
+ let __VLS_44;
500
+ const __VLS_45 = ({ selectReceiver: {} },
576
501
  { onSelectReceiver: (__VLS_ctx.selectReceiver) });
577
502
  __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CHAT_LIST) }, null, null);
578
503
  /** @type {typeof __VLS_ctx.chatListRef} */ ;
579
- var __VLS_48 = {};
504
+ var __VLS_46 = {};
580
505
  // @ts-ignore
581
506
  [currentPage, PAGE, responsiveRender, receiverId, selectReceiver, chatListRef,];
582
- var __VLS_44;
507
+ var __VLS_42;
583
508
  /** @type {[typeof HomeComponent, ]} */ ;
584
509
  // @ts-ignore
585
- const __VLS_51 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
510
+ const __VLS_49 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
586
511
  ...{ 'onCall': {} },
587
512
  ...{ 'onBack': {} },
588
513
  ...{ 'onInputFocus': {} },
589
514
  ref: "homeComponentRef",
590
515
  receiverId: (__VLS_ctx.receiverId),
591
- ...{ class: "h-full pt-4" },
516
+ ...{ class: "h-full" },
517
+ conversation: (__VLS_ctx.currentConversation),
592
518
  responsive: (__VLS_ctx.responsiveRender),
593
519
  }));
594
- const __VLS_52 = __VLS_51({
520
+ const __VLS_50 = __VLS_49({
595
521
  ...{ 'onCall': {} },
596
522
  ...{ 'onBack': {} },
597
523
  ...{ 'onInputFocus': {} },
598
524
  ref: "homeComponentRef",
599
525
  receiverId: (__VLS_ctx.receiverId),
600
- ...{ class: "h-full pt-4" },
526
+ ...{ class: "h-full" },
527
+ conversation: (__VLS_ctx.currentConversation),
601
528
  responsive: (__VLS_ctx.responsiveRender),
602
- }, ...__VLS_functionalComponentArgsRest(__VLS_51));
603
- let __VLS_54;
604
- let __VLS_55;
605
- const __VLS_56 = ({ call: {} },
529
+ }, ...__VLS_functionalComponentArgsRest(__VLS_49));
530
+ let __VLS_52;
531
+ let __VLS_53;
532
+ const __VLS_54 = ({ call: {} },
606
533
  { onCall: (__VLS_ctx.handleCall) });
607
- const __VLS_57 = ({ back: {} },
534
+ const __VLS_55 = ({ back: {} },
608
535
  { onBack: (...[$event]) => {
609
536
  if (!!(!__VLS_ctx.isRouterReady))
610
537
  return;
@@ -620,113 +547,121 @@ else {
620
547
  return;
621
548
  __VLS_ctx.currentPageConfig.backFunc?.();
622
549
  // @ts-ignore
623
- [responsiveRender, currentPageConfig, receiverId, handleCall,];
550
+ [responsiveRender, currentPageConfig, receiverId, currentConversation, handleCall,];
624
551
  } });
625
- const __VLS_58 = ({ inputFocus: {} },
552
+ const __VLS_56 = ({ inputFocus: {} },
626
553
  { onInputFocus: (__VLS_ctx.handleReadMessage) });
627
554
  __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME) }, null, null);
628
555
  /** @type {typeof __VLS_ctx.homeComponentRef} */ ;
629
- var __VLS_59 = {};
556
+ var __VLS_57 = {};
630
557
  // @ts-ignore
631
558
  [currentPage, PAGE, handleReadMessage, homeComponentRef,];
632
- var __VLS_53;
559
+ var __VLS_51;
633
560
  if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
634
561
  // @ts-ignore
635
562
  [currentPage, PAGE,];
636
563
  /** @type {[typeof CustomerDetail, ]} */ ;
637
564
  // @ts-ignore
638
- const __VLS_62 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
565
+ const __VLS_60 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
639
566
  ref: "customerDetailRef",
640
567
  receiverId: (__VLS_ctx.receiverId),
641
568
  ...{ class: "w-full h-full" },
642
569
  responsive: (__VLS_ctx.responsiveRender),
643
570
  }));
644
- const __VLS_63 = __VLS_62({
571
+ const __VLS_61 = __VLS_60({
645
572
  ref: "customerDetailRef",
646
573
  receiverId: (__VLS_ctx.receiverId),
647
574
  ...{ class: "w-full h-full" },
648
575
  responsive: (__VLS_ctx.responsiveRender),
649
- }, ...__VLS_functionalComponentArgsRest(__VLS_62));
576
+ }, ...__VLS_functionalComponentArgsRest(__VLS_60));
650
577
  /** @type {typeof __VLS_ctx.customerDetailRef} */ ;
651
- var __VLS_65 = {};
578
+ var __VLS_63 = {};
652
579
  // @ts-ignore
653
580
  [responsiveRender, receiverId, customerDetailRef,];
654
- var __VLS_64;
581
+ var __VLS_62;
655
582
  }
656
583
  if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
657
584
  // @ts-ignore
658
585
  [currentPage, PAGE,];
659
586
  /** @type {[typeof CustomerCheckIn, ]} */ ;
660
587
  // @ts-ignore
661
- const __VLS_68 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
588
+ const __VLS_66 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
662
589
  ...{ class: "w-full h-full" },
663
590
  }));
664
- const __VLS_69 = __VLS_68({
591
+ const __VLS_67 = __VLS_66({
665
592
  ...{ class: "w-full h-full" },
666
- }, ...__VLS_functionalComponentArgsRest(__VLS_68));
593
+ }, ...__VLS_functionalComponentArgsRest(__VLS_66));
667
594
  }
668
595
  if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
669
596
  // @ts-ignore
670
597
  [currentPage, PAGE,];
671
598
  /** @type {[typeof CustomerAppointment, ]} */ ;
672
599
  // @ts-ignore
673
- const __VLS_72 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
600
+ const __VLS_70 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
674
601
  ...{ class: "w-full h-full" },
675
602
  }));
676
- const __VLS_73 = __VLS_72({
603
+ const __VLS_71 = __VLS_70({
677
604
  ...{ class: "w-full h-full" },
678
- }, ...__VLS_functionalComponentArgsRest(__VLS_72));
679
- }
680
- if (__VLS_ctx.currentPage != __VLS_ctx.PAGE.HOME) {
681
- // @ts-ignore
682
- [currentPage, PAGE,];
683
- /** @type {[typeof MobileFooter, ]} */ ;
684
- // @ts-ignore
685
- const __VLS_76 = __VLS_asFunctionalComponent(MobileFooter, new MobileFooter({
686
- ...{ class: "shrink-0" },
687
- }));
688
- const __VLS_77 = __VLS_76({
689
- ...{ class: "shrink-0" },
690
- }, ...__VLS_functionalComponentArgsRest(__VLS_76));
605
+ }, ...__VLS_functionalComponentArgsRest(__VLS_70));
691
606
  }
692
607
  }
693
608
  else {
694
609
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
695
- ...{ class: "flex gap-4 h-full relative" },
610
+ ...{ class: "flex h-full w-full relative" },
696
611
  });
697
612
  /** @type {[typeof ChatList, ]} */ ;
698
613
  // @ts-ignore
699
- const __VLS_80 = __VLS_asFunctionalComponent(ChatList, new ChatList({
614
+ const __VLS_74 = __VLS_asFunctionalComponent(ChatList, new ChatList({
700
615
  ...{ 'onSelectReceiver': {} },
616
+ ...{ 'onOpenPhoneNumpad': {} },
701
617
  ref: "chatListRef",
702
- ...{ class: "w-[38%] max-w-[500px] min-w-[450px]" },
618
+ ...{ class: "w-[38%] max-w-[500px] min-w-[300px] xl:min-w-[450px] border-r layout-border" },
703
619
  responsive: (__VLS_ctx.responsiveRender),
704
620
  receiverId: (__VLS_ctx.receiverId),
705
621
  }));
706
- const __VLS_81 = __VLS_80({
622
+ const __VLS_75 = __VLS_74({
707
623
  ...{ 'onSelectReceiver': {} },
624
+ ...{ 'onOpenPhoneNumpad': {} },
708
625
  ref: "chatListRef",
709
- ...{ class: "w-[38%] max-w-[500px] min-w-[450px]" },
626
+ ...{ class: "w-[38%] max-w-[500px] min-w-[300px] xl:min-w-[450px] border-r layout-border" },
710
627
  responsive: (__VLS_ctx.responsiveRender),
711
628
  receiverId: (__VLS_ctx.receiverId),
712
- }, ...__VLS_functionalComponentArgsRest(__VLS_80));
713
- let __VLS_83;
714
- let __VLS_84;
715
- const __VLS_85 = ({ selectReceiver: {} },
629
+ }, ...__VLS_functionalComponentArgsRest(__VLS_74));
630
+ let __VLS_77;
631
+ let __VLS_78;
632
+ const __VLS_79 = ({ selectReceiver: {} },
716
633
  { onSelectReceiver: (__VLS_ctx.selectReceiver) });
634
+ const __VLS_80 = ({ openPhoneNumpad: {} },
635
+ { onOpenPhoneNumpad: (...[$event]) => {
636
+ if (!!(!__VLS_ctx.isRouterReady))
637
+ return;
638
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
639
+ return;
640
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
641
+ return;
642
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
643
+ return;
644
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
645
+ return;
646
+ if (!!(__VLS_ctx.responsiveRender == 'mobile'))
647
+ return;
648
+ __VLS_ctx.emit('openPhoneNumpad');
649
+ // @ts-ignore
650
+ [responsiveRender, emit, receiverId, selectReceiver,];
651
+ } });
717
652
  /** @type {typeof __VLS_ctx.chatListRef} */ ;
718
- var __VLS_86 = {};
653
+ var __VLS_81 = {};
719
654
  // @ts-ignore
720
- [responsiveRender, receiverId, selectReceiver, chatListRef,];
721
- var __VLS_82;
655
+ [chatListRef,];
656
+ var __VLS_76;
722
657
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
723
- ...{ class: "chat-box-white grow flex flex-col h-full pt-6 overflow-hidden" },
658
+ ...{ class: "bg-white grow flex flex-col h-full overflow-hidden" },
724
659
  });
725
660
  if (__VLS_ctx.currentPageConfig?.backFunc) {
726
661
  // @ts-ignore
727
662
  [currentPageConfig,];
728
663
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
729
- ...{ class: "text-[#141B34] px-6" },
664
+ ...{ class: "text-[#141B34] px-6 mt-4" },
730
665
  });
731
666
  __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
732
667
  ...{ onClick: (...[$event]) => {
@@ -752,8 +687,8 @@ else {
752
687
  });
753
688
  /** @type {[typeof IconArrowLeft, ]} */ ;
754
689
  // @ts-ignore
755
- const __VLS_89 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
756
- const __VLS_90 = __VLS_89({}, ...__VLS_functionalComponentArgsRest(__VLS_89));
690
+ const __VLS_84 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
691
+ const __VLS_85 = __VLS_84({}, ...__VLS_functionalComponentArgsRest(__VLS_84));
757
692
  __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
758
693
  ...{ class: "text-xl font-semibold text-chat-haze-900 ml-3" },
759
694
  });
@@ -766,122 +701,102 @@ else {
766
701
  });
767
702
  /** @type {[typeof HomeComponent, ]} */ ;
768
703
  // @ts-ignore
769
- const __VLS_93 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
704
+ const __VLS_88 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
770
705
  ...{ 'onCall': {} },
771
706
  ...{ 'onInputFocus': {} },
772
707
  ref: "homeComponentRef",
773
708
  receiverId: (__VLS_ctx.receiverId),
774
709
  ...{ class: "h-full" },
775
710
  responsive: (__VLS_ctx.responsiveRender),
711
+ conversation: (__VLS_ctx.currentConversation),
776
712
  }));
777
- const __VLS_94 = __VLS_93({
713
+ const __VLS_89 = __VLS_88({
778
714
  ...{ 'onCall': {} },
779
715
  ...{ 'onInputFocus': {} },
780
716
  ref: "homeComponentRef",
781
717
  receiverId: (__VLS_ctx.receiverId),
782
718
  ...{ class: "h-full" },
783
719
  responsive: (__VLS_ctx.responsiveRender),
784
- }, ...__VLS_functionalComponentArgsRest(__VLS_93));
785
- let __VLS_96;
786
- let __VLS_97;
787
- const __VLS_98 = ({ call: {} },
720
+ conversation: (__VLS_ctx.currentConversation),
721
+ }, ...__VLS_functionalComponentArgsRest(__VLS_88));
722
+ let __VLS_91;
723
+ let __VLS_92;
724
+ const __VLS_93 = ({ call: {} },
788
725
  { onCall: (__VLS_ctx.handleCall) });
789
- const __VLS_99 = ({ inputFocus: {} },
726
+ const __VLS_94 = ({ inputFocus: {} },
790
727
  { onInputFocus: (__VLS_ctx.handleReadMessage) });
791
728
  __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME && __VLS_ctx.receiverId) }, null, null);
792
729
  /** @type {typeof __VLS_ctx.homeComponentRef} */ ;
793
- var __VLS_100 = {};
730
+ var __VLS_95 = {};
794
731
  // @ts-ignore
795
- [currentPage, PAGE, responsiveRender, receiverId, receiverId, handleCall, handleReadMessage, homeComponentRef,];
796
- var __VLS_95;
732
+ [currentPage, PAGE, responsiveRender, receiverId, receiverId, currentConversation, handleCall, handleReadMessage, homeComponentRef,];
733
+ var __VLS_90;
797
734
  if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
798
735
  // @ts-ignore
799
736
  [currentPage, PAGE,];
800
737
  /** @type {[typeof CustomerDetail, ]} */ ;
801
738
  // @ts-ignore
802
- const __VLS_103 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
739
+ const __VLS_98 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
803
740
  ref: "customerDetailRef",
804
741
  receiverId: (__VLS_ctx.receiverId),
805
742
  ...{ class: "h-full" },
806
743
  responsive: (__VLS_ctx.responsiveRender),
807
744
  }));
808
- const __VLS_104 = __VLS_103({
745
+ const __VLS_99 = __VLS_98({
809
746
  ref: "customerDetailRef",
810
747
  receiverId: (__VLS_ctx.receiverId),
811
748
  ...{ class: "h-full" },
812
749
  responsive: (__VLS_ctx.responsiveRender),
813
- }, ...__VLS_functionalComponentArgsRest(__VLS_103));
750
+ }, ...__VLS_functionalComponentArgsRest(__VLS_98));
814
751
  /** @type {typeof __VLS_ctx.customerDetailRef} */ ;
815
- var __VLS_106 = {};
752
+ var __VLS_101 = {};
816
753
  // @ts-ignore
817
754
  [responsiveRender, receiverId, customerDetailRef,];
818
- var __VLS_105;
755
+ var __VLS_100;
819
756
  }
820
757
  if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
821
758
  // @ts-ignore
822
759
  [currentPage, PAGE,];
823
760
  /** @type {[typeof CustomerCheckIn, ]} */ ;
824
761
  // @ts-ignore
825
- const __VLS_109 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
762
+ const __VLS_104 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
826
763
  ...{ class: "h-full" },
827
764
  }));
828
- const __VLS_110 = __VLS_109({
765
+ const __VLS_105 = __VLS_104({
829
766
  ...{ class: "h-full" },
830
- }, ...__VLS_functionalComponentArgsRest(__VLS_109));
767
+ }, ...__VLS_functionalComponentArgsRest(__VLS_104));
831
768
  }
832
769
  if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
833
770
  // @ts-ignore
834
771
  [currentPage, PAGE,];
835
772
  /** @type {[typeof CustomerAppointment, ]} */ ;
836
773
  // @ts-ignore
837
- const __VLS_113 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
774
+ const __VLS_108 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
838
775
  ...{ class: "h-full" },
839
776
  }));
840
- const __VLS_114 = __VLS_113({
777
+ const __VLS_109 = __VLS_108({
841
778
  ...{ class: "h-full" },
842
- }, ...__VLS_functionalComponentArgsRest(__VLS_113));
779
+ }, ...__VLS_functionalComponentArgsRest(__VLS_108));
843
780
  }
844
781
  }
782
+ var __VLS_112 = {};
845
783
  }
846
784
  /** @type {__VLS_StyleScopedClasses['go-chat-main']} */ ;
847
785
  /** @type {__VLS_StyleScopedClasses['max-w-full']} */ ;
848
- /** @type {__VLS_StyleScopedClasses['p-0']} */ ;
849
- /** @type {__VLS_StyleScopedClasses['overscroll-x-none']} */ ;
850
- /** @type {__VLS_StyleScopedClasses['md:p-8']} */ ;
851
786
  /** @type {__VLS_StyleScopedClasses['m-auto']} */ ;
852
787
  /** @type {__VLS_StyleScopedClasses['flex-center']} */ ;
853
788
  /** @type {__VLS_StyleScopedClasses['sc-full']} */ ;
854
789
  /** @type {__VLS_StyleScopedClasses['mt-10']} */ ;
855
- /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
790
+ /** @type {__VLS_StyleScopedClasses['grow']} */ ;
856
791
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
792
+ /** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
857
793
  /** @type {__VLS_StyleScopedClasses['flex']} */ ;
858
794
  /** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
859
- /** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
860
- /** @type {__VLS_StyleScopedClasses['relative']} */ ;
861
- /** @type {__VLS_StyleScopedClasses['shrink-0']} */ ;
862
795
  /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
863
- /** @type {__VLS_StyleScopedClasses['bg-chat-error']} */ ;
864
- /** @type {__VLS_StyleScopedClasses['text-white']} */ ;
865
- /** @type {__VLS_StyleScopedClasses['text-sm']} */ ;
866
- /** @type {__VLS_StyleScopedClasses['px-4']} */ ;
867
- /** @type {__VLS_StyleScopedClasses['py-2']} */ ;
796
+ /** @type {__VLS_StyleScopedClasses['grow']} */ ;
868
797
  /** @type {__VLS_StyleScopedClasses['flex']} */ ;
869
- /** @type {__VLS_StyleScopedClasses['items-center']} */ ;
870
- /** @type {__VLS_StyleScopedClasses['justify-between']} */ ;
871
- /** @type {__VLS_StyleScopedClasses['gap-2']} */ ;
872
- /** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
873
- /** @type {__VLS_StyleScopedClasses['min-h-10']} */ ;
874
- /** @type {__VLS_StyleScopedClasses['text-chat-haze-600']} */ ;
875
- /** @type {__VLS_StyleScopedClasses['font-bold']} */ ;
876
- /** @type {__VLS_StyleScopedClasses['w-[250px]']} */ ;
877
- /** @type {__VLS_StyleScopedClasses['rounded-lg']} */ ;
878
- /** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
879
- /** @type {__VLS_StyleScopedClasses['min-h-10']} */ ;
880
- /** @type {__VLS_StyleScopedClasses['text-chat-haze-600']} */ ;
881
- /** @type {__VLS_StyleScopedClasses['font-bold']} */ ;
882
- /** @type {__VLS_StyleScopedClasses['text-base']} */ ;
883
- /** @type {__VLS_StyleScopedClasses['w-[200px]']} */ ;
884
- /** @type {__VLS_StyleScopedClasses['rounded-lg']} */ ;
798
+ /** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
799
+ /** @type {__VLS_StyleScopedClasses['relative']} */ ;
885
800
  /** @type {__VLS_StyleScopedClasses['grow']} */ ;
886
801
  /** @type {__VLS_StyleScopedClasses['relative']} */ ;
887
802
  /** @type {__VLS_StyleScopedClasses['flex']} */ ;
@@ -922,30 +837,31 @@ else {
922
837
  /** @type {__VLS_StyleScopedClasses['max-w-[500px]']} */ ;
923
838
  /** @type {__VLS_StyleScopedClasses['!bg-[#F9FAFC]']} */ ;
924
839
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
925
- /** @type {__VLS_StyleScopedClasses['pt-4']} */ ;
926
840
  /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
927
841
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
928
842
  /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
929
843
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
930
844
  /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
931
845
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
932
- /** @type {__VLS_StyleScopedClasses['shrink-0']} */ ;
933
846
  /** @type {__VLS_StyleScopedClasses['flex']} */ ;
934
- /** @type {__VLS_StyleScopedClasses['gap-4']} */ ;
935
847
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
848
+ /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
936
849
  /** @type {__VLS_StyleScopedClasses['relative']} */ ;
937
850
  /** @type {__VLS_StyleScopedClasses['w-[38%]']} */ ;
938
851
  /** @type {__VLS_StyleScopedClasses['max-w-[500px]']} */ ;
939
- /** @type {__VLS_StyleScopedClasses['min-w-[450px]']} */ ;
940
- /** @type {__VLS_StyleScopedClasses['chat-box-white']} */ ;
852
+ /** @type {__VLS_StyleScopedClasses['min-w-[300px]']} */ ;
853
+ /** @type {__VLS_StyleScopedClasses['xl:min-w-[450px]']} */ ;
854
+ /** @type {__VLS_StyleScopedClasses['border-r']} */ ;
855
+ /** @type {__VLS_StyleScopedClasses['layout-border']} */ ;
856
+ /** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
941
857
  /** @type {__VLS_StyleScopedClasses['grow']} */ ;
942
858
  /** @type {__VLS_StyleScopedClasses['flex']} */ ;
943
859
  /** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
944
860
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
945
- /** @type {__VLS_StyleScopedClasses['pt-6']} */ ;
946
861
  /** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
947
862
  /** @type {__VLS_StyleScopedClasses['text-[#141B34]']} */ ;
948
863
  /** @type {__VLS_StyleScopedClasses['px-6']} */ ;
864
+ /** @type {__VLS_StyleScopedClasses['mt-4']} */ ;
949
865
  /** @type {__VLS_StyleScopedClasses['flex']} */ ;
950
866
  /** @type {__VLS_StyleScopedClasses['items-center']} */ ;
951
867
  /** @type {__VLS_StyleScopedClasses['text-xl']} */ ;
@@ -959,11 +875,12 @@ else {
959
875
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
960
876
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
961
877
  // @ts-ignore
962
- var __VLS_32 = __VLS_31, __VLS_49 = __VLS_48, __VLS_60 = __VLS_59, __VLS_66 = __VLS_65, __VLS_87 = __VLS_86, __VLS_101 = __VLS_100, __VLS_107 = __VLS_106;
963
- const __VLS_export = (await import('vue')).defineComponent({
878
+ var __VLS_30 = __VLS_29, __VLS_47 = __VLS_46, __VLS_58 = __VLS_57, __VLS_64 = __VLS_63, __VLS_82 = __VLS_81, __VLS_96 = __VLS_95, __VLS_102 = __VLS_101, __VLS_113 = __VLS_112;
879
+ const __VLS_base = (await import('vue')).defineComponent({
964
880
  setup: () => (__VLS_exposed),
965
881
  __typeEmits: {},
966
882
  __typeProps: {},
967
883
  props: {},
968
884
  });
885
+ const __VLS_export = {};
969
886
  export default {};