@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,32 @@
1
+ /**
2
+ * Component type definitions
3
+ */
4
+ import type { Address } from './address';
5
+ export interface AddressFormRef {
6
+ setFormData: (address: Address) => void;
7
+ resetForm: () => void;
8
+ validate: () => Promise<boolean>;
9
+ }
10
+ export interface AddressSelectorRef {
11
+ refresh: () => void;
12
+ getSelected: () => Address | null;
13
+ }
14
+ export interface FormRef<T = any> {
15
+ validate: () => Promise<boolean>;
16
+ reset: () => void;
17
+ getFormData: () => T;
18
+ setFormData: (data: T) => void;
19
+ errors: Record<string, string[]>;
20
+ }
21
+ export interface TestCardData {
22
+ cardNumber: string;
23
+ expiryMonth: string;
24
+ expiryYear: string;
25
+ cvv: string;
26
+ saveCard?: boolean;
27
+ }
28
+ export interface AcceptJsFormRef {
29
+ triggerNonceGeneration: () => Promise<void>;
30
+ fillTestCard: (data: TestCardData) => void;
31
+ isFormValid: () => boolean;
32
+ }
@@ -0,0 +1,138 @@
1
+ export interface ContentModel {
2
+ uuid: string;
3
+ created_at: string;
4
+ updated_at: string;
5
+ }
6
+ export interface Layout extends ContentModel {
7
+ name: string;
8
+ store_uuid?: string;
9
+ type: 'page' | 'email' | 'print';
10
+ config?: Record<string, any>;
11
+ breakpoints?: string[];
12
+ meta?: Record<string, any>;
13
+ is_default: boolean;
14
+ is_active: boolean;
15
+ is_public: boolean;
16
+ version: number;
17
+ sections?: Section[];
18
+ slots?: Slot[];
19
+ description?: string;
20
+ layout_uuid?: string;
21
+ }
22
+ export interface Section extends ContentModel {
23
+ sectionable_id: string;
24
+ sectionable_type: string;
25
+ parent_uuid?: string;
26
+ name?: string;
27
+ type: 'container' | 'row' | 'grid' | 'flex';
28
+ order: number;
29
+ config?: Record<string, any>;
30
+ responsive_config?: Record<string, any>;
31
+ is_locked: boolean;
32
+ columns?: Column[];
33
+ children?: Section[];
34
+ slots?: Slot[];
35
+ }
36
+ export interface Column extends ContentModel {
37
+ section_uuid: string;
38
+ order: number;
39
+ span: number;
40
+ responsive_span?: Record<string, number>;
41
+ responsive_width?: Record<string, number>;
42
+ config?: Record<string, any>;
43
+ sections?: Section[];
44
+ slots?: Slot[];
45
+ }
46
+ export interface Slot extends ContentModel {
47
+ slottable_id: string;
48
+ slottable_type: string;
49
+ name: string;
50
+ description?: string;
51
+ allowed_blocks?: string[];
52
+ allowed_components?: string[];
53
+ min_items: number;
54
+ max_items?: number;
55
+ default_content?: any;
56
+ is_required: boolean;
57
+ items?: SlotItem[];
58
+ }
59
+ export interface SlotItem {
60
+ id: number;
61
+ slot_uuid: string;
62
+ itemable_id: string;
63
+ itemable_type: string;
64
+ order: number;
65
+ config?: Record<string, any>;
66
+ is_visible: boolean;
67
+ itemable?: Block | Component | Section;
68
+ }
69
+ export interface Component extends ContentModel {
70
+ name: string;
71
+ type: string;
72
+ category: string;
73
+ description?: string;
74
+ path: string;
75
+ config?: Record<string, any>;
76
+ preview_data?: Record<string, any>;
77
+ props_schema?: Record<string, any>;
78
+ requires_auth: boolean;
79
+ is_active: boolean;
80
+ }
81
+ export interface Block extends ContentModel {
82
+ name: string;
83
+ type: string;
84
+ category: string;
85
+ config?: Record<string, any>;
86
+ fields?: Record<string, any>;
87
+ is_active: boolean;
88
+ }
89
+ export interface Template extends ContentModel {
90
+ parent_uuid?: string;
91
+ owner_uuid: string;
92
+ owner_type: 'marketplace' | 'store' | 'user';
93
+ module?: string;
94
+ name: string;
95
+ type: 'partial' | 'page' | 'component';
96
+ category?: string;
97
+ config?: Record<string, any>;
98
+ slots_config?: Record<string, any>;
99
+ thumbnail_path?: string;
100
+ is_public: boolean;
101
+ instances?: TemplateInstance[];
102
+ }
103
+ export interface TemplateInstance extends ContentModel {
104
+ template_uuid: string;
105
+ attachable_id: string;
106
+ attachable_type: string;
107
+ attachment_point?: string;
108
+ overrides?: Record<string, any>;
109
+ slot_contents?: Record<string, any>;
110
+ starts_at?: string;
111
+ ends_at?: string;
112
+ priority: number;
113
+ status: 'active' | 'inactive' | 'scheduled';
114
+ }
115
+ export interface Content extends ContentModel {
116
+ name: string;
117
+ type: 'full-page' | 'partial' | 'widget';
118
+ layout_uuid?: string;
119
+ settings?: Record<string, any>;
120
+ sections?: Section[];
121
+ relations?: ContentRelation[];
122
+ }
123
+ export interface ContentRelation {
124
+ id: number;
125
+ contentable_type: string;
126
+ contentable_id: string;
127
+ content_uuid: string;
128
+ target: string;
129
+ priority: number;
130
+ starts_at?: string;
131
+ ends_at?: string;
132
+ is_active: boolean;
133
+ conditions?: Record<string, any>;
134
+ order: number;
135
+ created_at: string;
136
+ updated_at: string;
137
+ content: Content;
138
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Type definitions for coupons
3
+ */
4
+ export interface Coupon {
5
+ uuid: string;
6
+ id: number;
7
+ code: string;
8
+ discount_amount: number | null;
9
+ discount_percent: number | null;
10
+ start_at: string | null;
11
+ end_at: string | null;
12
+ scope_type: 'product' | 'category' | 'collection' | 'global';
13
+ scope_id: string | number | null;
14
+ [key: string]: any;
15
+ }
16
+ export interface CouponForm {
17
+ code: string;
18
+ discount_amount: string | number | null;
19
+ discount_percent: string | number | null;
20
+ start_at: string | null;
21
+ end_at: string | null;
22
+ scope_type: 'product' | 'category' | 'collection' | 'global';
23
+ scope_id: string | number | null;
24
+ }
25
+ export interface CouponErrors {
26
+ [key: string]: string[];
27
+ }
28
+ export type DiscountType = 'amount' | 'percent';
29
+ export type ScopeType = 'product' | 'category' | 'collection' | 'global';
30
+ export interface CouponResponse {
31
+ data: Coupon[];
32
+ }
@@ -0,0 +1,210 @@
1
+ export interface PersonalProductSummary {
2
+ id: string;
3
+ uuid: string;
4
+ name: string;
5
+ sku?: string;
6
+ category?: string;
7
+ categoryId?: string;
8
+ totalQuantity: number;
9
+ totalSpent: number;
10
+ orderCount: number;
11
+ firstOrdered: string;
12
+ lastOrdered: string;
13
+ averagePrice: number;
14
+ priceHistory: Array<{
15
+ date: string;
16
+ price: number;
17
+ orderId: string;
18
+ orderNumber: string;
19
+ }>;
20
+ orderHistory: Array<{
21
+ orderId: string;
22
+ orderNumber: string;
23
+ date: string;
24
+ quantity: number;
25
+ unitPrice: number;
26
+ totalPrice: number;
27
+ status: string;
28
+ }>;
29
+ imageUrl?: string;
30
+ thumbnailUrl?: string;
31
+ reorderAvailable: boolean;
32
+ inStock?: boolean;
33
+ currentPrice?: number;
34
+ }
35
+ export interface ProductFilters {
36
+ categories: string[];
37
+ priceRange: {
38
+ min: number | null;
39
+ max: number | null;
40
+ };
41
+ dateRange: {
42
+ start: Date | null;
43
+ end: Date | null;
44
+ };
45
+ orderFrequency: 'all' | 'frequent' | 'occasional';
46
+ }
47
+ export interface ProductSuggestion {
48
+ id: string;
49
+ uuid: string;
50
+ name: string;
51
+ sku?: string;
52
+ lastOrdered: string;
53
+ orderCount: number;
54
+ thumbnailUrl?: string;
55
+ }
56
+ export interface PersonalProductDetail extends PersonalProductSummary {
57
+ personalInsights: {
58
+ averageDaysBetweenOrders: number;
59
+ predictedNextOrder?: string;
60
+ totalSavings?: number;
61
+ favoriteVariant?: string;
62
+ orderFrequencyLabel: 'Daily' | 'Weekly' | 'Monthly' | 'Occasional';
63
+ };
64
+ }
65
+ export interface ReorderAction {
66
+ productId: string;
67
+ productUuid: string;
68
+ quantity: number;
69
+ addToCart: () => Promise<void>;
70
+ }
71
+ export interface CustomerProductHistoryProps {
72
+ dateRange?: {
73
+ start: Date | null;
74
+ end: Date | null;
75
+ };
76
+ filters?: ProductFilters;
77
+ }
78
+ export interface CustomerProductSearchProps {
79
+ modelValue: string;
80
+ suggestions?: ProductSuggestion[];
81
+ placeholder?: string;
82
+ loading?: boolean;
83
+ }
84
+ export interface CustomerProductDetailModalProps {
85
+ product: PersonalProductSummary | null;
86
+ isOpen: boolean;
87
+ }
88
+ export interface QuickReorderPanelProps {
89
+ frequentProducts: PersonalProductSummary[];
90
+ suggestedProducts: PersonalProductSummary[];
91
+ loading?: boolean;
92
+ }
93
+ export interface PersonalProductHistoryRequest {
94
+ start_date?: string;
95
+ end_date?: string;
96
+ search?: string;
97
+ categories?: string[];
98
+ price_min?: number;
99
+ price_max?: number;
100
+ sort_by?: 'name' | 'quantity' | 'amount' | 'lastOrdered' | 'frequency';
101
+ sort_order?: 'asc' | 'desc';
102
+ page?: number;
103
+ per_page?: number;
104
+ }
105
+ export interface PersonalProductHistoryResponse {
106
+ data: PersonalProductSummary[];
107
+ meta: {
108
+ current_page: number;
109
+ per_page: number;
110
+ total: number;
111
+ last_page: number;
112
+ };
113
+ summary: {
114
+ total_unique_products: number;
115
+ total_quantity_ordered: number;
116
+ total_spent_on_products: number;
117
+ most_ordered_category?: string;
118
+ };
119
+ }
120
+ export interface PersonalProductDetailRequest {
121
+ product_id: string;
122
+ }
123
+ export interface PersonalProductDetailResponse {
124
+ product: PersonalProductSummary;
125
+ order_history: Array<{
126
+ order_id: string;
127
+ order_number: string;
128
+ order_date: string;
129
+ quantity: number;
130
+ unit_price: number;
131
+ total_price: number;
132
+ order_status: string;
133
+ }>;
134
+ insights: {
135
+ average_days_between_orders: number;
136
+ predicted_next_order: string | null;
137
+ total_savings: number;
138
+ price_trends: {
139
+ lowest_price: number;
140
+ highest_price: number;
141
+ current_price?: number;
142
+ };
143
+ };
144
+ }
145
+ export interface ReorderRequest {
146
+ product_id: string;
147
+ quantity: number;
148
+ }
149
+ export interface ReorderResponse {
150
+ success: boolean;
151
+ cart_item_id?: string;
152
+ message?: string;
153
+ product_availability?: {
154
+ in_stock: boolean;
155
+ available_quantity?: number;
156
+ };
157
+ }
158
+ export interface ReorderSuggestionsResponse {
159
+ frequent_products: Array<{
160
+ product_id: string;
161
+ product_name: string;
162
+ last_ordered: string;
163
+ order_frequency: number;
164
+ suggested_quantity: number;
165
+ thumbnail_url?: string;
166
+ }>;
167
+ running_low: Array<{
168
+ product_id: string;
169
+ product_name: string;
170
+ estimated_run_out: string;
171
+ suggested_quantity: number;
172
+ thumbnail_url?: string;
173
+ }>;
174
+ }
175
+ export interface ProductHistoryState {
176
+ products: PersonalProductSummary[];
177
+ searchQuery: string;
178
+ filters: ProductFilters;
179
+ sortBy: 'lastOrdered' | 'frequency' | 'name' | 'totalSpent';
180
+ sortOrder: 'asc' | 'desc';
181
+ isLoading: boolean;
182
+ error: string | null;
183
+ pagination: {
184
+ currentPage: number;
185
+ perPage: number;
186
+ total: number;
187
+ lastPage: number;
188
+ };
189
+ }
190
+ export interface ReorderState {
191
+ reorderingProducts: Set<string>;
192
+ lastReordered: Map<string, Date>;
193
+ reorderSuggestions: {
194
+ frequent: PersonalProductSummary[];
195
+ runningLow: PersonalProductSummary[];
196
+ };
197
+ }
198
+ export interface ProductHistoryError {
199
+ code: string;
200
+ message: string;
201
+ field?: string;
202
+ details?: Record<string, any>;
203
+ }
204
+ export type ProductSortOption = 'name' | 'quantity' | 'amount' | 'lastOrdered' | 'frequency';
205
+ export type OrderFrequencyFilter = 'all' | 'frequent' | 'occasional';
206
+ export interface ProductHistoryFilters extends ProductFilters {
207
+ searchQuery?: string;
208
+ sortBy?: ProductSortOption;
209
+ sortOrder?: 'asc' | 'desc';
210
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Payload type for tool drawer drag operations
3
+ */
4
+ export interface ToolDragPayload {
5
+ slotUuid: string;
6
+ targetSlotUuid?: string;
7
+ targetIndex: number;
8
+ type?: string;
9
+ data: {
10
+ id: string;
11
+ name: string;
12
+ type: string;
13
+ category: string;
14
+ icon: string;
15
+ [key: string]: any;
16
+ };
17
+ }
18
+ /**
19
+ * Payload type for move operations
20
+ */
21
+ export interface MoveDragPayload {
22
+ targetSlotUuid?: string;
23
+ targetIndex?: number;
24
+ }
25
+ export interface DragContract<T = unknown> {
26
+ /**
27
+ * 'item' = existing block/component
28
+ * 'slot' = whole slot reorder
29
+ * 'section' = whole section reorder
30
+ * 'tool' = brand-new block dragged from the Tool Drawer
31
+ */
32
+ dragType: 'item' | 'slot' | 'section' | 'tool';
33
+ sourceUuid: string;
34
+ sourceId?: string;
35
+ targetId?: string;
36
+ targetIndex?: number;
37
+ payload: T;
38
+ }
39
+ export declare function isToolDragPayload(payload: unknown): payload is ToolDragPayload;
40
+ export declare function isMoveDragPayload(payload: unknown): payload is MoveDragPayload;
@@ -0,0 +1,19 @@
1
+ export interface DragContract<T = unknown> {
2
+ dragType: 'item' | 'slot' | 'section' | 'add';
3
+ sourceId?: string;
4
+ targetId: string;
5
+ targetIndex: number;
6
+ sourceUuid?: string;
7
+ payload?: T;
8
+ tempUuid?: string;
9
+ templateType?: string;
10
+ }
11
+ export interface DragState {
12
+ isDragging: boolean;
13
+ draggedItem: string | null;
14
+ draggedType: 'item' | 'slot' | 'section' | null;
15
+ }
16
+ export interface DropResult {
17
+ success: boolean;
18
+ message?: string;
19
+ }
@@ -0,0 +1,127 @@
1
+ /**
2
+ * Type definitions for the image editor components
3
+ * These types are used throughout the media editing system
4
+ */
5
+ /**
6
+ * Represents a rectangle with position and dimensions for cropping
7
+ */
8
+ export interface CropRect {
9
+ x: number;
10
+ y: number;
11
+ width: number;
12
+ height: number;
13
+ }
14
+ /**
15
+ * Filter instance with parameters for image processing
16
+ */
17
+ export interface FilterInstance {
18
+ id: string;
19
+ name: string;
20
+ args: Record<string, number | boolean | string>;
21
+ enabled: boolean;
22
+ order?: number;
23
+ /** Live PIXI.Filter – required for filters that emit dynamic UI */
24
+ instance: any;
25
+ }
26
+ /**
27
+ * Complete image processing pipeline
28
+ */
29
+ export interface PipelineJSON {
30
+ uuid?: string | null;
31
+ name?: string;
32
+ crop?: CropRect;
33
+ filters: FilterInstance[];
34
+ }
35
+ /**
36
+ * Options for creating a new variant
37
+ */
38
+ export interface VariantSavePayload {
39
+ pipeline: PipelineJSON;
40
+ width: number;
41
+ height: number;
42
+ }
43
+ /**
44
+ * Response from variant save operation
45
+ */
46
+ export interface VariantResponse {
47
+ uuid: string;
48
+ success: boolean;
49
+ message?: string;
50
+ error?: string;
51
+ }
52
+ /**
53
+ * Represents the status of a variant being processed
54
+ */
55
+ export interface VariantStatus {
56
+ uuid: string;
57
+ status: 'pending' | 'processing' | 'completed' | 'failed';
58
+ progress: number;
59
+ error?: string;
60
+ url?: string;
61
+ created_at: string;
62
+ updated_at: string;
63
+ }
64
+ /**
65
+ * Filter controls definition for the editor UI
66
+ */
67
+ export interface FilterControl {
68
+ id: string;
69
+ type: 'slider' | 'toggle' | 'color' | 'select' | 'button';
70
+ label: string;
71
+ property?: string;
72
+ action?: string;
73
+ min?: number;
74
+ max?: number;
75
+ step?: number;
76
+ default?: number | boolean | string;
77
+ options?: Array<{
78
+ label: string;
79
+ value: string | number;
80
+ }>;
81
+ }
82
+ /**
83
+ * Filter definition for the filter registry
84
+ */
85
+ export interface FilterDefinition {
86
+ id: string;
87
+ name: string;
88
+ category: 'adjust' | 'effects' | 'blur' | 'distort' | 'blend' | 'other';
89
+ controls: FilterControl[];
90
+ createFilter: (args: Record<string, any>) => any;
91
+ }
92
+ /**
93
+ * Editor dimensions for responsive display
94
+ */
95
+ export interface EditorDimensions {
96
+ width: number;
97
+ height: number;
98
+ scale: number;
99
+ }
100
+ /**
101
+ * Editor state that can be saved/restored
102
+ */
103
+ export interface EditorState {
104
+ pipeline: PipelineJSON;
105
+ originalDimensions: {
106
+ width: number;
107
+ height: number;
108
+ };
109
+ viewportDimensions: EditorDimensions;
110
+ selectedFilterId: string | null;
111
+ }
112
+ /**
113
+ * History step for undo/redo functionality
114
+ */
115
+ export interface HistoryStep {
116
+ type: 'crop' | 'filter-add' | 'filter-update' | 'filter-remove' | 'filter-toggle' | 'filter-replace' | 'filter-reorder';
117
+ data: any;
118
+ timestamp: number;
119
+ }
120
+ /**
121
+ * Editor tool mode
122
+ */
123
+ export type EditorTool = 'crop' | 'filter' | 'adjust' | 'text' | 'draw' | 'none';
124
+ /**
125
+ * Editor view mode
126
+ */
127
+ export type ViewMode = 'edit' | 'preview' | 'split';
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Error type definitions for the marketplace application
3
+ */
4
+ export interface ApiError {
5
+ message: string;
6
+ statusCode?: number;
7
+ status?: number;
8
+ errors?: Record<string, string[]>;
9
+ data?: {
10
+ message?: string;
11
+ errors?: Record<string, string[]>;
12
+ };
13
+ response?: {
14
+ status: number;
15
+ data?: {
16
+ message?: string;
17
+ errors?: Record<string, string[]>;
18
+ };
19
+ };
20
+ }
21
+ export interface NetworkError extends Error {
22
+ response?: {
23
+ status: number;
24
+ statusText: string;
25
+ data?: any;
26
+ };
27
+ config?: {
28
+ url?: string;
29
+ method?: string;
30
+ };
31
+ code?: string;
32
+ }
33
+ export declare function isApiError(error: unknown): error is ApiError;
34
+ export declare function isNetworkError(error: unknown): error is NetworkError;
35
+ export declare function getErrorMessage(error: unknown): string;
36
+ export declare function getErrorStatusCode(error: unknown): number | undefined;