watermark-js-plus 1.6.2 → 1.6.3
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/es/src/utils/index.js +3 -3
- package/dist/ie/es/node_modules/core-js/internals/iterate.js +1 -1
- package/dist/ie/es/node_modules/core-js/internals/path.js +15 -0
- package/dist/ie/es/node_modules/core-js/internals/shared-store.js +2 -2
- package/dist/ie/es/node_modules/core-js/internals/uid.js +1 -1
- package/dist/ie/es/node_modules/core-js/modules/es.promise.constructor.js +4 -0
- package/dist/ie/es/src/utils/index.js +3 -3
- package/dist/ie/index.cjs.js +23 -8
- package/dist/ie/index.cjs.js.map +1 -1
- package/dist/ie/index.cjs.min.js +1 -1
- package/dist/ie/index.esm.js +23 -8
- package/dist/ie/index.esm.js.map +1 -1
- package/dist/ie/index.esm.min.js +1 -1
- package/dist/ie/index.iife.js +23 -8
- package/dist/ie/index.iife.js.map +1 -1
- package/dist/ie/index.iife.min.js +1 -1
- package/dist/ie/index.umd.js +23 -8
- package/dist/ie/index.umd.js.map +1 -1
- package/dist/ie/index.umd.min.js +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.iife.js +4 -4
- package/dist/index.iife.js.map +1 -1
- package/dist/index.iife.min.js +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/package.json +1 -1
|
@@ -186,11 +186,11 @@ var generateAnimationStyle = function (movable, backgroundRepeat) {
|
|
|
186
186
|
case 'repeat':
|
|
187
187
|
return 'animation: 200s linear 0s infinite alternate watermark !important;';
|
|
188
188
|
case 'repeat-x':
|
|
189
|
-
return "animation: ".concat(horizontalDuration, "s
|
|
189
|
+
return "animation: ".concat(horizontalDuration, "s linear 0s infinite alternate watermark-vertical !important;'");
|
|
190
190
|
case 'repeat-y':
|
|
191
|
-
return "animation: ".concat(verticalDuration, "s
|
|
191
|
+
return "animation: ".concat(verticalDuration, "s linear 0s infinite alternate watermark-horizontal !important;'");
|
|
192
192
|
case 'no-repeat':
|
|
193
|
-
return "animation: ".concat(horizontalDuration, "s
|
|
193
|
+
return "animation: ".concat(horizontalDuration, "s linear 0s infinite alternate watermark-horizontal, ").concat(verticalDuration, "s linear 0s infinite alternate watermark-vertical !important;");
|
|
194
194
|
default:
|
|
195
195
|
return '';
|
|
196
196
|
}
|
|
@@ -45,7 +45,7 @@ function requireIterate () {
|
|
|
45
45
|
var iterator, iterFn, index, length, result, next, step;
|
|
46
46
|
|
|
47
47
|
var stop = function (condition) {
|
|
48
|
-
if (iterator) iteratorClose(iterator, 'normal'
|
|
48
|
+
if (iterator) iteratorClose(iterator, 'normal');
|
|
49
49
|
return new Result(true, condition);
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { __require as requireGlobalThis } from './global-this.js';
|
|
2
|
+
|
|
3
|
+
var path;
|
|
4
|
+
var hasRequiredPath;
|
|
5
|
+
|
|
6
|
+
function requirePath () {
|
|
7
|
+
if (hasRequiredPath) return path;
|
|
8
|
+
hasRequiredPath = 1;
|
|
9
|
+
var globalThis = requireGlobalThis();
|
|
10
|
+
|
|
11
|
+
path = globalThis;
|
|
12
|
+
return path;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { requirePath as __require };
|
|
@@ -16,10 +16,10 @@ function requireSharedStore () {
|
|
|
16
16
|
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
17
17
|
|
|
18
18
|
(store.versions || (store.versions = [])).push({
|
|
19
|
-
version: '3.
|
|
19
|
+
version: '3.44.0',
|
|
20
20
|
mode: IS_PURE ? 'pure' : 'global',
|
|
21
21
|
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
22
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
22
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
|
|
23
23
|
source: 'https://github.com/zloirock/core-js'
|
|
24
24
|
});
|
|
25
25
|
return sharedStore.exports;
|
|
@@ -10,7 +10,7 @@ function requireUid () {
|
|
|
10
10
|
|
|
11
11
|
var id = 0;
|
|
12
12
|
var postfix = Math.random();
|
|
13
|
-
var toString = uncurryThis(1.
|
|
13
|
+
var toString = uncurryThis(1.1.toString);
|
|
14
14
|
|
|
15
15
|
uid = function (key) {
|
|
16
16
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
@@ -3,6 +3,7 @@ import { __require as require_export } from '../internals/export.js';
|
|
|
3
3
|
import { __require as requireIsPure } from '../internals/is-pure.js';
|
|
4
4
|
import { __require as requireEnvironmentIsNode } from '../internals/environment-is-node.js';
|
|
5
5
|
import { __require as requireGlobalThis } from '../internals/global-this.js';
|
|
6
|
+
import { __require as requirePath } from '../internals/path.js';
|
|
6
7
|
import { __require as requireFunctionCall } from '../internals/function-call.js';
|
|
7
8
|
import { __require as requireDefineBuiltIn } from '../internals/define-built-in.js';
|
|
8
9
|
import { __require as requireObjectSetPrototypeOf } from '../internals/object-set-prototype-of.js';
|
|
@@ -32,6 +33,7 @@ function requireEs_promise_constructor () {
|
|
|
32
33
|
var IS_PURE = requireIsPure();
|
|
33
34
|
var IS_NODE = requireEnvironmentIsNode();
|
|
34
35
|
var globalThis = requireGlobalThis();
|
|
36
|
+
var path = requirePath();
|
|
35
37
|
var call = requireFunctionCall();
|
|
36
38
|
var defineBuiltIn = requireDefineBuiltIn();
|
|
37
39
|
var setPrototypeOf = requireObjectSetPrototypeOf();
|
|
@@ -315,6 +317,8 @@ function requireEs_promise_constructor () {
|
|
|
315
317
|
Promise: PromiseConstructor
|
|
316
318
|
});
|
|
317
319
|
|
|
320
|
+
PromiseWrapper = path.Promise;
|
|
321
|
+
|
|
318
322
|
setToStringTag(PromiseConstructor, PROMISE, false, true);
|
|
319
323
|
setSpecies(PROMISE);
|
|
320
324
|
return es_promise_constructor;
|
|
@@ -186,11 +186,11 @@ var generateAnimationStyle = function (movable, backgroundRepeat) {
|
|
|
186
186
|
case 'repeat':
|
|
187
187
|
return 'animation: 200s linear 0s infinite alternate watermark !important;';
|
|
188
188
|
case 'repeat-x':
|
|
189
|
-
return "animation: ".concat(horizontalDuration, "s
|
|
189
|
+
return "animation: ".concat(horizontalDuration, "s linear 0s infinite alternate watermark-vertical !important;'");
|
|
190
190
|
case 'repeat-y':
|
|
191
|
-
return "animation: ".concat(verticalDuration, "s
|
|
191
|
+
return "animation: ".concat(verticalDuration, "s linear 0s infinite alternate watermark-horizontal !important;'");
|
|
192
192
|
case 'no-repeat':
|
|
193
|
-
return "animation: ".concat(horizontalDuration, "s
|
|
193
|
+
return "animation: ".concat(horizontalDuration, "s linear 0s infinite alternate watermark-horizontal, ").concat(verticalDuration, "s linear 0s infinite alternate watermark-vertical !important;");
|
|
194
194
|
default:
|
|
195
195
|
return '';
|
|
196
196
|
}
|
package/dist/ie/index.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* watermark-js-plus v1.6.
|
|
2
|
+
* watermark-js-plus v1.6.3
|
|
3
3
|
* (c) 2022-2024 Michael Sun
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -556,10 +556,10 @@ function requireSharedStore () {
|
|
|
556
556
|
var store = sharedStore.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
557
557
|
|
|
558
558
|
(store.versions || (store.versions = [])).push({
|
|
559
|
-
version: '3.
|
|
559
|
+
version: '3.44.0',
|
|
560
560
|
mode: IS_PURE ? 'pure' : 'global',
|
|
561
561
|
copyright: '© 2014-2025 Denis Pushkarev (zloirock.ru)',
|
|
562
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
562
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE',
|
|
563
563
|
source: 'https://github.com/zloirock/core-js'
|
|
564
564
|
});
|
|
565
565
|
return sharedStore.exports;
|
|
@@ -627,7 +627,7 @@ function requireUid () {
|
|
|
627
627
|
|
|
628
628
|
var id = 0;
|
|
629
629
|
var postfix = Math.random();
|
|
630
|
-
var toString = uncurryThis(1.
|
|
630
|
+
var toString = uncurryThis(1.1.toString);
|
|
631
631
|
|
|
632
632
|
uid = function (key) {
|
|
633
633
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
@@ -1992,6 +1992,18 @@ function requireEnvironmentIsNode () {
|
|
|
1992
1992
|
return environmentIsNode;
|
|
1993
1993
|
}
|
|
1994
1994
|
|
|
1995
|
+
var path;
|
|
1996
|
+
var hasRequiredPath;
|
|
1997
|
+
|
|
1998
|
+
function requirePath () {
|
|
1999
|
+
if (hasRequiredPath) return path;
|
|
2000
|
+
hasRequiredPath = 1;
|
|
2001
|
+
var globalThis = requireGlobalThis();
|
|
2002
|
+
|
|
2003
|
+
path = globalThis;
|
|
2004
|
+
return path;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
1995
2007
|
var functionUncurryThisAccessor;
|
|
1996
2008
|
var hasRequiredFunctionUncurryThisAccessor;
|
|
1997
2009
|
|
|
@@ -2700,6 +2712,7 @@ function requireEs_promise_constructor () {
|
|
|
2700
2712
|
var IS_PURE = requireIsPure();
|
|
2701
2713
|
var IS_NODE = requireEnvironmentIsNode();
|
|
2702
2714
|
var globalThis = requireGlobalThis();
|
|
2715
|
+
var path = requirePath();
|
|
2703
2716
|
var call = requireFunctionCall();
|
|
2704
2717
|
var defineBuiltIn = requireDefineBuiltIn();
|
|
2705
2718
|
var setPrototypeOf = requireObjectSetPrototypeOf();
|
|
@@ -2983,6 +2996,8 @@ function requireEs_promise_constructor () {
|
|
|
2983
2996
|
Promise: PromiseConstructor
|
|
2984
2997
|
});
|
|
2985
2998
|
|
|
2999
|
+
PromiseWrapper = path.Promise;
|
|
3000
|
+
|
|
2986
3001
|
setToStringTag(PromiseConstructor, PROMISE, false, true);
|
|
2987
3002
|
setSpecies(PROMISE);
|
|
2988
3003
|
return es_promise_constructor;
|
|
@@ -3026,7 +3041,7 @@ function requireIterate () {
|
|
|
3026
3041
|
var iterator, iterFn, index, length, result, next, step;
|
|
3027
3042
|
|
|
3028
3043
|
var stop = function (condition) {
|
|
3029
|
-
if (iterator) iteratorClose(iterator, 'normal'
|
|
3044
|
+
if (iterator) iteratorClose(iterator, 'normal');
|
|
3030
3045
|
return new Result(true, condition);
|
|
3031
3046
|
};
|
|
3032
3047
|
|
|
@@ -4489,11 +4504,11 @@ var generateAnimationStyle = function (movable, backgroundRepeat) {
|
|
|
4489
4504
|
case 'repeat':
|
|
4490
4505
|
return 'animation: 200s linear 0s infinite alternate watermark !important;';
|
|
4491
4506
|
case 'repeat-x':
|
|
4492
|
-
return "animation: ".concat(horizontalDuration, "s
|
|
4507
|
+
return "animation: ".concat(horizontalDuration, "s linear 0s infinite alternate watermark-vertical !important;'");
|
|
4493
4508
|
case 'repeat-y':
|
|
4494
|
-
return "animation: ".concat(verticalDuration, "s
|
|
4509
|
+
return "animation: ".concat(verticalDuration, "s linear 0s infinite alternate watermark-horizontal !important;'");
|
|
4495
4510
|
case 'no-repeat':
|
|
4496
|
-
return "animation: ".concat(horizontalDuration, "s
|
|
4511
|
+
return "animation: ".concat(horizontalDuration, "s linear 0s infinite alternate watermark-horizontal, ").concat(verticalDuration, "s linear 0s infinite alternate watermark-vertical !important;");
|
|
4497
4512
|
default:
|
|
4498
4513
|
return '';
|
|
4499
4514
|
}
|