Update config, LuaLS definitions, bundle and changelog
This commit is contained in:
496
config.lua
496
config.lua
@@ -1,288 +1,198 @@
|
|||||||
return {
|
return {
|
||||||
["metadata"] = {
|
["metadata"] = {
|
||||||
|
["generated"] = "Tue Feb 25 08:09:59 2025",
|
||||||
["version"] = "2.0",
|
["version"] = "2.0",
|
||||||
["generated"] = "Mon Feb 24 23:13:31 2025",
|
|
||||||
},
|
},
|
||||||
["categories"] = {
|
["categories"] = {
|
||||||
["libraries"] = {
|
|
||||||
["description"] = "Libraries",
|
|
||||||
["files"] = {
|
|
||||||
["utils"] = {
|
|
||||||
["path"] = "libraries/utils.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 2661,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["expect"] = {
|
|
||||||
["path"] = "libraries/expect.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 880,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["colorHex"] = {
|
|
||||||
["path"] = "libraries/colorHex.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 132,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["elements"] = {
|
["elements"] = {
|
||||||
["description"] = "UI Elements",
|
["description"] = "UI Elements",
|
||||||
["files"] = {
|
["files"] = {
|
||||||
["Image"] = {
|
|
||||||
["path"] = "elements/Image.lua",
|
|
||||||
["description"] = "An element that displays an image in bimg format",
|
|
||||||
["size"] = 6593,
|
|
||||||
["default"] = false,
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["VisualElement"] = {
|
|
||||||
["path"] = "elements/VisualElement.lua",
|
|
||||||
["description"] = "The Visual Element class which is the base class for all visual UI elements",
|
|
||||||
["size"] = 15495,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "BaseElement",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["TextBox"] = {
|
["TextBox"] = {
|
||||||
|
["default"] = false,
|
||||||
|
["size"] = 10905,
|
||||||
["path"] = "elements/TextBox.lua",
|
["path"] = "elements/TextBox.lua",
|
||||||
["description"] = "A multi-line text editor component with cursor support and text manipulation features",
|
["description"] = "A multi-line text editor component with cursor support and text manipulation features",
|
||||||
["size"] = 10905,
|
|
||||||
["default"] = false,
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["Scrollbar"] = {
|
|
||||||
["path"] = "elements/Scrollbar.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 9166,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["ProgressBar"] = {
|
|
||||||
["path"] = "elements/ProgressBar.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 2273,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["Dropdown"] = {
|
|
||||||
["path"] = "elements/Dropdown.lua",
|
|
||||||
["description"] = "A dropdown menu that shows a list of selectable items",
|
|
||||||
["size"] = 5896,
|
|
||||||
["default"] = false,
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "List",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["Flexbox"] = {
|
|
||||||
["path"] = "elements/Flexbox.lua",
|
|
||||||
["description"] = "A flexbox container that arranges its children in a flexible layout.",
|
|
||||||
["size"] = 11530,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "Container",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["Menu"] = {
|
|
||||||
["path"] = "elements/Menu.lua",
|
|
||||||
["description"] = "A horizontal menu bar with selectable items.",
|
|
||||||
["size"] = 4658,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "List",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["Table"] = {
|
|
||||||
["path"] = "elements/Table.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 7589,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["Checkbox"] = {
|
["Checkbox"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 2872,
|
||||||
["path"] = "elements/Checkbox.lua",
|
["path"] = "elements/Checkbox.lua",
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
["size"] = 2872,
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["Table"] = {
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
|
["size"] = 7589,
|
||||||
|
["path"] = "elements/Table.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["Dropdown"] = {
|
||||||
|
["default"] = false,
|
||||||
|
["size"] = 5896,
|
||||||
|
["path"] = "elements/Dropdown.lua",
|
||||||
|
["description"] = "A dropdown menu that shows a list of selectable items",
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "List",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["BaseFrame"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 5248,
|
||||||
|
["path"] = "elements/BaseFrame.lua",
|
||||||
|
["description"] = "This is the base frame class. It is the root element of all elements and the only element without a parent.",
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "Container",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["VisualElement"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 15495,
|
||||||
|
["path"] = "elements/VisualElement.lua",
|
||||||
|
["description"] = "The Visual Element class which is the base class for all visual UI elements",
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "BaseElement",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["List"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 8302,
|
||||||
|
["path"] = "elements/List.lua",
|
||||||
|
["description"] = "A scrollable list of selectable items",
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["Image"] = {
|
||||||
|
["default"] = false,
|
||||||
|
["size"] = 6593,
|
||||||
|
["path"] = "elements/Image.lua",
|
||||||
|
["description"] = "An element that displays an image in bimg format",
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["Label"] = {
|
["Label"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 2948,
|
||||||
["path"] = "elements/Label.lua",
|
["path"] = "elements/Label.lua",
|
||||||
["description"] = "A simple text display element that automatically resizes its width based on the text content.",
|
["description"] = "A simple text display element that automatically resizes its width based on the text content.",
|
||||||
["size"] = 2948,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["List"] = {
|
["Scrollbar"] = {
|
||||||
["path"] = "elements/List.lua",
|
|
||||||
["description"] = "A scrollable list of selectable items",
|
|
||||||
["size"] = 8302,
|
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
["requires"] = {
|
["size"] = 9166,
|
||||||
[1] = "VisualElement",
|
["path"] = "elements/Scrollbar.lua",
|
||||||
},
|
|
||||||
},
|
|
||||||
["Button"] = {
|
|
||||||
["path"] = "elements/Button.lua",
|
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
["size"] = 1632,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["Input"] = {
|
["Menu"] = {
|
||||||
["path"] = "elements/Input.lua",
|
|
||||||
["description"] = "A text input field with various features",
|
|
||||||
["size"] = 7057,
|
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
|
["size"] = 4658,
|
||||||
|
["path"] = "elements/Menu.lua",
|
||||||
|
["description"] = "A horizontal menu bar with selectable items.",
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "List",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["BaseElement"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 8488,
|
||||||
|
["path"] = "elements/BaseElement.lua",
|
||||||
|
["description"] = "The base class for all UI elements in Basalt.",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["ProgressBar"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 2273,
|
||||||
|
["path"] = "elements/ProgressBar.lua",
|
||||||
|
["description"] = "",
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["Frame"] = {
|
["Frame"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 1103,
|
||||||
["path"] = "elements/Frame.lua",
|
["path"] = "elements/Frame.lua",
|
||||||
["description"] = "A frame element that serves as a grouping container for other elements.",
|
["description"] = "A frame element that serves as a grouping container for other elements.",
|
||||||
["size"] = 1103,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "Container",
|
[1] = "Container",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["Container"] = {
|
["Flexbox"] = {
|
||||||
["path"] = "elements/Container.lua",
|
|
||||||
["description"] = "The container class. It is a visual element that can contain other elements. It is the base class for all containers",
|
|
||||||
["size"] = 22610,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["BaseFrame"] = {
|
|
||||||
["path"] = "elements/BaseFrame.lua",
|
|
||||||
["description"] = "This is the base frame class. It is the root element of all elements and the only element without a parent.",
|
|
||||||
["size"] = 5248,
|
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
|
["size"] = 11530,
|
||||||
|
["path"] = "elements/Flexbox.lua",
|
||||||
|
["description"] = "A flexbox container that arranges its children in a flexible layout.",
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "Container",
|
[1] = "Container",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["Tree"] = {
|
|
||||||
["path"] = "elements/Tree.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 7887,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
[1] = "VisualElement",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["BaseElement"] = {
|
|
||||||
["path"] = "elements/BaseElement.lua",
|
|
||||||
["description"] = "The base class for all UI elements in Basalt.",
|
|
||||||
["size"] = 8488,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["Program"] = {
|
["Program"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 6522,
|
||||||
["path"] = "elements/Program.lua",
|
["path"] = "elements/Program.lua",
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
["size"] = 6522,
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["Input"] = {
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
|
["size"] = 7057,
|
||||||
|
["path"] = "elements/Input.lua",
|
||||||
|
["description"] = "A text input field with various features",
|
||||||
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["Tree"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 7887,
|
||||||
|
["path"] = "elements/Tree.lua",
|
||||||
|
["description"] = "",
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["Slider"] = {
|
["Slider"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 4678,
|
||||||
["path"] = "elements/Slider.lua",
|
["path"] = "elements/Slider.lua",
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
["size"] = 4678,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
[1] = "VisualElement",
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
["Button"] = {
|
||||||
},
|
|
||||||
["plugins"] = {
|
|
||||||
["description"] = "Plugins",
|
|
||||||
["files"] = {
|
|
||||||
["animation"] = {
|
|
||||||
["path"] = "plugins/animation.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 14116,
|
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
|
["size"] = 1632,
|
||||||
|
["path"] = "elements/Button.lua",
|
||||||
|
["description"] = "",
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["theme"] = {
|
["Container"] = {
|
||||||
["path"] = "plugins/theme.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 5879,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["benchmark"] = {
|
|
||||||
["path"] = "plugins/benchmark.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 12515,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["state"] = {
|
|
||||||
["path"] = "plugins/state.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 5867,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["debug"] = {
|
|
||||||
["path"] = "plugins/debug.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 6175,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["reactive"] = {
|
|
||||||
["path"] = "plugins/reactive.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 6962,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["xml"] = {
|
|
||||||
["path"] = "plugins/xml.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 6371,
|
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
|
["size"] = 22610,
|
||||||
|
["path"] = "elements/Container.lua",
|
||||||
|
["description"] = "The container class. It is a visual element that can contain other elements. It is the base class for all containers",
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
|
[1] = "VisualElement",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -290,59 +200,149 @@ return {
|
|||||||
["core"] = {
|
["core"] = {
|
||||||
["description"] = "Core Files",
|
["description"] = "Core Files",
|
||||||
["files"] = {
|
["files"] = {
|
||||||
["elementManager"] = {
|
|
||||||
["path"] = "elementManager.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 6290,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["render"] = {
|
["render"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 10919,
|
||||||
["path"] = "render.lua",
|
["path"] = "render.lua",
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
["size"] = 10919,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["propertySystem"] = {
|
|
||||||
["path"] = "propertySystem.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 15220,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["main"] = {
|
|
||||||
["path"] = "main.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 7849,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
|
||||||
},
|
|
||||||
},
|
|
||||||
["log"] = {
|
|
||||||
["path"] = "log.lua",
|
|
||||||
["description"] = "",
|
|
||||||
["size"] = 3142,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["init"] = {
|
["init"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 519,
|
||||||
["path"] = "init.lua",
|
["path"] = "init.lua",
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
["size"] = 519,
|
|
||||||
["default"] = true,
|
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
["errorManager"] = {
|
["errorManager"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 3789,
|
||||||
["path"] = "errorManager.lua",
|
["path"] = "errorManager.lua",
|
||||||
["description"] = "",
|
["description"] = "",
|
||||||
["size"] = 3789,
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["elementManager"] = {
|
||||||
["default"] = true,
|
["default"] = true,
|
||||||
|
["size"] = 6290,
|
||||||
|
["path"] = "elementManager.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["propertySystem"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 15220,
|
||||||
|
["path"] = "propertySystem.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["log"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 3142,
|
||||||
|
["path"] = "log.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["main"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 7849,
|
||||||
|
["path"] = "main.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["libraries"] = {
|
||||||
|
["description"] = "Libraries",
|
||||||
|
["files"] = {
|
||||||
|
["expect"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 880,
|
||||||
|
["path"] = "libraries/expect.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["colorHex"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 132,
|
||||||
|
["path"] = "libraries/colorHex.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["utils"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 2661,
|
||||||
|
["path"] = "libraries/utils.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["plugins"] = {
|
||||||
|
["description"] = "Plugins",
|
||||||
|
["files"] = {
|
||||||
|
["reactive"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 6962,
|
||||||
|
["path"] = "plugins/reactive.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["debug"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 6175,
|
||||||
|
["path"] = "plugins/debug.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["xml"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 6389,
|
||||||
|
["path"] = "plugins/xml.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["state"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 5867,
|
||||||
|
["path"] = "plugins/state.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["theme"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 5885,
|
||||||
|
["path"] = "plugins/theme.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["animation"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 14116,
|
||||||
|
["path"] = "plugins/animation.lua",
|
||||||
|
["description"] = "",
|
||||||
|
["requires"] = {
|
||||||
|
},
|
||||||
|
},
|
||||||
|
["benchmark"] = {
|
||||||
|
["default"] = true,
|
||||||
|
["size"] = 12515,
|
||||||
|
["path"] = "plugins/benchmark.lua",
|
||||||
|
["description"] = "",
|
||||||
["requires"] = {
|
["requires"] = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -358,10 +358,10 @@ return cd end
|
|||||||
function cb:applyTheme()local dc=self:getTheme()if(dc~=nil)then
|
function cb:applyTheme()local dc=self:getTheme()if(dc~=nil)then
|
||||||
for _d,ad in pairs(dc)do self.set(_d,ad)end end end
|
for _d,ad in pairs(dc)do self.set(_d,ad)end end end
|
||||||
function cb:getTheme()local dc=self:____getElementPath()
|
function cb:getTheme()local dc=self:____getElementPath()
|
||||||
local _d=self.get("type")local ad=self.get("name")return bc(ab[bb],dc,_d,ad)end;local cc={}function cc.setTheme(dc)_b=dc end;function cc.getTheme()return _b end
|
local _d=self.get("type")local ad=self.get("name")return bc(ab[bb],dc,_d,ad)end;local cc={}function cc.setTheme(dc)ab.default=dc end
|
||||||
function cc.loadTheme(dc)
|
function cc.getTheme()return ab.default end
|
||||||
local _d=fs.open(dc,"r")if _d then local ad=_d.readAll()_d.close()
|
function cc.loadTheme(dc)local _d=fs.open(dc,"r")if _d then local ad=_d.readAll()_d.close()
|
||||||
_b=textutils.unserializeJSON(ad)end end;return{BaseElement=cb,API=cc} end
|
ab.default=textutils.unserializeJSON(ad)end end;return{BaseElement=cb,API=cc} end
|
||||||
project["plugins/reactive.lua"] = function(...) local ab=require("errorManager")
|
project["plugins/reactive.lua"] = function(...) local ab=require("errorManager")
|
||||||
local bb=require("propertySystem")local cb={colors=true,math=true,clamp=true,round=true}
|
local bb=require("propertySystem")local cb={colors=true,math=true,clamp=true,round=true}
|
||||||
local db={clamp=function(ad,bd,cd)return
|
local db={clamp=function(ad,bd,cd)return
|
||||||
@@ -434,7 +434,6 @@ for dc,_d in bc:gmatch('%s(%w+)="([^"]-)"')do cc.attributes[dc]=_d end;return cc
|
|||||||
local function ab(bc,cc)local dc={}local _d={children={}}local ad=_d;local bd=false;local cd=""
|
local function ab(bc,cc)local dc={}local _d={children={}}local ad=_d;local bd=false;local cd=""
|
||||||
for dd in cc:gmatch("[^\r\n]+")do
|
for dd in cc:gmatch("[^\r\n]+")do
|
||||||
dd=dd:match("^%s*(.-)%s*$")
|
dd=dd:match("^%s*(.-)%s*$")
|
||||||
bc.basalt.LOGGER.debug("Parsing line: "..dd)
|
|
||||||
if dd:match("^<!%[CDATA%[")then bd=true;cd=""elseif dd:match("%]%]>$")and bd then bd=false
|
if dd:match("^<!%[CDATA%[")then bd=true;cd=""elseif dd:match("%]%]>$")and bd then bd=false
|
||||||
ad.content=cd elseif bd then cd=cd..dd.."\n"elseif dd:match("^<[^/]")then local __a=_b(dd)__a.children={}
|
ad.content=cd elseif bd then cd=cd..dd.."\n"elseif dd:match("^<[^/]")then local __a=_b(dd)__a.children={}
|
||||||
__a.content=""table.insert(ad.children,__a)if not dd:match("/>$")then
|
__a.content=""table.insert(ad.children,__a)if not dd:match("/>$")then
|
||||||
@@ -456,9 +455,9 @@ local function cb(bc,cc,dc)if cc=="string"and type(bc)=="string"then if bc:find(
|
|||||||
return bb(bc,dc)end end
|
return bb(bc,dc)end end
|
||||||
if
|
if
|
||||||
type(bc)=="string"and bc:match("^%${.*}$")then return bb(bc,dc)end
|
type(bc)=="string"and bc:match("^%${.*}$")then return bb(bc,dc)end
|
||||||
if cc=="number"then return tonumber(bc)elseif cc=="boolean"then return bc=="true"elseif cc=="color"then return
|
if cc=="number"then if(tonumber(bc)==nil)then return bc end
|
||||||
colors[bc]elseif cc=="table"then local _d=setmetatable({},{__index=_ENV})local ad=load(
|
return tonumber(bc)elseif cc=="boolean"then return bc=="true"elseif cc=="color"then return colors[bc]elseif cc=="table"then
|
||||||
"return "..bc,nil,"t",_d)if ad then return ad()end end;return bc end
|
local _d=setmetatable({},{__index=_ENV})local ad=load("return "..bc,nil,"t",_d)if ad then return ad()end end;return bc end
|
||||||
local function db(bc,cc,dc)
|
local function db(bc,cc,dc)
|
||||||
for _d,ad in pairs(bc.attributes)do
|
for _d,ad in pairs(bc.attributes)do
|
||||||
if _d:match("^on%u")then
|
if _d:match("^on%u")then
|
||||||
|
|||||||
Reference in New Issue
Block a user