@phonghq/go-chat 1.0.75 → 1.0.76

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.
@@ -279,7 +279,7 @@ if (__VLS_ctx.message.state != __VLS_ctx.MessageState.Sending || __VLS_ctx.isMyM
279
279
  return;
280
280
  item.click?.();
281
281
  } },
282
- ...{ class: "flex items-center flex-col w-[70px] text-white duration-200 cursor-pointer border-r last:border-none" },
282
+ ...{ class: "flex items-center flex-col w-[70px] text-white text-base duration-200 cursor-pointer border-r last:border-none" },
283
283
  key: (i),
284
284
  ...{ class: ({ 'opacity-[0.3] pointer-events-none': item.disabled }) },
285
285
  });
@@ -479,6 +479,7 @@ if (__VLS_ctx.message.state != __VLS_ctx.MessageState.Sending || __VLS_ctx.isMyM
479
479
  /** @type {__VLS_StyleScopedClasses['flex-col']} */ ;
480
480
  /** @type {__VLS_StyleScopedClasses['w-[70px]']} */ ;
481
481
  /** @type {__VLS_StyleScopedClasses['text-white']} */ ;
482
+ /** @type {__VLS_StyleScopedClasses['text-base']} */ ;
482
483
  /** @type {__VLS_StyleScopedClasses['duration-200']} */ ;
483
484
  /** @type {__VLS_StyleScopedClasses['cursor-pointer']} */ ;
484
485
  /** @type {__VLS_StyleScopedClasses['border-r']} */ ;
@@ -1911,7 +1911,7 @@ Me.formToJSON = (q) => U0(Dq.isHTMLForm(q) ? new FormData(q) : q);
1911
1911
  Me.getAdapter = Z0.getAdapter;
1912
1912
  Me.HttpStatusCode = Ra;
1913
1913
  Me.default = Me;
1914
- const Bk = "https://go-chat.dev01.dtsmart.dev/", Je = Me.create({
1914
+ const Bk = "https://go-chat-backend.gci-app2.dtsmart.dev", Je = Me.create({
1915
1915
  baseURL: Bk,
1916
1916
  timeout: 2e4,
1917
1917
  headers: {
@@ -47036,7 +47036,7 @@ const y8 = 5, Ns = async () => {
47036
47036
  ])
47037
47037
  ], 544));
47038
47038
  }
47039
- }), Pm = /* @__PURE__ */ RV(D8, [["__scopeId", "data-v-94b2824d"]]);
47039
+ }), Pm = /* @__PURE__ */ RV(D8, [["__scopeId", "data-v-262593a5"]]);
47040
47040
  var bG = { exports: {} };
47041
47041
  (function(q, V) {
47042
47042
  (function(e, t) {
@@ -70571,7 +70571,7 @@ const Rtq = /* @__PURE__ */ RV(Dtq, [["render", Stq]]), xtq = {
70571
70571
  content: Fq(() => [
70572
70572
  fq("div", Gtq, [
70573
70573
  (dq(!0), Cq(jV, null, Be(n.value, (E, M) => (dq(), Cq("div", {
70574
- class: vV(["flex items-center flex-col w-[70px] text-white duration-200 cursor-pointer border-r last:border-none", { "opacity-[0.3] pointer-events-none": E.disabled }]),
70574
+ class: vV(["flex items-center flex-col w-[70px] text-white text-base duration-200 cursor-pointer border-r last:border-none", { "opacity-[0.3] pointer-events-none": E.disabled }]),
70575
70575
  key: M,
70576
70576
  onClick: (w) => {
70577
70577
  var D;
@@ -73681,8 +73681,8 @@ const Crq = /* @__PURE__ */ RV(yrq, [["render", Erq]]), Irq = { class: "w-[480px
73681
73681
  }, h = async (E) => {
73682
73682
  var M, w;
73683
73683
  try {
73684
- let D = Jr(E ?? (n.value ? "1" + n.value : n.value) ?? "");
73685
- if (D.length != 11) return;
73684
+ let D = Jr(E ?? (n.value, n.value) ?? "");
73685
+ if (console.log(D), D.length != 10) return;
73686
73686
  if ((M = u.value) == null || M.checkActiveUserList(), l.value)
73687
73687
  i("message", l.value);
73688
73688
  else {