Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Module ui/recording-panel/gui-builder

    GUI / control-visibility helpers extracted from recording-panel.ts.

    The buildGUI and updateControlVisibility methods stay in the panel — they touch a dozen lil-gui controller instances by name and parameterizing them would just move the coupling around. What this module owns is the pure mode → format and format → predicate logic that the visibility rule checks against.

    Pulling these out makes the rules testable without instantiating a RecordingPanel and lets future format additions land in one place.

    ControlVisibilityDecision
    FORMAT_LABEL_TO_VALUE
    CODEC_LABEL_TO_VALUE
    getValidFormatsForMode
    getDefaultFormatForMode
    isImageSequenceFormat
    isVideoContainerFormat
    computeControlVisibility