Update config, BasaltLS definitions, full and core bundles, and changelog
This commit is contained in:
10514
BasaltLS.lua
10514
BasaltLS.lua
File diff suppressed because it is too large
Load Diff
862
config.lua
862
config.lua
@@ -1,517 +1,517 @@
|
||||
return {
|
||||
["metadata"] = {
|
||||
["version"] = "2.0",
|
||||
["generated"] = "Tue Nov 4 21:41:15 2025",
|
||||
},
|
||||
["categories"] = {
|
||||
["libraries"] = {
|
||||
["files"] = {
|
||||
["utils"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "libraries/utils.lua",
|
||||
["size"] = 2661,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["collectionentry"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "libraries/collectionentry.lua",
|
||||
["size"] = 3551,
|
||||
["default"] = true,
|
||||
},
|
||||
["utils"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "libraries/utils.lua",
|
||||
["size"] = 2661,
|
||||
},
|
||||
["expect"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "libraries/expect.lua",
|
||||
["size"] = 846,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["colorHex"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "libraries/colorHex.lua",
|
||||
["size"] = 132,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
},
|
||||
["description"] = "Libraries",
|
||||
},
|
||||
["core"] = {
|
||||
["files"] = {
|
||||
["init"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "init.lua",
|
||||
["size"] = 622,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["elementManager"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "elementManager.lua",
|
||||
["size"] = 15411,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["errorManager"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "errorManager.lua",
|
||||
["size"] = 3789,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["log"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "log.lua",
|
||||
["size"] = 3142,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["propertySystem"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "propertySystem.lua",
|
||||
["size"] = 18186,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["render"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "render.lua",
|
||||
["size"] = 12422,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["layoutManager"] = {
|
||||
["errorManager"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "layoutManager.lua",
|
||||
["size"] = 3634,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
["path"] = "errorManager.lua",
|
||||
["size"] = 3789,
|
||||
},
|
||||
["main"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "main.lua",
|
||||
["size"] = 19883,
|
||||
["default"] = true,
|
||||
},
|
||||
["init"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "init.lua",
|
||||
["size"] = 622,
|
||||
},
|
||||
["log"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "log.lua",
|
||||
["size"] = 3142,
|
||||
},
|
||||
["layoutManager"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "layoutManager.lua",
|
||||
["size"] = 3634,
|
||||
},
|
||||
["elementManager"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elementManager.lua",
|
||||
["size"] = 15411,
|
||||
},
|
||||
["propertySystem"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "propertySystem.lua",
|
||||
["size"] = 18307,
|
||||
},
|
||||
},
|
||||
["description"] = "Core Files",
|
||||
},
|
||||
["elements"] = {
|
||||
["files"] = {
|
||||
["ContextMenu"] = {
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["path"] = "elements/ContextMenu.lua",
|
||||
["size"] = 10836,
|
||||
["default"] = false,
|
||||
["description"] = "A ContextMenu element that displays a menu with items and submenus.",
|
||||
},
|
||||
["Table"] = {
|
||||
["requires"] = {
|
||||
[1] = "Collection",
|
||||
},
|
||||
["path"] = "elements/Table.lua",
|
||||
["size"] = 25766,
|
||||
["default"] = false,
|
||||
["description"] = "The Table is a sortable data grid with customizable columns, row selection, and scrolling capabilities.",
|
||||
},
|
||||
["Input"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Input.lua",
|
||||
["size"] = 9456,
|
||||
["default"] = true,
|
||||
["description"] = "A text input field with various features",
|
||||
},
|
||||
["BaseElement"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "elements/BaseElement.lua",
|
||||
["size"] = 18432,
|
||||
["default"] = true,
|
||||
["description"] = "The base class for all UI elements in Basalt.",
|
||||
},
|
||||
["BarChart"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "elements/BarChart.lua",
|
||||
["size"] = 3547,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["List"] = {
|
||||
["requires"] = {
|
||||
[1] = "Collection",
|
||||
},
|
||||
["path"] = "elements/List.lua",
|
||||
["size"] = 15754,
|
||||
["default"] = true,
|
||||
["description"] = "A scrollable list of selectable items",
|
||||
},
|
||||
["BaseFrame"] = {
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["path"] = "elements/BaseFrame.lua",
|
||||
["size"] = 8972,
|
||||
["default"] = true,
|
||||
["description"] = "This is the base frame class. It is the root element of all elements and the only element without a parent.",
|
||||
},
|
||||
["Switch"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Switch.lua",
|
||||
["size"] = 3375,
|
||||
["default"] = false,
|
||||
["description"] = "The Switch is a standard Switch element with click handling and state management.",
|
||||
},
|
||||
["Image"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Image.lua",
|
||||
["size"] = 15372,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["Program"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Program.lua",
|
||||
["size"] = 12833,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
["ProgressBar"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/ProgressBar.lua",
|
||||
["size"] = 3440,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
["TabControl"] = {
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["path"] = "elements/TabControl.lua",
|
||||
["size"] = 21136,
|
||||
["default"] = false,
|
||||
["description"] = "A TabControl element that provides tabbed interface with multiple content areas.",
|
||||
},
|
||||
["Accordion"] = {
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["path"] = "elements/Accordion.lua",
|
||||
["size"] = 15169,
|
||||
["default"] = false,
|
||||
["description"] = "An Accordion element that provides collapsible panels with headers.",
|
||||
},
|
||||
["SideNav"] = {
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["path"] = "elements/SideNav.lua",
|
||||
["size"] = 22429,
|
||||
["default"] = false,
|
||||
["description"] = "A SideNav element that provides sidebar navigation with multiple content areas.",
|
||||
},
|
||||
["Toast"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Toast.lua",
|
||||
["size"] = 7945,
|
||||
["default"] = false,
|
||||
["description"] = "A toast notification element that displays temporary messages.",
|
||||
},
|
||||
["Timer"] = {
|
||||
["requires"] = {
|
||||
[1] = "BaseElement",
|
||||
},
|
||||
["path"] = "elements/Timer.lua",
|
||||
["size"] = 2962,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
["Display"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Display.lua",
|
||||
["size"] = 4549,
|
||||
["default"] = false,
|
||||
["description"] = "The Display is a special element which uses the CC Window API which you can use.",
|
||||
},
|
||||
["Button"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Button.lua",
|
||||
["size"] = 2461,
|
||||
["default"] = true,
|
||||
["description"] = "The Button is a standard button element with click handling and state management.",
|
||||
},
|
||||
["Slider"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Slider.lua",
|
||||
["size"] = 5211,
|
||||
["default"] = false,
|
||||
["description"] = "A slider control element for selecting a value within a range.",
|
||||
},
|
||||
["DropDown"] = {
|
||||
["requires"] = {
|
||||
[1] = "List",
|
||||
},
|
||||
["path"] = "elements/DropDown.lua",
|
||||
["size"] = 7988,
|
||||
["default"] = false,
|
||||
["description"] = "A DropDown menu that shows a list of selectable items",
|
||||
},
|
||||
["Label"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Label.lua",
|
||||
["size"] = 3184,
|
||||
["default"] = true,
|
||||
["description"] = "A simple text display element that automatically resizes its width based on the text content.",
|
||||
},
|
||||
["ScrollBar"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/ScrollBar.lua",
|
||||
["size"] = 9941,
|
||||
["default"] = false,
|
||||
["description"] = "A ScrollBar element that can be attached to other elements to control their scroll properties.",
|
||||
},
|
||||
["Frame"] = {
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["path"] = "elements/Frame.lua",
|
||||
["size"] = 6742,
|
||||
["default"] = true,
|
||||
["description"] = "A frame element that serves as a grouping container for other elements.",
|
||||
},
|
||||
["CheckBox"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "elements/CheckBox.lua",
|
||||
["size"] = 3748,
|
||||
["default"] = true,
|
||||
["description"] = "This is a checkbox. It is a visual element that can be checked.",
|
||||
},
|
||||
["BigFont"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/BigFont.lua",
|
||||
["size"] = 21675,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
["TextBox"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/TextBox.lua",
|
||||
["size"] = 44462,
|
||||
["default"] = false,
|
||||
["description"] = "A multi-line text editor component with cursor support and text manipulation features",
|
||||
},
|
||||
["VisualElement"] = {
|
||||
["requires"] = {
|
||||
[1] = "BaseElement",
|
||||
},
|
||||
["path"] = "elements/VisualElement.lua",
|
||||
["size"] = 45338,
|
||||
["default"] = true,
|
||||
["description"] = "The Visual Element class which is the base class for all visual UI elements",
|
||||
},
|
||||
["Dialog"] = {
|
||||
["requires"] = {
|
||||
[1] = "Frame",
|
||||
},
|
||||
["path"] = "elements/Dialog.lua",
|
||||
["size"] = 9125,
|
||||
["default"] = false,
|
||||
["description"] = "A dialog overlay system with common presets (alert, confirm, prompt).",
|
||||
},
|
||||
["Breadcrumb"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Breadcrumb.lua",
|
||||
["size"] = 4461,
|
||||
["default"] = false,
|
||||
["description"] = "A breadcrumb navigation element that displays the current path.",
|
||||
},
|
||||
["Collection"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Collection.lua",
|
||||
["size"] = 7874,
|
||||
["default"] = true,
|
||||
["description"] = "A collection of items",
|
||||
},
|
||||
["ScrollFrame"] = {
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["path"] = "elements/ScrollFrame.lua",
|
||||
["size"] = 17831,
|
||||
["default"] = false,
|
||||
["description"] = "A scrollable container that automatically displays scrollbars when content overflows.",
|
||||
},
|
||||
["Tree"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Tree.lua",
|
||||
["size"] = 22552,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
["Menu"] = {
|
||||
["requires"] = {
|
||||
[1] = "List",
|
||||
},
|
||||
["path"] = "elements/Menu.lua",
|
||||
["size"] = 8758,
|
||||
["default"] = true,
|
||||
["description"] = "A horizontal menu bar with selectable items.",
|
||||
},
|
||||
["ComboBox"] = {
|
||||
["requires"] = {
|
||||
[1] = "DropDown",
|
||||
},
|
||||
["path"] = "elements/ComboBox.lua",
|
||||
["size"] = 15143,
|
||||
["default"] = false,
|
||||
["description"] = "A ComboBox that combines dropdown selection with editable text input",
|
||||
},
|
||||
["Container"] = {
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["path"] = "elements/Container.lua",
|
||||
["size"] = 27731,
|
||||
["default"] = true,
|
||||
["description"] = "The container class. It is a visual element that can contain other elements. It is the base class for all containers",
|
||||
},
|
||||
["Graph"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "elements/Graph.lua",
|
||||
["size"] = 7045,
|
||||
["default"] = false,
|
||||
["description"] = "A point based graph element",
|
||||
},
|
||||
["LineChart"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "elements/LineChart.lua",
|
||||
["size"] = 3228,
|
||||
["default"] = true,
|
||||
["description"] = "",
|
||||
},
|
||||
},
|
||||
["description"] = "UI Elements",
|
||||
},
|
||||
["plugins"] = {
|
||||
["files"] = {
|
||||
["xml"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "plugins/xml.lua",
|
||||
["size"] = 14068,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
["canvas"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "plugins/canvas.lua",
|
||||
["size"] = 7897,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
["debug"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "plugins/debug.lua",
|
||||
["size"] = 6274,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
["reactive"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "plugins/reactive.lua",
|
||||
["size"] = 11869,
|
||||
["default"] = false,
|
||||
["path"] = "plugins/reactive.lua",
|
||||
["size"] = 11893,
|
||||
},
|
||||
["responsive"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "plugins/responsive.lua",
|
||||
["size"] = 5529,
|
||||
},
|
||||
["theme"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "plugins/theme.lua",
|
||||
["size"] = 6801,
|
||||
},
|
||||
["animation"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "plugins/animation.lua",
|
||||
["size"] = 18446,
|
||||
},
|
||||
["benchmark"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "plugins/benchmark.lua",
|
||||
["size"] = 12604,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
["theme"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "plugins/theme.lua",
|
||||
["size"] = 6801,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
["responsive"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "plugins/responsive.lua",
|
||||
["size"] = 5529,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
["animation"] = {
|
||||
["requires"] = {
|
||||
},
|
||||
["path"] = "plugins/animation.lua",
|
||||
["size"] = 18446,
|
||||
["default"] = false,
|
||||
["description"] = "",
|
||||
},
|
||||
},
|
||||
["description"] = "Plugins",
|
||||
},
|
||||
["elements"] = {
|
||||
["files"] = {
|
||||
["Display"] = {
|
||||
["description"] = "The Display is a special element which uses the CC Window API which you can use.",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Display.lua",
|
||||
["size"] = 4549,
|
||||
},
|
||||
["DropDown"] = {
|
||||
["description"] = "A DropDown menu that shows a list of selectable items",
|
||||
["requires"] = {
|
||||
[1] = "List",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/DropDown.lua",
|
||||
["size"] = 7988,
|
||||
},
|
||||
["Switch"] = {
|
||||
["description"] = "The Switch is a standard Switch element with click handling and state management.",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Switch.lua",
|
||||
["size"] = 3375,
|
||||
},
|
||||
["BaseFrame"] = {
|
||||
["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",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/BaseFrame.lua",
|
||||
["size"] = 8972,
|
||||
},
|
||||
["Table"] = {
|
||||
["description"] = "The Table is a sortable data grid with customizable columns, row selection, and scrolling capabilities.",
|
||||
["requires"] = {
|
||||
[1] = "Collection",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Table.lua",
|
||||
["size"] = 25766,
|
||||
},
|
||||
["Slider"] = {
|
||||
["description"] = "A slider control element for selecting a value within a range.",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Slider.lua",
|
||||
["size"] = 5211,
|
||||
},
|
||||
["Input"] = {
|
||||
["description"] = "A text input field with various features",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/Input.lua",
|
||||
["size"] = 9456,
|
||||
},
|
||||
["Collection"] = {
|
||||
["description"] = "A collection of items",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/Collection.lua",
|
||||
["size"] = 7874,
|
||||
},
|
||||
["TextBox"] = {
|
||||
["description"] = "A multi-line text editor component with cursor support and text manipulation features",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/TextBox.lua",
|
||||
["size"] = 44462,
|
||||
},
|
||||
["BarChart"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/BarChart.lua",
|
||||
["size"] = 3547,
|
||||
},
|
||||
["Accordion"] = {
|
||||
["description"] = "An Accordion element that provides collapsible panels with headers.",
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Accordion.lua",
|
||||
["size"] = 15169,
|
||||
},
|
||||
["Dialog"] = {
|
||||
["description"] = "A dialog overlay system with common presets (alert, confirm, prompt).",
|
||||
["requires"] = {
|
||||
[1] = "Frame",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Dialog.lua",
|
||||
["size"] = 9125,
|
||||
},
|
||||
["Toast"] = {
|
||||
["description"] = "A toast notification element that displays temporary messages.",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Toast.lua",
|
||||
["size"] = 7945,
|
||||
},
|
||||
["BigFont"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/BigFont.lua",
|
||||
["size"] = 21675,
|
||||
},
|
||||
["TabControl"] = {
|
||||
["description"] = "A TabControl element that provides tabbed interface with multiple content areas.",
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/TabControl.lua",
|
||||
["size"] = 21136,
|
||||
},
|
||||
["SideNav"] = {
|
||||
["description"] = "A SideNav element that provides sidebar navigation with multiple content areas.",
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/SideNav.lua",
|
||||
["size"] = 22429,
|
||||
},
|
||||
["CheckBox"] = {
|
||||
["description"] = "This is a checkbox. It is a visual element that can be checked.",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/CheckBox.lua",
|
||||
["size"] = 3748,
|
||||
},
|
||||
["Image"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/Image.lua",
|
||||
["size"] = 15372,
|
||||
},
|
||||
["Menu"] = {
|
||||
["description"] = "A horizontal menu bar with selectable items.",
|
||||
["requires"] = {
|
||||
[1] = "List",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/Menu.lua",
|
||||
["size"] = 8758,
|
||||
},
|
||||
["Frame"] = {
|
||||
["description"] = "A frame element that serves as a grouping container for other elements.",
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/Frame.lua",
|
||||
["size"] = 6742,
|
||||
},
|
||||
["ContextMenu"] = {
|
||||
["description"] = "A ContextMenu element that displays a menu with items and submenus.",
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/ContextMenu.lua",
|
||||
["size"] = 10836,
|
||||
},
|
||||
["List"] = {
|
||||
["description"] = "A scrollable list of selectable items",
|
||||
["requires"] = {
|
||||
[1] = "Collection",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/List.lua",
|
||||
["size"] = 15754,
|
||||
},
|
||||
["BaseElement"] = {
|
||||
["description"] = "The base class for all UI elements in Basalt.",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/BaseElement.lua",
|
||||
["size"] = 18468,
|
||||
},
|
||||
["Program"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Program.lua",
|
||||
["size"] = 12833,
|
||||
},
|
||||
["ProgressBar"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/ProgressBar.lua",
|
||||
["size"] = 3440,
|
||||
},
|
||||
["Label"] = {
|
||||
["description"] = "A simple text display element that automatically resizes its width based on the text content.",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/Label.lua",
|
||||
["size"] = 3184,
|
||||
},
|
||||
["LineChart"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/LineChart.lua",
|
||||
["size"] = 3228,
|
||||
},
|
||||
["ScrollBar"] = {
|
||||
["description"] = "A ScrollBar element that can be attached to other elements to control their scroll properties.",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/ScrollBar.lua",
|
||||
["size"] = 9941,
|
||||
},
|
||||
["Button"] = {
|
||||
["description"] = "The Button is a standard button element with click handling and state management.",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/Button.lua",
|
||||
["size"] = 2461,
|
||||
},
|
||||
["Tree"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Tree.lua",
|
||||
["size"] = 22552,
|
||||
},
|
||||
["Container"] = {
|
||||
["description"] = "The container class. It is a visual element that can contain other elements. It is the base class for all containers",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/Container.lua",
|
||||
["size"] = 27731,
|
||||
},
|
||||
["VisualElement"] = {
|
||||
["description"] = "The Visual Element class which is the base class for all visual UI elements",
|
||||
["requires"] = {
|
||||
[1] = "BaseElement",
|
||||
},
|
||||
["default"] = true,
|
||||
["path"] = "elements/VisualElement.lua",
|
||||
["size"] = 45338,
|
||||
},
|
||||
["ScrollFrame"] = {
|
||||
["description"] = "A scrollable container that automatically displays scrollbars when content overflows.",
|
||||
["requires"] = {
|
||||
[1] = "Container",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/ScrollFrame.lua",
|
||||
["size"] = 17831,
|
||||
},
|
||||
["Timer"] = {
|
||||
["description"] = "",
|
||||
["requires"] = {
|
||||
[1] = "BaseElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Timer.lua",
|
||||
["size"] = 2962,
|
||||
},
|
||||
["Breadcrumb"] = {
|
||||
["description"] = "A breadcrumb navigation element that displays the current path.",
|
||||
["requires"] = {
|
||||
[1] = "VisualElement",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Breadcrumb.lua",
|
||||
["size"] = 4461,
|
||||
},
|
||||
["ComboBox"] = {
|
||||
["description"] = "A ComboBox that combines dropdown selection with editable text input",
|
||||
["requires"] = {
|
||||
[1] = "DropDown",
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/ComboBox.lua",
|
||||
["size"] = 15143,
|
||||
},
|
||||
["Graph"] = {
|
||||
["description"] = "A point based graph element",
|
||||
["requires"] = {
|
||||
},
|
||||
["default"] = false,
|
||||
["path"] = "elements/Graph.lua",
|
||||
["size"] = 7045,
|
||||
},
|
||||
},
|
||||
["description"] = "UI Elements",
|
||||
},
|
||||
},
|
||||
["metadata"] = {
|
||||
["generated"] = "Wed Nov 5 00:37:16 2025",
|
||||
["version"] = "2.0",
|
||||
},
|
||||
}
|
||||
@@ -1201,8 +1201,9 @@ table.sort(_b,function(ab,bb)
|
||||
return ab.priority>bb.priority end)return _b end
|
||||
function ca:updateConditionalStates()
|
||||
for da,_b in pairs(self._registeredStates)do
|
||||
if _b.condition then if _b.condition(self)then
|
||||
self:setState(da,_b.priority)else self:unsetState(da)end end end;return self end
|
||||
if _b.condition then
|
||||
local ab=_b.condition(self)if ab then self:setState(da,_b.priority)else
|
||||
self:unsetState(da)end end end;return self end
|
||||
function ca:registerResponsiveState(da,_b,ab)local bb=100;local cb={}
|
||||
if type(ab)=="number"then bb=ab elseif type(ab)=="table"then bb=
|
||||
ab.priority or 100;cb=ab.observe or{}end;local db;local _c=type(_b)=="string"
|
||||
@@ -1681,11 +1682,13 @@ local ad=self._properties[bc]if(ad==nil)then da.error("Property not found: "..bc
|
||||
return end;if
|
||||
type(_d)=="function"and ad.type~="function"then _d=_d(self)end;return
|
||||
ad.getter and ad.getter(self,_d,...)or _d end
|
||||
self.getResolved=function(bc,...)local cc=self:getCurrentState()local dc
|
||||
self.getResolved=function(bc,...)local cc=self:getActiveStates()local dc=nil;for ad,bd in ipairs(cc)do
|
||||
if
|
||||
cc and self._states and
|
||||
self._states[cc]and self._states[cc][bc]~=nil then dc=self._states[cc][bc]else dc=self._values[bc]end;local _d=self._properties[bc]if(_d==nil)then
|
||||
da.error("Property not found: "..bc)return end;if
|
||||
self._states and
|
||||
self._states[bd.name]and self._states[bd.name][bc]~=nil then dc=self._states[bd.name][bc]break end end;if dc==
|
||||
nil then dc=self._values[bc]end
|
||||
local _d=self._properties[bc]if(_d==nil)then da.error("Property not found: "..bc)
|
||||
return end;if
|
||||
type(dc)=="function"and _d.type~="function"then dc=dc(self)end;return
|
||||
_d.getter and _d.getter(self,dc,...)or dc end;local cb={}local db=getmetatable(self).__index
|
||||
while db do if
|
||||
|
||||
@@ -3087,8 +3087,9 @@ table.sort(_b,function(ab,bb)
|
||||
return ab.priority>bb.priority end)return _b end
|
||||
function ca:updateConditionalStates()
|
||||
for da,_b in pairs(self._registeredStates)do
|
||||
if _b.condition then if _b.condition(self)then
|
||||
self:setState(da,_b.priority)else self:unsetState(da)end end end;return self end
|
||||
if _b.condition then
|
||||
local ab=_b.condition(self)if ab then self:setState(da,_b.priority)else
|
||||
self:unsetState(da)end end end;return self end
|
||||
function ca:registerResponsiveState(da,_b,ab)local bb=100;local cb={}
|
||||
if type(ab)=="number"then bb=ab elseif type(ab)=="table"then bb=
|
||||
ab.priority or 100;cb=ab.observe or{}end;local db;local _c=type(_b)=="string"
|
||||
@@ -3637,13 +3638,13 @@ cb.error("Could not find element: "..baa)return nil end;return
|
||||
daa:getState(caa).value end,__getProperty=function(baa,caa)if
|
||||
tonumber(baa)then return nil end
|
||||
if baa=="self"then if a_a._properties[caa]then
|
||||
return a_a.get(caa)end;if
|
||||
return a_a.getResolved(caa)end;if
|
||||
a_a._registeredStates and a_a._registeredStates[caa]then return a_a:hasState(caa)end
|
||||
local daa=a_a.get("states")if daa and daa[caa]~=nil then return true end
|
||||
cb.header="Reactive evaluation error"
|
||||
cb.error("Property or state '"..caa..
|
||||
"' not found in element '"..a_a:getType().."'")return nil elseif baa=="parent"then if a_a.parent._properties[caa]then return
|
||||
a_a.parent.get(caa)end;if a_a.parent._registeredStates and
|
||||
a_a.parent.getResolved(caa)end;if a_a.parent._registeredStates and
|
||||
a_a.parent._registeredStates[caa]then
|
||||
return a_a.parent:hasState(caa)end
|
||||
local daa=a_a.parent.get("states")if daa and daa[caa]~=nil then return true end
|
||||
@@ -3651,7 +3652,7 @@ cb.header="Reactive evaluation error"
|
||||
cb.error("Property or state '"..caa.."' not found in parent element")return nil else local daa=a_a.parent:getChild(baa)if not daa then
|
||||
cb.header="Reactive evaluation error"
|
||||
cb.error("Could not find element: "..baa)return nil end;if
|
||||
daa._properties[caa]then return daa.get(caa)end
|
||||
daa._properties[caa]then return daa.getResolved(caa)end
|
||||
if daa._registeredStates and
|
||||
daa._registeredStates[caa]then return daa:hasState(caa)end;local _ba=daa.get("states")
|
||||
if _ba and _ba[caa]~=nil then return true end;cb.header="Reactive evaluation error"
|
||||
@@ -4409,11 +4410,13 @@ local ad=self._properties[bc]if(ad==nil)then da.error("Property not found: "..bc
|
||||
return end;if
|
||||
type(_d)=="function"and ad.type~="function"then _d=_d(self)end;return
|
||||
ad.getter and ad.getter(self,_d,...)or _d end
|
||||
self.getResolved=function(bc,...)local cc=self:getCurrentState()local dc
|
||||
self.getResolved=function(bc,...)local cc=self:getActiveStates()local dc=nil;for ad,bd in ipairs(cc)do
|
||||
if
|
||||
cc and self._states and
|
||||
self._states[cc]and self._states[cc][bc]~=nil then dc=self._states[cc][bc]else dc=self._values[bc]end;local _d=self._properties[bc]if(_d==nil)then
|
||||
da.error("Property not found: "..bc)return end;if
|
||||
self._states and
|
||||
self._states[bd.name]and self._states[bd.name][bc]~=nil then dc=self._states[bd.name][bc]break end end;if dc==
|
||||
nil then dc=self._values[bc]end
|
||||
local _d=self._properties[bc]if(_d==nil)then da.error("Property not found: "..bc)
|
||||
return end;if
|
||||
type(dc)=="function"and _d.type~="function"then dc=dc(self)end;return
|
||||
_d.getter and _d.getter(self,dc,...)or dc end;local cb={}local db=getmetatable(self).__index
|
||||
while db do if
|
||||
|
||||
Reference in New Issue
Block a user