@codingfactory/mediables-vue 2.19.2 → 2.20.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/{PixiFrameExporter-CRe8z6ua.js → PixiFrameExporter-CGQJH9OE.js} +2 -2
- package/dist/{PixiFrameExporter-CRe8z6ua.js.map → PixiFrameExporter-CGQJH9OE.js.map} +1 -1
- package/dist/{PixiFrameExporter-R6iQjzVw.cjs → PixiFrameExporter-CfUbYDmD.cjs} +2 -2
- package/dist/{PixiFrameExporter-R6iQjzVw.cjs.map → PixiFrameExporter-CfUbYDmD.cjs.map} +1 -1
- package/dist/editor-v2-CFLWp7RZ.cjs +2 -0
- package/dist/editor-v2-CFLWp7RZ.cjs.map +1 -0
- package/dist/editor-v2-DjhJBaCS.js +7187 -0
- package/dist/editor-v2-DjhJBaCS.js.map +1 -0
- package/dist/filters/index.d.ts +1 -0
- package/dist/filters/recipeToCssFilter.d.ts +71 -0
- package/dist/index-Dae8SHT7.js.map +1 -1
- package/dist/index-QOKC8XA_.cjs.map +1 -1
- package/dist/index-ST4ukv22.cjs +357 -0
- package/dist/index-ST4ukv22.cjs.map +1 -0
- package/dist/index-rw6mdaKW.js +38906 -0
- package/dist/index-rw6mdaKW.js.map +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/mediables-vanilla.cjs +1 -1
- package/dist/mediables-vanilla.mjs +10 -9
- package/dist/mediables-vue.cjs +1 -1
- package/dist/mediables-vue.mjs +97 -87
- package/dist/style.css +1 -1
- package/dist/utils/videoRecipeCapabilities.d.ts +15 -0
- package/dist/vanilla-exports.d.ts +2 -1
- package/package.json +1 -1
- package/dist/editor-BQ_nY4P6.js +0 -4302
- package/dist/editor-BQ_nY4P6.js.map +0 -1
- package/dist/editor-CUV1pIsV.cjs +0 -2
- package/dist/editor-CUV1pIsV.cjs.map +0 -1
- package/dist/index-B8LxZ37n.js +0 -41633
- package/dist/index-B8LxZ37n.js.map +0 -1
- package/dist/index-DutUeSES.cjs +0 -357
- package/dist/index-DutUeSES.cjs.map +0 -1
|
@@ -7,6 +7,21 @@ export interface NormalizeRecipeForServerRenderOptions {
|
|
|
7
7
|
mediaDuration?: number | null | undefined;
|
|
8
8
|
exportMeta?: NormalizeRecipeForServerRenderExportMeta | null | undefined;
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Backfill recipe duration metadata when the editor exported a recipe whose
|
|
12
|
+
* `source.duration` is still a placeholder (`<= 1s`) because the editor's
|
|
13
|
+
* own probe was in flight. Mutates `recipeRecord` in place.
|
|
14
|
+
*
|
|
15
|
+
* Hosts that prepare a recipe for `/v1/media/video/process` (or any other
|
|
16
|
+
* raw render call that doesn't go through `normalizeRecipeForServerRender`)
|
|
17
|
+
* should call this helper after assembling the recipe record so the
|
|
18
|
+
* placeholder fixup heuristic stays in lockstep with the canonical
|
|
19
|
+
* normalizer. See blowglass `BUG-CR009-MED-MED-01-002-A`.
|
|
20
|
+
*
|
|
21
|
+
* Exported as `normalizeRecipePlaceholderDuration` from the package public
|
|
22
|
+
* API for that exact use case.
|
|
23
|
+
*/
|
|
24
|
+
export declare const normalizeRecipePlaceholderDuration: (recipeRecord: Record<string, unknown>, mediaDuration: number | null) => void;
|
|
10
25
|
export declare const recipeHasServerRenderableEdits: (recipe: VideoRecipe | undefined, fallbackDuration?: number) => boolean;
|
|
11
26
|
export declare const recipeHasUnsupportedServerEdits: (recipe: VideoRecipe | undefined) => boolean;
|
|
12
27
|
export declare const normalizeRecipeForServerRender: (recipe: VideoRecipe, options?: NormalizeRecipeForServerRenderOptions) => Record<string, unknown>;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Use this entry point when you only need the VanillaImageEditor and filter registry
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
import './vanilla-editor/styles/editor-v2.css';
|
|
8
|
+
export { VanillaImageEditor, VanillaImageEditorV2 } from './vanilla-editor/index.js';
|
|
8
9
|
export { initializeFilterRegistry, getAllFilters, getFilter, getFiltersByCategory, getAllCategories, registerFilter, hasFilter, } from './filters/index';
|
|
9
10
|
export type { FilterDefinition, ControlDefinition } from './filters/index';
|