mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
wip
This commit is contained in:
1 parent
8fd711270d
commit
836dc3e724
7 files changed
+18664
-2
No files matched your search
Generated
+18572
File diff suppressed because it is too large.
Load diff
@@ -22,6 +22,7 @@
|
||||
"emoji-mart": "^3.0.0",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.15.5",
|
||||
"fivem-nui-react-lib": "^1.0.1",
|
||||
"howler": "^2.2.1",
|
||||
"i18next": "^19.7.0",
|
||||
"jsonschema": "^1.4.0",
|
||||
|
||||
@@ -34,6 +34,7 @@ import { usePhone } from './os/phone/hooks/usePhone';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useSnackbar } from './ui/hooks/useSnackbar';
|
||||
import { useEmailService } from './apps/email/hooks/useEmailService';
|
||||
import { useNuiEvent } from 'fivem-nui-react-lib';
|
||||
|
||||
function Phone() {
|
||||
const { t, i18n } = useTranslation();
|
||||
@@ -44,6 +45,8 @@ function Phone() {
|
||||
|
||||
const { addAlert } = useSnackbar();
|
||||
|
||||
useNuiEvent('asd', 'asd', console.log);
|
||||
|
||||
// Set language from local storage
|
||||
// This will only trigger on first mount & settings changes
|
||||
useEffect(() => {
|
||||
|
||||
@@ -35,6 +35,7 @@ InjectDebugData<IEmail[]>(
|
||||
receivers: ['[email protected]'],
|
||||
sender: '[email protected]',
|
||||
sendDate: Date.now() / 1000,
|
||||
hasActions: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -49,6 +50,7 @@ InjectDebugData<IEmail[]>(
|
||||
receivers: ['[email protected]'],
|
||||
sender: '[email protected]',
|
||||
sendDate: Date.now() / 1000,
|
||||
hasActions: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -72,6 +74,7 @@ InjectDebugData<IEmail[]>(
|
||||
sendDate: Date.now() / 1000,
|
||||
isRead: false,
|
||||
isMine: true,
|
||||
hasActions: false,
|
||||
},
|
||||
{
|
||||
id: 12,
|
||||
@@ -83,6 +86,7 @@ InjectDebugData<IEmail[]>(
|
||||
sendDate: Date.now() / 1000,
|
||||
isRead: false,
|
||||
isMine: false,
|
||||
hasActions: false,
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
@@ -94,6 +98,7 @@ InjectDebugData<IEmail[]>(
|
||||
sendDate: Date.now() / 1000,
|
||||
isRead: false,
|
||||
isMine: true,
|
||||
hasActions: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -109,6 +114,7 @@ InjectDebugData<IEmail[]>(
|
||||
sender: '[email protected]',
|
||||
sendDate: Date.now() / 1000,
|
||||
isRead: false,
|
||||
hasActions: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -124,6 +130,7 @@ InjectDebugData<IEmail[]>(
|
||||
sender: '[email protected]',
|
||||
sendDate: Date.now() / 1000,
|
||||
isRead: true,
|
||||
hasActions: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -139,6 +146,7 @@ InjectDebugData<IEmail[]>(
|
||||
sender: '[email protected]',
|
||||
sendDate: Date.now() / 1000,
|
||||
isRead: true,
|
||||
hasActions: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -154,6 +162,7 @@ InjectDebugData<IEmail[]>(
|
||||
sender: '[email protected]',
|
||||
sendDate: Date.now() / 1000,
|
||||
isRead: true,
|
||||
hasActions: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -169,6 +178,7 @@ InjectDebugData<IEmail[]>(
|
||||
sender: '[email protected]',
|
||||
sendDate: Date.now() / 1000,
|
||||
isRead: false,
|
||||
hasActions: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -184,6 +194,7 @@ InjectDebugData<IEmail[]>(
|
||||
sender: '[email protected]',
|
||||
sendDate: Date.now() / 1000,
|
||||
isRead: false,
|
||||
hasActions: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -199,6 +210,7 @@ InjectDebugData<IEmail[]>(
|
||||
sender: '[email protected]',
|
||||
sendDate: Date.now() / 1000,
|
||||
isRead: false,
|
||||
hasActions: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -6718,6 +6718,14 @@ findup-sync@^3.0.0:
|
||||
micromatch "^3.0.4"
|
||||
resolve-dir "^1.0.1"
|
||||
|
||||
fivem-nui-react-lib@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/fivem-nui-react-lib/-/fivem-nui-react-lib-1.0.1.tgz#f4c80bbb03a7cd1c6c07a1cd92b667af272fbfec"
|
||||
integrity sha512-S2BXJ+971Psm7h+80jVXpQrRu+/sM1X6lLcg33aYokPeZRjekU4ZW5e0I7QJJdgGkRE2tZfycPdK0Vn03e0Yrg==
|
||||
dependencies:
|
||||
react "^17.0.2"
|
||||
react-dom "^17.0.2"
|
||||
|
||||
flat-cache@^3.0.4:
|
||||
version "3.0.4"
|
||||
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11"
|
||||
@@ -11728,6 +11736,15 @@ react-dom@^16.13.1:
|
||||
prop-types "^15.6.2"
|
||||
scheduler "^0.19.1"
|
||||
|
||||
react-dom@^17.0.2:
|
||||
version "17.0.2"
|
||||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23"
|
||||
integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==
|
||||
dependencies:
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
scheduler "^0.20.2"
|
||||
|
||||
react-error-overlay@^6.0.9:
|
||||
version "6.0.9"
|
||||
resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-6.0.9.tgz#3c743010c9359608c375ecd6bc76f35d93995b0a"
|
||||
@@ -11900,6 +11917,14 @@ react@^16.13.1:
|
||||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.2"
|
||||
|
||||
react@^17.0.2:
|
||||
version "17.0.2"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
|
||||
integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==
|
||||
dependencies:
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
|
||||
read-pkg-up@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be"
|
||||
@@ -12500,6 +12525,14 @@ scheduler@^0.19.1:
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
|
||||
scheduler@^0.20.2:
|
||||
version "0.20.2"
|
||||
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91"
|
||||
integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==
|
||||
dependencies:
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
|
||||
schema-utils@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"
|
||||
|
||||
Reference in new issue
Block a user