/**
* The auro-checkbox-group element is a wrapper for auro-checkbox element.
*
* @attr {String} validity - Specifies the `validityState` this element is in.
* @attr {String} setCustomValidity - Sets a custom help text message to display for all validityStates.
* @attr {String} setCustomValidityCustomError - Custom help text message to display when validity = `customError`.
* @attr {String} setCustomValidityValueMissing - Custom help text message to display when validity = `valueMissing`.
* @attr {String} error - When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
* @attr {Boolean} noValidate - If set, disables auto-validation on blur.
* @attr {Boolean} required - Populates the `required` attribute on the element. Used for client-side validation.
* @attr {Boolean} horizontal - If set, checkboxes will be aligned horizontally.
* @slot {HTMLSlotElement} legend - Allows for the legend to be overridden.
* @slot {HTMLSlotElement} optionalLabel - Allows for the optional label to be overridden.
* @slot {HTMLSlotElement} helpText - Allows for the helper text to be overridden.
* @event auroFormElement-validated - Notifies that the `validity` and `errorMessage` values have changed.
*/
export class AuroCheckboxGroup extends LitElement {
static get styles(): import("lit").CSSResult[];
static get properties(): {
disabled: {
type: BooleanConstructor;
reflect: boolean;
};
horizontal: {
type: BooleanConstructor;
reflect: boolean;
};
value: {
type: ArrayConstructor;
};
noValidate: {
type: BooleanConstructor;
reflect: boolean;
};
required: {
type: BooleanConstructor;
reflect: boolean;
};
error: {
type: StringConstructor;
reflect: boolean;
};
setCustomValidity: {
type: StringConstructor;
};
setCustomValidityCustomError: {
type: StringConstructor;
};
setCustomValidityValueMissing: {
type: StringConstructor;
};
validity: {
type: StringConstructor;
reflect: boolean;
};
};
/**
* This will register this element with the browser.
* @param {string} [name="auro-checkbox-group"] - The name of element that you want to register to.
*
* @example
* AuroCheckboxGroup.register("custom-checkbox-group") // this will register this element to
*
*/
static register(name?: string): void;
validity: any;
value: any[];
disabled: any;
required: boolean;
horizontal: boolean;
/**
* @private
*/
private index;
/**
* @private
*/
private maxNumber;
/**
* @private
*/
private validation;
/**
* @private
*/
private runtimeUtils;
/**
* Helper method to handle checkbox value changing.
* @private
* @param {String} value - The value of the checkbox.
* @param {Boolean} selected - The checked state of the checkbox.
* @returns {void}
*/
private handleValueUpdate;
firstUpdated(): void;
focusWithin: boolean;
/**
* Helper method that handles the state of preselected checkboxes.
* @private
* @returns {void}
*/
private handlePreselectedItems;
/**
* Helper method that handles the state of checkboxes.
* @private
* @returns {void}
*/
private handleItems;
items: Element[];
/**
* LitElement lifecycle method. Called after the DOM has been updated.
* @param {Map} changedProperties - Keys are the names of changed properties, values are the corresponding previous values.
* @returns {void}
*/
updated(changedProperties: Map): void;
render(): import("lit-html").TemplateResult<1>;
}
import { LitElement } from "lit";
//# sourceMappingURL=auro-checkbox-group.d.ts.map