@quidgest/chatbot 0.0.1 → 0.0.3
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/dist/components/ChatBot.vue.d.ts +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +2 -15
- package/dist/index.mjs +2 -15
- package/dist/style.css +3 -947
- package/dist/types/message.type.d.ts +0 -0
- package/dist/types/texts.type.d.ts +0 -0
- package/package.json +50 -50
- package/src/assets/chatbot.png +0 -0
- package/src/assets/styles/styles.scss +118 -116
- package/src/components/ChatBot.vue +349 -365
- package/src/index.ts +4 -4
- package/src/shims-vue.d.ts +1 -1
- package/src/types/message.type.ts +5 -5
- package/src/types/texts.type.ts +2 -2
- package/src/vite-env.d.ts +1 -1
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ChatBot from '@/components/ChatBot.vue'
|
|
2
|
-
import '@/assets/styles/styles.scss'
|
|
3
|
-
|
|
4
|
-
export default ChatBot
|
|
1
|
+
import ChatBot from '@/components/ChatBot.vue'
|
|
2
|
+
import '@/assets/styles/styles.scss'
|
|
3
|
+
|
|
4
|
+
export default ChatBot
|
package/src/shims-vue.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
declare module '*.vue'
|
|
1
|
+
declare module '*.vue'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type ChatBotMessage = {
|
|
2
|
-
id: number,
|
|
3
|
-
text: string,
|
|
4
|
-
timestamp: Date,
|
|
5
|
-
sender: 'bot' | 'user'
|
|
1
|
+
export type ChatBotMessage = {
|
|
2
|
+
id: number,
|
|
3
|
+
text: string,
|
|
4
|
+
timestamp: Date,
|
|
5
|
+
sender: 'bot' | 'user'
|
|
6
6
|
}
|
package/src/types/texts.type.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type ResourceStrings = {
|
|
2
|
-
[key: string]: string
|
|
1
|
+
export type ResourceStrings = {
|
|
2
|
+
[key: string]: string
|
|
3
3
|
}
|
package/src/vite-env.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
1
|
+
/// <reference types="vite/client" />
|