import { coerceBooleanProperty } from '@angular/cdk/coercion';
import * as i0 from '@angular/core';
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

class KbqDivider {
    constructor() {
        this._vertical = false;
        this._inset = false;
        this._paddings = true;
    }
    // Whether the divider is vertically aligned.
    get vertical() {
        return this._vertical;
    }
    set vertical(value) {
        this._vertical = coerceBooleanProperty(value);
    }
    // Whether the divider is an inset divider.
    get inset() {
        return this._inset;
    }
    set inset(value) {
        this._inset = coerceBooleanProperty(value);
    }
    get paddings() {
        return this._paddings;
    }
    set paddings(value) {
        this._paddings = coerceBooleanProperty(value);
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: KbqDivider, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: KbqDivider, selector: "kbq-divider", inputs: { vertical: "vertical", inset: "inset", paddings: "paddings" }, host: { properties: { "class.kbq-divider_vertical": "vertical", "class.kbq-divider_horizontal": "!vertical", "class.kbq-divider_inset": "inset", "class.kbq-divider_paddings": "paddings" }, classAttribute: "kbq-divider" }, ngImport: i0, template: '', isInline: true, styles: [".kbq-divider{display:block;margin:0}.kbq-divider.kbq-divider_horizontal{min-height:var(--kbq-divider-size-horizontal-width);height:var(--kbq-divider-size-horizontal-width)}.kbq-divider.kbq-divider_horizontal.kbq-divider_paddings{margin-top:var(--kbq-divider-size-horizontal-margin-vertical);margin-bottom:var(--kbq-divider-size-horizontal-margin-vertical)}.kbq-divider.kbq-divider_vertical{width:var(--kbq-divider-size-vertical-width);height:100%}.kbq-divider.kbq-divider_vertical.kbq-divider_paddings{margin-left:var(--kbq-divider-size-vertical-margin-horizontal);margin-right:var(--kbq-divider-size-vertical-margin-horizontal)}.kbq-divider{background:var(--kbq-divider-color)}\n", ".kbq-divider{--kbq-divider-size-horizontal-width: 1px;--kbq-divider-size-horizontal-margin-vertical: var(--kbq-size-xxs);--kbq-divider-size-vertical-width: 1px;--kbq-divider-size-vertical-margin-horizontal: var(--kbq-size-xxs);--kbq-divider-color: var(--kbq-line-contrast-less)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: KbqDivider, decorators: [{
            type: Component,
            args: [{ selector: 'kbq-divider', host: {
                        class: 'kbq-divider',
                        '[class.kbq-divider_vertical]': 'vertical',
                        '[class.kbq-divider_horizontal]': '!vertical',
                        '[class.kbq-divider_inset]': 'inset',
                        '[class.kbq-divider_paddings]': 'paddings'
                    }, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".kbq-divider{display:block;margin:0}.kbq-divider.kbq-divider_horizontal{min-height:var(--kbq-divider-size-horizontal-width);height:var(--kbq-divider-size-horizontal-width)}.kbq-divider.kbq-divider_horizontal.kbq-divider_paddings{margin-top:var(--kbq-divider-size-horizontal-margin-vertical);margin-bottom:var(--kbq-divider-size-horizontal-margin-vertical)}.kbq-divider.kbq-divider_vertical{width:var(--kbq-divider-size-vertical-width);height:100%}.kbq-divider.kbq-divider_vertical.kbq-divider_paddings{margin-left:var(--kbq-divider-size-vertical-margin-horizontal);margin-right:var(--kbq-divider-size-vertical-margin-horizontal)}.kbq-divider{background:var(--kbq-divider-color)}\n", ".kbq-divider{--kbq-divider-size-horizontal-width: 1px;--kbq-divider-size-horizontal-margin-vertical: var(--kbq-size-xxs);--kbq-divider-size-vertical-width: 1px;--kbq-divider-size-vertical-margin-horizontal: var(--kbq-size-xxs);--kbq-divider-color: var(--kbq-line-contrast-less)}\n"] }]
        }], propDecorators: { vertical: [{
                type: Input
            }], inset: [{
                type: Input
            }], paddings: [{
                type: Input
            }] } });

class KbqDividerModule {
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: KbqDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
    /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: KbqDividerModule, declarations: [KbqDivider], imports: [CommonModule], exports: [KbqDivider] }); }
    /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: KbqDividerModule, imports: [CommonModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: KbqDividerModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [CommonModule],
                    exports: [KbqDivider],
                    declarations: [KbqDivider]
                }]
        }] });

/**
 * Generated bundle index. Do not edit.
 */

export { KbqDivider, KbqDividerModule };
//# sourceMappingURL=koobiq-components-divider.mjs.map
