first commit
Build and deploy / build-and-push (push) Successful in 17s
Build and deploy / deploy (push) Successful in 10s

This commit is contained in:
william
2026-08-21 16:23:49 +02:00
committed by william
commit 3f4ebc4527
248 changed files with 10180 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from .registry import WIDGETS
from .layout_capable_widgets import LAYOUT_CAPABLE_WIDGETS
from .control_groups.layout_controls import LAYOUT_CONTROLS
from .control_groups.universal_controls import UNIVERSAL_CONTROLS
def widget_meta(widget_key):
base = dict(WIDGETS.get(widget_key, WIDGETS["conteneur"]))
controls = list(base.get("controls", []))
if widget_key in LAYOUT_CAPABLE_WIDGETS:
controls = controls + LAYOUT_CONTROLS
controls = controls + UNIVERSAL_CONTROLS
base["controls"] = controls
return base