Browse Source

feature | Модальне вікно для перепоставки задачі (без бекенду)

merge-requests/190/head
Kurmansky 3 years ago
parent
commit
9a9c2df4e2
  1. 22
      ios/Podfile.lock
  2. 4
      ios/taskme.xcodeproj/project.pbxproj
  3. 15313
      package-lock.json
  4. 52
      src/modules/tasks/config/task-menu-options.config.ts
  5. 19
      yarn.lock

22
ios/Podfile.lock

@ -562,7 +562,7 @@ SPEC CHECKSUMS: @@ -562,7 +562,7 @@ SPEC CHECKSUMS:
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
FBLazyVector: c71c5917ec0ad2de41d5d06a5855f6d5eda06971
FBReactNativeSpec: 50ac84ed135478e1b20e25b4c165cd57b2ce1988
FBReactNativeSpec: 1b104089c962a23178ab10f7d072921d46a48d43
Flipper: d3da1aa199aad94455ae725e9f3aa43f3ec17021
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
Flipper-Folly: 755929a4f851b2fb2c347d533a23f191b008554c
@ -574,8 +574,8 @@ SPEC CHECKSUMS: @@ -574,8 +574,8 @@ SPEC CHECKSUMS:
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
OneSignalXCFramework: 10648e60ff3d335fbffa62d9b44b700b56d49b51
OpenSSL-Universal: 1aa4f6a6ee7256b83db99ec1ccdaa80d10f9af9b
Permission-Camera: 9eb618fd601ae4a674b072c3b0d37f109d7b91e5
Permission-PhotoLibrary: 900e7e33012bd5e02e5859cb65d5bb2134259c64
Permission-Camera: 53efcbb755b0e8bdf253dbb27cc7559ccfce8480
Permission-PhotoLibrary: 7bec836dcdd04a0bfb200c314f1aae06d4476357
RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c
RCTRequired: d34bf57e17cb6e3b2681f4809b13843c021feb6c
RCTTypeSafety: 8dab4933124ed39bb0c1d88d74d61b1eb950f28f
@ -589,12 +589,12 @@ SPEC CHECKSUMS: @@ -589,12 +589,12 @@ SPEC CHECKSUMS:
React-jsinspector: 34e23860273a23695342f58eed3ffd3ba10c31e0
react-native-clear-cache: 28bce59b33cd809e0afe903786787b4409d1c1fb
react-native-date-picker: 201b481c94dcb7678f4712477ad026dd7793305b
react-native-image-picker: 27c3726557dac6e224a17c564c16cdc7fb952f79
react-native-netinfo: 877946c7b4eb85a639cf1ea31333dadc2be999a1
react-native-onesignal: 9afcdc24aa4557ed58a92803695382b0fe8ea6e7
react-native-image-picker: 5fe0a96bef4935bbdfb02f59b910bf40d5526109
react-native-netinfo: 3d3769f0d65de15c83a9bf1346f8be71de5a24bf
react-native-onesignal: 6ce91b6cb91e6e2b9caf051da82a27573bf9950c
react-native-orientation-locker: 998c0744e26624407dac068c04c605b4af7304a2
react-native-pager-view: f21658a2e12eced35ef998250375e4e4dc9b8487
react-native-safe-area-context: 8465df05de8106c584b117f0e027e17174d6e02e
react-native-pager-view: 5ab4d0b4b44d89f77310cb3eb8129745f274ce55
react-native-safe-area-context: 61c8c484a3a9e7d1fda19f7b1794b35bbfd2262a
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
React-perflogger: cc76a4254d19640f1d8ad1c66fdee800414b805c
React-RCTActionSheet: 7448f049318d8d7e8a9a1ebb742ada721757eea8
@ -608,12 +608,12 @@ SPEC CHECKSUMS: @@ -608,12 +608,12 @@ SPEC CHECKSUMS:
React-RCTVibration: c7f845861e79eae13dc1e8217a3cf47a3945b504
React-runtimeexecutor: 493d9abb8b23c3f84e19ae221eeba92cadcb70dc
ReactCommon: 8fea6422328e2fc093e25c9fac67adbcf0f04fb4
RNCAsyncStorage: 0f655864a81214d1c5a9bf0faf79d86dc25c383e
RNCAsyncStorage: e8b8d6320a0dd90eb610fb0d0b1ef90596697c69
RNCPicker: c3a3d481bec16624ed84a3c2a64c92fdc5515960
RNDeviceInfo: 0d6865ab0a57d9192bdd4e4f5894340b846c3e53
RNDeviceInfo: cc7de0772378f85d8f36ae439df20f05c590a651
RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211
RNImageCropPicker: 448d3c6e923fde3466b49caf3c2457c2a0ba02dd
RNPermissions: bf844d392fe0ecbfbd2e4ae2b88cc32f2f09b369
RNPermissions: f7ebe52db07c00901127966ca080b4ec6a6ceb0a
RNScreens: eb0dfb2d6b21d2d7f980ad46b14eb306d2f1062e
RNSVG: 8ba35cbeb385a52fd960fd28db9d7d18b4c2974f
RNVectorIcons: f67a1abce2ec73e62fe4606e8110e95a832bc859

4
ios/taskme.xcodeproj/project.pbxproj

@ -653,7 +653,7 @@ @@ -653,7 +653,7 @@
COPY_PHASE_STRIP = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 ";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
@ -718,7 +718,7 @@ @@ -718,7 +718,7 @@
COPY_PHASE_STRIP = YES;
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 ";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;

15313
package-lock.json generated

File diff suppressed because it is too large Load Diff

52
src/modules/tasks/config/task-menu-options.config.ts

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
import { RouteKey, TaskStatus } from "@/shared";
import { appEvents, RouteKey, TaskStatus } from "@/shared";
interface IMenuOption {
name: string,
@ -11,35 +11,37 @@ const createMenuOptions = ( @@ -11,35 +11,37 @@ const createMenuOptions = (
) => {
const menuOptions = {
edit:
{
name: 'Редагувати задачу',
onPress: () => navigate(RouteKey.EditTask, { taskId }),
},
{
name: 'Редагувати задачу',
onPress: () => navigate(RouteKey.EditTask, { taskId }),
},
done:
{
name: 'Відмітити виконання',
onPress: () => {},
},
{
name: 'Відмітити виконання',
onPress: () => { },
},
change_executor:
{
name: 'Перепоставити',
onPress: () => {},
},
{
name: 'Перепоставити',
onPress: () => navigate(RouteKey.SelectTaskExecutors, {
pageTitle: 'Перепоставити виконавця',
})
},
copy:
{
name: 'Копіювати',
onPress: () => {},
},
{
name: 'Копіювати',
onPress: () => { },
},
print:
{
name: 'Друкувати',
onPress: () => {},
},
{
name: 'Друкувати',
onPress: () => { },
},
delete:
{
name: 'Видалити',
onPress: () => {},
},
{
name: 'Видалити',
onPress: () => { },
},
}
return menuOptions

19
yarn.lock

@ -6034,7 +6034,7 @@ @@ -6034,7 +6034,7 @@
dependencies:
"minimist" "^1.2.5"
"moment@^2.24.0", "moment@^2.29.1":
"moment@^2.19.1", "moment@^2.24.0", "moment@^2.29.1":
"integrity" "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ=="
"resolved" "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz"
"version" "2.29.1"
@ -7111,6 +7111,13 @@ @@ -7111,6 +7111,13 @@
"prop-types" "^15.7.2"
"yargs" "^16.1.1"
"react-native-wheel-pick@^1.1.1":
"integrity" "sha512-OVyqmNcNvOouE55tKfSl2lHImmGKotCY4BHLiMtJQBgMVvvpDLO5NWZip7Z+RUHAGfBI7qHwMh5Ai1+i4vA4Cg=="
"resolved" "https://registry.npmjs.org/react-native-wheel-pick/-/react-native-wheel-pick-1.1.1.tgz"
"version" "1.1.1"
dependencies:
"moment" "^2.19.1"
"react-native@*", "react-native@^0.0.0-0 || ^0.60.6 || ^0.61.5 || ^0.62.2 || ^0.63.2 || ^0.64.0 || ^0.65.0 || 1000.0.0", "react-native@^0.62.0", "react-native@^0.64.3", "react-native@>=0.40.0", "react-native@>=0.42.0", "react-native@>=0.45.0", "react-native@>=0.48.4", "react-native@>=0.50.0", "react-native@>=0.57", "react-native@>=0.57.0", "react-native@>=0.59", "react-native@>=0.59.0-rc.0 <1.0.x", "react-native@>=0.60", "react-native@>=0.63.3", "react-native@>=0.64.0-rc.0 || 0.0.0-*", "react-native@>=0.65.0", "react-native@0.63.2":
"integrity" "sha512-2OEU74U0Ek1/WeBzPbg6XDsCfjF/9fhrNX/5TFgEiBKd5mNc9LOZ/OlMmkb7iues/ZZ/oc51SbEfLRQdcW0fVw=="
"resolved" "https://registry.npmjs.org/react-native/-/react-native-0.64.3.tgz"
@ -7184,7 +7191,7 @@ @@ -7184,7 +7191,7 @@
"react-shallow-renderer" "^16.13.1"
"scheduler" "^0.20.1"
"react@*", "react@^15.2.1 || 16.0.0-alpha.6 || 16.0.0-alpha.12 || 16.0.0-beta.5 || ^16.0.0", "react@^16.0.0 || ^17.0.0", "react@^16.8", "react@^16.8.0 || ^17.0.0", "react@^16.8.1", "react@^16.8.3 || ^17", "react@>=16.13.1", "react@>=16.3.0", "react@16 || 17", "react@16.13.1", "react@17.0.1":
"react@*", "react@^16.0.0 || ^17.0.0", "react@^16.8", "react@^16.8.0 || ^17.0.0", "react@^16.8.1", "react@^16.8.3 || ^17", "react@>=16.13.1", "react@>=16.3.0", "react@16 || 17", "react@16.13.1", "react@17.0.1":
"integrity" "sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w=="
"resolved" "https://registry.npmjs.org/react/-/react-17.0.1.tgz"
"version" "17.0.1"
@ -7205,10 +7212,10 @@ @@ -7205,10 +7212,10 @@
"resolved" "https://registry.npmjs.org/reactotron-core-client/-/reactotron-core-client-2.8.10.tgz"
"version" "2.8.10"
"reactotron-react-native@^5.0.0":
"integrity" "sha512-7nLrMkLXU9jiHymbB6oBqf8z+vww1AbDcUdMmLqX0obdIHyC8XJB0yRazWajKQC92kamkL+q2q4mH9HRSsYCEA=="
"resolved" "https://registry.npmjs.org/reactotron-react-native/-/reactotron-react-native-5.0.0.tgz"
"version" "5.0.0"
"reactotron-react-native@^5.0.1":
"integrity" "sha512-xiwTjJuQga6mD+ynt7fj50scMbfiSFDe1AIsf7VVqcSDrYJNnzVqHZtlC+lqYlzDu7TucOUQVVxJALcASEWYrg=="
"resolved" "https://registry.npmjs.org/reactotron-react-native/-/reactotron-react-native-5.0.1.tgz"
"version" "5.0.1"
dependencies:
"mitt" "1.1.3"
"query-string" "6.10.1"

Loading…
Cancel
Save