@meistrari/chat-nuxt 4.7.0-rc.1 → 4.7.1-rc.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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
3
  "configKey": "chatNuxt",
4
- "version": "4.7.0-rc.1",
4
+ "version": "4.7.1-rc.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -424,7 +424,14 @@ function handleInput() {
424
424
  }
425
425
  function handlePaste(e) {
426
426
  e.preventDefault();
427
+ if (isLocked.value)
428
+ return;
429
+ const files = Array.from(e.clipboardData?.files ?? []);
430
+ if (files.length > 0)
431
+ addFiles(files);
427
432
  const text = e.clipboardData?.getData("text/plain") ?? "";
433
+ if (!text)
434
+ return;
428
435
  const sel = window.getSelection();
429
436
  if (!sel || sel.rangeCount === 0)
430
437
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meistrari/chat-nuxt",
3
- "version": "4.7.0-rc.1",
3
+ "version": "4.7.1-rc.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {