@quidgest/chatbot 0.0.6 → 0.0.8

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.
package/README.md ADDED
@@ -0,0 +1,8 @@
1
+ # Vue 3 + Vite
2
+
3
+ This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4
+
5
+ ## Recommended IDE Setup
6
+
7
+ - [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
8
+
@@ -8,16 +8,16 @@ export interface CBMessageProps {
8
8
  */
9
9
  dateFormat?: string;
10
10
  }
11
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CBMessageProps>, {
11
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CBMessageProps>, {
12
12
  sender: string;
13
13
  date: () => Date;
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CBMessageProps>, {
14
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CBMessageProps>, {
15
15
  sender: string;
16
16
  date: () => Date;
17
- }>>>, {
17
+ }>>> & Readonly<{}>, {
18
18
  sender: "bot" | "user";
19
19
  date: Date;
20
- }, {}>;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
21
  export default _default;
22
22
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
23
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,4 +1,5 @@
1
- import type { ResourceStrings } from '../types/texts.type';
1
+ import { ResourceStrings } from '../types/texts.type';
2
+
2
3
  export type ChatBotProps = {
3
4
  /**
4
5
  * API Enpoint URL
@@ -21,30 +22,30 @@ export type ChatBotProps = {
21
22
  */
22
23
  dateFormat?: string;
23
24
  };
24
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ChatBotProps>, {
25
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ChatBotProps>, {
25
26
  apiEndpoint: string;
26
27
  texts: () => {
27
28
  chatbotTitle: string;
28
29
  qButtonTitle: string;
29
- placeholderMessage: string;
30
+ inputLabel: string;
30
31
  initialMessage: string;
31
32
  loginError: string;
32
33
  botIsSick: string;
33
34
  };
34
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ChatBotProps>, {
35
+ }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ChatBotProps>, {
35
36
  apiEndpoint: string;
36
37
  texts: () => {
37
38
  chatbotTitle: string;
38
39
  qButtonTitle: string;
39
- placeholderMessage: string;
40
+ inputLabel: string;
40
41
  initialMessage: string;
41
42
  loginError: string;
42
43
  botIsSick: string;
43
44
  };
44
- }>>>, {
45
+ }>>> & Readonly<{}>, {
45
46
  apiEndpoint: string;
46
47
  texts: ResourceStrings;
47
- }, {}>;
48
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
48
49
  export default _default;
49
50
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
51
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,3 +1,3 @@
1
- import CBMessage from "./CBMessage.vue";
2
- import type { CBMessageProps } from "./CBMessage.vue";
1
+ import { default as CBMessage, CBMessageProps } from './CBMessage.vue';
2
+
3
3
  export { CBMessage, CBMessageProps };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import ChatBot from './components/ChatBot.vue';
2
- import '@/assets/styles/styles.scss';
1
+ import { default as ChatBot } from './components/ChatBot.vue';
2
+
3
3
  export default ChatBot;