@phonghq/go-chat 1.0.55 → 1.0.56

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.
@@ -213,6 +213,7 @@ defineExpose({
213
213
  endCall: () => callingRef.value?.endCall(),
214
214
  openSettings,
215
215
  initData: (data) => handleExposeInit(data),
216
+ closePhoneNumpad: () => phoneNumpadRef.value?.closePhoneNumpad(),
216
217
  });
217
218
  debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
218
219
  const __VLS_defaults = {
@@ -112,7 +112,8 @@ const getAllList = async (tab_value) => {
112
112
  }
113
113
  }
114
114
  else if (tab_value == TAB_VALUE.UNKNOWN) {
115
- while (paramsUnknown.value.page < pageCountUnknown.value && !scrollEventRef.value?.canScroll()) {
115
+ while (paramsUnknown.value.page < pageCountUnknown.value &&
116
+ !scrollEventRef.value?.canScroll()) {
116
117
  let page = paramsUnknown.value.page + 1;
117
118
  await getData({ page }, { tab: tab_value });
118
119
  }
@@ -303,14 +304,18 @@ const __VLS_18 = __VLS_asFunctionalComponent(ScrollEvent, new ScrollEvent({
303
304
  ...{ 'onGetDataBottom': {} },
304
305
  ref: "scrollEventRef",
305
306
  ...{ class: "h-full overflow-auto" },
306
- disabled: (__VLS_ctx.activeTabs == __VLS_ctx.TAB_VALUE.ALL ? __VLS_ctx.paramsAll.page >= __VLS_ctx.pageCountAll : __VLS_ctx.paramsUnknown.page >= __VLS_ctx.pageCountUnknown),
307
+ disabled: (__VLS_ctx.activeTabs == __VLS_ctx.TAB_VALUE.ALL
308
+ ? __VLS_ctx.paramsAll.page >= __VLS_ctx.pageCountAll
309
+ : __VLS_ctx.paramsUnknown.page >= __VLS_ctx.pageCountUnknown),
307
310
  bottom: true,
308
311
  }));
309
312
  const __VLS_19 = __VLS_18({
310
313
  ...{ 'onGetDataBottom': {} },
311
314
  ref: "scrollEventRef",
312
315
  ...{ class: "h-full overflow-auto" },
313
- disabled: (__VLS_ctx.activeTabs == __VLS_ctx.TAB_VALUE.ALL ? __VLS_ctx.paramsAll.page >= __VLS_ctx.pageCountAll : __VLS_ctx.paramsUnknown.page >= __VLS_ctx.pageCountUnknown),
316
+ disabled: (__VLS_ctx.activeTabs == __VLS_ctx.TAB_VALUE.ALL
317
+ ? __VLS_ctx.paramsAll.page >= __VLS_ctx.pageCountAll
318
+ : __VLS_ctx.paramsUnknown.page >= __VLS_ctx.pageCountUnknown),
314
319
  bottom: true,
315
320
  }, ...__VLS_functionalComponentArgsRest(__VLS_18));
316
321
  let __VLS_21;
@@ -54233,7 +54233,7 @@ const XJ = { class: "h-full flex flex-col bg-white pt-6" }, ZJ = { class: "shrin
54233
54233
  ]);
54234
54234
  };
54235
54235
  }
54236
- }), NE = /* @__PURE__ */ Yt(dX, [["__scopeId", "data-v-b30d01cf"]]), cX = {}, aX = {
54236
+ }), NE = /* @__PURE__ */ Yt(dX, [["__scopeId", "data-v-463fb3bd"]]), cX = {}, aX = {
54237
54237
  width: "18",
54238
54238
  height: "18",
54239
54239
  viewBox: "0 0 18 18",
@@ -71985,7 +71985,11 @@ const ure = /* @__PURE__ */ Yt(rre, [["render", lre]]), dre = { class: "w-[480px
71985
71985
  return (w = g.value) == null ? void 0 : w.endCall();
71986
71986
  },
71987
71987
  openSettings: N,
71988
- initData: (w) => u(w)
71988
+ initData: (w) => u(w),
71989
+ closePhoneNumpad: () => {
71990
+ var w;
71991
+ return (w = S.value) == null ? void 0 : w.closePhoneNumpad();
71992
+ }
71989
71993
  }), (w, U) => {
71990
71994
  var B, D, W, q, G;
71991
71995
  return ye(), Ae("div", {