Compare commits
37 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e2d6387647 | |||
| b6024ae921 | |||
| d17e7ed6a2 | |||
| 9dfe8b4b05 | |||
| b7d97f0589 | |||
| fd611db750 | |||
| 7b9293f7a2 | |||
| db1388c3c4 | |||
| 09d164b9fc | |||
| d78fbf74e3 | |||
| c9430439c5 | |||
| 08712f460e | |||
| 3447a0ea1e | |||
| b4d92d0d7b | |||
| d5f0e3532a | |||
| 8774d251de | |||
| 974d081f40 | |||
| 9f9eadfc46 | |||
| f5004f2d7a | |||
| afc177cb53 | |||
| 0ebadbc92a | |||
| 47b7021fa3 | |||
| c847270159 | |||
| d58c230eda | |||
| 0747ea8a5f | |||
| 0bba7afc6f | |||
| f957553026 | |||
| 0597540b88 | |||
| 75823ed750 | |||
| dd1c2cd96d | |||
| 06d346ee46 | |||
| d4bd576cc9 | |||
| 85b3a8b4b6 | |||
| 206d4b06fa | |||
| 2669738c9d | |||
| 1eadd1c5d6 | |||
| d6d333432c |
@@ -73,11 +73,6 @@ ios/Podfile.lock
|
|||||||
android/app/src/main/res/drawable-*
|
android/app/src/main/res/drawable-*
|
||||||
android/app/src/main/assets/*
|
android/app/src/main/assets/*
|
||||||
|
|
||||||
# nodejs-mobile creates these with every npm install
|
|
||||||
nodejs-assets/nodejs-project/sample-*
|
|
||||||
nodejs-assets/build-native-modules-MacOS-helper-script-node.sh
|
|
||||||
nodejs-assets/build-native-modules-MacOS-helper-script-npm.sh
|
|
||||||
|
|
||||||
# yarn
|
# yarn
|
||||||
.yarn/*
|
.yarn/*
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ updates:
|
|||||||
- dependency-name: '*'
|
- dependency-name: '*'
|
||||||
update-types: ['version-update:semver-patch']
|
update-types: ['version-update:semver-patch']
|
||||||
- dependency-name: 'realm'
|
- dependency-name: 'realm'
|
||||||
- dependency-name: 'nodejs-mobile-react-native'
|
|
||||||
- dependency-name: 'react'
|
- dependency-name: 'react'
|
||||||
- dependency-name: 'react-native'
|
- dependency-name: 'react-native'
|
||||||
- dependency-name: 'react-native-push-notifications'
|
- dependency-name: 'react-native-push-notifications'
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ Install [Android Studio](https://developer.android.com/studio/) - you'll need it
|
|||||||
|
|
||||||
### 3.2 More requirements from Android Studio
|
### 3.2 More requirements from Android Studio
|
||||||
|
|
||||||
Open Android Studio and click on "Open an existing Android Studio project". Navigate to the drip repository you cloned and double click the android folder. It detects, downloads and cofigures requirements that might be missing, like the NDK and CMake to build the native code part of the project. Also see the [nodejs-mobile repository](https://github.com/janeasystems/nodejs-mobile) for the necessary prerequisites for your system.
|
Open Android Studio and click on "Open an existing Android Studio project". Navigate to the drip repository you cloned and double click the android folder. It detects, downloads and cofigures requirements that might be missing, like the NDK and CMake to build the native code part of the project.
|
||||||
|
|
||||||
### 3.3 Run the app on Android
|
### 3.3 Run the app on Android
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:windowSoftInputMode="adjustResize"
|
android:windowSoftInputMode="adjustPan"
|
||||||
android:screenOrientation="sensorPortrait">
|
android:screenOrientation="sensorPortrait">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ buildscript {
|
|||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
ext.kotlinVersion = "1.3.10"
|
ext.kotlinVersion = "1.4.20"
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.android.tools.build:gradle:4.2.2")
|
classpath("com.android.tools.build:gradle:4.2.2")
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ allprojects {
|
|||||||
content {
|
content {
|
||||||
excludeGroup "com.facebook.react"
|
excludeGroup "com.facebook.react"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
google()
|
google()
|
||||||
maven { url 'https://www.jitpack.io' }
|
maven { url 'https://www.jitpack.io' }
|
||||||
maven {
|
maven {
|
||||||
@@ -53,5 +53,5 @@ ext {
|
|||||||
minSdkVersion = 23
|
minSdkVersion = 23
|
||||||
compileSdkVersion = 30
|
compileSdkVersion = 30
|
||||||
targetSdkVersion = 30
|
targetSdkVersion = 30
|
||||||
ndkVersion = "21.4.7075529"
|
ndkVersion = "21.4.7075529"
|
||||||
}
|
}
|
||||||
|
|||||||
+14
-37
@@ -1,13 +1,16 @@
|
|||||||
import React from 'react'
|
import React, { useEffect } from 'react'
|
||||||
import { ScrollView, StyleSheet, View } from 'react-native'
|
import { ScrollView, StyleSheet, View } from 'react-native'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
|
|
||||||
import AppText from './common/app-text'
|
import AppText from './common/app-text'
|
||||||
|
import Asterisk from './common/Asterisk'
|
||||||
import Button from './common/button'
|
import Button from './common/button'
|
||||||
|
import Footnote from './common/Footnote'
|
||||||
|
|
||||||
import cycleModule from '../lib/cycle'
|
import cycleModule from '../lib/cycle'
|
||||||
import { getFertilityStatusForDay } from '../lib/sympto-adapter'
|
import { getFertilityStatusForDay } from '../lib/sympto-adapter'
|
||||||
|
import setupNotifications from '../lib/notifications'
|
||||||
import {
|
import {
|
||||||
determinePredictionText,
|
determinePredictionText,
|
||||||
formatWithOrdinalSuffix,
|
formatWithOrdinalSuffix,
|
||||||
@@ -17,13 +20,10 @@ import { Colors, Fonts, Sizes, Spacing } from '../styles'
|
|||||||
import { LocalDate } from '@js-joda/core'
|
import { LocalDate } from '@js-joda/core'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
const Home = ({ navigate, setDate }) => {
|
const Home = ({ navigation }) => {
|
||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
|
|
||||||
function navigateToCycleDayView() {
|
useEffect(() => setupNotifications(navigation), [])
|
||||||
setDate(todayDateString)
|
|
||||||
navigate('CycleDay')
|
|
||||||
}
|
|
||||||
|
|
||||||
const todayDateString = LocalDate.now().toString()
|
const todayDateString = LocalDate.now().toString()
|
||||||
const { getCycleDayNumber, getPredictedMenses } = cycleModule()
|
const { getCycleDayNumber, getPredictedMenses } = cycleModule()
|
||||||
@@ -31,11 +31,14 @@ const Home = ({ navigate, setDate }) => {
|
|||||||
const { status, phase, statusText } =
|
const { status, phase, statusText } =
|
||||||
getFertilityStatusForDay(todayDateString)
|
getFertilityStatusForDay(todayDateString)
|
||||||
const prediction = determinePredictionText(getPredictedMenses(), t)
|
const prediction = determinePredictionText(getPredictedMenses(), t)
|
||||||
|
|
||||||
const cycleDayText = cycleDayNumber
|
const cycleDayText = cycleDayNumber
|
||||||
? formatWithOrdinalSuffix(cycleDayNumber)
|
? formatWithOrdinalSuffix(cycleDayNumber)
|
||||||
: ''
|
: ''
|
||||||
|
|
||||||
|
function navigateToCycleDayView() {
|
||||||
|
navigation.navigate('CycleDayOverview', { date: todayDateString })
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ScrollView
|
<ScrollView
|
||||||
style={styles.container}
|
style={styles.container}
|
||||||
@@ -69,26 +72,12 @@ const Home = ({ navigate, setDate }) => {
|
|||||||
<Button isCTA isSmall={false} onPress={navigateToCycleDayView}>
|
<Button isCTA isSmall={false} onPress={navigateToCycleDayView}>
|
||||||
{t('labels.home.addDataForToday')}
|
{t('labels.home.addDataForToday')}
|
||||||
</Button>
|
</Button>
|
||||||
{phase && (
|
{phase && <Footnote colorLabel="greyLight">{statusText}</Footnote>}
|
||||||
<View style={styles.asteriskLine}>
|
|
||||||
<Asterisk />
|
|
||||||
<AppText linkStyle={styles.whiteText} style={styles.greyText}>
|
|
||||||
{statusText}
|
|
||||||
</AppText>
|
|
||||||
</View>
|
|
||||||
)}
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const Asterisk = () => {
|
|
||||||
return <AppText style={styles.asterisk}>*</AppText>
|
|
||||||
}
|
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
asterisk: {
|
|
||||||
color: Colors.orange,
|
|
||||||
},
|
|
||||||
container: {
|
container: {
|
||||||
backgroundColor: Colors.purple,
|
backgroundColor: Colors.purple,
|
||||||
flex: 1,
|
flex: 1,
|
||||||
@@ -104,12 +93,6 @@ const styles = StyleSheet.create({
|
|||||||
marginBottom: Spacing.tiny,
|
marginBottom: Spacing.tiny,
|
||||||
marginTop: Spacing.small,
|
marginTop: Spacing.small,
|
||||||
},
|
},
|
||||||
asteriskLine: {
|
|
||||||
flexDirection: 'row',
|
|
||||||
alignContent: 'flex-start',
|
|
||||||
marginBottom: Spacing.tiny,
|
|
||||||
marginTop: Spacing.small,
|
|
||||||
},
|
|
||||||
title: {
|
title: {
|
||||||
color: Colors.purpleLight,
|
color: Colors.purpleLight,
|
||||||
fontFamily: Fonts.bold,
|
fontFamily: Fonts.bold,
|
||||||
@@ -124,18 +107,12 @@ const styles = StyleSheet.create({
|
|||||||
color: 'white',
|
color: 'white',
|
||||||
fontSize: Sizes.subtitle,
|
fontSize: Sizes.subtitle,
|
||||||
},
|
},
|
||||||
whiteText: {
|
|
||||||
color: 'white',
|
|
||||||
},
|
|
||||||
greyText: {
|
|
||||||
color: Colors.greyLight,
|
|
||||||
paddingLeft: Spacing.base,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
Home.propTypes = {
|
Home.propTypes = {
|
||||||
navigate: PropTypes.func,
|
navigation: PropTypes.shape({
|
||||||
setDate: PropTypes.func,
|
navigate: PropTypes.func.isRequired,
|
||||||
|
}).isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Home
|
export default Home
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
import React, { useState, useEffect } from 'react'
|
import React, { useState, useEffect } from 'react'
|
||||||
import nodejs from 'nodejs-mobile-react-native'
|
|
||||||
|
|
||||||
import { getLicenseFlag, saveEncryptionFlag } from '../local-storage'
|
import { getLicenseFlag, saveEncryptionFlag } from '../local-storage'
|
||||||
import { openDb } from '../db'
|
import { closeDb, openDb } from '../db'
|
||||||
|
|
||||||
import App from './app'
|
import App from './app'
|
||||||
import AppLoadingView from './common/app-loading'
|
import AppLoadingView from './common/app-loading'
|
||||||
@@ -28,9 +27,10 @@ export default function AppWrapper() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
nodejs.start('main.js')
|
|
||||||
checkIsLicenseAccepted()
|
checkIsLicenseAccepted()
|
||||||
checkIsDbEncrypted()
|
checkIsDbEncrypted()
|
||||||
|
|
||||||
|
return () => closeDb()
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
|
|||||||
+64
-53
@@ -1,71 +1,82 @@
|
|||||||
import React, { useState, useEffect } from 'react'
|
import React from 'react'
|
||||||
import { BackHandler, StyleSheet, View } from 'react-native'
|
import 'react-native-gesture-handler'
|
||||||
import PropTypes from 'prop-types'
|
import { StyleSheet, Text } from 'react-native'
|
||||||
|
import { NavigationContainer } from '@react-navigation/native'
|
||||||
import { LocalDate } from '@js-joda/core'
|
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'
|
||||||
|
import { createStackNavigator } from '@react-navigation/stack'
|
||||||
|
|
||||||
|
import Home from './Home'
|
||||||
|
import Chart from './chart/chart'
|
||||||
|
import CalendarView from './calendar'
|
||||||
|
import CycleDayOverview from './cycle-day/cycle-day-overview'
|
||||||
|
import Stats from './stats'
|
||||||
|
import Icon from './common/menu-icon'
|
||||||
import Header from './header'
|
import Header from './header'
|
||||||
import Menu from './menu'
|
|
||||||
import { viewsList } from './views'
|
|
||||||
import { pages } from './pages'
|
|
||||||
|
|
||||||
import setupNotifications from '../lib/notifications'
|
import { Colors, Fonts, Sizes } from '../styles'
|
||||||
import { closeDb } from '../db'
|
|
||||||
|
|
||||||
const App = ({ restartApp }) => {
|
const HomeStack = createStackNavigator()
|
||||||
const [date, setDate] = useState(LocalDate.now().toString())
|
|
||||||
const [currentPage, setCurrentPage] = useState('Home')
|
|
||||||
const goBack = () => {
|
|
||||||
if (currentPage === 'Home') {
|
|
||||||
closeDb()
|
|
||||||
BackHandler.exitApp()
|
|
||||||
} else {
|
|
||||||
const { parent } = pages.find((p) => p.component === currentPage)
|
|
||||||
|
|
||||||
setCurrentPage(parent)
|
|
||||||
}
|
|
||||||
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
const backHandler = BackHandler.addEventListener(
|
|
||||||
'hardwareBackPress',
|
|
||||||
goBack
|
|
||||||
)
|
|
||||||
|
|
||||||
return () => backHandler.remove()
|
|
||||||
})
|
|
||||||
|
|
||||||
useEffect(() => setupNotifications(setCurrentPage, setDate), [])
|
|
||||||
|
|
||||||
const Page = viewsList[currentPage]
|
|
||||||
const isTemperatureEditView = currentPage === 'TemperatureEditView'
|
|
||||||
const headerProps = { navigate: setCurrentPage }
|
|
||||||
const pageProps = {
|
|
||||||
date,
|
|
||||||
setDate,
|
|
||||||
isTemperatureEditView,
|
|
||||||
navigate: setCurrentPage,
|
|
||||||
}
|
|
||||||
|
|
||||||
|
function HomeStackScreen() {
|
||||||
return (
|
return (
|
||||||
<View style={styles.container}>
|
<HomeStack.Navigator screenOptions={{ headerShown: false }}>
|
||||||
<Header {...headerProps} />
|
<HomeStack.Screen name="Home" component={Home} />
|
||||||
<Page {...pageProps} restartApp={restartApp} />
|
<HomeStack.Screen name="CycleDayOverview" component={CycleDayOverview} />
|
||||||
<Menu currentPage={currentPage} navigate={setCurrentPage} />
|
</HomeStack.Navigator>
|
||||||
</View>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
App.propTypes = {
|
const Tab = createBottomTabNavigator()
|
||||||
restartApp: PropTypes.func,
|
|
||||||
|
const App = () => {
|
||||||
|
return (
|
||||||
|
<NavigationContainer>
|
||||||
|
<Tab.Navigator
|
||||||
|
screenOptions={({ route }) => ({
|
||||||
|
header: ({ navigation }) => <Header navigation={navigation} />,
|
||||||
|
tabBarIcon: ({ focused }) => {
|
||||||
|
let icon = 'chart'
|
||||||
|
|
||||||
|
if (route.name === 'CalendarStackScreen') {
|
||||||
|
icon = 'calendar'
|
||||||
|
} else if (route.name === 'Stats') {
|
||||||
|
icon = 'statistics'
|
||||||
|
}
|
||||||
|
|
||||||
|
return <Icon name={icon} isActive={focused} />
|
||||||
|
},
|
||||||
|
tabBarLabel: ({ color }) => {
|
||||||
|
return (
|
||||||
|
<Text style={[styles.text, { color: color }]}>{route.name}</Text>
|
||||||
|
)
|
||||||
|
},
|
||||||
|
tabBarActiveTintColor: Colors.orange,
|
||||||
|
tabBarInactiveTintColor: Colors.grey,
|
||||||
|
tabBarStyle: { height: 80 },
|
||||||
|
})}
|
||||||
|
>
|
||||||
|
<Tab.Screen
|
||||||
|
name="HomeStackScreen"
|
||||||
|
component={HomeStackScreen}
|
||||||
|
options={{ tabBarButton: () => null, tabBarVisible: false }}
|
||||||
|
/>
|
||||||
|
<Tab.Screen name="Calendar" component={CalendarView} />
|
||||||
|
<Tab.Screen name="Chart" component={Chart} />
|
||||||
|
<Tab.Screen name="Stats" component={Stats} />
|
||||||
|
</Tab.Navigator>
|
||||||
|
</NavigationContainer>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
},
|
},
|
||||||
|
text: {
|
||||||
|
fontFamily: Fonts.bold,
|
||||||
|
fontSize: Sizes.small,
|
||||||
|
textTransform: 'uppercase',
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|||||||
@@ -12,13 +12,12 @@ import {
|
|||||||
todayToCalFormat,
|
todayToCalFormat,
|
||||||
} from './helpers/calendar'
|
} from './helpers/calendar'
|
||||||
|
|
||||||
const CalendarView = ({ setDate, navigate }) => {
|
const CalendarView = ({ navigation }) => {
|
||||||
const bleedingDays = getBleedingDaysSortedByDate()
|
const bleedingDays = getBleedingDaysSortedByDate()
|
||||||
const predictedMenses = cycleModule().getPredictedMenses()
|
const predictedMenses = cycleModule().getPredictedMenses()
|
||||||
|
|
||||||
const passDateToDayView = ({ dateString }) => {
|
const passDateToDayView = ({ dateString }) => {
|
||||||
setDate(dateString)
|
navigation.navigate('CycleDayOverview', { date: dateString })
|
||||||
navigate('CycleDay')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const markedDates = Object.assign(
|
const markedDates = Object.assign(
|
||||||
@@ -49,8 +48,9 @@ const styles = StyleSheet.create({
|
|||||||
})
|
})
|
||||||
|
|
||||||
CalendarView.propTypes = {
|
CalendarView.propTypes = {
|
||||||
setDate: PropTypes.func.isRequired,
|
navigation: PropTypes.shape({
|
||||||
navigate: PropTypes.func.isRequired,
|
navigate: PropTypes.func.isRequired,
|
||||||
|
}).isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default CalendarView
|
export default CalendarView
|
||||||
|
|||||||
@@ -28,12 +28,24 @@ import { Spacing } from '../../styles'
|
|||||||
const getSymptomsFromCycleDays = (cycleDays) =>
|
const getSymptomsFromCycleDays = (cycleDays) =>
|
||||||
SYMPTOMS.filter((symptom) => cycleDays.some((cycleDay) => cycleDay[symptom]))
|
SYMPTOMS.filter((symptom) => cycleDays.some((cycleDay) => cycleDay[symptom]))
|
||||||
|
|
||||||
const CycleChart = ({ navigate, setDate }) => {
|
const CycleChart = ({ navigation }) => {
|
||||||
const [shouldShowHint, setShouldShowHint] = useState(true)
|
const [shouldShowHint, setShouldShowHint] = useState(true)
|
||||||
|
|
||||||
useEffect(async () => {
|
useEffect(() => {
|
||||||
const flag = await getChartFlag()
|
let isMounted = true
|
||||||
setShouldShowHint(flag === 'true')
|
|
||||||
|
async function checkShouldShowHint() {
|
||||||
|
const flag = await getChartFlag()
|
||||||
|
if (isMounted) {
|
||||||
|
setShouldShowHint(flag === 'true')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
checkShouldShowHint()
|
||||||
|
|
||||||
|
return () => {
|
||||||
|
isMounted = false
|
||||||
|
}
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
const hideHint = () => {
|
const hideHint = () => {
|
||||||
@@ -72,9 +84,8 @@ const CycleChart = ({ navigate, setDate }) => {
|
|||||||
const renderColumn = ({ item }) => {
|
const renderColumn = ({ item }) => {
|
||||||
return (
|
return (
|
||||||
<DayColumn
|
<DayColumn
|
||||||
setDate={setDate}
|
|
||||||
dateString={item}
|
dateString={item}
|
||||||
navigate={navigate}
|
navigation={navigation}
|
||||||
symptomHeight={symptomHeight}
|
symptomHeight={symptomHeight}
|
||||||
columnHeight={columnHeight}
|
columnHeight={columnHeight}
|
||||||
symptomRowSymptoms={symptomRowSymptoms}
|
symptomRowSymptoms={symptomRowSymptoms}
|
||||||
@@ -88,7 +99,7 @@ const CycleChart = ({ navigate, setDate }) => {
|
|||||||
const hasDataToDisplay = chartSymptoms.length > 0
|
const hasDataToDisplay = chartSymptoms.length > 0
|
||||||
|
|
||||||
if (!hasDataToDisplay) {
|
if (!hasDataToDisplay) {
|
||||||
return <NoData navigate={navigate} />
|
return <NoData />
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -123,8 +134,9 @@ const CycleChart = ({ navigate, setDate }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CycleChart.propTypes = {
|
CycleChart.propTypes = {
|
||||||
navigate: PropTypes.func,
|
navigation: PropTypes.shape({
|
||||||
setDate: PropTypes.func,
|
navigate: PropTypes.func.isRequired,
|
||||||
|
}).isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
|
|||||||
@@ -19,8 +19,7 @@ const DayColumn = ({
|
|||||||
dateString,
|
dateString,
|
||||||
chartSymptoms,
|
chartSymptoms,
|
||||||
columnHeight,
|
columnHeight,
|
||||||
setDate,
|
navigation,
|
||||||
navigate,
|
|
||||||
shouldShowTemperatureColumn,
|
shouldShowTemperatureColumn,
|
||||||
symptomHeight,
|
symptomHeight,
|
||||||
symptomRowSymptoms,
|
symptomRowSymptoms,
|
||||||
@@ -60,10 +59,8 @@ const DayColumn = ({
|
|||||||
columnHeight
|
columnHeight
|
||||||
)
|
)
|
||||||
|
|
||||||
const onDaySelect = (date) => {
|
const onDaySelect = (date) =>
|
||||||
setDate(date)
|
navigation.navigate('CycleDayOverview', { date })
|
||||||
navigate('CycleDay')
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TouchableOpacity onPress={() => onDaySelect(dateString)} activeOpacity={1}>
|
<TouchableOpacity onPress={() => onDaySelect(dateString)} activeOpacity={1}>
|
||||||
@@ -104,12 +101,13 @@ DayColumn.propTypes = {
|
|||||||
dateString: PropTypes.string.isRequired,
|
dateString: PropTypes.string.isRequired,
|
||||||
chartSymptoms: PropTypes.array,
|
chartSymptoms: PropTypes.array,
|
||||||
columnHeight: PropTypes.number.isRequired,
|
columnHeight: PropTypes.number.isRequired,
|
||||||
navigate: PropTypes.func.isRequired,
|
|
||||||
setDate: PropTypes.func.isRequired,
|
|
||||||
shouldShowTemperatureColumn: PropTypes.bool,
|
shouldShowTemperatureColumn: PropTypes.bool,
|
||||||
symptomHeight: PropTypes.number.isRequired,
|
symptomHeight: PropTypes.number.isRequired,
|
||||||
symptomRowSymptoms: PropTypes.array,
|
symptomRowSymptoms: PropTypes.array,
|
||||||
xAxisHeight: PropTypes.number,
|
xAxisHeight: PropTypes.number,
|
||||||
|
navigation: PropTypes.shape({
|
||||||
|
navigate: PropTypes.func.isRequired,
|
||||||
|
}).isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default DayColumn
|
export default DayColumn
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import PropTypes from 'prop-types'
|
||||||
|
import { StyleSheet, Text, Linking } from 'react-native'
|
||||||
|
|
||||||
|
import { Colors, Typography } from '../../styles'
|
||||||
|
|
||||||
|
const AppLink = ({ children, url, ...props }) => {
|
||||||
|
return (
|
||||||
|
<Text style={styles.link} {...props} onPress={() => Linking.openURL(url)}>
|
||||||
|
{children}
|
||||||
|
</Text>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
AppLink.propTypes = {
|
||||||
|
children: PropTypes.node,
|
||||||
|
url: PropTypes.string,
|
||||||
|
}
|
||||||
|
|
||||||
|
const styles = StyleSheet.create({
|
||||||
|
link: {
|
||||||
|
...Typography.mainText,
|
||||||
|
color: Colors.purple,
|
||||||
|
textDecorationLine: 'underline',
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
export default AppLink
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import { StyleSheet } from 'react-native'
|
||||||
|
|
||||||
|
import AppText from './app-text'
|
||||||
|
|
||||||
|
import { Colors } from '../../styles'
|
||||||
|
|
||||||
|
const Asterisk = () => <AppText style={styles.asterisk}>*</AppText>
|
||||||
|
|
||||||
|
const styles = StyleSheet.create({
|
||||||
|
asterisk: {
|
||||||
|
color: Colors.orange,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
export default Asterisk
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import PropTypes from 'prop-types'
|
||||||
|
import { StyleSheet, View } from 'react-native'
|
||||||
|
|
||||||
|
import AppText from '../common/app-text'
|
||||||
|
import Asterisk from '../common/Asterisk'
|
||||||
|
|
||||||
|
import { Colors, Spacing } from '../../styles'
|
||||||
|
|
||||||
|
const Footnote = ({ children, colorLabel }) => {
|
||||||
|
if (!children) return false
|
||||||
|
|
||||||
|
return (
|
||||||
|
<View style={styles.container}>
|
||||||
|
<Asterisk />
|
||||||
|
<AppText
|
||||||
|
linkStyle={styles.link}
|
||||||
|
style={{ ...styles.text, color: Colors[colorLabel] }}
|
||||||
|
>
|
||||||
|
{children}
|
||||||
|
</AppText>
|
||||||
|
</View>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
Footnote.propTypes = {
|
||||||
|
children: PropTypes.node,
|
||||||
|
colorLabel: PropTypes.string,
|
||||||
|
}
|
||||||
|
|
||||||
|
Footnote.defaultProps = {
|
||||||
|
colorLabel: 'greyDark',
|
||||||
|
}
|
||||||
|
|
||||||
|
const styles = StyleSheet.create({
|
||||||
|
container: {
|
||||||
|
flexDirection: 'row',
|
||||||
|
alignContent: 'flex-start',
|
||||||
|
marginBottom: Spacing.tiny,
|
||||||
|
marginTop: Spacing.base,
|
||||||
|
},
|
||||||
|
link: {
|
||||||
|
color: 'white',
|
||||||
|
},
|
||||||
|
text: {
|
||||||
|
paddingLeft: Spacing.small,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
export default Footnote
|
||||||
@@ -1,20 +1,33 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { Modal, StyleSheet, TouchableOpacity } from 'react-native'
|
import {
|
||||||
|
Dimensions,
|
||||||
|
Modal,
|
||||||
|
StyleSheet,
|
||||||
|
TouchableOpacity,
|
||||||
|
View,
|
||||||
|
} from 'react-native'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
|
|
||||||
const AppModal = ({ children, onClose }) => {
|
import CloseIcon from './close-icon'
|
||||||
return (
|
|
||||||
<Modal
|
import { Sizes, Spacing } from '../../styles'
|
||||||
animationType="fade"
|
|
||||||
onRequestClose={onClose}
|
const AppModal = ({ children, onClose }) => (
|
||||||
transparent={true}
|
<Modal
|
||||||
visible={true}
|
animationType="fade"
|
||||||
>
|
onRequestClose={onClose}
|
||||||
<TouchableOpacity onPress={onClose} style={styles.blackBackground} />
|
transparent={true}
|
||||||
|
visible={true}
|
||||||
|
>
|
||||||
|
<TouchableOpacity onPress={onClose} style={styles.blackBackground} />
|
||||||
|
<View style={styles.modalWindow}>
|
||||||
|
<View style={styles.headerContainer}>
|
||||||
|
<CloseIcon onClose={onClose} />
|
||||||
|
</View>
|
||||||
{children}
|
{children}
|
||||||
</Modal>
|
</View>
|
||||||
)
|
</Modal>
|
||||||
}
|
)
|
||||||
|
|
||||||
AppModal.propTypes = {
|
AppModal.propTypes = {
|
||||||
children: PropTypes.node,
|
children: PropTypes.node,
|
||||||
@@ -27,6 +40,28 @@ const styles = StyleSheet.create({
|
|||||||
flex: 1,
|
flex: 1,
|
||||||
opacity: 0.5,
|
opacity: 0.5,
|
||||||
},
|
},
|
||||||
|
headerContainer: {
|
||||||
|
flexDirection: 'row',
|
||||||
|
justifyContent: 'flex-end',
|
||||||
|
paddingTop: Spacing.base,
|
||||||
|
paddingHorizontal: Spacing.base,
|
||||||
|
position: 'absolute',
|
||||||
|
width: '100%',
|
||||||
|
zIndex: 3, // works on ios
|
||||||
|
elevation: 3, // works on android
|
||||||
|
},
|
||||||
|
modalWindow: {
|
||||||
|
alignSelf: 'center',
|
||||||
|
backgroundColor: 'white',
|
||||||
|
borderRadius: 10,
|
||||||
|
marginTop: Sizes.huge * 2,
|
||||||
|
paddingVertical: Spacing.large * 2,
|
||||||
|
position: 'absolute',
|
||||||
|
maxHeight: Dimensions.get('window').height * 0.7,
|
||||||
|
zIndex: 2, // works on ios
|
||||||
|
elevation: 2, // works on android
|
||||||
|
minWidth: '80%',
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
export default AppModal
|
export default AppModal
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { ScrollView, StyleSheet, View } from 'react-native'
|
|||||||
|
|
||||||
import AppText from '../common/app-text'
|
import AppText from '../common/app-text'
|
||||||
|
|
||||||
import { Colors, Typography } from '../../styles'
|
import { Colors, Containers, Typography } from '../../styles'
|
||||||
|
|
||||||
const AppPage = ({
|
const AppPage = ({
|
||||||
children,
|
children,
|
||||||
@@ -35,10 +35,7 @@ AppPage.propTypes = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: { ...Containers.pageContainer },
|
||||||
backgroundColor: Colors.turquoiseLight,
|
|
||||||
flex: 1,
|
|
||||||
},
|
|
||||||
scrollView: {
|
scrollView: {
|
||||||
backgroundColor: Colors.turquoiseLight,
|
backgroundColor: Colors.turquoiseLight,
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
|
|||||||
@@ -1,30 +1,15 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { KeyboardAvoidingView, StyleSheet, TextInput } from 'react-native'
|
import { StyleSheet, TextInput } from 'react-native'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
|
|
||||||
import { Colors, Spacing, Typography } from '../../styles'
|
import { Colors, Spacing, Typography } from '../../styles'
|
||||||
|
|
||||||
const AppTextInput = ({ style, isKeyboardOffset, ...props }) => {
|
const AppTextInput = ({ style, ...props }) => (
|
||||||
const behavior = isKeyboardOffset ? 'padding' : 'height'
|
<TextInput style={[styles.input, style]} {...props} />
|
||||||
const keyboardVerticalOffset = isKeyboardOffset ? 300 : 0
|
)
|
||||||
|
|
||||||
return (
|
|
||||||
<KeyboardAvoidingView
|
|
||||||
behavior={behavior}
|
|
||||||
keyboardVerticalOffset={keyboardVerticalOffset}
|
|
||||||
>
|
|
||||||
<TextInput style={[styles.input, style]} {...props} />
|
|
||||||
</KeyboardAvoidingView>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
AppTextInput.propTypes = {
|
AppTextInput.propTypes = {
|
||||||
style: PropTypes.object,
|
style: PropTypes.object,
|
||||||
isKeyboardOffset: PropTypes.bool,
|
|
||||||
}
|
|
||||||
|
|
||||||
AppTextInput.defultProps = {
|
|
||||||
isKeyboardOffset: true,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
|
|||||||
@@ -2,24 +2,18 @@ import React from 'react'
|
|||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { StyleSheet, Text } from 'react-native'
|
import { StyleSheet, Text } from 'react-native'
|
||||||
|
|
||||||
import Link from './link'
|
|
||||||
|
|
||||||
import { Colors, Typography } from '../../styles'
|
import { Colors, Typography } from '../../styles'
|
||||||
|
|
||||||
const AppText = ({ children, linkStyle, style, ...props }) => {
|
const AppText = ({ children, style, ...props }) => {
|
||||||
// we parse for links in case the text contains any
|
|
||||||
return (
|
return (
|
||||||
<Link style={linkStyle}>
|
<Text style={[styles.text, style]} {...props}>
|
||||||
<Text style={[styles.text, style]} {...props}>
|
{children}
|
||||||
{children}
|
</Text>
|
||||||
</Text>
|
|
||||||
</Link>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
AppText.propTypes = {
|
AppText.propTypes = {
|
||||||
children: PropTypes.node,
|
children: PropTypes.node,
|
||||||
linkStyle: PropTypes.object,
|
|
||||||
style: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),
|
style: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
import PropTypes from 'prop-types'
|
|
||||||
import Hyperlink from 'react-native-hyperlink'
|
|
||||||
import { StyleSheet } from 'react-native'
|
|
||||||
|
|
||||||
import { Colors, Typography } from '../../styles'
|
|
||||||
|
|
||||||
import links from '../../i18n/en/links'
|
|
||||||
|
|
||||||
const Link = ({ children, style }) => {
|
|
||||||
return (
|
|
||||||
<Hyperlink
|
|
||||||
linkStyle={[styles.link, style]}
|
|
||||||
linkText={replaceUrlWithText}
|
|
||||||
linkDefault
|
|
||||||
>
|
|
||||||
{children}
|
|
||||||
</Hyperlink>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
Link.propTypes = {
|
|
||||||
children: PropTypes.node,
|
|
||||||
style: PropTypes.object,
|
|
||||||
}
|
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
|
||||||
link: {
|
|
||||||
color: Colors.purple,
|
|
||||||
textDecorationLine: 'underline',
|
|
||||||
...Typography.mainText,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
function replaceUrlWithText(url) {
|
|
||||||
const link = Object.values(links).find((l) => l.url === url)
|
|
||||||
return (link && link.text) || url
|
|
||||||
}
|
|
||||||
|
|
||||||
export default Link
|
|
||||||
@@ -4,7 +4,7 @@ import { StyleSheet, View } from 'react-native'
|
|||||||
|
|
||||||
import AppText from './app-text'
|
import AppText from './app-text'
|
||||||
|
|
||||||
import { Colors, Spacing, Typography } from '../../styles'
|
import { Colors, Containers, Spacing, Typography } from '../../styles'
|
||||||
|
|
||||||
const Segment = ({ children, last, title }) => {
|
const Segment = ({ children, last, title }) => {
|
||||||
const containerStyle = last ? styles.containerLast : styles.container
|
const containerStyle = last ? styles.containerLast : styles.container
|
||||||
@@ -25,21 +25,16 @@ Segment.propTypes = {
|
|||||||
title: PropTypes.string,
|
title: PropTypes.string,
|
||||||
}
|
}
|
||||||
|
|
||||||
const segmentContainer = {
|
|
||||||
marginHorizontal: Spacing.base,
|
|
||||||
marginBottom: Spacing.base,
|
|
||||||
}
|
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
borderStyle: 'solid',
|
borderStyle: 'solid',
|
||||||
borderBottomWidth: 1,
|
borderBottomWidth: 1,
|
||||||
borderBottomColor: Colors.greyLight,
|
borderBottomColor: Colors.greyLight,
|
||||||
paddingBottom: Spacing.base,
|
paddingBottom: Spacing.base,
|
||||||
...segmentContainer,
|
...Containers.segmentContainer,
|
||||||
},
|
},
|
||||||
containerLast: {
|
containerLast: {
|
||||||
...segmentContainer,
|
...Containers.segmentContainer,
|
||||||
},
|
},
|
||||||
title: {
|
title: {
|
||||||
...Typography.subtitle,
|
...Typography.subtitle,
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ import { getData, nextDate, prevDate } from '../helpers/cycle-day'
|
|||||||
import { Spacing } from '../../styles'
|
import { Spacing } from '../../styles'
|
||||||
import { SYMPTOMS } from '../../config'
|
import { SYMPTOMS } from '../../config'
|
||||||
|
|
||||||
const CycleDayOverView = ({ date, setDate, isTemperatureEditView }) => {
|
const CycleDayOverView = ({ route }) => {
|
||||||
|
const { date, isTemperatureEditView } = route.params
|
||||||
const cycleDay = getCycleDay(date)
|
const cycleDay = getCycleDay(date)
|
||||||
|
|
||||||
const [editedSymptom, setEditedSymptom] = useState(
|
const [editedSymptom, setEditedSymptom] = useState(
|
||||||
@@ -20,11 +21,11 @@ const CycleDayOverView = ({ date, setDate, isTemperatureEditView }) => {
|
|||||||
)
|
)
|
||||||
|
|
||||||
const showNextCycleDay = () => {
|
const showNextCycleDay = () => {
|
||||||
setDate(nextDate(date))
|
//setDate(nextDate(date))
|
||||||
}
|
}
|
||||||
|
|
||||||
const showPrevCycleDay = () => {
|
const showPrevCycleDay = () => {
|
||||||
setDate(prevDate(date))
|
//setDate(prevDate(date))
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -57,10 +58,12 @@ const CycleDayOverView = ({ date, setDate, isTemperatureEditView }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CycleDayOverView.propTypes = {
|
CycleDayOverView.propTypes = {
|
||||||
cycleDay: PropTypes.object,
|
route: PropTypes.shape({
|
||||||
date: PropTypes.string,
|
params: PropTypes.shape({
|
||||||
setDate: PropTypes.func,
|
date: PropTypes.string,
|
||||||
isTemperatureEditView: PropTypes.bool,
|
isTemperatureEditView: PropTypes.bool,
|
||||||
|
}),
|
||||||
|
}),
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import SymptomEditView from './symptom-edit-view'
|
|||||||
import { isDateInFuture } from '../helpers/cycle-day'
|
import { isDateInFuture } from '../helpers/cycle-day'
|
||||||
|
|
||||||
import { Colors, Sizes, Spacing } from '../../styles'
|
import { Colors, Sizes, Spacing } from '../../styles'
|
||||||
import { headerTitles as symptomTitles } from '../../i18n/en/labels'
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
const SymptomBox = ({
|
const SymptomBox = ({
|
||||||
date,
|
date,
|
||||||
@@ -20,6 +20,7 @@ const SymptomBox = ({
|
|||||||
editedSymptom,
|
editedSymptom,
|
||||||
setEditedSymptom,
|
setEditedSymptom,
|
||||||
}) => {
|
}) => {
|
||||||
|
const { t } = useTranslation(null, { keyPrefix: 'cycleDay.symptomBox' })
|
||||||
const isSymptomEdited = editedSymptom === symptom
|
const isSymptomEdited = editedSymptom === symptom
|
||||||
const isSymptomDisabled = isDateInFuture(date) && symptom !== 'note'
|
const isSymptomDisabled = isDateInFuture(date) && symptom !== 'note'
|
||||||
const isExcluded = symptomData !== null ? symptomData.exclude : false
|
const isExcluded = symptomData !== null ? symptomData.exclude : false
|
||||||
@@ -61,9 +62,7 @@ const SymptomBox = ({
|
|||||||
size={Sizes.icon}
|
size={Sizes.icon}
|
||||||
/>
|
/>
|
||||||
<View style={styles.textContainer}>
|
<View style={styles.textContainer}>
|
||||||
<AppText style={symptomNameStyle}>
|
<AppText style={symptomNameStyle}>{t(symptom)}</AppText>
|
||||||
{symptomTitles[symptom].toLowerCase()}
|
|
||||||
</AppText>
|
|
||||||
{symptomDataToDisplay && (
|
{symptomDataToDisplay && (
|
||||||
<AppText style={textStyle} numberOfLines={4}>
|
<AppText style={textStyle} numberOfLines={4}>
|
||||||
{symptomDataToDisplay}
|
{symptomDataToDisplay}
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
import React, { useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { Dimensions, ScrollView, StyleSheet, View } from 'react-native'
|
import { ScrollView, StyleSheet, View } from 'react-native'
|
||||||
|
|
||||||
import AppModal from '../common/app-modal'
|
import AppModal from '../common/app-modal'
|
||||||
import AppSwitch from '../common/app-switch'
|
import AppSwitch from '../common/app-switch'
|
||||||
import AppText from '../common/app-text'
|
import AppText from '../common/app-text'
|
||||||
import AppTextInput from '../common/app-text-input'
|
import AppTextInput from '../common/app-text-input'
|
||||||
import Button from '../common/button'
|
import Button from '../common/button'
|
||||||
import CloseIcon from '../common/close-icon'
|
|
||||||
import Segment from '../common/segment'
|
import Segment from '../common/segment'
|
||||||
import SelectBoxGroup from './select-box-group'
|
import SelectBoxGroup from './select-box-group'
|
||||||
import SelectTabGroup from './select-tab-group'
|
import SelectTabGroup from './select-tab-group'
|
||||||
@@ -109,103 +108,104 @@ const SymptomEditView = ({ date, onClose, symptom, symptomData }) => {
|
|||||||
}
|
}
|
||||||
const iconName = shouldShowInfo ? 'chevron-up' : 'chevron-down'
|
const iconName = shouldShowInfo ? 'chevron-up' : 'chevron-down'
|
||||||
const noteText = symptom === 'note' ? data.value : data.note
|
const noteText = symptom === 'note' ? data.value : data.note
|
||||||
|
const inputProps = {
|
||||||
|
multiline: true,
|
||||||
|
numberOfLines: 3,
|
||||||
|
scrollEnabled: false,
|
||||||
|
style: styles.input,
|
||||||
|
textAlignVertical: 'top',
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AppModal onClose={onSave}>
|
<AppModal onClose={onSave}>
|
||||||
<View style={styles.modalWindow}>
|
<ScrollView
|
||||||
<View style={styles.headerContainer}>
|
contentContainerStyle={styles.modalContainer}
|
||||||
<CloseIcon onClose={onSave} />
|
keyboardDismissMode="on-drag"
|
||||||
</View>
|
>
|
||||||
<ScrollView
|
{symptom === 'temperature' && (
|
||||||
contentContainerStyle={styles.modalContainer}
|
<Temperature
|
||||||
keyboardDismissMode="on-drag"
|
date={date}
|
||||||
>
|
data={data}
|
||||||
{symptom === 'temperature' && (
|
save={(value, field) => onSaveTemperature(value, field)}
|
||||||
<Temperature
|
/>
|
||||||
date={date}
|
)}
|
||||||
data={data}
|
{shouldShow(symptomConfig.selectTabGroups) &&
|
||||||
save={(value, field) => onSaveTemperature(value, field)}
|
symtomPage[symptom].selectTabGroups.map((group) => {
|
||||||
/>
|
return (
|
||||||
)}
|
<Segment key={group.key} style={styles.segmentBorder}>
|
||||||
{shouldShow(symptomConfig.selectTabGroups) &&
|
<AppText style={styles.title}>{group.title}</AppText>
|
||||||
symtomPage[symptom].selectTabGroups.map((group) => {
|
<SelectTabGroup
|
||||||
return (
|
activeButton={data[group.key]}
|
||||||
<Segment key={group.key} style={styles.segmentBorder}>
|
buttons={group.options}
|
||||||
<AppText style={styles.title}>{group.title}</AppText>
|
onSelect={(value) => onSelectTab(group, value)}
|
||||||
<SelectTabGroup
|
/>
|
||||||
activeButton={data[group.key]}
|
</Segment>
|
||||||
buttons={group.options}
|
)
|
||||||
onSelect={(value) => onSelectTab(group, value)}
|
})}
|
||||||
/>
|
{shouldShow(symptomConfig.selectBoxGroups) &&
|
||||||
</Segment>
|
symtomPage[symptom].selectBoxGroups.map((group) => {
|
||||||
)
|
const isOtherSelected =
|
||||||
})}
|
data['other'] !== null &&
|
||||||
{shouldShow(symptomConfig.selectBoxGroups) &&
|
data['other'] !== false &&
|
||||||
symtomPage[symptom].selectBoxGroups.map((group) => {
|
Object.keys(group.options).includes('other')
|
||||||
const isOtherSelected =
|
|
||||||
data['other'] !== null &&
|
|
||||||
data['other'] !== false &&
|
|
||||||
Object.keys(group.options).includes('other')
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Segment key={group.key} style={styles.segmentBorder}>
|
<Segment key={group.key} style={styles.segmentBorder}>
|
||||||
<AppText style={styles.title}>{group.title}</AppText>
|
<AppText style={styles.title}>{group.title}</AppText>
|
||||||
<SelectBoxGroup
|
<SelectBoxGroup
|
||||||
labels={group.options}
|
labels={group.options}
|
||||||
onSelect={(value) => onSelectBox(value)}
|
onSelect={(value) => onSelectBox(value)}
|
||||||
optionsState={data}
|
optionsState={data}
|
||||||
|
/>
|
||||||
|
{isOtherSelected && (
|
||||||
|
<AppTextInput
|
||||||
|
{...inputProps}
|
||||||
|
placeholder={sharedLabels.enter}
|
||||||
|
value={data.note}
|
||||||
|
onChangeText={(value) => onSelectBoxNote(value)}
|
||||||
/>
|
/>
|
||||||
{isOtherSelected && (
|
)}
|
||||||
<AppTextInput
|
</Segment>
|
||||||
multiline={true}
|
)
|
||||||
placeholder={sharedLabels.enter}
|
})}
|
||||||
value={data.note}
|
{shouldShow(symptomConfig.excludeText) && (
|
||||||
onChangeText={(value) => onSelectBoxNote(value)}
|
<Segment style={styles.segmentBorder}>
|
||||||
/>
|
<AppSwitch
|
||||||
)}
|
onToggle={onExcludeToggle}
|
||||||
</Segment>
|
text={symtomPage[symptom].excludeText}
|
||||||
)
|
value={data.exclude}
|
||||||
})}
|
/>
|
||||||
{shouldShow(symptomConfig.excludeText) && (
|
</Segment>
|
||||||
<Segment style={styles.segmentBorder}>
|
)}
|
||||||
<AppSwitch
|
{shouldShow(symptomConfig.note) && (
|
||||||
onToggle={onExcludeToggle}
|
<Segment style={styles.segmentBorder}>
|
||||||
text={symtomPage[symptom].excludeText}
|
<AppText>{symtomPage[symptom].note}</AppText>
|
||||||
value={data.exclude}
|
<AppTextInput
|
||||||
/>
|
{...inputProps}
|
||||||
</Segment>
|
onChangeText={onEditNote}
|
||||||
)}
|
placeholder={sharedLabels.enter}
|
||||||
{shouldShow(symptomConfig.note) && (
|
testID="noteInput"
|
||||||
<Segment style={styles.segmentBorder}>
|
value={noteText !== null ? noteText : ''}
|
||||||
<AppText>{symtomPage[symptom].note}</AppText>
|
/>
|
||||||
<AppTextInput
|
</Segment>
|
||||||
multiline={true}
|
)}
|
||||||
numberOfLines={3}
|
<View style={styles.buttonsContainer}>
|
||||||
onChangeText={onEditNote}
|
<Button iconName={iconName} isSmall onPress={onPressLearnMore}>
|
||||||
placeholder={sharedLabels.enter}
|
{sharedLabels.learnMore}
|
||||||
testID="noteInput"
|
</Button>
|
||||||
value={noteText !== null ? noteText : ''}
|
<Button isSmall onPress={onRemove}>
|
||||||
/>
|
{sharedLabels.remove}
|
||||||
</Segment>
|
</Button>
|
||||||
)}
|
<Button isCTA isSmall onPress={onSave}>
|
||||||
<View style={styles.buttonsContainer}>
|
{sharedLabels.save}
|
||||||
<Button iconName={iconName} isSmall onPress={onPressLearnMore}>
|
</Button>
|
||||||
{sharedLabels.learnMore}
|
</View>
|
||||||
</Button>
|
{shouldShowInfo && (
|
||||||
<Button isSmall onPress={onRemove}>
|
<Segment last style={styles.segmentBorder}>
|
||||||
{sharedLabels.remove}
|
<AppText>{info[symptom].text}</AppText>
|
||||||
</Button>
|
</Segment>
|
||||||
<Button isCTA isSmall onPress={onSave}>
|
)}
|
||||||
{sharedLabels.save}
|
</ScrollView>
|
||||||
</Button>
|
|
||||||
</View>
|
|
||||||
{shouldShowInfo && (
|
|
||||||
<Segment last style={styles.segmentBorder}>
|
|
||||||
<AppText>{info[symptom].text}</AppText>
|
|
||||||
</Segment>
|
|
||||||
)}
|
|
||||||
</ScrollView>
|
|
||||||
</View>
|
|
||||||
</AppModal>
|
</AppModal>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -223,29 +223,12 @@ const styles = StyleSheet.create({
|
|||||||
paddingHorizontal: Spacing.base,
|
paddingHorizontal: Spacing.base,
|
||||||
paddingBottom: Spacing.base,
|
paddingBottom: Spacing.base,
|
||||||
},
|
},
|
||||||
headerContainer: {
|
input: {
|
||||||
flexDirection: 'row',
|
height: Sizes.base * 5,
|
||||||
justifyContent: 'flex-end',
|
|
||||||
paddingTop: Spacing.base,
|
|
||||||
paddingHorizontal: Spacing.base,
|
|
||||||
position: 'absolute',
|
|
||||||
width: '100%',
|
|
||||||
zIndex: 3, // works on ios
|
|
||||||
elevation: 3, // works on android
|
|
||||||
},
|
},
|
||||||
modalContainer: {
|
modalContainer: {
|
||||||
paddingHorizontal: Spacing.base,
|
paddingHorizontal: Spacing.base,
|
||||||
},
|
},
|
||||||
modalWindow: {
|
|
||||||
alignSelf: 'center',
|
|
||||||
backgroundColor: 'white',
|
|
||||||
borderRadius: 10,
|
|
||||||
marginTop: Sizes.huge * 2,
|
|
||||||
paddingTop: Spacing.large * 2,
|
|
||||||
position: 'absolute',
|
|
||||||
minHeight: '40%',
|
|
||||||
maxHeight: Dimensions.get('window').height * 0.7,
|
|
||||||
},
|
|
||||||
segmentBorder: {
|
segmentBorder: {
|
||||||
borderBottomColor: Colors.greyLight,
|
borderBottomColor: Colors.greyLight,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -7,28 +7,28 @@ import {
|
|||||||
View,
|
View,
|
||||||
} from 'react-native'
|
} from 'react-native'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
|
import AppText from '../common/app-text'
|
||||||
|
|
||||||
import AppIcon from '../common/app-icon'
|
import AppIcon from '../common/app-icon'
|
||||||
import CloseIcon from '../common/close-icon'
|
import CloseIcon from '../common/close-icon'
|
||||||
import MenuItem from './menu-item'
|
|
||||||
|
|
||||||
import { Colors, Sizes } from '../../styles'
|
import { Colors, Sizes, Typography } from '../../styles'
|
||||||
import settingsLabels from '../../i18n/en/settings'
|
|
||||||
import { HIT_SLOP } from '../../config'
|
import { HIT_SLOP } from '../../config'
|
||||||
|
import { useTranslation } from 'react-i18next'
|
||||||
const { menuItems } = settingsLabels
|
|
||||||
|
|
||||||
const settingsMenuItems = [
|
const settingsMenuItems = [
|
||||||
{ name: menuItems.settings, component: 'SettingsMenu' },
|
{ labelKey: 'settings', componentName: 'SettingsMenu' },
|
||||||
{ name: menuItems.about, component: 'About' },
|
{ labelKey: 'about', componentName: 'About' },
|
||||||
{ name: menuItems.license, component: 'License' },
|
{ labelKey: 'license', componentName: 'License' },
|
||||||
{ name: menuItems.privacyPolicy, component: 'PrivacyPolicy' },
|
{ labelKey: 'privacyPolicy', componentName: 'PrivacyPolicy' },
|
||||||
]
|
]
|
||||||
|
|
||||||
const HamburgerMenu = ({ navigate }) => {
|
const HamburgerMenu = ({ navigate }) => {
|
||||||
const [isOpen, setIsOpen] = useState(false)
|
const [isOpen, setIsOpen] = useState(false)
|
||||||
const closeMenu = () => setIsOpen(false)
|
const closeMenu = () => setIsOpen(false)
|
||||||
|
|
||||||
|
const { t } = useTranslation(null, { keyPrefix: 'hamburgerMenu.menuMain' })
|
||||||
|
|
||||||
if (!isOpen)
|
if (!isOpen)
|
||||||
return (
|
return (
|
||||||
<TouchableOpacity onPress={() => setIsOpen(true)} hitSlop={HIT_SLOP}>
|
<TouchableOpacity onPress={() => setIsOpen(true)} hitSlop={HIT_SLOP}>
|
||||||
@@ -36,23 +36,25 @@ const HamburgerMenu = ({ navigate }) => {
|
|||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
function onPress(componentName) {
|
||||||
|
closeMenu()
|
||||||
|
navigate(componentName)
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal animationType="fade" onRequestClose={closeMenu} transparent={true}>
|
<Modal animationType="fade" onRequestClose={closeMenu} transparent>
|
||||||
<TouchableOpacity
|
<TouchableOpacity onPress={closeMenu} style={styles.blackBackground} />
|
||||||
onPress={closeMenu}
|
|
||||||
style={styles.blackBackground}
|
|
||||||
></TouchableOpacity>
|
|
||||||
<View style={styles.menu}>
|
<View style={styles.menu}>
|
||||||
<View style={styles.iconContainer}>
|
<View style={styles.iconContainer}>
|
||||||
<CloseIcon color={'black'} onClose={closeMenu} />
|
<CloseIcon color={'black'} onClose={closeMenu} />
|
||||||
</View>
|
</View>
|
||||||
{settingsMenuItems.map((item) => (
|
{settingsMenuItems.map(({ labelKey, componentName }) => (
|
||||||
<MenuItem
|
<TouchableOpacity
|
||||||
item={item}
|
onPress={() => onPress(componentName)}
|
||||||
key={item.name}
|
key={labelKey}
|
||||||
closeMenu={closeMenu}
|
>
|
||||||
navigate={navigate}
|
<AppText style={styles.menuItem}>{t(labelKey)}</AppText>
|
||||||
/>
|
</TouchableOpacity>
|
||||||
))}
|
))}
|
||||||
</View>
|
</View>
|
||||||
</Modal>
|
</Modal>
|
||||||
@@ -84,4 +86,5 @@ const styles = StyleSheet.create({
|
|||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
width: '60%',
|
width: '60%',
|
||||||
},
|
},
|
||||||
|
menuItem: Typography.subtitle,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -7,17 +7,17 @@ import HamburgerMenu from './hamburger-menu'
|
|||||||
|
|
||||||
import { Colors, Containers, Sizes } from '../../styles'
|
import { Colors, Containers, Sizes } from '../../styles'
|
||||||
|
|
||||||
const Header = ({ isStatic, navigate }) => {
|
const Header = ({ isStatic, navigation }) => {
|
||||||
return (
|
return (
|
||||||
<View style={styles.header}>
|
<View style={styles.header}>
|
||||||
{isStatic ? (
|
{isStatic ? (
|
||||||
<Logo />
|
<Logo />
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<TouchableOpacity onPress={() => navigate('Home')}>
|
<TouchableOpacity onPress={() => navigation.navigate('Home')}>
|
||||||
<Logo />
|
<Logo />
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
<HamburgerMenu navigate={navigate} />
|
<HamburgerMenu navigate={navigation.navigate} />
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
@@ -26,7 +26,9 @@ const Header = ({ isStatic, navigate }) => {
|
|||||||
|
|
||||||
Header.propTypes = {
|
Header.propTypes = {
|
||||||
isStatic: PropTypes.bool,
|
isStatic: PropTypes.bool,
|
||||||
navigate: PropTypes.func,
|
navigation: PropTypes.shape({
|
||||||
|
navigate: PropTypes.func.isRequired,
|
||||||
|
}).isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
Header.defaultProps = {
|
Header.defaultProps = {
|
||||||
|
|||||||
@@ -1,35 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
import { StyleSheet, TouchableOpacity } from 'react-native'
|
|
||||||
import PropTypes from 'prop-types'
|
|
||||||
|
|
||||||
import AppText from '../common/app-text'
|
|
||||||
|
|
||||||
import { Typography } from '../../styles'
|
|
||||||
|
|
||||||
const MenuItem = ({ item, navigate, closeMenu }) => {
|
|
||||||
const { component, name } = item
|
|
||||||
const onPress = () => {
|
|
||||||
closeMenu()
|
|
||||||
navigate(component)
|
|
||||||
}
|
|
||||||
|
|
||||||
return (
|
|
||||||
<TouchableOpacity onPress={onPress}>
|
|
||||||
<AppText style={styles.text}>{name}</AppText>
|
|
||||||
</TouchableOpacity>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
MenuItem.propTypes = {
|
|
||||||
item: PropTypes.object.isRequired,
|
|
||||||
navigate: PropTypes.func.isRequired,
|
|
||||||
closeMenu: PropTypes.func.isRequired,
|
|
||||||
}
|
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
|
||||||
text: {
|
|
||||||
...Typography.subtitle,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
export default MenuItem
|
|
||||||
@@ -22,3 +22,18 @@ export function dateToTitle(dateString) {
|
|||||||
? labels.today
|
? labels.today
|
||||||
: moment(dateString).format('ddd DD. MMM YY')
|
: moment(dateString).format('ddd DD. MMM YY')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function humanizeDate(dateString) {
|
||||||
|
if (!dateString) return ''
|
||||||
|
|
||||||
|
const today = LocalDate.now()
|
||||||
|
|
||||||
|
try {
|
||||||
|
const dateToDisplay = LocalDate.parse(dateString)
|
||||||
|
return today.equals(dateToDisplay)
|
||||||
|
? labels.today
|
||||||
|
: moment(dateString).format('DD. MMM YY')
|
||||||
|
} catch (e) {
|
||||||
|
return ''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,42 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
import { StyleSheet, View } from 'react-native'
|
|
||||||
import PropTypes from 'prop-types'
|
|
||||||
|
|
||||||
import MenuItem from './menu-item'
|
|
||||||
|
|
||||||
import { Containers } from '../../styles'
|
|
||||||
import { pages } from '../pages'
|
|
||||||
|
|
||||||
const Menu = ({ currentPage, navigate }) => {
|
|
||||||
const menuItems = pages.filter((page) => page.isInMenu)
|
|
||||||
|
|
||||||
return (
|
|
||||||
<View style={styles.container}>
|
|
||||||
{menuItems.map(({ icon, label, component }) => {
|
|
||||||
return (
|
|
||||||
<MenuItem
|
|
||||||
isActive={component === currentPage}
|
|
||||||
onPress={() => navigate(component)}
|
|
||||||
icon={icon}
|
|
||||||
key={label}
|
|
||||||
label={label}
|
|
||||||
/>
|
|
||||||
)
|
|
||||||
})}
|
|
||||||
</View>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
Menu.propTypes = {
|
|
||||||
currentPage: PropTypes.string,
|
|
||||||
navigate: PropTypes.func,
|
|
||||||
}
|
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
|
||||||
container: {
|
|
||||||
backgroundColor: 'white',
|
|
||||||
...Containers.rowContainer,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
export default Menu
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { useEffect, useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { Alert, StyleSheet, View } from 'react-native'
|
import { Alert, KeyboardAvoidingView, StyleSheet, View } from 'react-native'
|
||||||
import nodejs from 'nodejs-mobile-react-native'
|
import { SHA512 } from 'jshashes'
|
||||||
|
|
||||||
import AppPage from './common/app-page'
|
import AppPage from './common/app-page'
|
||||||
import AppTextInput from './common/app-text-input'
|
import AppTextInput from './common/app-text-input'
|
||||||
@@ -9,7 +9,7 @@ import Button from './common/button'
|
|||||||
import Header from './header'
|
import Header from './header'
|
||||||
|
|
||||||
import { saveEncryptionFlag } from '../local-storage'
|
import { saveEncryptionFlag } from '../local-storage'
|
||||||
import { requestHash, deleteDbAndOpenNew, openDb } from '../db'
|
import { deleteDbAndOpenNew, openDb } from '../db'
|
||||||
import { passwordPrompt as labels, shared } from '../i18n/en/labels'
|
import { passwordPrompt as labels, shared } from '../i18n/en/labels'
|
||||||
import { Containers, Spacing } from '../styles'
|
import { Containers, Spacing } from '../styles'
|
||||||
|
|
||||||
@@ -17,9 +17,10 @@ const cancelButton = { text: shared.cancel, style: 'cancel' }
|
|||||||
|
|
||||||
const PasswordPrompt = ({ enableShowApp }) => {
|
const PasswordPrompt = ({ enableShowApp }) => {
|
||||||
const [password, setPassword] = useState(null)
|
const [password, setPassword] = useState(null)
|
||||||
const unlockApp = () => requestHash('check-pw', password)
|
|
||||||
const isPasswordEntered = Boolean(password)
|
const isPasswordEntered = Boolean(password)
|
||||||
const passHashToDb = async (hash) => {
|
|
||||||
|
const unlockApp = async () => {
|
||||||
|
const hash = new SHA512().hex(password)
|
||||||
const connected = await openDb(hash)
|
const connected = await openDb(hash)
|
||||||
|
|
||||||
if (!connected) {
|
if (!connected) {
|
||||||
@@ -31,16 +32,9 @@ const PasswordPrompt = ({ enableShowApp }) => {
|
|||||||
])
|
])
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
enableShowApp()
|
enableShowApp()
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
const listener = nodejs.channel.addListener('check-pw', passHashToDb, this)
|
|
||||||
|
|
||||||
return () => listener.remove()
|
|
||||||
}, [])
|
|
||||||
|
|
||||||
const onDeleteDataConfirmation = async () => {
|
const onDeleteDataConfirmation = async () => {
|
||||||
await deleteDbAndOpenNew()
|
await deleteDbAndOpenNew()
|
||||||
await saveEncryptionFlag(false)
|
await saveEncryptionFlag(false)
|
||||||
@@ -68,22 +62,23 @@ const PasswordPrompt = ({ enableShowApp }) => {
|
|||||||
<>
|
<>
|
||||||
<Header isStatic />
|
<Header isStatic />
|
||||||
<AppPage contentContainerStyle={styles.contentContainer}>
|
<AppPage contentContainerStyle={styles.contentContainer}>
|
||||||
<AppTextInput
|
<KeyboardAvoidingView behavior="padding" keyboardVerticalOffset={150}>
|
||||||
isKeyboardOffset={false}
|
<AppTextInput
|
||||||
onChangeText={setPassword}
|
onChangeText={setPassword}
|
||||||
secureTextEntry={true}
|
secureTextEntry={true}
|
||||||
placeholder={labels.enterPassword}
|
placeholder={labels.enterPassword}
|
||||||
/>
|
/>
|
||||||
<View style={styles.containerButtons}>
|
<View style={styles.containerButtons}>
|
||||||
<Button onPress={onConfirmDeletion}>{labels.forgotPassword}</Button>
|
<Button onPress={onConfirmDeletion}>{labels.forgotPassword}</Button>
|
||||||
<Button
|
<Button
|
||||||
disabled={!isPasswordEntered}
|
disabled={!isPasswordEntered}
|
||||||
isCTA={isPasswordEntered}
|
isCTA={isPasswordEntered}
|
||||||
onPress={unlockApp}
|
onPress={unlockApp}
|
||||||
>
|
>
|
||||||
{labels.title}
|
{labels.title}
|
||||||
</Button>
|
</Button>
|
||||||
</View>
|
</View>
|
||||||
|
</KeyboardAvoidingView>
|
||||||
</AppPage>
|
</AppPage>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import { Platform, Linking } from 'react-native'
|
|||||||
|
|
||||||
import AppPage from '../common/app-page'
|
import AppPage from '../common/app-page'
|
||||||
import AppText from '../common/app-text'
|
import AppText from '../common/app-text'
|
||||||
|
import AppLink from '../common/AppLink'
|
||||||
import Segment from '../common/segment'
|
import Segment from '../common/segment'
|
||||||
import Button from '../common/button'
|
import Button from '../common/button'
|
||||||
import ButtonRow from '../common/button-row'
|
import ButtonRow from '../common/button-row'
|
||||||
@@ -11,7 +12,7 @@ import links from '../../i18n/en/links'
|
|||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
const AboutSection = () => {
|
const AboutSection = () => {
|
||||||
const { t } = useTranslation(null, { keyPrefix: 'settings.about' })
|
const { t } = useTranslation(null, { keyPrefix: 'hamburgerMenu.about' })
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AppPage title={t('title')}>
|
<AppPage title={t('title')}>
|
||||||
@@ -35,13 +36,15 @@ const AboutSection = () => {
|
|||||||
</Segment>
|
</Segment>
|
||||||
<Segment title={t('credits.title')}>
|
<Segment title={t('credits.title')}>
|
||||||
<AppText>
|
<AppText>
|
||||||
{t('credits.text', {
|
{t('credits.text')}{' '}
|
||||||
smashicons: links.smashicons.url,
|
<AppLink url={links.flaticon.url}>flaticon</AppLink>.{' '}
|
||||||
pause08: links.pause08.url,
|
</AppText>
|
||||||
kazachek: links.kazachek.url,
|
<AppText>
|
||||||
freepik: links.freepik.url,
|
{t('credits.madeBy')}{' '}
|
||||||
flaticon: links.flaticon.url,
|
<AppLink url={links.smashicons.url}>smashicons</AppLink>,{' '}
|
||||||
})}
|
<AppLink url={links.pause08.url}>pause08</AppLink>,{' '}
|
||||||
|
<AppLink url={links.kazachek.url}>kazachek</AppLink>,{' '}
|
||||||
|
<AppLink url={links.freepik.url}>freepik</AppLink>.
|
||||||
</AppText>
|
</AppText>
|
||||||
</Segment>
|
</Segment>
|
||||||
<Segment title={t('donate.title')}>
|
<Segment title={t('donate.title')}>
|
||||||
@@ -4,16 +4,18 @@ import { useTranslation } from 'react-i18next'
|
|||||||
|
|
||||||
import AppPage from '../common/app-page'
|
import AppPage from '../common/app-page'
|
||||||
import AppText from '../common/app-text'
|
import AppText from '../common/app-text'
|
||||||
|
import AppLink from '../common/AppLink'
|
||||||
import Segment from '../common/segment'
|
import Segment from '../common/segment'
|
||||||
|
|
||||||
const License = ({ children }) => {
|
const License = ({ children }) => {
|
||||||
const { t } = useTranslation()
|
const { t } = useTranslation(null, { keyPrefix: 'hamburgerMenu.license' })
|
||||||
const currentYear = new Date().getFullYear()
|
const currentYear = new Date().getFullYear()
|
||||||
|
const link = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
||||||
return (
|
return (
|
||||||
<AppPage title={t('settings.license.title')}>
|
<AppPage title={t('title')}>
|
||||||
<Segment last>
|
<Segment last>
|
||||||
<AppText>{t('settings.license.text', { currentYear })}</AppText>
|
<AppText>{t('text', { currentYear })}</AppText>
|
||||||
|
<AppLink url={link}>{link}</AppLink>
|
||||||
{children}
|
{children}
|
||||||
</Segment>
|
</Segment>
|
||||||
</AppPage>
|
</AppPage>
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
import React, { useState, useEffect } from 'react'
|
import React, { useState } from 'react'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { Alert, StyleSheet, View } from 'react-native'
|
import { Alert, KeyboardAvoidingView, StyleSheet, View } from 'react-native'
|
||||||
import nodejs from 'nodejs-mobile-react-native'
|
import { SHA512 } from 'jshashes'
|
||||||
|
|
||||||
import AppTextInput from '../../common/app-text-input'
|
import AppTextInput from '../../common/app-text-input'
|
||||||
import Button from '../../common/button'
|
import Button from '../../common/button'
|
||||||
|
|
||||||
import { requestHash, openDb } from '../../../db'
|
import { openDb } from '../../../db'
|
||||||
import { Containers } from '../../../styles'
|
import { Containers } from '../../../styles'
|
||||||
import settings from '../../../i18n/en/settings'
|
import settings from '../../../i18n/en/settings'
|
||||||
import { shared } from '../../../i18n/en/labels'
|
import { shared } from '../../../i18n/en/labels'
|
||||||
@@ -14,7 +14,8 @@ import { shared } from '../../../i18n/en/labels'
|
|||||||
const ConfirmWithPassword = ({ onSuccess, onCancel }) => {
|
const ConfirmWithPassword = ({ onSuccess, onCancel }) => {
|
||||||
const [password, setPassword] = useState(null)
|
const [password, setPassword] = useState(null)
|
||||||
|
|
||||||
const checkPassword = async (hash) => {
|
const checkPassword = async () => {
|
||||||
|
const hash = new SHA512().hex(password)
|
||||||
try {
|
try {
|
||||||
await openDb(hash)
|
await openDb(hash)
|
||||||
onSuccess()
|
onSuccess()
|
||||||
@@ -23,15 +24,6 @@ const ConfirmWithPassword = ({ onSuccess, onCancel }) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
const listener = nodejs.channel.addListener(
|
|
||||||
'password-check',
|
|
||||||
checkPassword,
|
|
||||||
this
|
|
||||||
)
|
|
||||||
return () => listener.remove()
|
|
||||||
}, [])
|
|
||||||
|
|
||||||
const onIncorrectPassword = () => {
|
const onIncorrectPassword = () => {
|
||||||
Alert.alert(shared.incorrectPassword, shared.incorrectPasswordMessage, [
|
Alert.alert(shared.incorrectPassword, shared.incorrectPasswordMessage, [
|
||||||
{
|
{
|
||||||
@@ -45,15 +37,11 @@ const ConfirmWithPassword = ({ onSuccess, onCancel }) => {
|
|||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
const initPasswordCheck = () => {
|
|
||||||
requestHash('password-check', password)
|
|
||||||
}
|
|
||||||
|
|
||||||
const labels = settings.passwordSettings
|
const labels = settings.passwordSettings
|
||||||
const isPassword = password !== null
|
const isPassword = password !== null
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<KeyboardAvoidingView behavior="padding" keyboardVerticalOffset={150}>
|
||||||
<AppTextInput
|
<AppTextInput
|
||||||
onChangeText={setPassword}
|
onChangeText={setPassword}
|
||||||
placeholder={labels.enterCurrent}
|
placeholder={labels.enterCurrent}
|
||||||
@@ -65,12 +53,12 @@ const ConfirmWithPassword = ({ onSuccess, onCancel }) => {
|
|||||||
<Button
|
<Button
|
||||||
disabled={!isPassword}
|
disabled={!isPassword}
|
||||||
isCTA={isPassword}
|
isCTA={isPassword}
|
||||||
onPress={initPasswordCheck}
|
onPress={checkPassword}
|
||||||
>
|
>
|
||||||
{shared.confirmToProceed}
|
{shared.confirmToProceed}
|
||||||
</Button>
|
</Button>
|
||||||
</View>
|
</View>
|
||||||
</>
|
</KeyboardAvoidingView>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import Reminders from './reminders/reminders'
|
|||||||
import NfpSettings from './nfp-settings'
|
import NfpSettings from './nfp-settings'
|
||||||
import DataManagement from './data-management'
|
import DataManagement from './data-management'
|
||||||
import Password from './password'
|
import Password from './password'
|
||||||
import About from './about'
|
import About from './About'
|
||||||
import License from './License'
|
import License from './License'
|
||||||
import PrivacyPolicy from './privacy-policy'
|
import PrivacyPolicy from './privacy-policy'
|
||||||
|
|
||||||
|
|||||||
@@ -7,18 +7,22 @@ import AppText from '../common/app-text'
|
|||||||
import Segment from '../common/segment'
|
import Segment from '../common/segment'
|
||||||
|
|
||||||
import { Colors, Containers, Sizes } from '../../styles'
|
import { Colors, Containers, Sizes } from '../../styles'
|
||||||
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
const MenuItem = ({ item, last, navigate }) => {
|
const MenuItem = ({ item, last, navigate }) => {
|
||||||
|
const { t } = useTranslation(null, {
|
||||||
|
keyPrefix: 'hamburgerMenu.settings.menuItem',
|
||||||
|
})
|
||||||
return (
|
return (
|
||||||
<Segment last={last}>
|
<Segment last={last}>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
style={styles.container}
|
style={styles.container}
|
||||||
key={item.name}
|
key={item.label}
|
||||||
onPress={() => navigate(item.component)}
|
onPress={() => navigate(item.componentName)}
|
||||||
>
|
>
|
||||||
<View>
|
<View>
|
||||||
<AppText style={styles.title}>{item.name}</AppText>
|
<AppText style={styles.title}>{t(`${item.label}.name`)}</AppText>
|
||||||
{item.text.length > 0 && <AppText>{item.text}</AppText>}
|
{!!item.label && <AppText>{t(`${item.label}.text`)}</AppText>}
|
||||||
</View>
|
</View>
|
||||||
<AppIcon name="chevron-right" color={Colors.orange} />
|
<AppIcon name="chevron-right" color={Colors.orange} />
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
|||||||
@@ -1,35 +1,24 @@
|
|||||||
import React, { useState, useEffect } from 'react'
|
import React, { useState } from 'react'
|
||||||
import { StyleSheet } from 'react-native'
|
import { KeyboardAvoidingView, StyleSheet } from 'react-native'
|
||||||
import nodejs from 'nodejs-mobile-react-native'
|
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
|
import { SHA512 } from 'jshashes'
|
||||||
|
|
||||||
import AppText from '../../common/app-text'
|
import AppText from '../../common/app-text'
|
||||||
import AppTextInput from '../../common/app-text-input'
|
import AppTextInput from '../../common/app-text-input'
|
||||||
import Button from '../../common/button'
|
import Button from '../../common/button'
|
||||||
|
|
||||||
import { requestHash } from '../../../db'
|
|
||||||
import { Colors, Spacing } from '../../../styles'
|
import { Colors, Spacing } from '../../../styles'
|
||||||
import settings from '../../../i18n/en/settings'
|
import settings from '../../../i18n/en/settings'
|
||||||
|
|
||||||
const LISTENER_TYPE = 'create-or-change-pw'
|
|
||||||
|
|
||||||
const EnterNewPassword = ({ changeEncryptionAndRestart }) => {
|
const EnterNewPassword = ({ changeEncryptionAndRestart }) => {
|
||||||
const [password, setPassword] = useState('')
|
const [password, setPassword] = useState('')
|
||||||
const [passwordConfirmation, setPasswordConfirmation] = useState('')
|
const [passwordConfirmation, setPasswordConfirmation] = useState('')
|
||||||
const [shouldShowErrorMessage, setShouldShowErrorMessage] = useState(false)
|
const [shouldShowErrorMessage, setShouldShowErrorMessage] = useState(false)
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
const listener = nodejs.channel.addListener(
|
|
||||||
LISTENER_TYPE,
|
|
||||||
changeEncryptionAndRestart,
|
|
||||||
this
|
|
||||||
)
|
|
||||||
return () => listener.remove()
|
|
||||||
}, [])
|
|
||||||
|
|
||||||
const savePassword = () => {
|
const savePassword = () => {
|
||||||
if (comparePasswords()) {
|
if (comparePasswords()) {
|
||||||
requestHash(LISTENER_TYPE, password)
|
const hash = new SHA512().hex(password)
|
||||||
|
changeEncryptionAndRestart(hash)
|
||||||
} else {
|
} else {
|
||||||
setShouldShowErrorMessage(true)
|
setShouldShowErrorMessage(true)
|
||||||
}
|
}
|
||||||
@@ -41,9 +30,8 @@ const EnterNewPassword = ({ changeEncryptionAndRestart }) => {
|
|||||||
const isButtonActive = password.length > 0 && passwordConfirmation.length > 0
|
const isButtonActive = password.length > 0 && passwordConfirmation.length > 0
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<KeyboardAvoidingView behavior="padding" keyboardVerticalOffset={150}>
|
||||||
<AppTextInput
|
<AppTextInput
|
||||||
isKeyboardOffset={false}
|
|
||||||
onChangeText={setPassword}
|
onChangeText={setPassword}
|
||||||
placeholder={labels.enterNew}
|
placeholder={labels.enterNew}
|
||||||
textContentType="password"
|
textContentType="password"
|
||||||
@@ -51,7 +39,6 @@ const EnterNewPassword = ({ changeEncryptionAndRestart }) => {
|
|||||||
secureTextEntry={true}
|
secureTextEntry={true}
|
||||||
/>
|
/>
|
||||||
<AppTextInput
|
<AppTextInput
|
||||||
isKeyboardOffset={false}
|
|
||||||
onChangeText={setPasswordConfirmation}
|
onChangeText={setPasswordConfirmation}
|
||||||
placeholder={labels.confirmPassword}
|
placeholder={labels.confirmPassword}
|
||||||
textContentType="password"
|
textContentType="password"
|
||||||
@@ -68,7 +55,7 @@ const EnterNewPassword = ({ changeEncryptionAndRestart }) => {
|
|||||||
>
|
>
|
||||||
{labels.savePassword}
|
{labels.savePassword}
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</KeyboardAvoidingView>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,9 @@ import Segment from '../common/segment'
|
|||||||
import { Colors, Sizes } from '../../styles'
|
import { Colors, Sizes } from '../../styles'
|
||||||
|
|
||||||
const PrivacyPolicy = () => {
|
const PrivacyPolicy = () => {
|
||||||
const { t } = useTranslation(null, { keyPrefix: 'settings.privacyPolicy' })
|
const { t } = useTranslation(null, {
|
||||||
|
keyPrefix: 'hamburgerMenu.privacyPolicy',
|
||||||
|
})
|
||||||
const sections = ['intro', 'dataUse', 'permissions', 'transparency']
|
const sections = ['intro', 'dataUse', 'permissions', 'transparency']
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -4,21 +4,21 @@ import PropTypes from 'prop-types'
|
|||||||
import AppPage from '../common/app-page'
|
import AppPage from '../common/app-page'
|
||||||
import MenuItem from './menu-item'
|
import MenuItem from './menu-item'
|
||||||
|
|
||||||
import settingsLabels from '../../i18n/en/settings'
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
const { menuItems } = settingsLabels
|
const menuItems = [
|
||||||
const menu = [
|
{ label: 'reminders', componentName: 'Reminders' },
|
||||||
{ ...menuItems.reminders, component: 'Reminders' },
|
{ label: 'nfpSettings', componentName: 'NfpSettings' },
|
||||||
{ ...menuItems.nfpSettings, component: 'NfpSettings' },
|
{ label: 'dataManagement', componentName: 'DataManagement' },
|
||||||
{ ...menuItems.dataManagement, component: 'DataManagement' },
|
{ label: 'password', componentName: 'Password' },
|
||||||
{ ...menuItems.password, component: 'Password' },
|
|
||||||
]
|
]
|
||||||
|
|
||||||
const SettingsMenu = ({ navigate }) => {
|
const SettingsMenu = ({ navigate }) => {
|
||||||
|
const { t } = useTranslation()
|
||||||
return (
|
return (
|
||||||
<AppPage title={settingsLabels.title}>
|
<AppPage title={t('hamburgerMenu.settings.title')}>
|
||||||
{menu.map((menuItem, i) => {
|
{menuItems.map((menuItem, i) => {
|
||||||
const last = menu.length === i + 1
|
const last = menuItems.length === i + 1
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MenuItem item={menuItem} key={i} last={last} navigate={navigate} />
|
<MenuItem item={menuItem} key={i} last={last} navigate={navigate} />
|
||||||
|
|||||||
@@ -1,113 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
import { ImageBackground, View } from 'react-native'
|
|
||||||
import { ScaledSheet } from 'react-native-size-matters'
|
|
||||||
|
|
||||||
import AppPage from './common/app-page'
|
|
||||||
import AppText from './common/app-text'
|
|
||||||
import Segment from './common/segment'
|
|
||||||
import Table from './common/table'
|
|
||||||
|
|
||||||
import cycleModule from '../lib/cycle'
|
|
||||||
import {getCycleLengthStats as getCycleInfo} from '../lib/cycle-length'
|
|
||||||
import {stats as labels} from '../i18n/en/labels'
|
|
||||||
|
|
||||||
import { Sizes, Spacing, Typography } from '../styles'
|
|
||||||
|
|
||||||
const image = require('../assets/cycle-icon.png')
|
|
||||||
|
|
||||||
const Stats = () => {
|
|
||||||
const cycleLengths = cycleModule().getAllCycleLengths()
|
|
||||||
const numberOfCycles = cycleLengths.length
|
|
||||||
const hasAtLeastOneCycle = numberOfCycles >= 1
|
|
||||||
const cycleData = hasAtLeastOneCycle ? getCycleInfo(cycleLengths)
|
|
||||||
: { minimum: '—', maximum: '—', stdDeviation: '—' }
|
|
||||||
const statsData = [
|
|
||||||
[cycleData.minimum, labels.minLabel],
|
|
||||||
[cycleData.maximum, labels.maxLabel],
|
|
||||||
[cycleData.stdDeviation ? cycleData.stdDeviation : '—', labels.stdLabel],
|
|
||||||
[numberOfCycles, labels.basisOfStatsEnd]
|
|
||||||
]
|
|
||||||
|
|
||||||
return (
|
|
||||||
<AppPage contentContainerStyle={styles.pageContainer}>
|
|
||||||
<Segment last style={styles.pageContainer}>
|
|
||||||
<AppText>{labels.cycleLengthExplainer}</AppText>
|
|
||||||
{!hasAtLeastOneCycle && <AppText>{labels.emptyStats}</AppText>}
|
|
||||||
{hasAtLeastOneCycle &&
|
|
||||||
<View style={styles.container}>
|
|
||||||
<View style={styles.columnLeft}>
|
|
||||||
<ImageBackground
|
|
||||||
source={image}
|
|
||||||
imageStyle={styles.image}
|
|
||||||
style={styles.imageContainter}
|
|
||||||
>
|
|
||||||
<AppText
|
|
||||||
numberOfLines={1}
|
|
||||||
ellipsizeMode="clip"
|
|
||||||
style={styles.accentPurpleGiant}
|
|
||||||
>
|
|
||||||
{cycleData.mean}
|
|
||||||
</AppText>
|
|
||||||
<AppText style={styles.accentPurpleHuge}>
|
|
||||||
{labels.daysLabel}
|
|
||||||
</AppText>
|
|
||||||
</ImageBackground>
|
|
||||||
<AppText style={styles.accentOrange}>
|
|
||||||
{labels.averageLabel}
|
|
||||||
</AppText>
|
|
||||||
</View>
|
|
||||||
<View style={styles.columnRight}>
|
|
||||||
<Table tableContent={statsData} />
|
|
||||||
</View>
|
|
||||||
</View>
|
|
||||||
}
|
|
||||||
</Segment>
|
|
||||||
</AppPage>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
const column = {
|
|
||||||
flexDirection: 'column',
|
|
||||||
}
|
|
||||||
|
|
||||||
const styles = ScaledSheet.create({
|
|
||||||
accentOrange: {
|
|
||||||
...Typography.accentOrange,
|
|
||||||
fontSize: Sizes.small,
|
|
||||||
},
|
|
||||||
accentPurpleGiant: {
|
|
||||||
...Typography.accentPurpleGiant,
|
|
||||||
marginTop: Spacing.base * (-2),
|
|
||||||
},
|
|
||||||
accentPurpleHuge: {
|
|
||||||
...Typography.accentPurpleHuge,
|
|
||||||
marginTop: Spacing.base * (-1),
|
|
||||||
},
|
|
||||||
container: {
|
|
||||||
alignItems: 'center',
|
|
||||||
flexDirection: 'row',
|
|
||||||
justifyContent: 'space-between',
|
|
||||||
paddingTop: Spacing.base
|
|
||||||
},
|
|
||||||
columnLeft: {
|
|
||||||
...column,
|
|
||||||
flex: 2,
|
|
||||||
},
|
|
||||||
columnRight: {
|
|
||||||
...column,
|
|
||||||
flex: 3,
|
|
||||||
paddingTop: Spacing.small,
|
|
||||||
},
|
|
||||||
image: {
|
|
||||||
resizeMode: 'contain',
|
|
||||||
},
|
|
||||||
imageContainter: {
|
|
||||||
paddingTop: Spacing.large * 2.5,
|
|
||||||
marginBottom: Spacing.large,
|
|
||||||
},
|
|
||||||
pageContainer: {
|
|
||||||
marginTop: Spacing.base * 2,
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
export default Stats
|
|
||||||
@@ -0,0 +1,118 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import { FlatList, StyleSheet, View } from 'react-native'
|
||||||
|
import PropTypes from 'prop-types'
|
||||||
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
|
import AppModal from '../common/app-modal'
|
||||||
|
import AppText from '../common/app-text'
|
||||||
|
|
||||||
|
import cycleModule from '../../lib/cycle'
|
||||||
|
import { Spacing, Typography, Colors } from '../../styles'
|
||||||
|
import { humanizeDate } from '../helpers/format-date'
|
||||||
|
|
||||||
|
const Item = ({ data }) => {
|
||||||
|
const { t } = useTranslation(null, { keyPrefix: 'plurals' })
|
||||||
|
|
||||||
|
if (!data) return false
|
||||||
|
|
||||||
|
const { date, cycleLength, bleedingLength } = data
|
||||||
|
|
||||||
|
return (
|
||||||
|
<View style={styles.row}>
|
||||||
|
<View style={styles.accentCell}>
|
||||||
|
<AppText>{humanizeDate(date)}</AppText>
|
||||||
|
</View>
|
||||||
|
<View style={styles.cell}>
|
||||||
|
<AppText>{t('day', { count: cycleLength })}</AppText>
|
||||||
|
</View>
|
||||||
|
<View style={styles.cell}>
|
||||||
|
<AppText>{t('day', { count: bleedingLength })}</AppText>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
Item.propTypes = {
|
||||||
|
data: PropTypes.object.isRequired,
|
||||||
|
}
|
||||||
|
|
||||||
|
const PeriodDetailsModal = ({ onClose }) => {
|
||||||
|
const renderItem = ({ item }) => <Item data={item} />
|
||||||
|
const data = cycleModule().getStats()
|
||||||
|
|
||||||
|
if (!data || data.length === 0) return false
|
||||||
|
|
||||||
|
return (
|
||||||
|
<AppModal onClose={onClose}>
|
||||||
|
<View>
|
||||||
|
<FlatList
|
||||||
|
data={data}
|
||||||
|
renderItem={renderItem}
|
||||||
|
keyExtractor={(item) => item.date}
|
||||||
|
ItemSeparatorComponent={ItemDivider}
|
||||||
|
ListHeaderComponent={FlatListHeader}
|
||||||
|
ListHeaderComponentStyle={styles.headerDivider}
|
||||||
|
stickyHeaderIndices={[0]}
|
||||||
|
contentContainerStyle={styles.container}
|
||||||
|
/>
|
||||||
|
</View>
|
||||||
|
</AppModal>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
PeriodDetailsModal.propTypes = {
|
||||||
|
onClose: PropTypes.func,
|
||||||
|
}
|
||||||
|
|
||||||
|
const ItemDivider = () => <View style={styles.divider} />
|
||||||
|
|
||||||
|
const FlatListHeader = () => (
|
||||||
|
<View style={styles.row}>
|
||||||
|
<View style={styles.accentCell}>
|
||||||
|
<AppText style={styles.header}>{'Cycle Start'}</AppText>
|
||||||
|
</View>
|
||||||
|
<View style={styles.cell}>
|
||||||
|
<AppText style={styles.header}>{'Cycle Length'}</AppText>
|
||||||
|
</View>
|
||||||
|
<View style={styles.cell}>
|
||||||
|
<AppText style={styles.header}>{'Bleeding'}</AppText>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
)
|
||||||
|
|
||||||
|
const styles = StyleSheet.create({
|
||||||
|
divider: {
|
||||||
|
height: 1,
|
||||||
|
width: '100%',
|
||||||
|
backgroundColor: Colors.grey,
|
||||||
|
},
|
||||||
|
header: {
|
||||||
|
...Typography.accentOrange,
|
||||||
|
paddingVertical: Spacing.small,
|
||||||
|
},
|
||||||
|
headerDivider: {
|
||||||
|
borderBottomColor: Colors.purple,
|
||||||
|
borderBottomWidth: 2,
|
||||||
|
},
|
||||||
|
row: {
|
||||||
|
flexDirection: 'row',
|
||||||
|
justifyContent: 'space-between',
|
||||||
|
paddingVertical: Spacing.tiny,
|
||||||
|
backgroundColor: 'white',
|
||||||
|
},
|
||||||
|
cell: {
|
||||||
|
flex: 2,
|
||||||
|
justifyContent: 'center',
|
||||||
|
},
|
||||||
|
accentCell: {
|
||||||
|
flex: 3,
|
||||||
|
justifyContent: 'center',
|
||||||
|
},
|
||||||
|
container: {
|
||||||
|
minHeight: '40%',
|
||||||
|
minWidth: '95%',
|
||||||
|
paddingHorizontal: Spacing.base,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
export default PeriodDetailsModal
|
||||||
@@ -2,25 +2,25 @@ import React from 'react'
|
|||||||
import { StyleSheet, View } from 'react-native'
|
import { StyleSheet, View } from 'react-native'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
|
|
||||||
import AppText from './app-text'
|
import AppText from '../common/app-text'
|
||||||
|
|
||||||
import { Sizes, Spacing, Typography } from '../../styles'
|
import { Sizes, Spacing, Typography } from '../../styles'
|
||||||
|
|
||||||
const Table = ({ tableContent }) => {
|
const StatsOverview = ({ data }) => {
|
||||||
return tableContent.map((rowContent, i) => (
|
return data.map((rowContent, i) => <Row key={i} rowContent={rowContent} />)
|
||||||
<Row key={i} rowContent={rowContent} />
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Table.propTypes = {
|
StatsOverview.propTypes = {
|
||||||
tableContent: PropTypes.array.isRequired,
|
data: PropTypes.array.isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
const Row = ({ rowContent }) => {
|
const Row = ({ rowContent }) => {
|
||||||
|
const isStandardDeviation = rowContent[1].includes('deviation')
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={styles.row}>
|
<View style={styles.row}>
|
||||||
<Cell content={rowContent[0]} isLeft />
|
<Cell content={rowContent[0]} isLeft />
|
||||||
<Cell content={rowContent[1]} />
|
<Cell content={rowContent[1]} hasAsterisk={isStandardDeviation} />
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -29,7 +29,7 @@ Row.propTypes = {
|
|||||||
rowContent: PropTypes.array.isRequired,
|
rowContent: PropTypes.array.isRequired,
|
||||||
}
|
}
|
||||||
|
|
||||||
const Cell = ({ content, isLeft }) => {
|
const Cell = ({ content, isLeft, hasAsterisk }) => {
|
||||||
const styleContainer = isLeft ? styles.cellLeft : styles.cellRight
|
const styleContainer = isLeft ? styles.cellLeft : styles.cellRight
|
||||||
const styleText = isLeft ? styles.accentPurpleBig : styles.accentOrange
|
const styleText = isLeft ? styles.accentPurpleBig : styles.accentOrange
|
||||||
const numberOfLines = isLeft ? 1 : 2
|
const numberOfLines = isLeft ? 1 : 2
|
||||||
@@ -43,6 +43,7 @@ const Cell = ({ content, isLeft }) => {
|
|||||||
style={styleText}
|
style={styleText}
|
||||||
>
|
>
|
||||||
{content}
|
{content}
|
||||||
|
{hasAsterisk && <AppText style={styles.accentOrange}>*</AppText>}
|
||||||
</AppText>
|
</AppText>
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
@@ -51,6 +52,7 @@ const Cell = ({ content, isLeft }) => {
|
|||||||
Cell.propTypes = {
|
Cell.propTypes = {
|
||||||
content: PropTypes.node.isRequired,
|
content: PropTypes.node.isRequired,
|
||||||
isLeft: PropTypes.bool,
|
isLeft: PropTypes.bool,
|
||||||
|
hasAsterisk: PropTypes.bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
@@ -65,18 +67,11 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
cellLeft: {
|
cellLeft: {
|
||||||
alignItems: 'flex-end',
|
alignItems: 'flex-end',
|
||||||
flex: 5,
|
flex: 3,
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
},
|
},
|
||||||
cellRight: {
|
cellRight: { flex: 5 },
|
||||||
flex: 5,
|
row: { flexDirection: 'row' },
|
||||||
justifyContent: 'center',
|
|
||||||
},
|
|
||||||
row: {
|
|
||||||
flexDirection: 'row',
|
|
||||||
marginBottom: Spacing.tiny,
|
|
||||||
marginLeft: Spacing.tiny,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
export default Table
|
export default StatsOverview
|
||||||
@@ -0,0 +1,135 @@
|
|||||||
|
import React, { useState } from 'react'
|
||||||
|
import { ImageBackground, SafeAreaView, ScrollView, View } from 'react-native'
|
||||||
|
import { ScaledSheet } from 'react-native-size-matters'
|
||||||
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
|
import AppText from '../common/app-text'
|
||||||
|
import Button from '../common/button'
|
||||||
|
import Footnote from '../common/Footnote'
|
||||||
|
import StatsOverview from './StatsOverview'
|
||||||
|
import PeriodDetailsModal from './PeriodDetailsModal'
|
||||||
|
|
||||||
|
import cycleModule from '../../lib/cycle'
|
||||||
|
import { getCycleLengthStats as getCycleInfo } from '../../lib/cycle-length'
|
||||||
|
|
||||||
|
import { Containers, Sizes, Spacing, Typography } from '../../styles'
|
||||||
|
|
||||||
|
const image = require('../../assets/cycle-icon.png')
|
||||||
|
|
||||||
|
const Stats = () => {
|
||||||
|
const [isStatsVisible, setIsStatsVisible] = useState(false)
|
||||||
|
|
||||||
|
const { t } = useTranslation(null, { keyPrefix: 'stats' })
|
||||||
|
|
||||||
|
const cycleLengths = cycleModule().getAllCycleLengths()
|
||||||
|
const numberOfCycles = cycleLengths.length
|
||||||
|
const cycleData =
|
||||||
|
numberOfCycles > 0
|
||||||
|
? getCycleInfo(cycleLengths)
|
||||||
|
: { minimum: '—', maximum: '—', stdDeviation: '—' }
|
||||||
|
const standardDeviation = cycleData.stdDeviation
|
||||||
|
? cycleData.stdDeviation
|
||||||
|
: '—'
|
||||||
|
const statsData = [
|
||||||
|
[cycleData.minimum, t('overview.min')],
|
||||||
|
[cycleData.maximum, t('overview.max')],
|
||||||
|
[standardDeviation, t('overview.standardDeviation')],
|
||||||
|
[numberOfCycles, t('overview.completedCycles')],
|
||||||
|
]
|
||||||
|
|
||||||
|
return (
|
||||||
|
<SafeAreaView style={styles.pageContainer}>
|
||||||
|
<ScrollView contentContainerStyle={styles.overviewContainer}>
|
||||||
|
<AppText>{t('intro')}</AppText>
|
||||||
|
{numberOfCycles === 0 ? (
|
||||||
|
<AppText>{t('noData')}</AppText>
|
||||||
|
) : (
|
||||||
|
<>
|
||||||
|
<View style={styles.container}>
|
||||||
|
<View style={styles.columnLeft}>
|
||||||
|
<ImageBackground
|
||||||
|
source={image}
|
||||||
|
imageStyle={styles.image}
|
||||||
|
style={styles.imageContainter}
|
||||||
|
>
|
||||||
|
<AppText
|
||||||
|
numberOfLines={1}
|
||||||
|
ellipsizeMode="clip"
|
||||||
|
style={styles.accentPurpleGiant}
|
||||||
|
>
|
||||||
|
{cycleData.mean}
|
||||||
|
</AppText>
|
||||||
|
<AppText style={styles.accentPurpleHuge}>
|
||||||
|
{t('overview.days')}
|
||||||
|
</AppText>
|
||||||
|
</ImageBackground>
|
||||||
|
<AppText style={styles.accentOrange}>
|
||||||
|
{t('overview.average')}
|
||||||
|
</AppText>
|
||||||
|
</View>
|
||||||
|
<View style={styles.columnRight}>
|
||||||
|
<StatsOverview data={statsData} />
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
<Button isCTA onPress={() => setIsStatsVisible(true)}>
|
||||||
|
{t('showStats')}
|
||||||
|
</Button>
|
||||||
|
{isStatsVisible && (
|
||||||
|
<PeriodDetailsModal onClose={() => setIsStatsVisible(false)} />
|
||||||
|
)}
|
||||||
|
<Footnote>{t('footnote')}</Footnote>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</ScrollView>
|
||||||
|
</SafeAreaView>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
const column = {
|
||||||
|
flexDirection: 'column',
|
||||||
|
}
|
||||||
|
|
||||||
|
const styles = ScaledSheet.create({
|
||||||
|
accentOrange: {
|
||||||
|
...Typography.accentOrange,
|
||||||
|
fontSize: Sizes.small,
|
||||||
|
},
|
||||||
|
accentPurpleGiant: {
|
||||||
|
...Typography.accentPurpleGiant,
|
||||||
|
marginTop: Spacing.base * -2,
|
||||||
|
},
|
||||||
|
accentPurpleHuge: {
|
||||||
|
...Typography.accentPurpleHuge,
|
||||||
|
marginTop: Spacing.base * -1,
|
||||||
|
},
|
||||||
|
container: {
|
||||||
|
alignItems: 'center',
|
||||||
|
flexDirection: 'row',
|
||||||
|
justifyContent: 'space-between',
|
||||||
|
},
|
||||||
|
columnLeft: {
|
||||||
|
...column,
|
||||||
|
flex: 3,
|
||||||
|
},
|
||||||
|
columnRight: {
|
||||||
|
...column,
|
||||||
|
flex: 5,
|
||||||
|
paddingTop: Spacing.small,
|
||||||
|
},
|
||||||
|
image: {
|
||||||
|
resizeMode: 'contain',
|
||||||
|
},
|
||||||
|
imageContainter: {
|
||||||
|
paddingTop: Spacing.large * 2.5,
|
||||||
|
marginBottom: Spacing.large,
|
||||||
|
},
|
||||||
|
overviewContainer: {
|
||||||
|
paddingHorizontal: Spacing.base,
|
||||||
|
paddingTop: Spacing.base,
|
||||||
|
},
|
||||||
|
pageContainer: {
|
||||||
|
...Containers.pageContainer,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
export default Stats
|
||||||
-11
@@ -1,6 +1,5 @@
|
|||||||
import Realm from 'realm'
|
import Realm from 'realm'
|
||||||
import { LocalDate, ChronoUnit } from '@js-joda/core'
|
import { LocalDate, ChronoUnit } from '@js-joda/core'
|
||||||
import nodejs from 'nodejs-mobile-react-native'
|
|
||||||
import fs from 'react-native-fs'
|
import fs from 'react-native-fs'
|
||||||
|
|
||||||
import schemas from './schemas'
|
import schemas from './schemas'
|
||||||
@@ -184,16 +183,6 @@ export function tryToImportWithoutDelete(cycleDays) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function requestHash(type, pw) {
|
|
||||||
nodejs.channel.post(
|
|
||||||
'request-SHA512',
|
|
||||||
JSON.stringify({
|
|
||||||
type: type,
|
|
||||||
message: pw,
|
|
||||||
})
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
export async function changeDbEncryption(hash) {
|
export async function changeDbEncryption(hash) {
|
||||||
let key
|
let key
|
||||||
if (hash) key = hashToInt8Array(hash)
|
if (hash) key = hashToInt8Array(hash)
|
||||||
|
|||||||
+67
-3
@@ -1,4 +1,17 @@
|
|||||||
{
|
{
|
||||||
|
"cycleDay": {
|
||||||
|
"symptomBox": {
|
||||||
|
"bleeding": "Bleeding",
|
||||||
|
"temperature": "Temperature",
|
||||||
|
"mucus": "Cervical Mucus",
|
||||||
|
"cervix": "Cervix",
|
||||||
|
"note": "Note",
|
||||||
|
"desire": "Desire",
|
||||||
|
"sex": "Sex",
|
||||||
|
"pain": "Pain",
|
||||||
|
"mood": "Mood"
|
||||||
|
}
|
||||||
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"bleedingPrediction": {
|
"bleedingPrediction": {
|
||||||
"noPrediction": "As soon as you have tracked 3 menstrual cycles, drip. will make predictions for the next ones."
|
"noPrediction": "As soon as you have tracked 3 menstrual cycles, drip. will make predictions for the next ones."
|
||||||
@@ -13,11 +26,12 @@
|
|||||||
"ok": "OK"
|
"ok": "OK"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"settings": {
|
"hamburgerMenu": {
|
||||||
"about": {
|
"about": {
|
||||||
"credits": {
|
"credits": {
|
||||||
"title": "Credits",
|
"title": "Credits",
|
||||||
"text": "We love the drip. team. Thanks and lots of <3 to all of our condriputors. Thanks to Paula Härtel for the symptom tracking icons. All the other icons are made by {{smashicons}}, {{pause08}}, {{kazachek}} & {{freepik}} from {{flaticon}}."
|
"text": "We love the drip. team. Thanks and lots of <3 to all of our condriputors. Thanks to Paula Härtel for the symptom tracking icons. All the other icons from:",
|
||||||
|
"madeBy": "Made by:"
|
||||||
},
|
},
|
||||||
"donate": {
|
"donate": {
|
||||||
"button": "Donate here",
|
"button": "Donate here",
|
||||||
@@ -38,7 +52,13 @@
|
|||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"title": "drip. an open-source cycle tracking app",
|
"title": "drip. an open-source cycle tracking app",
|
||||||
"text": "Copyright (C) {{currentYear}} Heart of Code e.V.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details: https://www.gnu.org/licenses/gpl-3.0.html."
|
"text": "Copyright (C) {{currentYear}} Heart of Code e.V.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details:"
|
||||||
|
},
|
||||||
|
"menuMain": {
|
||||||
|
"about": "About",
|
||||||
|
"license": "License",
|
||||||
|
"settings": "Settings",
|
||||||
|
"privacyPolicy": "Privacy Policy"
|
||||||
},
|
},
|
||||||
"privacyPolicy": {
|
"privacyPolicy": {
|
||||||
"title": "Privacy Policy",
|
"title": "Privacy Policy",
|
||||||
@@ -58,6 +78,50 @@
|
|||||||
"title": "Transparency",
|
"title": "Transparency",
|
||||||
"text": "You can read through the source code of drip. to ensure the given information is correct. The source code is like a recipe: It tells you how much and what kind of ingredients you need and how you prepare them to cook a tasty meal or program a funky app.\n\nBuon appetito!"
|
"text": "You can read through the source code of drip. to ensure the given information is correct. The source code is like a recipe: It tells you how much and what kind of ingredients you need and how you prepare them to cook a tasty meal or program a funky app.\n\nBuon appetito!"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
|
"menuItem": {
|
||||||
|
"dataManagement": {
|
||||||
|
"name": "Data",
|
||||||
|
"text": "import, export or delete your data"
|
||||||
|
},
|
||||||
|
"nfpSettings": {
|
||||||
|
"name": "NFP settings",
|
||||||
|
"text": "define how you want to use NFP"
|
||||||
|
},
|
||||||
|
"password": {
|
||||||
|
"name": "Password",
|
||||||
|
"text": ""
|
||||||
|
},
|
||||||
|
"reminders": {
|
||||||
|
"name": "Reminders",
|
||||||
|
"text": "turn on/off reminders"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title": "Settings"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"stats": {
|
||||||
|
"noData": "At least one completed cycle is needed to display stats.",
|
||||||
|
"intro": "Basic statistics about the length of your cycles.",
|
||||||
|
"overview": {
|
||||||
|
"average": "Average cycle",
|
||||||
|
"days": "days",
|
||||||
|
"min": "Shortest",
|
||||||
|
"max": "Longest",
|
||||||
|
"standardDeviation": "Standard\ndeviation",
|
||||||
|
"completedCycles": "completed\ncycles"
|
||||||
|
},
|
||||||
|
"showStats": "Show period details",
|
||||||
|
"details": {
|
||||||
|
"cycleStart": "Cycle start",
|
||||||
|
"cycleLength": "Cycle length",
|
||||||
|
"bleedingDays": "Bleeding"
|
||||||
|
},
|
||||||
|
"footnote": "Based on the standard deviation of all your tracked periods drip. calculates a range for the starting day of the upcoming 3 periods. The range will be 3 days if your standard deviation is smaller than 1.5 and 5 days if the value is bigger.\n\nThe standard deviation tells you how much the length of your periods vary, 0 means all your periods are exactly the same length and the bigger the value the more the period length varies."
|
||||||
|
},
|
||||||
|
"plurals": {
|
||||||
|
"day": "{{count}} day",
|
||||||
|
"day_plural": "{{count}} days"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
import labels from './settings'
|
|
||||||
const settingsTitles = labels.menuItems
|
|
||||||
|
|
||||||
export const home = {
|
export const home = {
|
||||||
unknown: '?',
|
unknown: '?',
|
||||||
phase: (n) => `${['1st', '2nd', '3rd'][n - 1]} cycle phase`,
|
phase: (n) => `${['1st', '2nd', '3rd'][n - 1]} cycle phase`,
|
||||||
@@ -33,30 +30,6 @@ export const shared = {
|
|||||||
learnMore: 'Learn more',
|
learnMore: 'Learn more',
|
||||||
}
|
}
|
||||||
|
|
||||||
export const headerTitles = {
|
|
||||||
Home: 'Home',
|
|
||||||
Calendar: 'Calendar',
|
|
||||||
Chart: 'Chart',
|
|
||||||
Stats: 'Statistics',
|
|
||||||
SettingsMenu: 'Settings',
|
|
||||||
Reminders: settingsTitles.reminders.name,
|
|
||||||
NfpSettings: settingsTitles.nfpSettings.name,
|
|
||||||
DataManagement: settingsTitles.dataManagement.name,
|
|
||||||
Password: settingsTitles.password.name,
|
|
||||||
About: 'About',
|
|
||||||
License: 'License',
|
|
||||||
PrivacyPolicy: 'Privacy Policy',
|
|
||||||
bleeding: 'Bleeding',
|
|
||||||
temperature: 'Temperature',
|
|
||||||
mucus: 'Cervical Mucus',
|
|
||||||
cervix: 'Cervix',
|
|
||||||
note: 'Note',
|
|
||||||
desire: 'Desire',
|
|
||||||
sex: 'Sex',
|
|
||||||
pain: 'Pain',
|
|
||||||
mood: 'Mood',
|
|
||||||
}
|
|
||||||
|
|
||||||
export const stats = {
|
export const stats = {
|
||||||
cycleLengthExplainer: 'Basic statistics about the length of your cycles.',
|
cycleLengthExplainer: 'Basic statistics about the length of your cycles.',
|
||||||
emptyStats: 'At least one completed cycle is needed to display stats.',
|
emptyStats: 'At least one completed cycle is needed to display stats.',
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import links from './links'
|
import links from './links'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
title: 'Settings',
|
|
||||||
menuItems: {
|
menuItems: {
|
||||||
reminders: {
|
reminders: {
|
||||||
name: 'Reminders',
|
name: 'Reminders',
|
||||||
@@ -19,10 +18,6 @@ export default {
|
|||||||
name: 'Password',
|
name: 'Password',
|
||||||
text: '',
|
text: '',
|
||||||
},
|
},
|
||||||
about: 'About',
|
|
||||||
license: 'License',
|
|
||||||
settings: 'Settings',
|
|
||||||
privacyPolicy: 'Privacy Policy',
|
|
||||||
},
|
},
|
||||||
export: {
|
export: {
|
||||||
errors: {
|
errors: {
|
||||||
|
|||||||
@@ -36,12 +36,9 @@
|
|||||||
54DFE73D25D94DED0025C3FC /* cycle-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 54DFE73C25D94DED0025C3FC /* cycle-icon.png */; };
|
54DFE73D25D94DED0025C3FC /* cycle-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 54DFE73C25D94DED0025C3FC /* cycle-icon.png */; };
|
||||||
54DFE73E25D94DED0025C3FC /* cycle-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 54DFE73C25D94DED0025C3FC /* cycle-icon.png */; };
|
54DFE73E25D94DED0025C3FC /* cycle-icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 54DFE73C25D94DED0025C3FC /* cycle-icon.png */; };
|
||||||
54E1D49923E7588F003FA37B /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 54E1D49823E7588F003FA37B /* JavaScriptCore.framework */; };
|
54E1D49923E7588F003FA37B /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 54E1D49823E7588F003FA37B /* JavaScriptCore.framework */; };
|
||||||
5C4C9DDE2824847500B72CBE /* NodeMobile.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C225FC4966694B9FBD32E946 /* NodeMobile.framework */; };
|
|
||||||
62F2A4645AC84CDC9506FF27 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 9AEBF0735214455AAEDF56D5 /* libc++.tbd */; };
|
62F2A4645AC84CDC9506FF27 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 9AEBF0735214455AAEDF56D5 /* libc++.tbd */; };
|
||||||
A16B351C3F3644CF95F104D2 /* builtin_modules in Resources */ = {isa = PBXBuildFile; fileRef = 36F1B55D0DEE47AA9AF4BBDD /* builtin_modules */; };
|
|
||||||
BD7041F2826E4A2CBE6CB87D /* RealmJSTests.xctest in Frameworks */ = {isa = PBXBuildFile; fileRef = F79F72C5390646E0A06AAE68 /* RealmJSTests.xctest */; };
|
BD7041F2826E4A2CBE6CB87D /* RealmJSTests.xctest in Frameworks */ = {isa = PBXBuildFile; fileRef = F79F72C5390646E0A06AAE68 /* RealmJSTests.xctest */; };
|
||||||
D91133DCE120440893E2FD2E /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = CD8C8B91E0A747B3883A0D56 /* libz.tbd */; };
|
D91133DCE120440893E2FD2E /* libz.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = CD8C8B91E0A747B3883A0D56 /* libz.tbd */; };
|
||||||
E4584E55EEC24302A3E84A23 /* nodejs-project in Resources */ = {isa = PBXBuildFile; fileRef = 6466AE2461BE4FA88B8372F0 /* nodejs-project */; };
|
|
||||||
E545887DBE87912F11770AB9 /* libPods-drip.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 699D3B3789FC2E5185CB9894 /* libPods-drip.a */; };
|
E545887DBE87912F11770AB9 /* libPods-drip.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 699D3B3789FC2E5185CB9894 /* libPods-drip.a */; };
|
||||||
FAC423E577F555F66C9891E4 /* libPods-drip-dripTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F33CCAAB670FD0D98C5C72DF /* libPods-drip-dripTests.a */; };
|
FAC423E577F555F66C9891E4 /* libPods-drip-dripTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F33CCAAB670FD0D98C5C72DF /* libPods-drip-dripTests.a */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
@@ -69,7 +66,6 @@
|
|||||||
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = drip/main.m; sourceTree = "<group>"; };
|
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = drip/main.m; sourceTree = "<group>"; };
|
||||||
2B1578D5817F46EE9BFC9BAF /* Pods-drip.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-drip.debug.xcconfig"; path = "Target Support Files/Pods-drip/Pods-drip.debug.xcconfig"; sourceTree = "<group>"; };
|
2B1578D5817F46EE9BFC9BAF /* Pods-drip.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-drip.debug.xcconfig"; path = "Target Support Files/Pods-drip/Pods-drip.debug.xcconfig"; sourceTree = "<group>"; };
|
||||||
2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
36F1B55D0DEE47AA9AF4BBDD /* builtin_modules */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = builtin_modules; path = "../node_modules/nodejs-mobile-react-native/install/resources/nodejs-modules/builtin_modules"; sourceTree = "<group>"; };
|
|
||||||
4A9B2D77CAC90DFEB5C4565A /* Pods-dripTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-dripTests.debug.xcconfig"; path = "Target Support Files/Pods-dripTests/Pods-dripTests.debug.xcconfig"; sourceTree = "<group>"; };
|
4A9B2D77CAC90DFEB5C4565A /* Pods-dripTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-dripTests.debug.xcconfig"; path = "Target Support Files/Pods-dripTests/Pods-dripTests.debug.xcconfig"; sourceTree = "<group>"; };
|
||||||
5409189625AB725F00086AE1 /* OpenSans-LightItalic.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "OpenSans-LightItalic.ttf"; path = "../../assets/fonts/OpenSans-LightItalic.ttf"; sourceTree = "<group>"; };
|
5409189625AB725F00086AE1 /* OpenSans-LightItalic.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "OpenSans-LightItalic.ttf"; path = "../../assets/fonts/OpenSans-LightItalic.ttf"; sourceTree = "<group>"; };
|
||||||
540918A225AB725F00086AE1 /* Prompt-ExtraLight.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "Prompt-ExtraLight.ttf"; path = "../../assets/fonts/Prompt-ExtraLight.ttf"; sourceTree = "<group>"; };
|
540918A225AB725F00086AE1 /* Prompt-ExtraLight.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; name = "Prompt-ExtraLight.ttf"; path = "../../assets/fonts/Prompt-ExtraLight.ttf"; sourceTree = "<group>"; };
|
||||||
@@ -97,7 +93,6 @@
|
|||||||
54E1D49823E7588F003FA37B /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
54E1D49823E7588F003FA37B /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
||||||
5ABC2C1190B4D25AC0398D09 /* Pods-dripTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-dripTests.release.xcconfig"; path = "Target Support Files/Pods-dripTests/Pods-dripTests.release.xcconfig"; sourceTree = "<group>"; };
|
5ABC2C1190B4D25AC0398D09 /* Pods-dripTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-dripTests.release.xcconfig"; path = "Target Support Files/Pods-dripTests/Pods-dripTests.release.xcconfig"; sourceTree = "<group>"; };
|
||||||
5C649EDC281151BC005FED46 /* dripRelease.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = dripRelease.entitlements; path = drip/dripRelease.entitlements; sourceTree = "<group>"; };
|
5C649EDC281151BC005FED46 /* dripRelease.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = dripRelease.entitlements; path = drip/dripRelease.entitlements; sourceTree = "<group>"; };
|
||||||
6466AE2461BE4FA88B8372F0 /* nodejs-project */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "nodejs-project"; path = "../nodejs-assets/nodejs-project"; sourceTree = "<group>"; };
|
|
||||||
699D3B3789FC2E5185CB9894 /* libPods-drip.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-drip.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
699D3B3789FC2E5185CB9894 /* libPods-drip.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-drip.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
6B7C2A0A7AAA83BBEFBD0B6A /* libPods-drip-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-drip-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
6B7C2A0A7AAA83BBEFBD0B6A /* libPods-drip-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-drip-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
72DDDE8D34518ED64FD7EBBA /* Pods-drip-dripTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-drip-dripTests.release.xcconfig"; path = "Target Support Files/Pods-drip-dripTests/Pods-drip-dripTests.release.xcconfig"; sourceTree = "<group>"; };
|
72DDDE8D34518ED64FD7EBBA /* Pods-drip-dripTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-drip-dripTests.release.xcconfig"; path = "Target Support Files/Pods-drip-dripTests/Pods-drip-dripTests.release.xcconfig"; sourceTree = "<group>"; };
|
||||||
@@ -108,7 +103,6 @@
|
|||||||
A8B59389C2FC4F19BD30ABC3 /* libRNShare.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNShare.a; sourceTree = "<group>"; };
|
A8B59389C2FC4F19BD30ABC3 /* libRNShare.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNShare.a; sourceTree = "<group>"; };
|
||||||
AB636AA0286D45CE9B23B2C3 /* libRCTRestart.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTRestart.a; sourceTree = "<group>"; };
|
AB636AA0286D45CE9B23B2C3 /* libRCTRestart.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRCTRestart.a; sourceTree = "<group>"; };
|
||||||
B6FD0A300273E09D74C14C19 /* Pods-drip-dripTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-drip-dripTests.debug.xcconfig"; path = "Target Support Files/Pods-drip-dripTests/Pods-drip-dripTests.debug.xcconfig"; sourceTree = "<group>"; };
|
B6FD0A300273E09D74C14C19 /* Pods-drip-dripTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-drip-dripTests.debug.xcconfig"; path = "Target Support Files/Pods-drip-dripTests/Pods-drip-dripTests.debug.xcconfig"; sourceTree = "<group>"; };
|
||||||
C225FC4966694B9FBD32E946 /* NodeMobile.framework */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.framework; name = NodeMobile.framework; path = "../node_modules/nodejs-mobile-react-native/ios/NodeMobile.framework"; sourceTree = "<group>"; };
|
|
||||||
CD8C8B91E0A747B3883A0D56 /* libz.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
|
CD8C8B91E0A747B3883A0D56 /* libz.tbd */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = usr/lib/libz.tbd; sourceTree = SDKROOT; };
|
||||||
D211D71BE5A8436A978770A9 /* libRNDocumentPicker.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNDocumentPicker.a; sourceTree = "<group>"; };
|
D211D71BE5A8436A978770A9 /* libRNDocumentPicker.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNDocumentPicker.a; sourceTree = "<group>"; };
|
||||||
E086AB579387F878A2CBCFEB /* libPods-drip-tvOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-drip-tvOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
E086AB579387F878A2CBCFEB /* libPods-drip-tvOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-drip-tvOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
@@ -117,7 +111,6 @@
|
|||||||
F5039D0A572B4BBCB7995891 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = "<group>"; };
|
F5039D0A572B4BBCB7995891 /* libRNVectorIcons.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNVectorIcons.a; sourceTree = "<group>"; };
|
||||||
F710D85E391D4094816E1B62 /* libRealmJS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRealmJS.a; sourceTree = "<group>"; };
|
F710D85E391D4094816E1B62 /* libRealmJS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRealmJS.a; sourceTree = "<group>"; };
|
||||||
F79F72C5390646E0A06AAE68 /* RealmJSTests.xctest */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.cfbundle; path = RealmJSTests.xctest; sourceTree = "<group>"; };
|
F79F72C5390646E0A06AAE68 /* RealmJSTests.xctest */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = wrapper.cfbundle; path = RealmJSTests.xctest; sourceTree = "<group>"; };
|
||||||
F992F2D99E614DD79FAD6565 /* libRNNodeJsMobile.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNNodeJsMobile.a; sourceTree = "<group>"; };
|
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
@@ -137,7 +130,6 @@
|
|||||||
62F2A4645AC84CDC9506FF27 /* libc++.tbd in Frameworks */,
|
62F2A4645AC84CDC9506FF27 /* libc++.tbd in Frameworks */,
|
||||||
D91133DCE120440893E2FD2E /* libz.tbd in Frameworks */,
|
D91133DCE120440893E2FD2E /* libz.tbd in Frameworks */,
|
||||||
BD7041F2826E4A2CBE6CB87D /* RealmJSTests.xctest in Frameworks */,
|
BD7041F2826E4A2CBE6CB87D /* RealmJSTests.xctest in Frameworks */,
|
||||||
5C4C9DDE2824847500B72CBE /* NodeMobile.framework in Frameworks */,
|
|
||||||
E545887DBE87912F11770AB9 /* libPods-drip.a in Frameworks */,
|
E545887DBE87912F11770AB9 /* libPods-drip.a in Frameworks */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
@@ -204,7 +196,6 @@
|
|||||||
2D16E6891FA4F8E400B85C8A /* libReact.a */,
|
2D16E6891FA4F8E400B85C8A /* libReact.a */,
|
||||||
9AEBF0735214455AAEDF56D5 /* libc++.tbd */,
|
9AEBF0735214455AAEDF56D5 /* libc++.tbd */,
|
||||||
CD8C8B91E0A747B3883A0D56 /* libz.tbd */,
|
CD8C8B91E0A747B3883A0D56 /* libz.tbd */,
|
||||||
C225FC4966694B9FBD32E946 /* NodeMobile.framework */,
|
|
||||||
6B7C2A0A7AAA83BBEFBD0B6A /* libPods-drip-tvOS.a */,
|
6B7C2A0A7AAA83BBEFBD0B6A /* libPods-drip-tvOS.a */,
|
||||||
E086AB579387F878A2CBCFEB /* libPods-drip-tvOSTests.a */,
|
E086AB579387F878A2CBCFEB /* libPods-drip-tvOSTests.a */,
|
||||||
699D3B3789FC2E5185CB9894 /* libPods-drip.a */,
|
699D3B3789FC2E5185CB9894 /* libPods-drip.a */,
|
||||||
@@ -222,7 +213,6 @@
|
|||||||
D211D71BE5A8436A978770A9 /* libRNDocumentPicker.a */,
|
D211D71BE5A8436A978770A9 /* libRNDocumentPicker.a */,
|
||||||
84CCEBD3B2C44758853BC941 /* libRNFS.a */,
|
84CCEBD3B2C44758853BC941 /* libRNFS.a */,
|
||||||
AB636AA0286D45CE9B23B2C3 /* libRCTRestart.a */,
|
AB636AA0286D45CE9B23B2C3 /* libRCTRestart.a */,
|
||||||
F992F2D99E614DD79FAD6565 /* libRNNodeJsMobile.a */,
|
|
||||||
90224CB4571D41C4969E9722 /* libGCDWebServers.a */,
|
90224CB4571D41C4969E9722 /* libGCDWebServers.a */,
|
||||||
F710D85E391D4094816E1B62 /* libRealmJS.a */,
|
F710D85E391D4094816E1B62 /* libRealmJS.a */,
|
||||||
F79F72C5390646E0A06AAE68 /* RealmJSTests.xctest */,
|
F79F72C5390646E0A06AAE68 /* RealmJSTests.xctest */,
|
||||||
@@ -267,8 +257,6 @@
|
|||||||
00E356EF1AD99517003FC87E /* dripTests */,
|
00E356EF1AD99517003FC87E /* dripTests */,
|
||||||
83CBBA001A601CBA00E9B192 /* Products */,
|
83CBBA001A601CBA00E9B192 /* Products */,
|
||||||
2D16E6871FA4F8E400B85C8A /* Frameworks */,
|
2D16E6871FA4F8E400B85C8A /* Frameworks */,
|
||||||
6466AE2461BE4FA88B8372F0 /* nodejs-project */,
|
|
||||||
36F1B55D0DEE47AA9AF4BBDD /* builtin_modules */,
|
|
||||||
42C7F9942202468200F22656 /* Recovered References */,
|
42C7F9942202468200F22656 /* Recovered References */,
|
||||||
6817ABC38854EEB6D3EE933A /* Pods */,
|
6817ABC38854EEB6D3EE933A /* Pods */,
|
||||||
006C39A0B9774387BC5ACA43 /* Resources */,
|
006C39A0B9774387BC5ACA43 /* Resources */,
|
||||||
@@ -298,7 +286,6 @@
|
|||||||
00E356EA1AD99517003FC87E /* Sources */,
|
00E356EA1AD99517003FC87E /* Sources */,
|
||||||
00E356EB1AD99517003FC87E /* Frameworks */,
|
00E356EB1AD99517003FC87E /* Frameworks */,
|
||||||
00E356EC1AD99517003FC87E /* Resources */,
|
00E356EC1AD99517003FC87E /* Resources */,
|
||||||
22A5D3F7F84BDF2020F07B0E /* [CP] Embed Pods Frameworks */,
|
|
||||||
46313D848A7A3E69E5ED05E7 /* [CP] Copy Pods Resources */,
|
46313D848A7A3E69E5ED05E7 /* [CP] Copy Pods Resources */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
@@ -320,14 +307,6 @@
|
|||||||
13B07F8C1A680F5B00A75B9A /* Frameworks */,
|
13B07F8C1A680F5B00A75B9A /* Frameworks */,
|
||||||
13B07F8E1A680F5B00A75B9A /* Resources */,
|
13B07F8E1A680F5B00A75B9A /* Resources */,
|
||||||
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
|
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
|
||||||
DE9DD9049EBE47E5A1EA3F5D /* Build NodeJS Mobile Native Modules */,
|
|
||||||
6C10CEE2CE544C7F9400F1B4 /* Sign NodeJS Mobile Native Modules */,
|
|
||||||
B93B657279074F0DB95BCDE2 /* Remove NodeJS Mobile Framework Simulator Strips */,
|
|
||||||
CD43B73558845DFAF38EE039 /* [CP] Embed Pods Frameworks */,
|
|
||||||
935E6C85F581DC5BB536B833 /* [CP-User] [NODEJS MOBILE] Copy Node.js Project files */,
|
|
||||||
FCE9B437260EC219FF32251C /* [CP-User] [NODEJS MOBILE] Build Native Modules */,
|
|
||||||
2A3F66C5C345646DE949E1FF /* [CP-User] [NODEJS MOBILE] Sign Native Modules */,
|
|
||||||
CD7DBF41D9E2377DC61F80D8 /* [CP-User] [NODEJS MOBILE] Remove Simulator Strip */,
|
|
||||||
616E70055A3365D214C7B201 /* [CP] Copy Pods Resources */,
|
616E70055A3365D214C7B201 /* [CP] Copy Pods Resources */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
@@ -412,8 +391,6 @@
|
|||||||
54DFE73A25D94D6E0025C3FC /* swipe.png in Resources */,
|
54DFE73A25D94D6E0025C3FC /* swipe.png in Resources */,
|
||||||
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
|
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
|
||||||
5472A44A25BB7806005E81DE /* drip-home-icons.ttf in Resources */,
|
5472A44A25BB7806005E81DE /* drip-home-icons.ttf in Resources */,
|
||||||
E4584E55EEC24302A3E84A23 /* nodejs-project in Resources */,
|
|
||||||
A16B351C3F3644CF95F104D2 /* builtin_modules in Resources */,
|
|
||||||
5472A45225BB7807005E81DE /* Jost-700-Bold.otf in Resources */,
|
5472A45225BB7807005E81DE /* Jost-700-Bold.otf in Resources */,
|
||||||
5472A44E25BB7807005E81DE /* Prompt-ExtraLight.ttf in Resources */,
|
5472A44E25BB7807005E81DE /* Prompt-ExtraLight.ttf in Resources */,
|
||||||
);
|
);
|
||||||
@@ -436,34 +413,6 @@
|
|||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
|
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
|
||||||
};
|
};
|
||||||
22A5D3F7F84BDF2020F07B0E /* [CP] Embed Pods Frameworks */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
"${PODS_ROOT}/Target Support Files/Pods-drip-dripTests/Pods-drip-dripTests-frameworks.sh",
|
|
||||||
"${PODS_ROOT}/../../node_modules/nodejs-mobile-react-native/ios/NodeMobile.framework",
|
|
||||||
);
|
|
||||||
name = "[CP] Embed Pods Frameworks";
|
|
||||||
outputPaths = (
|
|
||||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NodeMobile.framework",
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-drip-dripTests/Pods-drip-dripTests-frameworks.sh\"\n";
|
|
||||||
showEnvVarsInLog = 0;
|
|
||||||
};
|
|
||||||
2A3F66C5C345646DE949E1FF /* [CP-User] [NODEJS MOBILE] Sign Native Modules */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
name = "[CP-User] [NODEJS MOBILE] Sign Native Modules";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "#!/bin/sh\nset -e\nif [ -z \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then\n# If build native modules preference is not set, look for it in the project's\n#nodejs-assets/BUILD_NATIVE_MODULES.txt file.\nNODEJS_ASSETS_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../nodejs-assets/ && pwd )\"\nPREFERENCE_FILE_PATH=\"$NODEJS_ASSETS_DIR/BUILD_NATIVE_MODULES.txt\"\n if [ -f \"$PREFERENCE_FILE_PATH\" ]; then\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=\"$(cat $PREFERENCE_FILE_PATH | xargs)\"\n fi\nfi\nif [ -z \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then\n# If build native modules preference is not set, try to find .gyp files\n#to turn it on.\n gypfiles=($(find \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -type f -name \"*.gyp\"))\n if [ ${#gypfiles[@]} -gt 0 ]; then\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=1\n else\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=0\n fi\nfi\nif [ \"1\" != \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then exit 0; fi\n# Delete object files\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.o\" -type f -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.a\" -type f -delete\n# Create Info.plist for each framework built and loader override.\nPATCH_SCRIPT_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-react-native/scripts/ && pwd )\"\nNODEJS_PROJECT_DIR=\"$( cd \"$CODESIGNING_FOLDER_PATH\" && cd nodejs-project/ && pwd )\"\nnode \"$PATCH_SCRIPT_DIR\"/ios-create-plists-and-dlopen-override.js $NODEJS_PROJECT_DIR\n# Embed every resulting .framework in the application and delete them afterwards.\nembed_framework()\n{\n FRAMEWORK_NAME=\"$(basename \"$1\")\"\n cp -r \"$1\" \"$TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH/\"\n /usr/bin/codesign --force --sign $EXPANDED_CODE_SIGN_IDENTITY --preserve-metadata=identifier,entitlements,flags --timestamp=none \"$TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH/$FRAMEWORK_NAME\"\n}\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.framework\" -type d | while read frmwrk_path; do embed_framework \"$frmwrk_path\"; done\n\n#Delete gyp temporary .deps dependency folders from the project structure.\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -path \"*/.deps/*\" -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \".deps\" -type d -delete\n\n#Delete frameworks from their build paths\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -path \"*/*.framework/*\" -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.framework\" -type d -delete\n";
|
|
||||||
};
|
|
||||||
46313D848A7A3E69E5ED05E7 /* [CP] Copy Pods Resources */ = {
|
46313D848A7A3E69E5ED05E7 /* [CP] Copy Pods Resources */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
@@ -564,20 +513,6 @@
|
|||||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-drip/Pods-drip-resources.sh\"\n";
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-drip/Pods-drip-resources.sh\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
6C10CEE2CE544C7F9400F1B4 /* Sign NodeJS Mobile Native Modules */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
name = "Sign NodeJS Mobile Native Modules";
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "\nset -e\nif [ -z \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then\n# If build native modules preference is not set, look for it in the project's\n#nodejs-assets/BUILD_NATIVE_MODULES.txt file.\nNODEJS_ASSETS_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../nodejs-assets/ && pwd )\"\nPREFERENCE_FILE_PATH=\"$NODEJS_ASSETS_DIR/BUILD_NATIVE_MODULES.txt\"\n if [ -f \"$PREFERENCE_FILE_PATH\" ]; then\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=\"$(cat $PREFERENCE_FILE_PATH | xargs)\"\n fi\nfi\nif [ -z \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then\n# If build native modules preference is not set, try to find .gyp files\n#to turn it on.\n gypfiles=($(find \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -type f -name \"*.gyp\"))\n if [ ${#gypfiles[@]} -gt 0 ]; then\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=1\n else\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=0\n fi\nfi\nif [ \"1\" != \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then exit 0; fi\n# Delete object files\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.o\" -type f -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.a\" -type f -delete\n# Create Info.plist for each framework built and loader override.\nPATCH_SCRIPT_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-react-native/scripts/ && pwd )\"\nNODEJS_PROJECT_DIR=\"$( cd \"$CODESIGNING_FOLDER_PATH\" && cd nodejs-project/ && pwd )\"\nnode \"$PATCH_SCRIPT_DIR\"/ios-create-plists-and-dlopen-override.js $NODEJS_PROJECT_DIR\n# Embed every resulting .framework in the application and delete them afterwards.\nembed_framework()\n{\n FRAMEWORK_NAME=\"$(basename \"$1\")\"\n cp -r \"$1\" \"$TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH/\"\n \n /usr/bin/codesign --force --sign $EXPANDED_CODE_SIGN_IDENTITY --preserve-metadata=identifier,entitlements,flags --timestamp=none \"$TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH/$FRAMEWORK_NAME\"\n}\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.framework\" -type d | while read frmwrk_path; do embed_framework \"$frmwrk_path\"; done\n\n#Delete gyp temporary .deps dependency folders from the project structure.\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -path \"*/.deps/*\" -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \".deps\" -type d -delete\n\n#Delete frameworks from their build paths\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -path \"*/*.framework/*\" -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.framework\" -type d -delete\n";
|
|
||||||
};
|
|
||||||
852A2E0CD5D0F561CE2927A3 /* [CP] Check Pods Manifest.lock */ = {
|
852A2E0CD5D0F561CE2927A3 /* [CP] Check Pods Manifest.lock */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
@@ -600,48 +535,6 @@
|
|||||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
935E6C85F581DC5BB536B833 /* [CP-User] [NODEJS MOBILE] Copy Node.js Project files */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
name = "[CP-User] [NODEJS MOBILE] Copy Node.js Project files";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "#!/bin/sh\nset -e\nNODEJS_ASSETS_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../nodejs-assets/ && pwd )\"\nNODEJS_BUILT_IN_MODULES_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-react-native/install/resources/nodejs-modules/ && pwd )\"\nif [ -d \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" ]\nthen\nrm -rf \"$CODESIGNING_FOLDER_PATH/nodejs-project/\"\nfi\nif [ -d \"$CODESIGNING_FOLDER_PATH/builtin_modules/\" ]\nthen\nrm -rf \"$CODESIGNING_FOLDER_PATH/builtin_modules/\"\nfi\nrsync -av --delete \"$NODEJS_ASSETS_DIR/nodejs-project\" \"$CODESIGNING_FOLDER_PATH\"\nrsync -av --delete \"$NODEJS_BUILT_IN_MODULES_DIR/builtin_modules\" \"$CODESIGNING_FOLDER_PATH\"\n";
|
|
||||||
};
|
|
||||||
B93B657279074F0DB95BCDE2 /* Remove NodeJS Mobile Framework Simulator Strips */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
name = "Remove NodeJS Mobile Framework Simulator Strips";
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "\nset -e\nFRAMEWORK_BINARY_PATH=\"$TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH/NodeMobile.framework/NodeMobile\"\nFRAMEWORK_STRIPPED_PATH=\"$FRAMEWORK_BINARY_PATH-strip\"\nif [ \"$PLATFORM_NAME\" != \"iphonesimulator\" ]; then\n if $(lipo \"$FRAMEWORK_BINARY_PATH\" -verify_arch \"x86_64\") ; then\n lipo -output \"$FRAMEWORK_STRIPPED_PATH\" -remove \"x86_64\" \"$FRAMEWORK_BINARY_PATH\"\n rm \"$FRAMEWORK_BINARY_PATH\"\n mv \"$FRAMEWORK_STRIPPED_PATH\" \"$FRAMEWORK_BINARY_PATH\"\n echo \"Removed simulator strip from NodeMobile.framework\"\n fi\nfi\n";
|
|
||||||
};
|
|
||||||
CD43B73558845DFAF38EE039 /* [CP] Embed Pods Frameworks */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
"${PODS_ROOT}/Target Support Files/Pods-drip/Pods-drip-frameworks.sh",
|
|
||||||
"${PODS_ROOT}/../../node_modules/nodejs-mobile-react-native/ios/NodeMobile.framework",
|
|
||||||
);
|
|
||||||
name = "[CP] Embed Pods Frameworks";
|
|
||||||
outputPaths = (
|
|
||||||
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/NodeMobile.framework",
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-drip/Pods-drip-frameworks.sh\"\n";
|
|
||||||
showEnvVarsInLog = 0;
|
|
||||||
};
|
|
||||||
CD68B565C5F4A7A674494D02 /* [CP] Check Pods Manifest.lock */ = {
|
CD68B565C5F4A7A674494D02 /* [CP] Check Pods Manifest.lock */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
@@ -664,40 +557,6 @@
|
|||||||
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
||||||
showEnvVarsInLog = 0;
|
showEnvVarsInLog = 0;
|
||||||
};
|
};
|
||||||
CD7DBF41D9E2377DC61F80D8 /* [CP-User] [NODEJS MOBILE] Remove Simulator Strip */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
name = "[CP-User] [NODEJS MOBILE] Remove Simulator Strip";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "#!/bin/sh\nset -e\nFRAMEWORK_BINARY_PATH=\"$TARGET_BUILD_DIR/$FRAMEWORKS_FOLDER_PATH/NodeMobile.framework/NodeMobile\"\nFRAMEWORK_STRIPPED_PATH=\"$FRAMEWORK_BINARY_PATH-strip\"\nif [ \"$PLATFORM_NAME\" != \"iphonesimulator\" ]; then\n if $(lipo \"$FRAMEWORK_BINARY_PATH\" -verify_arch \"x86_64\") ; then\n lipo -output \"$FRAMEWORK_STRIPPED_PATH\" -remove \"x86_64\" \"$FRAMEWORK_BINARY_PATH\"\n rm \"$FRAMEWORK_BINARY_PATH\"\n mv \"$FRAMEWORK_STRIPPED_PATH\" \"$FRAMEWORK_BINARY_PATH\"\n echo \"Removed simulator strip from NodeMobile.framework\"\n fi\nfi\n";
|
|
||||||
};
|
|
||||||
DE9DD9049EBE47E5A1EA3F5D /* Build NodeJS Mobile Native Modules */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
name = "Build NodeJS Mobile Native Modules";
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "\nset -e\nif [ -z \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then\n# If build native modules preference is not set, look for it in the project's\n#nodejs-assets/BUILD_NATIVE_MODULES.txt file.\nNODEJS_ASSETS_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../nodejs-assets/ && pwd )\"\nPREFERENCE_FILE_PATH=\"$NODEJS_ASSETS_DIR/BUILD_NATIVE_MODULES.txt\"\n if [ -f \"$PREFERENCE_FILE_PATH\" ]; then\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=\"$(cat $PREFERENCE_FILE_PATH | xargs)\"\n fi\nfi\nif [ -z \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then\n# If build native modules preference is not set, try to find .gyp files\n#to turn it on.\n gypfiles=($(find \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -type f -name \"*.gyp\"))\n if [ ${#gypfiles[@]} -gt 0 ]; then\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=1\n else\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=0\n fi\nfi\nif [ \"1\" != \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then exit 0; fi\n# Delete object files that may already come from within the npm package.\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.o\" -type f -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.a\" -type f -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.node\" -type f -delete\n# Delete bundle contents that may be there from previous builds.\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -path \"*/*.node/*\" -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.node\" -type d -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -path \"*/*.framework/*\" -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.framework\" -type d -delete\n# Apply patches to the modules package.json\nif [ -d \"$CODESIGNING_FOLDER_PATH\"/nodejs-project/node_modules/ ]; then\n PATCH_SCRIPT_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-react-native/scripts/ && pwd )\"\n NODEJS_PROJECT_MODULES_DIR=\"$( cd \"$CODESIGNING_FOLDER_PATH\" && cd nodejs-project/node_modules/ && pwd )\"\n node \"$PATCH_SCRIPT_DIR\"/patch-package.js $NODEJS_PROJECT_MODULES_DIR\nfi\n# Get the nodejs-mobile-gyp location\nif [ -d \"$PROJECT_DIR/../node_modules/nodejs-mobile-gyp/\" ]; then\n NODEJS_MOBILE_GYP_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-gyp/ && pwd )\"\nelse\n NODEJS_MOBILE_GYP_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-react-native/node_modules/nodejs-mobile-gyp/ && pwd )\"\nfi\nNODEJS_MOBILE_GYP_BIN_FILE=\"$NODEJS_MOBILE_GYP_DIR\"/bin/node-gyp.js\n# Rebuild modules with right environment\nNODEJS_HEADERS_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-react-native/ios/libnode/ && pwd )\"\npushd $CODESIGNING_FOLDER_PATH/nodejs-project/\nif [ \"$PLATFORM_NAME\" == \"iphoneos\" ]\nthen\n GYP_DEFINES=\"OS=ios\" npm_config_nodedir=\"$NODEJS_HEADERS_DIR\" npm_config_node_gyp=\"$NODEJS_MOBILE_GYP_BIN_FILE\" npm_config_platform=\"ios\" npm_config_format=\"make-ios\" npm_config_node_engine=\"chakracore\" npm_config_arch=\"arm64\" npm --verbose rebuild --build-from-source\nelse\n GYP_DEFINES=\"OS=ios\" npm_config_nodedir=\"$NODEJS_HEADERS_DIR\" npm_config_node_gyp=\"$NODEJS_MOBILE_GYP_BIN_FILE\" npm_config_platform=\"ios\" npm_config_format=\"make-ios\" npm_config_node_engine=\"chakracore\" npm_config_arch=\"x64\" npm --verbose rebuild --build-from-source\nfi\npopd\n";
|
|
||||||
};
|
|
||||||
FCE9B437260EC219FF32251C /* [CP-User] [NODEJS MOBILE] Build Native Modules */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
name = "[CP-User] [NODEJS MOBILE] Build Native Modules";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "#!/bin/sh\nset -e\nif [ -z \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then\n# If build native modules preference is not set, look for it in the project's\n#nodejs-assets/BUILD_NATIVE_MODULES.txt file.\nNODEJS_ASSETS_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../nodejs-assets/ && pwd )\"\nPREFERENCE_FILE_PATH=\"$NODEJS_ASSETS_DIR/BUILD_NATIVE_MODULES.txt\"\n if [ -f \"$PREFERENCE_FILE_PATH\" ]; then\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=\"$(cat $PREFERENCE_FILE_PATH | xargs)\"\n fi\nfi\nif [ -z \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then\n# If build native modules preference is not set, try to find .gyp files\n#to turn it on.\n gypfiles=($(find \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -type f -name \"*.gyp\"))\n if [ ${#gypfiles[@]} -gt 0 ]; then\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=1\n else\n NODEJS_MOBILE_BUILD_NATIVE_MODULES=0\n fi\nfi\nif [ \"1\" != \"$NODEJS_MOBILE_BUILD_NATIVE_MODULES\" ]; then exit 0; fi\n# Delete object files that may already come from within the npm package.\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.o\" -type f -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.a\" -type f -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.node\" -type f -delete\n# Delete bundle contents that may be there from previous builds.\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -path \"*/*.node/*\" -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.node\" -type d -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -path \"*/*.framework/*\" -delete\nfind \"$CODESIGNING_FOLDER_PATH/nodejs-project/\" -name \"*.framework\" -type d -delete\n# Apply patches to the modules package.json\nif [ -d \"$CODESIGNING_FOLDER_PATH\"/nodejs-project/node_modules/ ]; then\n PATCH_SCRIPT_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-react-native/scripts/ && pwd )\"\n NODEJS_PROJECT_MODULES_DIR=\"$( cd \"$CODESIGNING_FOLDER_PATH\" && cd nodejs-project/node_modules/ && pwd )\"\n node \"$PATCH_SCRIPT_DIR\"/patch-package.js $NODEJS_PROJECT_MODULES_DIR\nfi\n# Get the nodejs-mobile-gyp location\nif [ -d \"$PROJECT_DIR/../node_modules/nodejs-mobile-gyp/\" ]; then\n NODEJS_MOBILE_GYP_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-gyp/ && pwd )\"\nelse\n NODEJS_MOBILE_GYP_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-react-native/node_modules/nodejs-mobile-gyp/ && pwd )\"\nfi\nNODEJS_MOBILE_GYP_BIN_FILE=\"$NODEJS_MOBILE_GYP_DIR\"/bin/node-gyp.js\n# Support building neon-bindings (Rust) native modules\nif [ -f ~/.cargo/env ]; then\n source ~/.cargo/env;\nfi\n# Rebuild modules with right environment\nNODEJS_HEADERS_DIR=\"$( cd \"$PROJECT_DIR\" && cd ../node_modules/nodejs-mobile-react-native/ios/libnode/ && pwd )\"\npushd $CODESIGNING_FOLDER_PATH/nodejs-project/\nif [ \"$PLATFORM_NAME\" == \"iphoneos\" ]\nthen\n GYP_DEFINES=\"OS=ios\" CARGO_BUILD_TARGET=\"aarch64-apple-ios\" npm_config_nodedir=\"$NODEJS_HEADERS_DIR\" npm_config_node_gyp=\"$NODEJS_MOBILE_GYP_BIN_FILE\" npm_config_platform=\"ios\" npm_config_format=\"make-ios\" npm_config_node_engine=\"chakracore\" npm_config_arch=\"arm64\" npm --verbose rebuild --build-from-source\nelse\n GYP_DEFINES=\"OS=ios\" CARGO_BUILD_TARGET=\"x86_64-apple-ios\" npm_config_nodedir=\"$NODEJS_HEADERS_DIR\" npm_config_node_gyp=\"$NODEJS_MOBILE_GYP_BIN_FILE\" npm_config_platform=\"ios\" npm_config_format=\"make-ios\" npm_config_node_engine=\"chakracore\" npm_config_arch=\"x64\" npm --verbose rebuild --build-from-source\nfi\npopd\n";
|
|
||||||
};
|
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
@@ -737,8 +596,6 @@
|
|||||||
ENABLE_BITCODE = "$(inherited)";
|
ENABLE_BITCODE = "$(inherited)";
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"\"../node_modules/nodejs-mobile-react-native/ios\"",
|
|
||||||
"\"../node_modules/nodejs-mobile-react-native/ios\"",
|
|
||||||
"$(SRCROOT)/../node_modules/react-native-svg/ios/**",
|
"$(SRCROOT)/../node_modules/react-native-svg/ios/**",
|
||||||
);
|
);
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
@@ -753,7 +610,6 @@
|
|||||||
"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker",
|
"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker",
|
||||||
"$(SRCROOT)/../node_modules/react-native-fs/**",
|
"$(SRCROOT)/../node_modules/react-native-fs/**",
|
||||||
"$(SRCROOT)/../node_modules/react-native-restart/ios/RCTRestart/**",
|
"$(SRCROOT)/../node_modules/react-native-restart/ios/RCTRestart/**",
|
||||||
"$(SRCROOT)/../node_modules/nodejs-mobile-react-native/ios/**",
|
|
||||||
"$(SRCROOT)/../node_modules/realm/src/**",
|
"$(SRCROOT)/../node_modules/realm/src/**",
|
||||||
);
|
);
|
||||||
INFOPLIST_FILE = dripTests/Info.plist;
|
INFOPLIST_FILE = dripTests/Info.plist;
|
||||||
@@ -785,8 +641,6 @@
|
|||||||
ENABLE_BITCODE = "$(inherited)";
|
ENABLE_BITCODE = "$(inherited)";
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"\"../node_modules/nodejs-mobile-react-native/ios\"",
|
|
||||||
"\"../node_modules/nodejs-mobile-react-native/ios\"",
|
|
||||||
"$(SRCROOT)/../node_modules/react-native-svg/ios/**",
|
"$(SRCROOT)/../node_modules/react-native-svg/ios/**",
|
||||||
);
|
);
|
||||||
HEADER_SEARCH_PATHS = (
|
HEADER_SEARCH_PATHS = (
|
||||||
@@ -797,7 +651,6 @@
|
|||||||
"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker",
|
"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker",
|
||||||
"$(SRCROOT)/../node_modules/react-native-fs/**",
|
"$(SRCROOT)/../node_modules/react-native-fs/**",
|
||||||
"$(SRCROOT)/../node_modules/react-native-restart/ios/RCTRestart/**",
|
"$(SRCROOT)/../node_modules/react-native-restart/ios/RCTRestart/**",
|
||||||
"$(SRCROOT)/../node_modules/nodejs-mobile-react-native/ios/**",
|
|
||||||
"$(SRCROOT)/../node_modules/realm/src/**",
|
"$(SRCROOT)/../node_modules/realm/src/**",
|
||||||
);
|
);
|
||||||
INFOPLIST_FILE = dripTests/Info.plist;
|
INFOPLIST_FILE = dripTests/Info.plist;
|
||||||
@@ -832,10 +685,7 @@
|
|||||||
ENABLE_BITCODE = "$(inherited)";
|
ENABLE_BITCODE = "$(inherited)";
|
||||||
EXCLUDED_ARCHS = "";
|
EXCLUDED_ARCHS = "";
|
||||||
"EXCLUDED_ARCHS[sdk=*]" = "";
|
"EXCLUDED_ARCHS[sdk=*]" = "";
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
||||||
"$(inherited)",
|
|
||||||
"\"../node_modules/nodejs-mobile-react-native/ios\"",
|
|
||||||
);
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
"COCOAPODS=1",
|
"COCOAPODS=1",
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
@@ -848,7 +698,6 @@
|
|||||||
"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker",
|
"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker",
|
||||||
"$(SRCROOT)/../node_modules/react-native-fs/**",
|
"$(SRCROOT)/../node_modules/react-native-fs/**",
|
||||||
"$(SRCROOT)/../node_modules/react-native-restart/ios/RCTRestart/**",
|
"$(SRCROOT)/../node_modules/react-native-restart/ios/RCTRestart/**",
|
||||||
"$(SRCROOT)/../node_modules/nodejs-mobile-react-native/ios/**",
|
|
||||||
"$(SRCROOT)/../node_modules/@react-native-community/push-notification-ios/ios",
|
"$(SRCROOT)/../node_modules/@react-native-community/push-notification-ios/ios",
|
||||||
"$(SRCROOT)/../node_modules/realm/src/**",
|
"$(SRCROOT)/../node_modules/realm/src/**",
|
||||||
);
|
);
|
||||||
@@ -883,7 +732,6 @@
|
|||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/RealmJS\"",
|
"\"${PODS_CONFIGURATION_BUILD_DIR}/RealmJS\"",
|
||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"",
|
"\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"",
|
||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"",
|
"\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"",
|
||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/nodejs-mobile-react-native\"",
|
|
||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-document-picker\"",
|
"\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-document-picker\"",
|
||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-restart\"",
|
"\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-restart\"",
|
||||||
"\"${PODS_ROOT}/../../node_modules/realm/vendor/realm-ios\"",
|
"\"${PODS_ROOT}/../../node_modules/realm/vendor/realm-ios\"",
|
||||||
@@ -915,10 +763,7 @@
|
|||||||
DEVELOPMENT_TEAM = 6AD72X6W26;
|
DEVELOPMENT_TEAM = 6AD72X6W26;
|
||||||
ENABLE_BITCODE = "$(inherited)";
|
ENABLE_BITCODE = "$(inherited)";
|
||||||
EXCLUDED_ARCHS = "";
|
EXCLUDED_ARCHS = "";
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
|
||||||
"$(inherited)",
|
|
||||||
"\"../node_modules/nodejs-mobile-react-native/ios\"",
|
|
||||||
);
|
|
||||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||||
"COCOAPODS=1",
|
"COCOAPODS=1",
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
@@ -931,7 +776,6 @@
|
|||||||
"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker",
|
"$(SRCROOT)/../node_modules/react-native-document-picker/ios/RNDocumentPicker",
|
||||||
"$(SRCROOT)/../node_modules/react-native-fs/**",
|
"$(SRCROOT)/../node_modules/react-native-fs/**",
|
||||||
"$(SRCROOT)/../node_modules/react-native-restart/ios/RCTRestart/**",
|
"$(SRCROOT)/../node_modules/react-native-restart/ios/RCTRestart/**",
|
||||||
"$(SRCROOT)/../node_modules/nodejs-mobile-react-native/ios/**",
|
|
||||||
"$(SRCROOT)/../node_modules/@react-native-community/push-notification-ios/ios",
|
"$(SRCROOT)/../node_modules/@react-native-community/push-notification-ios/ios",
|
||||||
"$(SRCROOT)/../node_modules/realm/src/**",
|
"$(SRCROOT)/../node_modules/realm/src/**",
|
||||||
);
|
);
|
||||||
@@ -966,7 +810,6 @@
|
|||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/RealmJS\"",
|
"\"${PODS_CONFIGURATION_BUILD_DIR}/RealmJS\"",
|
||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"",
|
"\"${PODS_CONFIGURATION_BUILD_DIR}/Yoga\"",
|
||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"",
|
"\"${PODS_CONFIGURATION_BUILD_DIR}/glog\"",
|
||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/nodejs-mobile-react-native\"",
|
|
||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-document-picker\"",
|
"\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-document-picker\"",
|
||||||
"\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-restart\"",
|
"\"${PODS_CONFIGURATION_BUILD_DIR}/react-native-restart\"",
|
||||||
"\"${PODS_ROOT}/../../node_modules/realm/vendor/realm-ios\"",
|
"\"${PODS_ROOT}/../../node_modules/realm/vendor/realm-ios\"",
|
||||||
|
|||||||
+23
-3
@@ -3,6 +3,8 @@ import { getCycleLengthStats } from './cycle-length'
|
|||||||
const LocalDate = joda.LocalDate
|
const LocalDate = joda.LocalDate
|
||||||
const DAYS = joda.ChronoUnit.DAYS
|
const DAYS = joda.ChronoUnit.DAYS
|
||||||
|
|
||||||
|
const toJSON = (realmObj) => JSON.parse(JSON.stringify(realmObj))
|
||||||
|
|
||||||
export default function config(opts) {
|
export default function config(opts) {
|
||||||
let bleedingDaysSortedByDate
|
let bleedingDaysSortedByDate
|
||||||
let cycleStartsSortedByDate
|
let cycleStartsSortedByDate
|
||||||
@@ -14,9 +16,13 @@ export default function config(opts) {
|
|||||||
if (!opts) {
|
if (!opts) {
|
||||||
// we only want to require (and run) the db module
|
// we only want to require (and run) the db module
|
||||||
// when not running the tests
|
// when not running the tests
|
||||||
bleedingDaysSortedByDate = require('../db').getBleedingDaysSortedByDate()
|
bleedingDaysSortedByDate = toJSON(
|
||||||
cycleStartsSortedByDate = require('../db').getCycleStartsSortedByDate()
|
require('../db').getBleedingDaysSortedByDate()
|
||||||
cycleDaysSortedByDate = require('../db').getCycleDaysSortedByDate()
|
)
|
||||||
|
cycleStartsSortedByDate = toJSON(
|
||||||
|
require('../db').getCycleStartsSortedByDate()
|
||||||
|
)
|
||||||
|
cycleDaysSortedByDate = toJSON(require('../db').getCycleDaysSortedByDate())
|
||||||
maxBreakInBleeding = 1
|
maxBreakInBleeding = 1
|
||||||
maxCycleLength = 99
|
maxCycleLength = 99
|
||||||
minCyclesForPrediction = 3
|
minCyclesForPrediction = 3
|
||||||
@@ -222,6 +228,19 @@ export default function config(opts) {
|
|||||||
return predictedMenses
|
return predictedMenses
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const getStats = () =>
|
||||||
|
cycleStartsSortedByDate.map((day, i) => {
|
||||||
|
const today = getTodayDate()
|
||||||
|
const cycleLength =
|
||||||
|
i === 0 ? getCycleDayNumber(today) : getAllCycleLengths()[i - 1]
|
||||||
|
|
||||||
|
return {
|
||||||
|
date: day.date,
|
||||||
|
cycleLength,
|
||||||
|
bleedingLength: ++getMensesDaysRightAfter(day).length,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
getCycleDayNumber,
|
getCycleDayNumber,
|
||||||
getCycleForDay,
|
getCycleForDay,
|
||||||
@@ -232,5 +251,6 @@ export default function config(opts) {
|
|||||||
isMensesStart,
|
isMensesStart,
|
||||||
getMensesDaysRightAfter,
|
getMensesDaysRightAfter,
|
||||||
getCycleByStartDay,
|
getCycleByStartDay,
|
||||||
|
getStats,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,16 +11,15 @@ import { getBleedingDaysSortedByDate } from '../db'
|
|||||||
import cycleModule from './cycle'
|
import cycleModule from './cycle'
|
||||||
import nothingChanged from '../db/db-unchanged'
|
import nothingChanged from '../db/db-unchanged'
|
||||||
|
|
||||||
export default function setupNotifications(navigate, setDate) {
|
export default function setupNotifications(navigation) {
|
||||||
Notification.configure({
|
Notification.configure({
|
||||||
onNotification: (notification) => {
|
onNotification: (notification) => {
|
||||||
|
const date = LocalDate.now().toString()
|
||||||
// https://github.com/zo0r/react-native-push-notification/issues/966#issuecomment-479069106
|
// https://github.com/zo0r/react-native-push-notification/issues/966#issuecomment-479069106
|
||||||
if (notification.data?.id === '1' || notification.id === '1') {
|
if (notification.data?.id === '1' || notification.id === '1') {
|
||||||
const todayDate = LocalDate.now().toString()
|
navigation.navigate('TemperatureEditView', { date })
|
||||||
setDate(todayDate)
|
|
||||||
navigate('TemperatureEditView')
|
|
||||||
} else {
|
} else {
|
||||||
navigate('Home')
|
navigation.navigate('Home', { date })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
// too see stdout / stderr from this process, run
|
|
||||||
// adb logcat | grep "NODEJS-MOBILE"
|
|
||||||
const rnBridge = require('rn-bridge')
|
|
||||||
const crypto = require('crypto')
|
|
||||||
|
|
||||||
rnBridge.channel.on('request-SHA512', (msg) => {
|
|
||||||
msg = JSON.parse(msg)
|
|
||||||
const hash = crypto.createHash('sha512')
|
|
||||||
hash.update(msg.message)
|
|
||||||
const result = hash.digest('hex')
|
|
||||||
rnBridge.channel.post(msg.type, result)
|
|
||||||
})
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"dependencies": {},
|
|
||||||
"main": "main.js"
|
|
||||||
}
|
|
||||||
+9
-3
@@ -35,10 +35,14 @@
|
|||||||
"@react-native-community/art": "^1.2.0",
|
"@react-native-community/art": "^1.2.0",
|
||||||
"@react-native-community/datetimepicker": "^6.3.1",
|
"@react-native-community/datetimepicker": "^6.3.1",
|
||||||
"@react-native-community/push-notification-ios": "^1.8.0",
|
"@react-native-community/push-notification-ios": "^1.8.0",
|
||||||
|
"@react-navigation/bottom-tabs": "^6.4.0",
|
||||||
|
"@react-navigation/native": "^6.0.13",
|
||||||
|
"@react-navigation/native-stack": "^6.9.0",
|
||||||
|
"@react-navigation/stack": "^6.3.1",
|
||||||
"csvtojson": "^2.0.8",
|
"csvtojson": "^2.0.8",
|
||||||
"i18next": "^21.9.0",
|
"i18next": "^21.9.0",
|
||||||
|
"jshashes": "^1.0.8",
|
||||||
"moment": "^2.29.4",
|
"moment": "^2.29.4",
|
||||||
"nodejs-mobile-react-native": "^0.8.2",
|
|
||||||
"object-path": "^0.11.4",
|
"object-path": "^0.11.4",
|
||||||
"obv": "0.0.1",
|
"obv": "0.0.1",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
@@ -48,9 +52,11 @@
|
|||||||
"react-native-calendars": "^1.1287.0",
|
"react-native-calendars": "^1.1287.0",
|
||||||
"react-native-document-picker": "^8.1.1",
|
"react-native-document-picker": "^8.1.1",
|
||||||
"react-native-fs": "^2.20.0",
|
"react-native-fs": "^2.20.0",
|
||||||
"react-native-hyperlink": "0.0.19",
|
"react-native-gesture-handler": "^2.6.2",
|
||||||
"react-native-modal-datetime-picker": "14.0.0",
|
"react-native-modal-datetime-picker": "14.0.0",
|
||||||
"react-native-push-notification": "3.2.1",
|
"react-native-push-notification": "3.2.1",
|
||||||
|
"react-native-safe-area-context": "^4.3.4",
|
||||||
|
"react-native-screens": "^3.17.0",
|
||||||
"react-native-share": "^7.9.0",
|
"react-native-share": "^7.9.0",
|
||||||
"react-native-simple-toast": "^1.1.3",
|
"react-native-simple-toast": "^1.1.3",
|
||||||
"react-native-size-matters": "^0.4.0",
|
"react-native-size-matters": "^0.4.0",
|
||||||
@@ -60,7 +66,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.12.9",
|
"@babel/core": "^7.12.9",
|
||||||
"@babel/eslint-parser": "^7.16.3",
|
"@babel/eslint-parser": "^7.19.1",
|
||||||
"@babel/preset-react": "^7.16.0",
|
"@babel/preset-react": "^7.16.0",
|
||||||
"@babel/runtime": "^7.12.5",
|
"@babel/runtime": "^7.12.5",
|
||||||
"@testing-library/jest-native": "^4.0.12",
|
"@testing-library/jest-native": "^4.0.12",
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
// https://github.com/janeasystems/nodejs-mobile-react-native#duplicate-module-name
|
|
||||||
|
|
||||||
const blacklist = require('metro-config/src/defaults/blacklist')
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
resolver:{
|
|
||||||
blacklistRE: blacklist([
|
|
||||||
/nodejs-assets\/.*/,
|
|
||||||
/android\/.*/,
|
|
||||||
/ios\/.*/
|
|
||||||
])
|
|
||||||
},
|
|
||||||
}
|
|
||||||
+14
-6
@@ -9,7 +9,7 @@ export default {
|
|||||||
marginTop: Spacing.small,
|
marginTop: Spacing.small,
|
||||||
marginRight: Spacing.small,
|
marginRight: Spacing.small,
|
||||||
paddingHorizontal: Spacing.small,
|
paddingHorizontal: Spacing.small,
|
||||||
paddingVertical: Spacing.tiny
|
paddingVertical: Spacing.tiny,
|
||||||
},
|
},
|
||||||
boxActive: {
|
boxActive: {
|
||||||
backgroundColor: Colors.orange,
|
backgroundColor: Colors.orange,
|
||||||
@@ -17,17 +17,25 @@ export default {
|
|||||||
centerItems: {
|
centerItems: {
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
flex: 1,
|
flex: 1,
|
||||||
justifyContent: 'center'
|
justifyContent: 'center',
|
||||||
|
},
|
||||||
|
pageContainer: {
|
||||||
|
backgroundColor: Colors.turquoiseLight,
|
||||||
|
flex: 1,
|
||||||
},
|
},
|
||||||
rowContainer: {
|
rowContainer: {
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
justifyContent: 'space-between'
|
justifyContent: 'space-between',
|
||||||
},
|
},
|
||||||
selectGroupContainer: {
|
selectGroupContainer: {
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
flexWrap: 'wrap',
|
flexWrap: 'wrap',
|
||||||
marginVertical: Spacing.small
|
marginVertical: Spacing.small,
|
||||||
}
|
},
|
||||||
}
|
segmentContainer: {
|
||||||
|
marginHorizontal: Spacing.base,
|
||||||
|
marginBottom: Spacing.base,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import { render, screen, fireEvent } from '@testing-library/react-native'
|
||||||
|
import AcceptLicense from '../components/AcceptLicense'
|
||||||
|
|
||||||
|
import { saveLicenseFlag } from '../local-storage'
|
||||||
|
|
||||||
|
jest.mock('../local-storage', () => ({
|
||||||
|
saveLicenseFlag: jest.fn(() => Promise.resolve()),
|
||||||
|
}))
|
||||||
|
|
||||||
|
jest.mock('react-i18next', () => ({
|
||||||
|
useTranslation: () => ({
|
||||||
|
t: (str, options) => {
|
||||||
|
return str + (options ? JSON.stringify(options) : '')
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
}))
|
||||||
|
|
||||||
|
describe('AcceptLicense', () => {
|
||||||
|
test('On clicking OK button, the license is accepted', async () => {
|
||||||
|
const mockedSetLicense = jest.fn()
|
||||||
|
render(<AcceptLicense setLicense={mockedSetLicense} />)
|
||||||
|
|
||||||
|
const okButton = screen.getByText('ok', { exact: false })
|
||||||
|
|
||||||
|
fireEvent(okButton, 'click')
|
||||||
|
|
||||||
|
await expect(saveLicenseFlag).toHaveBeenCalled()
|
||||||
|
expect(mockedSetLicense).toHaveBeenCalled()
|
||||||
|
})
|
||||||
|
|
||||||
|
test('There is a Cancel button', async () => {
|
||||||
|
render(<AcceptLicense setLicense={jest.fn()} />)
|
||||||
|
|
||||||
|
screen.getByText('cancel', { exact: false })
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import { render, screen } from '@testing-library/react-native'
|
||||||
|
import License from '../components/settings/License'
|
||||||
|
|
||||||
|
jest.mock('react-i18next', () => ({
|
||||||
|
useTranslation: () => ({
|
||||||
|
t: (str, options) => {
|
||||||
|
return str + (options ? JSON.stringify(options) : '')
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
}))
|
||||||
|
|
||||||
|
describe('License screen', () => {
|
||||||
|
test('It should have a correct year', async () => {
|
||||||
|
render(<License />)
|
||||||
|
const year = new Date().getFullYear().toString()
|
||||||
|
|
||||||
|
screen.getByText(year, { exact: false })
|
||||||
|
})
|
||||||
|
|
||||||
|
test('It should match the snapshot', async () => {
|
||||||
|
const licenseScreen = render(<License />)
|
||||||
|
|
||||||
|
expect(licenseScreen).toMatchSnapshot()
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`License screen It should match the snapshot 1`] = `
|
||||||
|
<View
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"backgroundColor": "#E9F2ED",
|
||||||
|
"flex": 1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<RCTScrollView
|
||||||
|
contentContainerStyle={
|
||||||
|
Array [
|
||||||
|
Object {
|
||||||
|
"backgroundColor": "#E9F2ED",
|
||||||
|
"flexGrow": 1,
|
||||||
|
},
|
||||||
|
undefined,
|
||||||
|
]
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<View>
|
||||||
|
<Text
|
||||||
|
style={
|
||||||
|
Array [
|
||||||
|
Object {
|
||||||
|
"color": "#555",
|
||||||
|
"fontFamily": "Jost-Book",
|
||||||
|
"fontSize": 34.285714285714285,
|
||||||
|
},
|
||||||
|
Object {
|
||||||
|
"alignSelf": "center",
|
||||||
|
"color": "#3A2671",
|
||||||
|
"fontFamily": "Jost-Bold",
|
||||||
|
"fontSize": 51.42857142857143,
|
||||||
|
"fontWeight": "700",
|
||||||
|
"marginHorizontal": 34.285714285714285,
|
||||||
|
"marginVertical": 42.857142857142854,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
>
|
||||||
|
title
|
||||||
|
</Text>
|
||||||
|
<View
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"marginBottom": 34.285714285714285,
|
||||||
|
"marginHorizontal": 34.285714285714285,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<Text
|
||||||
|
style={
|
||||||
|
Array [
|
||||||
|
Object {
|
||||||
|
"color": "#555",
|
||||||
|
"fontFamily": "Jost-Book",
|
||||||
|
"fontSize": 34.285714285714285,
|
||||||
|
},
|
||||||
|
undefined,
|
||||||
|
]
|
||||||
|
}
|
||||||
|
>
|
||||||
|
text{"currentYear":2022}
|
||||||
|
</Text>
|
||||||
|
<Text
|
||||||
|
onPress={[Function]}
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"color": "#3A2671",
|
||||||
|
"fontFamily": "Jost-Book",
|
||||||
|
"fontSize": 34.285714285714285,
|
||||||
|
"textDecorationLine": "underline",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
>
|
||||||
|
https://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
</Text>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
</RCTScrollView>
|
||||||
|
</View>
|
||||||
|
`;
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
import React from 'react'
|
||||||
|
import { render } from '@testing-library/react-native'
|
||||||
|
|
||||||
|
import Footnote from '../../../components/common/Footnote'
|
||||||
|
|
||||||
|
describe('Footnote component', () => {
|
||||||
|
test('when children are present, renders them', () => {
|
||||||
|
const text = 'Some footnote text'
|
||||||
|
const { toJSON } = render(<Footnote>{text}</Footnote>)
|
||||||
|
|
||||||
|
expect(toJSON()).toMatchSnapshot()
|
||||||
|
})
|
||||||
|
|
||||||
|
test('when no children, renders nothing', () => {
|
||||||
|
const { toJSON } = render(<Footnote></Footnote>)
|
||||||
|
|
||||||
|
expect(toJSON()).toMatchSnapshot()
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`Footnote component when children are present, renders them 1`] = `
|
||||||
|
<View
|
||||||
|
style={
|
||||||
|
Object {
|
||||||
|
"alignContent": "flex-start",
|
||||||
|
"flexDirection": "row",
|
||||||
|
"marginBottom": 8.571428571428571,
|
||||||
|
"marginTop": 34.285714285714285,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
>
|
||||||
|
<Text
|
||||||
|
style={
|
||||||
|
Array [
|
||||||
|
Object {
|
||||||
|
"color": "#555",
|
||||||
|
"fontFamily": "Jost-Book",
|
||||||
|
"fontSize": 34.285714285714285,
|
||||||
|
},
|
||||||
|
Object {
|
||||||
|
"color": "#F38337",
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
>
|
||||||
|
*
|
||||||
|
</Text>
|
||||||
|
<Text
|
||||||
|
linkStyle={
|
||||||
|
Object {
|
||||||
|
"color": "white",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
style={
|
||||||
|
Array [
|
||||||
|
Object {
|
||||||
|
"color": "#555",
|
||||||
|
"fontFamily": "Jost-Book",
|
||||||
|
"fontSize": 34.285714285714285,
|
||||||
|
},
|
||||||
|
Object {
|
||||||
|
"color": "#555",
|
||||||
|
"paddingLeft": 21.428571428571427,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
>
|
||||||
|
Some footnote text
|
||||||
|
</Text>
|
||||||
|
</View>
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`Footnote component when no children, renders nothing 1`] = `null`;
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
import { humanizeDate } from '../../components/helpers/format-date'
|
||||||
|
|
||||||
|
describe('humanizeDate', () => {
|
||||||
|
test('if receives null, returns empty string', () => {
|
||||||
|
const result = humanizeDate(null)
|
||||||
|
|
||||||
|
expect(result).toEqual('')
|
||||||
|
})
|
||||||
|
|
||||||
|
test('if receives undefined, returns empty string', () => {
|
||||||
|
const result = humanizeDate(undefined)
|
||||||
|
|
||||||
|
expect(result).toEqual('')
|
||||||
|
})
|
||||||
|
|
||||||
|
test('if receives incorrectly formatted date, returns empty string', () => {
|
||||||
|
const result = humanizeDate('abc')
|
||||||
|
|
||||||
|
expect(result).toEqual('')
|
||||||
|
})
|
||||||
|
|
||||||
|
test('if receives correct date string, returns date in humanized format', () => {
|
||||||
|
const result = humanizeDate('2022-01-07')
|
||||||
|
|
||||||
|
expect(result).toEqual('07. Jan 22')
|
||||||
|
})
|
||||||
|
})
|
||||||
@@ -102,12 +102,12 @@
|
|||||||
json5 "^2.2.1"
|
json5 "^2.2.1"
|
||||||
semver "^6.3.0"
|
semver "^6.3.0"
|
||||||
|
|
||||||
"@babel/eslint-parser@^7.16.3":
|
"@babel/eslint-parser@^7.19.1":
|
||||||
version "7.16.3"
|
version "7.19.1"
|
||||||
resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.16.3.tgz#2a6b1702f3f5aea48e00cea5a5bcc241c437e459"
|
resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.19.1.tgz#4f68f6b0825489e00a24b41b6a1ae35414ecd2f4"
|
||||||
integrity sha512-iB4ElZT0jAt7PKVaeVulOECdGe6UnmA/O0P9jlF5g5GBOwDVbna8AXhHRu4s27xQf6OkveyA8iTDv1jHdDejgQ==
|
integrity sha512-AqNf2QWt1rtu2/1rLswy6CDP7H9Oh3mMhk177Y67Rg8d7RD9WfOLLv8CGn6tisFvS2htm86yIe1yLF6I1UDaGQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint-scope "^5.1.1"
|
"@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1"
|
||||||
eslint-visitor-keys "^2.1.0"
|
eslint-visitor-keys "^2.1.0"
|
||||||
semver "^6.3.0"
|
semver "^6.3.0"
|
||||||
|
|
||||||
@@ -1197,6 +1197,13 @@
|
|||||||
exec-sh "^0.3.2"
|
exec-sh "^0.3.2"
|
||||||
minimist "^1.2.0"
|
minimist "^1.2.0"
|
||||||
|
|
||||||
|
"@egjs/hammerjs@^2.0.17":
|
||||||
|
version "2.0.17"
|
||||||
|
resolved "https://registry.yarnpkg.com/@egjs/hammerjs/-/hammerjs-2.0.17.tgz#5dc02af75a6a06e4c2db0202cae38c9263895124"
|
||||||
|
integrity sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A==
|
||||||
|
dependencies:
|
||||||
|
"@types/hammerjs" "^2.0.36"
|
||||||
|
|
||||||
"@eslint/eslintrc@^0.2.1":
|
"@eslint/eslintrc@^0.2.1":
|
||||||
version "0.2.2"
|
version "0.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.2.2.tgz#d01fc791e2fc33e88a29d6f3dc7e93d0cd784b76"
|
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.2.2.tgz#d01fc791e2fc33e88a29d6f3dc7e93d0cd784b76"
|
||||||
@@ -1515,6 +1522,13 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@js-joda/core/-/core-5.3.0.tgz#b6f01fa510c9d360134a77f7a2820bdca3a396bf"
|
resolved "https://registry.yarnpkg.com/@js-joda/core/-/core-5.3.0.tgz#b6f01fa510c9d360134a77f7a2820bdca3a396bf"
|
||||||
integrity sha512-3uObVJ08i0vSbtsTWQ8omy8XUlVDnoest5MOLp6delLUZev8bu++S+3Aua7xWPPWzQt9pcuwDqjEOKslQVDj8g==
|
integrity sha512-3uObVJ08i0vSbtsTWQ8omy8XUlVDnoest5MOLp6delLUZev8bu++S+3Aua7xWPPWzQt9pcuwDqjEOKslQVDj8g==
|
||||||
|
|
||||||
|
"@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1":
|
||||||
|
version "5.1.1-v1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz#dbf733a965ca47b1973177dc0bb6c889edcfb129"
|
||||||
|
integrity sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==
|
||||||
|
dependencies:
|
||||||
|
eslint-scope "5.1.1"
|
||||||
|
|
||||||
"@ptomasroos/react-native-multi-slider@^2.2.0":
|
"@ptomasroos/react-native-multi-slider@^2.2.0":
|
||||||
version "2.2.2"
|
version "2.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/@ptomasroos/react-native-multi-slider/-/react-native-multi-slider-2.2.2.tgz#35a97fb8c355627c6a2ded010b360ac5728b44ad"
|
resolved "https://registry.yarnpkg.com/@ptomasroos/react-native-multi-slider/-/react-native-multi-slider-2.2.2.tgz#35a97fb8c355627c6a2ded010b360ac5728b44ad"
|
||||||
@@ -1702,6 +1716,66 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@react-native/polyfills/-/polyfills-2.0.0.tgz#4c40b74655c83982c8cf47530ee7dc13d957b6aa"
|
resolved "https://registry.yarnpkg.com/@react-native/polyfills/-/polyfills-2.0.0.tgz#4c40b74655c83982c8cf47530ee7dc13d957b6aa"
|
||||||
integrity sha512-K0aGNn1TjalKj+65D7ycc1//H9roAQ51GJVk5ZJQFb2teECGmzd86bYDC0aYdbRf7gtovescq4Zt6FR0tgXiHQ==
|
integrity sha512-K0aGNn1TjalKj+65D7ycc1//H9roAQ51GJVk5ZJQFb2teECGmzd86bYDC0aYdbRf7gtovescq4Zt6FR0tgXiHQ==
|
||||||
|
|
||||||
|
"@react-navigation/bottom-tabs@^6.4.0":
|
||||||
|
version "6.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@react-navigation/bottom-tabs/-/bottom-tabs-6.4.0.tgz#63743874648f92adedf37186cb7cedcd47826ee9"
|
||||||
|
integrity sha512-90CapiXjiWudbCiki9e6fOr/CECQRguIxv5OD7IBfbAMGX5GGiJpX8aqiHAz2DxpAz31v4JZcUr945+lFhXBfA==
|
||||||
|
dependencies:
|
||||||
|
"@react-navigation/elements" "^1.3.6"
|
||||||
|
color "^4.2.3"
|
||||||
|
warn-once "^0.1.0"
|
||||||
|
|
||||||
|
"@react-navigation/core@^6.4.0":
|
||||||
|
version "6.4.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-6.4.0.tgz#c44d33a8d8ef010a102c7f831fc8add772678509"
|
||||||
|
integrity sha512-tpc0Ak/DiHfU3LlYaRmIY7vI4sM/Ru0xCet6runLUh9aABf4wiLgxyFJ5BtoWq6xFF8ymYEA/KWtDhetQ24YiA==
|
||||||
|
dependencies:
|
||||||
|
"@react-navigation/routers" "^6.1.3"
|
||||||
|
escape-string-regexp "^4.0.0"
|
||||||
|
nanoid "^3.1.23"
|
||||||
|
query-string "^7.0.0"
|
||||||
|
react-is "^16.13.0"
|
||||||
|
use-latest-callback "^0.1.5"
|
||||||
|
|
||||||
|
"@react-navigation/elements@^1.3.6":
|
||||||
|
version "1.3.6"
|
||||||
|
resolved "https://registry.yarnpkg.com/@react-navigation/elements/-/elements-1.3.6.tgz#fa700318528db93f05144b1be4b691b9c1dd1abe"
|
||||||
|
integrity sha512-pNJ8R9JMga6SXOw6wGVN0tjmE6vegwPmJBL45SEMX2fqTfAk2ykDnlJHodRpHpAgsv0DaI8qX76z3A+aqKSU0w==
|
||||||
|
|
||||||
|
"@react-navigation/native-stack@^6.9.0":
|
||||||
|
version "6.9.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/@react-navigation/native-stack/-/native-stack-6.9.0.tgz#1e79e06da8b81f0368d3709aedca269947da3649"
|
||||||
|
integrity sha512-cwqm/2GO0hf94OFRuH6R0beZPVKY4vMFxrdAPaDwwoukN5a0UgcsMYxrN8s2huwssTCuGScABFME9GnqG5hC5w==
|
||||||
|
dependencies:
|
||||||
|
"@react-navigation/elements" "^1.3.6"
|
||||||
|
warn-once "^0.1.0"
|
||||||
|
|
||||||
|
"@react-navigation/native@^6.0.13":
|
||||||
|
version "6.0.13"
|
||||||
|
resolved "https://registry.yarnpkg.com/@react-navigation/native/-/native-6.0.13.tgz#ec504120e193ea6a7f24ffa765a1338be5a3160a"
|
||||||
|
integrity sha512-CwaJcAGbhv3p3ECablxBkw8QBCGDWXqVRwQ4QbelajNW623m3sNTC9dOF6kjp8au6Rg9B5e0KmeuY0xWbPk79A==
|
||||||
|
dependencies:
|
||||||
|
"@react-navigation/core" "^6.4.0"
|
||||||
|
escape-string-regexp "^4.0.0"
|
||||||
|
fast-deep-equal "^3.1.3"
|
||||||
|
nanoid "^3.1.23"
|
||||||
|
|
||||||
|
"@react-navigation/routers@^6.1.3":
|
||||||
|
version "6.1.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/@react-navigation/routers/-/routers-6.1.3.tgz#1df51959e9a67c44367462e8b929b7360a5d2555"
|
||||||
|
integrity sha512-idJotMEzHc3haWsCh7EvnnZMKxvaS4YF/x2UyFBkNFiEFUaEo/1ioQU6qqmVLspdEv4bI/dLm97hQo7qD8Yl7Q==
|
||||||
|
dependencies:
|
||||||
|
nanoid "^3.1.23"
|
||||||
|
|
||||||
|
"@react-navigation/stack@^6.3.1":
|
||||||
|
version "6.3.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@react-navigation/stack/-/stack-6.3.1.tgz#71f53d7598332765da08f78b56aeae245cc98cb6"
|
||||||
|
integrity sha512-WkURDiSip8QpB+cuEbp5GfDPDGxER7w7ooJVgG3J2nJNnYuKxsZR7qnlqWL2vjQW81NzKQpT7xrCADy+mfvIiQ==
|
||||||
|
dependencies:
|
||||||
|
"@react-navigation/elements" "^1.3.6"
|
||||||
|
color "^4.2.3"
|
||||||
|
warn-once "^0.1.0"
|
||||||
|
|
||||||
"@realm.io/common@^0.1.1":
|
"@realm.io/common@^0.1.1":
|
||||||
version "0.1.1"
|
version "0.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/@realm.io/common/-/common-0.1.1.tgz#2950846cbedd14bdfdc1175d7c3119c3469547b0"
|
resolved "https://registry.yarnpkg.com/@realm.io/common/-/common-0.1.1.tgz#2950846cbedd14bdfdc1175d7c3119c3469547b0"
|
||||||
@@ -1801,6 +1875,11 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
|
"@types/hammerjs@^2.0.36":
|
||||||
|
version "2.0.41"
|
||||||
|
resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.41.tgz#f6ecf57d1b12d2befcce00e928a6a097c22980aa"
|
||||||
|
integrity sha512-ewXv/ceBaJprikMcxCmWU1FKyMAQ2X7a9Gtmzw8fcg2kIePI1crERDM818W+XYrxqdBBOdlf2rm137bU+BltCA==
|
||||||
|
|
||||||
"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1":
|
"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1":
|
||||||
version "2.0.3"
|
version "2.0.3"
|
||||||
resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762"
|
resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762"
|
||||||
@@ -2651,7 +2730,7 @@ character-reference-invalid@^1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560"
|
resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560"
|
||||||
integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==
|
integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==
|
||||||
|
|
||||||
chownr@^1.1.1, chownr@^1.1.4:
|
chownr@^1.1.1:
|
||||||
version "1.1.4"
|
version "1.1.4"
|
||||||
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
|
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
|
||||||
integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==
|
integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==
|
||||||
@@ -2786,11 +2865,27 @@ color-name@1.1.3:
|
|||||||
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
|
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
|
||||||
integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==
|
integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==
|
||||||
|
|
||||||
color-name@~1.1.4:
|
color-name@^1.0.0, color-name@~1.1.4:
|
||||||
version "1.1.4"
|
version "1.1.4"
|
||||||
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
|
||||||
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
|
||||||
|
|
||||||
|
color-string@^1.9.0:
|
||||||
|
version "1.9.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.1.tgz#4467f9146f036f855b764dfb5bf8582bf342c7a4"
|
||||||
|
integrity sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==
|
||||||
|
dependencies:
|
||||||
|
color-name "^1.0.0"
|
||||||
|
simple-swizzle "^0.2.2"
|
||||||
|
|
||||||
|
color@^4.2.3:
|
||||||
|
version "4.2.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/color/-/color-4.2.3.tgz#d781ecb5e57224ee43ea9627560107c0e0c6463a"
|
||||||
|
integrity sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==
|
||||||
|
dependencies:
|
||||||
|
color-convert "^2.0.1"
|
||||||
|
color-string "^1.9.0"
|
||||||
|
|
||||||
colorette@^1.0.7, colorette@^1.3.0:
|
colorette@^1.0.7, colorette@^1.3.0:
|
||||||
version "1.4.0"
|
version "1.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40"
|
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.4.0.tgz#5190fbb87276259a86ad700bff2c6d6faa3fca40"
|
||||||
@@ -3385,6 +3480,11 @@ escape-string-regexp@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344"
|
||||||
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
|
integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==
|
||||||
|
|
||||||
|
escape-string-regexp@^4.0.0:
|
||||||
|
version "4.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
|
||||||
|
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
|
||||||
|
|
||||||
eslint-plugin-react@^7.8.2:
|
eslint-plugin-react@^7.8.2:
|
||||||
version "7.25.2"
|
version "7.25.2"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.25.2.tgz#d567a217d306b76dd110561f28074e2328ae38f8"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.25.2.tgz#d567a217d306b76dd110561f28074e2328ae38f8"
|
||||||
@@ -3404,7 +3504,7 @@ eslint-plugin-react@^7.8.2:
|
|||||||
resolve "^2.0.0-next.3"
|
resolve "^2.0.0-next.3"
|
||||||
string.prototype.matchall "^4.0.5"
|
string.prototype.matchall "^4.0.5"
|
||||||
|
|
||||||
eslint-scope@^5.1.1:
|
eslint-scope@5.1.1, eslint-scope@^5.1.1:
|
||||||
version "5.1.1"
|
version "5.1.1"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
|
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
|
||||||
integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==
|
integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==
|
||||||
@@ -3646,7 +3746,7 @@ extsprintf@1.3.0, extsprintf@^1.2.0:
|
|||||||
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
|
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
|
||||||
integrity sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==
|
integrity sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==
|
||||||
|
|
||||||
fast-deep-equal@^3.1.1:
|
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
|
||||||
version "3.1.3"
|
version "3.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
||||||
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
||||||
@@ -3710,6 +3810,11 @@ fill-range@^7.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
to-regex-range "^5.0.1"
|
to-regex-range "^5.0.1"
|
||||||
|
|
||||||
|
filter-obj@^1.1.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b"
|
||||||
|
integrity sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==
|
||||||
|
|
||||||
finalhandler@1.1.2:
|
finalhandler@1.1.2:
|
||||||
version "1.1.2"
|
version "1.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d"
|
resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d"
|
||||||
@@ -3848,13 +3953,6 @@ fs-extra@^8.1.0:
|
|||||||
jsonfile "^4.0.0"
|
jsonfile "^4.0.0"
|
||||||
universalify "^0.1.0"
|
universalify "^0.1.0"
|
||||||
|
|
||||||
fs-minipass@^1.2.7:
|
|
||||||
version "1.2.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7"
|
|
||||||
integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==
|
|
||||||
dependencies:
|
|
||||||
minipass "^2.6.0"
|
|
||||||
|
|
||||||
fs-minipass@^2.0.0:
|
fs-minipass@^2.0.0:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb"
|
resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb"
|
||||||
@@ -3994,7 +4092,7 @@ glob-parent@^5.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
is-glob "^4.0.1"
|
is-glob "^4.0.1"
|
||||||
|
|
||||||
glob@^7.0.0, glob@^7.0.3, glob@^7.1.3, glob@^7.1.4:
|
glob@^7.0.0, glob@^7.1.3, glob@^7.1.4:
|
||||||
version "7.1.7"
|
version "7.1.7"
|
||||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
|
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
|
||||||
integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==
|
integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==
|
||||||
@@ -4145,7 +4243,7 @@ hermes-profile-transformer@^0.0.6:
|
|||||||
dependencies:
|
dependencies:
|
||||||
source-map "^0.7.3"
|
source-map "^0.7.3"
|
||||||
|
|
||||||
hoist-non-react-statics@^3.3.1:
|
hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.1:
|
||||||
version "3.3.2"
|
version "3.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
|
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
|
||||||
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
|
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==
|
||||||
@@ -4383,6 +4481,11 @@ is-arrayish@^0.2.1:
|
|||||||
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
|
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
|
||||||
integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==
|
integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==
|
||||||
|
|
||||||
|
is-arrayish@^0.3.1:
|
||||||
|
version "0.3.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03"
|
||||||
|
integrity sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==
|
||||||
|
|
||||||
is-bigint@^1.0.1:
|
is-bigint@^1.0.1:
|
||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3"
|
resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3"
|
||||||
@@ -5296,6 +5399,11 @@ jsesc@~0.5.0:
|
|||||||
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
|
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
|
||||||
integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==
|
integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==
|
||||||
|
|
||||||
|
jshashes@^1.0.8:
|
||||||
|
version "1.0.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/jshashes/-/jshashes-1.0.8.tgz#f60d837428383abf73ab022e1542e6614bd75514"
|
||||||
|
integrity sha512-btmQZ/w1rj8Lb6nEwvhjM7nBYoj54yaEFo2PWh3RkxZ8qNwuvOxvQYN/JxVuwoMmdIluL+XwYVJ+pEEZoSYybQ==
|
||||||
|
|
||||||
json-parse-better-errors@^1.0.1:
|
json-parse-better-errors@^1.0.1:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
|
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
|
||||||
@@ -5429,13 +5537,6 @@ lines-and-columns@^1.1.6:
|
|||||||
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
|
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
|
||||||
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
|
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
|
||||||
|
|
||||||
linkify-it@^2.2.0:
|
|
||||||
version "2.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-2.2.0.tgz#e3b54697e78bf915c70a38acd78fd09e0058b1cf"
|
|
||||||
integrity sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==
|
|
||||||
dependencies:
|
|
||||||
uc.micro "^1.0.1"
|
|
||||||
|
|
||||||
locate-path@^3.0.0:
|
locate-path@^3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e"
|
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e"
|
||||||
@@ -5481,7 +5582,7 @@ lodash@^2.4.1:
|
|||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-2.4.2.tgz#fadd834b9683073da179b3eae6d9c0d15053f73e"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-2.4.2.tgz#fadd834b9683073da179b3eae6d9c0d15053f73e"
|
||||||
integrity sha512-Kak1hi6/hYHGVPmdyiZijoQyz5x2iGVzs6w9GYB/HiXEtylY7tIoYEROMjvM1d9nXJqPOrG2MNPMn01bJ+S0Rw==
|
integrity sha512-Kak1hi6/hYHGVPmdyiZijoQyz5x2iGVzs6w9GYB/HiXEtylY7tIoYEROMjvM1d9nXJqPOrG2MNPMn01bJ+S0Rw==
|
||||||
|
|
||||||
lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.3:
|
lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.17.3:
|
||||||
version "4.17.21"
|
version "4.17.21"
|
||||||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
||||||
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
||||||
@@ -5580,11 +5681,6 @@ mdast-util-compact@^1.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
unist-util-visit "^1.1.0"
|
unist-util-visit "^1.1.0"
|
||||||
|
|
||||||
mdurl@^1.0.0:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
|
|
||||||
integrity sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==
|
|
||||||
|
|
||||||
memoize-one@^5.2.1:
|
memoize-one@^5.2.1:
|
||||||
version "5.2.1"
|
version "5.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.2.1.tgz#8337aa3c4335581839ec01c3d594090cebe8f00e"
|
resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.2.1.tgz#8337aa3c4335581839ec01c3d594090cebe8f00e"
|
||||||
@@ -5968,14 +6064,6 @@ minimist@^1.1.1, minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5:
|
|||||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
||||||
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
||||||
|
|
||||||
minipass@^2.6.0, minipass@^2.9.0:
|
|
||||||
version "2.9.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6"
|
|
||||||
integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==
|
|
||||||
dependencies:
|
|
||||||
safe-buffer "^5.1.2"
|
|
||||||
yallist "^3.0.0"
|
|
||||||
|
|
||||||
minipass@^3.0.0:
|
minipass@^3.0.0:
|
||||||
version "3.1.6"
|
version "3.1.6"
|
||||||
resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.1.6.tgz#3b8150aa688a711a1521af5e8779c1d3bb4f45ee"
|
resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.1.6.tgz#3b8150aa688a711a1521af5e8779c1d3bb4f45ee"
|
||||||
@@ -5983,13 +6071,6 @@ minipass@^3.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
yallist "^4.0.0"
|
yallist "^4.0.0"
|
||||||
|
|
||||||
minizlib@^1.3.3:
|
|
||||||
version "1.3.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d"
|
|
||||||
integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==
|
|
||||||
dependencies:
|
|
||||||
minipass "^2.9.0"
|
|
||||||
|
|
||||||
minizlib@^2.1.1:
|
minizlib@^2.1.1:
|
||||||
version "2.1.2"
|
version "2.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931"
|
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931"
|
||||||
@@ -6011,7 +6092,7 @@ mkdirp-classic@^0.5.2, mkdirp-classic@^0.5.3:
|
|||||||
resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113"
|
resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113"
|
||||||
integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==
|
integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==
|
||||||
|
|
||||||
mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@^0.5.5:
|
mkdirp@^0.5.1:
|
||||||
version "0.5.5"
|
version "0.5.5"
|
||||||
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
|
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def"
|
||||||
integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
|
integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==
|
||||||
@@ -6069,6 +6150,11 @@ multimatch@^4.0.0:
|
|||||||
arrify "^2.0.1"
|
arrify "^2.0.1"
|
||||||
minimatch "^3.0.4"
|
minimatch "^3.0.4"
|
||||||
|
|
||||||
|
nanoid@^3.1.23:
|
||||||
|
version "3.3.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
|
||||||
|
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
|
||||||
|
|
||||||
nanomatch@^1.2.9:
|
nanomatch@^1.2.9:
|
||||||
version "1.2.13"
|
version "1.2.13"
|
||||||
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
|
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
|
||||||
@@ -6096,11 +6182,6 @@ natural-compare@^1.4.0:
|
|||||||
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
|
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
|
||||||
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
|
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
|
||||||
|
|
||||||
ncp@^2.0.0:
|
|
||||||
version "2.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/ncp/-/ncp-2.0.0.tgz#195a21d6c46e361d2fb1281ba38b91e9df7bdbb3"
|
|
||||||
integrity sha512-zIdGUrPRFTUELUvr3Gmc7KZ2Sw/h1PiVM0Af/oHB6zgnV1ikqSfRk+TOufi79aHYCW3NiOXmr1BP5nWbzojLaA==
|
|
||||||
|
|
||||||
negotiator@0.6.3:
|
negotiator@0.6.3:
|
||||||
version "0.6.3"
|
version "0.6.3"
|
||||||
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd"
|
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd"
|
||||||
@@ -6178,40 +6259,6 @@ node-stream-zip@^1.9.1:
|
|||||||
resolved "https://registry.yarnpkg.com/node-stream-zip/-/node-stream-zip-1.15.0.tgz#158adb88ed8004c6c49a396b50a6a5de3bca33ea"
|
resolved "https://registry.yarnpkg.com/node-stream-zip/-/node-stream-zip-1.15.0.tgz#158adb88ed8004c6c49a396b50a6a5de3bca33ea"
|
||||||
integrity sha512-LN4fydt9TqhZhThkZIVQnF9cwjU3qmUH9h78Mx/K7d3VvfRqqwthLwJEUOEL0QPZ0XQmNN7be5Ggit5+4dq3Bw==
|
integrity sha512-LN4fydt9TqhZhThkZIVQnF9cwjU3qmUH9h78Mx/K7d3VvfRqqwthLwJEUOEL0QPZ0XQmNN7be5Ggit5+4dq3Bw==
|
||||||
|
|
||||||
nodejs-mobile-gyp@^0.3.1:
|
|
||||||
version "0.3.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/nodejs-mobile-gyp/-/nodejs-mobile-gyp-0.3.1.tgz#e37357cc74b70a15b57c1ec4bd1d0fdd6b80e1e6"
|
|
||||||
integrity sha512-AcS4xbeWjOIfLQ+xZp0m7zEhd263v33O54OeJz/ObzpqvN1LXoph7ceeTQVrmp1YL0zSoUxX3s8AinotR8OgVg==
|
|
||||||
dependencies:
|
|
||||||
glob "^7.0.3"
|
|
||||||
graceful-fs "^4.1.2"
|
|
||||||
mkdirp "^0.5.0"
|
|
||||||
nopt "2 || 3"
|
|
||||||
npmlog "0 || 1 || 2 || 3 || 4"
|
|
||||||
osenv "0"
|
|
||||||
request "^2.87.0"
|
|
||||||
rimraf "2"
|
|
||||||
semver "~5.3.0"
|
|
||||||
tar "^4.4.8"
|
|
||||||
which "1"
|
|
||||||
|
|
||||||
nodejs-mobile-react-native@^0.8.2:
|
|
||||||
version "0.8.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/nodejs-mobile-react-native/-/nodejs-mobile-react-native-0.8.2.tgz#bf3d18602d970419967212fd9d4a4c28f9953a18"
|
|
||||||
integrity sha512-+W0cYzZdA8SANe0/gi84NyOxoPE7ttwJeGr7r9DZvwek3xhEUhpiUk6JdxgrvjTx+J+jPXBcXbsCuLElp+JxHw==
|
|
||||||
dependencies:
|
|
||||||
mkdirp "^0.5.1"
|
|
||||||
ncp "^2.0.0"
|
|
||||||
nodejs-mobile-gyp "^0.3.1"
|
|
||||||
xcode "^2.0.0"
|
|
||||||
|
|
||||||
"nopt@2 || 3":
|
|
||||||
version "3.0.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9"
|
|
||||||
integrity sha512-4GUt3kSEYmk4ITxzB/b9vaIDfUVWN/Ml1Fwl11IlnIG2iaJ9O6WXZ9SrYM9NLI8OCBieN2Y8SWC2oJV0RQ7qYg==
|
|
||||||
dependencies:
|
|
||||||
abbrev "1"
|
|
||||||
|
|
||||||
nopt@^5.0.0:
|
nopt@^5.0.0:
|
||||||
version "5.0.0"
|
version "5.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88"
|
resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88"
|
||||||
@@ -6245,7 +6292,7 @@ npm-run-path@^4.0.0, npm-run-path@^4.0.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
path-key "^3.0.0"
|
path-key "^3.0.0"
|
||||||
|
|
||||||
"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.1:
|
npmlog@^4.0.1:
|
||||||
version "4.1.2"
|
version "4.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
|
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
|
||||||
integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
|
integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
|
||||||
@@ -6450,24 +6497,11 @@ ora@^3.4.0:
|
|||||||
strip-ansi "^5.2.0"
|
strip-ansi "^5.2.0"
|
||||||
wcwidth "^1.0.1"
|
wcwidth "^1.0.1"
|
||||||
|
|
||||||
os-homedir@^1.0.0:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"
|
|
||||||
integrity sha512-B5JU3cabzk8c67mRRd3ECmROafjYMXbuzlwtqdM8IbS8ktlTix8aFGb2bAGKrSRIlnfKwovGUUr72JUPyOb6kQ==
|
|
||||||
|
|
||||||
os-tmpdir@^1.0.0:
|
os-tmpdir@^1.0.0:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
|
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
|
||||||
integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==
|
integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==
|
||||||
|
|
||||||
osenv@0:
|
|
||||||
version "0.1.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410"
|
|
||||||
integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==
|
|
||||||
dependencies:
|
|
||||||
os-homedir "^1.0.0"
|
|
||||||
os-tmpdir "^1.0.0"
|
|
||||||
|
|
||||||
p-finally@^1.0.0:
|
p-finally@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
|
resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
|
||||||
@@ -6812,6 +6846,16 @@ qs@^6.1.0, qs@~6.5.2:
|
|||||||
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
|
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
|
||||||
integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==
|
integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==
|
||||||
|
|
||||||
|
query-string@^7.0.0:
|
||||||
|
version "7.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/query-string/-/query-string-7.1.1.tgz#754620669db978625a90f635f12617c271a088e1"
|
||||||
|
integrity sha512-MplouLRDHBZSG9z7fpuAAcI7aAYjDLhtsiVZsevsfaHWDS2IDdORKbSd1kWUA+V4zyva/HZoSfpwnYMMQDhb0w==
|
||||||
|
dependencies:
|
||||||
|
decode-uri-component "^0.2.0"
|
||||||
|
filter-obj "^1.1.0"
|
||||||
|
split-on-first "^1.0.0"
|
||||||
|
strict-uri-encode "^2.0.0"
|
||||||
|
|
||||||
querystringify@^2.1.1:
|
querystringify@^2.1.1:
|
||||||
version "2.2.0"
|
version "2.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6"
|
resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6"
|
||||||
@@ -6840,6 +6884,11 @@ react-devtools-core@4.19.1:
|
|||||||
shell-quote "^1.6.1"
|
shell-quote "^1.6.1"
|
||||||
ws "^7"
|
ws "^7"
|
||||||
|
|
||||||
|
react-freeze@^1.0.0:
|
||||||
|
version "1.0.3"
|
||||||
|
resolved "https://registry.yarnpkg.com/react-freeze/-/react-freeze-1.0.3.tgz#5e3ca90e682fed1d73a7cb50c2c7402b3e85618d"
|
||||||
|
integrity sha512-ZnXwLQnGzrDpHBHiC56TXFXvmolPeMjTn1UOm610M4EXGzbEDR7oOIyS2ZiItgbs6eZc4oU/a0hpk8PrcKvv5g==
|
||||||
|
|
||||||
react-i18next@^11.18.3:
|
react-i18next@^11.18.3:
|
||||||
version "11.18.3"
|
version "11.18.3"
|
||||||
resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-11.18.3.tgz#50211810bcc9fdea2d70c8aefdfff5f1eb39a923"
|
resolved "https://registry.yarnpkg.com/react-i18next/-/react-i18next-11.18.3.tgz#50211810bcc9fdea2d70c8aefdfff5f1eb39a923"
|
||||||
@@ -6853,7 +6902,7 @@ react-i18next@^11.18.3:
|
|||||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b"
|
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b"
|
||||||
integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==
|
integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==
|
||||||
|
|
||||||
react-is@^16.13.1, react-is@^16.7.0:
|
react-is@^16.13.0, react-is@^16.13.1, react-is@^16.7.0:
|
||||||
version "16.13.1"
|
version "16.13.1"
|
||||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
|
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
|
||||||
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
|
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
|
||||||
@@ -6903,13 +6952,16 @@ react-native-fs@^2.20.0:
|
|||||||
base-64 "^0.1.0"
|
base-64 "^0.1.0"
|
||||||
utf8 "^3.0.0"
|
utf8 "^3.0.0"
|
||||||
|
|
||||||
react-native-hyperlink@0.0.19:
|
react-native-gesture-handler@^2.6.2:
|
||||||
version "0.0.19"
|
version "2.6.2"
|
||||||
resolved "https://registry.yarnpkg.com/react-native-hyperlink/-/react-native-hyperlink-0.0.19.tgz#ca375cde1d244bb94c551736852ee0d688c8bb1f"
|
resolved "https://registry.yarnpkg.com/react-native-gesture-handler/-/react-native-gesture-handler-2.6.2.tgz#f3b68d374f5dda603ff29f7df2edb39472eb97ce"
|
||||||
integrity sha512-x4wuRGDMnnpWcRr5MCK1D2UcEuzD9IHK8lfjEhO/+QqXNaX31HdeD3ss3BXXZgHxpRYtLbTB0TuFcl1HHANp3w==
|
integrity sha512-Ff/WKlR8KiM1wq7UJZvIyCB+OsweewaeZk+4RDIYNGM9tvNIAXEm/MtYnLHiBXiSJjZItF/8B83gE6pVq40vIw==
|
||||||
dependencies:
|
dependencies:
|
||||||
linkify-it "^2.2.0"
|
"@egjs/hammerjs" "^2.0.17"
|
||||||
mdurl "^1.0.0"
|
hoist-non-react-statics "^3.3.0"
|
||||||
|
invariant "^2.2.4"
|
||||||
|
lodash "^4.17.21"
|
||||||
|
prop-types "^15.7.2"
|
||||||
|
|
||||||
react-native-modal-datetime-picker@14.0.0:
|
react-native-modal-datetime-picker@14.0.0:
|
||||||
version "14.0.0"
|
version "14.0.0"
|
||||||
@@ -6925,6 +6977,19 @@ react-native-push-notification@3.2.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@react-native-community/push-notification-ios" "^1.0.1"
|
"@react-native-community/push-notification-ios" "^1.0.1"
|
||||||
|
|
||||||
|
react-native-safe-area-context@^4.3.4:
|
||||||
|
version "4.3.4"
|
||||||
|
resolved "https://registry.yarnpkg.com/react-native-safe-area-context/-/react-native-safe-area-context-4.3.4.tgz#79060fcc02ef38d6fd7afdf87b2301b06bd99fe9"
|
||||||
|
integrity sha512-4dFZPDHRigZ+uw8HCmMLyC/IT1BG0B9QLvuwsBQAMDCRSrxISIYza9VIbsIn2FGvZiQ1gOoXBHDmy9WFihQsTg==
|
||||||
|
|
||||||
|
react-native-screens@^3.17.0:
|
||||||
|
version "3.17.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/react-native-screens/-/react-native-screens-3.17.0.tgz#b099b3ec9d46de07c857f14d713c293024c7c842"
|
||||||
|
integrity sha512-OZCQU7+3neHNaM19jBkYRjL50kXz7p7MUgWQTCcdRoshcCiolf8aXs4eRVQKGK6m1RmoB8UL0//m5R9KoR+41w==
|
||||||
|
dependencies:
|
||||||
|
react-freeze "^1.0.0"
|
||||||
|
warn-once "^0.1.0"
|
||||||
|
|
||||||
react-native-share@^7.9.0:
|
react-native-share@^7.9.0:
|
||||||
version "7.9.0"
|
version "7.9.0"
|
||||||
resolved "https://registry.yarnpkg.com/react-native-share/-/react-native-share-7.9.0.tgz#31f28d85201bada5e511c5f14d5935df2166fe93"
|
resolved "https://registry.yarnpkg.com/react-native-share/-/react-native-share-7.9.0.tgz#31f28d85201bada5e511c5f14d5935df2166fe93"
|
||||||
@@ -7267,7 +7332,7 @@ replace-ext@1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb"
|
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb"
|
||||||
integrity sha512-vuNYXC7gG7IeVNBC1xUllqCcZKRbJoSPOBhnTEcAIiKCsbuef6zO3F0Rve3isPMMoNoQRWjQwbAgAjHUHniyEA==
|
integrity sha512-vuNYXC7gG7IeVNBC1xUllqCcZKRbJoSPOBhnTEcAIiKCsbuef6zO3F0Rve3isPMMoNoQRWjQwbAgAjHUHniyEA==
|
||||||
|
|
||||||
request@^2.87.0, request@^2.88.0:
|
request@^2.88.0:
|
||||||
version "2.88.2"
|
version "2.88.2"
|
||||||
resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
|
resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3"
|
||||||
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
|
integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==
|
||||||
@@ -7369,13 +7434,6 @@ ret@~0.1.10:
|
|||||||
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
|
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
|
||||||
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==
|
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==
|
||||||
|
|
||||||
rimraf@2, rimraf@^2.5.4:
|
|
||||||
version "2.7.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
|
|
||||||
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
|
|
||||||
dependencies:
|
|
||||||
glob "^7.1.3"
|
|
||||||
|
|
||||||
rimraf@2.6.3, rimraf@~2.6.2:
|
rimraf@2.6.3, rimraf@~2.6.2:
|
||||||
version "2.6.3"
|
version "2.6.3"
|
||||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
|
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
|
||||||
@@ -7383,6 +7441,13 @@ rimraf@2.6.3, rimraf@~2.6.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
glob "^7.1.3"
|
glob "^7.1.3"
|
||||||
|
|
||||||
|
rimraf@^2.5.4:
|
||||||
|
version "2.7.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
|
||||||
|
integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
|
||||||
|
dependencies:
|
||||||
|
glob "^7.1.3"
|
||||||
|
|
||||||
rimraf@^3.0.0:
|
rimraf@^3.0.0:
|
||||||
version "3.0.2"
|
version "3.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
|
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
|
||||||
@@ -7405,11 +7470,6 @@ safe-buffer@5.1.2, safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, s
|
|||||||
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
|
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
|
||||||
integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
|
integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
|
||||||
|
|
||||||
safe-buffer@^5.2.1:
|
|
||||||
version "5.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
|
|
||||||
integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
|
|
||||||
|
|
||||||
safe-regex@^1.1.0:
|
safe-regex@^1.1.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e"
|
resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e"
|
||||||
@@ -7477,11 +7537,6 @@ semver@^7.2.1, semver@^7.3.5:
|
|||||||
dependencies:
|
dependencies:
|
||||||
lru-cache "^6.0.0"
|
lru-cache "^6.0.0"
|
||||||
|
|
||||||
semver@~5.3.0:
|
|
||||||
version "5.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
|
|
||||||
integrity sha512-mfmm3/H9+67MCVix1h+IXTpDwL6710LyHuk7+cWC9T1mE0qz4iHhh6r4hU2wrIT9iTsAAC2XQRvfblL028cpLw==
|
|
||||||
|
|
||||||
send@0.18.0:
|
send@0.18.0:
|
||||||
version "0.18.0"
|
version "0.18.0"
|
||||||
resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be"
|
resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be"
|
||||||
@@ -7634,6 +7689,13 @@ simple-plist@^1.0.0:
|
|||||||
bplist-parser "0.2.0"
|
bplist-parser "0.2.0"
|
||||||
plist "^3.0.1"
|
plist "^3.0.1"
|
||||||
|
|
||||||
|
simple-swizzle@^0.2.2:
|
||||||
|
version "0.2.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"
|
||||||
|
integrity sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==
|
||||||
|
dependencies:
|
||||||
|
is-arrayish "^0.3.1"
|
||||||
|
|
||||||
sisteransi@^1.0.5:
|
sisteransi@^1.0.5:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed"
|
resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed"
|
||||||
@@ -7730,6 +7792,11 @@ source-map@^0.7.3:
|
|||||||
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656"
|
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656"
|
||||||
integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==
|
integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==
|
||||||
|
|
||||||
|
split-on-first@^1.0.0:
|
||||||
|
version "1.1.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/split-on-first/-/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f"
|
||||||
|
integrity sha512-43ZssAJaMusuKWL8sKUBQXHWOpq8d6CfN/u1p4gUzfJkM05C8rxTmYrkIPTXapZpORA6LkkzcUulJ8FqA7Uudw==
|
||||||
|
|
||||||
split-string@^3.0.1, split-string@^3.0.2:
|
split-string@^3.0.1, split-string@^3.0.2:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2"
|
resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2"
|
||||||
@@ -7809,6 +7876,11 @@ stream-counter@^1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/stream-counter/-/stream-counter-1.0.0.tgz#91cf2569ce4dc5061febcd7acb26394a5a114751"
|
resolved "https://registry.yarnpkg.com/stream-counter/-/stream-counter-1.0.0.tgz#91cf2569ce4dc5061febcd7acb26394a5a114751"
|
||||||
integrity sha512-4nfHc1016AhNOs0CFDR3S0FNeqnYbT7xZ408coajcx2Msj8malNNjvFHzWYIfIAXNK5i0eaKIVfgBYPOkyOTIg==
|
integrity sha512-4nfHc1016AhNOs0CFDR3S0FNeqnYbT7xZ408coajcx2Msj8malNNjvFHzWYIfIAXNK5i0eaKIVfgBYPOkyOTIg==
|
||||||
|
|
||||||
|
strict-uri-encode@^2.0.0:
|
||||||
|
version "2.0.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546"
|
||||||
|
integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==
|
||||||
|
|
||||||
string-length@^4.0.1:
|
string-length@^4.0.1:
|
||||||
version "4.0.2"
|
version "4.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a"
|
resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a"
|
||||||
@@ -8051,19 +8123,6 @@ tar-stream@^2.1.4:
|
|||||||
inherits "^2.0.3"
|
inherits "^2.0.3"
|
||||||
readable-stream "^3.1.1"
|
readable-stream "^3.1.1"
|
||||||
|
|
||||||
tar@^4.4.8:
|
|
||||||
version "4.4.19"
|
|
||||||
resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3"
|
|
||||||
integrity sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==
|
|
||||||
dependencies:
|
|
||||||
chownr "^1.1.4"
|
|
||||||
fs-minipass "^1.2.7"
|
|
||||||
minipass "^2.9.0"
|
|
||||||
minizlib "^1.3.3"
|
|
||||||
mkdirp "^0.5.5"
|
|
||||||
safe-buffer "^5.2.1"
|
|
||||||
yallist "^3.1.1"
|
|
||||||
|
|
||||||
tar@^6.0.1:
|
tar@^6.0.1:
|
||||||
version "6.1.11"
|
version "6.1.11"
|
||||||
resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621"
|
resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621"
|
||||||
@@ -8280,11 +8339,6 @@ ua-parser-js@^0.7.30:
|
|||||||
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.31.tgz#649a656b191dffab4f21d5e053e27ca17cbff5c6"
|
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.31.tgz#649a656b191dffab4f21d5e053e27ca17cbff5c6"
|
||||||
integrity sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==
|
integrity sha512-qLK/Xe9E2uzmYI3qLeOmI0tEOt+TBBQyUIAh4aAgU05FVYzeZrKUdkAZfBNVGRaHVgV0TDkdEngJSw/SyQchkQ==
|
||||||
|
|
||||||
uc.micro@^1.0.1:
|
|
||||||
version "1.0.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac"
|
|
||||||
integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==
|
|
||||||
|
|
||||||
uglify-es@^3.1.9:
|
uglify-es@^3.1.9:
|
||||||
version "3.3.9"
|
version "3.3.9"
|
||||||
resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.3.9.tgz#0c1c4f0700bed8dbc124cdb304d2592ca203e677"
|
resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.3.9.tgz#0c1c4f0700bed8dbc124cdb304d2592ca203e677"
|
||||||
@@ -8457,6 +8511,11 @@ url-parse@^1.4.4:
|
|||||||
querystringify "^2.1.1"
|
querystringify "^2.1.1"
|
||||||
requires-port "^1.0.0"
|
requires-port "^1.0.0"
|
||||||
|
|
||||||
|
use-latest-callback@^0.1.5:
|
||||||
|
version "0.1.5"
|
||||||
|
resolved "https://registry.yarnpkg.com/use-latest-callback/-/use-latest-callback-0.1.5.tgz#a4a836c08fa72f6608730b5b8f4bbd9c57c04f51"
|
||||||
|
integrity sha512-HtHatS2U4/h32NlkhupDsPlrbiD27gSH5swBdtXbCAlc6pfOFzaj0FehW/FO12rx8j2Vy4/lJScCiJyM01E+bQ==
|
||||||
|
|
||||||
use-subscription@^1.0.0:
|
use-subscription@^1.0.0:
|
||||||
version "1.8.0"
|
version "1.8.0"
|
||||||
resolved "https://registry.yarnpkg.com/use-subscription/-/use-subscription-1.8.0.tgz#f118938c29d263c2bce12fc5585d3fe694d4dbce"
|
resolved "https://registry.yarnpkg.com/use-subscription/-/use-subscription-1.8.0.tgz#f118938c29d263c2bce12fc5585d3fe694d4dbce"
|
||||||
@@ -8573,6 +8632,11 @@ walker@^1.0.7, walker@^1.0.8, walker@~1.0.5:
|
|||||||
dependencies:
|
dependencies:
|
||||||
makeerror "1.0.12"
|
makeerror "1.0.12"
|
||||||
|
|
||||||
|
warn-once@^0.1.0:
|
||||||
|
version "0.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/warn-once/-/warn-once-0.1.1.tgz#952088f4fb56896e73fd4e6a3767272a3fccce43"
|
||||||
|
integrity sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==
|
||||||
|
|
||||||
wcwidth@^1.0.1:
|
wcwidth@^1.0.1:
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"
|
resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"
|
||||||
@@ -8613,7 +8677,7 @@ which-typed-array@^1.1.2:
|
|||||||
has-tostringtag "^1.0.0"
|
has-tostringtag "^1.0.0"
|
||||||
is-typed-array "^1.1.9"
|
is-typed-array "^1.1.9"
|
||||||
|
|
||||||
which@1, which@^1.2.9:
|
which@^1.2.9:
|
||||||
version "1.3.1"
|
version "1.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
|
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
|
||||||
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
|
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
|
||||||
@@ -8761,11 +8825,6 @@ yallist@^2.1.2:
|
|||||||
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
|
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
|
||||||
integrity sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==
|
integrity sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==
|
||||||
|
|
||||||
yallist@^3.0.0, yallist@^3.1.1:
|
|
||||||
version "3.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
|
|
||||||
integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
|
|
||||||
|
|
||||||
yallist@^4.0.0:
|
yallist@^4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
|
||||||
|
|||||||
Reference in New Issue
Block a user