@phonghq/go-chat 1.0.34 → 1.0.36

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.
@@ -21,6 +21,7 @@ import { publicTopicConversationUpdate } from '../utils/chat/conversation';
21
21
  import IconCloseCircle from '../assets/icons/IconCloseCircle.vue';
22
22
  import Setting from '../chat/page/setting/Setting.vue';
23
23
  import SettingSuccess from '../chat/page/setting/SettingSuccess.vue';
24
+ import { goChatError } from '../composable/useError';
24
25
  const routerConfig = [
25
26
  { id: PAGE.HOME, backFunc: null, backTitle: '' },
26
27
  {
@@ -121,6 +122,8 @@ const customerDetailRef = ref(null);
121
122
  const homeComponentRef = ref(null);
122
123
  const chatListRef = ref(null);
123
124
  const drawerVisibleRef = ref(null);
125
+ const mediaPermissionError = ref('');
126
+ const mediaPermissionState = ref('granted');
124
127
  const selectReceiver = async (data) => {
125
128
  if (receiverId.value != data?.receiver_id || responsiveRender.value === 'mobile') {
126
129
  if (currentPage.value != PAGE.HOME) {
@@ -185,6 +188,38 @@ const openSettings = () => {
185
188
  const handleReadMessage = () => {
186
189
  chatListRef.value?.handleReadMessage();
187
190
  };
191
+ const handleMedialPermissionError = async () => {
192
+ if (navigator.permissions && navigator.permissions.query) {
193
+ try {
194
+ const result = await navigator.permissions.query({ name: 'microphone' });
195
+ if (result.state == 'prompt') {
196
+ goChatError.value =
197
+ 'Microphone access is needed. Please allow microphone permission to continue.';
198
+ }
199
+ else if (result.state == 'denied') {
200
+ goChatError.value =
201
+ 'You have denied microphone access. Please enable microphone permission in your browser to continue the call.';
202
+ }
203
+ mediaPermissionState.value = result.state;
204
+ }
205
+ catch (err) {
206
+ console.log(err);
207
+ }
208
+ }
209
+ };
210
+ const askMedialPermission = async () => {
211
+ try {
212
+ await navigator.mediaDevices.getUserMedia({ audio: true });
213
+ window.location.reload();
214
+ }
215
+ catch (e) {
216
+ console.log(e);
217
+ }
218
+ handleMedialPermissionError();
219
+ };
220
+ const reload = () => {
221
+ window.location.reload();
222
+ };
188
223
  let __VLS_exposed;
189
224
  defineExpose({
190
225
  get unreadCount() {
@@ -263,23 +298,73 @@ else if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS) {
263
298
  const __VLS_12 = __VLS_asFunctionalComponent(SettingSuccess, new SettingSuccess({}));
264
299
  const __VLS_13 = __VLS_12({}, ...__VLS_functionalComponentArgsRest(__VLS_12));
265
300
  }
266
- else if (__VLS_ctx.responsiveRender == 'mobile') {
267
- // @ts-ignore
268
- [responsiveRender,];
301
+ else {
269
302
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
270
- ...{ class: "relative flex flex-col mx-auto w-full h-full bg-[#F9FAFC] overflow-hidden chat-mobile pt-4" },
303
+ ...{ class: "w-full h-full flex flex-col overflow-hidden relative" },
271
304
  });
305
+ if (__VLS_ctx.goChatError) {
306
+ // @ts-ignore
307
+ [goChatError,];
308
+ __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
309
+ ...{ class: "shrink-0 w-full bg-chat-error text-white text-sm px-4 py-2 flex items-center justify-between gap-2" },
310
+ });
311
+ __VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
312
+ (__VLS_ctx.goChatError);
313
+ // @ts-ignore
314
+ [goChatError,];
315
+ if (__VLS_ctx.mediaPermissionState == 'prompt') {
316
+ // @ts-ignore
317
+ [mediaPermissionState,];
318
+ __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
319
+ ...{ onClick: (__VLS_ctx.askMedialPermission) },
320
+ ...{ class: "bg-white min-h-10 text-chat-haze-600 font-bold w-[250px] rounded-lg" },
321
+ });
322
+ // @ts-ignore
323
+ [askMedialPermission,];
324
+ }
325
+ else if (__VLS_ctx.mediaPermissionState == 'denied') {
326
+ // @ts-ignore
327
+ [mediaPermissionState,];
328
+ __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
329
+ }
330
+ else {
331
+ __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
332
+ ...{ onClick: (...[$event]) => {
333
+ if (!!(!__VLS_ctx.isRouterReady))
334
+ return;
335
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
336
+ return;
337
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
338
+ return;
339
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
340
+ return;
341
+ if (!(__VLS_ctx.goChatError))
342
+ return;
343
+ if (!!(__VLS_ctx.mediaPermissionState == 'prompt'))
344
+ return;
345
+ if (!!(__VLS_ctx.mediaPermissionState == 'denied'))
346
+ return;
347
+ __VLS_ctx.reload();
348
+ // @ts-ignore
349
+ [reload,];
350
+ } },
351
+ ...{ class: "bg-white min-h-10 text-chat-haze-600 font-bold text-base w-[200px] rounded-lg" },
352
+ });
353
+ }
354
+ }
272
355
  /** @type {[typeof Calling, ]} */ ;
273
356
  // @ts-ignore
274
357
  const __VLS_16 = __VLS_asFunctionalComponent(Calling, new Calling({
275
358
  ...{ 'onUserCalling': {} },
276
359
  ...{ 'onEndCall': {} },
360
+ ...{ 'onError:mediaPermissionFail': {} },
277
361
  ref: "callingRef",
278
362
  responsive: (__VLS_ctx.responsiveRender),
279
363
  }));
280
364
  const __VLS_17 = __VLS_16({
281
365
  ...{ 'onUserCalling': {} },
282
366
  ...{ 'onEndCall': {} },
367
+ ...{ 'onError:mediaPermissionFail': {} },
283
368
  ref: "callingRef",
284
369
  responsive: (__VLS_ctx.responsiveRender),
285
370
  }, ...__VLS_functionalComponentArgsRest(__VLS_16));
@@ -295,59 +380,34 @@ else if (__VLS_ctx.responsiveRender == 'mobile') {
295
380
  return;
296
381
  if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
297
382
  return;
298
- if (!(__VLS_ctx.responsiveRender == 'mobile'))
299
- return;
300
383
  __VLS_ctx.emit('userCalling', $event);
301
384
  // @ts-ignore
302
385
  [responsiveRender, emit,];
303
386
  } });
304
387
  const __VLS_22 = ({ endCall: {} },
305
388
  { onEndCall: (__VLS_ctx.handleEndCall) });
389
+ const __VLS_23 = ({ 'error:mediaPermissionFail': {} },
390
+ { 'onError:mediaPermissionFail': (__VLS_ctx.handleMedialPermissionError) });
306
391
  /** @type {typeof __VLS_ctx.callingRef} */ ;
307
- var __VLS_23 = {};
392
+ var __VLS_24 = {};
308
393
  // @ts-ignore
309
- [handleEndCall, callingRef,];
394
+ [handleEndCall, handleMedialPermissionError, callingRef,];
310
395
  var __VLS_18;
311
- if (__VLS_ctx.currentPageConfig?.backFunc && !__VLS_ctx.currentPageConfig.isHidden) {
396
+ if (__VLS_ctx.responsiveRender == 'mobile') {
312
397
  // @ts-ignore
313
- [currentPageConfig, currentPageConfig,];
398
+ [responsiveRender,];
399
+ __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
400
+ ...{ class: "grow relative flex flex-col mx-auto w-full h-full bg-[#F9FAFC] overflow-hidden chat-mobile pt-4" },
401
+ });
314
402
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
315
403
  ...{ class: "text-[#141B34] px-6 shrink-0" },
316
404
  });
317
405
  __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
318
406
  ...{ class: "flex items-center justify-between" },
319
407
  });
320
- __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
321
- ...{ onClick: (...[$event]) => {
322
- if (!!(!__VLS_ctx.isRouterReady))
323
- return;
324
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
325
- return;
326
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
327
- return;
328
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
329
- return;
330
- if (!(__VLS_ctx.responsiveRender == 'mobile'))
331
- return;
332
- if (!(__VLS_ctx.currentPageConfig?.backFunc && !__VLS_ctx.currentPageConfig.isHidden))
333
- return;
334
- __VLS_ctx.currentPageConfig.backFunc();
335
- // @ts-ignore
336
- [currentPageConfig,];
337
- } },
338
- ...{ class: "flex items-center" },
339
- });
340
- /** @type {[typeof IconArrowLeft, ]} */ ;
341
- // @ts-ignore
342
- const __VLS_26 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
343
- const __VLS_27 = __VLS_26({}, ...__VLS_functionalComponentArgsRest(__VLS_26));
344
- __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
345
- ...{ class: "text-xl font-semibold text-chat-haze-900 ml-3" },
346
- });
347
- (__VLS_ctx.currentPageConfig.backTitle ?? '');
348
- // @ts-ignore
349
- [currentPageConfig,];
350
- if (props.isLib) {
408
+ if (__VLS_ctx.currentPageConfig?.backFunc && !__VLS_ctx.currentPageConfig?.isHidden) {
409
+ // @ts-ignore
410
+ [currentPageConfig, currentPageConfig,];
351
411
  __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
352
412
  ...{ onClick: (...[$event]) => {
353
413
  if (!!(!__VLS_ctx.isRouterReady))
@@ -360,7 +420,37 @@ else if (__VLS_ctx.responsiveRender == 'mobile') {
360
420
  return;
361
421
  if (!(__VLS_ctx.responsiveRender == 'mobile'))
362
422
  return;
363
- if (!(__VLS_ctx.currentPageConfig?.backFunc && !__VLS_ctx.currentPageConfig.isHidden))
423
+ if (!(__VLS_ctx.currentPageConfig?.backFunc && !__VLS_ctx.currentPageConfig?.isHidden))
424
+ return;
425
+ __VLS_ctx.currentPageConfig.backFunc();
426
+ // @ts-ignore
427
+ [currentPageConfig,];
428
+ } },
429
+ ...{ class: "flex items-center" },
430
+ });
431
+ /** @type {[typeof IconArrowLeft, ]} */ ;
432
+ // @ts-ignore
433
+ const __VLS_27 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
434
+ const __VLS_28 = __VLS_27({}, ...__VLS_functionalComponentArgsRest(__VLS_27));
435
+ __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
436
+ ...{ class: "text-xl font-semibold text-chat-haze-900 ml-3" },
437
+ });
438
+ (__VLS_ctx.currentPageConfig.backTitle ?? '');
439
+ // @ts-ignore
440
+ [currentPageConfig,];
441
+ }
442
+ if (props.isLib) {
443
+ __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
444
+ ...{ onClick: (...[$event]) => {
445
+ if (!!(!__VLS_ctx.isRouterReady))
446
+ return;
447
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
448
+ return;
449
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
450
+ return;
451
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
452
+ return;
453
+ if (!(__VLS_ctx.responsiveRender == 'mobile'))
364
454
  return;
365
455
  if (!(props.isLib))
366
456
  return;
@@ -372,187 +462,64 @@ else if (__VLS_ctx.responsiveRender == 'mobile') {
372
462
  });
373
463
  /** @type {[typeof IconCloseCircle, ]} */ ;
374
464
  // @ts-ignore
375
- const __VLS_30 = __VLS_asFunctionalComponent(IconCloseCircle, new IconCloseCircle({}));
376
- const __VLS_31 = __VLS_30({}, ...__VLS_functionalComponentArgsRest(__VLS_30));
465
+ const __VLS_31 = __VLS_asFunctionalComponent(IconCloseCircle, new IconCloseCircle({}));
466
+ const __VLS_32 = __VLS_31({}, ...__VLS_functionalComponentArgsRest(__VLS_31));
377
467
  }
378
- }
379
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
380
- ...{ class: "grow overflow-hidden" },
381
- });
382
- /** @type {[typeof ChatList, ]} */ ;
383
- // @ts-ignore
384
- const __VLS_34 = __VLS_asFunctionalComponent(ChatList, new ChatList({
385
- ...{ 'onSelectReceiver': {} },
386
- ref: "chatListRef",
387
- ...{ class: "w-full max-w-[500px] !bg-[#F9FAFC]" },
388
- responsive: (__VLS_ctx.responsiveRender),
389
- receiverId: (__VLS_ctx.receiverId),
390
- }));
391
- const __VLS_35 = __VLS_34({
392
- ...{ 'onSelectReceiver': {} },
393
- ref: "chatListRef",
394
- ...{ class: "w-full max-w-[500px] !bg-[#F9FAFC]" },
395
- responsive: (__VLS_ctx.responsiveRender),
396
- receiverId: (__VLS_ctx.receiverId),
397
- }, ...__VLS_functionalComponentArgsRest(__VLS_34));
398
- let __VLS_37;
399
- let __VLS_38;
400
- const __VLS_39 = ({ selectReceiver: {} },
401
- { onSelectReceiver: (__VLS_ctx.selectReceiver) });
402
- __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CHAT_LIST) }, null, null);
403
- /** @type {typeof __VLS_ctx.chatListRef} */ ;
404
- var __VLS_40 = {};
405
- // @ts-ignore
406
- [currentPage, PAGE, responsiveRender, receiverId, selectReceiver, chatListRef,];
407
- var __VLS_36;
408
- /** @type {[typeof HomeComponent, ]} */ ;
409
- // @ts-ignore
410
- const __VLS_43 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
411
- ...{ 'onCall': {} },
412
- ...{ 'onBack': {} },
413
- ...{ 'onInputFocus': {} },
414
- ref: "homeComponentRef",
415
- receiverId: (__VLS_ctx.receiverId),
416
- ...{ class: "h-full pt-4" },
417
- responsive: (__VLS_ctx.responsiveRender),
418
- }));
419
- const __VLS_44 = __VLS_43({
420
- ...{ 'onCall': {} },
421
- ...{ 'onBack': {} },
422
- ...{ 'onInputFocus': {} },
423
- ref: "homeComponentRef",
424
- receiverId: (__VLS_ctx.receiverId),
425
- ...{ class: "h-full pt-4" },
426
- responsive: (__VLS_ctx.responsiveRender),
427
- }, ...__VLS_functionalComponentArgsRest(__VLS_43));
428
- let __VLS_46;
429
- let __VLS_47;
430
- const __VLS_48 = ({ call: {} },
431
- { onCall: (__VLS_ctx.handleCall) });
432
- const __VLS_49 = ({ back: {} },
433
- { onBack: (...[$event]) => {
434
- if (!!(!__VLS_ctx.isRouterReady))
435
- return;
436
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
437
- return;
438
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
439
- return;
440
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
441
- return;
442
- if (!(__VLS_ctx.responsiveRender == 'mobile'))
443
- return;
444
- __VLS_ctx.currentPageConfig.backFunc?.();
445
- // @ts-ignore
446
- [responsiveRender, currentPageConfig, receiverId, handleCall,];
447
- } });
448
- const __VLS_50 = ({ inputFocus: {} },
449
- { onInputFocus: (__VLS_ctx.handleReadMessage) });
450
- __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME) }, null, null);
451
- /** @type {typeof __VLS_ctx.homeComponentRef} */ ;
452
- var __VLS_51 = {};
453
- // @ts-ignore
454
- [currentPage, PAGE, handleReadMessage, homeComponentRef,];
455
- var __VLS_45;
456
- if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
457
- // @ts-ignore
458
- [currentPage, PAGE,];
459
- /** @type {[typeof CustomerDetail, ]} */ ;
468
+ __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
469
+ ...{ class: "grow overflow-hidden" },
470
+ });
471
+ /** @type {[typeof ChatList, ]} */ ;
460
472
  // @ts-ignore
461
- const __VLS_54 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
462
- ref: "customerDetailRef",
463
- receiverId: (__VLS_ctx.receiverId),
464
- ...{ class: "w-full h-full" },
473
+ const __VLS_35 = __VLS_asFunctionalComponent(ChatList, new ChatList({
474
+ ...{ 'onSelectReceiver': {} },
475
+ ref: "chatListRef",
476
+ ...{ class: "w-full max-w-[500px] !bg-[#F9FAFC]" },
465
477
  responsive: (__VLS_ctx.responsiveRender),
466
- }));
467
- const __VLS_55 = __VLS_54({
468
- ref: "customerDetailRef",
469
478
  receiverId: (__VLS_ctx.receiverId),
470
- ...{ class: "w-full h-full" },
471
- responsive: (__VLS_ctx.responsiveRender),
472
- }, ...__VLS_functionalComponentArgsRest(__VLS_54));
473
- /** @type {typeof __VLS_ctx.customerDetailRef} */ ;
474
- var __VLS_57 = {};
475
- // @ts-ignore
476
- [responsiveRender, receiverId, customerDetailRef,];
477
- var __VLS_56;
478
- }
479
- if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
480
- // @ts-ignore
481
- [currentPage, PAGE,];
482
- /** @type {[typeof CustomerCheckIn, ]} */ ;
483
- // @ts-ignore
484
- const __VLS_60 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
485
- ...{ class: "w-full h-full" },
486
- }));
487
- const __VLS_61 = __VLS_60({
488
- ...{ class: "w-full h-full" },
489
- }, ...__VLS_functionalComponentArgsRest(__VLS_60));
490
- }
491
- if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
492
- // @ts-ignore
493
- [currentPage, PAGE,];
494
- /** @type {[typeof CustomerAppointment, ]} */ ;
495
- // @ts-ignore
496
- const __VLS_64 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
497
- ...{ class: "w-full h-full" },
498
479
  }));
499
- const __VLS_65 = __VLS_64({
500
- ...{ class: "w-full h-full" },
501
- }, ...__VLS_functionalComponentArgsRest(__VLS_64));
502
- }
503
- if (__VLS_ctx.currentPage != __VLS_ctx.PAGE.HOME) {
480
+ const __VLS_36 = __VLS_35({
481
+ ...{ 'onSelectReceiver': {} },
482
+ ref: "chatListRef",
483
+ ...{ class: "w-full max-w-[500px] !bg-[#F9FAFC]" },
484
+ responsive: (__VLS_ctx.responsiveRender),
485
+ receiverId: (__VLS_ctx.receiverId),
486
+ }, ...__VLS_functionalComponentArgsRest(__VLS_35));
487
+ let __VLS_38;
488
+ let __VLS_39;
489
+ const __VLS_40 = ({ selectReceiver: {} },
490
+ { onSelectReceiver: (__VLS_ctx.selectReceiver) });
491
+ __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CHAT_LIST) }, null, null);
492
+ /** @type {typeof __VLS_ctx.chatListRef} */ ;
493
+ var __VLS_41 = {};
504
494
  // @ts-ignore
505
- [currentPage, PAGE,];
506
- /** @type {[typeof MobileFooter, ]} */ ;
495
+ [currentPage, PAGE, responsiveRender, receiverId, selectReceiver, chatListRef,];
496
+ var __VLS_37;
497
+ /** @type {[typeof HomeComponent, ]} */ ;
507
498
  // @ts-ignore
508
- const __VLS_68 = __VLS_asFunctionalComponent(MobileFooter, new MobileFooter({
509
- ...{ class: "shrink-0" },
499
+ const __VLS_44 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
500
+ ...{ 'onCall': {} },
501
+ ...{ 'onBack': {} },
502
+ ...{ 'onInputFocus': {} },
503
+ ref: "homeComponentRef",
504
+ receiverId: (__VLS_ctx.receiverId),
505
+ ...{ class: "h-full pt-4" },
506
+ responsive: (__VLS_ctx.responsiveRender),
510
507
  }));
511
- const __VLS_69 = __VLS_68({
512
- ...{ class: "shrink-0" },
513
- }, ...__VLS_functionalComponentArgsRest(__VLS_68));
514
- }
515
- }
516
- else {
517
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
518
- ...{ class: "flex gap-4 h-full relative" },
519
- });
520
- /** @type {[typeof ChatList, ]} */ ;
521
- // @ts-ignore
522
- const __VLS_72 = __VLS_asFunctionalComponent(ChatList, new ChatList({
523
- ...{ 'onSelectReceiver': {} },
524
- ref: "chatListRef",
525
- ...{ class: "w-[38%] max-w-[500px] min-w-[450px]" },
526
- responsive: (__VLS_ctx.responsiveRender),
527
- receiverId: (__VLS_ctx.receiverId),
528
- }));
529
- const __VLS_73 = __VLS_72({
530
- ...{ 'onSelectReceiver': {} },
531
- ref: "chatListRef",
532
- ...{ class: "w-[38%] max-w-[500px] min-w-[450px]" },
533
- responsive: (__VLS_ctx.responsiveRender),
534
- receiverId: (__VLS_ctx.receiverId),
535
- }, ...__VLS_functionalComponentArgsRest(__VLS_72));
536
- let __VLS_75;
537
- let __VLS_76;
538
- const __VLS_77 = ({ selectReceiver: {} },
539
- { onSelectReceiver: (__VLS_ctx.selectReceiver) });
540
- /** @type {typeof __VLS_ctx.chatListRef} */ ;
541
- var __VLS_78 = {};
542
- // @ts-ignore
543
- [responsiveRender, receiverId, selectReceiver, chatListRef,];
544
- var __VLS_74;
545
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
546
- ...{ class: "chat-box-white grow flex flex-col h-full pt-6 overflow-hidden" },
547
- });
548
- if (__VLS_ctx.currentPageConfig?.backFunc) {
549
- // @ts-ignore
550
- [currentPageConfig,];
551
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
552
- ...{ class: "text-[#141B34] px-6" },
553
- });
554
- __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
555
- ...{ onClick: (...[$event]) => {
508
+ const __VLS_45 = __VLS_44({
509
+ ...{ 'onCall': {} },
510
+ ...{ 'onBack': {} },
511
+ ...{ 'onInputFocus': {} },
512
+ ref: "homeComponentRef",
513
+ receiverId: (__VLS_ctx.receiverId),
514
+ ...{ class: "h-full pt-4" },
515
+ responsive: (__VLS_ctx.responsiveRender),
516
+ }, ...__VLS_functionalComponentArgsRest(__VLS_44));
517
+ let __VLS_47;
518
+ let __VLS_48;
519
+ const __VLS_49 = ({ call: {} },
520
+ { onCall: (__VLS_ctx.handleCall) });
521
+ const __VLS_50 = ({ back: {} },
522
+ { onBack: (...[$event]) => {
556
523
  if (!!(!__VLS_ctx.isRouterReady))
557
524
  return;
558
525
  if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
@@ -561,146 +528,230 @@ else {
561
528
  return;
562
529
  if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
563
530
  return;
564
- if (!!(__VLS_ctx.responsiveRender == 'mobile'))
565
- return;
566
- if (!(__VLS_ctx.currentPageConfig?.backFunc))
531
+ if (!(__VLS_ctx.responsiveRender == 'mobile'))
567
532
  return;
568
- __VLS_ctx.currentPageConfig.backFunc();
533
+ __VLS_ctx.currentPageConfig.backFunc?.();
569
534
  // @ts-ignore
570
- [currentPageConfig,];
571
- } },
572
- ...{ class: "flex items-center" },
573
- });
574
- /** @type {[typeof IconArrowLeft, ]} */ ;
535
+ [responsiveRender, currentPageConfig, receiverId, handleCall,];
536
+ } });
537
+ const __VLS_51 = ({ inputFocus: {} },
538
+ { onInputFocus: (__VLS_ctx.handleReadMessage) });
539
+ __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME) }, null, null);
540
+ /** @type {typeof __VLS_ctx.homeComponentRef} */ ;
541
+ var __VLS_52 = {};
575
542
  // @ts-ignore
576
- const __VLS_81 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
577
- const __VLS_82 = __VLS_81({}, ...__VLS_functionalComponentArgsRest(__VLS_81));
578
- __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
579
- ...{ class: "text-xl font-semibold text-chat-haze-900 ml-3" },
543
+ [currentPage, PAGE, handleReadMessage, homeComponentRef,];
544
+ var __VLS_46;
545
+ if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
546
+ // @ts-ignore
547
+ [currentPage, PAGE,];
548
+ /** @type {[typeof CustomerDetail, ]} */ ;
549
+ // @ts-ignore
550
+ const __VLS_55 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
551
+ ref: "customerDetailRef",
552
+ receiverId: (__VLS_ctx.receiverId),
553
+ ...{ class: "w-full h-full" },
554
+ responsive: (__VLS_ctx.responsiveRender),
555
+ }));
556
+ const __VLS_56 = __VLS_55({
557
+ ref: "customerDetailRef",
558
+ receiverId: (__VLS_ctx.receiverId),
559
+ ...{ class: "w-full h-full" },
560
+ responsive: (__VLS_ctx.responsiveRender),
561
+ }, ...__VLS_functionalComponentArgsRest(__VLS_55));
562
+ /** @type {typeof __VLS_ctx.customerDetailRef} */ ;
563
+ var __VLS_58 = {};
564
+ // @ts-ignore
565
+ [responsiveRender, receiverId, customerDetailRef,];
566
+ var __VLS_57;
567
+ }
568
+ if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
569
+ // @ts-ignore
570
+ [currentPage, PAGE,];
571
+ /** @type {[typeof CustomerCheckIn, ]} */ ;
572
+ // @ts-ignore
573
+ const __VLS_61 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
574
+ ...{ class: "w-full h-full" },
575
+ }));
576
+ const __VLS_62 = __VLS_61({
577
+ ...{ class: "w-full h-full" },
578
+ }, ...__VLS_functionalComponentArgsRest(__VLS_61));
579
+ }
580
+ if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
581
+ // @ts-ignore
582
+ [currentPage, PAGE,];
583
+ /** @type {[typeof CustomerAppointment, ]} */ ;
584
+ // @ts-ignore
585
+ const __VLS_65 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
586
+ ...{ class: "w-full h-full" },
587
+ }));
588
+ const __VLS_66 = __VLS_65({
589
+ ...{ class: "w-full h-full" },
590
+ }, ...__VLS_functionalComponentArgsRest(__VLS_65));
591
+ }
592
+ if (__VLS_ctx.currentPage != __VLS_ctx.PAGE.HOME) {
593
+ // @ts-ignore
594
+ [currentPage, PAGE,];
595
+ /** @type {[typeof MobileFooter, ]} */ ;
596
+ // @ts-ignore
597
+ const __VLS_69 = __VLS_asFunctionalComponent(MobileFooter, new MobileFooter({
598
+ ...{ class: "shrink-0" },
599
+ }));
600
+ const __VLS_70 = __VLS_69({
601
+ ...{ class: "shrink-0" },
602
+ }, ...__VLS_functionalComponentArgsRest(__VLS_69));
603
+ }
604
+ }
605
+ else {
606
+ __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
607
+ ...{ class: "flex gap-4 h-full relative" },
580
608
  });
581
- (__VLS_ctx.currentPageConfig.backTitle ?? '');
609
+ /** @type {[typeof ChatList, ]} */ ;
582
610
  // @ts-ignore
583
- [currentPageConfig,];
584
- }
585
- __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
586
- ...{ class: "grow overflow-hidden" },
587
- });
588
- /** @type {[typeof HomeComponent, ]} */ ;
589
- // @ts-ignore
590
- const __VLS_85 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
591
- ...{ 'onCall': {} },
592
- ...{ 'onInputFocus': {} },
593
- ref: "homeComponentRef",
594
- receiverId: (__VLS_ctx.receiverId),
595
- ...{ class: "h-full" },
596
- responsive: (__VLS_ctx.responsiveRender),
597
- }));
598
- const __VLS_86 = __VLS_85({
599
- ...{ 'onCall': {} },
600
- ...{ 'onInputFocus': {} },
601
- ref: "homeComponentRef",
602
- receiverId: (__VLS_ctx.receiverId),
603
- ...{ class: "h-full" },
604
- responsive: (__VLS_ctx.responsiveRender),
605
- }, ...__VLS_functionalComponentArgsRest(__VLS_85));
606
- let __VLS_88;
607
- let __VLS_89;
608
- const __VLS_90 = ({ call: {} },
609
- { onCall: (__VLS_ctx.handleCall) });
610
- const __VLS_91 = ({ inputFocus: {} },
611
- { onInputFocus: (__VLS_ctx.handleReadMessage) });
612
- __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME && __VLS_ctx.receiverId) }, null, null);
613
- /** @type {typeof __VLS_ctx.homeComponentRef} */ ;
614
- var __VLS_92 = {};
615
- // @ts-ignore
616
- [currentPage, PAGE, responsiveRender, receiverId, receiverId, handleCall, handleReadMessage, homeComponentRef,];
617
- var __VLS_87;
618
- if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
611
+ const __VLS_73 = __VLS_asFunctionalComponent(ChatList, new ChatList({
612
+ ...{ 'onSelectReceiver': {} },
613
+ ref: "chatListRef",
614
+ ...{ class: "w-[38%] max-w-[500px] min-w-[450px]" },
615
+ responsive: (__VLS_ctx.responsiveRender),
616
+ receiverId: (__VLS_ctx.receiverId),
617
+ }));
618
+ const __VLS_74 = __VLS_73({
619
+ ...{ 'onSelectReceiver': {} },
620
+ ref: "chatListRef",
621
+ ...{ class: "w-[38%] max-w-[500px] min-w-[450px]" },
622
+ responsive: (__VLS_ctx.responsiveRender),
623
+ receiverId: (__VLS_ctx.receiverId),
624
+ }, ...__VLS_functionalComponentArgsRest(__VLS_73));
625
+ let __VLS_76;
626
+ let __VLS_77;
627
+ const __VLS_78 = ({ selectReceiver: {} },
628
+ { onSelectReceiver: (__VLS_ctx.selectReceiver) });
629
+ /** @type {typeof __VLS_ctx.chatListRef} */ ;
630
+ var __VLS_79 = {};
619
631
  // @ts-ignore
620
- [currentPage, PAGE,];
621
- /** @type {[typeof CustomerDetail, ]} */ ;
632
+ [responsiveRender, receiverId, selectReceiver, chatListRef,];
633
+ var __VLS_75;
634
+ __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
635
+ ...{ class: "chat-box-white grow flex flex-col h-full pt-6 overflow-hidden" },
636
+ });
637
+ if (__VLS_ctx.currentPageConfig?.backFunc) {
638
+ // @ts-ignore
639
+ [currentPageConfig,];
640
+ __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
641
+ ...{ class: "text-[#141B34] px-6" },
642
+ });
643
+ __VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
644
+ ...{ onClick: (...[$event]) => {
645
+ if (!!(!__VLS_ctx.isRouterReady))
646
+ return;
647
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
648
+ return;
649
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
650
+ return;
651
+ if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
652
+ return;
653
+ if (!!(__VLS_ctx.responsiveRender == 'mobile'))
654
+ return;
655
+ if (!(__VLS_ctx.currentPageConfig?.backFunc))
656
+ return;
657
+ __VLS_ctx.currentPageConfig.backFunc();
658
+ // @ts-ignore
659
+ [currentPageConfig,];
660
+ } },
661
+ ...{ class: "flex items-center" },
662
+ });
663
+ /** @type {[typeof IconArrowLeft, ]} */ ;
664
+ // @ts-ignore
665
+ const __VLS_82 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
666
+ const __VLS_83 = __VLS_82({}, ...__VLS_functionalComponentArgsRest(__VLS_82));
667
+ __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
668
+ ...{ class: "text-xl font-semibold text-chat-haze-900 ml-3" },
669
+ });
670
+ (__VLS_ctx.currentPageConfig.backTitle ?? '');
671
+ // @ts-ignore
672
+ [currentPageConfig,];
673
+ }
674
+ __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
675
+ ...{ class: "grow overflow-hidden" },
676
+ });
677
+ /** @type {[typeof HomeComponent, ]} */ ;
622
678
  // @ts-ignore
623
- const __VLS_95 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
624
- ref: "customerDetailRef",
679
+ const __VLS_86 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
680
+ ...{ 'onCall': {} },
681
+ ...{ 'onInputFocus': {} },
682
+ ref: "homeComponentRef",
625
683
  receiverId: (__VLS_ctx.receiverId),
626
684
  ...{ class: "h-full" },
627
685
  responsive: (__VLS_ctx.responsiveRender),
628
686
  }));
629
- const __VLS_96 = __VLS_95({
630
- ref: "customerDetailRef",
687
+ const __VLS_87 = __VLS_86({
688
+ ...{ 'onCall': {} },
689
+ ...{ 'onInputFocus': {} },
690
+ ref: "homeComponentRef",
631
691
  receiverId: (__VLS_ctx.receiverId),
632
692
  ...{ class: "h-full" },
633
693
  responsive: (__VLS_ctx.responsiveRender),
634
- }, ...__VLS_functionalComponentArgsRest(__VLS_95));
635
- /** @type {typeof __VLS_ctx.customerDetailRef} */ ;
636
- var __VLS_98 = {};
637
- // @ts-ignore
638
- [responsiveRender, receiverId, customerDetailRef,];
639
- var __VLS_97;
640
- }
641
- if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
694
+ }, ...__VLS_functionalComponentArgsRest(__VLS_86));
695
+ let __VLS_89;
696
+ let __VLS_90;
697
+ const __VLS_91 = ({ call: {} },
698
+ { onCall: (__VLS_ctx.handleCall) });
699
+ const __VLS_92 = ({ inputFocus: {} },
700
+ { onInputFocus: (__VLS_ctx.handleReadMessage) });
701
+ __VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME && __VLS_ctx.receiverId) }, null, null);
702
+ /** @type {typeof __VLS_ctx.homeComponentRef} */ ;
703
+ var __VLS_93 = {};
642
704
  // @ts-ignore
643
- [currentPage, PAGE,];
644
- /** @type {[typeof CustomerCheckIn, ]} */ ;
645
- // @ts-ignore
646
- const __VLS_101 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
647
- ...{ class: "h-full" },
648
- }));
649
- const __VLS_102 = __VLS_101({
650
- ...{ class: "h-full" },
651
- }, ...__VLS_functionalComponentArgsRest(__VLS_101));
652
- }
653
- if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
654
- // @ts-ignore
655
- [currentPage, PAGE,];
656
- /** @type {[typeof CustomerAppointment, ]} */ ;
657
- // @ts-ignore
658
- const __VLS_105 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
659
- ...{ class: "h-full" },
660
- }));
661
- const __VLS_106 = __VLS_105({
662
- ...{ class: "h-full" },
663
- }, ...__VLS_functionalComponentArgsRest(__VLS_105));
705
+ [currentPage, PAGE, responsiveRender, receiverId, receiverId, handleCall, handleReadMessage, homeComponentRef,];
706
+ var __VLS_88;
707
+ if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
708
+ // @ts-ignore
709
+ [currentPage, PAGE,];
710
+ /** @type {[typeof CustomerDetail, ]} */ ;
711
+ // @ts-ignore
712
+ const __VLS_96 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
713
+ ref: "customerDetailRef",
714
+ receiverId: (__VLS_ctx.receiverId),
715
+ ...{ class: "h-full" },
716
+ responsive: (__VLS_ctx.responsiveRender),
717
+ }));
718
+ const __VLS_97 = __VLS_96({
719
+ ref: "customerDetailRef",
720
+ receiverId: (__VLS_ctx.receiverId),
721
+ ...{ class: "h-full" },
722
+ responsive: (__VLS_ctx.responsiveRender),
723
+ }, ...__VLS_functionalComponentArgsRest(__VLS_96));
724
+ /** @type {typeof __VLS_ctx.customerDetailRef} */ ;
725
+ var __VLS_99 = {};
726
+ // @ts-ignore
727
+ [responsiveRender, receiverId, customerDetailRef,];
728
+ var __VLS_98;
729
+ }
730
+ if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
731
+ // @ts-ignore
732
+ [currentPage, PAGE,];
733
+ /** @type {[typeof CustomerCheckIn, ]} */ ;
734
+ // @ts-ignore
735
+ const __VLS_102 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
736
+ ...{ class: "h-full" },
737
+ }));
738
+ const __VLS_103 = __VLS_102({
739
+ ...{ class: "h-full" },
740
+ }, ...__VLS_functionalComponentArgsRest(__VLS_102));
741
+ }
742
+ if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
743
+ // @ts-ignore
744
+ [currentPage, PAGE,];
745
+ /** @type {[typeof CustomerAppointment, ]} */ ;
746
+ // @ts-ignore
747
+ const __VLS_106 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
748
+ ...{ class: "h-full" },
749
+ }));
750
+ const __VLS_107 = __VLS_106({
751
+ ...{ class: "h-full" },
752
+ }, ...__VLS_functionalComponentArgsRest(__VLS_106));
753
+ }
664
754
  }
665
- /** @type {[typeof Calling, ]} */ ;
666
- // @ts-ignore
667
- const __VLS_109 = __VLS_asFunctionalComponent(Calling, new Calling({
668
- ...{ 'onUserCalling': {} },
669
- ...{ 'onEndCall': {} },
670
- ref: "callingRef",
671
- responsive: (__VLS_ctx.responsiveRender),
672
- }));
673
- const __VLS_110 = __VLS_109({
674
- ...{ 'onUserCalling': {} },
675
- ...{ 'onEndCall': {} },
676
- ref: "callingRef",
677
- responsive: (__VLS_ctx.responsiveRender),
678
- }, ...__VLS_functionalComponentArgsRest(__VLS_109));
679
- let __VLS_112;
680
- let __VLS_113;
681
- const __VLS_114 = ({ userCalling: {} },
682
- { onUserCalling: (...[$event]) => {
683
- if (!!(!__VLS_ctx.isRouterReady))
684
- return;
685
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
686
- return;
687
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
688
- return;
689
- if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
690
- return;
691
- if (!!(__VLS_ctx.responsiveRender == 'mobile'))
692
- return;
693
- __VLS_ctx.emit('userCalling', $event);
694
- // @ts-ignore
695
- [responsiveRender, emit,];
696
- } });
697
- const __VLS_115 = ({ endCall: {} },
698
- { onEndCall: (__VLS_ctx.handleEndCall) });
699
- /** @type {typeof __VLS_ctx.callingRef} */ ;
700
- var __VLS_116 = {};
701
- // @ts-ignore
702
- [handleEndCall, callingRef,];
703
- var __VLS_111;
704
755
  }
705
756
  /** @type {__VLS_StyleScopedClasses['go-chat-main']} */ ;
706
757
  /** @type {__VLS_StyleScopedClasses['max-w-full']} */ ;
@@ -710,6 +761,37 @@ else {
710
761
  /** @type {__VLS_StyleScopedClasses['m-auto']} */ ;
711
762
  /** @type {__VLS_StyleScopedClasses['flex-center']} */ ;
712
763
  /** @type {__VLS_StyleScopedClasses['sc-full']} */ ;
764
+ /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
765
+ /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
766
+ /** @type {__VLS_StyleScopedClasses['flex']} */ ;
767
+ /** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
768
+ /** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
769
+ /** @type {__VLS_StyleScopedClasses['relative']} */ ;
770
+ /** @type {__VLS_StyleScopedClasses['shrink-0']} */ ;
771
+ /** @type {__VLS_StyleScopedClasses['w-full']} */ ;
772
+ /** @type {__VLS_StyleScopedClasses['bg-chat-error']} */ ;
773
+ /** @type {__VLS_StyleScopedClasses['text-white']} */ ;
774
+ /** @type {__VLS_StyleScopedClasses['text-sm']} */ ;
775
+ /** @type {__VLS_StyleScopedClasses['px-4']} */ ;
776
+ /** @type {__VLS_StyleScopedClasses['py-2']} */ ;
777
+ /** @type {__VLS_StyleScopedClasses['flex']} */ ;
778
+ /** @type {__VLS_StyleScopedClasses['items-center']} */ ;
779
+ /** @type {__VLS_StyleScopedClasses['justify-between']} */ ;
780
+ /** @type {__VLS_StyleScopedClasses['gap-2']} */ ;
781
+ /** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
782
+ /** @type {__VLS_StyleScopedClasses['min-h-10']} */ ;
783
+ /** @type {__VLS_StyleScopedClasses['text-chat-haze-600']} */ ;
784
+ /** @type {__VLS_StyleScopedClasses['font-bold']} */ ;
785
+ /** @type {__VLS_StyleScopedClasses['w-[250px]']} */ ;
786
+ /** @type {__VLS_StyleScopedClasses['rounded-lg']} */ ;
787
+ /** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
788
+ /** @type {__VLS_StyleScopedClasses['min-h-10']} */ ;
789
+ /** @type {__VLS_StyleScopedClasses['text-chat-haze-600']} */ ;
790
+ /** @type {__VLS_StyleScopedClasses['font-bold']} */ ;
791
+ /** @type {__VLS_StyleScopedClasses['text-base']} */ ;
792
+ /** @type {__VLS_StyleScopedClasses['w-[200px]']} */ ;
793
+ /** @type {__VLS_StyleScopedClasses['rounded-lg']} */ ;
794
+ /** @type {__VLS_StyleScopedClasses['grow']} */ ;
713
795
  /** @type {__VLS_StyleScopedClasses['relative']} */ ;
714
796
  /** @type {__VLS_StyleScopedClasses['flex']} */ ;
715
797
  /** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
@@ -777,7 +859,7 @@ else {
777
859
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
778
860
  /** @type {__VLS_StyleScopedClasses['h-full']} */ ;
779
861
  // @ts-ignore
780
- var __VLS_24 = __VLS_23, __VLS_41 = __VLS_40, __VLS_52 = __VLS_51, __VLS_58 = __VLS_57, __VLS_79 = __VLS_78, __VLS_93 = __VLS_92, __VLS_99 = __VLS_98, __VLS_117 = __VLS_116;
862
+ var __VLS_25 = __VLS_24, __VLS_42 = __VLS_41, __VLS_53 = __VLS_52, __VLS_59 = __VLS_58, __VLS_80 = __VLS_79, __VLS_94 = __VLS_93, __VLS_100 = __VLS_99;
781
863
  const __VLS_export = (await import('vue')).defineComponent({
782
864
  setup: () => (__VLS_exposed),
783
865
  __typeEmits: {},