@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.
- package/dist/PixiFrameExporter-BTU38EVl.cjs +2 -0
- package/dist/PixiFrameExporter-BTU38EVl.cjs.map +1 -0
- package/dist/PixiFrameExporter-Bb3QNWP-.js +199 -0
- package/dist/PixiFrameExporter-Bb3QNWP-.js.map +1 -0
- package/dist/adapters/MediablesAdapter.d.ts +19 -0
- package/dist/adapters/SpatieAdapter.d.ts +18 -0
- package/dist/adapters/index.d.ts +18 -0
- package/dist/components/AdminMediaBrowser.vue.d.ts +11 -0
- package/dist/components/AdminMediaBrowserExample.vue.d.ts +2 -0
- package/dist/components/AdminMediaBulkActionsToolbar.vue.d.ts +2 -0
- package/dist/components/AdminMediaGrid.vue.d.ts +17 -0
- package/dist/components/AdminMediaListItem.vue.d.ts +10 -0
- package/dist/components/AdminMediaManager.vue.d.ts +25 -0
- package/dist/components/AdminMediaUploader.vue.d.ts +11 -0
- package/dist/components/AlbumBrowser.vue.d.ts +17 -0
- package/dist/components/AlbumManager.vue.d.ts +16 -0
- package/dist/components/AlbumMediaGrid.vue.d.ts +28 -0
- package/dist/components/AlbumTree.vue.d.ts +35 -0
- package/dist/components/BulkActionsToolbar.vue.d.ts +2 -0
- package/dist/components/ConversionProgressIndicator.vue.d.ts +2 -0
- package/dist/components/Editor.vue.d.ts +29 -0
- package/dist/components/ExampleGridAndList.vue.d.ts +2 -0
- package/dist/components/ExampleUsage.vue.d.ts +2 -0
- package/dist/components/Grid.vue.d.ts +2 -0
- package/dist/components/ImageEditor/ImageEditor.vue.d.ts +3 -0
- package/dist/components/ImageEditorModal.vue.d.ts +16 -0
- package/dist/components/ImagePicker.vue.d.ts +32 -0
- package/dist/components/ImageUploadZone.vue.d.ts +7 -0
- package/dist/components/Item.vue.d.ts +2 -0
- package/dist/components/Library.vue.d.ts +2 -0
- package/dist/components/ManagedMediaGallery.vue.d.ts +12 -0
- package/dist/components/MediaAttacher.vue.d.ts +21 -0
- package/dist/components/MediaBrowser.vue.d.ts +2 -0
- package/dist/components/MediaCard.vue.d.ts +2 -0
- package/dist/components/MediaFilters.vue.d.ts +2 -0
- package/dist/components/MediaGrid.vue.d.ts +31 -0
- package/dist/components/MediaInfoEditor.vue.d.ts +7 -0
- package/dist/components/MediaManager.vue.d.ts +2 -0
- package/dist/components/MediaUploadWithProgress.vue.d.ts +2 -0
- package/dist/components/MediaUploader.vue.d.ts +2 -0
- package/dist/components/MediaWorkspace.vue.d.ts +19 -0
- package/dist/components/Modal.vue.d.ts +2 -0
- package/dist/components/ModelMediaManager.vue.d.ts +80 -0
- package/dist/components/Pagination.vue.d.ts +2 -0
- package/dist/components/Search.vue.d.ts +2 -0
- package/dist/components/VideoEditorSimple.vue.d.ts +2 -0
- package/dist/components/VideoExportPanel.vue.d.ts +2 -0
- package/dist/components/VideoTimeline.vue.d.ts +2 -0
- package/dist/components/VideoTimelineSimple.vue.d.ts +2 -0
- package/dist/components/VideoToolsPanel.vue.d.ts +2 -0
- package/dist/components/albums/AlbumTreeNode.vue.d.ts +23 -0
- package/dist/components/attachment/MediaAttachment.vue.d.ts +23 -0
- package/dist/components/attachment/index.d.ts +4 -0
- package/dist/components/collection/MediaCollection.vue.d.ts +27 -0
- package/dist/components/collection/MediaCollectionDropzone.vue.d.ts +18 -0
- package/dist/components/collection/MediaCollectionItem.vue.d.ts +2 -0
- package/dist/components/collection/index.d.ts +6 -0
- package/dist/components/form/MediaHiddenFields.vue.d.ts +2 -0
- package/dist/components/form/index.d.ts +4 -0
- package/dist/components/image/ImageEditor.vue.d.ts +2 -0
- package/dist/components/image/ImageItem.vue.d.ts +2 -0
- package/dist/components/renderless/MediaAttachmentProvider.vue.d.ts +12 -0
- package/dist/components/renderless/MediaCollectionProvider.vue.d.ts +12 -0
- package/dist/components/renderless/index.d.ts +7 -0
- package/dist/components/timeline/TimeRuler.vue.d.ts +2 -0
- package/dist/components/timeline/VideoTrack.vue.d.ts +2 -0
- package/dist/components/tools/VideoFiltersPanel.vue.d.ts +7 -0
- package/dist/components/tools/VideoTextPanel.vue.d.ts +2 -0
- package/dist/components/video/AudioTrackManager.vue.d.ts +2 -0
- package/dist/components/video/EditorControls.vue.d.ts +2 -0
- package/dist/components/video/ExportPanel.vue.d.ts +2 -0
- package/dist/components/video/FilterSelector.vue.d.ts +2 -0
- package/dist/components/video/LiveStreamManager.vue.d.ts +2 -0
- package/dist/components/video/StreamCredentials.vue.d.ts +2 -0
- package/dist/components/video/StreamStatus.vue.d.ts +2 -0
- package/dist/components/video/TextOverlayPanel.vue.d.ts +2 -0
- package/dist/components/video/ThumbnailPicker.vue.d.ts +2 -0
- package/dist/components/video/TimelineClip.vue.d.ts +2 -0
- package/dist/components/video/TimelineControls.vue.d.ts +2 -0
- package/dist/components/video/TransitionSelector.vue.d.ts +2 -0
- package/dist/components/video/VideoControls.vue.d.ts +2 -0
- package/dist/components/video/VideoEditor.vue.d.ts +8 -0
- package/dist/components/video/VideoEditorDialog.vue.d.ts +12 -0
- package/dist/components/video/VideoFilterCarousel.vue.d.ts +2 -0
- package/dist/components/video/VideoFilterPreview.vue.d.ts +18 -0
- package/dist/components/video/VideoPlayer.vue.d.ts +2 -0
- package/dist/components/video/VideoPreview.vue.d.ts +3 -0
- package/dist/components/video/VideoPreviewCSS.vue.d.ts +2 -0
- package/dist/components/video/VideoPreviewEngine.vue.d.ts +3 -0
- package/dist/components/video/VideoTimeline.vue.d.ts +2 -0
- package/dist/components/video/VideoUploadProgress.vue.d.ts +2 -0
- package/dist/components/video/VideoUploader.vue.d.ts +29 -0
- package/dist/components/video/index.d.ts +19 -0
- package/dist/composables/useAccordion.d.ts +138 -0
- package/dist/composables/useAlbumDragDrop.d.ts +24 -0
- package/dist/composables/useAlbums.d.ts +17 -0
- package/dist/composables/useFloatingPills.d.ts +111 -0
- package/dist/composables/useHaptic.d.ts +10 -0
- package/dist/composables/useImageEditorModal.d.ts +277 -0
- package/dist/composables/useLiveStream.d.ts +66 -0
- package/dist/composables/useMediaAttachment.d.ts +105 -0
- package/dist/composables/useMediaCollection.d.ts +122 -0
- package/dist/composables/useMediaConversionProgress.d.ts +31 -0
- package/dist/composables/useMediaDragSort.d.ts +56 -0
- package/dist/composables/useMediaSelection.d.ts +27 -0
- package/dist/composables/useMediaUploadQueue.d.ts +61 -0
- package/dist/composables/useMediaValidation.d.ts +59 -0
- package/dist/composables/useRadialMenu.d.ts +116 -0
- package/dist/composables/useSanctumClient.d.ts +31 -0
- package/dist/composables/useTheme.d.ts +7 -0
- package/dist/composables/useToast.d.ts +25 -0
- package/dist/composables/useVideoEditor.d.ts +127 -0
- package/dist/composables/useVideoFilters.d.ts +176 -0
- package/dist/composables/useVideoPlayer.d.ts +50 -0
- package/dist/composables/useVideoUpload.d.ts +134 -0
- package/dist/filters/controlMapping.d.ts +31 -0
- package/dist/filters/css-registry.d.ts +83 -0
- package/dist/filters/definitions/adjustment.d.ts +2 -0
- package/dist/filters/definitions/adjustmentAdvanced.d.ts +2 -0
- package/dist/filters/definitions/advancedBloom.d.ts +2 -0
- package/dist/filters/definitions/alpha.d.ts +2 -0
- package/dist/filters/definitions/ascii.d.ts +2 -0
- package/dist/filters/definitions/backdropBlur.d.ts +2 -0
- package/dist/filters/definitions/bevel.d.ts +2 -0
- package/dist/filters/definitions/bloom.d.ts +2 -0
- package/dist/filters/definitions/blur.d.ts +2 -0
- package/dist/filters/definitions/bulgePinch.d.ts +2 -0
- package/dist/filters/definitions/colorGradient.d.ts +2 -0
- package/dist/filters/definitions/colorMap.d.ts +2 -0
- package/dist/filters/definitions/colorMatrix.d.ts +2 -0
- package/dist/filters/definitions/colorOverlay.d.ts +2 -0
- package/dist/filters/definitions/colorReplace.d.ts +2 -0
- package/dist/filters/definitions/convolution.d.ts +2 -0
- package/dist/filters/definitions/crossHatch.d.ts +2 -0
- package/dist/filters/definitions/crt.d.ts +2 -0
- package/dist/filters/definitions/displacement.d.ts +2 -0
- package/dist/filters/definitions/dot.d.ts +2 -0
- package/dist/filters/definitions/dropShadow.d.ts +2 -0
- package/dist/filters/definitions/emboss.d.ts +2 -0
- package/dist/filters/definitions/glitch.d.ts +2 -0
- package/dist/filters/definitions/glow.d.ts +2 -0
- package/dist/filters/definitions/godray.d.ts +2 -0
- package/dist/filters/definitions/grayscale.d.ts +2 -0
- package/dist/filters/definitions/hslAdjustment.d.ts +2 -0
- package/dist/filters/definitions/kawaseBlur.d.ts +2 -0
- package/dist/filters/definitions/lightmap.d.ts +2 -0
- package/dist/filters/definitions/motionBlur.d.ts +2 -0
- package/dist/filters/definitions/multiColorReplace.d.ts +2 -0
- package/dist/filters/definitions/noise.d.ts +2 -0
- package/dist/filters/definitions/oldFilm.d.ts +2 -0
- package/dist/filters/definitions/outline.d.ts +2 -0
- package/dist/filters/definitions/pixelate.d.ts +2 -0
- package/dist/filters/definitions/radialBlur.d.ts +2 -0
- package/dist/filters/definitions/reflection.d.ts +2 -0
- package/dist/filters/definitions/rgbSplit.d.ts +2 -0
- package/dist/filters/definitions/shockwave.d.ts +2 -0
- package/dist/filters/definitions/simplexNoise.d.ts +2 -0
- package/dist/filters/definitions/tiltShift.d.ts +2 -0
- package/dist/filters/definitions/twist.d.ts +2 -0
- package/dist/filters/definitions/vignette.d.ts +2 -0
- package/dist/filters/definitions/zoomBlur.d.ts +2 -0
- package/dist/filters/factory.d.ts +38 -0
- package/dist/filters/filters/controlMapping.d.ts +31 -0
- package/dist/filters/filters/definitions/adjustment.d.ts +2 -0
- package/dist/filters/filters/definitions/adjustmentAdvanced.d.ts +2 -0
- package/dist/filters/filters/definitions/advancedBloom.d.ts +2 -0
- package/dist/filters/filters/definitions/alpha.d.ts +2 -0
- package/dist/filters/filters/definitions/ascii.d.ts +2 -0
- package/dist/filters/filters/definitions/backdropBlur.d.ts +2 -0
- package/dist/filters/filters/definitions/bevel.d.ts +2 -0
- package/dist/filters/filters/definitions/bloom.d.ts +2 -0
- package/dist/filters/filters/definitions/blur.d.ts +2 -0
- package/dist/filters/filters/definitions/bulgePinch.d.ts +2 -0
- package/dist/filters/filters/definitions/colorGradient.d.ts +2 -0
- package/dist/filters/filters/definitions/colorMap.d.ts +2 -0
- package/dist/filters/filters/definitions/colorMatrix.d.ts +2 -0
- package/dist/filters/filters/definitions/colorOverlay.d.ts +2 -0
- package/dist/filters/filters/definitions/colorReplace.d.ts +2 -0
- package/dist/filters/filters/definitions/convolution.d.ts +2 -0
- package/dist/filters/filters/definitions/crossHatch.d.ts +2 -0
- package/dist/filters/filters/definitions/crt.d.ts +2 -0
- package/dist/filters/filters/definitions/displacement.d.ts +2 -0
- package/dist/filters/filters/definitions/dot.d.ts +2 -0
- package/dist/filters/filters/definitions/dropShadow.d.ts +2 -0
- package/dist/filters/filters/definitions/emboss.d.ts +2 -0
- package/dist/filters/filters/definitions/glitch.d.ts +2 -0
- package/dist/filters/filters/definitions/glow.d.ts +2 -0
- package/dist/filters/filters/definitions/godray.d.ts +2 -0
- package/dist/filters/filters/definitions/grayscale.d.ts +2 -0
- package/dist/filters/filters/definitions/hslAdjustment.d.ts +2 -0
- package/dist/filters/filters/definitions/kawaseBlur.d.ts +2 -0
- package/dist/filters/filters/definitions/lightmap.d.ts +2 -0
- package/dist/filters/filters/definitions/motionBlur.d.ts +2 -0
- package/dist/filters/filters/definitions/multiColorReplace.d.ts +2 -0
- package/dist/filters/filters/definitions/noise.d.ts +2 -0
- package/dist/filters/filters/definitions/oldFilm.d.ts +2 -0
- package/dist/filters/filters/definitions/outline.d.ts +2 -0
- package/dist/filters/filters/definitions/pixelate.d.ts +2 -0
- package/dist/filters/filters/definitions/radialBlur.d.ts +2 -0
- package/dist/filters/filters/definitions/reflection.d.ts +2 -0
- package/dist/filters/filters/definitions/rgbSplit.d.ts +2 -0
- package/dist/filters/filters/definitions/shockwave.d.ts +2 -0
- package/dist/filters/filters/definitions/simplexNoise.d.ts +2 -0
- package/dist/filters/filters/definitions/tiltShift.d.ts +2 -0
- package/dist/filters/filters/definitions/twist.d.ts +2 -0
- package/dist/filters/filters/definitions/vignette.d.ts +2 -0
- package/dist/filters/filters/definitions/zoomBlur.d.ts +2 -0
- package/dist/filters/filters/factory.d.ts +36 -0
- package/dist/filters/filters/index.d.ts +93 -0
- package/dist/filters/filters/registry.d.ts +89 -0
- package/dist/filters/index.d.ts +93 -0
- package/dist/filters/registry.d.ts +89 -0
- package/dist/filters/video-compatible.d.ts +77 -0
- package/dist/filters/video-css-filters.d.ts +153 -0
- package/dist/index-6yUGA--H.cjs +42 -0
- package/dist/index-6yUGA--H.cjs.map +1 -0
- package/dist/index-CcGWfCCV.js +7799 -0
- package/dist/index-CcGWfCCV.js.map +1 -0
- package/dist/index-DTUgsw7J.cjs +76 -0
- package/dist/index-DTUgsw7J.cjs.map +1 -0
- package/dist/index-VrUG0lmk.js +28655 -0
- package/dist/index-VrUG0lmk.js.map +1 -0
- package/dist/index.d.ts +62 -0
- package/dist/js/workers/material-color-extractor.js +215 -0
- package/dist/mediables-vanilla.cjs +2 -0
- package/dist/mediables-vanilla.cjs.map +1 -0
- package/dist/mediables-vanilla.mjs +12 -0
- package/dist/mediables-vanilla.mjs.map +1 -0
- package/dist/mediables-vue.cjs +2 -0
- package/dist/mediables-vue.cjs.map +1 -0
- package/dist/mediables-vue.mjs +67 -0
- package/dist/mediables-vue.mjs.map +1 -0
- package/dist/render-page/assets/index-hBfvGPpt.js +48933 -0
- package/dist/render-page/index.html +18 -0
- package/dist/services/VideoJobClient.d.ts +79 -0
- package/dist/stores/albumStore.d.ts +4 -0
- package/dist/stores/mediaVariantStore.d.ts +1 -0
- package/dist/stores/useAdminMediaStore.d.ts +16 -0
- package/dist/stores/useMediaStore.d.ts +25 -0
- package/dist/stores/useVideoStore.d.ts +21 -0
- package/dist/stores/variantPollStore.d.ts +5 -0
- package/dist/stores/video.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/types/adapter.d.ts +181 -0
- package/dist/types/album.d.ts +28 -0
- package/dist/types/api.d.ts +88 -0
- package/dist/types/collection.d.ts +306 -0
- package/dist/types/editor.d.ts +172 -0
- package/dist/types/image.d.ts +210 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/media.d.ts +107 -0
- package/dist/types/types/address.d.ts +66 -0
- package/dist/types/types/admin/intelligent-po.d.ts +47 -0
- package/dist/types/types/admin/products/index.d.ts +17 -0
- package/dist/types/types/admin/purchase-order.d.ts +50 -0
- package/dist/types/types/admin/receipt.d.ts +86 -0
- package/dist/types/types/admin/vendor.d.ts +61 -0
- package/dist/types/types/ai.d.ts +63 -0
- package/dist/types/types/aiActions.d.ts +42 -0
- package/dist/types/types/aiDesigner.d.ts +77 -0
- package/dist/types/types/api-errors.d.ts +6 -0
- package/dist/types/types/api.d.ts +109 -0
- package/dist/types/types/bundle.d.ts +131 -0
- package/dist/types/types/bundles/analytics.d.ts +64 -0
- package/dist/types/types/bundles.d.ts +108 -0
- package/dist/types/types/cart.d.ts +81 -0
- package/dist/types/types/checkout.d.ts +40 -0
- package/dist/types/types/component-config.d.ts +26 -0
- package/dist/types/types/components.d.ts +32 -0
- package/dist/types/types/content.d.ts +138 -0
- package/dist/types/types/coupon.d.ts +32 -0
- package/dist/types/types/customer-product-history.d.ts +210 -0
- package/dist/types/types/drag-contracts.d.ts +40 -0
- package/dist/types/types/drag-drop.d.ts +19 -0
- package/dist/types/types/editor.d.ts +127 -0
- package/dist/types/types/errors.d.ts +36 -0
- package/dist/types/types/feedback.d.ts +122 -0
- package/dist/types/types/image.d.ts +210 -0
- package/dist/types/types/index.d.ts +62 -0
- package/dist/types/types/instagram.d.ts +86 -0
- package/dist/types/types/ionic-components.d.ts +152 -0
- package/dist/types/types/layout.d.ts +127 -0
- package/dist/types/types/media-gateway.d.ts +34 -0
- package/dist/types/types/media.d.ts +178 -0
- package/dist/types/types/notifications.d.ts +123 -0
- package/dist/types/types/order-management.d.ts +245 -0
- package/dist/types/types/pageBuilder/block.d.ts +34 -0
- package/dist/types/types/pageBuilder/blocks.d.ts +82 -0
- package/dist/types/types/pageBuilder/cache.d.ts +33 -0
- package/dist/types/types/pageBuilder/editor.d.ts +15 -0
- package/dist/types/types/pageBuilder/field.d.ts +11 -0
- package/dist/types/types/pageBuilder/index.d.ts +24 -0
- package/dist/types/types/pageBuilder/revisions.d.ts +40 -0
- package/dist/types/types/pageBuilder/templates.d.ts +62 -0
- package/dist/types/types/pattern.d.ts +40 -0
- package/dist/types/types/payment.d.ts +21 -0
- package/dist/types/types/payments.d.ts +10 -0
- package/dist/types/types/pipeline.d.ts +12 -0
- package/dist/types/types/pixi/filter-args.d.ts +274 -0
- package/dist/types/types/pixi/filters-extended.d.ts +157 -0
- package/dist/types/types/pixi/filters.d.ts +38 -0
- package/dist/types/types/preview.d.ts +36 -0
- package/dist/types/types/pricing.d.ts +31 -0
- package/dist/types/types/quickbooks.d.ts +43 -0
- package/dist/types/types/receipt.d.ts +121 -0
- package/dist/types/types/rewards.d.ts +110 -0
- package/dist/types/types/saved-cart.d.ts +51 -0
- package/dist/types/types/settings.d.ts +63 -0
- package/dist/types/types/shipment.d.ts +62 -0
- package/dist/types/types/shipping.d.ts +98 -0
- package/dist/types/types/sidebar-variations.d.ts +226 -0
- package/dist/types/types/slots.d.ts +2 -0
- package/dist/types/types/specification-types.d.ts +70 -0
- package/dist/types/types/specifications.d.ts +163 -0
- package/dist/types/types/store.d.ts +64 -0
- package/dist/types/types/template.d.ts +8 -0
- package/dist/types/types/user.d.ts +47 -0
- package/dist/types/types/variant-groups.d.ts +158 -0
- package/dist/types/types/wishlist.d.ts +73 -0
- package/dist/types/types/workflow-wizard.d.ts +12 -0
- package/dist/types/video.d.ts +449 -0
- package/dist/utils/category-tree-constants.d.ts +42 -0
- package/dist/utils/cookies.d.ts +3 -0
- package/dist/utils/crypto-polyfill.d.ts +4 -0
- package/dist/utils/datetime.d.ts +43 -0
- package/dist/utils/debounce.d.ts +10 -0
- package/dist/utils/debugConsole.d.ts +69 -0
- package/dist/utils/editor/argHelpers.d.ts +6 -0
- package/dist/utils/formatters.d.ts +105 -0
- package/dist/utils/isPresignedAwsUrl.d.ts +67 -0
- package/dist/utils/media-helpers.d.ts +34 -0
- package/dist/utils/normalisePricing.d.ts +11 -0
- package/dist/utils/recipe-generator.d.ts +34 -0
- package/dist/utils/string.d.ts +29 -0
- package/dist/utils/unwrapApiResponse.d.ts +5 -0
- package/dist/utils/uuid.d.ts +30 -0
- package/dist/utils/validators.d.ts +28 -0
- package/dist/utils/video-export.d.ts +60 -0
- package/dist/v3-ionic-1-demo.html +440 -0
- package/dist/video-engine/VideoEngine.d.ts +267 -0
- package/dist/video-engine/adapters/AudioManager.d.ts +106 -0
- package/dist/video-engine/adapters/CSSFilterAdapter.d.ts +106 -0
- package/dist/video-engine/adapters/ExportManager.d.ts +88 -0
- package/dist/video-engine/adapters/FilterBridge.d.ts +96 -0
- package/dist/video-engine/adapters/MediablesCompositionAdapter.d.ts +56 -0
- package/dist/video-engine/adapters/PixiFrameExporter.d.ts +52 -0
- package/dist/video-engine/adapters/RenderQueue.d.ts +119 -0
- package/dist/video-engine/adapters/TextOverlayManager.d.ts +93 -0
- package/dist/video-engine/adapters/TimelineAdapter.d.ts +58 -0
- package/dist/video-engine/adapters/TransitionManager.d.ts +76 -0
- package/dist/video-engine/adapters/WebCodecsExport.d.ts +36 -0
- package/dist/video-engine/compositions/examples/example.d.ts +2 -0
- package/dist/video-engine/filters/CSSFilterSystem.d.ts +213 -0
- package/dist/video-engine/index.d.ts +14 -0
- package/dist/video-engine/presets/ExportPresets.d.ts +70 -0
- package/dist/video-engine/types/index.d.ts +96 -0
- package/dist/video-engine/types.d.ts +1 -0
- package/dist/video-engine/utils/EventEmitter.d.ts +12 -0
- package/dist/video-engine/utils/MediaSourceResolver.d.ts +9 -0
- package/dist/video-engine/utils/error-reporter.d.ts +159 -0
- package/dist/video-engine/utils/keyboard-shortcuts.d.ts +120 -0
- package/dist/video-engine/utils/pixi-video-fallback.d.ts +2 -0
- package/docs/video-subsystem/README.md +490 -0
- package/docs/video-subsystem/api-reference.md +747 -0
- package/docs/video-subsystem/component-examples.md +1477 -0
- package/docs/video-subsystem/integration-guide.md +1021 -0
- package/package.json +102 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
export interface Review {
|
|
2
|
+
id: string;
|
|
3
|
+
product_id: string;
|
|
4
|
+
user_id: string;
|
|
5
|
+
order_product_id?: string;
|
|
6
|
+
rating: number;
|
|
7
|
+
title?: string;
|
|
8
|
+
review: string;
|
|
9
|
+
is_recommended: boolean;
|
|
10
|
+
is_anonymous: boolean;
|
|
11
|
+
is_verified_purchase?: boolean;
|
|
12
|
+
helpful_count: number;
|
|
13
|
+
not_helpful_count: number;
|
|
14
|
+
status: 'pending' | 'approved' | 'rejected' | 'flagged';
|
|
15
|
+
moderation_notes?: string;
|
|
16
|
+
seller_response?: string;
|
|
17
|
+
seller_response_at?: string;
|
|
18
|
+
points_awarded: number;
|
|
19
|
+
created_at: string;
|
|
20
|
+
updated_at: string;
|
|
21
|
+
approved_at?: string;
|
|
22
|
+
user?: User;
|
|
23
|
+
display_name?: string;
|
|
24
|
+
media?: MediaItem[];
|
|
25
|
+
user_vote?: 'helpful' | 'not_helpful' | null;
|
|
26
|
+
purchased_variant?: {
|
|
27
|
+
uuid: string;
|
|
28
|
+
name: string;
|
|
29
|
+
sku: string;
|
|
30
|
+
attributes?: Record<string, any>;
|
|
31
|
+
};
|
|
32
|
+
variant_attributes?: Record<string, any>;
|
|
33
|
+
}
|
|
34
|
+
export interface Question {
|
|
35
|
+
id: string;
|
|
36
|
+
product_id: string;
|
|
37
|
+
user_id: string;
|
|
38
|
+
question: string;
|
|
39
|
+
category?: string;
|
|
40
|
+
status: 'pending' | 'approved' | 'rejected' | 'answered';
|
|
41
|
+
answer_count: number;
|
|
42
|
+
view_count: number;
|
|
43
|
+
best_answer_id?: string;
|
|
44
|
+
created_at: string;
|
|
45
|
+
updated_at: string;
|
|
46
|
+
user?: User;
|
|
47
|
+
answers?: Answer[];
|
|
48
|
+
}
|
|
49
|
+
export interface Answer {
|
|
50
|
+
id: string;
|
|
51
|
+
question_id: string;
|
|
52
|
+
user_id: string;
|
|
53
|
+
answer: string;
|
|
54
|
+
is_seller_response: boolean;
|
|
55
|
+
helpful_count: number;
|
|
56
|
+
status: 'pending' | 'approved' | 'rejected';
|
|
57
|
+
points_awarded: number;
|
|
58
|
+
created_at: string;
|
|
59
|
+
updated_at: string;
|
|
60
|
+
user?: User;
|
|
61
|
+
media?: MediaItem[];
|
|
62
|
+
is_best_answer?: boolean;
|
|
63
|
+
user_vote?: 'helpful' | 'not_helpful' | null;
|
|
64
|
+
}
|
|
65
|
+
export interface User {
|
|
66
|
+
id: string;
|
|
67
|
+
name: string;
|
|
68
|
+
avatar_url?: string;
|
|
69
|
+
is_verified_buyer?: boolean;
|
|
70
|
+
}
|
|
71
|
+
export interface MediaItem {
|
|
72
|
+
id: string;
|
|
73
|
+
url: string;
|
|
74
|
+
thumbnail_url: string;
|
|
75
|
+
type: 'image' | 'video';
|
|
76
|
+
order: number;
|
|
77
|
+
}
|
|
78
|
+
export interface ReviewStats {
|
|
79
|
+
average_rating: number;
|
|
80
|
+
total_reviews: number;
|
|
81
|
+
rating_distribution: {
|
|
82
|
+
1: number;
|
|
83
|
+
2: number;
|
|
84
|
+
3: number;
|
|
85
|
+
4: number;
|
|
86
|
+
5: number;
|
|
87
|
+
};
|
|
88
|
+
verified_purchase_count: number;
|
|
89
|
+
with_images_count: number;
|
|
90
|
+
}
|
|
91
|
+
export interface FeedbackFilters {
|
|
92
|
+
rating?: number;
|
|
93
|
+
variant_uuid?: string;
|
|
94
|
+
verified_only?: boolean;
|
|
95
|
+
with_images_only?: boolean;
|
|
96
|
+
sort_by?: 'newest' | 'most_helpful' | 'highest' | 'lowest';
|
|
97
|
+
}
|
|
98
|
+
export interface QuestionFilters {
|
|
99
|
+
category?: string;
|
|
100
|
+
answered_only?: boolean;
|
|
101
|
+
sort_by?: 'newest' | 'most_viewed' | 'most_answered';
|
|
102
|
+
}
|
|
103
|
+
export interface VotePayload {
|
|
104
|
+
type: 'helpful' | 'not_helpful';
|
|
105
|
+
}
|
|
106
|
+
export interface ReviewFormData {
|
|
107
|
+
rating: number;
|
|
108
|
+
title?: string;
|
|
109
|
+
review: string;
|
|
110
|
+
is_recommended: boolean;
|
|
111
|
+
is_anonymous: boolean;
|
|
112
|
+
media?: File[];
|
|
113
|
+
}
|
|
114
|
+
export interface QuestionFormData {
|
|
115
|
+
question: string;
|
|
116
|
+
category?: string;
|
|
117
|
+
email_notifications?: boolean;
|
|
118
|
+
}
|
|
119
|
+
export interface AnswerFormData {
|
|
120
|
+
answer: string;
|
|
121
|
+
media?: File[];
|
|
122
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type definitions for image management components
|
|
3
|
+
*/
|
|
4
|
+
export type Image = Media;
|
|
5
|
+
export interface ImageApiResponse {
|
|
6
|
+
uuid: string;
|
|
7
|
+
name: string;
|
|
8
|
+
file_name: string;
|
|
9
|
+
mime_type: string;
|
|
10
|
+
size: number;
|
|
11
|
+
formatted_size?: string;
|
|
12
|
+
disk: string;
|
|
13
|
+
custom_properties: Record<string, unknown>;
|
|
14
|
+
created_at: string | null;
|
|
15
|
+
updated_at: string | null;
|
|
16
|
+
original_url: string | null;
|
|
17
|
+
url?: string;
|
|
18
|
+
thumbnail_url?: string;
|
|
19
|
+
conversion_urls?: {
|
|
20
|
+
[key: string]: string | null | undefined;
|
|
21
|
+
thumb?: string | undefined;
|
|
22
|
+
preview?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
responsive_images?: {
|
|
25
|
+
[key: string]: {
|
|
26
|
+
urls: string[];
|
|
27
|
+
base64svg?: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
srcset?: {
|
|
31
|
+
[key: string]: string | null;
|
|
32
|
+
};
|
|
33
|
+
collection_name: string;
|
|
34
|
+
order_column?: number | null;
|
|
35
|
+
variants?: MediaVariant[];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Represents a media item in the system
|
|
39
|
+
* Comprehensive interface that covers all media properties
|
|
40
|
+
*/
|
|
41
|
+
export interface Media {
|
|
42
|
+
uuid: string;
|
|
43
|
+
name: string;
|
|
44
|
+
filename?: string;
|
|
45
|
+
file_name: string;
|
|
46
|
+
mime_type: string;
|
|
47
|
+
size: number;
|
|
48
|
+
formatted_size?: string;
|
|
49
|
+
width?: number;
|
|
50
|
+
height?: number;
|
|
51
|
+
is_image?: boolean;
|
|
52
|
+
thumbnail_url?: string;
|
|
53
|
+
url?: string;
|
|
54
|
+
original_url: string | null;
|
|
55
|
+
preview_url?: string;
|
|
56
|
+
album_uuid?: string | null;
|
|
57
|
+
collection_name: string;
|
|
58
|
+
mediaCategory?: 'product' | 'temporary' | 'user_content' | string;
|
|
59
|
+
created_at: string | null;
|
|
60
|
+
updated_at: string | null;
|
|
61
|
+
disk: string;
|
|
62
|
+
responsive_images?: {
|
|
63
|
+
[key: string]: {
|
|
64
|
+
urls: string[];
|
|
65
|
+
base64svg?: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
custom_properties: Record<string, unknown>;
|
|
69
|
+
manipulations?: Record<string, any>;
|
|
70
|
+
order_column?: number;
|
|
71
|
+
conversions_disk?: string;
|
|
72
|
+
extension?: string;
|
|
73
|
+
generated_conversions?: Record<string, boolean>;
|
|
74
|
+
conversions?: {
|
|
75
|
+
[key: string]: string;
|
|
76
|
+
};
|
|
77
|
+
variants?: MediaVariant[];
|
|
78
|
+
srcset?: {
|
|
79
|
+
[key: string]: string | null;
|
|
80
|
+
};
|
|
81
|
+
conversion_urls?: {
|
|
82
|
+
[key: string]: string | null;
|
|
83
|
+
};
|
|
84
|
+
caption?: string | null;
|
|
85
|
+
alt_text?: string | null;
|
|
86
|
+
isProcessing?: boolean;
|
|
87
|
+
placeholderSvg?: string | null;
|
|
88
|
+
thumbUrl?: string;
|
|
89
|
+
urls?: {
|
|
90
|
+
[key: string]: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Represents an album for organizing media
|
|
95
|
+
*/
|
|
96
|
+
export interface Album {
|
|
97
|
+
uuid: string;
|
|
98
|
+
id?: string;
|
|
99
|
+
name: string;
|
|
100
|
+
parent_id?: string | null;
|
|
101
|
+
parentUuid: string | null;
|
|
102
|
+
children?: Album[];
|
|
103
|
+
userUuid?: string;
|
|
104
|
+
order: number;
|
|
105
|
+
created_at?: string;
|
|
106
|
+
updated_at?: string;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Metadata for API pagination
|
|
110
|
+
*/
|
|
111
|
+
export interface PaginationMeta {
|
|
112
|
+
current_page: number;
|
|
113
|
+
from?: number;
|
|
114
|
+
last_page: number;
|
|
115
|
+
path?: string;
|
|
116
|
+
per_page: number;
|
|
117
|
+
to?: number;
|
|
118
|
+
total: number;
|
|
119
|
+
links?: Array<{
|
|
120
|
+
url: string | null;
|
|
121
|
+
label: string;
|
|
122
|
+
active: boolean;
|
|
123
|
+
}>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* API response for a single media item
|
|
127
|
+
*/
|
|
128
|
+
export interface MediaResponse {
|
|
129
|
+
data: Media;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* API response for a collection of media items
|
|
133
|
+
*/
|
|
134
|
+
export interface MediaCollectionResponse {
|
|
135
|
+
data: Media[];
|
|
136
|
+
meta: PaginationMeta;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Media variant representing a processed version of media
|
|
140
|
+
*/
|
|
141
|
+
export interface MediaVariant {
|
|
142
|
+
uuid: string;
|
|
143
|
+
status: 'pending' | 'processing' | 'complete' | 'failed';
|
|
144
|
+
disk: string;
|
|
145
|
+
path: string;
|
|
146
|
+
data: Record<string, unknown>;
|
|
147
|
+
image_uuid?: string;
|
|
148
|
+
url?: string;
|
|
149
|
+
pipeline?: any;
|
|
150
|
+
error?: string;
|
|
151
|
+
created_at?: string;
|
|
152
|
+
updated_at?: string;
|
|
153
|
+
progress?: number;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Basic collection response (legacy compatibility)
|
|
157
|
+
*/
|
|
158
|
+
export interface MediaCollection {
|
|
159
|
+
data: MediaItem[];
|
|
160
|
+
meta: {
|
|
161
|
+
current_page: number;
|
|
162
|
+
total: number;
|
|
163
|
+
per_page: number;
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Represents a media item for basic operations (legacy compatibility)
|
|
168
|
+
*/
|
|
169
|
+
export interface MediaItem {
|
|
170
|
+
uuid: string;
|
|
171
|
+
file_name: string;
|
|
172
|
+
mime_type: string;
|
|
173
|
+
size: number;
|
|
174
|
+
caption: string | null;
|
|
175
|
+
alt_text: string | null;
|
|
176
|
+
disk: string;
|
|
177
|
+
conversions: {
|
|
178
|
+
[key: string]: string;
|
|
179
|
+
};
|
|
180
|
+
custom_properties: Record<string, unknown>;
|
|
181
|
+
generated_conversions: {
|
|
182
|
+
[key: string]: boolean;
|
|
183
|
+
};
|
|
184
|
+
original_url: string;
|
|
185
|
+
preview_url: string;
|
|
186
|
+
created_at: string;
|
|
187
|
+
updated_at: string;
|
|
188
|
+
urls?: {
|
|
189
|
+
[key: string]: string | undefined;
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Media update payload for API requests
|
|
194
|
+
*/
|
|
195
|
+
export interface MediaUpdatePayload {
|
|
196
|
+
alt_text?: string | null;
|
|
197
|
+
caption?: string | null;
|
|
198
|
+
custom_properties?: Record<string, unknown>;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Search parameters for media filtering
|
|
202
|
+
*/
|
|
203
|
+
export interface MediaSearchParams {
|
|
204
|
+
q?: string | null;
|
|
205
|
+
album_uuid?: string | null;
|
|
206
|
+
album_id?: string | null;
|
|
207
|
+
collection_name?: string | null;
|
|
208
|
+
page?: number;
|
|
209
|
+
per_page?: number;
|
|
210
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export interface BlockField {
|
|
2
|
+
type: string;
|
|
3
|
+
required?: boolean;
|
|
4
|
+
default?: unknown;
|
|
5
|
+
}
|
|
6
|
+
export interface BlockDefinition {
|
|
7
|
+
name: string;
|
|
8
|
+
type: string;
|
|
9
|
+
label: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
icon?: string;
|
|
12
|
+
fields: Record<string, BlockField>;
|
|
13
|
+
}
|
|
14
|
+
export interface Block {
|
|
15
|
+
id: string;
|
|
16
|
+
type: string;
|
|
17
|
+
data: Record<string, unknown>;
|
|
18
|
+
children?: Block[];
|
|
19
|
+
}
|
|
20
|
+
export * from './cart';
|
|
21
|
+
export type { Media, MediaItem, MediaCollection, MediaUpdatePayload, MediaVariant, Album, PaginationMeta, MediaResponse, MediaCollectionResponse, MediaSearchParams, Image, ImageApiResponse } from './media';
|
|
22
|
+
export * from './wishlist';
|
|
23
|
+
export * from './saved-cart';
|
|
24
|
+
export * from './api';
|
|
25
|
+
export * from './component-config';
|
|
26
|
+
export * from './nuxt-auto-imports';
|
|
27
|
+
export interface ValidationRule {
|
|
28
|
+
id?: string;
|
|
29
|
+
name: string;
|
|
30
|
+
description: string;
|
|
31
|
+
type: 'schema' | 'custom' | 'regex' | 'required_field' | 'field_type' | 'pattern_match';
|
|
32
|
+
severity: number | 'critical' | 'major' | 'minor';
|
|
33
|
+
score_impact?: number;
|
|
34
|
+
is_active?: boolean;
|
|
35
|
+
enabled?: boolean;
|
|
36
|
+
config: {
|
|
37
|
+
schema?: string;
|
|
38
|
+
validator?: string;
|
|
39
|
+
pattern?: string;
|
|
40
|
+
message?: string;
|
|
41
|
+
field?: string;
|
|
42
|
+
type?: string;
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
};
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
}
|
|
47
|
+
export interface ValidationResult {
|
|
48
|
+
passed: boolean;
|
|
49
|
+
score: number;
|
|
50
|
+
deductions: Array<{
|
|
51
|
+
message: string;
|
|
52
|
+
impact: number;
|
|
53
|
+
severity: string;
|
|
54
|
+
}>;
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}
|
|
57
|
+
export interface ValidationDeduction {
|
|
58
|
+
message: string;
|
|
59
|
+
impact: number;
|
|
60
|
+
severity: string;
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
export interface AnalysisThresholds {
|
|
2
|
+
min_engagement_score: number;
|
|
3
|
+
min_content_score: number;
|
|
4
|
+
min_growth_potential: number;
|
|
5
|
+
min_brand_safety: number;
|
|
6
|
+
min_audience_fit: number;
|
|
7
|
+
}
|
|
8
|
+
export interface AnalysisWeights {
|
|
9
|
+
engagement: number;
|
|
10
|
+
content: number;
|
|
11
|
+
growth: number;
|
|
12
|
+
bonus: number;
|
|
13
|
+
}
|
|
14
|
+
export interface AnalysisSettings {
|
|
15
|
+
thresholds: AnalysisThresholds;
|
|
16
|
+
weights: AnalysisWeights;
|
|
17
|
+
}
|
|
18
|
+
export interface AnalysisErrors {
|
|
19
|
+
thresholds?: {
|
|
20
|
+
min_engagement_score?: string;
|
|
21
|
+
min_content_score?: string;
|
|
22
|
+
min_growth_potential?: string;
|
|
23
|
+
min_brand_safety?: string;
|
|
24
|
+
min_audience_fit?: string;
|
|
25
|
+
};
|
|
26
|
+
weights?: {
|
|
27
|
+
engagement?: string;
|
|
28
|
+
content?: string;
|
|
29
|
+
growth?: string;
|
|
30
|
+
bonus?: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export interface AISettings {
|
|
34
|
+
model: {
|
|
35
|
+
value: string;
|
|
36
|
+
};
|
|
37
|
+
temperature: {
|
|
38
|
+
value: number;
|
|
39
|
+
};
|
|
40
|
+
max_tokens: {
|
|
41
|
+
value: number;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export interface AgentSettings {
|
|
45
|
+
fetcher: {
|
|
46
|
+
ai_settings: AISettings;
|
|
47
|
+
prompt?: string;
|
|
48
|
+
};
|
|
49
|
+
analyzer: {
|
|
50
|
+
ai_settings: AISettings;
|
|
51
|
+
prompt?: string;
|
|
52
|
+
};
|
|
53
|
+
manager: {
|
|
54
|
+
ai_settings: AISettings;
|
|
55
|
+
prompt?: string;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export interface AgentErrors {
|
|
59
|
+
general?: string;
|
|
60
|
+
fetcher?: {
|
|
61
|
+
ai_settings?: {
|
|
62
|
+
model?: string;
|
|
63
|
+
temperature?: string;
|
|
64
|
+
max_tokens?: string;
|
|
65
|
+
};
|
|
66
|
+
prompt?: string;
|
|
67
|
+
};
|
|
68
|
+
analyzer?: {
|
|
69
|
+
ai_settings?: {
|
|
70
|
+
model?: string;
|
|
71
|
+
temperature?: string;
|
|
72
|
+
max_tokens?: string;
|
|
73
|
+
};
|
|
74
|
+
prompt?: string;
|
|
75
|
+
};
|
|
76
|
+
manager?: {
|
|
77
|
+
ai_settings?: {
|
|
78
|
+
model?: string;
|
|
79
|
+
temperature?: string;
|
|
80
|
+
max_tokens?: string;
|
|
81
|
+
};
|
|
82
|
+
prompt?: string;
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export declare const defaultAgentSettings: AgentSettings;
|
|
86
|
+
export declare const defaultAnalysisSettings: AnalysisSettings;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Standardized Ionic Component API Types
|
|
3
|
+
* These interfaces ensure consistent prop naming and TypeScript support across all components
|
|
4
|
+
*/
|
|
5
|
+
export type IonicColor = 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
|
|
6
|
+
export type IonicFill = 'solid' | 'outline' | 'clear' | 'default';
|
|
7
|
+
export type IonicSize = 'small' | 'default' | 'large';
|
|
8
|
+
export interface IonicButtonProps {
|
|
9
|
+
color?: IonicColor;
|
|
10
|
+
fill?: IonicFill;
|
|
11
|
+
size?: IonicSize;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
expand?: 'full' | 'block';
|
|
15
|
+
shape?: 'round';
|
|
16
|
+
type?: 'button' | 'submit' | 'reset';
|
|
17
|
+
}
|
|
18
|
+
export interface IonicInputProps {
|
|
19
|
+
modelValue?: string | number;
|
|
20
|
+
label?: string;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
readonly?: boolean;
|
|
24
|
+
required?: boolean;
|
|
25
|
+
error?: string;
|
|
26
|
+
helperText?: string;
|
|
27
|
+
clearInput?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface IonicSelectProps {
|
|
30
|
+
modelValue?: string | number | string[] | number[];
|
|
31
|
+
label?: string;
|
|
32
|
+
placeholder?: string;
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
multiple?: boolean;
|
|
35
|
+
options: SelectOption[];
|
|
36
|
+
interface?: 'action-sheet' | 'alert' | 'popover';
|
|
37
|
+
error?: string;
|
|
38
|
+
helperText?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface SelectOption {
|
|
41
|
+
value: string | number;
|
|
42
|
+
label: string;
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface IonicToggleProps {
|
|
46
|
+
modelValue?: boolean;
|
|
47
|
+
label?: string;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
error?: string;
|
|
50
|
+
helperText?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface IonicModalProps {
|
|
53
|
+
isOpen?: boolean;
|
|
54
|
+
title?: string;
|
|
55
|
+
variant?: 'default' | 'danger' | 'success';
|
|
56
|
+
size?: 'small' | 'medium' | 'large' | 'full';
|
|
57
|
+
showCancel?: boolean;
|
|
58
|
+
showConfirm?: boolean;
|
|
59
|
+
cancelText?: string;
|
|
60
|
+
confirmText?: string;
|
|
61
|
+
loading?: boolean;
|
|
62
|
+
preventClose?: boolean;
|
|
63
|
+
}
|
|
64
|
+
export interface IonicToastProps {
|
|
65
|
+
message: string;
|
|
66
|
+
type?: 'info' | 'success' | 'warning' | 'error';
|
|
67
|
+
duration?: number;
|
|
68
|
+
position?: 'top' | 'middle' | 'bottom';
|
|
69
|
+
showCloseButton?: boolean;
|
|
70
|
+
}
|
|
71
|
+
export interface IonicBadgeProps {
|
|
72
|
+
color?: IonicColor;
|
|
73
|
+
text?: string;
|
|
74
|
+
dot?: boolean;
|
|
75
|
+
}
|
|
76
|
+
export interface IonicCardProps {
|
|
77
|
+
color?: IonicColor;
|
|
78
|
+
disabled?: boolean;
|
|
79
|
+
href?: string;
|
|
80
|
+
target?: string;
|
|
81
|
+
routerLink?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface IonicChipProps {
|
|
84
|
+
color?: IonicColor;
|
|
85
|
+
outline?: boolean;
|
|
86
|
+
disabled?: boolean;
|
|
87
|
+
removable?: boolean;
|
|
88
|
+
}
|
|
89
|
+
export interface IonicFormFieldProps {
|
|
90
|
+
label?: string;
|
|
91
|
+
required?: boolean;
|
|
92
|
+
error?: string;
|
|
93
|
+
helperText?: string;
|
|
94
|
+
tooltip?: string;
|
|
95
|
+
searchQuery?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface IonicEventHandlers {
|
|
98
|
+
onClick?: (event: CustomEvent) => void;
|
|
99
|
+
onIonInput?: (event: CustomEvent) => void;
|
|
100
|
+
onIonChange?: (event: CustomEvent) => void;
|
|
101
|
+
onIonBlur?: (event: CustomEvent) => void;
|
|
102
|
+
onIonFocus?: (event: CustomEvent) => void;
|
|
103
|
+
onDidDismiss?: (event: CustomEvent) => void;
|
|
104
|
+
onWillDismiss?: (event: CustomEvent) => void;
|
|
105
|
+
onIonCancel?: (event: CustomEvent) => void;
|
|
106
|
+
onIonClick?: (event: CustomEvent) => void;
|
|
107
|
+
}
|
|
108
|
+
export type ComponentStatus = 'idle' | 'loading' | 'success' | 'error';
|
|
109
|
+
export type ComponentVariant = 'default' | 'primary' | 'secondary' | 'danger' | 'success' | 'warning';
|
|
110
|
+
export interface ComponentSizeSystem {
|
|
111
|
+
padding: {
|
|
112
|
+
small: string;
|
|
113
|
+
medium: string;
|
|
114
|
+
large: string;
|
|
115
|
+
};
|
|
116
|
+
text: {
|
|
117
|
+
small: string;
|
|
118
|
+
medium: string;
|
|
119
|
+
large: string;
|
|
120
|
+
};
|
|
121
|
+
icon: {
|
|
122
|
+
small: string;
|
|
123
|
+
medium: string;
|
|
124
|
+
large: string;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
export interface ResponsiveProps {
|
|
128
|
+
xs?: string | number;
|
|
129
|
+
sm?: string | number;
|
|
130
|
+
md?: string | number;
|
|
131
|
+
lg?: string | number;
|
|
132
|
+
xl?: string | number;
|
|
133
|
+
}
|
|
134
|
+
export interface AnimationProps {
|
|
135
|
+
enterAnimation?: any;
|
|
136
|
+
leaveAnimation?: any;
|
|
137
|
+
duration?: number;
|
|
138
|
+
}
|
|
139
|
+
export interface AccessibilityProps {
|
|
140
|
+
ariaLabel?: string;
|
|
141
|
+
ariaDescribedBy?: string;
|
|
142
|
+
ariaExpanded?: boolean;
|
|
143
|
+
ariaHidden?: boolean;
|
|
144
|
+
role?: string;
|
|
145
|
+
tabIndex?: number;
|
|
146
|
+
}
|
|
147
|
+
export interface BaseComponentProps extends AccessibilityProps {
|
|
148
|
+
id?: string;
|
|
149
|
+
class?: string | string[] | Record<string, boolean>;
|
|
150
|
+
style?: string | Record<string, any>;
|
|
151
|
+
testId?: string;
|
|
152
|
+
}
|