var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { html, css } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { TiniElement, partMap, VaryGroups, generateColorVaries, generateGradientVaries, generateScaleVaries } from 'tinijs';
export class IconDatabaseFillCheckComponent extends TiniElement {
    static { this.defaultTagName = 'icon-database-fill-check'; }
    static { this.componentName = 'icon'; }
    static { this.styles = css `:host{--icon-width:var(--scale-md-2x);--icon-height:var(--scale-md-2x);--icon-scheme:none;--icon-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLWRhdGFiYXNlLWZpbGwtY2hlY2siIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEyLjUgMTZhMy41IDMuNSAwIDEgMCAwLTcgMy41IDMuNSAwIDAgMCAwIDdtMS42NzktNC40OTMtMS4zMzUgMi4yMjZhLjc1Ljc1IDAgMCAxLTEuMTc0LjE0NGwtLjc3NC0uNzczYS41LjUgMCAwIDEgLjcwOC0uNzA4bC41NDcuNTQ4IDEuMTctMS45NTFhLjUuNSAwIDEgMSAuODU4LjUxNFpNOCAxYy0xLjU3MyAwLTMuMDIyLjI4OS00LjA5Ni43NzdDMi44NzUgMi4yNDUgMiAyLjk5MyAyIDRzLjg3NSAxLjc1NSAxLjkwNCAyLjIyM0M0Ljk3OCA2LjcxMSA2LjQyNyA3IDggN3MzLjAyMi0uMjg5IDQuMDk2LS43NzdDMTMuMTI1IDUuNzU1IDE0IDUuMDA3IDE0IDRzLS44NzUtMS43NTUtMS45MDQtMi4yMjNDMTEuMDIyIDEuMjg5IDkuNTczIDEgOCAxIi8+PHBhdGggZD0iTTIgN3YtLjgzOWMuNDU3LjQzMiAxLjAwNC43NTEgMS40OS45NzJDNC43MjIgNy42OTMgNi4zMTggOCA4IDhzMy4yNzgtLjMwNyA0LjUxLS44NjdjLjQ4Ni0uMjIgMS4wMzMtLjU0IDEuNDktLjk3MlY3YzAgLjQyNC0uMTU1LjgwMi0uNDExIDEuMTMzYTQuNTEgNC41MSAwIDAgMC00LjgxNSAxLjg0M0ExMi4zMSAxMi4zMSAwIDAgMSA4IDEwYy0xLjU3MyAwLTMuMDIyLS4yODktNC4wOTYtLjc3N0MyLjg3NSA4Ljc1NSAyIDguMDA3IDIgN202LjI1NyAzLjk5OEw4IDExYy0xLjY4MiAwLTMuMjc4LS4zMDctNC41MS0uODY3LS40ODYtLjIyLTEuMDMzLS41NC0xLjQ5LS45NzJWMTBjMCAxLjAwNy44NzUgMS43NTUgMS45MDQgMi4yMjNDNC45NzggMTIuNzExIDYuNDI3IDEzIDggMTNoLjAyN2E0LjU1MiA0LjU1MiAwIDAgMSAuMjMtMi4wMDJtLS4wMDIgM0w4IDE0Yy0xLjY4MiAwLTMuMjc4LS4zMDctNC41MS0uODY3LS40ODYtLjIyLTEuMDMzLS41NC0xLjQ5LS45NzJWMTNjMCAxLjAwNy44NzUgMS43NTUgMS45MDQgMi4yMjNDNC45NzggMTUuNzExIDYuNDI3IDE2IDggMTZjLjUzNiAwIDEuMDU4LS4wMzQgMS41NTUtLjA5N2E0LjUwNyA0LjUwNyAwIDAgMS0xLjMtMS45MDUiLz48L3N2Zz4=');display:inline-block}i{display:flex;align-items:center;justify-content:center;background-image:var(--icon-image);background-repeat:no-repeat;background-size:contain;background-position:center;width:var(--icon-width);height:var(--icon-height)}.scheme{background:var(--icon-scheme);-webkit-mask-image:var(--icon-image);-webkit-mask-size:var(--icon-width) var(--icon-height);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:var(--icon-image);mask-size:var(--icon-width) var(--icon-height);mask-repeat:no-repeat;mask-position:center}${generateColorVaries(({ fullName, color }) => `.${fullName} {--icon-scheme: ${color};}`)}${generateGradientVaries(({ fullName, gradient }) => `.${fullName} {--icon-scheme: ${gradient};}`)}${generateScaleVaries(({ name, fullName }) => `.${fullName} {--icon-width: var(--scale-${name}-2x);--icon-height: var(--scale-${name}-2x);}`)}`; }
    willUpdate() { this.extendRootClasses({ raw: { scheme: !!this.scheme }, overridable: { [VaryGroups.Scale]: this.scale, [VaryGroups.Scheme]: this.scheme } }); }
    render() { return html `<i class=${classMap(this.rootClasses)} part=${partMap(this.rootClasses)}></i>`; }
}
__decorate([
    property({ type: String, reflect: true })
], IconDatabaseFillCheckComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconDatabaseFillCheckComponent.prototype, "scheme", void 0);
//# sourceMappingURL=database-fill-check.js.map