@quidgest/chatbot 0.0.1

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.
@@ -0,0 +1,57 @@
1
+ import type { ResourceStrings } from '../types/texts.type';
2
+ export type ChatBotProps = {
3
+ /**
4
+ * API Enpoint URL
5
+ */
6
+ apiEndpoint?: string;
7
+ /**
8
+ * Static resource texts used by ChatBot
9
+ */
10
+ texts?: ResourceStrings;
11
+ /**
12
+ * Genio username
13
+ */
14
+ username: string;
15
+ };
16
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ChatBotProps>, {
17
+ apiEndpoint: string;
18
+ texts: () => {
19
+ chatbotTitle: string;
20
+ qButtonTitle: string;
21
+ placeholderMessage: string;
22
+ initialMessage: string;
23
+ loginError: string;
24
+ botIsSick: string;
25
+ };
26
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ChatBotProps>, {
27
+ apiEndpoint: string;
28
+ texts: () => {
29
+ chatbotTitle: string;
30
+ qButtonTitle: string;
31
+ placeholderMessage: string;
32
+ initialMessage: string;
33
+ loginError: string;
34
+ botIsSick: string;
35
+ };
36
+ }>>>, {
37
+ apiEndpoint: string;
38
+ texts: ResourceStrings;
39
+ }, {}>;
40
+ export default _default;
41
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
42
+ type __VLS_TypePropsToRuntimeProps<T> = {
43
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
44
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
45
+ } : {
46
+ type: import('vue').PropType<T[K]>;
47
+ required: true;
48
+ };
49
+ };
50
+ type __VLS_WithDefaults<P, D> = {
51
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
52
+ default: D[K];
53
+ }> : P[K];
54
+ };
55
+ type __VLS_Prettify<T> = {
56
+ [K in keyof T]: T[K];
57
+ } & {};
@@ -0,0 +1,3 @@
1
+ import ChatBot from './components/ChatBot.vue';
2
+ import '@/assets/styles/styles.scss';
3
+ export default ChatBot;