@pixodesk/svg-animator-web 1.0.16 → 1.0.17
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/index.cjs +266 -77
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +65 -53
- package/dist/index.d.ts +65 -53
- package/dist/index.js +265 -76
- package/dist/index.js.map +1 -1
- package/dist/index.min.cjs +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.umd.js +265 -76
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1559,16 +1559,28 @@ declare const PxRetimeEffectSchema: PxSchema<{} & {
|
|
|
1559
1559
|
};
|
|
1560
1560
|
};
|
|
1561
1561
|
type PxRetimeEffect = PxInfer<typeof PxRetimeEffectSchema>;
|
|
1562
|
-
declare const
|
|
1563
|
-
baseId?: string | undefined;
|
|
1562
|
+
declare const PxCloneEffectSchema: PxSchema<{} & {
|
|
1564
1563
|
type?: string | undefined;
|
|
1564
|
+
baseId?: string | undefined;
|
|
1565
|
+
retime?: ({} & {
|
|
1566
|
+
baseId?: string | undefined;
|
|
1567
|
+
start?: number | undefined;
|
|
1568
|
+
stretch?: number | undefined;
|
|
1569
|
+
timeCrop?: [number, number] | undefined;
|
|
1570
|
+
}) | undefined;
|
|
1565
1571
|
}, false> & {
|
|
1566
1572
|
readonly _shape: {
|
|
1567
|
-
baseId: PxSchema<string | undefined, true>;
|
|
1568
1573
|
type: PxSchema<string | undefined, true>;
|
|
1574
|
+
baseId: PxSchema<string | undefined, true>;
|
|
1575
|
+
retime: PxSchema<({} & {
|
|
1576
|
+
baseId?: string | undefined;
|
|
1577
|
+
start?: number | undefined;
|
|
1578
|
+
stretch?: number | undefined;
|
|
1579
|
+
timeCrop?: [number, number] | undefined;
|
|
1580
|
+
}) | undefined, true>;
|
|
1569
1581
|
};
|
|
1570
1582
|
};
|
|
1571
|
-
type
|
|
1583
|
+
type PxCloneEffect = PxInfer<typeof PxCloneEffectSchema>;
|
|
1572
1584
|
/** Loose enums for `gradientUnits` / `spreadMethod` — kept on the wire as
|
|
1573
1585
|
* plain strings (matches the rest of the schema's loose-enum stance) but
|
|
1574
1586
|
* collected here so call sites use named constants instead of bare literals. */
|
|
@@ -2055,17 +2067,17 @@ declare const PxEffectsSchema: PxSchema<{} & {
|
|
|
2055
2067
|
}) | undefined;
|
|
2056
2068
|
trimAllAsOne?: boolean | undefined;
|
|
2057
2069
|
}) | undefined;
|
|
2058
|
-
|
|
2070
|
+
clone?: ({} & {
|
|
2071
|
+
type?: string | undefined;
|
|
2059
2072
|
baseId?: string | undefined;
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2073
|
+
retime?: ({} & {
|
|
2074
|
+
baseId?: string | undefined;
|
|
2075
|
+
start?: number | undefined;
|
|
2076
|
+
stretch?: number | undefined;
|
|
2077
|
+
timeCrop?: [number, number] | undefined;
|
|
2078
|
+
}) | undefined;
|
|
2063
2079
|
}) | undefined;
|
|
2064
2080
|
isCombinedShape?: boolean | undefined;
|
|
2065
|
-
ref?: ({} & {
|
|
2066
|
-
baseId?: string | undefined;
|
|
2067
|
-
type?: string | undefined;
|
|
2068
|
-
}) | undefined;
|
|
2069
2081
|
fillGradient?: ({
|
|
2070
2082
|
type: "linear" | "radial";
|
|
2071
2083
|
} & {
|
|
@@ -2406,17 +2418,17 @@ declare const PxEffectsSchema: PxSchema<{} & {
|
|
|
2406
2418
|
}) | undefined;
|
|
2407
2419
|
trimAllAsOne?: boolean | undefined;
|
|
2408
2420
|
}) | undefined, true>;
|
|
2409
|
-
|
|
2421
|
+
clone: PxSchema<({} & {
|
|
2422
|
+
type?: string | undefined;
|
|
2410
2423
|
baseId?: string | undefined;
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2424
|
+
retime?: ({} & {
|
|
2425
|
+
baseId?: string | undefined;
|
|
2426
|
+
start?: number | undefined;
|
|
2427
|
+
stretch?: number | undefined;
|
|
2428
|
+
timeCrop?: [number, number] | undefined;
|
|
2429
|
+
}) | undefined;
|
|
2414
2430
|
}) | undefined, true>;
|
|
2415
2431
|
isCombinedShape: PxSchema<boolean | undefined, true>;
|
|
2416
|
-
ref: PxSchema<({} & {
|
|
2417
|
-
baseId?: string | undefined;
|
|
2418
|
-
type?: string | undefined;
|
|
2419
|
-
}) | undefined, true>;
|
|
2420
2432
|
fillGradient: PxSchema<({
|
|
2421
2433
|
type: "linear" | "radial";
|
|
2422
2434
|
} & {
|
|
@@ -2782,17 +2794,17 @@ declare const PxNodeBase: PxSchema<{
|
|
|
2782
2794
|
}) | undefined;
|
|
2783
2795
|
trimAllAsOne?: boolean | undefined;
|
|
2784
2796
|
}) | undefined;
|
|
2785
|
-
|
|
2797
|
+
clone?: ({} & {
|
|
2798
|
+
type?: string | undefined;
|
|
2786
2799
|
baseId?: string | undefined;
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2800
|
+
retime?: ({} & {
|
|
2801
|
+
baseId?: string | undefined;
|
|
2802
|
+
start?: number | undefined;
|
|
2803
|
+
stretch?: number | undefined;
|
|
2804
|
+
timeCrop?: [number, number] | undefined;
|
|
2805
|
+
}) | undefined;
|
|
2790
2806
|
}) | undefined;
|
|
2791
2807
|
isCombinedShape?: boolean | undefined;
|
|
2792
|
-
ref?: ({} & {
|
|
2793
|
-
baseId?: string | undefined;
|
|
2794
|
-
type?: string | undefined;
|
|
2795
|
-
}) | undefined;
|
|
2796
2808
|
fillGradient?: ({
|
|
2797
2809
|
type: "linear" | "radial";
|
|
2798
2810
|
} & {
|
|
@@ -3208,17 +3220,17 @@ declare const PxNodeBase: PxSchema<{
|
|
|
3208
3220
|
}) | undefined;
|
|
3209
3221
|
trimAllAsOne?: boolean | undefined;
|
|
3210
3222
|
}) | undefined;
|
|
3211
|
-
|
|
3223
|
+
clone?: ({} & {
|
|
3224
|
+
type?: string | undefined;
|
|
3212
3225
|
baseId?: string | undefined;
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3226
|
+
retime?: ({} & {
|
|
3227
|
+
baseId?: string | undefined;
|
|
3228
|
+
start?: number | undefined;
|
|
3229
|
+
stretch?: number | undefined;
|
|
3230
|
+
timeCrop?: [number, number] | undefined;
|
|
3231
|
+
}) | undefined;
|
|
3216
3232
|
}) | undefined;
|
|
3217
3233
|
isCombinedShape?: boolean | undefined;
|
|
3218
|
-
ref?: ({} & {
|
|
3219
|
-
baseId?: string | undefined;
|
|
3220
|
-
type?: string | undefined;
|
|
3221
|
-
}) | undefined;
|
|
3222
3234
|
fillGradient?: ({
|
|
3223
3235
|
type: "linear" | "radial";
|
|
3224
3236
|
} & {
|
|
@@ -4045,17 +4057,17 @@ declare const PxAnimatedSvgDocumentSchema: PxSchema<{
|
|
|
4045
4057
|
}) | undefined;
|
|
4046
4058
|
trimAllAsOne?: boolean | undefined;
|
|
4047
4059
|
}) | undefined;
|
|
4048
|
-
|
|
4060
|
+
clone?: ({} & {
|
|
4061
|
+
type?: string | undefined;
|
|
4049
4062
|
baseId?: string | undefined;
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4063
|
+
retime?: ({} & {
|
|
4064
|
+
baseId?: string | undefined;
|
|
4065
|
+
start?: number | undefined;
|
|
4066
|
+
stretch?: number | undefined;
|
|
4067
|
+
timeCrop?: [number, number] | undefined;
|
|
4068
|
+
}) | undefined;
|
|
4053
4069
|
}) | undefined;
|
|
4054
4070
|
isCombinedShape?: boolean | undefined;
|
|
4055
|
-
ref?: ({} & {
|
|
4056
|
-
baseId?: string | undefined;
|
|
4057
|
-
type?: string | undefined;
|
|
4058
|
-
}) | undefined;
|
|
4059
4071
|
fillGradient?: ({
|
|
4060
4072
|
type: "linear" | "radial";
|
|
4061
4073
|
} & {
|
|
@@ -4596,17 +4608,17 @@ declare const PxAnimatedSvgDocumentSchema: PxSchema<{
|
|
|
4596
4608
|
}) | undefined;
|
|
4597
4609
|
trimAllAsOne?: boolean | undefined;
|
|
4598
4610
|
}) | undefined;
|
|
4599
|
-
|
|
4611
|
+
clone?: ({} & {
|
|
4612
|
+
type?: string | undefined;
|
|
4600
4613
|
baseId?: string | undefined;
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4614
|
+
retime?: ({} & {
|
|
4615
|
+
baseId?: string | undefined;
|
|
4616
|
+
start?: number | undefined;
|
|
4617
|
+
stretch?: number | undefined;
|
|
4618
|
+
timeCrop?: [number, number] | undefined;
|
|
4619
|
+
}) | undefined;
|
|
4604
4620
|
}) | undefined;
|
|
4605
4621
|
isCombinedShape?: boolean | undefined;
|
|
4606
|
-
ref?: ({} & {
|
|
4607
|
-
baseId?: string | undefined;
|
|
4608
|
-
type?: string | undefined;
|
|
4609
|
-
}) | undefined;
|
|
4610
4622
|
fillGradient?: ({
|
|
4611
4623
|
type: "linear" | "radial";
|
|
4612
4624
|
} & {
|
|
@@ -5170,4 +5182,4 @@ interface EffectDiff {
|
|
|
5170
5182
|
*/
|
|
5171
5183
|
declare function diffInEffect(a: VmNode, b: VmNode): Array<EffectDiff>;
|
|
5172
5184
|
|
|
5173
|
-
export { type ApplyResult, COLOUR_ATTR_NAMES, type FillMode, type JsMode, type KeysMatch, type MaterialiseAllOptions, type MotionPathMaterialisationOptions, type MotionPathSample, type OutAction, PX_ANIMATOR_DATA_KEY, PX_ANIM_ATTR_NAME, PX_ANIM_SRC_ATTR_NAME, PX_TRANSFORM_PART_KEYS, type PlaybackDirection, type PxAnimatable, type PxAnimatedSvgDocument, PxAnimatedSvgDocumentSchema, type PxAnimationDefinition, PxAnimationDefinitionSchema, type PxAnimatorAPI, type PxAnimatorCallbacksConfig, type PxAnimatorConfig, PxAnimatorConfigSchema, PxAnimatorEngine, PxAnimatorMode, type PxAnimatorOptions, type PxAttrValue, PxAttrValueSchema, type PxBezierPath, PxBezierPathSchema, type PxBinding, PxBindingSchema, type PxDefs, PxDefsSchema, PxEasingOrRefSchema, type PxEffects, PxEffectsSchema, type PxElementAnimation, PxElementAnimationSchema, type PxFillGradientEffect, PxFillGradientEffectSchema, PxGradientSpreadMethod, type PxGradientStop, PxGradientStopSchema, PxGradientType, PxGradientUnits, type PxInfer, type PxKeyframe, PxKeyframeSchema, PxLoopSchema, type PxMaskedByEffect, PxMaskedByEffectSchema, type PxNode, PxNodeBase, PxNodeSchema, type PxPlatformAdapter, type PxPropertyAnimation, PxPropertyAnimationSchema, type
|
|
5185
|
+
export { type ApplyResult, COLOUR_ATTR_NAMES, type FillMode, type JsMode, type KeysMatch, type MaterialiseAllOptions, type MotionPathMaterialisationOptions, type MotionPathSample, type OutAction, PX_ANIMATOR_DATA_KEY, PX_ANIM_ATTR_NAME, PX_ANIM_SRC_ATTR_NAME, PX_TRANSFORM_PART_KEYS, type PlaybackDirection, type PxAnimatable, type PxAnimatedSvgDocument, PxAnimatedSvgDocumentSchema, type PxAnimationDefinition, PxAnimationDefinitionSchema, type PxAnimatorAPI, type PxAnimatorCallbacksConfig, type PxAnimatorConfig, PxAnimatorConfigSchema, PxAnimatorEngine, PxAnimatorMode, type PxAnimatorOptions, type PxAttrValue, PxAttrValueSchema, type PxBezierPath, PxBezierPathSchema, type PxBinding, PxBindingSchema, type PxCloneEffect, PxCloneEffectSchema, type PxDefs, PxDefsSchema, PxEasingOrRefSchema, type PxEffects, PxEffectsSchema, type PxElementAnimation, PxElementAnimationSchema, type PxFillGradientEffect, PxFillGradientEffectSchema, PxGradientSpreadMethod, type PxGradientStop, PxGradientStopSchema, PxGradientType, PxGradientUnits, type PxInfer, type PxKeyframe, PxKeyframeSchema, PxLoopSchema, type PxMaskedByEffect, PxMaskedByEffectSchema, type PxNode, PxNodeBase, PxNodeSchema, type PxPlatformAdapter, type PxPropertyAnimation, PxPropertyAnimationSchema, type PxRepeaterEffect, PxRepeaterEffectSchema, type PxRetimeEffect, PxRetimeEffectSchema, type PxSchema, type PxSchemaDesc, type PxStrokeGradientEffect, PxStrokeGradientEffectSchema, type PxSvgNode, PxSvgNodeExtra, type PxTextAlongPathEffect, PxTextAlongPathEffectSchema, type PxTransformPartKey, type PxTransformParts, PxTransformPartsSchema, type PxTransformValue, PxTransformValueSchema, type PxTransformationEffect, PxTransformationEffectSchema, type PxTrigger, PxTriggerSchema, type PxTrimPathEffect, PxTrimPathEffectSchema, type PxValidationContext, type PxValidationResult, type RemoveIndex, STYLE_ATTR_NAMES, type StartOn, TRANSFORM_FN_NAMES, type Vec2, applyPlayerEffects, calcAnimationValues, camelCaseToKebabWordIfNeeded, collectSampleTimes, createAnimator, createAnimatorImpl, createBasicFrameLoopAnimator, createFrameLoopAnimator, createWebApiAnimator, describeSchema, diffInEffect, evaluateMotionPathSegment, generateNewIds, getAnimatorConfig, getBindings, getChildren, getDefs, getNormalizedProps, isPxElementFileFormat, isPxElementFileFormatDeep, loadTagAnimators, materialiseAllInTree, materialiseAnimatedUseInstances, materialiseInternalLoopsInPropAnim, materialiseInternalLoopsInTree, materialiseMotionPathInPropAnim, materialiseMotionPathsInTree, getNormalisedBindings as normalizeDocument, propAnimIsMotionPath, px, renderNode, schemaKeys, setupAnimationTriggers, toRGBA, validateNodeEffects, visualModelAt };
|
package/dist/index.d.ts
CHANGED
|
@@ -1559,16 +1559,28 @@ declare const PxRetimeEffectSchema: PxSchema<{} & {
|
|
|
1559
1559
|
};
|
|
1560
1560
|
};
|
|
1561
1561
|
type PxRetimeEffect = PxInfer<typeof PxRetimeEffectSchema>;
|
|
1562
|
-
declare const
|
|
1563
|
-
baseId?: string | undefined;
|
|
1562
|
+
declare const PxCloneEffectSchema: PxSchema<{} & {
|
|
1564
1563
|
type?: string | undefined;
|
|
1564
|
+
baseId?: string | undefined;
|
|
1565
|
+
retime?: ({} & {
|
|
1566
|
+
baseId?: string | undefined;
|
|
1567
|
+
start?: number | undefined;
|
|
1568
|
+
stretch?: number | undefined;
|
|
1569
|
+
timeCrop?: [number, number] | undefined;
|
|
1570
|
+
}) | undefined;
|
|
1565
1571
|
}, false> & {
|
|
1566
1572
|
readonly _shape: {
|
|
1567
|
-
baseId: PxSchema<string | undefined, true>;
|
|
1568
1573
|
type: PxSchema<string | undefined, true>;
|
|
1574
|
+
baseId: PxSchema<string | undefined, true>;
|
|
1575
|
+
retime: PxSchema<({} & {
|
|
1576
|
+
baseId?: string | undefined;
|
|
1577
|
+
start?: number | undefined;
|
|
1578
|
+
stretch?: number | undefined;
|
|
1579
|
+
timeCrop?: [number, number] | undefined;
|
|
1580
|
+
}) | undefined, true>;
|
|
1569
1581
|
};
|
|
1570
1582
|
};
|
|
1571
|
-
type
|
|
1583
|
+
type PxCloneEffect = PxInfer<typeof PxCloneEffectSchema>;
|
|
1572
1584
|
/** Loose enums for `gradientUnits` / `spreadMethod` — kept on the wire as
|
|
1573
1585
|
* plain strings (matches the rest of the schema's loose-enum stance) but
|
|
1574
1586
|
* collected here so call sites use named constants instead of bare literals. */
|
|
@@ -2055,17 +2067,17 @@ declare const PxEffectsSchema: PxSchema<{} & {
|
|
|
2055
2067
|
}) | undefined;
|
|
2056
2068
|
trimAllAsOne?: boolean | undefined;
|
|
2057
2069
|
}) | undefined;
|
|
2058
|
-
|
|
2070
|
+
clone?: ({} & {
|
|
2071
|
+
type?: string | undefined;
|
|
2059
2072
|
baseId?: string | undefined;
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2073
|
+
retime?: ({} & {
|
|
2074
|
+
baseId?: string | undefined;
|
|
2075
|
+
start?: number | undefined;
|
|
2076
|
+
stretch?: number | undefined;
|
|
2077
|
+
timeCrop?: [number, number] | undefined;
|
|
2078
|
+
}) | undefined;
|
|
2063
2079
|
}) | undefined;
|
|
2064
2080
|
isCombinedShape?: boolean | undefined;
|
|
2065
|
-
ref?: ({} & {
|
|
2066
|
-
baseId?: string | undefined;
|
|
2067
|
-
type?: string | undefined;
|
|
2068
|
-
}) | undefined;
|
|
2069
2081
|
fillGradient?: ({
|
|
2070
2082
|
type: "linear" | "radial";
|
|
2071
2083
|
} & {
|
|
@@ -2406,17 +2418,17 @@ declare const PxEffectsSchema: PxSchema<{} & {
|
|
|
2406
2418
|
}) | undefined;
|
|
2407
2419
|
trimAllAsOne?: boolean | undefined;
|
|
2408
2420
|
}) | undefined, true>;
|
|
2409
|
-
|
|
2421
|
+
clone: PxSchema<({} & {
|
|
2422
|
+
type?: string | undefined;
|
|
2410
2423
|
baseId?: string | undefined;
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2424
|
+
retime?: ({} & {
|
|
2425
|
+
baseId?: string | undefined;
|
|
2426
|
+
start?: number | undefined;
|
|
2427
|
+
stretch?: number | undefined;
|
|
2428
|
+
timeCrop?: [number, number] | undefined;
|
|
2429
|
+
}) | undefined;
|
|
2414
2430
|
}) | undefined, true>;
|
|
2415
2431
|
isCombinedShape: PxSchema<boolean | undefined, true>;
|
|
2416
|
-
ref: PxSchema<({} & {
|
|
2417
|
-
baseId?: string | undefined;
|
|
2418
|
-
type?: string | undefined;
|
|
2419
|
-
}) | undefined, true>;
|
|
2420
2432
|
fillGradient: PxSchema<({
|
|
2421
2433
|
type: "linear" | "radial";
|
|
2422
2434
|
} & {
|
|
@@ -2782,17 +2794,17 @@ declare const PxNodeBase: PxSchema<{
|
|
|
2782
2794
|
}) | undefined;
|
|
2783
2795
|
trimAllAsOne?: boolean | undefined;
|
|
2784
2796
|
}) | undefined;
|
|
2785
|
-
|
|
2797
|
+
clone?: ({} & {
|
|
2798
|
+
type?: string | undefined;
|
|
2786
2799
|
baseId?: string | undefined;
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2800
|
+
retime?: ({} & {
|
|
2801
|
+
baseId?: string | undefined;
|
|
2802
|
+
start?: number | undefined;
|
|
2803
|
+
stretch?: number | undefined;
|
|
2804
|
+
timeCrop?: [number, number] | undefined;
|
|
2805
|
+
}) | undefined;
|
|
2790
2806
|
}) | undefined;
|
|
2791
2807
|
isCombinedShape?: boolean | undefined;
|
|
2792
|
-
ref?: ({} & {
|
|
2793
|
-
baseId?: string | undefined;
|
|
2794
|
-
type?: string | undefined;
|
|
2795
|
-
}) | undefined;
|
|
2796
2808
|
fillGradient?: ({
|
|
2797
2809
|
type: "linear" | "radial";
|
|
2798
2810
|
} & {
|
|
@@ -3208,17 +3220,17 @@ declare const PxNodeBase: PxSchema<{
|
|
|
3208
3220
|
}) | undefined;
|
|
3209
3221
|
trimAllAsOne?: boolean | undefined;
|
|
3210
3222
|
}) | undefined;
|
|
3211
|
-
|
|
3223
|
+
clone?: ({} & {
|
|
3224
|
+
type?: string | undefined;
|
|
3212
3225
|
baseId?: string | undefined;
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3226
|
+
retime?: ({} & {
|
|
3227
|
+
baseId?: string | undefined;
|
|
3228
|
+
start?: number | undefined;
|
|
3229
|
+
stretch?: number | undefined;
|
|
3230
|
+
timeCrop?: [number, number] | undefined;
|
|
3231
|
+
}) | undefined;
|
|
3216
3232
|
}) | undefined;
|
|
3217
3233
|
isCombinedShape?: boolean | undefined;
|
|
3218
|
-
ref?: ({} & {
|
|
3219
|
-
baseId?: string | undefined;
|
|
3220
|
-
type?: string | undefined;
|
|
3221
|
-
}) | undefined;
|
|
3222
3234
|
fillGradient?: ({
|
|
3223
3235
|
type: "linear" | "radial";
|
|
3224
3236
|
} & {
|
|
@@ -4045,17 +4057,17 @@ declare const PxAnimatedSvgDocumentSchema: PxSchema<{
|
|
|
4045
4057
|
}) | undefined;
|
|
4046
4058
|
trimAllAsOne?: boolean | undefined;
|
|
4047
4059
|
}) | undefined;
|
|
4048
|
-
|
|
4060
|
+
clone?: ({} & {
|
|
4061
|
+
type?: string | undefined;
|
|
4049
4062
|
baseId?: string | undefined;
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4063
|
+
retime?: ({} & {
|
|
4064
|
+
baseId?: string | undefined;
|
|
4065
|
+
start?: number | undefined;
|
|
4066
|
+
stretch?: number | undefined;
|
|
4067
|
+
timeCrop?: [number, number] | undefined;
|
|
4068
|
+
}) | undefined;
|
|
4053
4069
|
}) | undefined;
|
|
4054
4070
|
isCombinedShape?: boolean | undefined;
|
|
4055
|
-
ref?: ({} & {
|
|
4056
|
-
baseId?: string | undefined;
|
|
4057
|
-
type?: string | undefined;
|
|
4058
|
-
}) | undefined;
|
|
4059
4071
|
fillGradient?: ({
|
|
4060
4072
|
type: "linear" | "radial";
|
|
4061
4073
|
} & {
|
|
@@ -4596,17 +4608,17 @@ declare const PxAnimatedSvgDocumentSchema: PxSchema<{
|
|
|
4596
4608
|
}) | undefined;
|
|
4597
4609
|
trimAllAsOne?: boolean | undefined;
|
|
4598
4610
|
}) | undefined;
|
|
4599
|
-
|
|
4611
|
+
clone?: ({} & {
|
|
4612
|
+
type?: string | undefined;
|
|
4600
4613
|
baseId?: string | undefined;
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4614
|
+
retime?: ({} & {
|
|
4615
|
+
baseId?: string | undefined;
|
|
4616
|
+
start?: number | undefined;
|
|
4617
|
+
stretch?: number | undefined;
|
|
4618
|
+
timeCrop?: [number, number] | undefined;
|
|
4619
|
+
}) | undefined;
|
|
4604
4620
|
}) | undefined;
|
|
4605
4621
|
isCombinedShape?: boolean | undefined;
|
|
4606
|
-
ref?: ({} & {
|
|
4607
|
-
baseId?: string | undefined;
|
|
4608
|
-
type?: string | undefined;
|
|
4609
|
-
}) | undefined;
|
|
4610
4622
|
fillGradient?: ({
|
|
4611
4623
|
type: "linear" | "radial";
|
|
4612
4624
|
} & {
|
|
@@ -5170,4 +5182,4 @@ interface EffectDiff {
|
|
|
5170
5182
|
*/
|
|
5171
5183
|
declare function diffInEffect(a: VmNode, b: VmNode): Array<EffectDiff>;
|
|
5172
5184
|
|
|
5173
|
-
export { type ApplyResult, COLOUR_ATTR_NAMES, type FillMode, type JsMode, type KeysMatch, type MaterialiseAllOptions, type MotionPathMaterialisationOptions, type MotionPathSample, type OutAction, PX_ANIMATOR_DATA_KEY, PX_ANIM_ATTR_NAME, PX_ANIM_SRC_ATTR_NAME, PX_TRANSFORM_PART_KEYS, type PlaybackDirection, type PxAnimatable, type PxAnimatedSvgDocument, PxAnimatedSvgDocumentSchema, type PxAnimationDefinition, PxAnimationDefinitionSchema, type PxAnimatorAPI, type PxAnimatorCallbacksConfig, type PxAnimatorConfig, PxAnimatorConfigSchema, PxAnimatorEngine, PxAnimatorMode, type PxAnimatorOptions, type PxAttrValue, PxAttrValueSchema, type PxBezierPath, PxBezierPathSchema, type PxBinding, PxBindingSchema, type PxDefs, PxDefsSchema, PxEasingOrRefSchema, type PxEffects, PxEffectsSchema, type PxElementAnimation, PxElementAnimationSchema, type PxFillGradientEffect, PxFillGradientEffectSchema, PxGradientSpreadMethod, type PxGradientStop, PxGradientStopSchema, PxGradientType, PxGradientUnits, type PxInfer, type PxKeyframe, PxKeyframeSchema, PxLoopSchema, type PxMaskedByEffect, PxMaskedByEffectSchema, type PxNode, PxNodeBase, PxNodeSchema, type PxPlatformAdapter, type PxPropertyAnimation, PxPropertyAnimationSchema, type
|
|
5185
|
+
export { type ApplyResult, COLOUR_ATTR_NAMES, type FillMode, type JsMode, type KeysMatch, type MaterialiseAllOptions, type MotionPathMaterialisationOptions, type MotionPathSample, type OutAction, PX_ANIMATOR_DATA_KEY, PX_ANIM_ATTR_NAME, PX_ANIM_SRC_ATTR_NAME, PX_TRANSFORM_PART_KEYS, type PlaybackDirection, type PxAnimatable, type PxAnimatedSvgDocument, PxAnimatedSvgDocumentSchema, type PxAnimationDefinition, PxAnimationDefinitionSchema, type PxAnimatorAPI, type PxAnimatorCallbacksConfig, type PxAnimatorConfig, PxAnimatorConfigSchema, PxAnimatorEngine, PxAnimatorMode, type PxAnimatorOptions, type PxAttrValue, PxAttrValueSchema, type PxBezierPath, PxBezierPathSchema, type PxBinding, PxBindingSchema, type PxCloneEffect, PxCloneEffectSchema, type PxDefs, PxDefsSchema, PxEasingOrRefSchema, type PxEffects, PxEffectsSchema, type PxElementAnimation, PxElementAnimationSchema, type PxFillGradientEffect, PxFillGradientEffectSchema, PxGradientSpreadMethod, type PxGradientStop, PxGradientStopSchema, PxGradientType, PxGradientUnits, type PxInfer, type PxKeyframe, PxKeyframeSchema, PxLoopSchema, type PxMaskedByEffect, PxMaskedByEffectSchema, type PxNode, PxNodeBase, PxNodeSchema, type PxPlatformAdapter, type PxPropertyAnimation, PxPropertyAnimationSchema, type PxRepeaterEffect, PxRepeaterEffectSchema, type PxRetimeEffect, PxRetimeEffectSchema, type PxSchema, type PxSchemaDesc, type PxStrokeGradientEffect, PxStrokeGradientEffectSchema, type PxSvgNode, PxSvgNodeExtra, type PxTextAlongPathEffect, PxTextAlongPathEffectSchema, type PxTransformPartKey, type PxTransformParts, PxTransformPartsSchema, type PxTransformValue, PxTransformValueSchema, type PxTransformationEffect, PxTransformationEffectSchema, type PxTrigger, PxTriggerSchema, type PxTrimPathEffect, PxTrimPathEffectSchema, type PxValidationContext, type PxValidationResult, type RemoveIndex, STYLE_ATTR_NAMES, type StartOn, TRANSFORM_FN_NAMES, type Vec2, applyPlayerEffects, calcAnimationValues, camelCaseToKebabWordIfNeeded, collectSampleTimes, createAnimator, createAnimatorImpl, createBasicFrameLoopAnimator, createFrameLoopAnimator, createWebApiAnimator, describeSchema, diffInEffect, evaluateMotionPathSegment, generateNewIds, getAnimatorConfig, getBindings, getChildren, getDefs, getNormalizedProps, isPxElementFileFormat, isPxElementFileFormatDeep, loadTagAnimators, materialiseAllInTree, materialiseAnimatedUseInstances, materialiseInternalLoopsInPropAnim, materialiseInternalLoopsInTree, materialiseMotionPathInPropAnim, materialiseMotionPathsInTree, getNormalisedBindings as normalizeDocument, propAnimIsMotionPath, px, renderNode, schemaKeys, setupAnimationTriggers, toRGBA, validateNodeEffects, visualModelAt };
|