@phonghq/go-chat 1.0.71 → 1.0.73
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/assets/icons/chat/IconMenuDot.vue.js +31 -0
- package/dist/assets/icons/customer-appointment/IconChevronRight.vue.d.ts +2 -0
- package/dist/assets/icons/customer-appointment/IconChevronRight.vue.js +22 -0
- package/dist/assets/icons/global/IconMessageOutline.vue.d.ts +2 -0
- package/dist/assets/icons/global/IconMessageOutline.vue.js +22 -0
- package/dist/assets/icons/global/IconSms.vue.js +1 -1
- package/dist/assets/icons/lib/IconZoomOut.vue.d.ts +5 -0
- package/dist/assets/icons/lib/IconZoomOut.vue.js +52 -0
- package/dist/chat/App.vue.d.ts +14 -9
- package/dist/chat/App.vue.js +410 -514
- package/dist/chat/ChatHeader.vue.d.ts +15 -0
- package/dist/chat/ChatHeader.vue.js +218 -0
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.d.ts +8 -1
- package/dist/chat/page/customer-appointment/CustomerAppointment.vue.js +66 -11
- package/dist/chat/page/customer-detail/SubInformation.vue.js +41 -9
- package/dist/chat/page/home/ChatList.vue.d.ts +6 -0
- package/dist/chat/page/home/ChatList.vue.js +65 -32
- package/dist/chat/page/home/ChatMessage.vue.js +11 -1
- package/dist/chat/page/home/ChatMessageItem.vue.d.ts +1 -0
- package/dist/chat/page/home/ChatMessageItem.vue.js +44 -5
- package/dist/chat/page/home/Home.vue.d.ts +1 -0
- package/dist/chat/page/home/Home.vue.js +134 -123
- package/dist/chat/page/home/HomeHeader.vue.js +103 -10
- package/dist/chat/page/home/NewCustomer.vue.js +11 -9
- package/dist/chat/page/home/PhoneNumpad.vue.d.ts +4 -0
- package/dist/chat/page/home/PhoneNumpad.vue.js +39 -21
- package/dist/components/chat/call/Calling.vue.js +5 -18
- package/dist/components/common/dropdown/DropdownBase.vue.d.ts +4 -4
- package/dist/components/common/dropdown/DropdownBase.vue.js +11 -9
- package/dist/components/common/select/SelectBase.vue.d.ts +9 -4
- package/dist/components/common/select/SelectBase.vue.js +49 -31
- package/dist/components/ui/button/c-button.js +1 -1
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +2 -2
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +2 -2
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +2 -2
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +3 -3
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.js +11 -6
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +4 -4
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +2 -2
- package/dist/components/ui/select/SelectContent.vue.js +7 -2
- package/dist/components/ui/select/SelectItem.vue.js +2 -2
- package/dist/composable/useInitData.js +2 -0
- package/dist/composable/useListConversations.d.ts +5 -1
- package/dist/composable/useListConversations.js +42 -31
- package/dist/composable/useListentEvent.js +20 -2
- package/dist/composable/usePlivo.d.ts +0 -2
- package/dist/composable/usePlivo.js +5 -11
- package/dist/go-chat.es.js +18061 -16541
- package/dist/go-chat.umd.js +23 -23
- package/dist/style.css +1 -1
- package/dist/types/chat/global.d.ts +35 -10
- package/dist/utils/chat/queue.d.ts +7 -0
- package/dist/utils/chat/queue.js +30 -0
- package/dist/utils/chat/store/conversation.d.ts +1 -0
- package/dist/utils/chat/store/conversation.js +4 -0
- package/dist/utils/chat/store/message.d.ts +0 -4
- package/dist/utils/chat/store/message.js +0 -4
- package/dist/utils/chat/store/time-limit.d.ts +5 -0
- package/dist/utils/chat/store/time-limit.js +8 -0
- package/dist/utils/string-helper.d.ts +1 -0
- package/dist/utils/string-helper.js +3 -0
- package/dist/views/home/phone-numpad/ConvercationList.vue.d.ts +1 -0
- package/dist/views/home/phone-numpad/ConvercationList.vue.js +4 -1
- package/dist/views/home/phone-numpad/PhoneNumpad.vue.d.ts +6 -2
- package/dist/views/home/phone-numpad/PhoneNumpad.vue.js +43 -17
- package/package.json +1 -1
- package/dist/assets/icons/call/IconPhoneBase.vue.js +0 -20
- /package/dist/assets/icons/{call/IconPhoneBase.vue.d.ts → chat/IconMenuDot.vue.d.ts} +0 -0
package/dist/chat/App.vue.js
CHANGED
|
@@ -23,6 +23,7 @@ import { phoneNumberFormat } from '../utils/string-helper';
|
|
|
23
23
|
import { responsiveObserver, useListenEvent } from '../composable/useListentEvent';
|
|
24
24
|
import PhoneNumpad from './page/home/PhoneNumpad.vue';
|
|
25
25
|
import PageError from '../components/layout/PageError.vue';
|
|
26
|
+
import ChatHeader from '../chat/ChatHeader.vue';
|
|
26
27
|
const routerConfig = [
|
|
27
28
|
{ id: PAGE.HOME, backFunc: null, backTitle: '' },
|
|
28
29
|
{
|
|
@@ -71,7 +72,12 @@ const routerMobileConfig = computed(() => [
|
|
|
71
72
|
{
|
|
72
73
|
id: PAGE.CUSTOMER_DETAIL,
|
|
73
74
|
backFunc: () => {
|
|
74
|
-
|
|
75
|
+
if (receiverId.value) {
|
|
76
|
+
routerPush(PAGE.HOME);
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
routerPush(PAGE.CHAT_LIST);
|
|
80
|
+
}
|
|
75
81
|
},
|
|
76
82
|
backTitle: ''
|
|
77
83
|
},
|
|
@@ -92,10 +98,13 @@ const routerMobileConfig = computed(() => [
|
|
|
92
98
|
]);
|
|
93
99
|
const props = withDefaults(defineProps(), {
|
|
94
100
|
response: 'tablet',
|
|
101
|
+
isZoomIn: undefined
|
|
95
102
|
});
|
|
96
103
|
const emit = defineEmits();
|
|
97
104
|
let initTimer = null;
|
|
98
105
|
const handleExposeInit = (init_data) => {
|
|
106
|
+
if (init_data?.isResponsiveChange)
|
|
107
|
+
return;
|
|
99
108
|
if (initTimer)
|
|
100
109
|
return;
|
|
101
110
|
const func = (data) => {
|
|
@@ -103,11 +112,11 @@ const handleExposeInit = (init_data) => {
|
|
|
103
112
|
if (init_data?.conversation_id) {
|
|
104
113
|
chatListRef.value?.initData({
|
|
105
114
|
conversation_id: data?.conversation_id,
|
|
106
|
-
is_known: data?.is_known
|
|
115
|
+
is_known: data?.is_known ?? 1
|
|
107
116
|
});
|
|
108
117
|
}
|
|
109
118
|
else
|
|
110
|
-
chatListRef.value?.initData();
|
|
119
|
+
chatListRef.value?.initData(data);
|
|
111
120
|
clearInterval(initTimer);
|
|
112
121
|
initTimer = null;
|
|
113
122
|
}
|
|
@@ -115,7 +124,7 @@ const handleExposeInit = (init_data) => {
|
|
|
115
124
|
initTimer = setInterval(() => func(init_data), 500);
|
|
116
125
|
};
|
|
117
126
|
const { initPage } = useInitData();
|
|
118
|
-
const { getResponsiveObserver } = useListenEvent(handleExposeInit);
|
|
127
|
+
const { getResponsiveObserver } = useListenEvent(() => handleExposeInit({ isResponsiveChange: true }));
|
|
119
128
|
onMounted(() => {
|
|
120
129
|
getResponsiveObserver(true);
|
|
121
130
|
if (props.isLib) {
|
|
@@ -143,6 +152,11 @@ const currentConversation = computed(() => {
|
|
|
143
152
|
null);
|
|
144
153
|
});
|
|
145
154
|
const callStatus = computed(() => callingRef.value?.callStatus ?? null);
|
|
155
|
+
// const limitTimeLabel = computed(() => {
|
|
156
|
+
// const m2 = Math.floor(timeLimit.value / 60)
|
|
157
|
+
// const s2 = timeLimit.value % 60
|
|
158
|
+
// return `${m2.toString().padStart(2, '0')}:${s2.toString().padStart(2, '0')}`
|
|
159
|
+
// })
|
|
146
160
|
const appChatRef = ref();
|
|
147
161
|
const callingRef = ref(null);
|
|
148
162
|
const receiverId = ref(null);
|
|
@@ -151,6 +165,7 @@ const homeComponentRef = ref(null);
|
|
|
151
165
|
const chatListRef = ref(null);
|
|
152
166
|
const drawerVisibleRef = ref(null);
|
|
153
167
|
const phoneNumpadRef = ref();
|
|
168
|
+
const loading = ref(false);
|
|
154
169
|
const selectReceiver = async (data) => {
|
|
155
170
|
if (receiverId.value != data?.receiver_id || responsiveRender.value === 'mobile') {
|
|
156
171
|
if (currentPage.value != PAGE.HOME) {
|
|
@@ -191,40 +206,67 @@ const handleOpenPhoneNumpad = () => {
|
|
|
191
206
|
phoneNumpadRef.value?.openPhoneNumpad();
|
|
192
207
|
};
|
|
193
208
|
const handleCloseBtn = () => {
|
|
194
|
-
emit('close');
|
|
209
|
+
emit('app:close');
|
|
195
210
|
phoneNumpadRef.value?.closePhoneNumpad();
|
|
196
211
|
};
|
|
197
212
|
const backToHome = () => {
|
|
198
213
|
phoneNumpadRef.value?.closePhoneNumpad();
|
|
199
214
|
};
|
|
215
|
+
const goToConversationRequest = (data) => {
|
|
216
|
+
chatListRef.value?.goToConversationRequest(data);
|
|
217
|
+
};
|
|
218
|
+
const handleReloadCustomer = (data) => {
|
|
219
|
+
homeComponentRef.value?.handleGetDetailReceiverQuickly(data);
|
|
220
|
+
};
|
|
221
|
+
const startSendMessage = async (data) => {
|
|
222
|
+
try {
|
|
223
|
+
loading.value = true;
|
|
224
|
+
await nextTick();
|
|
225
|
+
await phoneNumpadRef.value?.startSendMessage(data);
|
|
226
|
+
}
|
|
227
|
+
catch (e) {
|
|
228
|
+
console.log(e);
|
|
229
|
+
}
|
|
230
|
+
loading.value = false;
|
|
231
|
+
};
|
|
200
232
|
let __VLS_exposed;
|
|
201
233
|
defineExpose({
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
return callingRef.value?.label ?? '';
|
|
210
|
-
},
|
|
211
|
-
getUserRemote: () => {
|
|
212
|
-
return callingRef.value?.userRemoter ?? null;
|
|
234
|
+
call: {
|
|
235
|
+
startCall: async () => {
|
|
236
|
+
await callingRef.value?.answer();
|
|
237
|
+
},
|
|
238
|
+
endCall: () => {
|
|
239
|
+
callingRef.value?.endCall();
|
|
240
|
+
}
|
|
213
241
|
},
|
|
214
|
-
|
|
215
|
-
|
|
242
|
+
chat: {
|
|
243
|
+
startSendMessage
|
|
216
244
|
},
|
|
217
|
-
|
|
218
|
-
|
|
245
|
+
ui: {
|
|
246
|
+
get unreadCount() {
|
|
247
|
+
return unreadCount.value;
|
|
248
|
+
},
|
|
249
|
+
get callStatus() {
|
|
250
|
+
return callStatus.value;
|
|
251
|
+
},
|
|
252
|
+
get callLabel() {
|
|
253
|
+
return callingRef.value?.label ?? '';
|
|
254
|
+
}
|
|
219
255
|
},
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
256
|
+
app: {
|
|
257
|
+
getUserRemote: () => {
|
|
258
|
+
return callingRef.value?.userRemoter ?? null;
|
|
259
|
+
},
|
|
260
|
+
openSettings,
|
|
261
|
+
initData: (data) => handleExposeInit(data),
|
|
262
|
+
backToHome,
|
|
263
|
+
closeCallingModal: () => callingRef.value?.closeModal()
|
|
264
|
+
}
|
|
224
265
|
});
|
|
225
266
|
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
226
267
|
const __VLS_defaults = {
|
|
227
268
|
response: 'tablet',
|
|
269
|
+
isZoomIn: undefined
|
|
228
270
|
};
|
|
229
271
|
const __VLS_ctx = {
|
|
230
272
|
...{},
|
|
@@ -238,12 +280,24 @@ let __VLS_components;
|
|
|
238
280
|
let __VLS_directives;
|
|
239
281
|
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
240
282
|
...{ class: "go-chat-main max-w-full bg-white" },
|
|
283
|
+
...{ class: ({ 'go-chat-app': __VLS_ctx.isLib }) },
|
|
241
284
|
id: "appChatMain",
|
|
242
285
|
ref: "appChatRef",
|
|
243
286
|
});
|
|
287
|
+
(__VLS_ctx.$attrs);
|
|
244
288
|
/** @type {typeof __VLS_ctx.appChatRef} */ ;
|
|
245
289
|
// @ts-ignore
|
|
246
|
-
[appChatRef,];
|
|
290
|
+
[isLib, $attrs, appChatRef,];
|
|
291
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
292
|
+
...{ class: "bg-white inset-0 sc-full flex-center" },
|
|
293
|
+
});
|
|
294
|
+
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.loading) }, null, null);
|
|
295
|
+
// @ts-ignore
|
|
296
|
+
[loading,];
|
|
297
|
+
/** @type {[typeof BaseSpin, ]} */ ;
|
|
298
|
+
// @ts-ignore
|
|
299
|
+
const __VLS_0 = __VLS_asFunctionalComponent(BaseSpin, new BaseSpin({}));
|
|
300
|
+
const __VLS_1 = __VLS_0({}, ...__VLS_functionalComponentArgsRest(__VLS_0));
|
|
247
301
|
if (!__VLS_ctx.isRouterReady) {
|
|
248
302
|
// @ts-ignore
|
|
249
303
|
[isRouterReady,];
|
|
@@ -252,36 +306,36 @@ if (!__VLS_ctx.isRouterReady) {
|
|
|
252
306
|
});
|
|
253
307
|
/** @type {[typeof BaseSpin, ]} */ ;
|
|
254
308
|
// @ts-ignore
|
|
255
|
-
const
|
|
256
|
-
const
|
|
309
|
+
const __VLS_4 = __VLS_asFunctionalComponent(BaseSpin, new BaseSpin({}));
|
|
310
|
+
const __VLS_5 = __VLS_4({}, ...__VLS_functionalComponentArgsRest(__VLS_4));
|
|
257
311
|
}
|
|
258
312
|
else if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR) {
|
|
259
313
|
// @ts-ignore
|
|
260
314
|
[currentPage, PAGE,];
|
|
261
315
|
/** @type {[typeof Error, ]} */ ;
|
|
262
316
|
// @ts-ignore
|
|
263
|
-
const
|
|
317
|
+
const __VLS_8 = __VLS_asFunctionalComponent(Error, new Error({
|
|
264
318
|
...{ class: "mt-10" },
|
|
265
319
|
}));
|
|
266
|
-
const
|
|
320
|
+
const __VLS_9 = __VLS_8({
|
|
267
321
|
...{ class: "mt-10" },
|
|
268
|
-
}, ...__VLS_functionalComponentArgsRest(
|
|
322
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
269
323
|
}
|
|
270
324
|
else if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT) {
|
|
271
325
|
// @ts-ignore
|
|
272
326
|
[currentPage, PAGE,];
|
|
273
327
|
/** @type {[typeof Setting, ]} */ ;
|
|
274
328
|
// @ts-ignore
|
|
275
|
-
const
|
|
276
|
-
const
|
|
329
|
+
const __VLS_12 = __VLS_asFunctionalComponent(Setting, new Setting({}));
|
|
330
|
+
const __VLS_13 = __VLS_12({}, ...__VLS_functionalComponentArgsRest(__VLS_12));
|
|
277
331
|
}
|
|
278
332
|
else if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS) {
|
|
279
333
|
// @ts-ignore
|
|
280
334
|
[currentPage, PAGE,];
|
|
281
335
|
/** @type {[typeof SettingSuccess, ]} */ ;
|
|
282
336
|
// @ts-ignore
|
|
283
|
-
const
|
|
284
|
-
const
|
|
337
|
+
const __VLS_16 = __VLS_asFunctionalComponent(SettingSuccess, new SettingSuccess({}));
|
|
338
|
+
const __VLS_17 = __VLS_16({}, ...__VLS_functionalComponentArgsRest(__VLS_16));
|
|
285
339
|
}
|
|
286
340
|
else if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE) {
|
|
287
341
|
// @ts-ignore
|
|
@@ -316,24 +370,24 @@ else if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE) {
|
|
|
316
370
|
});
|
|
317
371
|
/** @type {[typeof IconCloseCircle, ]} */ ;
|
|
318
372
|
// @ts-ignore
|
|
319
|
-
const
|
|
320
|
-
const
|
|
373
|
+
const __VLS_20 = __VLS_asFunctionalComponent(IconCloseCircle, new IconCloseCircle({}));
|
|
374
|
+
const __VLS_21 = __VLS_20({}, ...__VLS_functionalComponentArgsRest(__VLS_20));
|
|
321
375
|
}
|
|
322
376
|
/** @type {[typeof NotTenantPhone, ]} */ ;
|
|
323
377
|
// @ts-ignore
|
|
324
|
-
const
|
|
378
|
+
const __VLS_24 = __VLS_asFunctionalComponent(NotTenantPhone, new NotTenantPhone({
|
|
325
379
|
...{ 'onTryAgain': {} },
|
|
326
380
|
...{ class: "bg-white grow" },
|
|
327
381
|
isLib: (props.isLib),
|
|
328
382
|
}));
|
|
329
|
-
const
|
|
383
|
+
const __VLS_25 = __VLS_24({
|
|
330
384
|
...{ 'onTryAgain': {} },
|
|
331
385
|
...{ class: "bg-white grow" },
|
|
332
386
|
isLib: (props.isLib),
|
|
333
|
-
}, ...__VLS_functionalComponentArgsRest(
|
|
334
|
-
let
|
|
335
|
-
let
|
|
336
|
-
const
|
|
387
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_24));
|
|
388
|
+
let __VLS_27;
|
|
389
|
+
let __VLS_28;
|
|
390
|
+
const __VLS_29 = ({ tryAgain: {} },
|
|
337
391
|
{ onTryAgain: (...[$event]) => {
|
|
338
392
|
if (!!(!__VLS_ctx.isRouterReady))
|
|
339
393
|
return;
|
|
@@ -349,7 +403,7 @@ else if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE) {
|
|
|
349
403
|
// @ts-ignore
|
|
350
404
|
[handleInitPage,];
|
|
351
405
|
} });
|
|
352
|
-
var
|
|
406
|
+
var __VLS_26;
|
|
353
407
|
}
|
|
354
408
|
else {
|
|
355
409
|
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
@@ -360,13 +414,76 @@ else {
|
|
|
360
414
|
[isLib,];
|
|
361
415
|
/** @type {[typeof PageError, ]} */ ;
|
|
362
416
|
// @ts-ignore
|
|
363
|
-
const
|
|
417
|
+
const __VLS_31 = __VLS_asFunctionalComponent(PageError, new PageError({
|
|
364
418
|
...{ class: "shrink-0" },
|
|
365
419
|
}));
|
|
366
|
-
const
|
|
420
|
+
const __VLS_32 = __VLS_31({
|
|
367
421
|
...{ class: "shrink-0" },
|
|
368
|
-
}, ...__VLS_functionalComponentArgsRest(
|
|
422
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_31));
|
|
369
423
|
}
|
|
424
|
+
/** @type {[typeof ChatHeader, ]} */ ;
|
|
425
|
+
// @ts-ignore
|
|
426
|
+
const __VLS_35 = __VLS_asFunctionalComponent(ChatHeader, new ChatHeader({
|
|
427
|
+
...{ 'onClose': {} },
|
|
428
|
+
...{ 'onZoomChange': {} },
|
|
429
|
+
...{ class: "py-4 border-b layout-border" },
|
|
430
|
+
...{ class: ({
|
|
431
|
+
'bg-[#F9FAFC]': __VLS_ctx.responsiveRender == 'mobile',
|
|
432
|
+
'bg-white': __VLS_ctx.responsiveRender != 'mobile'
|
|
433
|
+
}) },
|
|
434
|
+
currentPageConfig: (__VLS_ctx.currentPageConfig),
|
|
435
|
+
isLib: (__VLS_ctx.isLib),
|
|
436
|
+
response: (__VLS_ctx.responsiveRender),
|
|
437
|
+
isZoomIn: (__VLS_ctx.isZoomIn),
|
|
438
|
+
}));
|
|
439
|
+
const __VLS_36 = __VLS_35({
|
|
440
|
+
...{ 'onClose': {} },
|
|
441
|
+
...{ 'onZoomChange': {} },
|
|
442
|
+
...{ class: "py-4 border-b layout-border" },
|
|
443
|
+
...{ class: ({
|
|
444
|
+
'bg-[#F9FAFC]': __VLS_ctx.responsiveRender == 'mobile',
|
|
445
|
+
'bg-white': __VLS_ctx.responsiveRender != 'mobile'
|
|
446
|
+
}) },
|
|
447
|
+
currentPageConfig: (__VLS_ctx.currentPageConfig),
|
|
448
|
+
isLib: (__VLS_ctx.isLib),
|
|
449
|
+
response: (__VLS_ctx.responsiveRender),
|
|
450
|
+
isZoomIn: (__VLS_ctx.isZoomIn),
|
|
451
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_35));
|
|
452
|
+
let __VLS_38;
|
|
453
|
+
let __VLS_39;
|
|
454
|
+
const __VLS_40 = ({ close: {} },
|
|
455
|
+
{ onClose: (...[$event]) => {
|
|
456
|
+
if (!!(!__VLS_ctx.isRouterReady))
|
|
457
|
+
return;
|
|
458
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
459
|
+
return;
|
|
460
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
|
|
461
|
+
return;
|
|
462
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
|
|
463
|
+
return;
|
|
464
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
|
|
465
|
+
return;
|
|
466
|
+
__VLS_ctx.handleCloseBtn();
|
|
467
|
+
// @ts-ignore
|
|
468
|
+
[isLib, handleCloseBtn, responsiveRender, responsiveRender, responsiveRender, currentPageConfig, isZoomIn,];
|
|
469
|
+
} });
|
|
470
|
+
const __VLS_41 = ({ zoomChange: {} },
|
|
471
|
+
{ onZoomChange: (...[$event]) => {
|
|
472
|
+
if (!!(!__VLS_ctx.isRouterReady))
|
|
473
|
+
return;
|
|
474
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
475
|
+
return;
|
|
476
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
|
|
477
|
+
return;
|
|
478
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
|
|
479
|
+
return;
|
|
480
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
|
|
481
|
+
return;
|
|
482
|
+
__VLS_ctx.emit('app:zoomChange');
|
|
483
|
+
// @ts-ignore
|
|
484
|
+
[emit,];
|
|
485
|
+
} });
|
|
486
|
+
var __VLS_37;
|
|
370
487
|
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
371
488
|
...{ class: "w-full grow flex overflow-hidden relative" },
|
|
372
489
|
});
|
|
@@ -375,21 +492,21 @@ else {
|
|
|
375
492
|
[isLib,];
|
|
376
493
|
/** @type {[typeof Calling, ]} */ ;
|
|
377
494
|
// @ts-ignore
|
|
378
|
-
const
|
|
495
|
+
const __VLS_43 = __VLS_asFunctionalComponent(Calling, new Calling({
|
|
379
496
|
...{ 'onUserCalling': {} },
|
|
380
497
|
...{ 'onEndCall': {} },
|
|
381
498
|
ref: "callingRef",
|
|
382
499
|
responsive: (__VLS_ctx.responsiveRender),
|
|
383
500
|
}));
|
|
384
|
-
const
|
|
501
|
+
const __VLS_44 = __VLS_43({
|
|
385
502
|
...{ 'onUserCalling': {} },
|
|
386
503
|
...{ 'onEndCall': {} },
|
|
387
504
|
ref: "callingRef",
|
|
388
505
|
responsive: (__VLS_ctx.responsiveRender),
|
|
389
|
-
}, ...__VLS_functionalComponentArgsRest(
|
|
390
|
-
let
|
|
391
|
-
let
|
|
392
|
-
const
|
|
506
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_43));
|
|
507
|
+
let __VLS_46;
|
|
508
|
+
let __VLS_47;
|
|
509
|
+
const __VLS_48 = ({ userCalling: {} },
|
|
393
510
|
{ onUserCalling: (...[$event]) => {
|
|
394
511
|
if (!!(!__VLS_ctx.isRouterReady))
|
|
395
512
|
return;
|
|
@@ -403,11 +520,11 @@ else {
|
|
|
403
520
|
return;
|
|
404
521
|
if (!(__VLS_ctx.isLib))
|
|
405
522
|
return;
|
|
406
|
-
__VLS_ctx.emit('userCalling', $event);
|
|
523
|
+
__VLS_ctx.emit('call:userCalling', $event);
|
|
407
524
|
// @ts-ignore
|
|
408
525
|
[responsiveRender, emit,];
|
|
409
526
|
} });
|
|
410
|
-
const
|
|
527
|
+
const __VLS_49 = ({ endCall: {} },
|
|
411
528
|
{ onEndCall: (...[$event]) => {
|
|
412
529
|
if (!!(!__VLS_ctx.isRouterReady))
|
|
413
530
|
return;
|
|
@@ -421,161 +538,101 @@ else {
|
|
|
421
538
|
return;
|
|
422
539
|
if (!(__VLS_ctx.isLib))
|
|
423
540
|
return;
|
|
424
|
-
__VLS_ctx.emit('endCall');
|
|
541
|
+
__VLS_ctx.emit('call:endCall');
|
|
425
542
|
// @ts-ignore
|
|
426
543
|
[emit,];
|
|
427
544
|
} });
|
|
428
545
|
/** @type {typeof __VLS_ctx.callingRef} */ ;
|
|
429
|
-
var
|
|
546
|
+
var __VLS_50 = {};
|
|
430
547
|
// @ts-ignore
|
|
431
548
|
[callingRef,];
|
|
432
|
-
var
|
|
549
|
+
var __VLS_45;
|
|
433
550
|
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
})
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
551
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
552
|
+
...{ class: "relative flex w-full h-full" },
|
|
553
|
+
...{ class: ({
|
|
554
|
+
'': __VLS_ctx.responsiveRender != 'mobile',
|
|
555
|
+
'grow flex-col mx-auto bg-[#F9FAFC] overflow-hidden chat-mobile': __VLS_ctx.responsiveRender == 'mobile'
|
|
556
|
+
}) },
|
|
557
|
+
});
|
|
558
|
+
// @ts-ignore
|
|
559
|
+
[responsiveRender, responsiveRender,];
|
|
560
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
561
|
+
...{ class: "grow overflow-hidden" },
|
|
562
|
+
...{ class: ({ flex: __VLS_ctx.responsiveRender != 'mobile' }) },
|
|
563
|
+
});
|
|
564
|
+
// @ts-ignore
|
|
565
|
+
[responsiveRender,];
|
|
566
|
+
/** @type {[typeof ChatList, ]} */ ;
|
|
567
|
+
// @ts-ignore
|
|
568
|
+
const __VLS_53 = __VLS_asFunctionalComponent(ChatList, new ChatList({
|
|
569
|
+
...{ 'onSelectReceiver': {} },
|
|
570
|
+
...{ 'onOpenPhoneNumpad': {} },
|
|
571
|
+
...{ 'onReloadReceiver': {} },
|
|
572
|
+
ref: "chatListRef",
|
|
573
|
+
...{ class: "" },
|
|
574
|
+
...{ class: ({
|
|
575
|
+
'w-[38%] max-w-[500px] min-w-[300px] xl:min-w-[450px] border-r layout-border': __VLS_ctx.responsiveRender != 'mobile',
|
|
576
|
+
'w-full max-w-[500px] !bg-[#F9FAFC]': __VLS_ctx.responsiveRender == 'mobile'
|
|
577
|
+
}) },
|
|
578
|
+
responsive: (__VLS_ctx.responsiveRender),
|
|
579
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
580
|
+
}));
|
|
581
|
+
const __VLS_54 = __VLS_53({
|
|
582
|
+
...{ 'onSelectReceiver': {} },
|
|
583
|
+
...{ 'onOpenPhoneNumpad': {} },
|
|
584
|
+
...{ 'onReloadReceiver': {} },
|
|
585
|
+
ref: "chatListRef",
|
|
586
|
+
...{ class: "" },
|
|
587
|
+
...{ class: ({
|
|
588
|
+
'w-[38%] max-w-[500px] min-w-[300px] xl:min-w-[450px] border-r layout-border': __VLS_ctx.responsiveRender != 'mobile',
|
|
589
|
+
'w-full max-w-[500px] !bg-[#F9FAFC]': __VLS_ctx.responsiveRender == 'mobile'
|
|
590
|
+
}) },
|
|
591
|
+
responsive: (__VLS_ctx.responsiveRender),
|
|
592
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
593
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_53));
|
|
594
|
+
let __VLS_56;
|
|
595
|
+
let __VLS_57;
|
|
596
|
+
const __VLS_58 = ({ selectReceiver: {} },
|
|
597
|
+
{ onSelectReceiver: (__VLS_ctx.selectReceiver) });
|
|
598
|
+
const __VLS_59 = ({ openPhoneNumpad: {} },
|
|
599
|
+
{ onOpenPhoneNumpad: (...[$event]) => {
|
|
600
|
+
if (!!(!__VLS_ctx.isRouterReady))
|
|
601
|
+
return;
|
|
602
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
603
|
+
return;
|
|
604
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
|
|
605
|
+
return;
|
|
606
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
|
|
607
|
+
return;
|
|
608
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
|
|
609
|
+
return;
|
|
610
|
+
__VLS_ctx.handleOpenPhoneNumpad();
|
|
489
611
|
// @ts-ignore
|
|
490
|
-
[
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
...{ class: "flex gap-2" },
|
|
510
|
-
});
|
|
511
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
512
|
-
...{ class: "text-chat-haze-700" },
|
|
513
|
-
});
|
|
514
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
515
|
-
...{ class: "font-medium text-gray-700" },
|
|
516
|
-
});
|
|
517
|
-
(__VLS_ctx.phoneNumberFormat(__VLS_ctx.dataProfile?.phone ?? '') ?? '');
|
|
518
|
-
// @ts-ignore
|
|
519
|
-
[dataProfile, phoneNumberFormat,];
|
|
520
|
-
}
|
|
521
|
-
else {
|
|
522
|
-
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
|
|
523
|
-
}
|
|
524
|
-
if (props.isLib) {
|
|
525
|
-
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
526
|
-
...{ onClick: (...[$event]) => {
|
|
527
|
-
if (!!(!__VLS_ctx.isRouterReady))
|
|
528
|
-
return;
|
|
529
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
530
|
-
return;
|
|
531
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
|
|
532
|
-
return;
|
|
533
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
|
|
534
|
-
return;
|
|
535
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
|
|
536
|
-
return;
|
|
537
|
-
if (!(__VLS_ctx.responsiveRender == 'mobile'))
|
|
538
|
-
return;
|
|
539
|
-
if (!(props.isLib))
|
|
540
|
-
return;
|
|
541
|
-
__VLS_ctx.handleCloseBtn();
|
|
542
|
-
// @ts-ignore
|
|
543
|
-
[handleCloseBtn,];
|
|
544
|
-
} },
|
|
545
|
-
...{ class: "w-10 h-10" },
|
|
546
|
-
});
|
|
547
|
-
/** @type {[typeof IconCloseCircle, ]} */ ;
|
|
548
|
-
// @ts-ignore
|
|
549
|
-
const __VLS_45 = __VLS_asFunctionalComponent(IconCloseCircle, new IconCloseCircle({}));
|
|
550
|
-
const __VLS_46 = __VLS_45({}, ...__VLS_functionalComponentArgsRest(__VLS_45));
|
|
551
|
-
}
|
|
612
|
+
[responsiveRender, responsiveRender, responsiveRender, receiverId, selectReceiver, handleOpenPhoneNumpad,];
|
|
613
|
+
} });
|
|
614
|
+
const __VLS_60 = ({ reloadReceiver: {} },
|
|
615
|
+
{ onReloadReceiver: (__VLS_ctx.handleReloadCustomer) });
|
|
616
|
+
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CHAT_LIST || __VLS_ctx.responsiveRender != 'mobile') }, null, null);
|
|
617
|
+
/** @type {typeof __VLS_ctx.chatListRef} */ ;
|
|
618
|
+
var __VLS_61 = {};
|
|
619
|
+
// @ts-ignore
|
|
620
|
+
[currentPage, PAGE, responsiveRender, handleReloadCustomer, chatListRef,];
|
|
621
|
+
var __VLS_55;
|
|
622
|
+
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
623
|
+
...{ class: "h-full overflow-hidden" },
|
|
624
|
+
...{ class: ({ 'flex flex-col grow': __VLS_ctx.responsiveRender != 'mobile', 'w-full': __VLS_ctx.responsiveRender == 'mobile' }) },
|
|
625
|
+
});
|
|
626
|
+
// @ts-ignore
|
|
627
|
+
[responsiveRender, responsiveRender,];
|
|
628
|
+
if (__VLS_ctx.currentPageConfig?.backFunc && __VLS_ctx.responsiveRender != 'mobile') {
|
|
629
|
+
// @ts-ignore
|
|
630
|
+
[responsiveRender, currentPageConfig,];
|
|
552
631
|
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
553
|
-
...{ class: "
|
|
632
|
+
...{ class: "text-[#141B34] px-6 mt-4" },
|
|
554
633
|
});
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
const __VLS_49 = __VLS_asFunctionalComponent(ChatList, new ChatList({
|
|
558
|
-
...{ 'onSelectReceiver': {} },
|
|
559
|
-
...{ 'onOpenPhoneNumpad': {} },
|
|
560
|
-
ref: "chatListRef",
|
|
561
|
-
...{ class: "w-full max-w-[500px] !bg-[#F9FAFC]" },
|
|
562
|
-
responsive: (__VLS_ctx.responsiveRender),
|
|
563
|
-
receiverId: (__VLS_ctx.receiverId),
|
|
564
|
-
}));
|
|
565
|
-
const __VLS_50 = __VLS_49({
|
|
566
|
-
...{ 'onSelectReceiver': {} },
|
|
567
|
-
...{ 'onOpenPhoneNumpad': {} },
|
|
568
|
-
ref: "chatListRef",
|
|
569
|
-
...{ class: "w-full max-w-[500px] !bg-[#F9FAFC]" },
|
|
570
|
-
responsive: (__VLS_ctx.responsiveRender),
|
|
571
|
-
receiverId: (__VLS_ctx.receiverId),
|
|
572
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_49));
|
|
573
|
-
let __VLS_52;
|
|
574
|
-
let __VLS_53;
|
|
575
|
-
const __VLS_54 = ({ selectReceiver: {} },
|
|
576
|
-
{ onSelectReceiver: (__VLS_ctx.selectReceiver) });
|
|
577
|
-
const __VLS_55 = ({ openPhoneNumpad: {} },
|
|
578
|
-
{ onOpenPhoneNumpad: (...[$event]) => {
|
|
634
|
+
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
635
|
+
...{ onClick: (...[$event]) => {
|
|
579
636
|
if (!!(!__VLS_ctx.isRouterReady))
|
|
580
637
|
return;
|
|
581
638
|
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
@@ -586,146 +643,129 @@ else {
|
|
|
586
643
|
return;
|
|
587
644
|
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
|
|
588
645
|
return;
|
|
589
|
-
if (!(__VLS_ctx.responsiveRender
|
|
646
|
+
if (!(__VLS_ctx.currentPageConfig?.backFunc && __VLS_ctx.responsiveRender != 'mobile'))
|
|
590
647
|
return;
|
|
591
|
-
__VLS_ctx.
|
|
648
|
+
__VLS_ctx.currentPageConfig.backFunc();
|
|
592
649
|
// @ts-ignore
|
|
593
|
-
[
|
|
594
|
-
} }
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
650
|
+
[currentPageConfig,];
|
|
651
|
+
} },
|
|
652
|
+
...{ class: "flex items-center" },
|
|
653
|
+
});
|
|
654
|
+
/** @type {[typeof IconArrowLeft, ]} */ ;
|
|
655
|
+
// @ts-ignore
|
|
656
|
+
const __VLS_64 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
|
|
657
|
+
const __VLS_65 = __VLS_64({}, ...__VLS_functionalComponentArgsRest(__VLS_64));
|
|
658
|
+
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
|
|
659
|
+
...{ class: "text-xl font-semibold text-chat-haze-900 ml-3" },
|
|
660
|
+
});
|
|
661
|
+
(__VLS_ctx.currentPageConfig.backTitle ?? '');
|
|
662
|
+
// @ts-ignore
|
|
663
|
+
[currentPageConfig,];
|
|
664
|
+
}
|
|
665
|
+
/** @type {[typeof HomeComponent, ]} */ ;
|
|
666
|
+
// @ts-ignore
|
|
667
|
+
const __VLS_68 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
|
|
668
|
+
...{ 'onCall': {} },
|
|
669
|
+
...{ 'onBack': {} },
|
|
670
|
+
...{ 'onInputFocus': {} },
|
|
671
|
+
ref: "homeComponentRef",
|
|
672
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
673
|
+
...{ class: "h-full grow" },
|
|
674
|
+
conversation: (__VLS_ctx.currentConversation),
|
|
675
|
+
responsive: (__VLS_ctx.responsiveRender),
|
|
676
|
+
}));
|
|
677
|
+
const __VLS_69 = __VLS_68({
|
|
678
|
+
...{ 'onCall': {} },
|
|
679
|
+
...{ 'onBack': {} },
|
|
680
|
+
...{ 'onInputFocus': {} },
|
|
681
|
+
ref: "homeComponentRef",
|
|
682
|
+
receiverId: (__VLS_ctx.receiverId),
|
|
683
|
+
...{ class: "h-full grow" },
|
|
684
|
+
conversation: (__VLS_ctx.currentConversation),
|
|
685
|
+
responsive: (__VLS_ctx.responsiveRender),
|
|
686
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_68));
|
|
687
|
+
let __VLS_71;
|
|
688
|
+
let __VLS_72;
|
|
689
|
+
const __VLS_73 = ({ call: {} },
|
|
690
|
+
{ onCall: (__VLS_ctx.handleCall) });
|
|
691
|
+
const __VLS_74 = ({ back: {} },
|
|
692
|
+
{ onBack: (...[$event]) => {
|
|
693
|
+
if (!!(!__VLS_ctx.isRouterReady))
|
|
694
|
+
return;
|
|
695
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
696
|
+
return;
|
|
697
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
|
|
698
|
+
return;
|
|
699
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
|
|
700
|
+
return;
|
|
701
|
+
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
|
|
702
|
+
return;
|
|
703
|
+
__VLS_ctx.currentPageConfig.backFunc?.();
|
|
704
|
+
// @ts-ignore
|
|
705
|
+
[responsiveRender, currentPageConfig, receiverId, currentConversation, handleCall,];
|
|
706
|
+
} });
|
|
707
|
+
const __VLS_75 = ({ inputFocus: {} },
|
|
708
|
+
{ onInputFocus: (__VLS_ctx.handleReadMessage) });
|
|
709
|
+
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME || (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CHAT_LIST && __VLS_ctx.responsiveRender != 'mobile')) }, null, null);
|
|
710
|
+
/** @type {typeof __VLS_ctx.homeComponentRef} */ ;
|
|
711
|
+
var __VLS_76 = {};
|
|
712
|
+
// @ts-ignore
|
|
713
|
+
[currentPage, currentPage, PAGE, PAGE, responsiveRender, handleReadMessage, homeComponentRef,];
|
|
714
|
+
var __VLS_70;
|
|
715
|
+
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
|
|
598
716
|
// @ts-ignore
|
|
599
|
-
[currentPage, PAGE,
|
|
600
|
-
|
|
601
|
-
/** @type {[typeof HomeComponent, ]} */ ;
|
|
717
|
+
[currentPage, PAGE,];
|
|
718
|
+
/** @type {[typeof CustomerDetail, ]} */ ;
|
|
602
719
|
// @ts-ignore
|
|
603
|
-
const
|
|
604
|
-
|
|
605
|
-
...{ 'onBack': {} },
|
|
606
|
-
...{ 'onInputFocus': {} },
|
|
607
|
-
ref: "homeComponentRef",
|
|
720
|
+
const __VLS_79 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
|
|
721
|
+
ref: "customerDetailRef",
|
|
608
722
|
receiverId: (__VLS_ctx.receiverId),
|
|
609
|
-
...{ class: "h-full" },
|
|
610
|
-
conversation: (__VLS_ctx.currentConversation),
|
|
723
|
+
...{ class: "w-full h-full" },
|
|
611
724
|
responsive: (__VLS_ctx.responsiveRender),
|
|
612
725
|
}));
|
|
613
|
-
const
|
|
614
|
-
|
|
615
|
-
...{ 'onBack': {} },
|
|
616
|
-
...{ 'onInputFocus': {} },
|
|
617
|
-
ref: "homeComponentRef",
|
|
726
|
+
const __VLS_80 = __VLS_79({
|
|
727
|
+
ref: "customerDetailRef",
|
|
618
728
|
receiverId: (__VLS_ctx.receiverId),
|
|
619
|
-
...{ class: "h-full" },
|
|
620
|
-
conversation: (__VLS_ctx.currentConversation),
|
|
729
|
+
...{ class: "w-full h-full" },
|
|
621
730
|
responsive: (__VLS_ctx.responsiveRender),
|
|
622
|
-
}, ...__VLS_functionalComponentArgsRest(
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
const __VLS_64 = ({ call: {} },
|
|
626
|
-
{ onCall: (__VLS_ctx.handleCall) });
|
|
627
|
-
const __VLS_65 = ({ back: {} },
|
|
628
|
-
{ onBack: (...[$event]) => {
|
|
629
|
-
if (!!(!__VLS_ctx.isRouterReady))
|
|
630
|
-
return;
|
|
631
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
632
|
-
return;
|
|
633
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
|
|
634
|
-
return;
|
|
635
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
|
|
636
|
-
return;
|
|
637
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
|
|
638
|
-
return;
|
|
639
|
-
if (!(__VLS_ctx.responsiveRender == 'mobile'))
|
|
640
|
-
return;
|
|
641
|
-
__VLS_ctx.currentPageConfig.backFunc?.();
|
|
642
|
-
// @ts-ignore
|
|
643
|
-
[responsiveRender, currentPageConfig, receiverId, currentConversation, handleCall,];
|
|
644
|
-
} });
|
|
645
|
-
const __VLS_66 = ({ inputFocus: {} },
|
|
646
|
-
{ onInputFocus: (__VLS_ctx.handleReadMessage) });
|
|
647
|
-
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME) }, null, null);
|
|
648
|
-
/** @type {typeof __VLS_ctx.homeComponentRef} */ ;
|
|
649
|
-
var __VLS_67 = {};
|
|
731
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_79));
|
|
732
|
+
/** @type {typeof __VLS_ctx.customerDetailRef} */ ;
|
|
733
|
+
var __VLS_82 = {};
|
|
650
734
|
// @ts-ignore
|
|
651
|
-
[
|
|
652
|
-
var
|
|
653
|
-
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
|
|
654
|
-
// @ts-ignore
|
|
655
|
-
[currentPage, PAGE,];
|
|
656
|
-
/** @type {[typeof CustomerDetail, ]} */ ;
|
|
657
|
-
// @ts-ignore
|
|
658
|
-
const __VLS_70 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
|
|
659
|
-
ref: "customerDetailRef",
|
|
660
|
-
receiverId: (__VLS_ctx.receiverId),
|
|
661
|
-
...{ class: "w-full h-full" },
|
|
662
|
-
responsive: (__VLS_ctx.responsiveRender),
|
|
663
|
-
}));
|
|
664
|
-
const __VLS_71 = __VLS_70({
|
|
665
|
-
ref: "customerDetailRef",
|
|
666
|
-
receiverId: (__VLS_ctx.receiverId),
|
|
667
|
-
...{ class: "w-full h-full" },
|
|
668
|
-
responsive: (__VLS_ctx.responsiveRender),
|
|
669
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_70));
|
|
670
|
-
/** @type {typeof __VLS_ctx.customerDetailRef} */ ;
|
|
671
|
-
var __VLS_73 = {};
|
|
672
|
-
// @ts-ignore
|
|
673
|
-
[responsiveRender, receiverId, customerDetailRef,];
|
|
674
|
-
var __VLS_72;
|
|
675
|
-
}
|
|
676
|
-
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
|
|
677
|
-
// @ts-ignore
|
|
678
|
-
[currentPage, PAGE,];
|
|
679
|
-
/** @type {[typeof CustomerCheckIn, ]} */ ;
|
|
680
|
-
// @ts-ignore
|
|
681
|
-
const __VLS_76 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
|
|
682
|
-
...{ class: "w-full h-full" },
|
|
683
|
-
}));
|
|
684
|
-
const __VLS_77 = __VLS_76({
|
|
685
|
-
...{ class: "w-full h-full" },
|
|
686
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_76));
|
|
687
|
-
}
|
|
688
|
-
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
|
|
689
|
-
// @ts-ignore
|
|
690
|
-
[currentPage, PAGE,];
|
|
691
|
-
/** @type {[typeof CustomerAppointment, ]} */ ;
|
|
692
|
-
// @ts-ignore
|
|
693
|
-
const __VLS_80 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
|
|
694
|
-
...{ class: "w-full h-full" },
|
|
695
|
-
}));
|
|
696
|
-
const __VLS_81 = __VLS_80({
|
|
697
|
-
...{ class: "w-full h-full" },
|
|
698
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_80));
|
|
699
|
-
}
|
|
735
|
+
[responsiveRender, receiverId, customerDetailRef,];
|
|
736
|
+
var __VLS_81;
|
|
700
737
|
}
|
|
701
|
-
|
|
702
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
703
|
-
...{ class: "flex h-full w-full relative" },
|
|
704
|
-
});
|
|
705
|
-
/** @type {[typeof ChatList, ]} */ ;
|
|
738
|
+
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
|
|
706
739
|
// @ts-ignore
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
...{ class: "w-
|
|
712
|
-
responsive: (__VLS_ctx.responsiveRender),
|
|
713
|
-
receiverId: (__VLS_ctx.receiverId),
|
|
740
|
+
[currentPage, PAGE,];
|
|
741
|
+
/** @type {[typeof CustomerCheckIn, ]} */ ;
|
|
742
|
+
// @ts-ignore
|
|
743
|
+
const __VLS_85 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
|
|
744
|
+
...{ class: "w-full h-full" },
|
|
714
745
|
}));
|
|
715
|
-
const
|
|
716
|
-
...{
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
{
|
|
727
|
-
|
|
728
|
-
|
|
746
|
+
const __VLS_86 = __VLS_85({
|
|
747
|
+
...{ class: "w-full h-full" },
|
|
748
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_85));
|
|
749
|
+
}
|
|
750
|
+
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
|
|
751
|
+
// @ts-ignore
|
|
752
|
+
[currentPage, PAGE,];
|
|
753
|
+
/** @type {[typeof CustomerAppointment, ]} */ ;
|
|
754
|
+
// @ts-ignore
|
|
755
|
+
const __VLS_89 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
|
|
756
|
+
...{ 'onBookingAdmin:viewAppointment': {} },
|
|
757
|
+
...{ class: "w-full h-full" },
|
|
758
|
+
isBookingAdmin: (__VLS_ctx.parentPageName == 'booking-admin'),
|
|
759
|
+
}));
|
|
760
|
+
const __VLS_90 = __VLS_89({
|
|
761
|
+
...{ 'onBookingAdmin:viewAppointment': {} },
|
|
762
|
+
...{ class: "w-full h-full" },
|
|
763
|
+
isBookingAdmin: (__VLS_ctx.parentPageName == 'booking-admin'),
|
|
764
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_89));
|
|
765
|
+
let __VLS_92;
|
|
766
|
+
let __VLS_93;
|
|
767
|
+
const __VLS_94 = ({ 'bookingAdmin:viewAppointment': {} },
|
|
768
|
+
{ 'onBookingAdmin:viewAppointment': (...[$event]) => {
|
|
729
769
|
if (!!(!__VLS_ctx.isRouterReady))
|
|
730
770
|
return;
|
|
731
771
|
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
@@ -736,171 +776,54 @@ else {
|
|
|
736
776
|
return;
|
|
737
777
|
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
|
|
738
778
|
return;
|
|
739
|
-
if (
|
|
779
|
+
if (!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT))
|
|
740
780
|
return;
|
|
741
|
-
__VLS_ctx.
|
|
781
|
+
__VLS_ctx.emit('booking-admin:viewAppointment', $event);
|
|
742
782
|
// @ts-ignore
|
|
743
|
-
[
|
|
783
|
+
[emit, parentPageName,];
|
|
744
784
|
} });
|
|
745
|
-
|
|
746
|
-
var __VLS_91 = {};
|
|
747
|
-
// @ts-ignore
|
|
748
|
-
[chatListRef,];
|
|
749
|
-
var __VLS_86;
|
|
750
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
751
|
-
...{ class: "bg-white grow flex flex-col h-full overflow-hidden" },
|
|
752
|
-
});
|
|
753
|
-
if (__VLS_ctx.currentPageConfig?.backFunc) {
|
|
754
|
-
// @ts-ignore
|
|
755
|
-
[currentPageConfig,];
|
|
756
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
757
|
-
...{ class: "text-[#141B34] px-6 mt-4" },
|
|
758
|
-
});
|
|
759
|
-
__VLS_asFunctionalElement(__VLS_elements.button, __VLS_elements.button)({
|
|
760
|
-
...{ onClick: (...[$event]) => {
|
|
761
|
-
if (!!(!__VLS_ctx.isRouterReady))
|
|
762
|
-
return;
|
|
763
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.TENANT_ERROR))
|
|
764
|
-
return;
|
|
765
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_TENANT))
|
|
766
|
-
return;
|
|
767
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.REGISTER_SUCCESS))
|
|
768
|
-
return;
|
|
769
|
-
if (!!(__VLS_ctx.currentPage == __VLS_ctx.PAGE.NOT_TENANT_PHONE))
|
|
770
|
-
return;
|
|
771
|
-
if (!!(__VLS_ctx.responsiveRender == 'mobile'))
|
|
772
|
-
return;
|
|
773
|
-
if (!(__VLS_ctx.currentPageConfig?.backFunc))
|
|
774
|
-
return;
|
|
775
|
-
__VLS_ctx.currentPageConfig.backFunc();
|
|
776
|
-
// @ts-ignore
|
|
777
|
-
[currentPageConfig,];
|
|
778
|
-
} },
|
|
779
|
-
...{ class: "flex items-center" },
|
|
780
|
-
});
|
|
781
|
-
/** @type {[typeof IconArrowLeft, ]} */ ;
|
|
782
|
-
// @ts-ignore
|
|
783
|
-
const __VLS_94 = __VLS_asFunctionalComponent(IconArrowLeft, new IconArrowLeft({}));
|
|
784
|
-
const __VLS_95 = __VLS_94({}, ...__VLS_functionalComponentArgsRest(__VLS_94));
|
|
785
|
-
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
|
|
786
|
-
...{ class: "text-xl font-semibold text-chat-haze-900 ml-3" },
|
|
787
|
-
});
|
|
788
|
-
(__VLS_ctx.currentPageConfig.backTitle ?? '');
|
|
789
|
-
// @ts-ignore
|
|
790
|
-
[currentPageConfig,];
|
|
791
|
-
}
|
|
792
|
-
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)({
|
|
793
|
-
...{ class: "grow overflow-hidden" },
|
|
794
|
-
});
|
|
795
|
-
/** @type {[typeof HomeComponent, ]} */ ;
|
|
796
|
-
// @ts-ignore
|
|
797
|
-
const __VLS_98 = __VLS_asFunctionalComponent(HomeComponent, new HomeComponent({
|
|
798
|
-
...{ 'onCall': {} },
|
|
799
|
-
...{ 'onInputFocus': {} },
|
|
800
|
-
ref: "homeComponentRef",
|
|
801
|
-
receiverId: (__VLS_ctx.receiverId),
|
|
802
|
-
...{ class: "h-full" },
|
|
803
|
-
responsive: (__VLS_ctx.responsiveRender),
|
|
804
|
-
conversation: (__VLS_ctx.currentConversation),
|
|
805
|
-
}));
|
|
806
|
-
const __VLS_99 = __VLS_98({
|
|
807
|
-
...{ 'onCall': {} },
|
|
808
|
-
...{ 'onInputFocus': {} },
|
|
809
|
-
ref: "homeComponentRef",
|
|
810
|
-
receiverId: (__VLS_ctx.receiverId),
|
|
811
|
-
...{ class: "h-full" },
|
|
812
|
-
responsive: (__VLS_ctx.responsiveRender),
|
|
813
|
-
conversation: (__VLS_ctx.currentConversation),
|
|
814
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_98));
|
|
815
|
-
let __VLS_101;
|
|
816
|
-
let __VLS_102;
|
|
817
|
-
const __VLS_103 = ({ call: {} },
|
|
818
|
-
{ onCall: (__VLS_ctx.handleCall) });
|
|
819
|
-
const __VLS_104 = ({ inputFocus: {} },
|
|
820
|
-
{ onInputFocus: (__VLS_ctx.handleReadMessage) });
|
|
821
|
-
__VLS_asFunctionalDirective(__VLS_directives.vShow)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.currentPage == __VLS_ctx.PAGE.HOME && __VLS_ctx.receiverId) }, null, null);
|
|
822
|
-
/** @type {typeof __VLS_ctx.homeComponentRef} */ ;
|
|
823
|
-
var __VLS_105 = {};
|
|
824
|
-
// @ts-ignore
|
|
825
|
-
[currentPage, PAGE, responsiveRender, receiverId, receiverId, currentConversation, handleCall, handleReadMessage, homeComponentRef,];
|
|
826
|
-
var __VLS_100;
|
|
827
|
-
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_DETAIL) {
|
|
828
|
-
// @ts-ignore
|
|
829
|
-
[currentPage, PAGE,];
|
|
830
|
-
/** @type {[typeof CustomerDetail, ]} */ ;
|
|
831
|
-
// @ts-ignore
|
|
832
|
-
const __VLS_108 = __VLS_asFunctionalComponent(CustomerDetail, new CustomerDetail({
|
|
833
|
-
ref: "customerDetailRef",
|
|
834
|
-
receiverId: (__VLS_ctx.receiverId),
|
|
835
|
-
...{ class: "h-full" },
|
|
836
|
-
responsive: (__VLS_ctx.responsiveRender),
|
|
837
|
-
}));
|
|
838
|
-
const __VLS_109 = __VLS_108({
|
|
839
|
-
ref: "customerDetailRef",
|
|
840
|
-
receiverId: (__VLS_ctx.receiverId),
|
|
841
|
-
...{ class: "h-full" },
|
|
842
|
-
responsive: (__VLS_ctx.responsiveRender),
|
|
843
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_108));
|
|
844
|
-
/** @type {typeof __VLS_ctx.customerDetailRef} */ ;
|
|
845
|
-
var __VLS_111 = {};
|
|
846
|
-
// @ts-ignore
|
|
847
|
-
[responsiveRender, receiverId, customerDetailRef,];
|
|
848
|
-
var __VLS_110;
|
|
849
|
-
}
|
|
850
|
-
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_CHECK_IN) {
|
|
851
|
-
// @ts-ignore
|
|
852
|
-
[currentPage, PAGE,];
|
|
853
|
-
/** @type {[typeof CustomerCheckIn, ]} */ ;
|
|
854
|
-
// @ts-ignore
|
|
855
|
-
const __VLS_114 = __VLS_asFunctionalComponent(CustomerCheckIn, new CustomerCheckIn({
|
|
856
|
-
...{ class: "h-full" },
|
|
857
|
-
}));
|
|
858
|
-
const __VLS_115 = __VLS_114({
|
|
859
|
-
...{ class: "h-full" },
|
|
860
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_114));
|
|
861
|
-
}
|
|
862
|
-
if (__VLS_ctx.currentPage == __VLS_ctx.PAGE.CUSTOMER_APPOINTMENT) {
|
|
863
|
-
// @ts-ignore
|
|
864
|
-
[currentPage, PAGE,];
|
|
865
|
-
/** @type {[typeof CustomerAppointment, ]} */ ;
|
|
866
|
-
// @ts-ignore
|
|
867
|
-
const __VLS_118 = __VLS_asFunctionalComponent(CustomerAppointment, new CustomerAppointment({
|
|
868
|
-
...{ class: "h-full" },
|
|
869
|
-
}));
|
|
870
|
-
const __VLS_119 = __VLS_118({
|
|
871
|
-
...{ class: "h-full" },
|
|
872
|
-
}, ...__VLS_functionalComponentArgsRest(__VLS_118));
|
|
873
|
-
}
|
|
785
|
+
var __VLS_91;
|
|
874
786
|
}
|
|
875
787
|
/** @type {[typeof PhoneNumpad, ]} */ ;
|
|
876
788
|
// @ts-ignore
|
|
877
|
-
const
|
|
789
|
+
const __VLS_96 = __VLS_asFunctionalComponent(PhoneNumpad, new PhoneNumpad({
|
|
878
790
|
...{ 'onCall': {} },
|
|
791
|
+
...{ 'onMessage': {} },
|
|
879
792
|
ref: "phoneNumpadRef",
|
|
880
793
|
hideNumpad: (__VLS_ctx.isLib),
|
|
881
794
|
responsive: (__VLS_ctx.responsiveRender),
|
|
882
795
|
...{ class: "bg-white shrink-0 border-l layout-border" },
|
|
883
796
|
}));
|
|
884
|
-
const
|
|
797
|
+
const __VLS_97 = __VLS_96({
|
|
885
798
|
...{ 'onCall': {} },
|
|
799
|
+
...{ 'onMessage': {} },
|
|
886
800
|
ref: "phoneNumpadRef",
|
|
887
801
|
hideNumpad: (__VLS_ctx.isLib),
|
|
888
802
|
responsive: (__VLS_ctx.responsiveRender),
|
|
889
803
|
...{ class: "bg-white shrink-0 border-l layout-border" },
|
|
890
|
-
}, ...__VLS_functionalComponentArgsRest(
|
|
891
|
-
let
|
|
892
|
-
let
|
|
893
|
-
const
|
|
804
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_96));
|
|
805
|
+
let __VLS_99;
|
|
806
|
+
let __VLS_100;
|
|
807
|
+
const __VLS_101 = ({ call: {} },
|
|
894
808
|
{ onCall: (__VLS_ctx.handleCall) });
|
|
809
|
+
const __VLS_102 = ({ message: {} },
|
|
810
|
+
{ onMessage: (__VLS_ctx.goToConversationRequest) });
|
|
895
811
|
/** @type {typeof __VLS_ctx.phoneNumpadRef} */ ;
|
|
896
|
-
var
|
|
812
|
+
var __VLS_103 = {};
|
|
897
813
|
// @ts-ignore
|
|
898
|
-
[isLib, responsiveRender, handleCall, phoneNumpadRef,];
|
|
899
|
-
var
|
|
814
|
+
[isLib, responsiveRender, handleCall, goToConversationRequest, phoneNumpadRef,];
|
|
815
|
+
var __VLS_98;
|
|
900
816
|
}
|
|
817
|
+
/** @type {__VLS_StyleScopedClasses['']} */ ;
|
|
818
|
+
/** @type {__VLS_StyleScopedClasses['']} */ ;
|
|
901
819
|
/** @type {__VLS_StyleScopedClasses['go-chat-main']} */ ;
|
|
902
820
|
/** @type {__VLS_StyleScopedClasses['max-w-full']} */ ;
|
|
903
821
|
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
822
|
+
/** @type {__VLS_StyleScopedClasses['go-chat-app']} */ ;
|
|
823
|
+
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
824
|
+
/** @type {__VLS_StyleScopedClasses['inset-0']} */ ;
|
|
825
|
+
/** @type {__VLS_StyleScopedClasses['sc-full']} */ ;
|
|
826
|
+
/** @type {__VLS_StyleScopedClasses['flex-center']} */ ;
|
|
904
827
|
/** @type {__VLS_StyleScopedClasses['m-auto']} */ ;
|
|
905
828
|
/** @type {__VLS_StyleScopedClasses['flex-center']} */ ;
|
|
906
829
|
/** @type {__VLS_StyleScopedClasses['sc-full']} */ ;
|
|
@@ -923,73 +846,44 @@ else {
|
|
|
923
846
|
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
924
847
|
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
925
848
|
/** @type {__VLS_StyleScopedClasses['shrink-0']} */ ;
|
|
849
|
+
/** @type {__VLS_StyleScopedClasses['py-4']} */ ;
|
|
850
|
+
/** @type {__VLS_StyleScopedClasses['border-b']} */ ;
|
|
851
|
+
/** @type {__VLS_StyleScopedClasses['layout-border']} */ ;
|
|
852
|
+
/** @type {__VLS_StyleScopedClasses['bg-[#F9FAFC]']} */ ;
|
|
853
|
+
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
926
854
|
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
927
855
|
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
928
856
|
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
929
857
|
/** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
|
|
930
858
|
/** @type {__VLS_StyleScopedClasses['relative']} */ ;
|
|
931
|
-
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
932
859
|
/** @type {__VLS_StyleScopedClasses['relative']} */ ;
|
|
933
860
|
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
934
|
-
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
935
|
-
/** @type {__VLS_StyleScopedClasses['mx-auto']} */ ;
|
|
936
861
|
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
937
862
|
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
863
|
+
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
864
|
+
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
865
|
+
/** @type {__VLS_StyleScopedClasses['mx-auto']} */ ;
|
|
938
866
|
/** @type {__VLS_StyleScopedClasses['bg-[#F9FAFC]']} */ ;
|
|
939
867
|
/** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
|
|
940
868
|
/** @type {__VLS_StyleScopedClasses['chat-mobile']} */ ;
|
|
941
|
-
/** @type {__VLS_StyleScopedClasses['pt-4']} */ ;
|
|
942
|
-
/** @type {__VLS_StyleScopedClasses['text-[#141B34]']} */ ;
|
|
943
|
-
/** @type {__VLS_StyleScopedClasses['shrink-0']} */ ;
|
|
944
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
945
|
-
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
946
|
-
/** @type {__VLS_StyleScopedClasses['justify-between']} */ ;
|
|
947
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
948
|
-
/** @type {__VLS_StyleScopedClasses['items-center']} */ ;
|
|
949
|
-
/** @type {__VLS_StyleScopedClasses['ml-3']} */ ;
|
|
950
|
-
/** @type {__VLS_StyleScopedClasses['text-xl']} */ ;
|
|
951
|
-
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
952
|
-
/** @type {__VLS_StyleScopedClasses['text-left']} */ ;
|
|
953
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-900']} */ ;
|
|
954
|
-
/** @type {__VLS_StyleScopedClasses['h-7']} */ ;
|
|
955
|
-
/** @type {__VLS_StyleScopedClasses['text-sm']} */ ;
|
|
956
|
-
/** @type {__VLS_StyleScopedClasses['font-medium']} */ ;
|
|
957
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-900']} */ ;
|
|
958
|
-
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
959
|
-
/** @type {__VLS_StyleScopedClasses['gap-2']} */ ;
|
|
960
|
-
/** @type {__VLS_StyleScopedClasses['text-chat-haze-700']} */ ;
|
|
961
|
-
/** @type {__VLS_StyleScopedClasses['font-medium']} */ ;
|
|
962
|
-
/** @type {__VLS_StyleScopedClasses['text-gray-700']} */ ;
|
|
963
|
-
/** @type {__VLS_StyleScopedClasses['w-10']} */ ;
|
|
964
|
-
/** @type {__VLS_StyleScopedClasses['h-10']} */ ;
|
|
965
869
|
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
966
870
|
/** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
|
|
967
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
968
|
-
/** @type {__VLS_StyleScopedClasses['max-w-[500px]']} */ ;
|
|
969
|
-
/** @type {__VLS_StyleScopedClasses['!bg-[#F9FAFC]']} */ ;
|
|
970
|
-
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
971
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
972
|
-
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
973
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
974
|
-
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
975
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
976
|
-
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
977
871
|
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
978
|
-
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
979
|
-
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
980
|
-
/** @type {__VLS_StyleScopedClasses['relative']} */ ;
|
|
981
872
|
/** @type {__VLS_StyleScopedClasses['w-[38%]']} */ ;
|
|
982
873
|
/** @type {__VLS_StyleScopedClasses['max-w-[500px]']} */ ;
|
|
983
874
|
/** @type {__VLS_StyleScopedClasses['min-w-[300px]']} */ ;
|
|
984
875
|
/** @type {__VLS_StyleScopedClasses['xl:min-w-[450px]']} */ ;
|
|
985
876
|
/** @type {__VLS_StyleScopedClasses['border-r']} */ ;
|
|
986
877
|
/** @type {__VLS_StyleScopedClasses['layout-border']} */ ;
|
|
987
|
-
/** @type {__VLS_StyleScopedClasses['
|
|
988
|
-
/** @type {__VLS_StyleScopedClasses['
|
|
989
|
-
/** @type {__VLS_StyleScopedClasses['
|
|
990
|
-
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
878
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
879
|
+
/** @type {__VLS_StyleScopedClasses['max-w-[500px]']} */ ;
|
|
880
|
+
/** @type {__VLS_StyleScopedClasses['!bg-[#F9FAFC]']} */ ;
|
|
991
881
|
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
992
882
|
/** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
|
|
883
|
+
/** @type {__VLS_StyleScopedClasses['flex']} */ ;
|
|
884
|
+
/** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
|
|
885
|
+
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
886
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
993
887
|
/** @type {__VLS_StyleScopedClasses['text-[#141B34]']} */ ;
|
|
994
888
|
/** @type {__VLS_StyleScopedClasses['px-6']} */ ;
|
|
995
889
|
/** @type {__VLS_StyleScopedClasses['mt-4']} */ ;
|
|
@@ -999,18 +893,20 @@ else {
|
|
|
999
893
|
/** @type {__VLS_StyleScopedClasses['font-semibold']} */ ;
|
|
1000
894
|
/** @type {__VLS_StyleScopedClasses['text-chat-haze-900']} */ ;
|
|
1001
895
|
/** @type {__VLS_StyleScopedClasses['ml-3']} */ ;
|
|
1002
|
-
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
1003
|
-
/** @type {__VLS_StyleScopedClasses['overflow-hidden']} */ ;
|
|
1004
896
|
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
897
|
+
/** @type {__VLS_StyleScopedClasses['grow']} */ ;
|
|
898
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
1005
899
|
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
900
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
1006
901
|
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
902
|
+
/** @type {__VLS_StyleScopedClasses['w-full']} */ ;
|
|
1007
903
|
/** @type {__VLS_StyleScopedClasses['h-full']} */ ;
|
|
1008
904
|
/** @type {__VLS_StyleScopedClasses['bg-white']} */ ;
|
|
1009
905
|
/** @type {__VLS_StyleScopedClasses['shrink-0']} */ ;
|
|
1010
906
|
/** @type {__VLS_StyleScopedClasses['border-l']} */ ;
|
|
1011
907
|
/** @type {__VLS_StyleScopedClasses['layout-border']} */ ;
|
|
1012
908
|
// @ts-ignore
|
|
1013
|
-
var
|
|
909
|
+
var __VLS_51 = __VLS_50, __VLS_62 = __VLS_61, __VLS_77 = __VLS_76, __VLS_83 = __VLS_82, __VLS_104 = __VLS_103;
|
|
1014
910
|
const __VLS_export = (await import('vue')).defineComponent({
|
|
1015
911
|
setup: () => (__VLS_exposed),
|
|
1016
912
|
__typeEmits: {},
|