Luke
1c5f4d6ac8
feat(web/context): allow separate metadata progress bars colors
...
Closes #430
2023-10-28 18:30:57 +02:00
Luke
e6e7bf5547
refactor(package): improve types for input dialog
2023-10-23 22:44:33 +02:00
Luke
4ba5880d40
fix(package): call the correct export for closeInputDialog
2023-09-28 11:49:20 +02:00
Luke
aaa37047f1
feat(web/context): readOnly buttons
2023-09-22 13:49:15 +02:00
Luke
61e3ba9904
fix(package): no implicit any
2023-09-16 10:37:14 +02:00
BerkieBb
3c0136afd8
feat(web/input): returnString for date inputs ( #411 )
...
* feat(interface/input): useFormat field
* feat(interface/input): useFormat field
* feat(types/dialog): useFormat field
* feat(components/date): format date conversion
* tweak(components/date): forgot other data type
* chore(interface/input): more descriptive name
* chore(interface/input): more descriptive name
* chore(types/dialog): more descriptive name
* tweak(components/date): reset things
* feat(dialog/input): date conversion with returnString
* refactor(web/input): remove unnecessary state
---------
Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com >
2023-09-11 23:17:35 +02:00
Jellyton
0c072ef4f7
feat(client/vehicleproperties): add fixVehicle parameter ( #392 )
2023-08-15 10:40:35 +10:00
Matin
088c2e094a
feat(web/skillcheck): ability to cancel skillcheck ( #364 )
...
* - (FEAT) Added feature to cancel skillcheck
- (FEAT) Added feature to check is any active skillcheck
* - Fix hiding UI
* - return actual boolean
* - Fix focus does not reset properly
* Update skillcheck wrappers
2023-08-08 12:56:06 +02:00
Linden
c6742eeae9
refactor(client/vehicleProperties): driftTyres and window tweaks
...
+ some notes about setting props from server.
2023-07-31 16:17:50 +10:00
Jag
65a799071a
chore: various fix-ups from docs clean-up ( #363 )
...
- Add in missing js functions
- getCurrentRadialId
- requestScaleformMove
- Change up math.tohex to maintain lowercase `0x` prefix
- Add missing fields
- Removed extra whitespaces
Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com >
2023-07-21 13:54:29 +02:00
Luke
45f155f62b
perf(package): only run points loop when there's at least one point
2023-07-14 00:57:03 +02:00
Linden
6cf53ddd68
fix(client/vehicleProperties): mods not applying
2023-05-28 15:02:54 +10:00
Can Sönmez
467e7f51ac
fix(package/callback): await callback response ( #340 )
2023-05-26 09:04:30 +10:00
Linden
4e4b5bd570
fix(client/vehicleProperties): tonumber for extras and tyres
...
Sparse arrays sometimes json.decode with string keys, i.e.
`{[5] = 1, [10] = 1}` becomes `[null,null,null,null,1,null,null,null,null,1]`
`{[10] = 1, [11] = 1}` becomes `{"10":1,"11":1}`
2023-05-22 05:08:31 +10:00
Linden
b4edc5bac6
feat(client/vehicleProperties): support extra props
...
Add modKit and bulletProofTyres.
2023-05-22 03:38:36 +10:00
LukeWasTaken
21990796f5
feat(web): ability to style description in notifications
2023-05-10 16:25:32 +02:00
LukeWasTaken
bcb522d9c1
fix(fix): fix potential package prepublish fix
2023-05-09 00:12:55 +02:00
LukeWasTaken
b314b0a434
fix(package): potential fix for the npm package being uncompiled
2023-05-08 23:58:41 +02:00
LukeWasTaken
a557f3364d
chore(package): update to pnpm v8
2023-05-08 23:57:45 +02:00
Linden
5cf2417f4f
refactor(streaming): requestWeaponAsset params
2023-04-17 15:15:30 +10:00
Diogo Manuel Coelho Morais dos Santos
e91be47067
feat(streaming): requestWeaponAsset ( #264 )
2023-04-17 14:21:40 +10:00
Linden
280ece8b2d
fix(package/radial): missing param
2023-03-07 02:16:03 +11:00
Linden
1c66f3b920
fix(package/radial): missing disableRadial
2023-03-06 17:03:15 +11:00
Luke
ccce570005
refactor(package): don't run onExit when point is removed in distance
2023-03-02 10:51:02 +01:00
Luke
8b39f630fd
perf(package): don't run points interval if there are no points
2023-03-02 10:34:47 +01:00
Luke
b6af7e7166
fix(package): run onExit if point was removed within it's distance
2023-03-02 09:35:45 +01:00
Linden
79e91ee452
refactor(client/radial): allow onSelect as string to call an export
...
e.g. onSelect = 'menuHandler'
exports('menuHandler', function(menu, item) end)
2023-02-26 03:58:05 +11:00
Linden
29022e1a48
feat(client/radial): return currentMenu and itemIndex onSelect
2023-02-26 01:59:01 +11:00
Luke
76eef708a8
refactor(package): use cache.ped for points
2023-02-20 18:08:51 +01:00
Luke
7520509da3
refactor(package): use generics to type point args
2023-02-20 17:25:12 +01:00
Luke
7ff9f93838
feat(package): points system
2023-02-19 22:40:31 +01:00
renzuzu
8eca1698cb
feat(web/meu): support images as icons in context and list menu ( #230 )
...
* feat: Support image Tag in buttons
in my server. ox_lib is heavily used.
most of sample use cases for this is.
Food image,
Ingredients,
Vehicle Parts,
etc..
i believe font awesome is not enough for some use cases.
i did suggest this on v3 pending PR.
but it seems gets ignored.
here i am gonna try to push this PR.
to use this.
icon must be not existing in the options.
if both icon and image is in options, nothing will appear.
image in metadata will still appear normaly.
* tweak(web/menu): resize render image comparable to FA
* refactor(web/context): use icon prop for images
* refactor(web/list): use icon prop for images
---------
Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com >
2023-02-19 13:53:48 +01:00
Luke
19d8a6ef28
refactor(package): omit id from registerRadial items array
2023-02-15 18:35:15 +01:00
Luke
dab7e8da31
fix(package): export radial file into index
2023-02-15 18:13:43 +01:00
Luke
b99014eb8c
feat(package): add radial menu exports
2023-02-15 18:10:39 +01:00
Luke
66585521b4
chore(package): add missing typings
2023-02-15 13:51:46 +01:00
masonschafercodes
7acad823b8
Revert "feat(web/context): mouse enter and mouse leave events ( #218 )"
...
This reverts commit 7a22da68e6 .
2023-02-10 18:11:18 +01:00
masonschafercodes
7a22da68e6
feat(web/context): mouse enter and mouse leave events ( #218 )
...
* feat(web/context): mouse enter and mouse leave events
* chore(web/context): condense into one function for onHover
* feat(resource/context): cache last hovered option
2023-02-08 10:05:30 +01:00
masonschafercodes
db4a75dfbc
feat(web/alert): new options for alert dialog ( #213 )
2023-02-01 16:19:08 +01:00
Casper
4bc79851c1
chore(package): updated dependencies ( #182 )
2022-12-19 19:37:05 +01:00
Luke
da9b55fa84
refactor(package/callbacks): improve typings
2022-12-13 08:26:43 +11:00
Linden
8abc416dad
feat(package): TS callback events
2022-12-13 08:26:43 +11:00
Luke
d92c1d7e23
feat(web/alert): allow defining alert dialog button labels
2022-12-08 11:46:21 +01:00
Linden
289fa0ac69
chore(.gitignore): merge files
2022-11-24 17:02:03 +11:00
Linden
00c2086072
refactor(streaming): convert to modules
...
Import methods rather than call via exports.
2022-11-21 21:39:05 +11:00
Luke
306b7b3670
feat(web/context): disabled buttons
2022-11-06 11:01:39 +01:00
Luke
9cc7b9270e
refactor(web/menu)!: pass scrollIndex or checked in the same value
...
If the button is a scroll button then `isScroll` is passed into args, if a button is a checkbox then `isCheck` is passed into args.
Requires `args` to always be of type `table`
2022-10-29 15:55:08 +02:00
BerkieBb
5ba1a3b8f9
feat(interface/menu): checkbox
...
feat(package/interface/menu): checkbox
feat(web/menu/list): checkbox
feat(web/menu/list): checkbox option for ListItem
feat(web/menu/list): custom checkbox
2022-10-29 15:55:08 +02:00
Luke
a6a0e4905f
feat(web/input): description tooltip on fields
2022-10-27 13:45:27 +02:00
Luke
1127108fcd
feat(web/menu): add description support on list items
2022-10-27 10:09:48 +02:00