@umituz/react-native-settings 5.3.34 → 5.3.36
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 +2 -2
- package/LICENSE +0 -21
- package/README.md +0 -355
- package/dist/account.d.ts +0 -27
- package/dist/application/ports/ISettingsRepository.d.ts +0 -45
- package/dist/domains/about/domain/entities/AppInfo.d.ts +0 -76
- package/dist/domains/about/domain/repositories/IAboutRepository.d.ts +0 -19
- package/dist/domains/about/index.d.ts +0 -10
- package/dist/domains/about/infrastructure/repositories/AboutRepository.d.ts +0 -18
- package/dist/domains/about/presentation/components/AboutContent.d.ts +0 -14
- package/dist/domains/about/presentation/components/AboutHeader.d.ts +0 -21
- package/dist/domains/about/presentation/components/AboutSection.d.ts +0 -14
- package/dist/domains/about/presentation/components/AboutSettingItem.d.ts +0 -39
- package/dist/domains/about/presentation/hooks/useAboutInfo.d.ts +0 -2
- package/dist/domains/about/presentation/hooks/useAboutInfo.types.d.ts +0 -29
- package/dist/domains/about/presentation/screens/AboutScreen.d.ts +0 -21
- package/dist/domains/about/presentation/screens/AboutScreenContent.d.ts +0 -15
- package/dist/domains/about/utils/AppInfoFactory.d.ts +0 -9
- package/dist/domains/appearance/data/colorPalettes.d.ts +0 -25
- package/dist/domains/appearance/hooks/useAppearance.d.ts +0 -11
- package/dist/domains/appearance/hooks/useAppearanceActions.d.ts +0 -9
- package/dist/domains/appearance/index.d.ts +0 -9
- package/dist/domains/appearance/presentation/components/AppearanceHeader.d.ts +0 -18
- package/dist/domains/appearance/presentation/components/AppearancePreview.d.ts +0 -21
- package/dist/domains/appearance/presentation/components/AppearanceSection.d.ts +0 -16
- package/dist/domains/appearance/presentation/components/ColorPicker.d.ts +0 -15
- package/dist/domains/appearance/presentation/components/CustomColorsSection.d.ts +0 -25
- package/dist/domains/appearance/presentation/components/ThemeModeSection.d.ts +0 -24
- package/dist/domains/appearance/presentation/components/ThemeOption.d.ts +0 -20
- package/dist/domains/appearance/presentation/components/index.d.ts +0 -6
- package/dist/domains/appearance/presentation/screens/AppearanceScreen.d.ts +0 -16
- package/dist/domains/appearance/types/index.d.ts +0 -48
- package/dist/domains/cloud-sync/index.d.ts +0 -6
- package/dist/domains/cloud-sync/presentation/components/CloudSyncSetting.d.ts +0 -14
- package/dist/domains/dev/index.d.ts +0 -14
- package/dist/domains/dev/presentation/components/DevSettingsSection.d.ts +0 -34
- package/dist/domains/dev/presentation/components/EnvViewerSetting.d.ts +0 -20
- package/dist/domains/dev/presentation/components/StorageClearSetting.d.ts +0 -13
- package/dist/domains/dev/presentation/screens/EnvViewerScreen.d.ts +0 -12
- package/dist/domains/dev/types.d.ts +0 -22
- package/dist/domains/disclaimer/index.d.ts +0 -17
- package/dist/domains/disclaimer/presentation/components/DisclaimerCard.d.ts +0 -14
- package/dist/domains/disclaimer/presentation/components/DisclaimerModal.d.ts +0 -12
- package/dist/domains/disclaimer/presentation/components/DisclaimerSetting.d.ts +0 -34
- package/dist/domains/disclaimer/presentation/screens/DisclaimerScreen.d.ts +0 -27
- package/dist/domains/faqs/domain/entities/FAQEntity.d.ts +0 -21
- package/dist/domains/faqs/domain/services/FAQSearchService.d.ts +0 -12
- package/dist/domains/faqs/index.d.ts +0 -8
- package/dist/domains/faqs/presentation/components/FAQCategory.d.ts +0 -21
- package/dist/domains/faqs/presentation/components/FAQEmptyState.d.ts +0 -20
- package/dist/domains/faqs/presentation/components/FAQItem.d.ts +0 -24
- package/dist/domains/faqs/presentation/components/FAQSearchBar.d.ts +0 -18
- package/dist/domains/faqs/presentation/components/index.d.ts +0 -11
- package/dist/domains/faqs/presentation/hooks/index.d.ts +0 -5
- package/dist/domains/faqs/presentation/hooks/useFAQExpansion.d.ts +0 -12
- package/dist/domains/faqs/presentation/hooks/useFAQSearch.d.ts +0 -12
- package/dist/domains/faqs/presentation/screens/FAQScreen.d.ts +0 -33
- package/dist/domains/feedback/domain/entities/FeedbackEntity.d.ts +0 -25
- package/dist/domains/feedback/domain/repositories/IFeedbackRepository.d.ts +0 -20
- package/dist/domains/feedback/index.d.ts +0 -10
- package/dist/domains/feedback/presentation/components/FeedbackForm.d.ts +0 -7
- package/dist/domains/feedback/presentation/components/FeedbackForm.styles.d.ts +0 -48
- package/dist/domains/feedback/presentation/components/FeedbackFormProps.d.ts +0 -26
- package/dist/domains/feedback/presentation/components/FeedbackModal.d.ts +0 -23
- package/dist/domains/feedback/presentation/components/SupportSection.d.ts +0 -62
- package/dist/domains/feedback/presentation/hooks/useFeedbackForm.d.ts +0 -19
- package/dist/domains/gamification/components/AchievementCard.d.ts +0 -23
- package/dist/domains/gamification/components/AchievementItem.d.ts +0 -7
- package/dist/domains/gamification/components/AchievementToast.d.ts +0 -21
- package/dist/domains/gamification/components/GamificationScreen/AchievementsList.d.ts +0 -17
- package/dist/domains/gamification/components/GamificationScreen/GamificationScreen.d.ts +0 -11
- package/dist/domains/gamification/components/GamificationScreen/GamificationScreenWithConfig.d.ts +0 -11
- package/dist/domains/gamification/components/GamificationScreen/StatsGrid.d.ts +0 -16
- package/dist/domains/gamification/components/GamificationScreen/index.d.ts +0 -17
- package/dist/domains/gamification/components/GamificationScreen/styles.d.ts +0 -40
- package/dist/domains/gamification/components/GamificationScreen/types.d.ts +0 -42
- package/dist/domains/gamification/components/LevelProgress.d.ts +0 -27
- package/dist/domains/gamification/components/PointsBadge.d.ts +0 -16
- package/dist/domains/gamification/components/StatsCard.d.ts +0 -20
- package/dist/domains/gamification/components/StreakDisplay.d.ts +0 -21
- package/dist/domains/gamification/components/index.d.ts +0 -14
- package/dist/domains/gamification/components/styles/achievementItemStyles.d.ts +0 -71
- package/dist/domains/gamification/components/types/AchievementItemProps.d.ts +0 -22
- package/dist/domains/gamification/hooks/useGamification.d.ts +0 -22
- package/dist/domains/gamification/index.d.ts +0 -13
- package/dist/domains/gamification/store/gamificationStore.d.ts +0 -6
- package/dist/domains/gamification/types/index.d.ts +0 -99
- package/dist/domains/gamification/utils/calculations.d.ts +0 -10
- package/dist/domains/legal/domain/entities/LegalConfig.d.ts +0 -28
- package/dist/domains/legal/domain/services/ContentValidationService.d.ts +0 -19
- package/dist/domains/legal/domain/services/StyleCacheService.d.ts +0 -38
- package/dist/domains/legal/domain/services/UrlHandlerService.d.ts +0 -32
- package/dist/domains/legal/index.d.ts +0 -8
- package/dist/domains/legal/presentation/components/LegalDocumentsList.d.ts +0 -21
- package/dist/domains/legal/presentation/components/LegalItem.d.ts +0 -35
- package/dist/domains/legal/presentation/components/LegalScreenHeader.d.ts +0 -12
- package/dist/domains/legal/presentation/components/LegalSection.d.ts +0 -14
- package/dist/domains/legal/presentation/screens/LegalContentScreen.d.ts +0 -19
- package/dist/domains/legal/presentation/screens/LegalScreen.d.ts +0 -24
- package/dist/domains/legal/presentation/screens/PrivacyPolicyScreen.d.ts +0 -15
- package/dist/domains/legal/presentation/screens/TermsOfServiceScreen.d.ts +0 -15
- package/dist/domains/localization/domain/repositories/ILocalizationRepository.d.ts +0 -16
- package/dist/domains/localization/index.d.ts +0 -16
- package/dist/domains/localization/infrastructure/components/LanguageSwitcher.d.ts +0 -19
- package/dist/domains/localization/infrastructure/components/LanguageSwitcher.styles.d.ts +0 -37
- package/dist/domains/localization/infrastructure/components/useLanguageNavigation.d.ts +0 -4
- package/dist/domains/localization/infrastructure/components/useLanguageSwitcher.d.ts +0 -13
- package/dist/domains/localization/infrastructure/config/DeviceLocale.d.ts +0 -10
- package/dist/domains/localization/infrastructure/config/I18nInitializer.d.ts +0 -14
- package/dist/domains/localization/infrastructure/config/LanguageQuery.d.ts +0 -10
- package/dist/domains/localization/infrastructure/config/LocaleMapping.d.ts +0 -5
- package/dist/domains/localization/infrastructure/config/NamespaceResolver.d.ts +0 -11
- package/dist/domains/localization/infrastructure/config/ResourceBuilder.d.ts +0 -10
- package/dist/domains/localization/infrastructure/config/TranslationLoader.d.ts +0 -16
- package/dist/domains/localization/infrastructure/config/constants/defaultLanguages.d.ts +0 -6
- package/dist/domains/localization/infrastructure/config/i18n.d.ts +0 -7
- package/dist/domains/localization/infrastructure/config/languages.d.ts +0 -7
- package/dist/domains/localization/infrastructure/hooks/useLanguageSelection.d.ts +0 -11
- package/dist/domains/localization/infrastructure/hooks/useLocalization.d.ts +0 -12
- package/dist/domains/localization/infrastructure/hooks/useTranslation.d.ts +0 -23
- package/dist/domains/localization/infrastructure/repository/LanguageRepository.d.ts +0 -18
- package/dist/domains/localization/infrastructure/storage/LanguageInitializer.d.ts +0 -20
- package/dist/domains/localization/infrastructure/storage/LanguageSwitcher.d.ts +0 -16
- package/dist/domains/localization/infrastructure/storage/LocalizationStore.d.ts +0 -6
- package/dist/domains/localization/infrastructure/storage/localizationStoreUtils.d.ts +0 -44
- package/dist/domains/localization/infrastructure/storage/types/Language.d.ts +0 -12
- package/dist/domains/localization/infrastructure/storage/types/LocalizationState.d.ts +0 -22
- package/dist/domains/localization/presentation/components/LanguageItem.d.ts +0 -23
- package/dist/domains/localization/presentation/components/LanguageItem.styles.d.ts +0 -30
- package/dist/domains/localization/presentation/components/LanguageSection.d.ts +0 -15
- package/dist/domains/localization/presentation/providers/LocalizationManager.d.ts +0 -12
- package/dist/domains/localization/presentation/screens/LanguageSelectionScreen.d.ts +0 -7
- package/dist/domains/localization/presentation/screens/LanguageSelectionScreen.styles.d.ts +0 -7
- package/dist/domains/localization/presentation/screens/LanguageSelectionScreen.types.d.ts +0 -26
- package/dist/domains/notifications/index.d.ts +0 -46
- package/dist/domains/notifications/infrastructure/config/notificationsConfig.d.ts +0 -19
- package/dist/domains/notifications/infrastructure/hooks/useNotificationSettings.d.ts +0 -8
- package/dist/domains/notifications/infrastructure/services/NotificationBadgeManager.d.ts +0 -4
- package/dist/domains/notifications/infrastructure/services/NotificationManager.d.ts +0 -23
- package/dist/domains/notifications/infrastructure/services/NotificationPermissions.d.ts +0 -5
- package/dist/domains/notifications/infrastructure/services/NotificationScheduler.d.ts +0 -7
- package/dist/domains/notifications/infrastructure/services/NotificationService.d.ts +0 -31
- package/dist/domains/notifications/infrastructure/services/types.d.ts +0 -147
- package/dist/domains/notifications/infrastructure/storage/UnifiedNotificationStore.d.ts +0 -42
- package/dist/domains/notifications/infrastructure/utils/idGenerator.d.ts +0 -6
- package/dist/domains/notifications/infrastructure/utils/triggerBuilder.d.ts +0 -6
- package/dist/domains/notifications/presentation/components/NotificationsSection.d.ts +0 -16
- package/dist/domains/notifications/presentation/components/RemindersNavRow.d.ts +0 -12
- package/dist/domains/notifications/presentation/components/RemindersNavRow.styles.d.ts +0 -34
- package/dist/domains/notifications/presentation/components/SettingRow.d.ts +0 -14
- package/dist/domains/notifications/presentation/hooks/useNotificationSettingsUI.d.ts +0 -13
- package/dist/domains/notifications/presentation/hooks/useTimePicker.d.ts +0 -21
- package/dist/domains/notifications/presentation/screens/NotificationSettingsScreen.d.ts +0 -12
- package/dist/domains/notifications/presentation/screens/NotificationSettingsScreen.styles.d.ts +0 -26
- package/dist/domains/notifications/presentation/screens/NotificationsScreen.d.ts +0 -18
- package/dist/domains/notifications/quietHours/infrastructure/hooks/useQuietHoursActions.d.ts +0 -13
- package/dist/domains/notifications/quietHours/presentation/components/QuietHoursCard.d.ts +0 -14
- package/dist/domains/notifications/reminders/infrastructure/config/reminderPresets.d.ts +0 -24
- package/dist/domains/notifications/reminders/infrastructure/hooks/useReminderActions.d.ts +0 -11
- package/dist/domains/notifications/reminders/presentation/components/FormButton.d.ts +0 -12
- package/dist/domains/notifications/reminders/presentation/components/FrequencySelector.d.ts +0 -14
- package/dist/domains/notifications/reminders/presentation/components/ReminderForm.constants.d.ts +0 -28
- package/dist/domains/notifications/reminders/presentation/components/ReminderForm.d.ts +0 -7
- package/dist/domains/notifications/reminders/presentation/components/ReminderForm.styles.d.ts +0 -31
- package/dist/domains/notifications/reminders/presentation/components/ReminderItem.d.ts +0 -20
- package/dist/domains/notifications/reminders/presentation/components/TimePresetSelector.d.ts +0 -20
- package/dist/domains/notifications/reminders/presentation/components/WeekdaySelector.d.ts +0 -11
- package/dist/domains/notifications/reminders/presentation/screens/ReminderListScreen.d.ts +0 -13
- package/dist/domains/rating/application/services/RatingService.d.ts +0 -33
- package/dist/domains/rating/domain/entities/Rating.d.ts +0 -15
- package/dist/domains/rating/domain/entities/RatingConfig.d.ts +0 -120
- package/dist/domains/rating/index.d.ts +0 -12
- package/dist/domains/rating/infrastructure/storage/RatingStorage.d.ts +0 -50
- package/dist/domains/rating/presentation/components/RatingPromptModal.d.ts +0 -16
- package/dist/domains/rating/presentation/components/StarRating.d.ts +0 -13
- package/dist/domains/rating/presentation/hooks/useAppRating.d.ts +0 -9
- package/dist/domains/video-tutorials/index.d.ts +0 -18
- package/dist/domains/video-tutorials/presentation/components/VideoTutorialCard.d.ts +0 -13
- package/dist/domains/video-tutorials/presentation/components/VideoTutorialSection.d.ts +0 -25
- package/dist/domains/video-tutorials/presentation/screens/VideoTutorialsScreen.d.ts +0 -25
- package/dist/domains/video-tutorials/types/index.d.ts +0 -26
- package/dist/index.d.ts +0 -41
- package/dist/infrastructure/repositories/SettingsRepository.d.ts +0 -12
- package/dist/infrastructure/services/SettingsService.d.ts +0 -14
- package/dist/infrastructure/utils/configFactory.d.ts +0 -39
- package/dist/infrastructure/utils/constants/textLimits.d.ts +0 -16
- package/dist/infrastructure/utils/sanitizers.d.ts +0 -13
- package/dist/infrastructure/utils/validation/core.d.ts +0 -8
- package/dist/infrastructure/utils/validation/formValidators.d.ts +0 -26
- package/dist/infrastructure/utils/validation/index.d.ts +0 -5
- package/dist/infrastructure/utils/validators.d.ts +0 -21
- package/dist/presentation/components/SettingsFooter.d.ts +0 -7
- package/dist/presentation/components/SettingsItemCard.d.ts +0 -22
- package/dist/presentation/components/SettingsNavigationItem.d.ts +0 -67
- package/dist/presentation/components/SettingsSection.d.ts +0 -6
- package/dist/presentation/components/settings/SettingsItemCardContent.d.ts +0 -12
- package/dist/presentation/components/settings/SettingsItemCardRightElement.d.ts +0 -11
- package/dist/presentation/components/settings/SettingsItemCardSection.d.ts +0 -5
- package/dist/presentation/hooks/mutations/useSettingsMutations.d.ts +0 -20
- package/dist/presentation/hooks/queries/useSettingsQuery.d.ts +0 -7
- package/dist/presentation/hooks/useSettings.d.ts +0 -26
- package/dist/presentation/hooks/useSettingsScreenConfig.d.ts +0 -41
- package/dist/presentation/navigation/SettingsStackNavigator.d.ts +0 -9
- package/dist/presentation/navigation/hooks/index.d.ts +0 -5
- package/dist/presentation/navigation/hooks/useNavigationHandlers.d.ts +0 -14
- package/dist/presentation/navigation/hooks/useSettingsNavigation.d.ts +0 -22
- package/dist/presentation/navigation/hooks/useSettingsScreens.d.ts +0 -12
- package/dist/presentation/navigation/types.d.ts +0 -134
- package/dist/presentation/navigation/utils/index.d.ts +0 -5
- package/dist/presentation/navigation/utils/navigationHelpers.d.ts +0 -13
- package/dist/presentation/navigation/utils/navigationTranslations.d.ts +0 -35
- package/dist/presentation/screens/AppearanceScreen.d.ts +0 -6
- package/dist/presentation/screens/SettingsScreen.d.ts +0 -49
- package/dist/presentation/screens/components/SettingsContent.d.ts +0 -3
- package/dist/presentation/screens/components/SettingsHeader.d.ts +0 -8
- package/dist/presentation/screens/components/sections/CustomSettingsList.d.ts +0 -7
- package/dist/presentation/screens/components/sections/FeatureSettingsSection.d.ts +0 -13
- package/dist/presentation/screens/components/sections/IdentitySettingsSection.d.ts +0 -12
- package/dist/presentation/screens/components/sections/ProfileSectionLoader.d.ts +0 -17
- package/dist/presentation/screens/components/sections/SupportSettingsSection.d.ts +0 -13
- package/dist/presentation/screens/components/types/SettingsContentProps.d.ts +0 -47
- package/dist/presentation/screens/components/utils/featureChecker.d.ts +0 -10
- package/dist/presentation/screens/hooks/useFeatureDetection.d.ts +0 -28
- package/dist/presentation/screens/hooks/useSettingsScreen.d.ts +0 -36
- package/dist/presentation/screens/types/BaseTypes.d.ts +0 -11
- package/dist/presentation/screens/types/ContentConfig.d.ts +0 -76
- package/dist/presentation/screens/types/CustomSection.d.ts +0 -38
- package/dist/presentation/screens/types/SettingsConfig.d.ts +0 -122
- package/dist/presentation/screens/types/SettingsTranslations.d.ts +0 -159
- package/dist/presentation/screens/types/UserFeatureConfig.d.ts +0 -178
- package/dist/presentation/screens/types/index.d.ts +0 -11
- package/dist/presentation/screens/utils/normalizeConfig.d.ts +0 -68
- package/dist/presentation/utils/accountConfigUtils.d.ts +0 -34
- package/dist/presentation/utils/config-creators/base-configs.d.ts +0 -26
- package/dist/presentation/utils/config-creators/feature-configs.d.ts +0 -17
- package/dist/presentation/utils/config-creators/index.d.ts +0 -7
- package/dist/presentation/utils/config-creators/support-configs.d.ts +0 -19
- package/dist/presentation/utils/config-creators/types.d.ts +0 -20
- package/dist/presentation/utils/faqTranslator.d.ts +0 -3
- package/dist/presentation/utils/index.d.ts +0 -8
- package/dist/presentation/utils/screenFactory.d.ts +0 -26
- package/dist/presentation/utils/settingsConfigFactory.d.ts +0 -33
- package/dist/presentation/utils/userProfileUtils.d.ts +0 -20
- package/dist/utils/appUtils.d.ts +0 -4
- package/dist/utils/devUtils.d.ts +0 -31
- package/dist/utils/errorUtils.d.ts +0 -22
- package/dist/utils/hooks/useAsyncStateUpdate.d.ts +0 -35
- package/dist/utils/hooks/useMountSafety.d.ts +0 -1
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useAboutInfo Hook Types
|
|
3
|
-
* Type definitions for about info hook
|
|
4
|
-
*/
|
|
5
|
-
import type { AppInfo, AboutConfig } from '../../domain/entities/AppInfo';
|
|
6
|
-
export interface UseAboutInfoOptions {
|
|
7
|
-
/** Initial configuration */
|
|
8
|
-
initialConfig?: AboutConfig;
|
|
9
|
-
/** Auto-initialize on mount */
|
|
10
|
-
autoInit?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface UseAboutInfoReturn {
|
|
13
|
-
/** Current app info */
|
|
14
|
-
appInfo: AppInfo | null;
|
|
15
|
-
/** Loading state */
|
|
16
|
-
loading: boolean;
|
|
17
|
-
/** Error state */
|
|
18
|
-
error: string | null;
|
|
19
|
-
/** Initialize with config */
|
|
20
|
-
initialize: (config: AboutConfig) => Promise<void>;
|
|
21
|
-
/** Update with new config */
|
|
22
|
-
update: (config: AboutConfig) => Promise<void>;
|
|
23
|
-
/** Update app info */
|
|
24
|
-
updateAppInfo: (updates: Partial<AppInfo>) => Promise<void>;
|
|
25
|
-
/** Refresh current app info */
|
|
26
|
-
refresh: () => Promise<void>;
|
|
27
|
-
/** Reset to initial state */
|
|
28
|
-
reset: () => void;
|
|
29
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface AboutScreenProps {
|
|
2
|
-
/** Configuration for the about screen */
|
|
3
|
-
config: import('../../domain/entities/AppInfo').AboutConfig;
|
|
4
|
-
/** Custom container style */
|
|
5
|
-
containerStyle?: import('react-native').ViewStyle;
|
|
6
|
-
/** Custom header style */
|
|
7
|
-
headerStyle?: import('react-native').ViewStyle;
|
|
8
|
-
/** Custom title style */
|
|
9
|
-
titleStyle?: import('react-native').TextStyle;
|
|
10
|
-
/** Custom version style */
|
|
11
|
-
versionStyle?: import('react-native').TextStyle;
|
|
12
|
-
/** Show app header with name and version */
|
|
13
|
-
showHeader?: boolean;
|
|
14
|
-
/** Custom header component */
|
|
15
|
-
headerComponent?: React.ReactNode;
|
|
16
|
-
/** Custom footer component */
|
|
17
|
-
footerComponent?: React.ReactNode;
|
|
18
|
-
/** Test ID for E2E testing */
|
|
19
|
-
testID?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const AboutScreen: React.FC<AboutScreenProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AboutScreen Content Component
|
|
3
|
-
* Pure presentational component for About screen
|
|
4
|
-
* No business logic, only rendering
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import { AboutConfig, AppInfo } from '../../domain/entities/AppInfo';
|
|
8
|
-
import type { DesignTokens } from '@umituz/react-native-design-system/theme';
|
|
9
|
-
import type { AboutScreenProps } from './AboutScreen';
|
|
10
|
-
export interface AboutScreenContentProps extends Omit<AboutScreenProps, 'config'> {
|
|
11
|
-
appInfo: AppInfo;
|
|
12
|
-
config: AboutConfig;
|
|
13
|
-
_tokens: DesignTokens;
|
|
14
|
-
}
|
|
15
|
-
export declare const AboutScreenContent: React.FC<AboutScreenContentProps>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppInfo Factory Utility
|
|
3
|
-
* Creates AppInfo objects from AboutConfig
|
|
4
|
-
*/
|
|
5
|
-
import { AppInfo, AboutConfig } from '../domain/entities/AppInfo';
|
|
6
|
-
/**
|
|
7
|
-
* Creates a default AppInfo object from AboutConfig
|
|
8
|
-
*/
|
|
9
|
-
export declare const createDefaultAppInfo: (config: AboutConfig) => AppInfo;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dynamic Color Palettes
|
|
3
|
-
*
|
|
4
|
-
* Generic color palettes that can be customized by host applications
|
|
5
|
-
* These serve as sensible defaults for appearance customization
|
|
6
|
-
*/
|
|
7
|
-
export interface ColorPalette {
|
|
8
|
-
name: string;
|
|
9
|
-
colors: string[];
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Generic primary color palette
|
|
13
|
-
* Suitable for most applications
|
|
14
|
-
*/
|
|
15
|
-
export declare const DEFAULT_PRIMARY_COLORS: ColorPalette;
|
|
16
|
-
/**
|
|
17
|
-
* Generic secondary color palette
|
|
18
|
-
* Neutral colors for secondary elements
|
|
19
|
-
*/
|
|
20
|
-
export declare const DEFAULT_SECONDARY_COLORS: ColorPalette;
|
|
21
|
-
/**
|
|
22
|
-
* Generic accent color palette
|
|
23
|
-
* Vibrant colors for accent elements
|
|
24
|
-
*/
|
|
25
|
-
export declare const DEFAULT_ACCENT_COLORS: ColorPalette;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type CustomThemeColors } from "@umituz/react-native-design-system/theme";
|
|
2
|
-
import type { ThemeMode } from "../types";
|
|
3
|
-
export declare const useAppearance: () => {
|
|
4
|
-
themeMode: ThemeMode;
|
|
5
|
-
customColors: CustomThemeColors;
|
|
6
|
-
defaultColors: CustomThemeColors;
|
|
7
|
-
isLoading: boolean;
|
|
8
|
-
setThemeMode: (mode: ThemeMode) => void;
|
|
9
|
-
setCustomColors: (colors: CustomThemeColors) => void;
|
|
10
|
-
reset: () => void;
|
|
11
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CustomThemeColors } from "@umituz/react-native-design-system/theme";
|
|
2
|
-
import type { ThemeMode } from "../types";
|
|
3
|
-
export declare const useAppearanceActions: () => {
|
|
4
|
-
themeMode: ThemeMode;
|
|
5
|
-
localCustomColors: CustomThemeColors;
|
|
6
|
-
handleThemeSelect: (mode: ThemeMode) => void;
|
|
7
|
-
handleColorChange: (key: keyof CustomThemeColors, color: string) => void;
|
|
8
|
-
handleResetColors: () => void;
|
|
9
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Appearance Domain
|
|
3
|
-
* Theme management, dark mode
|
|
4
|
-
*/
|
|
5
|
-
export * from './presentation/screens/AppearanceScreen';
|
|
6
|
-
export * from './presentation/components';
|
|
7
|
-
export { useAppearance } from './hooks/useAppearance';
|
|
8
|
-
export { useAppearanceActions } from './hooks/useAppearanceActions';
|
|
9
|
-
export * from './types';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Appearance Header Component
|
|
3
|
-
* Single Responsibility: Render appearance screen header
|
|
4
|
-
*/
|
|
5
|
-
import React from "react";
|
|
6
|
-
import { type StyleProp, type ViewStyle } from "react-native";
|
|
7
|
-
import type { DesignTokens } from "@umituz/react-native-design-system/theme";
|
|
8
|
-
export interface AppearanceHeaderProps {
|
|
9
|
-
tokens: DesignTokens;
|
|
10
|
-
title?: string;
|
|
11
|
-
subtitle?: string;
|
|
12
|
-
titleType?: "headlineLarge" | "headlineMedium" | "headlineSmall";
|
|
13
|
-
subtitleType?: "bodyLarge" | "bodyMedium" | "bodySmall";
|
|
14
|
-
titleColor?: "primary" | "secondary" | "tertiary";
|
|
15
|
-
subtitleColor?: "primary" | "secondary" | "tertiary";
|
|
16
|
-
style?: StyleProp<ViewStyle>;
|
|
17
|
-
}
|
|
18
|
-
export declare const AppearanceHeader: React.FC<AppearanceHeaderProps>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Appearance Preview Component
|
|
3
|
-
* Single Responsibility: Render color preview section
|
|
4
|
-
*/
|
|
5
|
-
import React from "react";
|
|
6
|
-
import type { DesignTokens } from "@umituz/react-native-design-system/theme";
|
|
7
|
-
import type { CustomThemeColors } from "../../types";
|
|
8
|
-
export interface PreviewColorItem {
|
|
9
|
-
key: keyof CustomThemeColors;
|
|
10
|
-
label: string;
|
|
11
|
-
fallbackColor: string;
|
|
12
|
-
}
|
|
13
|
-
export interface AppearancePreviewProps {
|
|
14
|
-
tokens: DesignTokens;
|
|
15
|
-
localCustomColors: CustomThemeColors;
|
|
16
|
-
title?: string;
|
|
17
|
-
description?: string;
|
|
18
|
-
previewColors?: PreviewColorItem[];
|
|
19
|
-
showPreview?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare const AppearancePreview: React.FC<AppearancePreviewProps>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ViewStyle } from 'react-native';
|
|
3
|
-
import { AppearanceSectionConfig } from '../../types';
|
|
4
|
-
export interface AppearanceSectionProps {
|
|
5
|
-
config?: AppearanceSectionConfig;
|
|
6
|
-
onPress?: () => void;
|
|
7
|
-
containerStyle?: ViewStyle;
|
|
8
|
-
sectionTitle?: string;
|
|
9
|
-
/** Optional explicit title override */
|
|
10
|
-
title?: string;
|
|
11
|
-
/** Optional explicit description override */
|
|
12
|
-
description?: string;
|
|
13
|
-
noBackground?: boolean;
|
|
14
|
-
hideMargin?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const AppearanceSection: React.FC<AppearanceSectionProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Color Picker Component
|
|
3
|
-
*
|
|
4
|
-
* Simple color picker for theme customization
|
|
5
|
-
* Single Responsibility: Render color selection UI
|
|
6
|
-
*/
|
|
7
|
-
import React from "react";
|
|
8
|
-
interface ColorPickerProps {
|
|
9
|
-
label: string;
|
|
10
|
-
value: string;
|
|
11
|
-
onValueChange: (color: string) => void;
|
|
12
|
-
colors: string[];
|
|
13
|
-
}
|
|
14
|
-
export declare const ColorPicker: React.FC<ColorPickerProps>;
|
|
15
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom Colors Section Component
|
|
3
|
-
* Single Responsibility: Render custom color picker section
|
|
4
|
-
*/
|
|
5
|
-
import React from "react";
|
|
6
|
-
import type { DesignTokens } from "@umituz/react-native-design-system/theme";
|
|
7
|
-
import type { CustomThemeColors } from "../../types";
|
|
8
|
-
export interface ColorFieldConfig {
|
|
9
|
-
key: keyof CustomThemeColors;
|
|
10
|
-
label: string;
|
|
11
|
-
defaultColor: string;
|
|
12
|
-
colorPalette: string[];
|
|
13
|
-
}
|
|
14
|
-
export interface CustomColorsSectionProps {
|
|
15
|
-
tokens: DesignTokens;
|
|
16
|
-
localCustomColors: CustomThemeColors;
|
|
17
|
-
onColorChange: (key: keyof CustomThemeColors, color: string) => void;
|
|
18
|
-
onResetColors: () => void;
|
|
19
|
-
title?: string;
|
|
20
|
-
description?: string;
|
|
21
|
-
resetButtonText?: string;
|
|
22
|
-
colorFields?: ColorFieldConfig[];
|
|
23
|
-
showResetButton?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export declare const CustomColorsSection: React.FC<CustomColorsSectionProps>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Theme Mode Section Component
|
|
3
|
-
* Single Responsibility: Render theme mode selection section
|
|
4
|
-
*/
|
|
5
|
-
import React from "react";
|
|
6
|
-
import type { DesignTokens } from "@umituz/react-native-design-system/theme";
|
|
7
|
-
import type { ThemeMode } from "../../types";
|
|
8
|
-
export interface ThemeOptionConfig {
|
|
9
|
-
mode: ThemeMode;
|
|
10
|
-
title: string;
|
|
11
|
-
subtitle?: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
features?: string[];
|
|
14
|
-
featuresTitle?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface ThemeModeSectionProps {
|
|
17
|
-
tokens: DesignTokens;
|
|
18
|
-
themeMode: ThemeMode;
|
|
19
|
-
onThemeSelect: (mode: ThemeMode) => void;
|
|
20
|
-
title?: string;
|
|
21
|
-
description?: string;
|
|
22
|
-
themes?: ThemeOptionConfig[];
|
|
23
|
-
}
|
|
24
|
-
export declare const ThemeModeSection: React.FC<ThemeModeSectionProps>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Theme Option Component
|
|
3
|
-
*
|
|
4
|
-
* Theme mode selection option (Light/Dark)
|
|
5
|
-
* Single Responsibility: Render theme option UI
|
|
6
|
-
*/
|
|
7
|
-
import React from "react";
|
|
8
|
-
import type { ThemeMode } from "../../types";
|
|
9
|
-
interface ThemeOptionProps {
|
|
10
|
-
mode: ThemeMode;
|
|
11
|
-
title: string;
|
|
12
|
-
subtitle?: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
features?: string[];
|
|
15
|
-
featuresTitle?: string;
|
|
16
|
-
isSelected: boolean;
|
|
17
|
-
onSelect: () => void;
|
|
18
|
-
}
|
|
19
|
-
export declare const ThemeOption: React.FC<ThemeOptionProps>;
|
|
20
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { ThemeOption } from "./ThemeOption";
|
|
2
|
-
export { ColorPicker } from "./ColorPicker";
|
|
3
|
-
export { AppearanceHeader } from "./AppearanceHeader";
|
|
4
|
-
export { ThemeModeSection, type ThemeOptionConfig } from "./ThemeModeSection";
|
|
5
|
-
export { CustomColorsSection, type ColorFieldConfig } from "./CustomColorsSection";
|
|
6
|
-
export { AppearancePreview, type PreviewColorItem } from "./AppearancePreview";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Appearance Screen
|
|
3
|
-
*
|
|
4
|
-
* Screen for managing appearance settings including theme mode and custom colors.
|
|
5
|
-
* Uses ScreenLayout from design system for consistent UI.
|
|
6
|
-
*/
|
|
7
|
-
import React from "react";
|
|
8
|
-
import type { AppearanceTexts } from "../../types";
|
|
9
|
-
export interface AppearanceScreenProps {
|
|
10
|
-
texts?: AppearanceTexts;
|
|
11
|
-
headerComponent?: React.ReactNode;
|
|
12
|
-
showThemeSection?: boolean;
|
|
13
|
-
showColorsSection?: boolean;
|
|
14
|
-
showPreviewSection?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const AppearanceScreen: React.FC<AppearanceScreenProps>;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Appearance Domain Types
|
|
3
|
-
*
|
|
4
|
-
* Types for appearance settings including theme mode and custom colors
|
|
5
|
-
*/
|
|
6
|
-
import type { ThemeMode as BaseThemeMode, CustomThemeColors } from "@umituz/react-native-design-system/theme";
|
|
7
|
-
export type ThemeMode = BaseThemeMode | 'auto';
|
|
8
|
-
export type { CustomThemeColors };
|
|
9
|
-
export interface AppearanceSettings {
|
|
10
|
-
themeMode: ThemeMode;
|
|
11
|
-
customColors?: CustomThemeColors;
|
|
12
|
-
}
|
|
13
|
-
export interface AppearanceState {
|
|
14
|
-
settings: AppearanceSettings;
|
|
15
|
-
isInitialized: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface AppearanceSectionConfig {
|
|
18
|
-
/** Section title */
|
|
19
|
-
title?: string;
|
|
20
|
-
/** Section description/value */
|
|
21
|
-
description?: string;
|
|
22
|
-
/** Navigation route name */
|
|
23
|
-
route?: string;
|
|
24
|
-
/** Default navigation route name */
|
|
25
|
-
defaultRoute?: string;
|
|
26
|
-
/** Custom onPress handler (overrides navigation) */
|
|
27
|
-
onPress?: () => void;
|
|
28
|
-
}
|
|
29
|
-
export interface ThemeModeTextConfig {
|
|
30
|
-
title: string;
|
|
31
|
-
subtitle?: string;
|
|
32
|
-
description?: string;
|
|
33
|
-
features: string[];
|
|
34
|
-
}
|
|
35
|
-
export interface AppearanceTexts {
|
|
36
|
-
title?: string;
|
|
37
|
-
subtitle?: string;
|
|
38
|
-
themeSectionTitle?: string;
|
|
39
|
-
themeSectionDescription?: string;
|
|
40
|
-
featuresSectionTitle?: string;
|
|
41
|
-
colorsSectionTitle?: string;
|
|
42
|
-
colorsSectionDescription?: string;
|
|
43
|
-
previewSectionTitle?: string;
|
|
44
|
-
previewSectionDescription?: string;
|
|
45
|
-
resetButtonText?: string;
|
|
46
|
-
lightMode?: ThemeModeTextConfig;
|
|
47
|
-
darkMode?: ThemeModeTextConfig;
|
|
48
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Cloud Sync Setting Component
|
|
3
|
-
* Displays cloud sync status and allows triggering sync
|
|
4
|
-
*/
|
|
5
|
-
import React from "react";
|
|
6
|
-
export interface CloudSyncSettingProps {
|
|
7
|
-
title?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
isSyncing?: boolean;
|
|
10
|
-
lastSynced?: Date | null;
|
|
11
|
-
onPress?: () => void;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const CloudSyncSetting: React.FC<CloudSyncSettingProps>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dev Domain
|
|
3
|
-
* Development-only settings and utilities
|
|
4
|
-
* Only visible in __DEV__ mode
|
|
5
|
-
*/
|
|
6
|
-
export { DevSettingsSection } from "./presentation/components/DevSettingsSection";
|
|
7
|
-
export type { DevSettingsProps } from "./presentation/components/DevSettingsSection";
|
|
8
|
-
export { StorageClearSetting } from "./presentation/components/StorageClearSetting";
|
|
9
|
-
export type { StorageClearSettingProps } from "./presentation/components/StorageClearSetting";
|
|
10
|
-
export { EnvViewerSetting } from "./presentation/components/EnvViewerSetting";
|
|
11
|
-
export type { EnvViewerSettingProps } from "./presentation/components/EnvViewerSetting";
|
|
12
|
-
export { EnvViewerScreen } from "./presentation/screens/EnvViewerScreen";
|
|
13
|
-
export type { EnvViewerScreenProps } from "./presentation/screens/EnvViewerScreen";
|
|
14
|
-
export type { EnvVariable, EnvConfig } from "./types";
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dev Settings Section Component
|
|
3
|
-
* Only visible in __DEV__ mode
|
|
4
|
-
* Provides development utilities like clearing storage
|
|
5
|
-
*
|
|
6
|
-
* NOTE: This component uses hardcoded English text since it's DEV-only
|
|
7
|
-
* and doesn't need localization support.
|
|
8
|
-
*/
|
|
9
|
-
import React from "react";
|
|
10
|
-
declare const DEFAULT_TEXTS: {
|
|
11
|
-
sectionTitle: string;
|
|
12
|
-
clearTitle: string;
|
|
13
|
-
clearDescription: string;
|
|
14
|
-
confirmTitle: string;
|
|
15
|
-
confirmMessage: string;
|
|
16
|
-
cancelButton: string;
|
|
17
|
-
confirmButton: string;
|
|
18
|
-
successTitle: string;
|
|
19
|
-
successMessage: string;
|
|
20
|
-
errorTitle: string;
|
|
21
|
-
errorMessage: string;
|
|
22
|
-
};
|
|
23
|
-
export interface DevSettingsProps {
|
|
24
|
-
/** Enable dev settings section (default: true in __DEV__ mode) */
|
|
25
|
-
enabled?: boolean;
|
|
26
|
-
/** Callback after storage is cleared - use this to reload the app and reset app state (e.g., onboarding) */
|
|
27
|
-
onAfterClear?: () => Promise<void>;
|
|
28
|
-
/** Custom texts (optional - defaults to English) */
|
|
29
|
-
texts?: Partial<typeof DEFAULT_TEXTS>;
|
|
30
|
-
/** Custom dev components to render BEFORE the "Clear All Data" button (e.g., OnboardingResetSetting) */
|
|
31
|
-
customDevComponents?: React.ReactNode[];
|
|
32
|
-
}
|
|
33
|
-
export declare const DevSettingsSection: React.FC<DevSettingsProps>;
|
|
34
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Environment Viewer Setting Item
|
|
3
|
-
* List item to navigate to environment variables screen
|
|
4
|
-
* DEV-only feature
|
|
5
|
-
*/
|
|
6
|
-
import React from "react";
|
|
7
|
-
import type { EnvConfig } from "../../types";
|
|
8
|
-
export interface EnvViewerSettingProps {
|
|
9
|
-
/** Environment configuration to pass to viewer screen */
|
|
10
|
-
config: EnvConfig;
|
|
11
|
-
/** Custom title (default: "Environment Variables") */
|
|
12
|
-
title?: string;
|
|
13
|
-
/** Custom description (default: "View app configuration") */
|
|
14
|
-
description?: string;
|
|
15
|
-
/** Screen name to navigate to */
|
|
16
|
-
screenName: string;
|
|
17
|
-
/** Custom navigation handler (overrides route) */
|
|
18
|
-
onPress?: () => void;
|
|
19
|
-
}
|
|
20
|
-
export declare const EnvViewerSetting: React.FC<EnvViewerSettingProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Storage Clear Setting Component
|
|
3
|
-
* Single Responsibility: Display storage clear setting (DEV only)
|
|
4
|
-
* Only visible in __DEV__ mode
|
|
5
|
-
*/
|
|
6
|
-
import React from "react";
|
|
7
|
-
export interface StorageClearSettingProps {
|
|
8
|
-
title?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
onPress?: () => void;
|
|
11
|
-
iconColor?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const StorageClearSetting: React.FC<StorageClearSettingProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Environment Variables Viewer Screen
|
|
3
|
-
* Displays environment configuration for debugging
|
|
4
|
-
* DEV-only feature with hardcoded English text
|
|
5
|
-
*/
|
|
6
|
-
import React from "react";
|
|
7
|
-
import type { EnvConfig } from "../../types";
|
|
8
|
-
export interface EnvViewerScreenProps {
|
|
9
|
-
/** Environment configuration */
|
|
10
|
-
config: EnvConfig;
|
|
11
|
-
}
|
|
12
|
-
export declare const EnvViewerScreen: React.FC<EnvViewerScreenProps>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dev Domain Types
|
|
3
|
-
* Environment variable types for dev tools
|
|
4
|
-
*/
|
|
5
|
-
export interface EnvVariable {
|
|
6
|
-
/** Environment variable key */
|
|
7
|
-
key: string;
|
|
8
|
-
/** Environment variable value (masked if sensitive) */
|
|
9
|
-
value: string;
|
|
10
|
-
/** Whether this is a sensitive value (API keys, secrets) */
|
|
11
|
-
sensitive?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface EnvConfig {
|
|
14
|
-
/** List of environment variables to display */
|
|
15
|
-
variables: EnvVariable[];
|
|
16
|
-
/** App version info */
|
|
17
|
-
version?: string;
|
|
18
|
-
/** Build number */
|
|
19
|
-
buildNumber?: string;
|
|
20
|
-
/** Environment name (development, staging, production) */
|
|
21
|
-
environmentName?: string;
|
|
22
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @umituz/react-native-disclaimer - Public API
|
|
3
|
-
*
|
|
4
|
-
* Disclaimer component for React Native apps
|
|
5
|
-
* Display legal notices, warnings, and important information
|
|
6
|
-
*
|
|
7
|
-
* Usage:
|
|
8
|
-
* import { DisclaimerSetting, DisclaimerScreen } from '@umituz/react-native-disclaimer';
|
|
9
|
-
*/
|
|
10
|
-
export { DisclaimerSetting } from './presentation/components/DisclaimerSetting';
|
|
11
|
-
export type { DisclaimerSettingProps } from './presentation/components/DisclaimerSetting';
|
|
12
|
-
export { DisclaimerCard } from './presentation/components/DisclaimerCard';
|
|
13
|
-
export type { DisclaimerCardProps } from './presentation/components/DisclaimerCard';
|
|
14
|
-
export { DisclaimerModal } from './presentation/components/DisclaimerModal';
|
|
15
|
-
export type { DisclaimerModalProps } from './presentation/components/DisclaimerModal';
|
|
16
|
-
export { DisclaimerScreen } from './presentation/screens/DisclaimerScreen';
|
|
17
|
-
export type { DisclaimerScreenProps } from './presentation/screens/DisclaimerScreen';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Disclaimer Card Component
|
|
3
|
-
* Extracted from DisclaimerSetting to follow single responsibility and 200-line rules
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
export interface DisclaimerCardProps {
|
|
7
|
-
title: string;
|
|
8
|
-
shortMessage: string;
|
|
9
|
-
iconName: string;
|
|
10
|
-
iconColor: string;
|
|
11
|
-
backgroundColor: string;
|
|
12
|
-
onPress: () => void;
|
|
13
|
-
}
|
|
14
|
-
export declare const DisclaimerCard: React.FC<DisclaimerCardProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Disclaimer Modal Component
|
|
3
|
-
* Extracted from DisclaimerSetting to follow single responsibility and 200-line rules
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
export interface DisclaimerModalProps {
|
|
7
|
-
visible: boolean;
|
|
8
|
-
title: string;
|
|
9
|
-
content: string;
|
|
10
|
-
onClose: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const DisclaimerModal: React.FC<DisclaimerModalProps>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DisclaimerSetting Component
|
|
3
|
-
*
|
|
4
|
-
* Displays customizable disclaimer with important legal notice
|
|
5
|
-
* Used in About screens for apps that require disclaimers
|
|
6
|
-
*
|
|
7
|
-
* Features:
|
|
8
|
-
* - Tappable card that opens full disclaimer modal
|
|
9
|
-
* - Warning icon with background color
|
|
10
|
-
* - Internationalized title and message
|
|
11
|
-
* - Full-screen modal with scrollable content
|
|
12
|
-
* - NO shadows (CLAUDE.md compliance)
|
|
13
|
-
* - Universal across iOS, Android, Web (NO Platform.OS checks)
|
|
14
|
-
*
|
|
15
|
-
* Usage:
|
|
16
|
-
* - Import and use in AboutScreen
|
|
17
|
-
* - Requires translations: settings.disclaimer.title, settings.disclaimer.message, settings.disclaimer.shortMessage
|
|
18
|
-
*/
|
|
19
|
-
import React from 'react';
|
|
20
|
-
export interface DisclaimerSettingProps {
|
|
21
|
-
/** Custom title */
|
|
22
|
-
title?: string;
|
|
23
|
-
/** Custom content */
|
|
24
|
-
content?: string;
|
|
25
|
-
/** Custom short message */
|
|
26
|
-
shortMessage?: string;
|
|
27
|
-
/** Custom icon name */
|
|
28
|
-
iconName?: string;
|
|
29
|
-
/** Custom icon color */
|
|
30
|
-
iconColor?: string;
|
|
31
|
-
/** Custom background color */
|
|
32
|
-
backgroundColor?: string;
|
|
33
|
-
}
|
|
34
|
-
export declare const DisclaimerSetting: React.FC<DisclaimerSettingProps>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DisclaimerScreen Component
|
|
3
|
-
*
|
|
4
|
-
* Full-screen disclaimer display for navigation-based usage
|
|
5
|
-
* Can be registered as a screen in navigation stack
|
|
6
|
-
*
|
|
7
|
-
* Features:
|
|
8
|
-
* - SafeAreaView wrapper for proper display
|
|
9
|
-
* - Scrollable content for long disclaimers
|
|
10
|
-
* - Customizable title and content via props or translations
|
|
11
|
-
* - NO shadows (CLAUDE.md compliance)
|
|
12
|
-
* - Universal across iOS, Android, Web
|
|
13
|
-
*/
|
|
14
|
-
import React from 'react';
|
|
15
|
-
export interface DisclaimerScreenProps {
|
|
16
|
-
/** Custom title (overrides translation) */
|
|
17
|
-
title?: string;
|
|
18
|
-
/** Custom title translation key */
|
|
19
|
-
titleKey?: string;
|
|
20
|
-
/** Custom content (overrides translation) */
|
|
21
|
-
content?: string;
|
|
22
|
-
/** Custom content translation key */
|
|
23
|
-
contentKey?: string;
|
|
24
|
-
/** Custom icon name */
|
|
25
|
-
iconName?: string;
|
|
26
|
-
}
|
|
27
|
-
export declare const DisclaimerScreen: React.FC<DisclaimerScreenProps>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FAQ Entity Definitions
|
|
3
|
-
*/
|
|
4
|
-
export interface FAQItem {
|
|
5
|
-
id: string;
|
|
6
|
-
question: string;
|
|
7
|
-
answer: string;
|
|
8
|
-
categoryId?: string;
|
|
9
|
-
tags?: readonly string[];
|
|
10
|
-
featured?: boolean;
|
|
11
|
-
order?: number;
|
|
12
|
-
metadata?: Record<string, unknown>;
|
|
13
|
-
}
|
|
14
|
-
export interface FAQCategory {
|
|
15
|
-
id: string;
|
|
16
|
-
title: string;
|
|
17
|
-
items: FAQItem[];
|
|
18
|
-
description?: string;
|
|
19
|
-
icon?: string;
|
|
20
|
-
order?: number;
|
|
21
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* FAQ Search Service
|
|
3
|
-
* Handles searching FAQ items with advanced features
|
|
4
|
-
*/
|
|
5
|
-
import { FAQItem, FAQCategory } from "../entities/FAQEntity";
|
|
6
|
-
export declare class FAQSearchService {
|
|
7
|
-
static searchItems(query: string, items: FAQItem[]): FAQItem[];
|
|
8
|
-
static searchCategories(query: string, categories: FAQCategory[]): FAQCategory[];
|
|
9
|
-
static getFeaturedItems(items: FAQItem[]): FAQItem[];
|
|
10
|
-
static sortByOrder(items: FAQItem[]): FAQItem[];
|
|
11
|
-
static sortCategoriesByOrder(categories: FAQCategory[]): FAQCategory[];
|
|
12
|
-
}
|