@univerjs/watermark 0.15.2-insiders.20260124-12fc7f0 → 0.15.3-insiders.20260131-b9b8805
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/lib/es/index.js +3 -3
- package/lib/index.js +3 -3
- package/package.json +5 -5
package/lib/es/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var y = Object.defineProperty;
|
|
2
2
|
var R = (t, e, r) => e in t ? y(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var c = (t, e, r) => R(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import { Inject as g, ILocalStorageService as v, Disposable as W, UserManagerService as w, RxDisposable as E, Injector as x,
|
|
4
|
+
import { Inject as g, ILocalStorageService as v, Disposable as W, UserManagerService as w, RxDisposable as E, Injector as x, Plugin as A, merge as m, UniverInstanceType as S, IConfigService as M } from "@univerjs/core";
|
|
5
5
|
import { UNIVER_WATERMARK_STORAGE_KEY as s, WatermarkLayer as U, UNIVER_WATERMARK_LAYER_INDEX as $, IWatermarkTypeEnum as _, IRenderManagerService as b } from "@univerjs/engine-render";
|
|
6
6
|
import { Subject as u } from "rxjs";
|
|
7
7
|
const H = ["image/png", "image/jpeg", "image/jpg", "image/bmp"], D = {
|
|
@@ -127,7 +127,7 @@ var K = Object.getOwnPropertyDescriptor, Y = (t, e, r, a) => {
|
|
|
127
127
|
}, f = (t, e) => (r, a) => e(r, a, t);
|
|
128
128
|
const V = "UNIVER_WATERMARK_PLUGIN";
|
|
129
129
|
var p;
|
|
130
|
-
let k = (p = class extends
|
|
130
|
+
let k = (p = class extends A {
|
|
131
131
|
constructor(t = C, e, r, a, i) {
|
|
132
132
|
super(), this._config = t, this._injector = e, this._configService = r, this._renderManagerSrv = a, this._localStorageService = i;
|
|
133
133
|
const { ...n } = m(
|
|
@@ -186,7 +186,7 @@ let k = (p = class extends M {
|
|
|
186
186
|
}, c(p, "pluginName", V), p);
|
|
187
187
|
k = Y([
|
|
188
188
|
f(1, g(x)),
|
|
189
|
-
f(2,
|
|
189
|
+
f(2, M),
|
|
190
190
|
f(3, b),
|
|
191
191
|
f(4, g(v))
|
|
192
192
|
], k);
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var y = Object.defineProperty;
|
|
2
2
|
var R = (t, e, r) => e in t ? y(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var c = (t, e, r) => R(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import { Inject as g, ILocalStorageService as v, Disposable as W, UserManagerService as w, RxDisposable as E, Injector as x,
|
|
4
|
+
import { Inject as g, ILocalStorageService as v, Disposable as W, UserManagerService as w, RxDisposable as E, Injector as x, Plugin as A, merge as m, UniverInstanceType as S, IConfigService as M } from "@univerjs/core";
|
|
5
5
|
import { UNIVER_WATERMARK_STORAGE_KEY as s, WatermarkLayer as U, UNIVER_WATERMARK_LAYER_INDEX as $, IWatermarkTypeEnum as _, IRenderManagerService as b } from "@univerjs/engine-render";
|
|
6
6
|
import { Subject as u } from "rxjs";
|
|
7
7
|
const H = ["image/png", "image/jpeg", "image/jpg", "image/bmp"], D = {
|
|
@@ -127,7 +127,7 @@ var K = Object.getOwnPropertyDescriptor, Y = (t, e, r, a) => {
|
|
|
127
127
|
}, f = (t, e) => (r, a) => e(r, a, t);
|
|
128
128
|
const V = "UNIVER_WATERMARK_PLUGIN";
|
|
129
129
|
var p;
|
|
130
|
-
let k = (p = class extends
|
|
130
|
+
let k = (p = class extends A {
|
|
131
131
|
constructor(t = C, e, r, a, i) {
|
|
132
132
|
super(), this._config = t, this._injector = e, this._configService = r, this._renderManagerSrv = a, this._localStorageService = i;
|
|
133
133
|
const { ...n } = m(
|
|
@@ -186,7 +186,7 @@ let k = (p = class extends M {
|
|
|
186
186
|
}, c(p, "pluginName", V), p);
|
|
187
187
|
k = Y([
|
|
188
188
|
f(1, g(x)),
|
|
189
|
-
f(2,
|
|
189
|
+
f(2, M),
|
|
190
190
|
f(3, b),
|
|
191
191
|
f(4, g(v))
|
|
192
192
|
], k);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/watermark",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3-insiders.20260131-b9b8805",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "univer watermark plugin",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -58,15 +58,15 @@
|
|
|
58
58
|
"rxjs": ">=7.0.0"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@univerjs/core": "0.15.
|
|
62
|
-
"@univerjs/engine-render": "0.15.
|
|
61
|
+
"@univerjs/core": "0.15.3-insiders.20260131-b9b8805",
|
|
62
|
+
"@univerjs/engine-render": "0.15.3-insiders.20260131-b9b8805"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"rxjs": "^7.8.2",
|
|
66
66
|
"typescript": "^5.9.3",
|
|
67
67
|
"vite": "^7.3.1",
|
|
68
|
-
"vitest": "^4.0.
|
|
69
|
-
"@univerjs-infra/shared": "0.15.
|
|
68
|
+
"vitest": "^4.0.18",
|
|
69
|
+
"@univerjs-infra/shared": "0.15.3"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"test": "vitest run",
|