UNPKG

@manuth/woltlab-compiler

Version:

A compiler for generating WoltLab-Package `.tar` Archives and other WoltLab-Package Components

55 lines (54 loc) 1.42 kB
import { ICategory } from "../ICategory.js"; import { Option } from "../Option.js"; import { IACPOptionOptions } from "./IACPOptionOptions.js"; /** * Represents an option for the control-panel. */ export declare class ACPOption extends Option { /** * A value indicating whether the option is visible. */ private visible; /** * A value indicating whether the option is localizable. */ private localizable; /** * A value indicating whether to force localization. */ private forceLocalization; /** * Initializes a new instance of the {@link ACPOption `ACPOption`} class. * * @param category * The category of the option. * * @param options * The options of the acp-option. */ constructor(category: ICategory, options: IACPOptionOptions); /** * Gets or sets a value indicating whether the option is visible. */ get Visible(): boolean; /** * @inheritdoc */ set Visible(value: boolean); /** * Gets or sets a value indicating whether the option is localizable. */ get Localizable(): boolean; /** * @inheritdoc */ set Localizable(value: boolean); /** * Gets or sets a value indicating whether to force localization. */ get ForceLocalization(): boolean; /** * @inheritdoc */ set ForceLocalization(value: boolean); }