lation_ui input, cleaned up folders and unused lua file

This commit is contained in:
MrNewb committed 2025-07-08 11:49:16 -04:00
1 parent 1a7112fe25
commit 82f985f07b
4 files changed
+31 -201

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
---@diagnostic disable: duplicate-set-field
local resourceName = "lation_ui"
local configValue = BridgeClientConfig.InputSystem
if (configValue == "auto" and GetResourceState(resourceName) == "missing") or (configValue ~= "auto" and configValue ~= resourceName) then return end
Input = {}
function Input.Open(title, data, isQBFormat, submitText)
local inputs = data.inputs
if isQBFormat then
return exports.lation_ui:input({title = title, inputs = QBToOxInput(inputs)})
else
return exports.lation_ui:input({title = title, options = data})
end
end
function Input.GetResourceName()
return resourceName
end
return Input