cryptis-video-editor 0.1.2 → 0.1.3
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/app/api/pexels/route.d.ts +28 -0
- package/dist/app/api/pexels-videos/route.d.ts +44 -0
- package/dist/app/api/render/[id]/route.d.ts +6 -0
- package/dist/app/api/render/route.d.ts +3 -0
- package/dist/app/api/transcribe/[id]/route.d.ts +6 -0
- package/dist/app/api/transcribe/route.d.ts +2 -0
- package/dist/app/api/uploads/presign/route.d.ts +16 -0
- package/dist/app/api/uploads/url/route.d.ts +16 -0
- package/dist/app/api/voices/route.d.ts +2 -0
- package/dist/app/edit/[...id]/page.d.ts +5 -0
- package/dist/app/edit/page.d.ts +1 -0
- package/dist/app/layout.d.ts +5 -0
- package/dist/app/page.d.ts +1 -0
- package/dist/components/back-nav.d.ts +1 -0
- package/dist/components/color-picker/button.d.ts +11 -0
- package/dist/components/color-picker/color-control.d.ts +14 -0
- package/dist/components/color-picker/color-panel/alpha.d.ts +5 -0
- package/dist/components/color-picker/color-panel/board.d.ts +5 -0
- package/dist/components/color-picker/color-panel/index.d.ts +4 -0
- package/dist/components/color-picker/color-panel/ribbon.d.ts +5 -0
- package/dist/components/color-picker/color-panel/types.d.ts +31 -0
- package/dist/components/color-picker/constants.d.ts +6 -0
- package/dist/components/color-picker/gradient/index.d.ts +4 -0
- package/dist/components/color-picker/gradient-panel/Markers.d.ts +5 -0
- package/dist/components/color-picker/gradient-panel/index.d.ts +3 -0
- package/dist/components/color-picker/gradient-panel/types.d.ts +28 -0
- package/dist/components/color-picker/helper.d.ts +4 -0
- package/dist/components/color-picker/helpers.d.ts +3 -0
- package/dist/components/color-picker/index.d.ts +5 -0
- package/dist/components/color-picker/input.d.ts +5 -0
- package/dist/components/color-picker/popover.d.ts +6 -0
- package/dist/components/color-picker/solid/index.d.ts +4 -0
- package/dist/components/color-picker/tabs.d.ts +7 -0
- package/dist/components/color-picker/types.d.ts +33 -0
- package/dist/components/color-picker/utils/checkFormat.d.ts +2 -0
- package/dist/components/color-picker/utils/color.d.ts +71 -0
- package/dist/components/color-picker/utils/getGradient.d.ts +2 -0
- package/dist/components/color-picker/utils/getHexAlpha.d.ts +5 -0
- package/dist/components/color-picker/utils/hexToRgba.d.ts +2 -0
- package/dist/components/color-picker/utils/index.d.ts +12 -0
- package/dist/components/color-picker/utils/isValidHex.d.ts +2 -0
- package/dist/components/color-picker/utils/isValidRgba.d.ts +2 -0
- package/dist/components/color-picker/utils/parseGradient.d.ts +7 -0
- package/dist/components/color-picker/utils/rgbaToArray.d.ts +2 -0
- package/dist/components/color-picker/utils/rgbaToHex.d.ts +2 -0
- package/dist/components/color-picker/utils/useDebounce.d.ts +2 -0
- package/dist/components/color-picker/utils/validGradient.d.ts +15 -0
- package/dist/components/modal-upload.d.ts +7 -0
- package/dist/components/query-provider.d.ts +3 -0
- package/dist/components/shared/draggable.d.ts +9 -0
- package/dist/components/shared/icons.d.ts +82 -0
- package/dist/components/shared/logos.d.ts +10 -0
- package/dist/components/store-initializer.d.ts +2 -0
- package/dist/components/ui/accordion.d.ts +7 -0
- package/dist/components/ui/autosize-input.d.ts +14 -0
- package/dist/components/ui/avatar.d.ts +6 -0
- package/dist/components/ui/badge.d.ts +9 -0
- package/dist/components/ui/border-beam.d.ts +12 -0
- package/dist/components/ui/button.d.ts +10 -0
- package/dist/components/ui/card.d.ts +8 -0
- package/dist/components/ui/chat-message.d.ts +65 -0
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/copy-button.d.ts +6 -0
- package/dist/components/ui/dialog.d.ts +15 -0
- package/dist/components/ui/drawer.d.ts +13 -0
- package/dist/components/ui/dropdown-menu.d.ts +25 -0
- package/dist/components/ui/droppable.d.ts +13 -0
- package/dist/components/ui/file-preview.d.ts +7 -0
- package/dist/components/ui/glowing-effect.d.ts +14 -0
- package/dist/components/ui/horizontal-scroll.d.ts +11 -0
- package/dist/components/ui/image-loading.d.ts +5 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/interrupt-prompt.d.ts +6 -0
- package/dist/components/ui/label.d.ts +4 -0
- package/dist/components/ui/markdown-renderer.d.ts +5 -0
- package/dist/components/ui/popover.d.ts +7 -0
- package/dist/components/ui/resizable.d.ts +8 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/select.d.ts +15 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/slider.d.ts +4 -0
- package/dist/components/ui/sonner.d.ts +3 -0
- package/dist/components/ui/switch.d.ts +4 -0
- package/dist/components/ui/tabs.d.ts +7 -0
- package/dist/components/ui/textarea.d.ts +3 -0
- package/dist/components/ui/toggle-group.d.ts +7 -0
- package/dist/components/ui/toggle.d.ts +9 -0
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/components/ui/visually-hidden.d.ts +3 -0
- package/dist/constants/api.d.ts +11 -0
- package/dist/features/editor/constants/constants.d.ts +16 -0
- package/dist/features/editor/constants/events.d.ts +7 -0
- package/dist/features/editor/constants/font.d.ts +13 -0
- package/dist/features/editor/constants/payload.d.ts +26 -0
- package/dist/features/editor/constants/scale.d.ts +2 -0
- package/dist/features/editor/control-item/animations.d.ts +2 -0
- package/dist/features/editor/control-item/basic-audio.d.ts +6 -0
- package/dist/features/editor/control-item/basic-caption.d.ts +6 -0
- package/dist/features/editor/control-item/basic-image.d.ts +6 -0
- package/dist/features/editor/control-item/basic-text.d.ts +6 -0
- package/dist/features/editor/control-item/basic-video.d.ts +6 -0
- package/dist/features/editor/control-item/common/animation-caption.d.ts +2 -0
- package/dist/features/editor/control-item/common/animation-duration.d.ts +1 -0
- package/dist/features/editor/control-item/common/animations.d.ts +7 -0
- package/dist/features/editor/control-item/common/aspect-ratio.d.ts +1 -0
- package/dist/features/editor/control-item/common/blur.d.ts +5 -0
- package/dist/features/editor/control-item/common/brightness.d.ts +5 -0
- package/dist/features/editor/control-item/common/caption-colors.d.ts +12 -0
- package/dist/features/editor/control-item/common/caption-words.d.ts +10 -0
- package/dist/features/editor/control-item/common/flip.d.ts +4 -0
- package/dist/features/editor/control-item/common/opacity.d.ts +5 -0
- package/dist/features/editor/control-item/common/outline.d.ts +8 -0
- package/dist/features/editor/control-item/common/playback-rate.d.ts +4 -0
- package/dist/features/editor/control-item/common/preset-caption.d.ts +7 -0
- package/dist/features/editor/control-item/common/preset-picker.d.ts +9 -0
- package/dist/features/editor/control-item/common/preset-text.d.ts +7 -0
- package/dist/features/editor/control-item/common/radius.d.ts +5 -0
- package/dist/features/editor/control-item/common/shadow.d.ts +7 -0
- package/dist/features/editor/control-item/common/speed.d.ts +5 -0
- package/dist/features/editor/control-item/common/text.d.ts +17 -0
- package/dist/features/editor/control-item/common/transform.d.ts +2 -0
- package/dist/features/editor/control-item/common/volume.d.ts +5 -0
- package/dist/features/editor/control-item/control-item.d.ts +1 -0
- package/dist/features/editor/control-item/floating-controls/animation-caption.d.ts +2 -0
- package/dist/features/editor/control-item/floating-controls/animation-picker.d.ts +4 -0
- package/dist/features/editor/control-item/floating-controls/caption-preset-picker.d.ts +35 -0
- package/dist/features/editor/control-item/floating-controls/floating-control.d.ts +1 -0
- package/dist/features/editor/control-item/floating-controls/font-family-picker.d.ts +4 -0
- package/dist/features/editor/control-item/floating-controls/text-preset-picker.d.ts +23 -0
- package/dist/features/editor/control-item/index.d.ts +1 -0
- package/dist/features/editor/control-item/presets.d.ts +2 -0
- package/dist/features/editor/control-item/smart.d.ts +2 -0
- package/dist/features/editor/control-item-horizontal.d.ts +1 -0
- package/dist/features/editor/control-list.d.ts +1 -0
- package/dist/features/editor/crop-modal/crop-modal.d.ts +2 -0
- package/dist/features/editor/crop-modal/element-crop.d.ts +13 -0
- package/dist/features/editor/data/audio.d.ts +2 -0
- package/dist/features/editor/data/fonts.d.ts +26 -0
- package/dist/features/editor/data/images.d.ts +2 -0
- package/dist/features/editor/data/language.d.ts +6 -0
- package/dist/features/editor/data/transitions.d.ts +17 -0
- package/dist/features/editor/data/uploads.d.ts +5 -0
- package/dist/features/editor/data/video.d.ts +2 -0
- package/dist/features/editor/download-progress-modal.d.ts +2 -0
- package/dist/features/editor/editor.d.ts +5 -0
- package/dist/features/editor/hooks/is-dragging-over-timeline.d.ts +1 -0
- package/dist/features/editor/hooks/use-current-frame.d.ts +2 -0
- package/dist/features/editor/hooks/use-player-events.d.ts +2 -0
- package/dist/features/editor/hooks/use-pointer-drag.d.ts +139 -0
- package/dist/features/editor/hooks/use-state-manager-events.d.ts +2 -0
- package/dist/features/editor/hooks/use-timeline-events.d.ts +2 -0
- package/dist/features/editor/hooks/use-timeline-offset.d.ts +1 -0
- package/dist/features/editor/hooks/use-update-ansestors.d.ts +6 -0
- package/dist/features/editor/hooks/use-zoom.d.ts +7 -0
- package/dist/features/editor/hooks/useClickOutside.d.ts +3 -0
- package/dist/features/editor/index.d.ts +2 -0
- package/dist/features/editor/interfaces/captions.d.ts +14 -0
- package/dist/features/editor/interfaces/editor.d.ts +84 -0
- package/dist/features/editor/interfaces/layout.d.ts +28 -0
- package/dist/features/editor/menu-item/ai-voice.d.ts +1 -0
- package/dist/features/editor/menu-item/audios.d.ts +1 -0
- package/dist/features/editor/menu-item/captions.d.ts +1 -0
- package/dist/features/editor/menu-item/elements.d.ts +1 -0
- package/dist/features/editor/menu-item/images.d.ts +1 -0
- package/dist/features/editor/menu-item/index.d.ts +1 -0
- package/dist/features/editor/menu-item/menu-item.d.ts +1 -0
- package/dist/features/editor/menu-item/texts.d.ts +1 -0
- package/dist/features/editor/menu-item/transitions.d.ts +6 -0
- package/dist/features/editor/menu-item/uploads.d.ts +1 -0
- package/dist/features/editor/menu-item/videos.d.ts +1 -0
- package/dist/features/editor/menu-item/voice-over.d.ts +1 -0
- package/dist/features/editor/menu-list-horizontal.d.ts +1 -0
- package/dist/features/editor/menu-list.d.ts +3 -0
- package/dist/features/editor/mock.d.ts +668 -0
- package/dist/features/editor/navbar.d.ts +7 -0
- package/dist/features/editor/player/animated/index.d.ts +2 -0
- package/dist/features/editor/player/animated/presets.d.ts +4 -0
- package/dist/features/editor/player/animated/text-animated-full.d.ts +23 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/background-in.d.ts +8 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/beatiful-question-in.d.ts +9 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/count-down-in.d.ts +8 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/descompress-in.d.ts +8 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/domino-dreams-in.d.ts +9 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/drop-in.d.ts +8 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/great-thinkers-in.d.ts +9 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/made-with-love-in.d.ts +9 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/reality-is-broken-in.d.ts +9 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/rising-strong-in.d.ts +8 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/sound-wave-in.d.ts +8 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/sunny-mornings-in.d.ts +9 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/text-animated-in.d.ts +9 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-in/type-writer-in.d.ts +7 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/billboard.d.ts +6 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/dragonfly.d.ts +6 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/font-change.d.ts +11 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/glitch.d.ts +5 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/heartbeat.d.ts +6 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/pulse.d.ts +8 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/rotate-3d.d.ts +6 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/shake-text.d.ts +5 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/shaky-letters-text.d.ts +6 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/spin.d.ts +6 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/vintage.d.ts +10 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/vogue.d.ts +7 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-loop/wave.d.ts +7 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/background-out.d.ts +10 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/beatiful-question-out.d.ts +10 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/descompress-out.d.ts +9 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/domino-dreams-out.d.ts +10 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/drop-out.d.ts +9 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/great-thinkers-out.d.ts +10 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/made-with-love-out.d.ts +10 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/reality-is-broken-out.d.ts +10 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/sunny-mornings-out.d.ts +10 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/text-animated-out.d.ts +10 -0
- package/dist/features/editor/player/animated/text-animated-types/animations-out/type-writer-out.d.ts +9 -0
- package/dist/features/editor/player/animated/text-animated.d.ts +18 -0
- package/dist/features/editor/player/animated/types.d.ts +41 -0
- package/dist/features/editor/player/base-sequence.d.ts +17 -0
- package/dist/features/editor/player/composition.d.ts +2 -0
- package/dist/features/editor/player/index.d.ts +1 -0
- package/dist/features/editor/player/items/audio-bars/audio-utils.d.ts +8 -0
- package/dist/features/editor/player/items/audio-bars/bars-visualization.d.ts +25 -0
- package/dist/features/editor/player/items/audio-bars/hill-audio-bars.d.ts +6 -0
- package/dist/features/editor/player/items/audio-bars/hill-visualization.d.ts +20 -0
- package/dist/features/editor/player/items/audio-bars/lineal-audio-bars.d.ts +6 -0
- package/dist/features/editor/player/items/audio-bars/radial-audio-bars.d.ts +6 -0
- package/dist/features/editor/player/items/audio-bars/radial-bars-visualization.d.ts +23 -0
- package/dist/features/editor/player/items/audio-bars/wave-audio-bars.d.ts +6 -0
- package/dist/features/editor/player/items/audio-bars/wave-visualization.d.ts +25 -0
- package/dist/features/editor/player/items/audio.d.ts +6 -0
- package/dist/features/editor/player/items/caption-animations.d.ts +37 -0
- package/dist/features/editor/player/items/caption-word-animations.d.ts +32 -0
- package/dist/features/editor/player/items/caption-word.d.ts +20 -0
- package/dist/features/editor/player/items/caption.d.ts +6 -0
- package/dist/features/editor/player/items/hill-audio-bars.d.ts +6 -0
- package/dist/features/editor/player/items/illustration.d.ts +7 -0
- package/dist/features/editor/player/items/image.d.ts +6 -0
- package/dist/features/editor/player/items/index.d.ts +13 -0
- package/dist/features/editor/player/items/lineal-audio-bars.d.ts +6 -0
- package/dist/features/editor/player/items/progress-bar.d.ts +6 -0
- package/dist/features/editor/player/items/progress-frame.d.ts +6 -0
- package/dist/features/editor/player/items/radial-audio-bars.d.ts +6 -0
- package/dist/features/editor/player/items/shape.d.ts +7 -0
- package/dist/features/editor/player/items/text.d.ts +6 -0
- package/dist/features/editor/player/items/video.d.ts +7 -0
- package/dist/features/editor/player/items/wave-audio-bars.d.ts +6 -0
- package/dist/features/editor/player/lib/audio-data.d.ts +21 -0
- package/dist/features/editor/player/media-background.d.ts +4 -0
- package/dist/features/editor/player/motion-text.d.ts +23 -0
- package/dist/features/editor/player/player.d.ts +2 -0
- package/dist/features/editor/player/sequence-item.d.ts +4 -0
- package/dist/features/editor/player/styles.d.ts +12 -0
- package/dist/features/editor/player/transition-presentations.d.ts +11 -0
- package/dist/features/editor/player/transitions/context.d.ts +18 -0
- package/dist/features/editor/player/transitions/flatten-children.d.ts +4 -0
- package/dist/features/editor/player/transitions/index.d.ts +7 -0
- package/dist/features/editor/player/transitions/presentations/circle.d.ts +6 -0
- package/dist/features/editor/player/transitions/presentations/index.d.ts +10 -0
- package/dist/features/editor/player/transitions/presentations/rectangle.d.ts +6 -0
- package/dist/features/editor/player/transitions/presentations/slide.d.ts +15 -0
- package/dist/features/editor/player/transitions/presentations/sliding-doors.d.ts +6 -0
- package/dist/features/editor/player/transitions/presentations/star.d.ts +6 -0
- package/dist/features/editor/player/transitions/timings/linear-timing.d.ts +14 -0
- package/dist/features/editor/player/transitions/timings/spring-timing.d.ts +8 -0
- package/dist/features/editor/player/transitions/transition-series.d.ts +21 -0
- package/dist/features/editor/player/transitions/types.d.ts +28 -0
- package/dist/features/editor/player/transitions/use-transition-progress.d.ts +9 -0
- package/dist/features/editor/player/transitions/validate.d.ts +2 -0
- package/dist/features/editor/scene/board.d.ts +8 -0
- package/dist/features/editor/scene/droppable.d.ts +10 -0
- package/dist/features/editor/scene/empty.d.ts +2 -0
- package/dist/features/editor/scene/index.d.ts +1 -0
- package/dist/features/editor/scene/interactions.d.ts +12 -0
- package/dist/features/editor/scene/scene.d.ts +6 -0
- package/dist/features/editor/scene/scene.types.d.ts +3 -0
- package/dist/features/editor/store/use-crop-store.d.ts +21 -0
- package/dist/features/editor/store/use-data-state.d.ts +3 -0
- package/dist/features/editor/store/use-download-state.d.ts +26 -0
- package/dist/features/editor/store/use-folder.d.ts +8 -0
- package/dist/features/editor/store/use-layout-store.d.ts +3 -0
- package/dist/features/editor/store/use-store.d.ts +37 -0
- package/dist/features/editor/store/use-upload-store.d.ts +52 -0
- package/dist/features/editor/timeline/controls/controls.d.ts +17 -0
- package/dist/features/editor/timeline/controls/draw.d.ts +4 -0
- package/dist/features/editor/timeline/controls/index.d.ts +1 -0
- package/dist/features/editor/timeline/header.d.ts +2 -0
- package/dist/features/editor/timeline/index.d.ts +1 -0
- package/dist/features/editor/timeline/items/audio.d.ts +45 -0
- package/dist/features/editor/timeline/items/caption.d.ts +19 -0
- package/dist/features/editor/timeline/items/helper.d.ts +6 -0
- package/dist/features/editor/timeline/items/hill-audio-bars.d.ts +14 -0
- package/dist/features/editor/timeline/items/image.d.ts +18 -0
- package/dist/features/editor/timeline/items/index.d.ts +11 -0
- package/dist/features/editor/timeline/items/lineal-audio-bars.d.ts +14 -0
- package/dist/features/editor/timeline/items/preview-drag-item.d.ts +6 -0
- package/dist/features/editor/timeline/items/radial-audio-bars.d.ts +14 -0
- package/dist/features/editor/timeline/items/text.d.ts +20 -0
- package/dist/features/editor/timeline/items/timeline.d.ts +21 -0
- package/dist/features/editor/timeline/items/track.d.ts +7 -0
- package/dist/features/editor/timeline/items/video.d.ts +87 -0
- package/dist/features/editor/timeline/items/wave-audio-bars.d.ts +14 -0
- package/dist/features/editor/timeline/playhead.d.ts +4 -0
- package/dist/features/editor/timeline/ruler.d.ts +13 -0
- package/dist/features/editor/timeline/timeline.d.ts +5 -0
- package/dist/features/editor/timeline/types.d.ts +23 -0
- package/dist/features/editor/utils/captions.d.ts +41 -0
- package/dist/features/editor/utils/file.d.ts +5 -0
- package/dist/features/editor/utils/filmstrip.d.ts +13 -0
- package/dist/features/editor/utils/fonts.d.ts +6 -0
- package/dist/features/editor/utils/format.d.ts +8 -0
- package/dist/features/editor/utils/frames.d.ts +7 -0
- package/dist/features/editor/utils/get-animations.d.ts +13 -0
- package/dist/features/editor/utils/math.d.ts +1 -0
- package/dist/features/editor/utils/scene.d.ts +1 -0
- package/dist/features/editor/utils/search.d.ts +8 -0
- package/dist/features/editor/utils/target.d.ts +21 -0
- package/dist/features/editor/utils/text.d.ts +21 -0
- package/dist/features/editor/utils/thumbnail-cache.d.ts +10 -0
- package/dist/features/editor/utils/time.d.ts +15 -0
- package/dist/features/editor/utils/timeline.d.ts +10 -0
- package/dist/features/editor/utils/track-items.d.ts +8 -0
- package/dist/hooks/use-autosize-textarea.d.ts +8 -0
- package/dist/hooks/use-copy-to-clipboard.d.ts +9 -0
- package/dist/hooks/use-media-query.d.ts +4 -0
- package/dist/hooks/use-pexels-images.d.ts +18 -0
- package/dist/hooks/use-pexels-videos.d.ts +18 -0
- package/dist/index.esm.js +62481 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +62512 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/types.d.ts +17 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/store/use-scene-store.d.ts +7 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/utils/download.d.ts +1 -0
- package/dist/utils/id.d.ts +1 -0
- package/dist/utils/metadata.d.ts +3 -0
- package/dist/utils/upload-service.d.ts +12 -0
- package/package.json +146 -135
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { NextRequest, NextResponse } from "next/server";
|
|
2
|
+
export declare function GET(request: NextRequest): Promise<NextResponse<{
|
|
3
|
+
error: string;
|
|
4
|
+
}> | NextResponse<{
|
|
5
|
+
photos: {
|
|
6
|
+
id: string;
|
|
7
|
+
details: {
|
|
8
|
+
src: string;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
photographer: string;
|
|
12
|
+
photographer_url: string;
|
|
13
|
+
alt: string;
|
|
14
|
+
};
|
|
15
|
+
preview: string;
|
|
16
|
+
type: "image";
|
|
17
|
+
metadata: {
|
|
18
|
+
pexels_id: number;
|
|
19
|
+
avg_color: string;
|
|
20
|
+
original_url: string;
|
|
21
|
+
};
|
|
22
|
+
}[];
|
|
23
|
+
total_results: number;
|
|
24
|
+
page: number;
|
|
25
|
+
per_page: number;
|
|
26
|
+
next_page: string | undefined;
|
|
27
|
+
prev_page: string | undefined;
|
|
28
|
+
}>>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { NextRequest, NextResponse } from "next/server";
|
|
2
|
+
export declare function GET(request: NextRequest): Promise<NextResponse<{
|
|
3
|
+
error: string;
|
|
4
|
+
}> | NextResponse<{
|
|
5
|
+
videos: {
|
|
6
|
+
id: string;
|
|
7
|
+
details: {
|
|
8
|
+
src: string;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
duration: number;
|
|
12
|
+
fps: number;
|
|
13
|
+
};
|
|
14
|
+
preview: string;
|
|
15
|
+
type: "video";
|
|
16
|
+
metadata: {
|
|
17
|
+
pexels_id: number;
|
|
18
|
+
user: {
|
|
19
|
+
id: number;
|
|
20
|
+
name: string;
|
|
21
|
+
url: string;
|
|
22
|
+
};
|
|
23
|
+
video_files: {
|
|
24
|
+
id: number;
|
|
25
|
+
quality: string;
|
|
26
|
+
file_type: string;
|
|
27
|
+
width: number;
|
|
28
|
+
height: number;
|
|
29
|
+
fps: number;
|
|
30
|
+
link: string;
|
|
31
|
+
}[];
|
|
32
|
+
video_pictures: {
|
|
33
|
+
id: number;
|
|
34
|
+
picture: string;
|
|
35
|
+
nr: number;
|
|
36
|
+
}[];
|
|
37
|
+
};
|
|
38
|
+
}[];
|
|
39
|
+
total_results: number;
|
|
40
|
+
page: number;
|
|
41
|
+
per_page: number;
|
|
42
|
+
next_page: string | undefined;
|
|
43
|
+
prev_page: string | undefined;
|
|
44
|
+
}>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NextRequest, NextResponse } from "next/server";
|
|
2
|
+
interface ExternalPresignResponse {
|
|
3
|
+
fileName: string;
|
|
4
|
+
filePath: string;
|
|
5
|
+
contentType: string;
|
|
6
|
+
presignedUrl: string;
|
|
7
|
+
folder?: string;
|
|
8
|
+
url: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function POST(request: NextRequest): Promise<NextResponse<{
|
|
11
|
+
error: string;
|
|
12
|
+
}> | NextResponse<{
|
|
13
|
+
success: boolean;
|
|
14
|
+
uploads: ExternalPresignResponse[];
|
|
15
|
+
}>>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NextRequest, NextResponse } from "next/server";
|
|
2
|
+
interface ExternalUploadResponse {
|
|
3
|
+
fileName: string;
|
|
4
|
+
filePath: string;
|
|
5
|
+
contentType: string;
|
|
6
|
+
originalUrl: string;
|
|
7
|
+
folder?: string;
|
|
8
|
+
url: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function POST(request: NextRequest): Promise<NextResponse<{
|
|
11
|
+
error: string;
|
|
12
|
+
}> | NextResponse<{
|
|
13
|
+
success: boolean;
|
|
14
|
+
uploads: ExternalUploadResponse[];
|
|
15
|
+
}>>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Page(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Home(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function BackNav(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type VariantProps } from "class-variance-authority";
|
|
3
|
+
declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
5
|
+
size?: "icon" | "default" | "sm" | "lg" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
export { Button, buttonVariants };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface IChange {
|
|
3
|
+
hex: string;
|
|
4
|
+
alpha: number;
|
|
5
|
+
}
|
|
6
|
+
type TProps = {
|
|
7
|
+
hex: string;
|
|
8
|
+
alpha: number;
|
|
9
|
+
format?: "rgb" | "hsl" | "hex";
|
|
10
|
+
onChange: ({ hex, alpha }: IChange) => void;
|
|
11
|
+
onSubmitChange?: (rgba: string) => void;
|
|
12
|
+
};
|
|
13
|
+
declare const InputRgba: FC<TProps>;
|
|
14
|
+
export default InputRgba;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from "react";
|
|
2
|
+
import { ITinyColor } from "../utils/color";
|
|
3
|
+
export type TPropsChange = {
|
|
4
|
+
alpha: number;
|
|
5
|
+
hex: string;
|
|
6
|
+
};
|
|
7
|
+
export type TPropsComp = {
|
|
8
|
+
rootPrefixCls?: string;
|
|
9
|
+
color: ITinyColor;
|
|
10
|
+
alpha?: number;
|
|
11
|
+
colorBoardHeight?: number;
|
|
12
|
+
onChange: (color: ITinyColor) => void;
|
|
13
|
+
setChange: Dispatch<SetStateAction<boolean>>;
|
|
14
|
+
};
|
|
15
|
+
export type TPropsCompAlpha = {
|
|
16
|
+
color: ITinyColor;
|
|
17
|
+
alpha?: number;
|
|
18
|
+
onChange: (alpha: number) => void;
|
|
19
|
+
setChange: Dispatch<SetStateAction<boolean>>;
|
|
20
|
+
};
|
|
21
|
+
export type TPropsMain = {
|
|
22
|
+
alpha: number;
|
|
23
|
+
className?: string;
|
|
24
|
+
hex: string;
|
|
25
|
+
colorBoardHeight?: number;
|
|
26
|
+
onChange: ({ alpha, hex }: TPropsChange) => void;
|
|
27
|
+
};
|
|
28
|
+
export type TCoords = {
|
|
29
|
+
x: number;
|
|
30
|
+
y: number;
|
|
31
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from "react";
|
|
2
|
+
import { IActiveColor } from "../types";
|
|
3
|
+
export interface IColor {
|
|
4
|
+
gradient: string;
|
|
5
|
+
type: string;
|
|
6
|
+
modifier: string | number;
|
|
7
|
+
stops: Array<any>;
|
|
8
|
+
}
|
|
9
|
+
export type TCoords = {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
shiftKey?: number | boolean;
|
|
13
|
+
ctrlKey?: number | boolean;
|
|
14
|
+
};
|
|
15
|
+
export interface IPropsPanel {
|
|
16
|
+
color: IColor;
|
|
17
|
+
setColor: (color: IColor) => void;
|
|
18
|
+
activeColor: IActiveColor;
|
|
19
|
+
setActiveColor: Dispatch<SetStateAction<IActiveColor>>;
|
|
20
|
+
setInit: Dispatch<SetStateAction<boolean>>;
|
|
21
|
+
showGradientResult?: boolean;
|
|
22
|
+
showGradientStops?: boolean;
|
|
23
|
+
showGradientMode?: boolean;
|
|
24
|
+
showGradientAngle?: boolean;
|
|
25
|
+
showGradientPosition?: boolean;
|
|
26
|
+
allowAddGradientStops?: boolean;
|
|
27
|
+
format?: "rgb" | "hsl" | "hex";
|
|
28
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const getIndexActiveTag: (value: string) => string;
|
|
2
|
+
export declare const checkValidColorsArray: (arr: string[], type: "solid" | "grad") => string[];
|
|
3
|
+
export declare const arraysEqual: (a: Array<any>, b: Array<any>) => boolean;
|
|
4
|
+
export declare const shallowEqual: (object1: any, object2: any) => boolean;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3
|
+
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
4
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export { Popover, PopoverTrigger, PopoverContent };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as TabsPrimitive from "@radix-ui/react-tabs";
|
|
3
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface IPropsComp {
|
|
2
|
+
value: string;
|
|
3
|
+
format?: "rgb" | "hsl" | "hex";
|
|
4
|
+
debounceMS?: number;
|
|
5
|
+
debounce?: boolean;
|
|
6
|
+
showInputs?: boolean;
|
|
7
|
+
showGradientResult?: boolean;
|
|
8
|
+
showGradientStops?: boolean;
|
|
9
|
+
showGradientMode?: boolean;
|
|
10
|
+
showGradientAngle?: boolean;
|
|
11
|
+
showGradientPosition?: boolean;
|
|
12
|
+
allowAddGradientStops?: boolean;
|
|
13
|
+
colorBoardHeight?: number;
|
|
14
|
+
defaultColors?: string[];
|
|
15
|
+
defaultActiveTab?: string | undefined;
|
|
16
|
+
onChangeTabs?: (tab: string) => void;
|
|
17
|
+
onChange: (value: string) => void;
|
|
18
|
+
}
|
|
19
|
+
export interface IPropsMain extends IPropsComp {
|
|
20
|
+
gradient?: boolean;
|
|
21
|
+
solid?: boolean;
|
|
22
|
+
popupWidth?: number;
|
|
23
|
+
}
|
|
24
|
+
export type TPropsChange = {
|
|
25
|
+
alpha: number;
|
|
26
|
+
hex: string;
|
|
27
|
+
};
|
|
28
|
+
export interface IActiveColor {
|
|
29
|
+
hex: string;
|
|
30
|
+
alpha: number;
|
|
31
|
+
loc: any;
|
|
32
|
+
index: any;
|
|
33
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Instance, ColorFormats } from "tinycolor2";
|
|
2
|
+
interface IInput {
|
|
3
|
+
h: number;
|
|
4
|
+
s: number;
|
|
5
|
+
v: number;
|
|
6
|
+
}
|
|
7
|
+
export interface ITinyColor {
|
|
8
|
+
color: Instance;
|
|
9
|
+
alphaValue: number;
|
|
10
|
+
blueValue: number;
|
|
11
|
+
brightnessValue: number;
|
|
12
|
+
greenValue: number;
|
|
13
|
+
hueValue: number;
|
|
14
|
+
lightnessValue: number;
|
|
15
|
+
saturationValue: number;
|
|
16
|
+
redValue: number;
|
|
17
|
+
initRgb(): void;
|
|
18
|
+
initHsb(): void;
|
|
19
|
+
toHexString(): string;
|
|
20
|
+
toRgbString(): string;
|
|
21
|
+
toHsv(): ColorFormats.HSVA;
|
|
22
|
+
hex: string;
|
|
23
|
+
hue: number;
|
|
24
|
+
saturation: number;
|
|
25
|
+
lightness: number;
|
|
26
|
+
brightness: number;
|
|
27
|
+
red: number;
|
|
28
|
+
green: number;
|
|
29
|
+
blue: number;
|
|
30
|
+
alpha: number;
|
|
31
|
+
RGB: number[];
|
|
32
|
+
HSB: number[];
|
|
33
|
+
}
|
|
34
|
+
export default class Color {
|
|
35
|
+
color: Instance;
|
|
36
|
+
alphaValue: number;
|
|
37
|
+
hueValue: number;
|
|
38
|
+
saturationValue: number;
|
|
39
|
+
brightnessValue: number;
|
|
40
|
+
redValue: number;
|
|
41
|
+
greenValue: number;
|
|
42
|
+
blueValue: number;
|
|
43
|
+
lightnessValue: number;
|
|
44
|
+
constructor(input: IInput | string);
|
|
45
|
+
static isValidHex(hex: string): boolean;
|
|
46
|
+
initRgb: () => void;
|
|
47
|
+
initHsb: () => void;
|
|
48
|
+
toHexString: () => string;
|
|
49
|
+
toRgbString: () => string;
|
|
50
|
+
toHsv: () => ColorFormats.HSVA;
|
|
51
|
+
get hex(): string;
|
|
52
|
+
set hue(value: number);
|
|
53
|
+
get hue(): number;
|
|
54
|
+
set saturation(value: number);
|
|
55
|
+
get saturation(): number;
|
|
56
|
+
set lightness(value: number);
|
|
57
|
+
get lightness(): number;
|
|
58
|
+
set brightness(value: number);
|
|
59
|
+
get brightness(): number;
|
|
60
|
+
set red(value: number);
|
|
61
|
+
get red(): number;
|
|
62
|
+
set green(value: number);
|
|
63
|
+
get green(): number;
|
|
64
|
+
set blue(value: number);
|
|
65
|
+
get blue(): number;
|
|
66
|
+
set alpha(value: number);
|
|
67
|
+
get alpha(): number;
|
|
68
|
+
get RGB(): number[];
|
|
69
|
+
get HSB(): number[];
|
|
70
|
+
}
|
|
71
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as hexToRgba } from "./hexToRgba";
|
|
2
|
+
export { default as getHexAlpha } from "./getHexAlpha";
|
|
3
|
+
export { default as useDebounce } from "./useDebounce";
|
|
4
|
+
export { default as parseGradient } from "./parseGradient";
|
|
5
|
+
export { default as getGradient } from "./getGradient";
|
|
6
|
+
export { default as rgbaToArray } from "./rgbaToArray";
|
|
7
|
+
export { default as rgbaToHex } from "./rgbaToHex";
|
|
8
|
+
export { default as isValidHex } from "./isValidHex";
|
|
9
|
+
export { default as isValidRgba } from "./isValidRgba";
|
|
10
|
+
export { default as checkFormat } from "./checkFormat";
|
|
11
|
+
export { default as validGradient } from "./validGradient";
|
|
12
|
+
export { default as TinyColor } from "./color";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface IGradientStop {
|
|
2
|
+
color: string;
|
|
3
|
+
position?: number;
|
|
4
|
+
}
|
|
5
|
+
interface IParsedGraient {
|
|
6
|
+
stops: IGradientStop[];
|
|
7
|
+
angle: string;
|
|
8
|
+
original: string;
|
|
9
|
+
line: string;
|
|
10
|
+
side?: string;
|
|
11
|
+
sideCorner?: string;
|
|
12
|
+
parseWarning?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: (input: string) => string | IParsedGraient;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
|
+
interface DraggableProps {
|
|
3
|
+
children: ReactElement;
|
|
4
|
+
shouldDisplayPreview?: boolean;
|
|
5
|
+
renderCustomPreview?: ReactElement;
|
|
6
|
+
data?: Record<string, any>;
|
|
7
|
+
}
|
|
8
|
+
declare const Draggable: React.FC<DraggableProps>;
|
|
9
|
+
export default Draggable;
|