@pixerate/editor 0.232.0 → 0.233.0
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/animation-editor/compile.d.cts +3 -0
- package/dist/animation-editor/compile.d.ts +3 -0
- package/dist/animation-editor/controller.d.cts +67 -2
- package/dist/animation-editor/controller.d.ts +67 -2
- package/dist/animation-editor/edit.d.cts +1 -1
- package/dist/animation-editor/edit.d.ts +1 -1
- package/dist/animation-editor/evaluate.d.cts +8 -1
- package/dist/animation-editor/evaluate.d.ts +8 -1
- package/dist/animation-editor/index.cjs +1202 -371
- package/dist/animation-editor/index.d.cts +3 -0
- package/dist/animation-editor/index.d.ts +3 -0
- package/dist/animation-editor/index.js +1032 -201
- package/dist/animation-editor/issues.d.cts +28 -0
- package/dist/animation-editor/issues.d.ts +28 -0
- package/dist/animation-editor/layer-edit.d.cts +55 -0
- package/dist/animation-editor/layer-edit.d.ts +55 -0
- package/dist/animation-editor/layer-tools.d.cts +11 -0
- package/dist/animation-editor/layer-tools.d.ts +11 -0
- package/dist/animation-editor/layers.d.cts +166 -0
- package/dist/animation-editor/layers.d.ts +166 -0
- package/dist/animation-editor/parse.d.cts +2 -0
- package/dist/animation-editor/parse.d.ts +2 -0
- package/dist/animation-editor/types.d.cts +44 -1
- package/dist/animation-editor/types.d.ts +44 -1
- package/dist/canvas/index.cjs +10 -10
- package/dist/canvas/index.js +4 -4
- package/dist/chunk-6RZVFYGJ.cjs +255 -0
- package/dist/{chunk-RG4O6K2A.cjs → chunk-A7PQNIBX.cjs} +14 -14
- package/dist/{chunk-ERJA5CGT.cjs → chunk-DGWOGQJ5.cjs} +8 -1
- package/dist/{chunk-TYCJGFCF.js → chunk-EUKY4KFX.js} +8 -1
- package/dist/chunk-I277KJLQ.js +255 -0
- package/dist/{chunk-2K5TELHV.cjs → chunk-JAOSL334.cjs} +10 -10
- package/dist/{chunk-MUSZYMBX.js → chunk-TEFQISBY.js} +1 -1
- package/dist/{chunk-6QLTUGMO.js → chunk-WDDUPWVG.js} +1 -1
- package/dist/{chunk-A653N65Q.cjs → chunk-ZQIWBJGH.cjs} +7 -7
- package/dist/effects/index.cjs +114 -322
- package/dist/effects/index.js +23 -231
- package/dist/image-editor/index.cjs +16 -16
- package/dist/image-editor/index.js +4 -4
- package/dist/paint-editor/index.cjs +10 -10
- package/dist/paint-editor/index.js +5 -5
- package/dist/vector/index.cjs +6 -6
- package/dist/vector/index.js +1 -1
- package/dist/video-editor/index.cjs +339 -339
- package/dist/video-editor/index.js +5 -5
- package/package.json +1 -1
- package/dist/{chunk-PQYDJ2AV.js → chunk-SIK3LT6M.js} +16 -16
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createEffectAuthoringSession
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-TEFQISBY.js";
|
|
4
4
|
import {
|
|
5
5
|
VIDEO_ADJUSTMENT_SCOPES,
|
|
6
6
|
VIDEO_BLEND_MODES,
|
|
@@ -149,11 +149,11 @@ import {
|
|
|
149
149
|
videoTransitionEase,
|
|
150
150
|
videoValueAt,
|
|
151
151
|
videoWipeRect
|
|
152
|
-
} from "../chunk-
|
|
153
|
-
import "../chunk-EHLOCVWB.js";
|
|
152
|
+
} from "../chunk-WDDUPWVG.js";
|
|
154
153
|
import {
|
|
155
154
|
namedWithSuggestion
|
|
156
|
-
} from "../chunk-
|
|
155
|
+
} from "../chunk-EUKY4KFX.js";
|
|
156
|
+
import "../chunk-EHLOCVWB.js";
|
|
157
157
|
import {
|
|
158
158
|
CAMERA_MOVE_MAX_MS,
|
|
159
159
|
EffectsSlot,
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
isEffectError,
|
|
164
164
|
resolveCameraMoveSpec,
|
|
165
165
|
sampleEffectCameraMove
|
|
166
|
-
} from "../chunk-
|
|
166
|
+
} from "../chunk-SIK3LT6M.js";
|
|
167
167
|
import "../chunk-V2ZCJRDM.js";
|
|
168
168
|
import {
|
|
169
169
|
defineEditorDocument
|
package/package.json
CHANGED
|
@@ -2,6 +2,15 @@ import {
|
|
|
2
2
|
validateJsonSchema
|
|
3
3
|
} from "./chunk-V2ZCJRDM.js";
|
|
4
4
|
|
|
5
|
+
// src/effects/types.ts
|
|
6
|
+
var EFFECT_KINDS = ["shader", "vector", "motion", "camera"];
|
|
7
|
+
var EFFECT_USES = ["filter", "transition", "generator", "overlay", "title", "motion", "interactive", "camera"];
|
|
8
|
+
var CAMERA_MOVE_ROLES = ["transition", "hold"];
|
|
9
|
+
var EFFECT_SUBJECT_KINDS = ["image", "video", "svg", "text", "slot"];
|
|
10
|
+
var EFFECT_LAYER_ROLES = ["background", "subject", "overlay"];
|
|
11
|
+
var EFFECT_TRANSITION_MS = 800;
|
|
12
|
+
var EFFECT_TEMPLATE_SLOT_TYPES = ["image", "video", "svg", "text", "color", "number"];
|
|
13
|
+
|
|
5
14
|
// src/effects/errors.ts
|
|
6
15
|
var EFFECT_ERROR_CODES = ["unknown_effect", "invalid_values", "unsupported", "disposed", "no_provider", "unknown_template"];
|
|
7
16
|
var EffectError = class extends Error {
|
|
@@ -281,15 +290,6 @@ function cameraBoxOfView(view, stage) {
|
|
|
281
290
|
return { x: -view.scrollX, y: -view.scrollY, width, height };
|
|
282
291
|
}
|
|
283
292
|
|
|
284
|
-
// src/effects/types.ts
|
|
285
|
-
var EFFECT_KINDS = ["shader", "vector", "motion", "camera"];
|
|
286
|
-
var EFFECT_USES = ["filter", "transition", "generator", "overlay", "title", "motion", "interactive", "camera"];
|
|
287
|
-
var CAMERA_MOVE_ROLES = ["transition", "hold"];
|
|
288
|
-
var EFFECT_SUBJECT_KINDS = ["image", "video", "svg", "text", "slot"];
|
|
289
|
-
var EFFECT_LAYER_ROLES = ["background", "subject", "overlay"];
|
|
290
|
-
var EFFECT_TRANSITION_MS = 800;
|
|
291
|
-
var EFFECT_TEMPLATE_SLOT_TYPES = ["image", "video", "svg", "text", "color", "number"];
|
|
292
|
-
|
|
293
293
|
// src/effects/tools.ts
|
|
294
294
|
var ANNOTATIONS = {
|
|
295
295
|
read: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
@@ -528,6 +528,13 @@ function createEffectToolProvider(host) {
|
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
export {
|
|
531
|
+
EFFECT_KINDS,
|
|
532
|
+
EFFECT_USES,
|
|
533
|
+
CAMERA_MOVE_ROLES,
|
|
534
|
+
EFFECT_SUBJECT_KINDS,
|
|
535
|
+
EFFECT_LAYER_ROLES,
|
|
536
|
+
EFFECT_TRANSITION_MS,
|
|
537
|
+
EFFECT_TEMPLATE_SLOT_TYPES,
|
|
531
538
|
EFFECT_ERROR_CODES,
|
|
532
539
|
EffectError,
|
|
533
540
|
UnknownEffectError,
|
|
@@ -562,12 +569,5 @@ export {
|
|
|
562
569
|
resolveCameraMoveSpec,
|
|
563
570
|
cameraViewOfBox,
|
|
564
571
|
cameraBoxOfView,
|
|
565
|
-
EFFECT_KINDS,
|
|
566
|
-
EFFECT_USES,
|
|
567
|
-
CAMERA_MOVE_ROLES,
|
|
568
|
-
EFFECT_SUBJECT_KINDS,
|
|
569
|
-
EFFECT_LAYER_ROLES,
|
|
570
|
-
EFFECT_TRANSITION_MS,
|
|
571
|
-
EFFECT_TEMPLATE_SLOT_TYPES,
|
|
572
572
|
createEffectToolProvider
|
|
573
573
|
};
|