@pixodesk/svg-animator-web 1.0.43 → 1.0.45
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/{PxAnimator-yjuSFhQw.d.cts → PxAnimator-BS-SZULN.d.cts} +10 -0
- package/dist/{PxAnimator-yjuSFhQw.d.ts → PxAnimator-BS-SZULN.d.ts} +10 -0
- package/dist/chunk-QE7KJWAN.js +6532 -0
- package/dist/chunk-QE7KJWAN.js.map +1 -0
- package/dist/chunk-RQ5KZXDT.min.js +1 -0
- package/dist/index.cjs +551 -293
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +58 -28
- package/dist/index.d.ts +58 -28
- package/dist/index.js +299 -6416
- 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 +293 -109
- 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 +293 -105
- 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 +51 -3
- package/dist/internal.d.ts +51 -3
- 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 +458 -184
- package/dist/pixodesk-svg-animator.umd.js.map +1 -1
- package/dist/pixodesk-svg-animator.umd.min.js +1 -1
- package/mangle-reserved.json +14 -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
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"animator",
|
|
19
19
|
"applied",
|
|
20
20
|
"ascent",
|
|
21
|
+
"attrs",
|
|
21
22
|
"autoOrient",
|
|
22
23
|
"autoplay",
|
|
23
24
|
"axis",
|
|
@@ -51,6 +52,7 @@
|
|
|
51
52
|
"delay",
|
|
52
53
|
"destroy",
|
|
53
54
|
"direction",
|
|
55
|
+
"dispose",
|
|
54
56
|
"distance",
|
|
55
57
|
"doc",
|
|
56
58
|
"domType",
|
|
@@ -71,7 +73,6 @@
|
|
|
71
73
|
"fillGradient",
|
|
72
74
|
"fillMode",
|
|
73
75
|
"finish",
|
|
74
|
-
"finishAction",
|
|
75
76
|
"flatnessTolerance",
|
|
76
77
|
"focal",
|
|
77
78
|
"fontFamily",
|
|
@@ -81,6 +82,7 @@
|
|
|
81
82
|
"fraction",
|
|
82
83
|
"frameRate",
|
|
83
84
|
"from",
|
|
85
|
+
"getAll",
|
|
84
86
|
"getCurrentProgress",
|
|
85
87
|
"getCurrentTime",
|
|
86
88
|
"getRootElement",
|
|
@@ -91,10 +93,12 @@
|
|
|
91
93
|
"i",
|
|
92
94
|
"id",
|
|
93
95
|
"idMap",
|
|
96
|
+
"index",
|
|
94
97
|
"inner",
|
|
95
98
|
"isConnected",
|
|
96
99
|
"isPlaying",
|
|
97
100
|
"isReady",
|
|
101
|
+
"isRoot",
|
|
98
102
|
"isRunning",
|
|
99
103
|
"isValid",
|
|
100
104
|
"item",
|
|
@@ -117,12 +121,15 @@
|
|
|
117
121
|
"method",
|
|
118
122
|
"mode",
|
|
119
123
|
"motionPath",
|
|
124
|
+
"mouseOut",
|
|
120
125
|
"muteError",
|
|
121
126
|
"muteWarn",
|
|
122
127
|
"nextId",
|
|
128
|
+
"node",
|
|
123
129
|
"note",
|
|
124
130
|
"now",
|
|
125
131
|
"o",
|
|
132
|
+
"offScreen",
|
|
126
133
|
"offset",
|
|
127
134
|
"ok",
|
|
128
135
|
"onCancel",
|
|
@@ -138,7 +145,6 @@
|
|
|
138
145
|
"openValue",
|
|
139
146
|
"optional",
|
|
140
147
|
"origin",
|
|
141
|
-
"outAction",
|
|
142
148
|
"pathD",
|
|
143
149
|
"pathData",
|
|
144
150
|
"pathOverflow",
|
|
@@ -164,6 +170,7 @@
|
|
|
164
170
|
"removed",
|
|
165
171
|
"repeatAt",
|
|
166
172
|
"repeater",
|
|
173
|
+
"requestStart",
|
|
167
174
|
"requiredKind",
|
|
168
175
|
"requiredVersion",
|
|
169
176
|
"resetOnFinish",
|
|
@@ -171,6 +178,7 @@
|
|
|
171
178
|
"resolved",
|
|
172
179
|
"retime",
|
|
173
180
|
"root",
|
|
181
|
+
"rootElement",
|
|
174
182
|
"rotate",
|
|
175
183
|
"rotateDeg",
|
|
176
184
|
"rotation",
|
|
@@ -179,7 +187,6 @@
|
|
|
179
187
|
"sanitize",
|
|
180
188
|
"scale",
|
|
181
189
|
"scroll",
|
|
182
|
-
"scrollIntoViewThreshold",
|
|
183
190
|
"seek",
|
|
184
191
|
"segmentCount",
|
|
185
192
|
"setAttribute",
|
|
@@ -195,7 +202,6 @@
|
|
|
195
202
|
"src",
|
|
196
203
|
"start",
|
|
197
204
|
"startOffset",
|
|
198
|
-
"startOn",
|
|
199
205
|
"startShift",
|
|
200
206
|
"steps",
|
|
201
207
|
"stop",
|
|
@@ -207,7 +213,9 @@
|
|
|
207
213
|
"style",
|
|
208
214
|
"subPaths",
|
|
209
215
|
"subject",
|
|
216
|
+
"subscribe",
|
|
210
217
|
"t",
|
|
218
|
+
"tag",
|
|
211
219
|
"tangentIn",
|
|
212
220
|
"tangentOut",
|
|
213
221
|
"target",
|
|
@@ -236,6 +244,8 @@
|
|
|
236
244
|
"version",
|
|
237
245
|
"view",
|
|
238
246
|
"viewBox",
|
|
247
|
+
"visibilityDebounce",
|
|
248
|
+
"visibilityThreshold",
|
|
239
249
|
"warn",
|
|
240
250
|
"warnings",
|
|
241
251
|
"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.45",
|
|
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.45"
|
|
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};
|