@pixodesk/svg-animator-core 1.0.41 → 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 +1 -1
- package/dist/{PxDocumentDiagnostic-COGEjBbg.d.cts → PxDocumentDiagnostic-n8yiyL0k.d.cts} +259 -84
- package/dist/{PxDocumentDiagnostic-COGEjBbg.d.ts → PxDocumentDiagnostic-n8yiyL0k.d.ts} +259 -84
- package/dist/{chunk-L6GJ6Y2M.js → chunk-EFQLDGFY.js} +90 -38
- package/dist/chunk-EFQLDGFY.js.map +1 -0
- package/dist/chunk-YWBPS6E4.min.js +1 -0
- package/dist/index.cjs +115 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +44 -9
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.js +1 -1
- package/dist/internal.cjs +39 -29
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +1 -1
- package/dist/internal.min.cjs +1 -1
- package/dist/internal.min.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-7ZO7PQKZ.min.js +0 -1
- package/dist/chunk-L6GJ6Y2M.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PxAnimatedSvgDocument, a as PxEngineCallbacks, b as PxAnimatorApi, c as PxAnimatorConfig, d as
|
|
2
|
-
export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BASELINE_VERSION, i as PX_WIRE_STEPS, j as PX_WIRE_VERSION, k as PX_WIRE_VERSION_KEY, l as PxAlongPathMode, m as PxAnimatedSvgDocumentSchema, n as PxAnimationDefinition, o as PxAnimatorCallbacks, p as PxAnimatorConfigSchema, q as PxAnimatorHandle, r as PxAttrValueSchema, s as PxBezierPath, t as PxBezierPathSchema, u as PxBinding, v as PxClipPathEffectSchema, w as PxCloneEffectSchema, x as PxCloneWithout, y as PxControlMode, z as PxControlProps, A as PxDefinitions, B as PxDefinitionsSchema, C as PxDiagnostic, D as
|
|
1
|
+
import { P as PxAnimatedSvgDocument, a as PxEngineCallbacks, b as PxAnimatorApi, c as PxAnimatorConfig, d as PxTriggerStart, e as PxNode } from './PxDocumentDiagnostic-n8yiyL0k.cjs';
|
|
2
|
+
export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BASELINE_VERSION, i as PX_WIRE_STEPS, j as PX_WIRE_VERSION, k as PX_WIRE_VERSION_KEY, l as PxAlongPathMode, m as PxAnimatedSvgDocumentSchema, n as PxAnimationDefinition, o as PxAnimatorCallbacks, p as PxAnimatorConfigSchema, q as PxAnimatorHandle, r as PxAttrValueSchema, s as PxBezierPath, t as PxBezierPathSchema, u as PxBinding, v as PxClipPathEffectSchema, w as PxCloneEffectSchema, x as PxCloneWithout, y as PxControlMode, z as PxControlProps, A as PxDefinitions, B as PxDefinitionsSchema, C as PxDiagnostic, D as PxDiagnosticCode, E as PxDiagnosticKind, F as PxDiagnostics, G as PxDiagnosticsConfig, H as PxEffects, I as PxEffectsSchema, J as PxElementAnimation, K as PxElementAnimationSchema, L as PxFillGradientEffectSchema, M as PxFillMode, N as PxFinishAction, O as PxGlyph, Q as PxGlyphFont, R as PxGradientSpreadMethod, S as PxGradientStopSchema, T as PxGradientType, U as PxInfer, V as PxKeyframe, W as PxKeyframeSchema, X as PxKeyframeValueSchema, Y as PxLengthAdjust, Z as PxLoop, _ as PxLoopDirection, $ as PxLoopRepeatAt, a0 as PxLoopSchema, a1 as PxMaskType, a2 as PxMaskedByEffectSchema, a3 as PxMouseOutAction, a4 as PxNodeBaseSchema, a5 as PxNodeSchema, a6 as PxOffScreenAction, a7 as PxPathOverflow, a8 as PxPinAlign, a9 as PxPlaybackApi, aa as PxPlaybackDirection, ab as PxPropertyAnimation, ac as PxPropertyAnimationSchema, ad as PxRemoveIndex, ae as PxRepeaterEffectSchema, af as PxRetimeEffectSchema, ag as PxSchema, ah as PxSchemaDesc, ai as PxScroll, aj as PxScrollAxis, ak as PxScrollKind, al as PxScrollPhase, am as PxScrollRangePoint, an as PxScrollRangePointSchema, ao as PxScrollRangeSchema, ap as PxScrollSchema, aq as PxScrollSource, ar as PxStrokeTrimEffectSchema, as as PxStrokeTrimSubPaths, at as PxSvgNode, au as PxSvgNodeRootSchema, av as PxTextEffectSchema, aw as PxTextPathEffectSchema, ax as PxTextPathMethod, ay as PxTextPathSpacing, az as PxTimeline, aA as PxTimelineEngine, aB as PxTimelineEngineSetting, aC as PxTimelineSchema, aD as PxTransformByEffectSchema, aE as PxTransformParts, aF as PxTransformPartsSchema, aG as PxTransformValue, aH as PxTransformValueSchema, aI as PxTrigger, aJ as PxTriggerSchema, aK as PxUnits, aL as PxValidationContext, aM as PxVec2, aN as PxWireConversionOptions, aO as PxWireConversionResult, aP as PxWireStepKind, aQ as PxWireVersion, aR as PxWireVersionRelation, aS as PxWireVersionStep, aT as applyWireSteps, aU as calcAnimationValues, aV as compareWireVersion, aW as controlModeTakesOverTrigger, aX as convertWireDocument, aY as describeSchema, aZ as diagnoseDocument, a_ as downgradeWireDocument, a$ as flattenAnimatorTimeline, b0 as formatWireVersion, b1 as generateNewIds, b2 as getAnimatorConfig, b3 as getBindings, b4 as getChildren, b5 as getDefinitions, b6 as isNativeForced, b7 as isPxDocument, b8 as isValidPxDocument, b9 as materializeAllInTree, ba as mayUseNativeScrollTimeline, bb as nestAnimatorTimeline, bc as normalizeBindings, bd as parseWireVersion, be as px, bf as readWireVersion, bg as resolveControlMode, bh as resolveTimelineEngine, bi as resolveTrigger, bj as schemaKeys, bk as toDomProps, bl as validateDocument, bm as validateNodeEffects, bn as wireVersionAdvice } from './PxDocumentDiagnostic-n8yiyL0k.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* THE PLAYER'S WIRE SCHEMA VERSION — the `a.b` of `svgRoot.animator.version`.
|
|
@@ -15,7 +15,7 @@ export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BAS
|
|
|
15
15
|
* and every format change invisible between releases.
|
|
16
16
|
* @public @advanced
|
|
17
17
|
*/
|
|
18
|
-
declare const PX_WIRE_SCHEMA_VERSION = "1.
|
|
18
|
+
declare const PX_WIRE_SCHEMA_VERSION = "1.2";
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Platform adapter interface for abstracting platform-specific operations.
|
|
@@ -134,10 +134,10 @@ interface PxTimelineShortcuts {
|
|
|
134
134
|
/** Shortcut for `timeline.iterations`; `'infinite'` never stops. */
|
|
135
135
|
iterations?: number | 'infinite';
|
|
136
136
|
/**
|
|
137
|
-
* Shortcut for `timeline.trigger.
|
|
138
|
-
* `'
|
|
137
|
+
* Shortcut for `timeline.trigger.start`. Typed from the WIRE, so it includes
|
|
138
|
+
* `'none'` — "nothing starts this but a `play()` call".
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
start?: PxTriggerStart;
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
143
|
* The playback-override props every surface takes — `createAnimator` and the three components:
|
|
@@ -235,4 +235,4 @@ interface ApplyResult {
|
|
|
235
235
|
*/
|
|
236
236
|
declare function materializeNodeEffects(root: PxNode): ApplyResult;
|
|
237
237
|
|
|
238
|
-
export { PX_RATE_REJECTED, PX_WIRE_SCHEMA_VERSION, PxAnimatedSvgDocument, PxAnimatorApi, PxAnimatorConfig, type PxAnimatorConfigMergeResult, type PxAnimatorConfigPatch, PxEngineCallbacks, PxNode, type PxPlatformAdapter, type PxPlaybackOverride,
|
|
238
|
+
export { PX_RATE_REJECTED, PX_WIRE_SCHEMA_VERSION, PxAnimatedSvgDocument, PxAnimatorApi, PxAnimatorConfig, type PxAnimatorConfigMergeResult, type PxAnimatorConfigPatch, PxEngineCallbacks, PxNode, type PxPlatformAdapter, type PxPlaybackOverride, type PxTimelinePatch, type PxTimelineShortcuts, PxTriggerStart, applyAnimatorConfig, clampSeekMs, createAdapterAnimator, createRunClock, foldTimelineOverride, isValidPlaybackRate, materializeNodeEffects, mergeAnimatorConfig, progressSpanMs, progressToTimeMs, seekCeilingMs, timeToProgress };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as PxAnimatedSvgDocument, a as PxEngineCallbacks, b as PxAnimatorApi, c as PxAnimatorConfig, d as
|
|
2
|
-
export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BASELINE_VERSION, i as PX_WIRE_STEPS, j as PX_WIRE_VERSION, k as PX_WIRE_VERSION_KEY, l as PxAlongPathMode, m as PxAnimatedSvgDocumentSchema, n as PxAnimationDefinition, o as PxAnimatorCallbacks, p as PxAnimatorConfigSchema, q as PxAnimatorHandle, r as PxAttrValueSchema, s as PxBezierPath, t as PxBezierPathSchema, u as PxBinding, v as PxClipPathEffectSchema, w as PxCloneEffectSchema, x as PxCloneWithout, y as PxControlMode, z as PxControlProps, A as PxDefinitions, B as PxDefinitionsSchema, C as PxDiagnostic, D as
|
|
1
|
+
import { P as PxAnimatedSvgDocument, a as PxEngineCallbacks, b as PxAnimatorApi, c as PxAnimatorConfig, d as PxTriggerStart, e as PxNode } from './PxDocumentDiagnostic-n8yiyL0k.js';
|
|
2
|
+
export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BASELINE_VERSION, i as PX_WIRE_STEPS, j as PX_WIRE_VERSION, k as PX_WIRE_VERSION_KEY, l as PxAlongPathMode, m as PxAnimatedSvgDocumentSchema, n as PxAnimationDefinition, o as PxAnimatorCallbacks, p as PxAnimatorConfigSchema, q as PxAnimatorHandle, r as PxAttrValueSchema, s as PxBezierPath, t as PxBezierPathSchema, u as PxBinding, v as PxClipPathEffectSchema, w as PxCloneEffectSchema, x as PxCloneWithout, y as PxControlMode, z as PxControlProps, A as PxDefinitions, B as PxDefinitionsSchema, C as PxDiagnostic, D as PxDiagnosticCode, E as PxDiagnosticKind, F as PxDiagnostics, G as PxDiagnosticsConfig, H as PxEffects, I as PxEffectsSchema, J as PxElementAnimation, K as PxElementAnimationSchema, L as PxFillGradientEffectSchema, M as PxFillMode, N as PxFinishAction, O as PxGlyph, Q as PxGlyphFont, R as PxGradientSpreadMethod, S as PxGradientStopSchema, T as PxGradientType, U as PxInfer, V as PxKeyframe, W as PxKeyframeSchema, X as PxKeyframeValueSchema, Y as PxLengthAdjust, Z as PxLoop, _ as PxLoopDirection, $ as PxLoopRepeatAt, a0 as PxLoopSchema, a1 as PxMaskType, a2 as PxMaskedByEffectSchema, a3 as PxMouseOutAction, a4 as PxNodeBaseSchema, a5 as PxNodeSchema, a6 as PxOffScreenAction, a7 as PxPathOverflow, a8 as PxPinAlign, a9 as PxPlaybackApi, aa as PxPlaybackDirection, ab as PxPropertyAnimation, ac as PxPropertyAnimationSchema, ad as PxRemoveIndex, ae as PxRepeaterEffectSchema, af as PxRetimeEffectSchema, ag as PxSchema, ah as PxSchemaDesc, ai as PxScroll, aj as PxScrollAxis, ak as PxScrollKind, al as PxScrollPhase, am as PxScrollRangePoint, an as PxScrollRangePointSchema, ao as PxScrollRangeSchema, ap as PxScrollSchema, aq as PxScrollSource, ar as PxStrokeTrimEffectSchema, as as PxStrokeTrimSubPaths, at as PxSvgNode, au as PxSvgNodeRootSchema, av as PxTextEffectSchema, aw as PxTextPathEffectSchema, ax as PxTextPathMethod, ay as PxTextPathSpacing, az as PxTimeline, aA as PxTimelineEngine, aB as PxTimelineEngineSetting, aC as PxTimelineSchema, aD as PxTransformByEffectSchema, aE as PxTransformParts, aF as PxTransformPartsSchema, aG as PxTransformValue, aH as PxTransformValueSchema, aI as PxTrigger, aJ as PxTriggerSchema, aK as PxUnits, aL as PxValidationContext, aM as PxVec2, aN as PxWireConversionOptions, aO as PxWireConversionResult, aP as PxWireStepKind, aQ as PxWireVersion, aR as PxWireVersionRelation, aS as PxWireVersionStep, aT as applyWireSteps, aU as calcAnimationValues, aV as compareWireVersion, aW as controlModeTakesOverTrigger, aX as convertWireDocument, aY as describeSchema, aZ as diagnoseDocument, a_ as downgradeWireDocument, a$ as flattenAnimatorTimeline, b0 as formatWireVersion, b1 as generateNewIds, b2 as getAnimatorConfig, b3 as getBindings, b4 as getChildren, b5 as getDefinitions, b6 as isNativeForced, b7 as isPxDocument, b8 as isValidPxDocument, b9 as materializeAllInTree, ba as mayUseNativeScrollTimeline, bb as nestAnimatorTimeline, bc as normalizeBindings, bd as parseWireVersion, be as px, bf as readWireVersion, bg as resolveControlMode, bh as resolveTimelineEngine, bi as resolveTrigger, bj as schemaKeys, bk as toDomProps, bl as validateDocument, bm as validateNodeEffects, bn as wireVersionAdvice } from './PxDocumentDiagnostic-n8yiyL0k.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* THE PLAYER'S WIRE SCHEMA VERSION — the `a.b` of `svgRoot.animator.version`.
|
|
@@ -15,7 +15,7 @@ export { f as PX_TRANSFORM_PART_KEYS, g as PX_TRIGGER_DEFAULTS, h as PX_WIRE_BAS
|
|
|
15
15
|
* and every format change invisible between releases.
|
|
16
16
|
* @public @advanced
|
|
17
17
|
*/
|
|
18
|
-
declare const PX_WIRE_SCHEMA_VERSION = "1.
|
|
18
|
+
declare const PX_WIRE_SCHEMA_VERSION = "1.2";
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Platform adapter interface for abstracting platform-specific operations.
|
|
@@ -134,10 +134,10 @@ interface PxTimelineShortcuts {
|
|
|
134
134
|
/** Shortcut for `timeline.iterations`; `'infinite'` never stops. */
|
|
135
135
|
iterations?: number | 'infinite';
|
|
136
136
|
/**
|
|
137
|
-
* Shortcut for `timeline.trigger.
|
|
138
|
-
* `'
|
|
137
|
+
* Shortcut for `timeline.trigger.start`. Typed from the WIRE, so it includes
|
|
138
|
+
* `'none'` — "nothing starts this but a `play()` call".
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
start?: PxTriggerStart;
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
143
|
* The playback-override props every surface takes — `createAnimator` and the three components:
|
|
@@ -235,4 +235,4 @@ interface ApplyResult {
|
|
|
235
235
|
*/
|
|
236
236
|
declare function materializeNodeEffects(root: PxNode): ApplyResult;
|
|
237
237
|
|
|
238
|
-
export { PX_RATE_REJECTED, PX_WIRE_SCHEMA_VERSION, PxAnimatedSvgDocument, PxAnimatorApi, PxAnimatorConfig, type PxAnimatorConfigMergeResult, type PxAnimatorConfigPatch, PxEngineCallbacks, PxNode, type PxPlatformAdapter, type PxPlaybackOverride,
|
|
238
|
+
export { PX_RATE_REJECTED, PX_WIRE_SCHEMA_VERSION, PxAnimatedSvgDocument, PxAnimatorApi, PxAnimatorConfig, type PxAnimatorConfigMergeResult, type PxAnimatorConfigPatch, PxEngineCallbacks, PxNode, type PxPlatformAdapter, type PxPlaybackOverride, type PxTimelinePatch, type PxTimelineShortcuts, PxTriggerStart, applyAnimatorConfig, clampSeekMs, createAdapterAnimator, createRunClock, foldTimelineOverride, isValidPlaybackRate, materializeNodeEffects, mergeAnimatorConfig, progressSpanMs, progressToTimeMs, seekCeilingMs, timeToProgress };
|
package/dist/index.js
CHANGED
|
@@ -37,9 +37,10 @@ import {
|
|
|
37
37
|
PxLoopSchema,
|
|
38
38
|
PxMaskType,
|
|
39
39
|
PxMaskedByEffectSchema,
|
|
40
|
+
PxMouseOutAction,
|
|
40
41
|
PxNodeBaseSchema,
|
|
41
42
|
PxNodeSchema,
|
|
42
|
-
|
|
43
|
+
PxOffScreenAction,
|
|
43
44
|
PxPathOverflow,
|
|
44
45
|
PxPinAlign,
|
|
45
46
|
PxPlaybackDirection,
|
|
@@ -53,7 +54,6 @@ import {
|
|
|
53
54
|
PxScrollRangeSchema,
|
|
54
55
|
PxScrollSchema,
|
|
55
56
|
PxScrollSource,
|
|
56
|
-
PxStartOn,
|
|
57
57
|
PxStrokeTrimEffectSchema,
|
|
58
58
|
PxStrokeTrimSubPaths,
|
|
59
59
|
PxSvgNodeRootSchema,
|
|
@@ -68,6 +68,7 @@ import {
|
|
|
68
68
|
PxTransformPartsSchema,
|
|
69
69
|
PxTransformValueSchema,
|
|
70
70
|
PxTriggerSchema,
|
|
71
|
+
PxTriggerStart,
|
|
71
72
|
PxUnits,
|
|
72
73
|
PxWireStepKind,
|
|
73
74
|
PxWireVersionRelation,
|
|
@@ -135,7 +136,7 @@ import {
|
|
|
135
136
|
validateNodeEffects,
|
|
136
137
|
wireVersionAdvice,
|
|
137
138
|
writeAnimatableChannel
|
|
138
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-EFQLDGFY.js";
|
|
139
140
|
|
|
140
141
|
// src/effects/transform/transformationEffect.ts
|
|
141
142
|
function applyTransformByEffect(node, fx, ctx) {
|
|
@@ -2287,6 +2288,38 @@ function createAdapterAnimator(doc, adapter, callbacks) {
|
|
|
2287
2288
|
return api;
|
|
2288
2289
|
}
|
|
2289
2290
|
|
|
2291
|
+
// src/playback/PxDiagnosticCode.ts
|
|
2292
|
+
var PxDiagnosticCode = /* @__PURE__ */ ((PxDiagnosticCode2) => {
|
|
2293
|
+
PxDiagnosticCode2[PxDiagnosticCode2["buildFailed"] = 1001] = "buildFailed";
|
|
2294
|
+
PxDiagnosticCode2[PxDiagnosticCode2["invalidDocumentAtSrc"] = 1002] = "invalidDocumentAtSrc";
|
|
2295
|
+
PxDiagnosticCode2[PxDiagnosticCode2["loadFailed"] = 1003] = "loadFailed";
|
|
2296
|
+
PxDiagnosticCode2[PxDiagnosticCode2["animationBuildFailed"] = 1004] = "animationBuildFailed";
|
|
2297
|
+
PxDiagnosticCode2[PxDiagnosticCode2["effectsShape"] = 1101] = "effectsShape";
|
|
2298
|
+
PxDiagnosticCode2[PxDiagnosticCode2["timelineOverrideIgnored"] = 1102] = "timelineOverrideIgnored";
|
|
2299
|
+
PxDiagnosticCode2[PxDiagnosticCode2["blockedTag"] = 1103] = "blockedTag";
|
|
2300
|
+
PxDiagnosticCode2[PxDiagnosticCode2["unsupportedAnimatedAttrs"] = 1104] = "unsupportedAnimatedAttrs";
|
|
2301
|
+
PxDiagnosticCode2[PxDiagnosticCode2["noBindings"] = 1105] = "noBindings";
|
|
2302
|
+
PxDiagnosticCode2[PxDiagnosticCode2["unresolvedBinding"] = 1106] = "unresolvedBinding";
|
|
2303
|
+
PxDiagnosticCode2[PxDiagnosticCode2["triggersNoRoot"] = 1201] = "triggersNoRoot";
|
|
2304
|
+
PxDiagnosticCode2[PxDiagnosticCode2["noRootForSelector"] = 1202] = "noRootForSelector";
|
|
2305
|
+
PxDiagnosticCode2[PxDiagnosticCode2["noRootElement"] = 1203] = "noRootElement";
|
|
2306
|
+
PxDiagnosticCode2[PxDiagnosticCode2["noElementsForSelector"] = 1206] = "noElementsForSelector";
|
|
2307
|
+
PxDiagnosticCode2[PxDiagnosticCode2["setAttributeNoElement"] = 1207] = "setAttributeNoElement";
|
|
2308
|
+
PxDiagnosticCode2[PxDiagnosticCode2["scrollSmoothingNeedsOwnDriver"] = 1301] = "scrollSmoothingNeedsOwnDriver";
|
|
2309
|
+
PxDiagnosticCode2[PxDiagnosticCode2["scrollNativeUnavailable"] = 1302] = "scrollNativeUnavailable";
|
|
2310
|
+
PxDiagnosticCode2[PxDiagnosticCode2["scrollSubjectInvalid"] = 1303] = "scrollSubjectInvalid";
|
|
2311
|
+
PxDiagnosticCode2[PxDiagnosticCode2["scrollSubjectNoMatch"] = 1304] = "scrollSubjectNoMatch";
|
|
2312
|
+
PxDiagnosticCode2[PxDiagnosticCode2["scrollNoRootToObserve"] = 1305] = "scrollNoRootToObserve";
|
|
2313
|
+
PxDiagnosticCode2[PxDiagnosticCode2["scrollTriggerIgnored"] = 1306] = "scrollTriggerIgnored";
|
|
2314
|
+
PxDiagnosticCode2[PxDiagnosticCode2["rateRejected"] = 1401] = "rateRejected";
|
|
2315
|
+
PxDiagnosticCode2[PxDiagnosticCode2["controlPropsConflict"] = 1501] = "controlPropsConflict";
|
|
2316
|
+
PxDiagnosticCode2[PxDiagnosticCode2["rnCompileFailed"] = 1601] = "rnCompileFailed";
|
|
2317
|
+
PxDiagnosticCode2[PxDiagnosticCode2["rnRenderFailed"] = 1602] = "rnRenderFailed";
|
|
2318
|
+
PxDiagnosticCode2[PxDiagnosticCode2["rnBoundaryCaught"] = 1603] = "rnBoundaryCaught";
|
|
2319
|
+
PxDiagnosticCode2[PxDiagnosticCode2["rnUnsupported"] = 1604] = "rnUnsupported";
|
|
2320
|
+
return PxDiagnosticCode2;
|
|
2321
|
+
})(PxDiagnosticCode || {});
|
|
2322
|
+
|
|
2290
2323
|
// src/playback/PxAnimatorConfigPatch.ts
|
|
2291
2324
|
var FLAT_ONLY_KEYS = [
|
|
2292
2325
|
"timelineSource",
|
|
@@ -2362,16 +2395,16 @@ function foldTimelineOverride(timeline, shortcuts) {
|
|
|
2362
2395
|
} else {
|
|
2363
2396
|
base = timeline != null ? timeline : void 0;
|
|
2364
2397
|
}
|
|
2365
|
-
const { duration, delay, iterations,
|
|
2366
|
-
if (duration === void 0 && delay === void 0 && iterations === void 0 &&
|
|
2398
|
+
const { duration, delay, iterations, start } = shortcuts;
|
|
2399
|
+
if (duration === void 0 && delay === void 0 && iterations === void 0 && start === void 0) {
|
|
2367
2400
|
return base === void 0 ? void 0 : { timeline: base };
|
|
2368
2401
|
}
|
|
2369
2402
|
const out = isPlainObject(base) ? __spreadValues({}, base) : {};
|
|
2370
2403
|
if (duration !== void 0) out.duration = duration;
|
|
2371
2404
|
if (delay !== void 0) out.delay = delay;
|
|
2372
2405
|
if (iterations !== void 0) out.iterations = iterations;
|
|
2373
|
-
if (
|
|
2374
|
-
out.trigger = __spreadProps(__spreadValues({}, out.trigger), {
|
|
2406
|
+
if (start !== void 0) {
|
|
2407
|
+
out.trigger = __spreadProps(__spreadValues({}, out.trigger), { start });
|
|
2375
2408
|
}
|
|
2376
2409
|
return { timeline: out };
|
|
2377
2410
|
}
|
|
@@ -2457,6 +2490,7 @@ export {
|
|
|
2457
2490
|
PxCloneWithout,
|
|
2458
2491
|
PxControlMode,
|
|
2459
2492
|
PxDefinitionsSchema,
|
|
2493
|
+
PxDiagnosticCode,
|
|
2460
2494
|
PxDiagnosticKind,
|
|
2461
2495
|
PxEffectsSchema,
|
|
2462
2496
|
PxElementAnimationSchema,
|
|
@@ -2474,9 +2508,10 @@ export {
|
|
|
2474
2508
|
PxLoopSchema,
|
|
2475
2509
|
PxMaskType,
|
|
2476
2510
|
PxMaskedByEffectSchema,
|
|
2511
|
+
PxMouseOutAction,
|
|
2477
2512
|
PxNodeBaseSchema,
|
|
2478
2513
|
PxNodeSchema,
|
|
2479
|
-
|
|
2514
|
+
PxOffScreenAction,
|
|
2480
2515
|
PxPathOverflow,
|
|
2481
2516
|
PxPinAlign,
|
|
2482
2517
|
PxPlaybackDirection,
|
|
@@ -2490,7 +2525,6 @@ export {
|
|
|
2490
2525
|
PxScrollRangeSchema,
|
|
2491
2526
|
PxScrollSchema,
|
|
2492
2527
|
PxScrollSource,
|
|
2493
|
-
PxStartOn,
|
|
2494
2528
|
PxStrokeTrimEffectSchema,
|
|
2495
2529
|
PxStrokeTrimSubPaths,
|
|
2496
2530
|
PxSvgNodeRootSchema,
|
|
@@ -2505,6 +2539,7 @@ export {
|
|
|
2505
2539
|
PxTransformPartsSchema,
|
|
2506
2540
|
PxTransformValueSchema,
|
|
2507
2541
|
PxTriggerSchema,
|
|
2542
|
+
PxTriggerStart,
|
|
2508
2543
|
PxUnits,
|
|
2509
2544
|
PxWireStepKind,
|
|
2510
2545
|
PxWireVersionRelation,
|