Update config, BasaltLS definitions, bundle and changelog
This commit is contained in:
6072
BasaltLS.lua
6072
BasaltLS.lua
File diff suppressed because it is too large
Load Diff
648
config.lua
648
config.lua
@@ -1,422 +1,422 @@
|
||||
return {
|
||||
["metadata"] = {
|
||||
["generated"] = "Sat Apr 26 11:32:26 2025",
|
||||
["version"] = "2.0",
|
||||
},
|
||||
["categories"] = {
|
||||
["libraries"] = {
|
||||
["files"] = {
|
||||
["utils"] = {
|
||||
["path"] = "libraries/utils.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 2661,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["expect"] = {
|
||||
["path"] = "libraries/expect.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 846,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["colorHex"] = {
|
||||
["path"] = "libraries/colorHex.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 132,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
},
|
||||
["description"] = "Libraries",
|
||||
},
|
||||
["elements"] = {
|
||||
["files"] = {
|
||||
["BaseFrame"] = {
|
||||
["path"] = "elements/BaseFrame.lua",
|
||||
["default"] = true,
|
||||
["description"] = "This is the base frame class. It is the root element of all elements and the only element without a parent.",
|
||||
["size"] = 8466,
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
},
|
||||
["Container"] = {
|
||||
["path"] = "elements/Container.lua",
|
||||
["default"] = true,
|
||||
["description"] = "The container class. It is a visual element that can contain other elements. It is the base class for all containers",
|
||||
["size"] = 25093,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["Checkbox"] = {
|
||||
["path"] = "elements/Checkbox.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 2928,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["Program"] = {
|
||||
["path"] = "elements/Program.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 8762,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["Input"] = {
|
||||
["path"] = "elements/Input.lua",
|
||||
["default"] = true,
|
||||
["description"] = "A text input field with various features",
|
||||
["size"] = 8876,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["Label"] = {
|
||||
["path"] = "elements/Label.lua",
|
||||
["default"] = true,
|
||||
["description"] = "A simple text display element that automatically resizes its width based on the text content.",
|
||||
["size"] = 3092,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["Graph"] = {
|
||||
["path"] = "elements/Graph.lua",
|
||||
["default"] = false,
|
||||
["description"] = "A point based graph element",
|
||||
["size"] = 6989,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["Dropdown"] = {
|
||||
["path"] = "elements/Dropdown.lua",
|
||||
["default"] = false,
|
||||
["description"] = "A dropdown menu that shows a list of selectable items",
|
||||
["size"] = 6359,
|
||||
["requires"] = {
|
||||
[1] = "List",
|
||||
},
|
||||
},
|
||||
["Timer"] = {
|
||||
["path"] = "elements/Timer.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 2914,
|
||||
["requires"] = {
|
||||
[1] = "BaseElement",
|
||||
},
|
||||
},
|
||||
["Display"] = {
|
||||
["path"] = "elements/Display.lua",
|
||||
["default"] = false,
|
||||
["description"] = "The Display is a special element which uses the cc window API which you can use.",
|
||||
["path"] = "elements/Display.lua",
|
||||
["size"] = 4243,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["Frame"] = {
|
||||
["path"] = "elements/Frame.lua",
|
||||
["default"] = true,
|
||||
["description"] = "A frame element that serves as a grouping container for other elements.",
|
||||
["size"] = 4458,
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
},
|
||||
["BarChart"] = {
|
||||
["path"] = "elements/BarChart.lua",
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
["size"] = 3190,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["ProgressBar"] = {
|
||||
["path"] = "elements/ProgressBar.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 3397,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["Scrollbar"] = {
|
||||
["path"] = "elements/Scrollbar.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 9191,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["List"] = {
|
||||
["path"] = "elements/List.lua",
|
||||
["default"] = true,
|
||||
["description"] = "A scrollable list of selectable items",
|
||||
["size"] = 8702,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["VisualElement"] = {
|
||||
["path"] = "elements/VisualElement.lua",
|
||||
["default"] = true,
|
||||
["description"] = "The Visual Element class which is the base class for all visual UI elements",
|
||||
["size"] = 17775,
|
||||
["requires"] = {
|
||||
[1] = "BaseElement",
|
||||
},
|
||||
},
|
||||
["Menu"] = {
|
||||
["path"] = "elements/Menu.lua",
|
||||
["default"] = true,
|
||||
["description"] = "A horizontal menu bar with selectable items.",
|
||||
["size"] = 4679,
|
||||
["requires"] = {
|
||||
[1] = "List",
|
||||
},
|
||||
},
|
||||
["LineChart"] = {
|
||||
["path"] = "elements/LineChart.lua",
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
["size"] = 3227,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["TextBox"] = {
|
||||
["path"] = "elements/TextBox.lua",
|
||||
["default"] = false,
|
||||
["description"] = "A multi-line text editor component with cursor support and text manipulation features",
|
||||
["size"] = 10928,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["Flexbox"] = {
|
||||
["path"] = "elements/Flexbox.lua",
|
||||
["default"] = true,
|
||||
["description"] = "A flexbox container that arranges its children in a flexible layout.",
|
||||
["size"] = 32431,
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
},
|
||||
["BaseElement"] = {
|
||||
["path"] = "elements/BaseElement.lua",
|
||||
["default"] = true,
|
||||
["description"] = "The base class for all UI elements in Basalt.",
|
||||
["size"] = 9544,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["Button"] = {
|
||||
["path"] = "elements/Button.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 1656,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["Image"] = {
|
||||
["path"] = "elements/Image.lua",
|
||||
["default"] = false,
|
||||
["description"] = "An element that displays an image in bimg format",
|
||||
["size"] = 15125,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["Table"] = {
|
||||
["path"] = "elements/Table.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 9668,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "The Display is a special element which uses the cc window API which you can use.",
|
||||
},
|
||||
["Slider"] = {
|
||||
["path"] = "elements/Slider.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["path"] = "elements/Slider.lua",
|
||||
["size"] = 4766,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["BigFont"] = {
|
||||
["path"] = "elements/BigFont.lua",
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
["size"] = 20951,
|
||||
},
|
||||
["Input"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Input.lua",
|
||||
["size"] = 8876,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "A text input field with various features",
|
||||
},
|
||||
["Image"] = {
|
||||
["default"] = false,
|
||||
["path"] = "elements/Image.lua",
|
||||
["size"] = 15125,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "An element that displays an image in bimg format",
|
||||
},
|
||||
["TextBox"] = {
|
||||
["default"] = false,
|
||||
["path"] = "elements/TextBox.lua",
|
||||
["size"] = 10928,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "A multi-line text editor component with cursor support and text manipulation features",
|
||||
},
|
||||
["Label"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Label.lua",
|
||||
["size"] = 3092,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "A simple text display element that automatically resizes its width based on the text content.",
|
||||
},
|
||||
["BaseElement"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/BaseElement.lua",
|
||||
["size"] = 9544,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "The base class for all UI elements in Basalt.",
|
||||
},
|
||||
["Graph"] = {
|
||||
["default"] = false,
|
||||
["path"] = "elements/Graph.lua",
|
||||
["size"] = 6989,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "A point based graph element",
|
||||
},
|
||||
["Tree"] = {
|
||||
["path"] = "elements/Tree.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["path"] = "elements/Tree.lua",
|
||||
["size"] = 7941,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["List"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/List.lua",
|
||||
["size"] = 8702,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "A scrollable list of selectable items",
|
||||
},
|
||||
["Container"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Container.lua",
|
||||
["size"] = 25093,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "The container class. It is a visual element that can contain other elements. It is the base class for all containers",
|
||||
},
|
||||
["BarChart"] = {
|
||||
["default"] = false,
|
||||
["path"] = "elements/BarChart.lua",
|
||||
["size"] = 3190,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["BigFont"] = {
|
||||
["default"] = false,
|
||||
["path"] = "elements/BigFont.lua",
|
||||
["size"] = 20951,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["VisualElement"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/VisualElement.lua",
|
||||
["size"] = 17775,
|
||||
["requires"] = {
|
||||
[1] = "BaseElement",
|
||||
},
|
||||
["description"] = "The Visual Element class which is the base class for all visual UI elements",
|
||||
},
|
||||
["Scrollbar"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Scrollbar.lua",
|
||||
["size"] = 9191,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["Switch"] = {
|
||||
["path"] = "elements/Switch.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["path"] = "elements/Switch.lua",
|
||||
["size"] = 1378,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["Flexbox"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Flexbox.lua",
|
||||
["size"] = 32431,
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["description"] = "A flexbox container that arranges its children in a flexible layout.",
|
||||
},
|
||||
["Dropdown"] = {
|
||||
["default"] = false,
|
||||
["path"] = "elements/Dropdown.lua",
|
||||
["size"] = 6359,
|
||||
["requires"] = {
|
||||
[1] = "List",
|
||||
},
|
||||
["description"] = "A dropdown menu that shows a list of selectable items",
|
||||
},
|
||||
["Menu"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Menu.lua",
|
||||
["size"] = 4679,
|
||||
["requires"] = {
|
||||
[1] = "List",
|
||||
},
|
||||
["description"] = "A horizontal menu bar with selectable items.",
|
||||
},
|
||||
["Frame"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Frame.lua",
|
||||
["size"] = 4458,
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["description"] = "A frame element that serves as a grouping container for other elements.",
|
||||
},
|
||||
["Program"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Program.lua",
|
||||
["size"] = 8762,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["Button"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Button.lua",
|
||||
["size"] = 1656,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["BaseFrame"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/BaseFrame.lua",
|
||||
["size"] = 8466,
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["description"] = "This is the base frame class. It is the root element of all elements and the only element without a parent.",
|
||||
},
|
||||
["LineChart"] = {
|
||||
["default"] = false,
|
||||
["path"] = "elements/LineChart.lua",
|
||||
["size"] = 3227,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["Table"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Table.lua",
|
||||
["size"] = 9668,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["ProgressBar"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/ProgressBar.lua",
|
||||
["size"] = 3397,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["Timer"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Timer.lua",
|
||||
["size"] = 2914,
|
||||
["requires"] = {
|
||||
[1] = "BaseElement",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["Checkbox"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elements/Checkbox.lua",
|
||||
["size"] = 2928,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
},
|
||||
["description"] = "UI Elements",
|
||||
},
|
||||
["plugins"] = {
|
||||
["files"] = {
|
||||
["animation"] = {
|
||||
["path"] = "plugins/animation.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 15774,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["debug"] = {
|
||||
["path"] = "plugins/debug.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 6250,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["reactive"] = {
|
||||
["path"] = "plugins/reactive.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 7253,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["theme"] = {
|
||||
["path"] = "plugins/theme.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 7042,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["benchmark"] = {
|
||||
["path"] = "plugins/benchmark.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["path"] = "plugins/benchmark.lua",
|
||||
["size"] = 12581,
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
},
|
||||
["xml"] = {
|
||||
["path"] = "plugins/xml.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 9901,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["state"] = {
|
||||
["path"] = "plugins/state.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["path"] = "plugins/state.lua",
|
||||
["size"] = 6896,
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["animation"] = {
|
||||
["default"] = true,
|
||||
["path"] = "plugins/animation.lua",
|
||||
["size"] = 15774,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["debug"] = {
|
||||
["default"] = true,
|
||||
["path"] = "plugins/debug.lua",
|
||||
["size"] = 6250,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["xml"] = {
|
||||
["default"] = true,
|
||||
["path"] = "plugins/xml.lua",
|
||||
["size"] = 9901,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["canvas"] = {
|
||||
["path"] = "plugins/canvas.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["path"] = "plugins/canvas.lua",
|
||||
["size"] = 7873,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["theme"] = {
|
||||
["default"] = true,
|
||||
["path"] = "plugins/theme.lua",
|
||||
["size"] = 7042,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["reactive"] = {
|
||||
["default"] = true,
|
||||
["path"] = "plugins/reactive.lua",
|
||||
["size"] = 7253,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
},
|
||||
["description"] = "Plugins",
|
||||
},
|
||||
["core"] = {
|
||||
["libraries"] = {
|
||||
["files"] = {
|
||||
["elementManager"] = {
|
||||
["path"] = "elementManager.lua",
|
||||
["colorHex"] = {
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 6297,
|
||||
["path"] = "libraries/colorHex.lua",
|
||||
["size"] = 132,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["propertySystem"] = {
|
||||
["path"] = "propertySystem.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["expect"] = {
|
||||
["default"] = true,
|
||||
["path"] = "libraries/expect.lua",
|
||||
["size"] = 846,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["utils"] = {
|
||||
["default"] = true,
|
||||
["path"] = "libraries/utils.lua",
|
||||
["size"] = 2661,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
},
|
||||
["description"] = "Libraries",
|
||||
},
|
||||
["core"] = {
|
||||
["files"] = {
|
||||
["propertySystem"] = {
|
||||
["default"] = true,
|
||||
["path"] = "propertySystem.lua",
|
||||
["size"] = 15524,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["main"] = {
|
||||
["default"] = true,
|
||||
["path"] = "main.lua",
|
||||
["size"] = 11941,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["init"] = {
|
||||
["path"] = "init.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["path"] = "init.lua",
|
||||
["size"] = 634,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["elementManager"] = {
|
||||
["default"] = true,
|
||||
["path"] = "elementManager.lua",
|
||||
["size"] = 6297,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["log"] = {
|
||||
["path"] = "log.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["path"] = "log.lua",
|
||||
["size"] = 3142,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["main"] = {
|
||||
["path"] = "main.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 10578,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["render"] = {
|
||||
["path"] = "render.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["size"] = 12422,
|
||||
["requires"] = {
|
||||
},
|
||||
},
|
||||
["errorManager"] = {
|
||||
["path"] = "errorManager.lua",
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["path"] = "errorManager.lua",
|
||||
["size"] = 3789,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
["render"] = {
|
||||
["default"] = true,
|
||||
["path"] = "render.lua",
|
||||
["size"] = 12422,
|
||||
["requires"] = {
|
||||
},
|
||||
["description"] = "",
|
||||
},
|
||||
},
|
||||
["description"] = "Core Files",
|
||||
},
|
||||
},
|
||||
["metadata"] = {
|
||||
["version"] = "2.0",
|
||||
["generated"] = "Sun Apr 27 23:33:08 2025",
|
||||
},
|
||||
}
|
||||
@@ -1682,8 +1682,8 @@ _a.init(self,ba,ca)self.set("type","Switch")end;function aa:render()
|
||||
_a.render(self)end;return aa end
|
||||
project["main.lua"] = function(...) local ad=require("elementManager")
|
||||
local bd=require("errorManager")local cd=require("propertySystem")
|
||||
local dd=require("libraries/expect")local __a={}__a.traceback=true;__a._events={}__a._schedule={}__a._plugins={}
|
||||
__a.isRunning=false;__a.LOGGER=require("log")
|
||||
local dd=require("libraries/expect")local __a={}__a.traceback=true;__a._events={}__a._schedule={}
|
||||
__a._eventQueue={}__a._plugins={}__a.isRunning=false;__a.LOGGER=require("log")
|
||||
if(minified)then
|
||||
__a.path=fs.getDir(shell.getRunningProgram())else __a.path=fs.getDir(select(2,...))end;local a_a=nil;local b_a=nil;local c_a={}local d_a=type;local _aa={}local aaa=10;local baa=0;local caa=false
|
||||
local function daa()
|
||||
@@ -1721,19 +1721,31 @@ for bca,cca in ipairs(__a._schedule)do if(cca.coroutine==aca)then
|
||||
table.remove(__a._schedule,bca)return true end end;return false end
|
||||
local bba={mouse_click=true,mouse_up=true,mouse_scroll=true,mouse_drag=true}local cba={key=true,key_up=true,char=true}
|
||||
local function dba(aca,...)if(aca=="terminate")then __a.stop()
|
||||
return end;if aba(aca,...)then return end
|
||||
if(bba[aca])then if c_a[a_a]then
|
||||
c_a[a_a]:dispatchEvent(aca,...)end elseif(cba[aca])then if(b_a~=nil)then
|
||||
b_a:dispatchEvent(aca,...)end else
|
||||
for bca,cca in pairs(c_a)do cca:dispatchEvent(aca,...)end end
|
||||
for bca,cca in ipairs(__a._schedule)do
|
||||
return end;if aba(aca,...)then return end;local bca={...}
|
||||
local function cca()
|
||||
if(bba[aca])then if
|
||||
c_a[a_a]then
|
||||
c_a[a_a]:dispatchEvent(aca,table.unpack(bca))end elseif(cba[aca])then if(b_a~=nil)then
|
||||
b_a:dispatchEvent(aca,table.unpack(bca))end else for bda,cda in pairs(c_a)do
|
||||
cda:dispatchEvent(aca,table.unpack(bca))end end end
|
||||
for bda,cda in pairs(__a._eventQueue)do
|
||||
if
|
||||
(coroutine.status(cca.coroutine)=="suspended")then
|
||||
if(aca==cca.filter)or(cca.filter==nil)then
|
||||
local dca,_da=coroutine.resume(cca.coroutine,aca,...)
|
||||
if(not dca)then bd.header="Basalt Schedule Error"bd.error(_da)end;cca.filter=_da end end;if(coroutine.status(cca.coroutine)=="dead")then
|
||||
__a.removeSchedule(cca.coroutine)end end;if __a._events[aca]then
|
||||
for bca,cca in ipairs(__a._events[aca])do cca(...)end end end;local function _ca()
|
||||
coroutine.status(cda.coroutine)=="suspended"then
|
||||
if cda.filter==aca or cda.filter==nil then cda.filter=nil
|
||||
local dda,__b=coroutine.resume(cda.coroutine,aca,...)
|
||||
if not dda then bd.header="Basalt Event Error"bd.error(__b)end;cda.filter=__b end end;if coroutine.status(cda.coroutine)=="dead"then
|
||||
table.remove(__a._eventQueue,bda)end end;local dca={coroutine=coroutine.create(cca),filter=aca}
|
||||
local _da,ada=coroutine.resume(dca.coroutine,aca,...)
|
||||
if(not _da)then bd.header="Basalt Event Error"bd.error(ada)end;if(ada~=nil)then dca.filter=ada end
|
||||
table.insert(__a._eventQueue,dca)
|
||||
for bda,cda in ipairs(__a._schedule)do
|
||||
if
|
||||
coroutine.status(cda.coroutine)=="suspended"then
|
||||
if aca==cda.filter or cda.filter==nil then cda.filter=nil
|
||||
local dda,__b=coroutine.resume(cda.coroutine,aca,...)
|
||||
if(not dda)then bd.header="Basalt Schedule Error"bd.error(__b)end;cda.filter=__b end end;if(coroutine.status(cda.coroutine)=="dead")then
|
||||
__a.removeSchedule(cda.coroutine)end end;if __a._events[aca]then
|
||||
for bda,cda in ipairs(__a._events[aca])do cda(...)end end end;local function _ca()
|
||||
for aca,bca in pairs(c_a)do bca:render()bca:postRender()end end
|
||||
function __a.update(...)local aca=function(...)__a.isRunning=true
|
||||
dba(...)_ca()end
|
||||
|
||||
Reference in New Issue
Block a user