@codingfactory/mediables-vue 2.0.1

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 (367) hide show
  1. package/dist/PixiFrameExporter-BTU38EVl.cjs +2 -0
  2. package/dist/PixiFrameExporter-BTU38EVl.cjs.map +1 -0
  3. package/dist/PixiFrameExporter-Bb3QNWP-.js +199 -0
  4. package/dist/PixiFrameExporter-Bb3QNWP-.js.map +1 -0
  5. package/dist/adapters/MediablesAdapter.d.ts +19 -0
  6. package/dist/adapters/SpatieAdapter.d.ts +18 -0
  7. package/dist/adapters/index.d.ts +18 -0
  8. package/dist/components/AdminMediaBrowser.vue.d.ts +11 -0
  9. package/dist/components/AdminMediaBrowserExample.vue.d.ts +2 -0
  10. package/dist/components/AdminMediaBulkActionsToolbar.vue.d.ts +2 -0
  11. package/dist/components/AdminMediaGrid.vue.d.ts +17 -0
  12. package/dist/components/AdminMediaListItem.vue.d.ts +10 -0
  13. package/dist/components/AdminMediaManager.vue.d.ts +25 -0
  14. package/dist/components/AdminMediaUploader.vue.d.ts +11 -0
  15. package/dist/components/AlbumBrowser.vue.d.ts +17 -0
  16. package/dist/components/AlbumManager.vue.d.ts +16 -0
  17. package/dist/components/AlbumMediaGrid.vue.d.ts +28 -0
  18. package/dist/components/AlbumTree.vue.d.ts +35 -0
  19. package/dist/components/BulkActionsToolbar.vue.d.ts +2 -0
  20. package/dist/components/ConversionProgressIndicator.vue.d.ts +2 -0
  21. package/dist/components/Editor.vue.d.ts +29 -0
  22. package/dist/components/ExampleGridAndList.vue.d.ts +2 -0
  23. package/dist/components/ExampleUsage.vue.d.ts +2 -0
  24. package/dist/components/Grid.vue.d.ts +2 -0
  25. package/dist/components/ImageEditor/ImageEditor.vue.d.ts +3 -0
  26. package/dist/components/ImageEditorModal.vue.d.ts +16 -0
  27. package/dist/components/ImagePicker.vue.d.ts +32 -0
  28. package/dist/components/ImageUploadZone.vue.d.ts +7 -0
  29. package/dist/components/Item.vue.d.ts +2 -0
  30. package/dist/components/Library.vue.d.ts +2 -0
  31. package/dist/components/ManagedMediaGallery.vue.d.ts +12 -0
  32. package/dist/components/MediaAttacher.vue.d.ts +21 -0
  33. package/dist/components/MediaBrowser.vue.d.ts +2 -0
  34. package/dist/components/MediaCard.vue.d.ts +2 -0
  35. package/dist/components/MediaFilters.vue.d.ts +2 -0
  36. package/dist/components/MediaGrid.vue.d.ts +31 -0
  37. package/dist/components/MediaInfoEditor.vue.d.ts +7 -0
  38. package/dist/components/MediaManager.vue.d.ts +2 -0
  39. package/dist/components/MediaUploadWithProgress.vue.d.ts +2 -0
  40. package/dist/components/MediaUploader.vue.d.ts +2 -0
  41. package/dist/components/MediaWorkspace.vue.d.ts +19 -0
  42. package/dist/components/Modal.vue.d.ts +2 -0
  43. package/dist/components/ModelMediaManager.vue.d.ts +80 -0
  44. package/dist/components/Pagination.vue.d.ts +2 -0
  45. package/dist/components/Search.vue.d.ts +2 -0
  46. package/dist/components/VideoEditorSimple.vue.d.ts +2 -0
  47. package/dist/components/VideoExportPanel.vue.d.ts +2 -0
  48. package/dist/components/VideoTimeline.vue.d.ts +2 -0
  49. package/dist/components/VideoTimelineSimple.vue.d.ts +2 -0
  50. package/dist/components/VideoToolsPanel.vue.d.ts +2 -0
  51. package/dist/components/albums/AlbumTreeNode.vue.d.ts +23 -0
  52. package/dist/components/attachment/MediaAttachment.vue.d.ts +23 -0
  53. package/dist/components/attachment/index.d.ts +4 -0
  54. package/dist/components/collection/MediaCollection.vue.d.ts +27 -0
  55. package/dist/components/collection/MediaCollectionDropzone.vue.d.ts +18 -0
  56. package/dist/components/collection/MediaCollectionItem.vue.d.ts +2 -0
  57. package/dist/components/collection/index.d.ts +6 -0
  58. package/dist/components/form/MediaHiddenFields.vue.d.ts +2 -0
  59. package/dist/components/form/index.d.ts +4 -0
  60. package/dist/components/image/ImageEditor.vue.d.ts +2 -0
  61. package/dist/components/image/ImageItem.vue.d.ts +2 -0
  62. package/dist/components/renderless/MediaAttachmentProvider.vue.d.ts +12 -0
  63. package/dist/components/renderless/MediaCollectionProvider.vue.d.ts +12 -0
  64. package/dist/components/renderless/index.d.ts +7 -0
  65. package/dist/components/timeline/TimeRuler.vue.d.ts +2 -0
  66. package/dist/components/timeline/VideoTrack.vue.d.ts +2 -0
  67. package/dist/components/tools/VideoFiltersPanel.vue.d.ts +7 -0
  68. package/dist/components/tools/VideoTextPanel.vue.d.ts +2 -0
  69. package/dist/components/video/AudioTrackManager.vue.d.ts +2 -0
  70. package/dist/components/video/EditorControls.vue.d.ts +2 -0
  71. package/dist/components/video/ExportPanel.vue.d.ts +2 -0
  72. package/dist/components/video/FilterSelector.vue.d.ts +2 -0
  73. package/dist/components/video/LiveStreamManager.vue.d.ts +2 -0
  74. package/dist/components/video/StreamCredentials.vue.d.ts +2 -0
  75. package/dist/components/video/StreamStatus.vue.d.ts +2 -0
  76. package/dist/components/video/TextOverlayPanel.vue.d.ts +2 -0
  77. package/dist/components/video/ThumbnailPicker.vue.d.ts +2 -0
  78. package/dist/components/video/TimelineClip.vue.d.ts +2 -0
  79. package/dist/components/video/TimelineControls.vue.d.ts +2 -0
  80. package/dist/components/video/TransitionSelector.vue.d.ts +2 -0
  81. package/dist/components/video/VideoControls.vue.d.ts +2 -0
  82. package/dist/components/video/VideoEditor.vue.d.ts +8 -0
  83. package/dist/components/video/VideoEditorDialog.vue.d.ts +12 -0
  84. package/dist/components/video/VideoFilterCarousel.vue.d.ts +2 -0
  85. package/dist/components/video/VideoFilterPreview.vue.d.ts +18 -0
  86. package/dist/components/video/VideoPlayer.vue.d.ts +2 -0
  87. package/dist/components/video/VideoPreview.vue.d.ts +3 -0
  88. package/dist/components/video/VideoPreviewCSS.vue.d.ts +2 -0
  89. package/dist/components/video/VideoPreviewEngine.vue.d.ts +3 -0
  90. package/dist/components/video/VideoTimeline.vue.d.ts +2 -0
  91. package/dist/components/video/VideoUploadProgress.vue.d.ts +2 -0
  92. package/dist/components/video/VideoUploader.vue.d.ts +29 -0
  93. package/dist/components/video/index.d.ts +19 -0
  94. package/dist/composables/useAccordion.d.ts +138 -0
  95. package/dist/composables/useAlbumDragDrop.d.ts +24 -0
  96. package/dist/composables/useAlbums.d.ts +17 -0
  97. package/dist/composables/useFloatingPills.d.ts +111 -0
  98. package/dist/composables/useHaptic.d.ts +10 -0
  99. package/dist/composables/useImageEditorModal.d.ts +277 -0
  100. package/dist/composables/useLiveStream.d.ts +66 -0
  101. package/dist/composables/useMediaAttachment.d.ts +105 -0
  102. package/dist/composables/useMediaCollection.d.ts +122 -0
  103. package/dist/composables/useMediaConversionProgress.d.ts +31 -0
  104. package/dist/composables/useMediaDragSort.d.ts +56 -0
  105. package/dist/composables/useMediaSelection.d.ts +27 -0
  106. package/dist/composables/useMediaUploadQueue.d.ts +61 -0
  107. package/dist/composables/useMediaValidation.d.ts +59 -0
  108. package/dist/composables/useRadialMenu.d.ts +116 -0
  109. package/dist/composables/useSanctumClient.d.ts +31 -0
  110. package/dist/composables/useTheme.d.ts +7 -0
  111. package/dist/composables/useToast.d.ts +25 -0
  112. package/dist/composables/useVideoEditor.d.ts +127 -0
  113. package/dist/composables/useVideoFilters.d.ts +176 -0
  114. package/dist/composables/useVideoPlayer.d.ts +50 -0
  115. package/dist/composables/useVideoUpload.d.ts +134 -0
  116. package/dist/filters/controlMapping.d.ts +31 -0
  117. package/dist/filters/css-registry.d.ts +83 -0
  118. package/dist/filters/definitions/adjustment.d.ts +2 -0
  119. package/dist/filters/definitions/adjustmentAdvanced.d.ts +2 -0
  120. package/dist/filters/definitions/advancedBloom.d.ts +2 -0
  121. package/dist/filters/definitions/alpha.d.ts +2 -0
  122. package/dist/filters/definitions/ascii.d.ts +2 -0
  123. package/dist/filters/definitions/backdropBlur.d.ts +2 -0
  124. package/dist/filters/definitions/bevel.d.ts +2 -0
  125. package/dist/filters/definitions/bloom.d.ts +2 -0
  126. package/dist/filters/definitions/blur.d.ts +2 -0
  127. package/dist/filters/definitions/bulgePinch.d.ts +2 -0
  128. package/dist/filters/definitions/colorGradient.d.ts +2 -0
  129. package/dist/filters/definitions/colorMap.d.ts +2 -0
  130. package/dist/filters/definitions/colorMatrix.d.ts +2 -0
  131. package/dist/filters/definitions/colorOverlay.d.ts +2 -0
  132. package/dist/filters/definitions/colorReplace.d.ts +2 -0
  133. package/dist/filters/definitions/convolution.d.ts +2 -0
  134. package/dist/filters/definitions/crossHatch.d.ts +2 -0
  135. package/dist/filters/definitions/crt.d.ts +2 -0
  136. package/dist/filters/definitions/displacement.d.ts +2 -0
  137. package/dist/filters/definitions/dot.d.ts +2 -0
  138. package/dist/filters/definitions/dropShadow.d.ts +2 -0
  139. package/dist/filters/definitions/emboss.d.ts +2 -0
  140. package/dist/filters/definitions/glitch.d.ts +2 -0
  141. package/dist/filters/definitions/glow.d.ts +2 -0
  142. package/dist/filters/definitions/godray.d.ts +2 -0
  143. package/dist/filters/definitions/grayscale.d.ts +2 -0
  144. package/dist/filters/definitions/hslAdjustment.d.ts +2 -0
  145. package/dist/filters/definitions/kawaseBlur.d.ts +2 -0
  146. package/dist/filters/definitions/lightmap.d.ts +2 -0
  147. package/dist/filters/definitions/motionBlur.d.ts +2 -0
  148. package/dist/filters/definitions/multiColorReplace.d.ts +2 -0
  149. package/dist/filters/definitions/noise.d.ts +2 -0
  150. package/dist/filters/definitions/oldFilm.d.ts +2 -0
  151. package/dist/filters/definitions/outline.d.ts +2 -0
  152. package/dist/filters/definitions/pixelate.d.ts +2 -0
  153. package/dist/filters/definitions/radialBlur.d.ts +2 -0
  154. package/dist/filters/definitions/reflection.d.ts +2 -0
  155. package/dist/filters/definitions/rgbSplit.d.ts +2 -0
  156. package/dist/filters/definitions/shockwave.d.ts +2 -0
  157. package/dist/filters/definitions/simplexNoise.d.ts +2 -0
  158. package/dist/filters/definitions/tiltShift.d.ts +2 -0
  159. package/dist/filters/definitions/twist.d.ts +2 -0
  160. package/dist/filters/definitions/vignette.d.ts +2 -0
  161. package/dist/filters/definitions/zoomBlur.d.ts +2 -0
  162. package/dist/filters/factory.d.ts +38 -0
  163. package/dist/filters/filters/controlMapping.d.ts +31 -0
  164. package/dist/filters/filters/definitions/adjustment.d.ts +2 -0
  165. package/dist/filters/filters/definitions/adjustmentAdvanced.d.ts +2 -0
  166. package/dist/filters/filters/definitions/advancedBloom.d.ts +2 -0
  167. package/dist/filters/filters/definitions/alpha.d.ts +2 -0
  168. package/dist/filters/filters/definitions/ascii.d.ts +2 -0
  169. package/dist/filters/filters/definitions/backdropBlur.d.ts +2 -0
  170. package/dist/filters/filters/definitions/bevel.d.ts +2 -0
  171. package/dist/filters/filters/definitions/bloom.d.ts +2 -0
  172. package/dist/filters/filters/definitions/blur.d.ts +2 -0
  173. package/dist/filters/filters/definitions/bulgePinch.d.ts +2 -0
  174. package/dist/filters/filters/definitions/colorGradient.d.ts +2 -0
  175. package/dist/filters/filters/definitions/colorMap.d.ts +2 -0
  176. package/dist/filters/filters/definitions/colorMatrix.d.ts +2 -0
  177. package/dist/filters/filters/definitions/colorOverlay.d.ts +2 -0
  178. package/dist/filters/filters/definitions/colorReplace.d.ts +2 -0
  179. package/dist/filters/filters/definitions/convolution.d.ts +2 -0
  180. package/dist/filters/filters/definitions/crossHatch.d.ts +2 -0
  181. package/dist/filters/filters/definitions/crt.d.ts +2 -0
  182. package/dist/filters/filters/definitions/displacement.d.ts +2 -0
  183. package/dist/filters/filters/definitions/dot.d.ts +2 -0
  184. package/dist/filters/filters/definitions/dropShadow.d.ts +2 -0
  185. package/dist/filters/filters/definitions/emboss.d.ts +2 -0
  186. package/dist/filters/filters/definitions/glitch.d.ts +2 -0
  187. package/dist/filters/filters/definitions/glow.d.ts +2 -0
  188. package/dist/filters/filters/definitions/godray.d.ts +2 -0
  189. package/dist/filters/filters/definitions/grayscale.d.ts +2 -0
  190. package/dist/filters/filters/definitions/hslAdjustment.d.ts +2 -0
  191. package/dist/filters/filters/definitions/kawaseBlur.d.ts +2 -0
  192. package/dist/filters/filters/definitions/lightmap.d.ts +2 -0
  193. package/dist/filters/filters/definitions/motionBlur.d.ts +2 -0
  194. package/dist/filters/filters/definitions/multiColorReplace.d.ts +2 -0
  195. package/dist/filters/filters/definitions/noise.d.ts +2 -0
  196. package/dist/filters/filters/definitions/oldFilm.d.ts +2 -0
  197. package/dist/filters/filters/definitions/outline.d.ts +2 -0
  198. package/dist/filters/filters/definitions/pixelate.d.ts +2 -0
  199. package/dist/filters/filters/definitions/radialBlur.d.ts +2 -0
  200. package/dist/filters/filters/definitions/reflection.d.ts +2 -0
  201. package/dist/filters/filters/definitions/rgbSplit.d.ts +2 -0
  202. package/dist/filters/filters/definitions/shockwave.d.ts +2 -0
  203. package/dist/filters/filters/definitions/simplexNoise.d.ts +2 -0
  204. package/dist/filters/filters/definitions/tiltShift.d.ts +2 -0
  205. package/dist/filters/filters/definitions/twist.d.ts +2 -0
  206. package/dist/filters/filters/definitions/vignette.d.ts +2 -0
  207. package/dist/filters/filters/definitions/zoomBlur.d.ts +2 -0
  208. package/dist/filters/filters/factory.d.ts +36 -0
  209. package/dist/filters/filters/index.d.ts +93 -0
  210. package/dist/filters/filters/registry.d.ts +89 -0
  211. package/dist/filters/index.d.ts +93 -0
  212. package/dist/filters/registry.d.ts +89 -0
  213. package/dist/filters/video-compatible.d.ts +77 -0
  214. package/dist/filters/video-css-filters.d.ts +153 -0
  215. package/dist/index-6yUGA--H.cjs +42 -0
  216. package/dist/index-6yUGA--H.cjs.map +1 -0
  217. package/dist/index-CcGWfCCV.js +7799 -0
  218. package/dist/index-CcGWfCCV.js.map +1 -0
  219. package/dist/index-DTUgsw7J.cjs +76 -0
  220. package/dist/index-DTUgsw7J.cjs.map +1 -0
  221. package/dist/index-VrUG0lmk.js +28655 -0
  222. package/dist/index-VrUG0lmk.js.map +1 -0
  223. package/dist/index.d.ts +62 -0
  224. package/dist/js/workers/material-color-extractor.js +215 -0
  225. package/dist/mediables-vanilla.cjs +2 -0
  226. package/dist/mediables-vanilla.cjs.map +1 -0
  227. package/dist/mediables-vanilla.mjs +12 -0
  228. package/dist/mediables-vanilla.mjs.map +1 -0
  229. package/dist/mediables-vue.cjs +2 -0
  230. package/dist/mediables-vue.cjs.map +1 -0
  231. package/dist/mediables-vue.mjs +67 -0
  232. package/dist/mediables-vue.mjs.map +1 -0
  233. package/dist/render-page/assets/index-hBfvGPpt.js +48933 -0
  234. package/dist/render-page/index.html +18 -0
  235. package/dist/services/VideoJobClient.d.ts +79 -0
  236. package/dist/stores/albumStore.d.ts +4 -0
  237. package/dist/stores/mediaVariantStore.d.ts +1 -0
  238. package/dist/stores/useAdminMediaStore.d.ts +16 -0
  239. package/dist/stores/useMediaStore.d.ts +25 -0
  240. package/dist/stores/useVideoStore.d.ts +21 -0
  241. package/dist/stores/variantPollStore.d.ts +5 -0
  242. package/dist/stores/video.d.ts +1 -0
  243. package/dist/style.css +1 -0
  244. package/dist/types/adapter.d.ts +181 -0
  245. package/dist/types/album.d.ts +28 -0
  246. package/dist/types/api.d.ts +88 -0
  247. package/dist/types/collection.d.ts +306 -0
  248. package/dist/types/editor.d.ts +172 -0
  249. package/dist/types/image.d.ts +210 -0
  250. package/dist/types/index.d.ts +5 -0
  251. package/dist/types/media.d.ts +107 -0
  252. package/dist/types/types/address.d.ts +66 -0
  253. package/dist/types/types/admin/intelligent-po.d.ts +47 -0
  254. package/dist/types/types/admin/products/index.d.ts +17 -0
  255. package/dist/types/types/admin/purchase-order.d.ts +50 -0
  256. package/dist/types/types/admin/receipt.d.ts +86 -0
  257. package/dist/types/types/admin/vendor.d.ts +61 -0
  258. package/dist/types/types/ai.d.ts +63 -0
  259. package/dist/types/types/aiActions.d.ts +42 -0
  260. package/dist/types/types/aiDesigner.d.ts +77 -0
  261. package/dist/types/types/api-errors.d.ts +6 -0
  262. package/dist/types/types/api.d.ts +109 -0
  263. package/dist/types/types/bundle.d.ts +131 -0
  264. package/dist/types/types/bundles/analytics.d.ts +64 -0
  265. package/dist/types/types/bundles.d.ts +108 -0
  266. package/dist/types/types/cart.d.ts +81 -0
  267. package/dist/types/types/checkout.d.ts +40 -0
  268. package/dist/types/types/component-config.d.ts +26 -0
  269. package/dist/types/types/components.d.ts +32 -0
  270. package/dist/types/types/content.d.ts +138 -0
  271. package/dist/types/types/coupon.d.ts +32 -0
  272. package/dist/types/types/customer-product-history.d.ts +210 -0
  273. package/dist/types/types/drag-contracts.d.ts +40 -0
  274. package/dist/types/types/drag-drop.d.ts +19 -0
  275. package/dist/types/types/editor.d.ts +127 -0
  276. package/dist/types/types/errors.d.ts +36 -0
  277. package/dist/types/types/feedback.d.ts +122 -0
  278. package/dist/types/types/image.d.ts +210 -0
  279. package/dist/types/types/index.d.ts +62 -0
  280. package/dist/types/types/instagram.d.ts +86 -0
  281. package/dist/types/types/ionic-components.d.ts +152 -0
  282. package/dist/types/types/layout.d.ts +127 -0
  283. package/dist/types/types/media-gateway.d.ts +34 -0
  284. package/dist/types/types/media.d.ts +178 -0
  285. package/dist/types/types/notifications.d.ts +123 -0
  286. package/dist/types/types/order-management.d.ts +245 -0
  287. package/dist/types/types/pageBuilder/block.d.ts +34 -0
  288. package/dist/types/types/pageBuilder/blocks.d.ts +82 -0
  289. package/dist/types/types/pageBuilder/cache.d.ts +33 -0
  290. package/dist/types/types/pageBuilder/editor.d.ts +15 -0
  291. package/dist/types/types/pageBuilder/field.d.ts +11 -0
  292. package/dist/types/types/pageBuilder/index.d.ts +24 -0
  293. package/dist/types/types/pageBuilder/revisions.d.ts +40 -0
  294. package/dist/types/types/pageBuilder/templates.d.ts +62 -0
  295. package/dist/types/types/pattern.d.ts +40 -0
  296. package/dist/types/types/payment.d.ts +21 -0
  297. package/dist/types/types/payments.d.ts +10 -0
  298. package/dist/types/types/pipeline.d.ts +12 -0
  299. package/dist/types/types/pixi/filter-args.d.ts +274 -0
  300. package/dist/types/types/pixi/filters-extended.d.ts +157 -0
  301. package/dist/types/types/pixi/filters.d.ts +38 -0
  302. package/dist/types/types/preview.d.ts +36 -0
  303. package/dist/types/types/pricing.d.ts +31 -0
  304. package/dist/types/types/quickbooks.d.ts +43 -0
  305. package/dist/types/types/receipt.d.ts +121 -0
  306. package/dist/types/types/rewards.d.ts +110 -0
  307. package/dist/types/types/saved-cart.d.ts +51 -0
  308. package/dist/types/types/settings.d.ts +63 -0
  309. package/dist/types/types/shipment.d.ts +62 -0
  310. package/dist/types/types/shipping.d.ts +98 -0
  311. package/dist/types/types/sidebar-variations.d.ts +226 -0
  312. package/dist/types/types/slots.d.ts +2 -0
  313. package/dist/types/types/specification-types.d.ts +70 -0
  314. package/dist/types/types/specifications.d.ts +163 -0
  315. package/dist/types/types/store.d.ts +64 -0
  316. package/dist/types/types/template.d.ts +8 -0
  317. package/dist/types/types/user.d.ts +47 -0
  318. package/dist/types/types/variant-groups.d.ts +158 -0
  319. package/dist/types/types/wishlist.d.ts +73 -0
  320. package/dist/types/types/workflow-wizard.d.ts +12 -0
  321. package/dist/types/video.d.ts +449 -0
  322. package/dist/utils/category-tree-constants.d.ts +42 -0
  323. package/dist/utils/cookies.d.ts +3 -0
  324. package/dist/utils/crypto-polyfill.d.ts +4 -0
  325. package/dist/utils/datetime.d.ts +43 -0
  326. package/dist/utils/debounce.d.ts +10 -0
  327. package/dist/utils/debugConsole.d.ts +69 -0
  328. package/dist/utils/editor/argHelpers.d.ts +6 -0
  329. package/dist/utils/formatters.d.ts +105 -0
  330. package/dist/utils/isPresignedAwsUrl.d.ts +67 -0
  331. package/dist/utils/media-helpers.d.ts +34 -0
  332. package/dist/utils/normalisePricing.d.ts +11 -0
  333. package/dist/utils/recipe-generator.d.ts +34 -0
  334. package/dist/utils/string.d.ts +29 -0
  335. package/dist/utils/unwrapApiResponse.d.ts +5 -0
  336. package/dist/utils/uuid.d.ts +30 -0
  337. package/dist/utils/validators.d.ts +28 -0
  338. package/dist/utils/video-export.d.ts +60 -0
  339. package/dist/v3-ionic-1-demo.html +440 -0
  340. package/dist/video-engine/VideoEngine.d.ts +267 -0
  341. package/dist/video-engine/adapters/AudioManager.d.ts +106 -0
  342. package/dist/video-engine/adapters/CSSFilterAdapter.d.ts +106 -0
  343. package/dist/video-engine/adapters/ExportManager.d.ts +88 -0
  344. package/dist/video-engine/adapters/FilterBridge.d.ts +96 -0
  345. package/dist/video-engine/adapters/MediablesCompositionAdapter.d.ts +56 -0
  346. package/dist/video-engine/adapters/PixiFrameExporter.d.ts +52 -0
  347. package/dist/video-engine/adapters/RenderQueue.d.ts +119 -0
  348. package/dist/video-engine/adapters/TextOverlayManager.d.ts +93 -0
  349. package/dist/video-engine/adapters/TimelineAdapter.d.ts +58 -0
  350. package/dist/video-engine/adapters/TransitionManager.d.ts +76 -0
  351. package/dist/video-engine/adapters/WebCodecsExport.d.ts +36 -0
  352. package/dist/video-engine/compositions/examples/example.d.ts +2 -0
  353. package/dist/video-engine/filters/CSSFilterSystem.d.ts +213 -0
  354. package/dist/video-engine/index.d.ts +14 -0
  355. package/dist/video-engine/presets/ExportPresets.d.ts +70 -0
  356. package/dist/video-engine/types/index.d.ts +96 -0
  357. package/dist/video-engine/types.d.ts +1 -0
  358. package/dist/video-engine/utils/EventEmitter.d.ts +12 -0
  359. package/dist/video-engine/utils/MediaSourceResolver.d.ts +9 -0
  360. package/dist/video-engine/utils/error-reporter.d.ts +159 -0
  361. package/dist/video-engine/utils/keyboard-shortcuts.d.ts +120 -0
  362. package/dist/video-engine/utils/pixi-video-fallback.d.ts +2 -0
  363. package/docs/video-subsystem/README.md +490 -0
  364. package/docs/video-subsystem/api-reference.md +747 -0
  365. package/docs/video-subsystem/component-examples.md +1477 -0
  366. package/docs/video-subsystem/integration-guide.md +1021 -0
  367. package/package.json +102 -0
@@ -0,0 +1,105 @@
1
+ /**
2
+ * Format a price as currency
3
+ */
4
+ export declare function formatPrice(price: number | string, currency?: string, locale?: string): string;
5
+ /**
6
+ * Alias for formatPrice for consistency with accounts payable module
7
+ */
8
+ export declare const formatCurrency: typeof formatPrice;
9
+ /**
10
+ * Format a number with locale-specific formatting
11
+ */
12
+ export declare function formatNumber(value: number | string, locale?: string): string;
13
+ /**
14
+ * Composable for formatting utilities
15
+ */
16
+ /**
17
+ * Convert grams to pounds
18
+ */
19
+ export declare function gramsToPounds(grams: number): number;
20
+ /**
21
+ * Convert pounds to grams
22
+ */
23
+ export declare function poundsToGrams(pounds: number): number;
24
+ /**
25
+ * Format weight from grams to pounds and ounces display
26
+ */
27
+ export declare function formatWeight(gramsValue: number | string | null | undefined, showUnit?: boolean, precision?: number): string;
28
+ /**
29
+ * Format weight as pounds only (for input fields)
30
+ */
31
+ export declare function formatWeightAsPounds(gramsValue: number | string | null | undefined, precision?: number): number;
32
+ /**
33
+ * Parse weight input (supports both lbs and oz)
34
+ */
35
+ export declare function parseWeightInput(input: string): number;
36
+ export declare function useFormat(): {
37
+ formatPrice: typeof formatPrice;
38
+ formatCurrency: typeof formatPrice;
39
+ formatNumber: typeof formatNumber;
40
+ formatDate: typeof formatDate;
41
+ formatDateTime: typeof formatDateTime;
42
+ formatTime: typeof formatTime;
43
+ formatDuration: typeof formatDuration;
44
+ truncateText: typeof truncateText;
45
+ formatFileSize: typeof formatFileSize;
46
+ formatPhoneNumber: typeof formatPhoneNumber;
47
+ formatPickupAddress: typeof formatPickupAddress;
48
+ formatOperatingHours: typeof formatOperatingHours;
49
+ formatWeight: typeof formatWeight;
50
+ formatWeightAsPounds: typeof formatWeightAsPounds;
51
+ gramsToPounds: typeof gramsToPounds;
52
+ poundsToGrams: typeof poundsToGrams;
53
+ parseWeightInput: typeof parseWeightInput;
54
+ };
55
+ /**
56
+ * Format a date
57
+ */
58
+ export declare function formatDate(dateString: string | Date | null, options?: Intl.DateTimeFormatOptions, locale?: string): string;
59
+ /**
60
+ * Format a date with time
61
+ */
62
+ export declare function formatDateTime(dateString: string | Date | null, locale?: string): string;
63
+ /**
64
+ * Format just the time portion of a date
65
+ */
66
+ export declare function formatTime(dateString: string | Date | null, locale?: string): string;
67
+ /**
68
+ * Format a duration in milliseconds to human readable format
69
+ */
70
+ export declare function formatDuration(milliseconds: number): string;
71
+ /**
72
+ * Truncate text with ellipsis
73
+ */
74
+ export declare function truncateText(text: string, maxLength?: number): string;
75
+ /**
76
+ * Format a file size
77
+ */
78
+ export declare function formatFileSize(bytes: number): string;
79
+ /**
80
+ * Format a phone number
81
+ */
82
+ export declare function formatPhoneNumber(phoneNumber: string): string;
83
+ /**
84
+ * Format a pickup location address for display
85
+ * @param {any} address - The address object from a pickup location
86
+ * @returns {string} - Formatted address string
87
+ */
88
+ export declare function formatPickupAddress(address: unknown): string;
89
+ /**
90
+ * Format operating hours for display
91
+ * @param {string|object} hoursData - The operating hours data (JSON string or object)
92
+ * @returns {string} - Formatted hours string
93
+ */
94
+ export declare function formatOperatingHours(hoursData: unknown): string;
95
+ interface FormattedAddress {
96
+ formatted: string;
97
+ street1?: string;
98
+ street2?: string;
99
+ city?: string;
100
+ state_code?: string;
101
+ postal_code?: string;
102
+ country_name?: string;
103
+ }
104
+ export declare function formatAddress(address: FormattedAddress | null | undefined): string[];
105
+ export {};
@@ -0,0 +1,67 @@
1
+ import type { ImageApiResponse } from '../types/image';
2
+ /**
3
+ * Checks if a URL is an AWS pre-signed URL by detecting the X-Amz-Signature parameter.
4
+ * Used to prevent URL manipulation that would invalidate AWS SigV4 signatures.
5
+ *
6
+ * @param url - The URL to check
7
+ * @returns boolean - True if the URL contains an AWS signature
8
+ */
9
+ export declare const isPresignedAwsUrl: (url: string | null | undefined) => boolean;
10
+ /**
11
+ * Sanitizes a URL by ensuring it's properly formatted.
12
+ * Handles relative URLs, ensures HTTPS for AWS/S3 URLs, and more.
13
+ *
14
+ * @param url - The URL to sanitize
15
+ * @returns string - A sanitized URL that's safe to use
16
+ */
17
+ export declare const sanitizeUrl: (url: string | null | undefined) => string;
18
+ /**
19
+ * Returns a display-safe image URL that preserves AWS pre-signed URL signatures.
20
+ * Only adds cache-busting to non-AWS URLs.
21
+ *
22
+ * @param url - The original image URL
23
+ * @param cacheBuster - Optional custom cache buster string (defaults to timestamp in base36)
24
+ * @returns string - URL safe for image display
25
+ */
26
+ export declare const getSafeImageUrl: (url: string | null | undefined, cacheBuster?: string) => string;
27
+ /**
28
+ * Vue composable function to get a safe image URL with built-in reactivity
29
+ *
30
+ * @param imageUrl - Reactive or static image URL
31
+ * @param cacheBuster - Optional cache buster
32
+ * @returns Safe URL string
33
+ */
34
+ export declare const useSafeImageUrl: (imageUrl: string | null | undefined, cacheBuster?: string) => string;
35
+ /**
36
+ * Gets the best image URL based on desired size and availability
37
+ * Uses a smart selection algorithm that:
38
+ * 1. Prefers conversion URLs if they exist (thumb, preview)
39
+ * 2. Falls back to original_url if no conversions
40
+ * 3. Makes sure all URLs are safely handled for AWS signatures
41
+ *
42
+ * @param image - The image object from the API
43
+ * @param preferredSize - Preferred size ('thumb', 'preview', or 'original')
44
+ * @returns The best available image URL, safely handled
45
+ */
46
+ export declare const getBestImageUrl: (image: ImageApiResponse | null | undefined, preferredSize?: "thumb" | "preview" | "original") => string;
47
+ /**
48
+ * Gets a thumbnail URL for an image, optimized for grid/list views
49
+ *
50
+ * @param image - The image object from the API
51
+ * @returns Safe thumbnail URL
52
+ */
53
+ export declare const getThumbUrl: (image: ImageApiResponse | null | undefined) => string;
54
+ /**
55
+ * Gets a preview URL for an image, optimized for preview displays
56
+ *
57
+ * @param image - The image object from the API
58
+ * @returns Safe preview URL
59
+ */
60
+ export declare const getPreviewUrl: (image: ImageApiResponse | null | undefined) => string;
61
+ /**
62
+ * Gets the original URL for an image at full resolution
63
+ *
64
+ * @param image - The image object from the API
65
+ * @returns Safe original URL
66
+ */
67
+ export declare const getOriginalUrl: (image: ImageApiResponse | null | undefined) => string;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Media helper utilities
3
+ * Provides utility functions for working with media objects throughout the application
4
+ */
5
+ import type { Media } from '~/types/media';
6
+ /**
7
+ * Get the thumbnail URL for a media object with proper type safety
8
+ * This is a utility version of the composable for use in non-component contexts
9
+ *
10
+ * @param media - The media object
11
+ * @param fallback - Fallback URL if no thumbnail is available
12
+ * @returns The thumbnail URL or fallback
13
+ */
14
+ export declare function getThumbnailUrl(media?: Media | null, fallback?: string): string;
15
+ /**
16
+ * Check if a media object has a valid thumbnail
17
+ * @param media - The media object to check
18
+ * @returns True if the media has a thumbnail URL
19
+ */
20
+ export declare function hasThumbnail(media?: Media | null): boolean;
21
+ /**
22
+ * Get all available conversion URLs for a media object
23
+ * @param media - The media object
24
+ * @returns Object containing all conversion URLs
25
+ */
26
+ export declare function getConversionUrls(media?: Media | null): Record<string, string>;
27
+ /**
28
+ * Create a Media object from partial data
29
+ * Useful for creating mock media objects or handling API responses
30
+ *
31
+ * @param partial - Partial media data
32
+ * @returns A complete Media object with defaults
33
+ */
34
+ export declare function createMediaObject(partial: Partial<Media>): Media;
@@ -0,0 +1,11 @@
1
+ export interface PricingDTO {
2
+ base_price: number;
3
+ final_price: number;
4
+ sale_price: number | null;
5
+ currency: string;
6
+ discount_amount: number;
7
+ discount_percentage: number;
8
+ show_discount: boolean;
9
+ [k: string]: unknown;
10
+ }
11
+ export declare function normalisePricingResponse(raw: unknown): Promise<PricingDTO>;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Video Recipe Generator
3
+ *
4
+ * Generates export recipes for server-side video processing
5
+ * Converts editor state into FFmpeg-compatible instructions
6
+ */
7
+ import type { VideoRecipe, VideoEditorState } from '../types/video';
8
+ /**
9
+ * Generate a complete video recipe from editor state
10
+ */
11
+ export declare function generateRecipe(editor: VideoEditorState): VideoRecipe;
12
+ /**
13
+ * Calculate total export duration from recipe
14
+ */
15
+ export declare function calculateExportDuration(recipe: VideoRecipe): number;
16
+ /**
17
+ * Generate FFmpeg command from recipe
18
+ */
19
+ export declare function generateFFmpegCommand(recipe: VideoRecipe): string;
20
+ /**
21
+ * Validate recipe structure
22
+ */
23
+ export declare function validateRecipe(recipe: VideoRecipe): {
24
+ valid: boolean;
25
+ errors: string[];
26
+ };
27
+ /**
28
+ * Merge multiple recipes (for collaborative editing)
29
+ */
30
+ export declare function mergeRecipes(base: VideoRecipe, updates: Partial<VideoRecipe>): VideoRecipe;
31
+ /**
32
+ * Create a simple recipe for basic trim operation
33
+ */
34
+ export declare function createTrimRecipe(mediaUuid: string, startTime: number, endTime: number, duration: number): VideoRecipe;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Convert a string to camel case.
3
+ * Example: 'hello-world' -> 'helloWorld'
4
+ */
5
+ export declare function camelCase(str: string): string;
6
+ /**
7
+ * Convert a string to kebab case.
8
+ * Example: 'helloWorld' -> 'hello-world'
9
+ */
10
+ export declare function kebabCase(str: string): string;
11
+ /**
12
+ * Convert a string to title case.
13
+ * Example: 'hello-world' -> 'Hello World'
14
+ */
15
+ export declare function titleCase(str: string, preserveUppercase?: boolean): string;
16
+ /**
17
+ * Convert a string to pascal case.
18
+ * Example: 'hello-world' -> 'HelloWorld'
19
+ */
20
+ export declare function pascalCase(str: string): string;
21
+ /**
22
+ * Convert a string to snake case.
23
+ * Example: 'helloWorld' -> 'hello_world'
24
+ */
25
+ export declare function snakeCase(str: string): string;
26
+ /**
27
+ * Generate a URL-friendly slug.
28
+ */
29
+ export declare function slugify(str: string): string;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Robustly unwrap an Axios / ofetch response.
3
+ * Always returns the inner payload (array | object).
4
+ */
5
+ export declare function unwrapApiResponse<T = any>(raw: unknown): T;
@@ -0,0 +1,30 @@
1
+ /**
2
+ * UUID generation utility that works across all browsers and environments
3
+ * Falls back to a timestamp-based UUID v4-like implementation if crypto.randomUUID is not available
4
+ */
5
+ /**
6
+ * Generate a UUID v4 compliant string
7
+ * First tries native crypto.randomUUID, then falls back to a custom implementation
8
+ */
9
+ export declare function generateUUID(): string;
10
+ /**
11
+ * Generate a short ID (non-UUID compliant but useful for temporary IDs)
12
+ * Useful for component keys, temporary IDs, etc.
13
+ */
14
+ export declare function generateShortId(): string;
15
+ /**
16
+ * Validate if a string is a valid UUID v4
17
+ */
18
+ export declare function isValidUUID(uuid: string): boolean;
19
+ /**
20
+ * Generate a namespaced UUID (deterministic based on input)
21
+ * Useful for creating consistent IDs based on input data
22
+ */
23
+ export declare function generateNamespacedUUID(namespace: string, name: string): string;
24
+ /**
25
+ * Create a UUID generator with a specific prefix
26
+ * Useful for debugging and identifying UUID sources
27
+ */
28
+ export declare function createPrefixedUUIDGenerator(prefix: string): () => string;
29
+ export declare const uuid: typeof generateUUID;
30
+ export declare const shortId: typeof generateShortId;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Validate an email address
3
+ */
4
+ export declare function isValidEmail(email: string): boolean;
5
+ /**
6
+ * Validate a password (minimum 8 characters, at least one letter and one number)
7
+ */
8
+ export declare function isValidPassword(password: string): boolean;
9
+ /**
10
+ * Validate a phone number
11
+ */
12
+ export declare function isValidPhoneNumber(phoneNumber: string): boolean;
13
+ /**
14
+ * Validate a credit card number using Luhn algorithm
15
+ */
16
+ export declare function isValidCreditCard(cardNumber: string): boolean;
17
+ /**
18
+ * Validate a credit card expiration date (MM/YY format)
19
+ */
20
+ export declare function isValidExpiryDate(expiryDate: string): boolean;
21
+ /**
22
+ * Validate a CVV (3-4 digits)
23
+ */
24
+ export declare function isValidCVV(cvv: string): boolean;
25
+ /**
26
+ * Validate a postal code (US or Canada)
27
+ */
28
+ export declare function isValidPostalCode(postalCode: string, countryCode?: string): boolean;
@@ -0,0 +1,60 @@
1
+ /**
2
+ * Export bridge between our editor and Mediables video engine
3
+ * Converts our timeline/recipe format to Mediables composition
4
+ */
5
+ import type { VideoRecipe } from '../types/video';
6
+ import { MediablesCompositionAdapter } from '../video-engine/adapters/MediablesCompositionAdapter';
7
+ import { type ExportOptions } from '../video-engine/adapters/ExportManager';
8
+ import { RenderQueue } from '../video-engine/adapters/RenderQueue';
9
+ /**
10
+ * Export video with advanced options using ExportManager
11
+ */
12
+ export declare function exportWithMediablesEngine(recipe: VideoRecipe, videoUrl: string, options?: {
13
+ quality?: string;
14
+ frameRate?: number;
15
+ width?: number;
16
+ height?: number;
17
+ onProgress?: (percent: number) => void;
18
+ preset?: string;
19
+ watermark?: ExportOptions['watermark'];
20
+ }): Promise<Blob>;
21
+ /**
22
+ * Export video with preset configuration
23
+ */
24
+ export declare function exportWithPreset(recipe: VideoRecipe, presetId: string, options?: {
25
+ onProgress?: (percent: number) => void;
26
+ watermark?: ExportOptions['watermark'];
27
+ }): Promise<Blob>;
28
+ /**
29
+ * Create a render queue for batch exports
30
+ */
31
+ export declare function createRenderQueue(options?: {
32
+ maxConcurrent?: number;
33
+ persistHistory?: boolean;
34
+ }): RenderQueue;
35
+ /**
36
+ * Add export job to render queue
37
+ */
38
+ export declare function queueExport(queue: RenderQueue, recipe: VideoRecipe, name: string, options?: ExportOptions): Promise<string>;
39
+ /**
40
+ * Create a composition for real-time playback
41
+ * Returns an adapter that can be controlled programmatically
42
+ */
43
+ export declare function createComposition(recipe: VideoRecipe, options?: {
44
+ width?: number;
45
+ height?: number;
46
+ fps?: number;
47
+ }): Promise<MediablesCompositionAdapter>;
48
+ /**
49
+ * Export preview using our existing canvas
50
+ * MediaRecorder-based preview export has been intentionally removed.
51
+ */
52
+ export declare function exportPreview(canvas: HTMLCanvasElement, duration: number): Promise<Blob>;
53
+ /**
54
+ * Helper to convert seconds to frames
55
+ */
56
+ export declare function secondsToFrames(seconds: number, fps?: number): number;
57
+ /**
58
+ * Helper to convert frames to seconds
59
+ */
60
+ export declare function framesToSeconds(frames: number, fps?: number): number;