/**
 * A page object for the elements that use the required-visible mixin.
 */
export class RequiredVisiblePatternPageObject {
    constructor(element) {
        this.element = element;
    }
    isRequiredVisibleIconVisible() {
        const icon = this.getRequiredVisibleIcon();
        if (!icon) {
            return false;
        }
        return getComputedStyle(icon).display !== 'none';
    }
    getRequiredVisibleIcon() {
        return this.element.shadowRoot.querySelector('.required-icon');
    }
}
//# sourceMappingURL=required-visible-pattern.pageobject.js.map