@umituz/react-native-ai-generation-content 1.83.56 → 1.83.57
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/package.json +1 -1
- package/src/domains/access-control/hooks/useAIFeatureGate.ts +1 -1
- package/src/domains/background/presentation/hooks/use-pending-jobs.ts +1 -1
- package/src/domains/creations/domain/utils/creation-id.util.ts +1 -1
- package/src/domains/creations/domain/utils/preview-helpers.ts +1 -1
- package/src/domains/creations/domain/value-objects/CreationsConfig.ts +1 -1
- package/src/domains/creations/presentation/components/CreationActions.tsx +2 -5
- package/src/domains/creations/presentation/components/CreationBadges.tsx +2 -6
- package/src/domains/creations/presentation/components/CreationCard.tsx +2 -4
- package/src/domains/creations/presentation/components/CreationCardMeta.tsx +2 -1
- package/src/domains/creations/presentation/components/CreationImagePreview.tsx +3 -6
- package/src/domains/creations/presentation/components/CreationPreview.tsx +1 -1
- package/src/domains/creations/presentation/components/CreationThumbnail.tsx +2 -4
- package/src/domains/creations/presentation/components/CreationVideoPreview.tsx +2 -5
- package/src/domains/creations/presentation/components/CreationsFilterBar.tsx +2 -5
- package/src/domains/creations/presentation/components/CreationsHomeCard.tsx +2 -5
- package/src/domains/creations/presentation/components/EmptyState.tsx +2 -1
- package/src/domains/creations/presentation/components/FilterChips.tsx +2 -1
- package/src/domains/creations/presentation/components/GalleryEmptyStates.tsx +2 -1
- package/src/domains/creations/presentation/components/GalleryHeader.tsx +2 -1
- package/src/domains/creations/presentation/components/GalleryResultPreview.tsx +1 -1
- package/src/domains/creations/presentation/components/GalleryScreenHeader.tsx +2 -1
- package/src/domains/creations/presentation/components/PendingJobsSection.tsx +2 -1
- package/src/domains/creations/presentation/components/useCreationCardActions.ts +1 -1
- package/src/domains/creations/presentation/hooks/useGalleryCallbacks.ts +2 -1
- package/src/domains/creations/presentation/screens/CreationsGalleryScreen.tsx +3 -6
- package/src/domains/creations/presentation/utils/gallery-filters.ts +1 -1
- package/src/domains/face-detection/presentation/components/FaceDetectionToggle.tsx +2 -5
- package/src/domains/face-detection/presentation/components/FaceValidationStatus.tsx +2 -6
- package/src/domains/generation/infrastructure/flow/useFlowStore.ts +1 -1
- package/src/domains/generation/wizard/infrastructure/strategies/shared/photo-extraction.utils.ts +1 -1
- package/src/domains/generation/wizard/presentation/components/WizardContinueButton.tsx +2 -7
- package/src/domains/generation/wizard/presentation/components/WizardFlowContent.tsx +1 -1
- package/src/domains/generation/wizard/presentation/components/WizardStepRenderer.tsx +1 -1
- package/src/domains/generation/wizard/presentation/hooks/useGenerationHandlers.ts +1 -1
- package/src/domains/generation/wizard/presentation/hooks/usePhotoUploadState.ts +1 -1
- package/src/domains/generation/wizard/presentation/hooks/useWizardFlowHandlers.ts +1 -1
- package/src/domains/generation/wizard/presentation/screens/GeneratingScreen.tsx +3 -1
- package/src/domains/generation/wizard/presentation/screens/GenericPhotoUploadScreen.tsx +4 -12
- package/src/domains/generation/wizard/presentation/screens/SelectionScreen.tsx +3 -8
- package/src/domains/generation/wizard/presentation/screens/TextInputScreen.tsx +4 -11
- package/src/domains/image-to-video/presentation/components/AddMoreCard.tsx +2 -5
- package/src/domains/image-to-video/presentation/components/AnimationStyleSelector.tsx +2 -5
- package/src/domains/image-to-video/presentation/components/DurationSelector.tsx +2 -4
- package/src/domains/image-to-video/presentation/components/EmptyGridState.tsx +2 -5
- package/src/domains/image-to-video/presentation/components/GridImageItem.tsx +2 -5
- package/src/domains/image-to-video/presentation/components/ImageSelectionGrid.styles.ts +1 -1
- package/src/domains/image-to-video/presentation/components/ImageSelectionGrid.tsx +2 -4
- package/src/domains/image-to-video/presentation/screens/ImageToVideoWizardFlow.tsx +1 -1
- package/src/domains/result-preview/presentation/components/RecentCreationsSection.tsx +3 -6
- package/src/domains/result-preview/presentation/components/ResultActionBar.tsx +2 -6
- package/src/domains/result-preview/presentation/components/ResultImageCard.tsx +2 -1
- package/src/domains/result-preview/presentation/components/ResultPreviewScreen.tsx +3 -6
- package/src/domains/result-preview/presentation/components/StarRatingPicker.tsx +2 -6
- package/src/domains/result-preview/presentation/hooks/useResultActions.ts +1 -7
- package/src/domains/scenarios/presentation/components/ScenarioContinueButton.tsx +2 -6
- package/src/domains/scenarios/presentation/screens/HierarchicalScenarioListScreen.tsx +3 -9
- package/src/domains/scenarios/presentation/screens/MainCategoryScreen.tsx +3 -6
- package/src/domains/scenarios/presentation/screens/ScenarioPreviewScreen.tsx +3 -9
- package/src/domains/scenarios/presentation/screens/SubCategoryScreen.tsx +3 -6
- package/src/domains/text-to-image/presentation/screens/TextToImageWizardFlow.tsx +1 -1
- package/src/domains/text-to-video/presentation/components/FrameSelector.tsx +2 -5
- package/src/domains/text-to-video/presentation/components/GenerationTabs.tsx +2 -4
- package/src/domains/text-to-video/presentation/components/HeroSection.tsx +2 -5
- package/src/domains/text-to-video/presentation/components/HintCarousel.tsx +2 -4
- package/src/domains/text-to-video/presentation/components/OptionsPanel.tsx +2 -4
- package/src/domains/text-to-video/presentation/screens/TextToVideoWizardFlow.tsx +1 -1
- package/src/infrastructure/utils/feature-utils.ts +1 -1
- package/src/presentation/components/AIGenerationForm.tsx +2 -5
- package/src/presentation/components/AIGenerationHero.tsx +2 -5
- package/src/presentation/components/GenerationProgressContent.tsx +1 -1
- package/src/presentation/components/PendingJobCard.tsx +2 -1
- package/src/presentation/components/PendingJobCardActions.tsx +2 -1
- package/src/presentation/components/PhotoUploadCard/ImageContent.tsx +2 -5
- package/src/presentation/components/PhotoUploadCard/PhotoUploadCard.styles.ts +1 -1
- package/src/presentation/components/PhotoUploadCard/PhotoUploadCard.tsx +1 -1
- package/src/presentation/components/PhotoUploadCard/PlaceholderContent.tsx +2 -5
- package/src/presentation/components/PhotoUploadCard/ValidatingContent.tsx +1 -4
- package/src/presentation/components/PhotoUploadCard/useBorderColor.ts +1 -1
- package/src/presentation/components/ProgressCloseButton.tsx +1 -1
- package/src/presentation/components/ProgressDismissButton.tsx +2 -4
- package/src/presentation/components/ProgressHeader.tsx +2 -5
- package/src/presentation/components/ProgressHint.tsx +2 -4
- package/src/presentation/components/PromptInput.tsx +2 -4
- package/src/presentation/components/StylePresetsGrid.tsx +2 -4
- package/src/presentation/components/buttons/GenerateButton.tsx +2 -6
- package/src/presentation/components/display/AIGenerationResult.tsx +2 -5
- package/src/presentation/components/display/ResultDisplay.tsx +2 -6
- package/src/presentation/components/display/index.ts +1 -1
- package/src/presentation/components/headers/AIGenScreenHeader.tsx +2 -5
- package/src/presentation/components/headers/CreditBadge.tsx +2 -5
- package/src/presentation/components/headers/FeatureHeader.tsx +2 -4
- package/src/presentation/components/image-picker/DualImagePicker.tsx +1 -1
- package/src/presentation/components/modals/SettingsSheet.tsx +2 -5
- package/src/presentation/components/moderation/ModerationSummary.tsx +2 -4
- package/src/presentation/components/photo-step/PhotoStep.tsx +1 -1
- package/src/presentation/components/prompts/ExamplePrompts.tsx +2 -4
- package/src/presentation/components/result/ActionButton.tsx +2 -5
- package/src/presentation/components/result/GenerationResultContent.tsx +1 -3
- package/src/presentation/components/result/ResultActions.styles.ts +1 -1
- package/src/presentation/components/result/ResultActions.tsx +1 -1
- package/src/presentation/components/result/ResultHeader.tsx +2 -5
- package/src/presentation/components/result/ResultImageCard.tsx +2 -5
- package/src/presentation/components/result/ResultStoryCard.tsx +2 -4
- package/src/presentation/components/result/RetryButton.tsx +1 -4
- package/src/presentation/components/result/button-style.utils.ts +1 -1
- package/src/presentation/components/selectors/AspectRatioSelector.tsx +2 -5
- package/src/presentation/components/selectors/DurationSelector.tsx +2 -4
- package/src/presentation/components/selectors/GridSelector.tsx +2 -4
- package/src/presentation/components/selectors/StyleSelector.tsx +2 -5
- package/src/presentation/components/shared/ModelOptionItem.tsx +2 -5
- package/src/presentation/components/shared/ModelSelectorModal.tsx +3 -6
- package/src/presentation/components/shared/ModelSelectorTrigger.tsx +2 -5
- package/src/presentation/hooks/generation/orchestrator.ts +2 -1
- package/src/presentation/hooks/generation/useDualImageGeneration.ts +2 -1
- package/src/presentation/hooks/generation/useImagePicker.ts +1 -1
- package/src/presentation/layouts/DualImageFeatureLayout.tsx +2 -5
- package/src/presentation/layouts/DualImageVideoFeatureLayout.tsx +2 -4
- package/src/presentation/layouts/SingleImageFeatureLayout.tsx +2 -5
- package/src/presentation/layouts/SingleImageWithPromptFeatureLayout.tsx +2 -5
- package/src/presentation/types/flow-step-configs.types.ts +1 -1
- package/src/shared/components/common/ProgressBar.tsx +2 -1
|
@@ -14,11 +14,8 @@ import {
|
|
|
14
14
|
type GestureResponderEvent,
|
|
15
15
|
} from "react-native";
|
|
16
16
|
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
AtomicButton,
|
|
20
|
-
useAppDesignTokens,
|
|
21
|
-
} from "@umituz/react-native-design-system";
|
|
17
|
+
import { AtomicText, AtomicButton } from "@umituz/react-native-design-system/atoms";
|
|
18
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
22
19
|
|
|
23
20
|
export interface SettingsSheetProps {
|
|
24
21
|
readonly visible: boolean;
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet, type ViewStyle } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
|
|
13
11
|
export interface ModerationSummaryProps {
|
|
14
12
|
readonly ageRating?: string;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import React, { useMemo } from "react";
|
|
9
9
|
import { View, StyleSheet, type ViewStyle, type StyleProp } from "react-native";
|
|
10
|
-
import { StepHeader } from "@umituz/react-native-design-system";
|
|
10
|
+
import { StepHeader } from "@umituz/react-native-design-system/molecules";
|
|
11
11
|
import { PhotoUploadCard } from "../PhotoUploadCard";
|
|
12
12
|
import type { PhotoStepConfig } from "../../types/flow-config.types";
|
|
13
13
|
|
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { View, ScrollView, TouchableOpacity, StyleSheet, type ViewStyle } from "react-native";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
9
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
11
|
|
|
14
12
|
export interface ExamplePromptsProps {
|
|
15
13
|
readonly prompts: readonly string[];
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import type { ResultActionsStyles } from "./ResultActions.styles";
|
|
14
11
|
import { getButtonStyle } from "./button-style.utils";
|
|
15
12
|
|
|
@@ -14,9 +14,7 @@ import {
|
|
|
14
14
|
type StyleProp,
|
|
15
15
|
type DimensionValue,
|
|
16
16
|
} from "react-native";
|
|
17
|
-
import {
|
|
18
|
-
useAppDesignTokens,
|
|
19
|
-
} from "@umituz/react-native-design-system";
|
|
17
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
20
18
|
import { ResultHeader } from "./ResultHeader";
|
|
21
19
|
import { ResultImageCard } from "./ResultImageCard";
|
|
22
20
|
import { ResultStoryCard } from "./ResultStoryCard";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { StyleSheet } from "react-native";
|
|
6
|
-
import type { DesignTokens } from "@umituz/react-native-design-system";
|
|
6
|
+
import type { DesignTokens } from "@umituz/react-native-design-system/theme";
|
|
7
7
|
import type { ResultActionsConfig } from "../../types/result-config.types";
|
|
8
8
|
|
|
9
9
|
interface CreateResultActionsStylesParams {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
8
|
import { View } from "react-native";
|
|
9
|
-
import { useAppDesignTokens } from "@umituz/react-native-design-system";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
10
10
|
import { RetryButton } from "./RetryButton";
|
|
11
11
|
import { ActionButton } from "./ActionButton";
|
|
12
12
|
import { createResultActionsStyles } from "./ResultActions.styles";
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
8
|
import { View, StyleSheet } from "react-native";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
AtomicIcon,
|
|
12
|
-
useAppDesignTokens,
|
|
13
|
-
} from "@umituz/react-native-design-system";
|
|
9
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
14
11
|
import type { ResultHeaderConfig } from "../../types/result-config.types";
|
|
15
12
|
import { DEFAULT_RESULT_CONFIG } from "../../types/result-config.types";
|
|
16
13
|
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
8
|
import { View, Image, StyleSheet } from "react-native";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
AtomicIcon,
|
|
12
|
-
useAppDesignTokens,
|
|
13
|
-
} from "@umituz/react-native-design-system";
|
|
9
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
14
11
|
import type { ResultImageConfig } from "../../types/result-config.types";
|
|
15
12
|
import { DEFAULT_RESULT_CONFIG } from "../../types/result-config.types";
|
|
16
13
|
|
|
@@ -6,10 +6,8 @@
|
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
8
|
import { View, StyleSheet } from "react-native";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
9
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
10
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
11
|
import type { ResultStoryConfig } from "../../types/result-config.types";
|
|
14
12
|
import { DEFAULT_RESULT_CONFIG } from "../../types/result-config.types";
|
|
15
13
|
|
|
@@ -5,10 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { TouchableOpacity } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
AtomicText,
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
12
9
|
import type { ResultActionsStyles } from "./ResultActions.styles";
|
|
13
10
|
|
|
14
11
|
interface RetryButtonProps {
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import type { AspectRatioOption } from "./types";
|
|
14
11
|
|
|
15
12
|
export interface AspectRatioSelectorProps {
|
|
@@ -5,10 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
useAppDesignTokens,
|
|
11
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
12
10
|
import type { DurationValue } from "./types";
|
|
13
11
|
|
|
14
12
|
export interface DurationSelectorProps<T extends DurationValue> {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { View, TouchableOpacity, StyleSheet, type ViewStyle } from "react-native";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
useAppDesignTokens,
|
|
6
|
-
} from "@umituz/react-native-design-system";
|
|
3
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
4
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
7
5
|
|
|
8
6
|
export interface GridSelectorOption<T> {
|
|
9
7
|
readonly value: T;
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, ScrollView, TouchableOpacity, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicIcon,
|
|
11
|
-
useAppDesignTokens,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import type { StyleOption } from "./types";
|
|
14
11
|
|
|
15
12
|
export interface StyleSelectorProps {
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { TouchableOpacity, View, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicText,
|
|
11
|
-
AtomicIcon,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
import type { ModelOption } from "./ModelSelector";
|
|
14
11
|
|
|
15
12
|
interface ModelOptionItemProps {
|
|
@@ -12,12 +12,9 @@ import {
|
|
|
12
12
|
TouchableOpacity,
|
|
13
13
|
StyleSheet,
|
|
14
14
|
} from "react-native";
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
AtomicIcon,
|
|
19
|
-
useSafeAreaInsets,
|
|
20
|
-
} from "@umituz/react-native-design-system";
|
|
15
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
16
|
+
import { useSafeAreaInsets } from "@umituz/react-native-design-system/safe-area";
|
|
17
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
21
18
|
import { ModelOptionItem } from "./ModelOptionItem";
|
|
22
19
|
import type { ModelOption } from "./ModelSelector";
|
|
23
20
|
|
|
@@ -5,11 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { TouchableOpacity, StyleSheet } from "react-native";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
AtomicText,
|
|
11
|
-
AtomicIcon,
|
|
12
|
-
} from "@umituz/react-native-design-system";
|
|
8
|
+
import { AtomicText, AtomicIcon } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
13
10
|
|
|
14
11
|
interface ModelSelectorTriggerProps {
|
|
15
12
|
readonly displayName: string;
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { useState, useCallback, useRef, useEffect } from "react";
|
|
7
|
-
import {
|
|
7
|
+
import { useAlert } from "@umituz/react-native-design-system/molecules";
|
|
8
|
+
import { useOfflineStore } from "@umituz/react-native-design-system/offline";
|
|
8
9
|
import { createGenerationError, getAlertMessage, parseError } from "./errors";
|
|
9
10
|
import { handleModeration } from "./moderation-handler";
|
|
10
11
|
import type {
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { useState, useCallback, useMemo } from "react";
|
|
7
|
-
import {
|
|
7
|
+
import { saveImageToGallery } from "@umituz/react-native-design-system/gallery";
|
|
8
|
+
import { useAlert } from "@umituz/react-native-design-system/molecules";
|
|
8
9
|
import { useGenerationOrchestrator } from "./orchestrator";
|
|
9
10
|
import { useImagePicker } from "./useImagePicker";
|
|
10
11
|
import { executeMultiImageGeneration } from "../../../infrastructure/services/multi-image-generation.executor";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { useState, useCallback } from "react";
|
|
7
|
-
import { MediaPickerService, MediaQuality } from "@umituz/react-native-design-system";
|
|
7
|
+
import { MediaPickerService, MediaQuality } from "@umituz/react-native-design-system/media";
|
|
8
8
|
import { prepareImage } from "../../../infrastructure/utils/feature-utils";
|
|
9
9
|
|
|
10
10
|
|
|
@@ -7,11 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
import React, { useCallback } from "react";
|
|
9
9
|
import { View, ScrollView } from "react-native";
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
useResponsive,
|
|
13
|
-
AtomicText,
|
|
14
|
-
} from "@umituz/react-native-design-system";
|
|
10
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
11
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
15
12
|
import { AIGenerationForm } from "../components/AIGenerationForm";
|
|
16
13
|
import { AIGenerationResult } from "../components/display/AIGenerationResult";
|
|
17
14
|
import { GenerationProgressContent } from "../components/GenerationProgressContent";
|
|
@@ -7,10 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
import React, { useCallback } from "react";
|
|
9
9
|
import { View, ScrollView } from "react-native";
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
AtomicText,
|
|
13
|
-
} from "@umituz/react-native-design-system";
|
|
10
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
11
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
14
12
|
import { AIGenerationForm } from "../components/AIGenerationForm";
|
|
15
13
|
import { AIGenerationResult } from "../components/display/AIGenerationResult";
|
|
16
14
|
import { GenerationProgressContent } from "../components/GenerationProgressContent";
|
|
@@ -7,11 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
import React, { useCallback } from "react";
|
|
9
9
|
import { View, ScrollView } from "react-native";
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
useResponsive,
|
|
13
|
-
AtomicText,
|
|
14
|
-
} from "@umituz/react-native-design-system";
|
|
10
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
11
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
15
12
|
import { AIGenerationForm } from "../components/AIGenerationForm";
|
|
16
13
|
import { AIGenerationResult } from "../components/display/AIGenerationResult";
|
|
17
14
|
import { GenerationProgressContent } from "../components/GenerationProgressContent";
|
|
@@ -8,11 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
import React, { useCallback } from "react";
|
|
10
10
|
import { View, ScrollView } from "react-native";
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
useResponsive,
|
|
14
|
-
AtomicText,
|
|
15
|
-
} from "@umituz/react-native-design-system";
|
|
11
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
12
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
16
13
|
import { AIGenerationForm } from "../components/AIGenerationForm";
|
|
17
14
|
import { AIGenerationResult } from "../components/display/AIGenerationResult";
|
|
18
15
|
import { GenerationProgressContent } from "../components/GenerationProgressContent";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Flow Step Configuration Types
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { StepHeaderConfig } from "@umituz/react-native-design-system";
|
|
5
|
+
import type { StepHeaderConfig } from "@umituz/react-native-design-system/molecules";
|
|
6
6
|
import type { PhotoUploadCardConfig } from "../components/PhotoUploadCard";
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { View, StyleSheet } from "react-native";
|
|
8
|
-
import { AtomicText
|
|
8
|
+
import { AtomicText } from "@umituz/react-native-design-system/atoms";
|
|
9
|
+
import { useAppDesignTokens } from "@umituz/react-native-design-system/theme";
|
|
9
10
|
import { clampProgress, roundProgress } from "../../../infrastructure/utils/progress.utils";
|
|
10
11
|
|
|
11
12
|
export interface ProgressBarProps {
|