* feat(): add animation and call service & controllers
- run animations on interval so we don't lose animations when walking through doors
- move cl_call.ts to a class
* fix(animation/service): make everything private except for open/closePhone and start/endPhoneCall
* feat(phone) Disable walking when an input is focused
* refactor(phone) renamed var & replaced copy paste code
Instead of copying the code it now uses a custom hook
* refactor(phone/input): removed useMemo from hook
* style(phone/input): changed indentation to spaces & added de-structured import
Renamed the event so its more clear what it does and added a bool to denote when it's being disabled or not. This was attached to `isPhoneOpen` which wasn't reliablly working. Its now done within `showPhone` and `hidePhone`.
The wait was changed from `1000` to `100` in the event the phone is opened before the wait is over. Makes it more smooth as there is no longer a small duration where the mouse moves the camera.
Removed the enable of control actions as it wasn't needed.
config -> ResourceConfig for readability and the resource config in NUI is now being referenced consistently from state so it can be referenced at runtime and not compile time.
Also removes the need to copy the config before using `cp`
* chore(phone/settings): Removed unused state
* cleanup(phone/photos): Added type safety to photo state
* tweak(phone/marketplace): Added type safety to marketplace state
* chore(phone/match): Removed unnecessary console.log
* tweak(phone/messages): Added type safety to messages state
Also fixed ESLint warning for exported anonymous hook in useMessages.ts
* tweak(phone/match): Added type safety to match state
* tweak(phone/dialer): Cleanup & type safety for state
Renamed some types to better represent their data
* cleanup(phone/gen): Added NUI event enums for phone events
* tweak(phone/contacts): Type safety for contacts state & variable rename
Renamed and type variable in setFilteredContacts to better represent its use
* tweak(phone/gen-state): Added type-safety to gen phone global state
* tweak(phone/settings): Type safety for settings state
* tweak(phone/photos): Tweaked type for photo referral
* fix(phone/notification-comp): Fix reference to old theme config
* chore(phone/hooks): Remove keyboard service
Removed as this was unused and ESLint was not happy with it
* chore(phone): Cleaned up eslint warnings
No more warnings hooray!
* tweak(phone): Set time in dev mode
* fix(phone): Remove useNuiService that appeared somehow
* fix(phone/gallery): Fixed missing import for gallery
* Revert removing the keyboard service as this is built upon in another PR
This reverts commit 82d12255a84e918da087d988b599af98ce1fe54d.
* fix(phone/keyboard): Add useKeyboardService hook back to Phone.tsx
* fix(phone/gallery): Fix and standardized GalleryPhoto type