@phonghq/go-chat 1.0.42 → 1.0.44

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 (114) hide show
  1. package/dist/assets/icons/IconPlan.vue.d.ts +13 -1
  2. package/dist/assets/icons/call/IconPhoneCancel.vue.d.ts +13 -1
  3. package/dist/assets/icons/customer-detail/IconPhone.vue.d.ts +13 -1
  4. package/dist/chat/App.vue.d.ts +13 -2
  5. package/dist/chat/page/home/ChatList.vue.d.ts +10 -0
  6. package/dist/chat/page/home/ChatMessageItem.vue.d.ts +1 -0
  7. package/dist/chat/page/home/ChatMessageItem2.vue.d.ts +19 -0
  8. package/dist/chat/page/home/Home.vue.d.ts +2 -0
  9. package/dist/chat/page/home/InputChat.vue.d.ts +2 -0
  10. package/dist/components/chat/call/Calling.vue.d.ts +4 -2
  11. package/dist/components/chat/common/tabs/TabBase.vue.d.ts +18 -0
  12. package/dist/components/common/drawer/DrawerBaseCustom.vue.d.ts +1 -1
  13. package/dist/components/ui/select/Select.vue.d.ts +20 -0
  14. package/dist/components/ui/select/SelectContent.vue.d.ts +24 -0
  15. package/dist/components/ui/select/SelectGroup.vue.d.ts +10 -0
  16. package/dist/components/ui/select/SelectItem.vue.d.ts +18 -0
  17. package/dist/components/ui/select/SelectItemText.vue.d.ts +10 -0
  18. package/dist/components/ui/select/SelectLabel.vue.d.ts +14 -0
  19. package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +14 -0
  20. package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +14 -0
  21. package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
  22. package/dist/components/ui/select/SelectTrigger.vue.d.ts +17 -0
  23. package/dist/components/ui/select/SelectValue.vue.d.ts +10 -0
  24. package/dist/components/ui/select/index.d.ts +11 -0
  25. package/dist/components/ui/tabs/Tabs.vue.d.ts +20 -0
  26. package/dist/components/ui/tabs/TabsContent.vue.d.ts +14 -0
  27. package/dist/components/ui/tabs/TabsList.vue.d.ts +14 -0
  28. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +14 -0
  29. package/dist/components/ui/tabs/index.d.ts +4 -0
  30. package/dist/composable/useDigibot.d.ts +1 -1
  31. package/dist/composable/useInitData.d.ts +5 -2
  32. package/dist/composable/useListConversations.d.ts +4 -1
  33. package/dist/composable/useListentEvent.d.ts +5 -0
  34. package/dist/composable/usePlivo.d.ts +1 -0
  35. package/dist/constant/color.d.ts +2 -2
  36. package/dist/go-chat.es.js +14663 -14004
  37. package/dist/go-chat.umd.js +15 -15
  38. package/dist/style.css +1 -1
  39. package/dist/test/assets/icons/IconPlan.vue.js +23 -3
  40. package/dist/test/assets/icons/IconUser.vue.js +25 -0
  41. package/dist/test/assets/icons/call/IconPhone.vue.js +6 -19
  42. package/dist/test/assets/icons/call/IconPhoneCancel.vue.js +32 -21
  43. package/dist/test/assets/icons/customer-detail/IconPhone.vue.js +23 -3
  44. package/dist/test/chat/App.vue.js +303 -282
  45. package/dist/test/chat/page/customer-check-in/CustomerCheckIn.vue.js +3 -1
  46. package/dist/test/chat/page/customer-detail/CustomerDetail.vue.js +4 -4
  47. package/dist/test/chat/page/home/ChatList.vue.js +113 -43
  48. package/dist/test/chat/page/home/ChatMessage.vue.js +10 -1
  49. package/dist/test/chat/page/home/ChatMessageItem.vue.js +75 -83
  50. package/dist/test/chat/page/home/ChatMessageItem2.vue.js +351 -0
  51. package/dist/test/chat/page/home/Home.vue.js +29 -9
  52. package/dist/test/chat/page/home/HomeHeader.vue.js +8 -4
  53. package/dist/test/chat/page/home/InputChat.vue.js +58 -37
  54. package/dist/test/components/chat/call/Calling.vue.js +117 -71
  55. package/dist/test/components/chat/common/tab/TabBase.vue.js +1 -0
  56. package/dist/test/components/chat/common/tabs/TabBase.vue.js +92 -0
  57. package/dist/test/components/chat/customer/Avatar.vue.js +23 -4
  58. package/dist/test/components/chat/layout/mobile/Footer.vue.js +6 -1
  59. package/dist/test/components/common/drawer/DrawerBaseCustom.vue.js +1 -0
  60. package/dist/test/components/common/select/SelectBase.vue.js +139 -0
  61. package/dist/test/components/ui/select/Select.vue.js +49 -0
  62. package/dist/test/components/ui/select/SelectContent.vue.js +98 -0
  63. package/dist/test/components/ui/select/SelectGroup.vue.js +37 -0
  64. package/dist/test/components/ui/select/SelectItem.vue.js +86 -0
  65. package/dist/test/components/ui/select/SelectItemText.vue.js +37 -0
  66. package/dist/test/components/ui/select/SelectLabel.vue.js +40 -0
  67. package/dist/test/components/ui/select/SelectScrollDownButton.vue.js +58 -0
  68. package/dist/test/components/ui/select/SelectScrollUpButton.vue.js +58 -0
  69. package/dist/test/components/ui/select/SelectSeparator.vue.js +39 -0
  70. package/dist/test/components/ui/select/SelectTrigger.vue.js +76 -0
  71. package/dist/test/components/ui/select/SelectValue.vue.js +37 -0
  72. package/dist/test/components/ui/select/index.js +11 -0
  73. package/dist/test/components/ui/tabs/Tabs.vue.js +54 -0
  74. package/dist/test/components/ui/tabs/TabsContent.vue.js +44 -0
  75. package/dist/test/components/ui/tabs/TabsList.vue.js +44 -0
  76. package/dist/test/components/ui/tabs/TabsTrigger.vue.js +45 -0
  77. package/dist/test/components/ui/tabs/index.js +4 -0
  78. package/dist/test/composable/useDigibot.js +3 -3
  79. package/dist/test/composable/useInitData.js +23 -14
  80. package/dist/test/composable/useListConversations.js +51 -33
  81. package/dist/test/composable/useListentEvent.js +45 -0
  82. package/dist/test/composable/usePlivo.js +6 -1
  83. package/dist/test/constant/color.js +4 -2
  84. package/dist/test/plugins/axios-gci.js +1 -1
  85. package/dist/test/utils/chat/auth.js +1 -1
  86. package/dist/test/utils/chat/cache.js +63 -0
  87. package/dist/test/utils/chat/call.js +2 -3
  88. package/dist/test/utils/chat/conversation.js +9 -2
  89. package/dist/test/utils/chat/page-error.js +25 -0
  90. package/dist/test/utils/chat/user.js +7 -2
  91. package/dist/test/utils/string-helper.js +13 -0
  92. package/dist/test/views/NotTenantPhone.vue.js +99 -0
  93. package/dist/types/chat/global.d.ts +6 -5
  94. package/dist/types/conversation.d.ts +2 -0
  95. package/dist/utils/chat/auth.d.ts +1 -1
  96. package/dist/utils/chat/cache.d.ts +7 -0
  97. package/dist/utils/chat/conversation.d.ts +2 -0
  98. package/dist/utils/chat/page-error.d.ts +4 -0
  99. package/dist/utils/chat/user.d.ts +3 -0
  100. package/dist/utils/string-helper.d.ts +1 -0
  101. package/dist/views/NotTenantPhone.vue.d.ts +9 -0
  102. package/package.json +3 -2
  103. package/dist/components/layout/Blank.vue.d.ts +0 -9
  104. package/dist/components/layout/Default.vue.d.ts +0 -9
  105. package/dist/composable/useError.d.ts +0 -4
  106. package/dist/composable/useModalConfirm.d.ts +0 -5
  107. package/dist/test/components/ListenEvent.vue.js +0 -45
  108. package/dist/test/components/layout/Blank.vue.js +0 -19
  109. package/dist/test/components/layout/Default.vue.js +0 -21
  110. package/dist/test/components/modal/Confirm.vue.js +0 -164
  111. package/dist/test/composable/useError.js +0 -10
  112. package/dist/test/composable/useModalConfirm.js +0 -39
  113. /package/dist/{components/ListenEvent.vue.d.ts → assets/icons/IconUser.vue.d.ts} +0 -0
  114. /package/dist/components/{modal/Confirm.vue.d.ts → common/select/SelectBase.vue.d.ts} +0 -0
@@ -0,0 +1,139 @@
1
+ /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue, } from '../../ui/select';
3
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
4
+ const __VLS_ctx = {
5
+ ...{},
6
+ ...{},
7
+ };
8
+ let __VLS_elements;
9
+ let __VLS_components;
10
+ let __VLS_directives;
11
+ const __VLS_0 = {}.Select;
12
+ /** @type {[typeof __VLS_components.Select, typeof __VLS_components.Select, ]} */ ;
13
+ // @ts-ignore
14
+ Select;
15
+ // @ts-ignore
16
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({}));
17
+ const __VLS_2 = __VLS_1({}, ...__VLS_functionalComponentArgsRest(__VLS_1));
18
+ var __VLS_4 = {};
19
+ const { default: __VLS_5 } = __VLS_3.slots;
20
+ const __VLS_6 = {}.SelectTrigger;
21
+ /** @type {[typeof __VLS_components.SelectTrigger, typeof __VLS_components.SelectTrigger, ]} */ ;
22
+ // @ts-ignore
23
+ SelectTrigger;
24
+ // @ts-ignore
25
+ const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
26
+ ...{ class: "w-[180px]" },
27
+ }));
28
+ const __VLS_8 = __VLS_7({
29
+ ...{ class: "w-[180px]" },
30
+ }, ...__VLS_functionalComponentArgsRest(__VLS_7));
31
+ const { default: __VLS_10 } = __VLS_9.slots;
32
+ const __VLS_11 = {}.SelectValue;
33
+ /** @type {[typeof __VLS_components.SelectValue, ]} */ ;
34
+ // @ts-ignore
35
+ SelectValue;
36
+ // @ts-ignore
37
+ const __VLS_12 = __VLS_asFunctionalComponent(__VLS_11, new __VLS_11({
38
+ placeholder: "Select a fruit",
39
+ }));
40
+ const __VLS_13 = __VLS_12({
41
+ placeholder: "Select a fruit",
42
+ }, ...__VLS_functionalComponentArgsRest(__VLS_12));
43
+ var __VLS_9;
44
+ const __VLS_16 = {}.SelectContent;
45
+ /** @type {[typeof __VLS_components.SelectContent, typeof __VLS_components.SelectContent, ]} */ ;
46
+ // @ts-ignore
47
+ SelectContent;
48
+ // @ts-ignore
49
+ const __VLS_17 = __VLS_asFunctionalComponent(__VLS_16, new __VLS_16({}));
50
+ const __VLS_18 = __VLS_17({}, ...__VLS_functionalComponentArgsRest(__VLS_17));
51
+ const { default: __VLS_20 } = __VLS_19.slots;
52
+ const __VLS_21 = {}.SelectGroup;
53
+ /** @type {[typeof __VLS_components.SelectGroup, typeof __VLS_components.SelectGroup, ]} */ ;
54
+ // @ts-ignore
55
+ SelectGroup;
56
+ // @ts-ignore
57
+ const __VLS_22 = __VLS_asFunctionalComponent(__VLS_21, new __VLS_21({}));
58
+ const __VLS_23 = __VLS_22({}, ...__VLS_functionalComponentArgsRest(__VLS_22));
59
+ const { default: __VLS_25 } = __VLS_24.slots;
60
+ const __VLS_26 = {}.SelectLabel;
61
+ /** @type {[typeof __VLS_components.SelectLabel, typeof __VLS_components.SelectLabel, ]} */ ;
62
+ // @ts-ignore
63
+ SelectLabel;
64
+ // @ts-ignore
65
+ const __VLS_27 = __VLS_asFunctionalComponent(__VLS_26, new __VLS_26({}));
66
+ const __VLS_28 = __VLS_27({}, ...__VLS_functionalComponentArgsRest(__VLS_27));
67
+ const { default: __VLS_30 } = __VLS_29.slots;
68
+ var __VLS_29;
69
+ const __VLS_31 = {}.SelectItem;
70
+ /** @type {[typeof __VLS_components.SelectItem, typeof __VLS_components.SelectItem, ]} */ ;
71
+ // @ts-ignore
72
+ SelectItem;
73
+ // @ts-ignore
74
+ const __VLS_32 = __VLS_asFunctionalComponent(__VLS_31, new __VLS_31({
75
+ value: "apple",
76
+ }));
77
+ const __VLS_33 = __VLS_32({
78
+ value: "apple",
79
+ }, ...__VLS_functionalComponentArgsRest(__VLS_32));
80
+ const { default: __VLS_35 } = __VLS_34.slots;
81
+ var __VLS_34;
82
+ const __VLS_36 = {}.SelectItem;
83
+ /** @type {[typeof __VLS_components.SelectItem, typeof __VLS_components.SelectItem, ]} */ ;
84
+ // @ts-ignore
85
+ SelectItem;
86
+ // @ts-ignore
87
+ const __VLS_37 = __VLS_asFunctionalComponent(__VLS_36, new __VLS_36({
88
+ value: "banana",
89
+ }));
90
+ const __VLS_38 = __VLS_37({
91
+ value: "banana",
92
+ }, ...__VLS_functionalComponentArgsRest(__VLS_37));
93
+ const { default: __VLS_40 } = __VLS_39.slots;
94
+ var __VLS_39;
95
+ const __VLS_41 = {}.SelectItem;
96
+ /** @type {[typeof __VLS_components.SelectItem, typeof __VLS_components.SelectItem, ]} */ ;
97
+ // @ts-ignore
98
+ SelectItem;
99
+ // @ts-ignore
100
+ const __VLS_42 = __VLS_asFunctionalComponent(__VLS_41, new __VLS_41({
101
+ value: "blueberry",
102
+ }));
103
+ const __VLS_43 = __VLS_42({
104
+ value: "blueberry",
105
+ }, ...__VLS_functionalComponentArgsRest(__VLS_42));
106
+ const { default: __VLS_45 } = __VLS_44.slots;
107
+ var __VLS_44;
108
+ const __VLS_46 = {}.SelectItem;
109
+ /** @type {[typeof __VLS_components.SelectItem, typeof __VLS_components.SelectItem, ]} */ ;
110
+ // @ts-ignore
111
+ SelectItem;
112
+ // @ts-ignore
113
+ const __VLS_47 = __VLS_asFunctionalComponent(__VLS_46, new __VLS_46({
114
+ value: "grapes",
115
+ }));
116
+ const __VLS_48 = __VLS_47({
117
+ value: "grapes",
118
+ }, ...__VLS_functionalComponentArgsRest(__VLS_47));
119
+ const { default: __VLS_50 } = __VLS_49.slots;
120
+ var __VLS_49;
121
+ const __VLS_51 = {}.SelectItem;
122
+ /** @type {[typeof __VLS_components.SelectItem, typeof __VLS_components.SelectItem, ]} */ ;
123
+ // @ts-ignore
124
+ SelectItem;
125
+ // @ts-ignore
126
+ const __VLS_52 = __VLS_asFunctionalComponent(__VLS_51, new __VLS_51({
127
+ value: "pineapple",
128
+ }));
129
+ const __VLS_53 = __VLS_52({
130
+ value: "pineapple",
131
+ }, ...__VLS_functionalComponentArgsRest(__VLS_52));
132
+ const { default: __VLS_55 } = __VLS_54.slots;
133
+ var __VLS_54;
134
+ var __VLS_24;
135
+ var __VLS_19;
136
+ var __VLS_3;
137
+ /** @type {__VLS_StyleScopedClasses['w-[180px]']} */ ;
138
+ const __VLS_export = (await import('vue')).defineComponent({});
139
+ export default {};
@@ -0,0 +1,49 @@
1
+ /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { SelectRoot, useForwardPropsEmits } from "reka-ui";
3
+ const props = defineProps();
4
+ const emits = defineEmits();
5
+ const forwarded = useForwardPropsEmits(props, emits);
6
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
7
+ const __VLS_ctx = {
8
+ ...{},
9
+ ...{},
10
+ ...{},
11
+ ...{},
12
+ ...{},
13
+ };
14
+ let __VLS_elements;
15
+ let __VLS_components;
16
+ let __VLS_directives;
17
+ const __VLS_0 = {}.SelectRoot;
18
+ /** @type {[typeof __VLS_components.SelectRoot, typeof __VLS_components.SelectRoot, ]} */ ;
19
+ // @ts-ignore
20
+ SelectRoot;
21
+ // @ts-ignore
22
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
23
+ dataSlot: "select",
24
+ ...(__VLS_ctx.forwarded),
25
+ }));
26
+ const __VLS_2 = __VLS_1({
27
+ dataSlot: "select",
28
+ ...(__VLS_ctx.forwarded),
29
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
30
+ var __VLS_4 = {};
31
+ {
32
+ const { default: __VLS_5 } = __VLS_3.slots;
33
+ const [slotProps] = __VLS_getSlotParameters(__VLS_5);
34
+ // @ts-ignore
35
+ [forwarded,];
36
+ var __VLS_6 = {
37
+ ...(slotProps),
38
+ };
39
+ __VLS_3.slots['' /* empty slot name completion */];
40
+ }
41
+ var __VLS_3;
42
+ // @ts-ignore
43
+ var __VLS_7 = __VLS_6;
44
+ const __VLS_base = (await import('vue')).defineComponent({
45
+ __typeEmits: {},
46
+ __typeProps: {},
47
+ });
48
+ const __VLS_export = {};
49
+ export default {};
@@ -0,0 +1,98 @@
1
+ /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { SelectContent, SelectPortal, SelectViewport, useForwardPropsEmits, } from "reka-ui";
4
+ import { cn } from "../../../lib/utils";
5
+ import { SelectScrollDownButton, SelectScrollUpButton } from ".";
6
+ defineOptions({
7
+ inheritAttrs: false,
8
+ });
9
+ const props = withDefaults(defineProps(), {
10
+ position: "popper",
11
+ });
12
+ const emits = defineEmits();
13
+ const delegatedProps = reactiveOmit(props, "class");
14
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
15
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
16
+ const __VLS_defaults = {
17
+ position: "popper",
18
+ };
19
+ const __VLS_ctx = {
20
+ ...{},
21
+ ...{},
22
+ ...{},
23
+ ...{},
24
+ ...{},
25
+ };
26
+ let __VLS_elements;
27
+ let __VLS_components;
28
+ let __VLS_directives;
29
+ const __VLS_0 = {}.SelectPortal;
30
+ /** @type {[typeof __VLS_components.SelectPortal, typeof __VLS_components.SelectPortal, ]} */ ;
31
+ // @ts-ignore
32
+ SelectPortal;
33
+ // @ts-ignore
34
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({}));
35
+ const __VLS_2 = __VLS_1({}, ...__VLS_functionalComponentArgsRest(__VLS_1));
36
+ var __VLS_4 = {};
37
+ const { default: __VLS_5 } = __VLS_3.slots;
38
+ const __VLS_6 = {}.SelectContent;
39
+ /** @type {[typeof __VLS_components.SelectContent, typeof __VLS_components.SelectContent, ]} */ ;
40
+ // @ts-ignore
41
+ SelectContent;
42
+ // @ts-ignore
43
+ const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
44
+ dataSlot: "select-content",
45
+ ...({ ...__VLS_ctx.$attrs, ...__VLS_ctx.forwarded }),
46
+ ...{ class: (__VLS_ctx.cn('bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--reka-select-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border shadow-md', __VLS_ctx.position === 'popper'
47
+ && 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1', props.class)) },
48
+ }));
49
+ const __VLS_8 = __VLS_7({
50
+ dataSlot: "select-content",
51
+ ...({ ...__VLS_ctx.$attrs, ...__VLS_ctx.forwarded }),
52
+ ...{ class: (__VLS_ctx.cn('bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--reka-select-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border shadow-md', __VLS_ctx.position === 'popper'
53
+ && 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1', props.class)) },
54
+ }, ...__VLS_functionalComponentArgsRest(__VLS_7));
55
+ const { default: __VLS_10 } = __VLS_9.slots;
56
+ // @ts-ignore
57
+ [$attrs, forwarded, cn, position,];
58
+ const __VLS_11 = {}.SelectScrollUpButton;
59
+ /** @type {[typeof __VLS_components.SelectScrollUpButton, ]} */ ;
60
+ // @ts-ignore
61
+ SelectScrollUpButton;
62
+ // @ts-ignore
63
+ const __VLS_12 = __VLS_asFunctionalComponent(__VLS_11, new __VLS_11({}));
64
+ const __VLS_13 = __VLS_12({}, ...__VLS_functionalComponentArgsRest(__VLS_12));
65
+ const __VLS_16 = {}.SelectViewport;
66
+ /** @type {[typeof __VLS_components.SelectViewport, typeof __VLS_components.SelectViewport, ]} */ ;
67
+ // @ts-ignore
68
+ SelectViewport;
69
+ // @ts-ignore
70
+ const __VLS_17 = __VLS_asFunctionalComponent(__VLS_16, new __VLS_16({
71
+ ...{ class: (__VLS_ctx.cn('p-1', __VLS_ctx.position === 'popper' && 'h-[var(--reka-select-trigger-height)] w-full min-w-[var(--reka-select-trigger-width)] scroll-my-1')) },
72
+ }));
73
+ const __VLS_18 = __VLS_17({
74
+ ...{ class: (__VLS_ctx.cn('p-1', __VLS_ctx.position === 'popper' && 'h-[var(--reka-select-trigger-height)] w-full min-w-[var(--reka-select-trigger-width)] scroll-my-1')) },
75
+ }, ...__VLS_functionalComponentArgsRest(__VLS_17));
76
+ const { default: __VLS_20 } = __VLS_19.slots;
77
+ // @ts-ignore
78
+ [cn, position,];
79
+ var __VLS_21 = {};
80
+ var __VLS_19;
81
+ const __VLS_23 = {}.SelectScrollDownButton;
82
+ /** @type {[typeof __VLS_components.SelectScrollDownButton, ]} */ ;
83
+ // @ts-ignore
84
+ SelectScrollDownButton;
85
+ // @ts-ignore
86
+ const __VLS_24 = __VLS_asFunctionalComponent(__VLS_23, new __VLS_23({}));
87
+ const __VLS_25 = __VLS_24({}, ...__VLS_functionalComponentArgsRest(__VLS_24));
88
+ var __VLS_9;
89
+ var __VLS_3;
90
+ // @ts-ignore
91
+ var __VLS_22 = __VLS_21;
92
+ const __VLS_base = (await import('vue')).defineComponent({
93
+ __typeEmits: {},
94
+ __typeProps: {},
95
+ props: {},
96
+ });
97
+ const __VLS_export = {};
98
+ export default {};
@@ -0,0 +1,37 @@
1
+ /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { SelectGroup } from "reka-ui";
3
+ const props = defineProps();
4
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
5
+ const __VLS_ctx = {
6
+ ...{},
7
+ ...{},
8
+ ...{},
9
+ ...{},
10
+ };
11
+ let __VLS_elements;
12
+ let __VLS_components;
13
+ let __VLS_directives;
14
+ const __VLS_0 = {}.SelectGroup;
15
+ /** @type {[typeof __VLS_components.SelectGroup, typeof __VLS_components.SelectGroup, ]} */ ;
16
+ // @ts-ignore
17
+ SelectGroup;
18
+ // @ts-ignore
19
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
20
+ dataSlot: "select-group",
21
+ ...(props),
22
+ }));
23
+ const __VLS_2 = __VLS_1({
24
+ dataSlot: "select-group",
25
+ ...(props),
26
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
27
+ var __VLS_4 = {};
28
+ const { default: __VLS_5 } = __VLS_3.slots;
29
+ var __VLS_6 = {};
30
+ var __VLS_3;
31
+ // @ts-ignore
32
+ var __VLS_7 = __VLS_6;
33
+ const __VLS_base = (await import('vue')).defineComponent({
34
+ __typeProps: {},
35
+ });
36
+ const __VLS_export = {};
37
+ export default {};
@@ -0,0 +1,86 @@
1
+ /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { Check } from "lucide-vue-next";
4
+ import { SelectItem, SelectItemIndicator, SelectItemText, useForwardProps, } from "reka-ui";
5
+ import { cn } from "../../../lib/utils";
6
+ const props = defineProps();
7
+ const delegatedProps = reactiveOmit(props, "class");
8
+ const forwardedProps = useForwardProps(delegatedProps);
9
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
10
+ const __VLS_ctx = {
11
+ ...{},
12
+ ...{},
13
+ ...{},
14
+ ...{},
15
+ };
16
+ let __VLS_elements;
17
+ let __VLS_components;
18
+ let __VLS_directives;
19
+ const __VLS_0 = {}.SelectItem;
20
+ /** @type {[typeof __VLS_components.SelectItem, typeof __VLS_components.SelectItem, ]} */ ;
21
+ // @ts-ignore
22
+ SelectItem;
23
+ // @ts-ignore
24
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
25
+ dataSlot: "select-item",
26
+ ...(__VLS_ctx.forwardedProps),
27
+ ...{ class: (__VLS_ctx.cn('focus:bg-accent focus:text-accent-foreground [&_svg:not([class*=\'text-\'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2', props.class)) },
28
+ }));
29
+ const __VLS_2 = __VLS_1({
30
+ dataSlot: "select-item",
31
+ ...(__VLS_ctx.forwardedProps),
32
+ ...{ class: (__VLS_ctx.cn('focus:bg-accent focus:text-accent-foreground [&_svg:not([class*=\'text-\'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2', props.class)) },
33
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
34
+ var __VLS_4 = {};
35
+ const { default: __VLS_5 } = __VLS_3.slots;
36
+ // @ts-ignore
37
+ [forwardedProps, cn,];
38
+ __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({
39
+ ...{ class: "absolute right-2 flex size-3.5 items-center justify-center" },
40
+ });
41
+ const __VLS_6 = {}.SelectItemIndicator;
42
+ /** @type {[typeof __VLS_components.SelectItemIndicator, typeof __VLS_components.SelectItemIndicator, ]} */ ;
43
+ // @ts-ignore
44
+ SelectItemIndicator;
45
+ // @ts-ignore
46
+ const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({}));
47
+ const __VLS_8 = __VLS_7({}, ...__VLS_functionalComponentArgsRest(__VLS_7));
48
+ const { default: __VLS_10 } = __VLS_9.slots;
49
+ var __VLS_11 = {};
50
+ const __VLS_13 = {}.Check;
51
+ /** @type {[typeof __VLS_components.Check, ]} */ ;
52
+ // @ts-ignore
53
+ Check;
54
+ // @ts-ignore
55
+ const __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({
56
+ ...{ class: "size-4" },
57
+ }));
58
+ const __VLS_15 = __VLS_14({
59
+ ...{ class: "size-4" },
60
+ }, ...__VLS_functionalComponentArgsRest(__VLS_14));
61
+ var __VLS_9;
62
+ const __VLS_18 = {}.SelectItemText;
63
+ /** @type {[typeof __VLS_components.SelectItemText, typeof __VLS_components.SelectItemText, ]} */ ;
64
+ // @ts-ignore
65
+ SelectItemText;
66
+ // @ts-ignore
67
+ const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({}));
68
+ const __VLS_20 = __VLS_19({}, ...__VLS_functionalComponentArgsRest(__VLS_19));
69
+ const { default: __VLS_22 } = __VLS_21.slots;
70
+ var __VLS_23 = {};
71
+ var __VLS_21;
72
+ var __VLS_3;
73
+ /** @type {__VLS_StyleScopedClasses['absolute']} */ ;
74
+ /** @type {__VLS_StyleScopedClasses['right-2']} */ ;
75
+ /** @type {__VLS_StyleScopedClasses['flex']} */ ;
76
+ /** @type {__VLS_StyleScopedClasses['size-3.5']} */ ;
77
+ /** @type {__VLS_StyleScopedClasses['items-center']} */ ;
78
+ /** @type {__VLS_StyleScopedClasses['justify-center']} */ ;
79
+ /** @type {__VLS_StyleScopedClasses['size-4']} */ ;
80
+ // @ts-ignore
81
+ var __VLS_12 = __VLS_11, __VLS_24 = __VLS_23;
82
+ const __VLS_base = (await import('vue')).defineComponent({
83
+ __typeProps: {},
84
+ });
85
+ const __VLS_export = {};
86
+ export default {};
@@ -0,0 +1,37 @@
1
+ /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { SelectItemText } from "reka-ui";
3
+ const props = defineProps();
4
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
5
+ const __VLS_ctx = {
6
+ ...{},
7
+ ...{},
8
+ ...{},
9
+ ...{},
10
+ };
11
+ let __VLS_elements;
12
+ let __VLS_components;
13
+ let __VLS_directives;
14
+ const __VLS_0 = {}.SelectItemText;
15
+ /** @type {[typeof __VLS_components.SelectItemText, typeof __VLS_components.SelectItemText, ]} */ ;
16
+ // @ts-ignore
17
+ SelectItemText;
18
+ // @ts-ignore
19
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
20
+ dataSlot: "select-item-text",
21
+ ...(props),
22
+ }));
23
+ const __VLS_2 = __VLS_1({
24
+ dataSlot: "select-item-text",
25
+ ...(props),
26
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
27
+ var __VLS_4 = {};
28
+ const { default: __VLS_5 } = __VLS_3.slots;
29
+ var __VLS_6 = {};
30
+ var __VLS_3;
31
+ // @ts-ignore
32
+ var __VLS_7 = __VLS_6;
33
+ const __VLS_base = (await import('vue')).defineComponent({
34
+ __typeProps: {},
35
+ });
36
+ const __VLS_export = {};
37
+ export default {};
@@ -0,0 +1,40 @@
1
+ /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { SelectLabel } from "reka-ui";
3
+ import { cn } from "../../../lib/utils";
4
+ const props = defineProps();
5
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
6
+ const __VLS_ctx = {
7
+ ...{},
8
+ ...{},
9
+ ...{},
10
+ ...{},
11
+ };
12
+ let __VLS_elements;
13
+ let __VLS_components;
14
+ let __VLS_directives;
15
+ const __VLS_0 = {}.SelectLabel;
16
+ /** @type {[typeof __VLS_components.SelectLabel, typeof __VLS_components.SelectLabel, ]} */ ;
17
+ // @ts-ignore
18
+ SelectLabel;
19
+ // @ts-ignore
20
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
21
+ dataSlot: "select-label",
22
+ ...{ class: (__VLS_ctx.cn('text-muted-foreground px-2 py-1.5 text-xs', props.class)) },
23
+ }));
24
+ const __VLS_2 = __VLS_1({
25
+ dataSlot: "select-label",
26
+ ...{ class: (__VLS_ctx.cn('text-muted-foreground px-2 py-1.5 text-xs', props.class)) },
27
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
28
+ var __VLS_4 = {};
29
+ const { default: __VLS_5 } = __VLS_3.slots;
30
+ // @ts-ignore
31
+ [cn,];
32
+ var __VLS_6 = {};
33
+ var __VLS_3;
34
+ // @ts-ignore
35
+ var __VLS_7 = __VLS_6;
36
+ const __VLS_base = (await import('vue')).defineComponent({
37
+ __typeProps: {},
38
+ });
39
+ const __VLS_export = {};
40
+ export default {};
@@ -0,0 +1,58 @@
1
+ /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { ChevronDown } from "lucide-vue-next";
4
+ import { SelectScrollDownButton, useForwardProps } from "reka-ui";
5
+ import { cn } from "../../../lib/utils";
6
+ const props = defineProps();
7
+ const delegatedProps = reactiveOmit(props, "class");
8
+ const forwardedProps = useForwardProps(delegatedProps);
9
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
10
+ const __VLS_ctx = {
11
+ ...{},
12
+ ...{},
13
+ ...{},
14
+ ...{},
15
+ };
16
+ let __VLS_elements;
17
+ let __VLS_components;
18
+ let __VLS_directives;
19
+ const __VLS_0 = {}.SelectScrollDownButton;
20
+ /** @type {[typeof __VLS_components.SelectScrollDownButton, typeof __VLS_components.SelectScrollDownButton, ]} */ ;
21
+ // @ts-ignore
22
+ SelectScrollDownButton;
23
+ // @ts-ignore
24
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
25
+ dataSlot: "select-scroll-down-button",
26
+ ...(__VLS_ctx.forwardedProps),
27
+ ...{ class: (__VLS_ctx.cn('flex cursor-default items-center justify-center py-1', props.class)) },
28
+ }));
29
+ const __VLS_2 = __VLS_1({
30
+ dataSlot: "select-scroll-down-button",
31
+ ...(__VLS_ctx.forwardedProps),
32
+ ...{ class: (__VLS_ctx.cn('flex cursor-default items-center justify-center py-1', props.class)) },
33
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
34
+ var __VLS_4 = {};
35
+ const { default: __VLS_5 } = __VLS_3.slots;
36
+ // @ts-ignore
37
+ [forwardedProps, cn,];
38
+ var __VLS_6 = {};
39
+ const __VLS_8 = {}.ChevronDown;
40
+ /** @type {[typeof __VLS_components.ChevronDown, ]} */ ;
41
+ // @ts-ignore
42
+ ChevronDown;
43
+ // @ts-ignore
44
+ const __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({
45
+ ...{ class: "size-4" },
46
+ }));
47
+ const __VLS_10 = __VLS_9({
48
+ ...{ class: "size-4" },
49
+ }, ...__VLS_functionalComponentArgsRest(__VLS_9));
50
+ var __VLS_3;
51
+ /** @type {__VLS_StyleScopedClasses['size-4']} */ ;
52
+ // @ts-ignore
53
+ var __VLS_7 = __VLS_6;
54
+ const __VLS_base = (await import('vue')).defineComponent({
55
+ __typeProps: {},
56
+ });
57
+ const __VLS_export = {};
58
+ export default {};
@@ -0,0 +1,58 @@
1
+ /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { ChevronUp } from "lucide-vue-next";
4
+ import { SelectScrollUpButton, useForwardProps } from "reka-ui";
5
+ import { cn } from "../../../lib/utils";
6
+ const props = defineProps();
7
+ const delegatedProps = reactiveOmit(props, "class");
8
+ const forwardedProps = useForwardProps(delegatedProps);
9
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
10
+ const __VLS_ctx = {
11
+ ...{},
12
+ ...{},
13
+ ...{},
14
+ ...{},
15
+ };
16
+ let __VLS_elements;
17
+ let __VLS_components;
18
+ let __VLS_directives;
19
+ const __VLS_0 = {}.SelectScrollUpButton;
20
+ /** @type {[typeof __VLS_components.SelectScrollUpButton, typeof __VLS_components.SelectScrollUpButton, ]} */ ;
21
+ // @ts-ignore
22
+ SelectScrollUpButton;
23
+ // @ts-ignore
24
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
25
+ dataSlot: "select-scroll-up-button",
26
+ ...(__VLS_ctx.forwardedProps),
27
+ ...{ class: (__VLS_ctx.cn('flex cursor-default items-center justify-center py-1', props.class)) },
28
+ }));
29
+ const __VLS_2 = __VLS_1({
30
+ dataSlot: "select-scroll-up-button",
31
+ ...(__VLS_ctx.forwardedProps),
32
+ ...{ class: (__VLS_ctx.cn('flex cursor-default items-center justify-center py-1', props.class)) },
33
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
34
+ var __VLS_4 = {};
35
+ const { default: __VLS_5 } = __VLS_3.slots;
36
+ // @ts-ignore
37
+ [forwardedProps, cn,];
38
+ var __VLS_6 = {};
39
+ const __VLS_8 = {}.ChevronUp;
40
+ /** @type {[typeof __VLS_components.ChevronUp, ]} */ ;
41
+ // @ts-ignore
42
+ ChevronUp;
43
+ // @ts-ignore
44
+ const __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({
45
+ ...{ class: "size-4" },
46
+ }));
47
+ const __VLS_10 = __VLS_9({
48
+ ...{ class: "size-4" },
49
+ }, ...__VLS_functionalComponentArgsRest(__VLS_9));
50
+ var __VLS_3;
51
+ /** @type {__VLS_StyleScopedClasses['size-4']} */ ;
52
+ // @ts-ignore
53
+ var __VLS_7 = __VLS_6;
54
+ const __VLS_base = (await import('vue')).defineComponent({
55
+ __typeProps: {},
56
+ });
57
+ const __VLS_export = {};
58
+ export default {};
@@ -0,0 +1,39 @@
1
+ /// <reference types="C:/phonghq/go-chat-v2/node_modules/.vue-global-types/vue_3.5_0.d.ts" />
2
+ import { reactiveOmit } from "@vueuse/core";
3
+ import { SelectSeparator } from "reka-ui";
4
+ import { cn } from "../../../lib/utils";
5
+ const props = defineProps();
6
+ const delegatedProps = reactiveOmit(props, "class");
7
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
8
+ const __VLS_ctx = {
9
+ ...{},
10
+ ...{},
11
+ ...{},
12
+ ...{},
13
+ };
14
+ let __VLS_elements;
15
+ let __VLS_components;
16
+ let __VLS_directives;
17
+ const __VLS_0 = {}.SelectSeparator;
18
+ /** @type {[typeof __VLS_components.SelectSeparator, ]} */ ;
19
+ // @ts-ignore
20
+ SelectSeparator;
21
+ // @ts-ignore
22
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
23
+ dataSlot: "select-separator",
24
+ ...(__VLS_ctx.delegatedProps),
25
+ ...{ class: (__VLS_ctx.cn('bg-border pointer-events-none -mx-1 my-1 h-px', props.class)) },
26
+ }));
27
+ const __VLS_2 = __VLS_1({
28
+ dataSlot: "select-separator",
29
+ ...(__VLS_ctx.delegatedProps),
30
+ ...{ class: (__VLS_ctx.cn('bg-border pointer-events-none -mx-1 my-1 h-px', props.class)) },
31
+ }, ...__VLS_functionalComponentArgsRest(__VLS_1));
32
+ var __VLS_4 = {};
33
+ // @ts-ignore
34
+ [delegatedProps, cn,];
35
+ var __VLS_3;
36
+ const __VLS_export = (await import('vue')).defineComponent({
37
+ __typeProps: {},
38
+ });
39
+ export default {};