@flyfish-group/file-viewer3 1.0.1 → 1.0.2

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 CHANGED
@@ -59,7 +59,7 @@ npm run lint
59
59
  如果您使用了flyfish的私库,请使用以下命令安装依赖即可。
60
60
 
61
61
  ```
62
- npm install --save file-viewer3
62
+ npm install --save @flyfish-group/file-viewer3
63
63
  ```
64
64
 
65
65
  常规情况下,请使用`npm link`的方式进行集成。
@@ -1,21 +1,21 @@
1
1
  var s = Object.defineProperty;
2
2
  var n = (e, r, o) => r in e ? s(e, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[r] = o;
3
- var t = (e, r, o) => (n(e, typeof r != "symbol" ? r + "" : r, o), o);
4
- const u = "/node_modules/file-viewer3/dist/worker/";
5
- class w {
3
+ var l = (e, r, o) => (n(e, typeof r != "symbol" ? r + "" : r, o), o);
4
+ const u = "/node_modules/@flyfish-group/file-viewer3/dist/worker/";
5
+ class i {
6
6
  constructor(r) {
7
- t(this, "worker", null);
7
+ l(this, "worker", null);
8
8
  this.worker = r;
9
9
  }
10
10
  defaults(r) {
11
11
  return this.worker || r();
12
12
  }
13
13
  }
14
- function i(e, r = !1) {
14
+ function c(e, r = !1) {
15
15
  let o = null;
16
- const l = `${u}${e}`;
17
- return o = new Worker(new URL(l, import.meta.url), { type: r ? "module" : "classic" }), new w(o);
16
+ const t = `${u}${e}`;
17
+ return o = new Worker(new URL(t, import.meta.url), { type: r ? "module" : "classic" }), new i(o);
18
18
  }
19
19
  export {
20
- i as r
20
+ c as r
21
21
  };