UNPKG

@lion/ui

Version:

A package of extendable web components

24 lines 2.9 kB
declare const LionFieldset_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/form-group/FormGroupMixinTypes.js").FormGroupHost> & Pick<typeof import("../../form-core/types/form-group/FormGroupMixinTypes.js").FormGroupHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/registration/FormRegistrarMixinTypes.js").FormRegistrarHost> & Pick<typeof import("../../form-core/types/registration/FormRegistrarMixinTypes.js").FormRegistrarHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/FormControlMixinTypes.js").FormControlHost> & Pick<typeof import("../../form-core/types/FormControlMixinTypes.js").FormControlHost, "prototype" | "properties" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/validate/ValidateMixinTypes.js").ValidateHost> & Pick<typeof import("../../form-core/types/validate/ValidateMixinTypes.js").ValidateHost, "prototype" | "validationTypes"> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/DisabledMixinTypes.js").DisabledHost> & Pick<typeof import("../../core/types/DisabledMixinTypes.js").DisabledHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> & Pick<typeof import("../../core/types/SlotMixinTypes.js").SlotHost, "prototype"> & Pick<typeof LitElement, typeof Symbol.metadata | "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "getPropertyOptions" | "shadowRootOptions">; /** * LionFieldset is basically a 'sub form' and can have its own nested sub forms. * It mimics the native <fieldset> element in this sense, but has all the functionality of * a FormControl (advanced styling, validation, interaction states etc.) Also see * FormGroupMixin it depends on. * * LionFieldset enables the '_isFormOrFieldset' flag in FormRegistrarMixin. This makes .formElements * act not only as an array, but also as an object (see FormRegistarMixin for more information). * As a bonus, It can also group children having names ending with '[]'. * * Above will be helpful for both forms and sub forms, which can contain sub forms as children * as well and allow for a nested form structure. * Contrary, other form groups (choice groups like radio-group, checkbox-group and (multi)select) * don't: they should be considered 'end nodes' or 'leaves' of the form and their children/formElements * cannot be accessed individually via object keys. * * @customElement lion-fieldset */ export class LionFieldset extends LionFieldset_base { } import { LitElement } from "lit"; export {}; //# sourceMappingURL=LionFieldset.d.ts.map