@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.
Files changed (33) hide show
  1. package/dist/{PixiFrameExporter-CRe8z6ua.js → PixiFrameExporter-CGQJH9OE.js} +2 -2
  2. package/dist/{PixiFrameExporter-CRe8z6ua.js.map → PixiFrameExporter-CGQJH9OE.js.map} +1 -1
  3. package/dist/{PixiFrameExporter-R6iQjzVw.cjs → PixiFrameExporter-CfUbYDmD.cjs} +2 -2
  4. package/dist/{PixiFrameExporter-R6iQjzVw.cjs.map → PixiFrameExporter-CfUbYDmD.cjs.map} +1 -1
  5. package/dist/editor-v2-CFLWp7RZ.cjs +2 -0
  6. package/dist/editor-v2-CFLWp7RZ.cjs.map +1 -0
  7. package/dist/editor-v2-DjhJBaCS.js +7187 -0
  8. package/dist/editor-v2-DjhJBaCS.js.map +1 -0
  9. package/dist/filters/index.d.ts +1 -0
  10. package/dist/filters/recipeToCssFilter.d.ts +71 -0
  11. package/dist/index-Dae8SHT7.js.map +1 -1
  12. package/dist/index-QOKC8XA_.cjs.map +1 -1
  13. package/dist/index-ST4ukv22.cjs +357 -0
  14. package/dist/index-ST4ukv22.cjs.map +1 -0
  15. package/dist/index-rw6mdaKW.js +38906 -0
  16. package/dist/index-rw6mdaKW.js.map +1 -0
  17. package/dist/index.d.ts +3 -2
  18. package/dist/mediables-vanilla.cjs +1 -1
  19. package/dist/mediables-vanilla.mjs +10 -9
  20. package/dist/mediables-vue.cjs +1 -1
  21. package/dist/mediables-vue.mjs +97 -87
  22. package/dist/style.css +1 -1
  23. package/dist/utils/videoRecipeCapabilities.d.ts +15 -0
  24. package/dist/vanilla-exports.d.ts +2 -1
  25. package/package.json +1 -1
  26. package/dist/editor-BQ_nY4P6.js +0 -4302
  27. package/dist/editor-BQ_nY4P6.js.map +0 -1
  28. package/dist/editor-CUV1pIsV.cjs +0 -2
  29. package/dist/editor-CUV1pIsV.cjs.map +0 -1
  30. package/dist/index-B8LxZ37n.js +0 -41633
  31. package/dist/index-B8LxZ37n.js.map +0 -1
  32. package/dist/index-DutUeSES.cjs +0 -357
  33. 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
- export { VanillaImageEditor } from './vanilla-editor/index.js';
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingfactory/mediables-vue",
3
- "version": "2.19.2",
3
+ "version": "2.20.0",
4
4
  "publishConfig": {
5
5
  "access": "restricted"
6
6
  },