@n8n/chat 0.14.0 → 0.15.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n8n/chat",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "main": "./chat.umd.js",
5
5
  "module": "./chat.es.js",
6
6
  "types": "./types/index.d.ts",
@@ -1,5 +1,4 @@
1
1
  <script setup lang="ts">
2
- // eslint-disable-next-line import/no-unresolved
3
2
  import Close from 'virtual:icons/mdi/close';
4
3
  import { computed, nextTick, onMounted } from 'vue';
5
4
  import Layout from '@n8n/chat/components/Layout.vue';
@@ -1,7 +1,5 @@
1
1
  <script lang="ts" setup>
2
- // eslint-disable-next-line import/no-unresolved
3
2
  import IconChat from 'virtual:icons/mdi/chat';
4
- // eslint-disable-next-line import/no-unresolved
5
3
  import IconChevronDown from 'virtual:icons/mdi/chevron-down';
6
4
  import { nextTick, ref } from 'vue';
7
5
  import Chat from '@n8n/chat/components/Chat.vue';
@@ -1,5 +1,4 @@
1
1
  <script setup lang="ts">
2
- // eslint-disable-next-line import/no-unresolved
3
2
  import IconSend from 'virtual:icons/mdi/send';
4
3
  import { computed, onMounted, ref } from 'vue';
5
4
  import { useI18n, useChat, useOptions } from '@n8n/chat/composables';
@@ -0,0 +1,5 @@
1
+ declare module 'virtual:icons/*' {
2
+ import { FunctionalComponent, SVGAttributes } from 'vue';
3
+ const component: FunctionalComponent<SVGAttributes>;
4
+ export default component;
5
+ }
package/vite.config.ts CHANGED
@@ -14,6 +14,7 @@ const plugins = [
14
14
  vue(),
15
15
  icons({
16
16
  compiler: 'vue3',
17
+ autoInstall: true,
17
18
  }),
18
19
  dts(),
19
20
  ];