@pixodesk/svg-animator-web 1.0.43 → 1.0.44
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 +2 -2
- package/dist/chunk-AROHP6GD.min.js +1 -0
- package/dist/chunk-ZEMEZT7X.js +6468 -0
- package/dist/chunk-ZEMEZT7X.js.map +1 -0
- package/dist/index.cjs +284 -94
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -25
- package/dist/index.d.ts +55 -25
- package/dist/index.js +247 -6366
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.prerendered-waapi.umd.js +261 -79
- package/dist/index.prerendered-waapi.umd.js.map +1 -1
- package/dist/index.prerendered-waapi.umd.min.js +1 -1
- package/dist/index.prerendered.umd.js +259 -73
- package/dist/index.prerendered.umd.js.map +1 -1
- package/dist/index.prerendered.umd.min.js +1 -1
- package/dist/internal.cjs +1164 -2
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +50 -2
- package/dist/internal.d.ts +50 -2
- package/dist/internal.js +7 -3
- package/dist/internal.min.cjs +1 -1
- package/dist/internal.min.js +1 -1
- package/dist/pixodesk-svg-animator.umd.js +281 -93
- package/dist/pixodesk-svg-animator.umd.js.map +1 -1
- package/dist/pixodesk-svg-animator.umd.min.js +1 -1
- package/mangle-reserved.json +8 -4
- package/package.json +2 -2
- package/dist/chunk-BYDBNKO7.js +0 -42
- package/dist/chunk-BYDBNKO7.js.map +0 -1
- package/dist/chunk-RK3CEIRB.min.js +0 -1
package/mangle-reserved.json
CHANGED
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"delay",
|
|
52
52
|
"destroy",
|
|
53
53
|
"direction",
|
|
54
|
+
"dispose",
|
|
54
55
|
"distance",
|
|
55
56
|
"doc",
|
|
56
57
|
"domType",
|
|
@@ -71,7 +72,6 @@
|
|
|
71
72
|
"fillGradient",
|
|
72
73
|
"fillMode",
|
|
73
74
|
"finish",
|
|
74
|
-
"finishAction",
|
|
75
75
|
"flatnessTolerance",
|
|
76
76
|
"focal",
|
|
77
77
|
"fontFamily",
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"fraction",
|
|
82
82
|
"frameRate",
|
|
83
83
|
"from",
|
|
84
|
+
"getAll",
|
|
84
85
|
"getCurrentProgress",
|
|
85
86
|
"getCurrentTime",
|
|
86
87
|
"getRootElement",
|
|
@@ -117,12 +118,14 @@
|
|
|
117
118
|
"method",
|
|
118
119
|
"mode",
|
|
119
120
|
"motionPath",
|
|
121
|
+
"mouseOut",
|
|
120
122
|
"muteError",
|
|
121
123
|
"muteWarn",
|
|
122
124
|
"nextId",
|
|
123
125
|
"note",
|
|
124
126
|
"now",
|
|
125
127
|
"o",
|
|
128
|
+
"offScreen",
|
|
126
129
|
"offset",
|
|
127
130
|
"ok",
|
|
128
131
|
"onCancel",
|
|
@@ -138,7 +141,6 @@
|
|
|
138
141
|
"openValue",
|
|
139
142
|
"optional",
|
|
140
143
|
"origin",
|
|
141
|
-
"outAction",
|
|
142
144
|
"pathD",
|
|
143
145
|
"pathData",
|
|
144
146
|
"pathOverflow",
|
|
@@ -164,6 +166,7 @@
|
|
|
164
166
|
"removed",
|
|
165
167
|
"repeatAt",
|
|
166
168
|
"repeater",
|
|
169
|
+
"requestStart",
|
|
167
170
|
"requiredKind",
|
|
168
171
|
"requiredVersion",
|
|
169
172
|
"resetOnFinish",
|
|
@@ -179,7 +182,6 @@
|
|
|
179
182
|
"sanitize",
|
|
180
183
|
"scale",
|
|
181
184
|
"scroll",
|
|
182
|
-
"scrollIntoViewThreshold",
|
|
183
185
|
"seek",
|
|
184
186
|
"segmentCount",
|
|
185
187
|
"setAttribute",
|
|
@@ -195,7 +197,6 @@
|
|
|
195
197
|
"src",
|
|
196
198
|
"start",
|
|
197
199
|
"startOffset",
|
|
198
|
-
"startOn",
|
|
199
200
|
"startShift",
|
|
200
201
|
"steps",
|
|
201
202
|
"stop",
|
|
@@ -207,6 +208,7 @@
|
|
|
207
208
|
"style",
|
|
208
209
|
"subPaths",
|
|
209
210
|
"subject",
|
|
211
|
+
"subscribe",
|
|
210
212
|
"t",
|
|
211
213
|
"tangentIn",
|
|
212
214
|
"tangentOut",
|
|
@@ -236,6 +238,8 @@
|
|
|
236
238
|
"version",
|
|
237
239
|
"view",
|
|
238
240
|
"viewBox",
|
|
241
|
+
"visibilityDebounce",
|
|
242
|
+
"visibilityThreshold",
|
|
239
243
|
"warn",
|
|
240
244
|
"warnings",
|
|
241
245
|
"width",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixodesk/svg-animator-web",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.44",
|
|
4
4
|
"description": "Pixodesk SVG animator for web browsers",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"mangle-reserved.json"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@pixodesk/svg-animator-core": "^1.0.
|
|
36
|
+
"@pixodesk/svg-animator-core": "^1.0.44"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"eslint": "^9.0.0",
|
package/dist/chunk-BYDBNKO7.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
var __objRest = (source, exclude) => {
|
|
21
|
-
var target = {};
|
|
22
|
-
for (var prop in source)
|
|
23
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
24
|
-
target[prop] = source[prop];
|
|
25
|
-
if (source != null && __getOwnPropSymbols)
|
|
26
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
27
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
28
|
-
target[prop] = source[prop];
|
|
29
|
-
}
|
|
30
|
-
return target;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
// src/shared/PxAnimatorKeys.ts
|
|
34
|
-
var PX_ANIMATOR_DOC_KEY = "doc";
|
|
35
|
-
|
|
36
|
-
export {
|
|
37
|
-
__spreadValues,
|
|
38
|
-
__spreadProps,
|
|
39
|
-
__objRest,
|
|
40
|
-
PX_ANIMATOR_DOC_KEY
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=chunk-BYDBNKO7.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/shared/PxAnimatorKeys.ts"],"sourcesContent":["/*---------------------------------------------------------------------------------------\n * Copyright (c) Pixodesk LTD.\n * Licensed under the MIT License. See the LICENSE file in the project root for details.\n *---------------------------------------------------------------------------------------*/\n\n/**\n * Wire keys shared by every entry point.\n *\n * These live here rather than in `PxAnimator.ts` on purpose: that module used to end with a\n * top-level `if (typeof window !== 'undefined')` block publishing `createAnimator` /\n * `loadTagAnimators` as globals. A module-level side effect cannot be tree-shaken, so\n * importing ANY symbol from `PxAnimator.ts` pulled the entire full player in with it —\n * which silently made the pre-rendered builds the same size as the full one until this\n * constant was moved out. See dev-docs/plans/prerendered-player-builds.md.\n *\n * That block is gone (API review §4) and the package now declares `\"sideEffects\": false`, but\n * keeping these here costs nothing and removes the trap for good.\n */\n\n/**\n * Key under which `createAnimator` options carry the inline animation document. The editor\n * writes it into every exported SVG+JS — `createAnimator({\"doc\": …})` — so it is part of the\n * export format, which is why it is a named constant and not a literal.\n * @internal\n */\nexport const PX_ANIMATOR_DOC_KEY = 'doc';\n\n/** Key under which `createAnimator` options carry the per-instance `timeline` override. */\nexport const PX_ANIMATOR_TIMELINE_KEY = 'timeline';\n\n/** Key that makes the override start from the player's default timeline instead of the document's. */\nexport const PX_ANIMATOR_RESET_KEY = 'resetTimeline';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBO,IAAM,sBAAsB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,r=Object.defineProperties,t=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,n=(r,t,o)=>t in r?e(r,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[t]=o,c=(e,r)=>{for(var t in r||(r={}))a.call(r,t)&&n(e,t,r[t]);if(o)for(var t of o(r))l.call(r,t)&&n(e,t,r[t]);return e},f=(e,o)=>r(e,t(o)),i=(e,r)=>{var t={};for(var n in e)a.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&o)for(var n of o(e))r.indexOf(n)<0&&l.call(e,n)&&(t[n]=e[n]);return t},p="doc";export{c as __spreadValues,f as __spreadProps,i as __objRest,p as PX_ANIMATOR_DOC_KEY};
|