@phonghq/go-chat 1.0.45 → 1.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/components/common/select/SelectBase.vue.d.ts +27 -1
  2. package/dist/components/ui/select/SelectItem.vue.d.ts +2 -2
  3. package/dist/composable/useListConversations.d.ts +1 -1
  4. package/dist/composable/useListentEvent.d.ts +1 -1
  5. package/dist/go-chat.es.js +6763 -6747
  6. package/dist/go-chat.umd.js +15 -15
  7. package/dist/plugins/sdk.d.ts +1 -2
  8. package/dist/style.css +1 -1
  9. package/dist/test/chat/App.vue.js +22 -48
  10. package/dist/test/chat/page/customer-appointment/CustomerAppointment.vue.js +1 -1
  11. package/dist/test/chat/page/customer-check-in/CustomerCheckIn.vue.js +1 -1
  12. package/dist/test/chat/page/customer-detail/CustomerDetail.vue.js +1 -1
  13. package/dist/test/chat/page/error/Error.vue.js +1 -1
  14. package/dist/test/chat/page/home/ChatList.vue.js +17 -15
  15. package/dist/test/chat/page/home/ChatMessage.vue.js +1 -1
  16. package/dist/test/chat/page/home/ChatMessageItem.vue.js +7 -5
  17. package/dist/test/chat/page/home/ChatMessageItem2.vue.js +1 -1
  18. package/dist/test/chat/page/home/Home.vue.js +2 -2
  19. package/dist/test/chat/page/home/HomeHeader.vue.js +6 -6
  20. package/dist/test/chat/page/home/InputChat.vue.js +3 -6
  21. package/dist/test/chat/page/setting/Setting.vue.js +1 -1
  22. package/dist/test/components/chat/ScrollEvent/ScrollEvent.vue.js +2 -0
  23. package/dist/test/components/chat/call/Calling.vue.js +4 -17
  24. package/dist/test/components/chat/common/input/InputSearch.vue.js +1 -1
  25. package/dist/test/components/chat/common/modal/Modal.vue.js +1 -1
  26. package/dist/test/components/chat/customer/Avatar.vue.js +1 -1
  27. package/dist/test/components/common/modal/ModalBase.vue.js +1 -1
  28. package/dist/test/components/common/select/SelectBase.vue.js +69 -106
  29. package/dist/test/components/ui/select/SelectContent.vue.js +2 -2
  30. package/dist/test/components/ui/select/SelectItem.vue.js +9 -22
  31. package/dist/test/components/ui/select/SelectTrigger.vue.js +3 -30
  32. package/dist/test/composable/useInitData.js +2 -2
  33. package/dist/test/composable/useListConversations.js +5 -5
  34. package/dist/test/composable/useListentEvent.js +7 -4
  35. package/dist/test/composable/usePlivo.js +2 -5
  36. package/dist/test/plugins/axios.js +0 -2
  37. package/dist/test/plugins/mqtt.js +12 -4
  38. package/dist/test/plugins/pocketbase.js +1 -2
  39. package/dist/test/plugins/sdk.js +2 -12
  40. package/dist/test/plugins/websocket.js +1 -1
  41. package/dist/test/utils/chat/cache.js +1 -1
  42. package/dist/test/utils/chat/{auth.js → store/auth.js} +14 -5
  43. package/dist/test/utils/chat/{call.js → store/call.js} +3 -3
  44. package/dist/test/utils/chat/{conversation.js → store/conversation.js} +6 -6
  45. package/dist/test/utils/chat/{message.js → store/message.js} +1 -1
  46. package/dist/test/utils/chat/{user.js → store/user.js} +2 -2
  47. package/dist/types/chat/auth.d.ts +1 -0
  48. package/dist/utils/chat/{auth.d.ts → store/auth.d.ts} +4 -1
  49. package/dist/utils/chat/{call.d.ts → store/call.d.ts} +1 -1
  50. package/dist/utils/chat/{conversation.d.ts → store/conversation.d.ts} +3 -3
  51. package/dist/utils/chat/{message.d.ts → store/message.d.ts} +2 -2
  52. package/dist/utils/chat/{user.d.ts → store/user.d.ts} +2 -2
  53. package/package.json +1 -1
  54. package/dist/composable/useCallHelper.d.ts +0 -48
  55. package/dist/test/composable/data.json +0 -32
  56. package/dist/test/composable/useCallHelper.js +0 -339
  57. /package/dist/assets/icons/{IconAiCheck.vue.d.ts → global/IconAiCheck.vue.d.ts} +0 -0
  58. /package/dist/assets/icons/{IconArrowLeft.vue.d.ts → global/IconArrowLeft.vue.d.ts} +0 -0
  59. /package/dist/assets/icons/{IconCloseCircle.vue.d.ts → global/IconCloseCircle.vue.d.ts} +0 -0
  60. /package/dist/assets/icons/{IconPhone.vue.d.ts → global/IconPhone.vue.d.ts} +0 -0
  61. /package/dist/assets/icons/{IconPlan.vue.d.ts → global/IconPlan.vue.d.ts} +0 -0
  62. /package/dist/assets/icons/{IconPlus.vue.d.ts → global/IconPlus.vue.d.ts} +0 -0
  63. /package/dist/assets/icons/{IconSearch.vue.d.ts → global/IconSearch.vue.d.ts} +0 -0
  64. /package/dist/assets/icons/{IconSms.vue.d.ts → global/IconSms.vue.d.ts} +0 -0
  65. /package/dist/assets/icons/{IconUser.vue.d.ts → global/IconUser.vue.d.ts} +0 -0
  66. /package/dist/test/assets/icons/{IconAiCheck.vue.js → global/IconAiCheck.vue.js} +0 -0
  67. /package/dist/test/assets/icons/{IconArrowLeft.vue.js → global/IconArrowLeft.vue.js} +0 -0
  68. /package/dist/test/assets/icons/{IconCloseCircle.vue.js → global/IconCloseCircle.vue.js} +0 -0
  69. /package/dist/test/assets/icons/{IconPhone.vue.js → global/IconPhone.vue.js} +0 -0
  70. /package/dist/test/assets/icons/{IconPlan.vue.js → global/IconPlan.vue.js} +0 -0
  71. /package/dist/test/assets/icons/{IconPlus.vue.js → global/IconPlus.vue.js} +0 -0
  72. /package/dist/test/assets/icons/{IconSearch.vue.js → global/IconSearch.vue.js} +0 -0
  73. /package/dist/test/assets/icons/{IconSms.vue.js → global/IconSms.vue.js} +0 -0
  74. /package/dist/test/assets/icons/{IconUser.vue.js → global/IconUser.vue.js} +0 -0
@@ -1,2 +1,28 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ type __VLS_Props = {
2
+ options: {
3
+ label: string;
4
+ value: string | number;
5
+ }[];
6
+ disabled?: boolean;
7
+ };
8
+ type __VLS_ModelProps = {
9
+ 'open'?: boolean;
10
+ };
11
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
+ declare var __VLS_12: {}, __VLS_19: {};
13
+ type __VLS_Slots = {} & {
14
+ default?: (props: typeof __VLS_12) => any;
15
+ } & {
16
+ content?: (props: typeof __VLS_19) => any;
17
+ };
18
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:open": (value: boolean | undefined) => any;
20
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
+ "onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
22
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
2
23
  export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -3,11 +3,11 @@ import type { HTMLAttributes } from "vue";
3
3
  type __VLS_Props = SelectItemProps & {
4
4
  class?: HTMLAttributes["class"];
5
5
  };
6
- declare var __VLS_12: {}, __VLS_24: {};
6
+ declare var __VLS_12: {}, __VLS_19: {};
7
7
  type __VLS_Slots = {} & {
8
8
  'indicator-icon'?: (props: typeof __VLS_12) => any;
9
9
  } & {
10
- default?: (props: typeof __VLS_24) => any;
10
+ default?: (props: typeof __VLS_19) => any;
11
11
  };
12
12
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
13
13
  export default _default;
@@ -41,7 +41,7 @@ export declare const useListConversations: (is_unknown: number, is_tenant: boole
41
41
  page: number;
42
42
  search: string;
43
43
  }>;
44
- pageCount: number;
44
+ pageCount: import("vue").Ref<number, number>;
45
45
  getData: (data?: IParamGetConversation, option?: {
46
46
  reset?: boolean;
47
47
  hideLoading?: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { PAGE_RESPONSIVE } from '../types/chat/global';
2
2
  export declare const responsiveObserver: import("vue").Ref<PAGE_RESPONSIVE, PAGE_RESPONSIVE>;
3
3
  export declare function useListenEvent(callBackResizeChange?: (data?: any) => void): {
4
- getResponsiveObserver: () => void;
4
+ getResponsiveObserver: (is_init?: boolean) => void;
5
5
  };