sm-click-library-ui 0.0.604-dev.20 → 0.0.604-dev.21

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.
@@ -17,25 +17,6 @@ global.window.HTMLElement = dom.window.HTMLElement;
17
17
  global.window.requestAnimationFrame = (cb) => setTimeout(cb, 0);
18
18
  global.window.cancelAnimationFrame = (id) => clearTimeout(id);
19
19
 
20
- // `vue3-emoji-picker` abre um IndexedDB já no import e jsdom não implementa IndexedDB:
21
- // sem estes stubs todo teste que importa a lib termina com uma unhandled rejection.
22
- // A request nunca dispara evento — o open fica pendente e o banco não existe no teste.
23
- if (!global.indexedDB) {
24
- global.IDBRequest = class IDBRequest {
25
- addEventListener() {}
26
- removeEventListener() {}
27
- };
28
- global.IDBTransaction = class IDBTransaction {};
29
- global.IDBDatabase = class IDBDatabase {};
30
- global.IDBObjectStore = class IDBObjectStore {};
31
- global.IDBIndex = class IDBIndex {};
32
- global.IDBCursor = class IDBCursor {};
33
- global.indexedDB = {
34
- open: () => new global.IDBRequest(),
35
- deleteDatabase: () => new global.IDBRequest(),
36
- };
37
- }
38
-
39
20
  global.ResizeObserver = vi.fn().mockImplementation(() => ({
40
21
  observe: vi.fn(),
41
22
  unobserve: vi.fn(),
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, watchEffect, computed, watch, createElementBlock, openBlock, normalizeStyle } from "vue";
2
- import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-B2Nt8J6Q.js";
2
+ import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./index-Bpy8sVRd.js";
3
3
  var lottie = { exports: {} };
4
4
  (function(module, exports) {
5
5
  typeof navigator < "u" && function(t, e) {
@@ -1,5 +1,5 @@
1
- import { W as P, b as x } from "./index-B2Nt8J6Q.js";
2
- import { E } from "./web-BJS-1qxP.js";
1
+ import { W as P, b as x } from "./index-Bpy8sVRd.js";
2
+ import { E } from "./web-T9BWrvle.js";
3
3
  function m(w) {
4
4
  const e = w.split("/").filter((t) => t !== "."), r = [];
5
5
  return e.forEach((t) => {
@@ -1,4 +1,4 @@
1
- import { r as le, C as ge, g as me, W as we } from "./index-B2Nt8J6Q.js";
1
+ import { r as le, C as ge, g as me, W as we } from "./index-Bpy8sVRd.js";
2
2
  const F = {
3
3
  RECORDING: "RECORDING",
4
4
  PAUSED: "PAUSED",
@@ -58,7 +58,7 @@ var te;
58
58
  n.UTF8 = "utf8", n.ASCII = "ascii", n.UTF16 = "utf16";
59
59
  })(te || (te = {}));
60
60
  const k = le("Filesystem", {
61
- web: () => import("./web-Y_QSeP6l.js").then((n) => new n.FilesystemWeb())
61
+ web: () => import("./web-Dr-FIxVc.js").then((n) => new n.FilesystemWeb())
62
62
  });
63
63
  Ee();
64
64
  const _e = le("BlobWriter");
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "dist",
6
6
  "src/test-utils"
7
7
  ],
8
- "version": "0.0.604-dev.20",
8
+ "version": "0.0.604-dev.21",
9
9
  "main": "dist/sm-click-library-ui.es.js",
10
10
  "module": "dist/sm-click-library-ui.umd.js",
11
11
  "style": "dist/style.css",
@@ -17,25 +17,6 @@ global.window.HTMLElement = dom.window.HTMLElement;
17
17
  global.window.requestAnimationFrame = (cb) => setTimeout(cb, 0);
18
18
  global.window.cancelAnimationFrame = (id) => clearTimeout(id);
19
19
 
20
- // `vue3-emoji-picker` abre um IndexedDB já no import e jsdom não implementa IndexedDB:
21
- // sem estes stubs todo teste que importa a lib termina com uma unhandled rejection.
22
- // A request nunca dispara evento — o open fica pendente e o banco não existe no teste.
23
- if (!global.indexedDB) {
24
- global.IDBRequest = class IDBRequest {
25
- addEventListener() {}
26
- removeEventListener() {}
27
- };
28
- global.IDBTransaction = class IDBTransaction {};
29
- global.IDBDatabase = class IDBDatabase {};
30
- global.IDBObjectStore = class IDBObjectStore {};
31
- global.IDBIndex = class IDBIndex {};
32
- global.IDBCursor = class IDBCursor {};
33
- global.indexedDB = {
34
- open: () => new global.IDBRequest(),
35
- deleteDatabase: () => new global.IDBRequest(),
36
- };
37
- }
38
-
39
20
  global.ResizeObserver = vi.fn().mockImplementation(() => ({
40
21
  observe: vi.fn(),
41
22
  unobserve: vi.fn(),