import { MXBaseComponent, AXComponent, MXValueComponent, MXColorComponent } from '@acorex/cdk/common';
import * as i0 from '@angular/core';
import { Component, forwardRef, HostBinding, Input, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
import { classes } from 'polytype';
import { CommonModule } from '@angular/common';

/**
 * @category
 * Displays content for different switch states using `<ng-content>`.
 */
class AXSwitchContentComponent extends MXBaseComponent {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AXSwitchContentComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.9", type: AXSwitchContentComponent, isStandalone: true, selector: "ax-switch-handler-content,ax-switch-handler-on-content,ax-switch-handler-off-content,ax-switch-off-content,ax-switch-on-content", providers: [{ provide: AXComponent, useExisting: AXSwitchContentComponent }], usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AXSwitchContentComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'ax-switch-handler-content,ax-switch-handler-on-content,ax-switch-handler-off-content,ax-switch-off-content,ax-switch-on-content',
                    template: `<ng-content></ng-content>`,
                    providers: [{ provide: AXComponent, useExisting: AXSwitchContentComponent }],
                }]
        }] });

/**
 * @category
 * A switch component that allows toggling between on and off states.
 */
class AXSwitchComponent extends classes((MXValueComponent), MXColorComponent) {
    /**
     * @ignore
     */
    _handleOnClickEvent(e) {
        this.onTouchedCallback();
        if (this.readonly || this.disabled) {
            e.preventDefault();
            e.stopPropagation();
        }
        else {
            this.commitValue(!this.value, true);
        }
    }
    /**
     * @ignore
     */
    get __hostClass() {
        if (this.color === 'default') {
            return 'ax-primary';
        }
        else {
            return `ax-${this.color ? this.color : 'primary'}`;
        }
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AXSwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.9", type: AXSwitchComponent, isStandalone: true, selector: "ax-switch", inputs: { disabled: "disabled", readonly: "readonly", color: "color", tabIndex: "tabIndex", value: "value", name: "name", isLoading: "isLoading" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", readonlyChange: "readonlyChange", disabledChange: "disabledChange" }, host: { properties: { "class": "this.__hostClass" } }, providers: [
            {
                provide: NG_VALUE_ACCESSOR,
                useExisting: forwardRef(() => AXSwitchComponent),
                multi: true,
            },
            { provide: AXComponent, useExisting: AXSwitchComponent },
        ], usesInheritance: true, ngImport: i0, template: "<button\n  type=\"button\"\n  role=\"switch\"\n  [class.ax-state-disabled]=\"disabled\"\n  [class.ax-state-readonly]=\"readonly\"\n  (focus)=\"emitOnFocusEvent($event)\"\n  (blur)=\"emitOnBlurEvent($event)\"\n  [class.ax-switch-checked]=\"value\"\n  (click)=\"_handleOnClickEvent($event)\"\n>\n  <div class=\"ax-switch-handle\">\n    @if (isLoading) {\n      <span class=\"ax-loader\"></span>\n    }\n    @if (!isLoading) {\n      <ng-content select=\"ax-switch-handler-content\"></ng-content>\n    }\n    @if (!isLoading && value) {\n      <ng-content select=\"ax-switch-handler-on-content\"></ng-content>\n    }\n    @if (!isLoading && !value) {\n      <ng-content select=\"ax-switch-handler-off-content\"></ng-content>\n    }\n  </div>\n  @if (!value) {\n    <span class=\"ax-switch-inner\">\n      <ng-content select=\"ax-switch-off-content\"></ng-content>\n    </span>\n  }\n  @if (value) {\n    <span class=\"ax-switch-inner\">\n      <ng-content select=\"ax-switch-on-content\"></ng-content>\n    </span>\n  }\n</button>\n", styles: ["ax-switch{--ax-comp-switch-unchecked-bg-color: var(--ax-sys-color-dark);--ax-comp-switch-handle-unchecked-bg-color: var(--ax-sys-color-light);--ax-comp-switch-uncheked-bg-color-opacity: .3}ax-switch.ax-primary{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-primary-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-primary-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-primary-surface)}ax-switch.ax-secondary{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-secondary-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-secondary-surface)}ax-switch.ax-success{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-success-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-success-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-success-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-success-surface)}ax-switch.ax-warning{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-warning-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-warning-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-warning-surface)}ax-switch.ax-danger{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-danger-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-danger-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-danger-surface)}ax-switch.ax-accent1{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent1-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent1-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent1-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent1-surface)}ax-switch.ax-accent2{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent2-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent2-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent2-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent2-surface)}ax-switch.ax-accent3{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent3-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent3-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent3-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent3-surface)}ax-switch.ax-accent4{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent4-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent4-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent4-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent4-surface)}ax-switch.ax-accent5{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent5-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent5-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent5-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent5-surface)}ax-switch.ax-accent6{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent6-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent6-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent6-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent6-surface)}ax-switch.ax-accent7{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent7-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent7-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent7-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent7-surface)}.ax-dark ax-switch{--ax-comp-switch-unchecked-bg-color: var(--ax-sys-color-light)}ax-switch{line-height:initial}ax-switch.ax-sm button{min-width:2rem;height:1rem;line-height:1rem}ax-switch.ax-sm button:active .ax-switch-handle{width:1rem}ax-switch.ax-sm button .ax-switch-handle .ax-loader{min-height:10px!important;min-width:10px!important}ax-switch.ax-sm .ax-switch-handle{height:.75rem;width:.75rem}ax-switch.ax-lg button{min-width:2.5rem;height:1.5rem;line-height:1.5rem}ax-switch.ax-lg button:active .ax-switch-handle{width:1.5rem}ax-switch.ax-lg .ax-switch-handle{height:1.25rem;width:1.25rem}ax-switch button{position:relative;display:inline-block;height:1.25rem;min-width:2.25rem;cursor:pointer;border-radius:9999px;vertical-align:middle;line-height:1.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-color:rgba(var(--ax-comp-switch-unchecked-bg-color),var(--ax-comp-switch-uncheked-bg-color-opacity))!important}ax-switch button:focus-visible{outline-width:2px;outline-offset:2px;outline-color:rgba(var(--ax-comp-switch-focus-visible-outline-color))}ax-switch button:active .ax-switch-handle{width:1.25rem}ax-switch button.ax-switch-checked{background-color:rgba(var(--ax-comp-switch-checked-bg-color))!important}ax-switch button.ax-switch-checked .ax-switch-handle{inset-inline-end:.125rem;inset-inline-start:initial;background-color:rgba(var(--ax-comp-switch-handle-checked-bg-color))}ax-switch button.ax-switch-checked .ax-switch-inner{margin-inline-end:1.5rem;margin-inline-start:.375rem}ax-switch button .ax-switch-handle{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;background-color:rgba(var(--ax-comp-switch-handle-unchecked-bg-color));position:absolute;inset-inline-start:.125rem;top:.125rem;display:flex;height:1rem;width:1rem;align-items:center;justify-content:center;border-radius:9999px;font-size:80%;--ax-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--ax-shadow-colored: 0 1px 2px 0 var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow)}ax-switch button .ax-switch-handle:active{width:1.25rem}ax-switch button .ax-switch-handle .ax-loader{animation:rotation .5s linear infinite;box-sizing:border-box;display:inline-block;min-height:12px;min-width:12px;transform:translateY(-50%);border-radius:9999px;border-width:2px;border-style:solid;border-color:rgb(var(--ax-comp-switch-loading-color));border-bottom-color:transparent}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}ax-switch button .ax-switch-handle:before{content:\"\";position:absolute;border-radius:1000vmax;background-color:rgba(var(--ax-sys-color-surface));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-switch button .ax-switch-inner{transition:margin .2s;margin-inline-end:.375rem;margin-inline-start:1.5rem;display:block}ax-switch button .ax-switch-inner ax-switch-on-content,ax-switch button .ax-switch-inner ax-switch-off-content{display:flex;padding-left:.25rem;padding-right:.25rem;font-size:.875rem;line-height:1.25rem}ax-switch .ax-state-disabled{cursor:not-allowed;opacity:.5}ax-switch .ax-state-readonly{opacity:.75}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AXSwitchComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-switch', inputs: ['disabled', 'readonly', 'color', 'tabIndex', 'value', 'name'], outputs: ['onBlur', 'onFocus', 'valueChange', 'onValueChanged', 'readonlyChange', 'disabledChange'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
                        {
                            provide: NG_VALUE_ACCESSOR,
                            useExisting: forwardRef(() => AXSwitchComponent),
                            multi: true,
                        },
                        { provide: AXComponent, useExisting: AXSwitchComponent },
                    ], template: "<button\n  type=\"button\"\n  role=\"switch\"\n  [class.ax-state-disabled]=\"disabled\"\n  [class.ax-state-readonly]=\"readonly\"\n  (focus)=\"emitOnFocusEvent($event)\"\n  (blur)=\"emitOnBlurEvent($event)\"\n  [class.ax-switch-checked]=\"value\"\n  (click)=\"_handleOnClickEvent($event)\"\n>\n  <div class=\"ax-switch-handle\">\n    @if (isLoading) {\n      <span class=\"ax-loader\"></span>\n    }\n    @if (!isLoading) {\n      <ng-content select=\"ax-switch-handler-content\"></ng-content>\n    }\n    @if (!isLoading && value) {\n      <ng-content select=\"ax-switch-handler-on-content\"></ng-content>\n    }\n    @if (!isLoading && !value) {\n      <ng-content select=\"ax-switch-handler-off-content\"></ng-content>\n    }\n  </div>\n  @if (!value) {\n    <span class=\"ax-switch-inner\">\n      <ng-content select=\"ax-switch-off-content\"></ng-content>\n    </span>\n  }\n  @if (value) {\n    <span class=\"ax-switch-inner\">\n      <ng-content select=\"ax-switch-on-content\"></ng-content>\n    </span>\n  }\n</button>\n", styles: ["ax-switch{--ax-comp-switch-unchecked-bg-color: var(--ax-sys-color-dark);--ax-comp-switch-handle-unchecked-bg-color: var(--ax-sys-color-light);--ax-comp-switch-uncheked-bg-color-opacity: .3}ax-switch.ax-primary{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-primary-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-primary-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-primary-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-primary-surface)}ax-switch.ax-secondary{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-secondary-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-secondary-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-secondary-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-secondary-surface)}ax-switch.ax-success{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-success-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-success-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-success-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-success-surface)}ax-switch.ax-warning{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-warning-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-warning-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-warning-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-warning-surface)}ax-switch.ax-danger{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-danger-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-danger-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-danger-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-danger-surface)}ax-switch.ax-accent1{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent1-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent1-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent1-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent1-surface)}ax-switch.ax-accent2{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent2-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent2-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent2-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent2-surface)}ax-switch.ax-accent3{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent3-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent3-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent3-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent3-surface)}ax-switch.ax-accent4{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent4-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent4-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent4-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent4-surface)}ax-switch.ax-accent5{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent5-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent5-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent5-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent5-surface)}ax-switch.ax-accent6{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent6-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent6-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent6-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent6-surface)}ax-switch.ax-accent7{--ax-comp-switch-focus-visible-outline-color: var(--ax-sys-color-accent7-surface);--ax-comp-switch-checked-bg-color: var(--ax-sys-color-accent7-surface);--ax-comp-switch-handle-checked-bg-color: var(--ax-sys-color-on-accent7-surface);--ax-comp-switch-loading-color: var(--ax-sys-color-accent7-surface)}.ax-dark ax-switch{--ax-comp-switch-unchecked-bg-color: var(--ax-sys-color-light)}ax-switch{line-height:initial}ax-switch.ax-sm button{min-width:2rem;height:1rem;line-height:1rem}ax-switch.ax-sm button:active .ax-switch-handle{width:1rem}ax-switch.ax-sm button .ax-switch-handle .ax-loader{min-height:10px!important;min-width:10px!important}ax-switch.ax-sm .ax-switch-handle{height:.75rem;width:.75rem}ax-switch.ax-lg button{min-width:2.5rem;height:1.5rem;line-height:1.5rem}ax-switch.ax-lg button:active .ax-switch-handle{width:1.5rem}ax-switch.ax-lg .ax-switch-handle{height:1.25rem;width:1.25rem}ax-switch button{position:relative;display:inline-block;height:1.25rem;min-width:2.25rem;cursor:pointer;border-radius:9999px;vertical-align:middle;line-height:1.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-color:rgba(var(--ax-comp-switch-unchecked-bg-color),var(--ax-comp-switch-uncheked-bg-color-opacity))!important}ax-switch button:focus-visible{outline-width:2px;outline-offset:2px;outline-color:rgba(var(--ax-comp-switch-focus-visible-outline-color))}ax-switch button:active .ax-switch-handle{width:1.25rem}ax-switch button.ax-switch-checked{background-color:rgba(var(--ax-comp-switch-checked-bg-color))!important}ax-switch button.ax-switch-checked .ax-switch-handle{inset-inline-end:.125rem;inset-inline-start:initial;background-color:rgba(var(--ax-comp-switch-handle-checked-bg-color))}ax-switch button.ax-switch-checked .ax-switch-inner{margin-inline-end:1.5rem;margin-inline-start:.375rem}ax-switch button .ax-switch-handle{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;background-color:rgba(var(--ax-comp-switch-handle-unchecked-bg-color));position:absolute;inset-inline-start:.125rem;top:.125rem;display:flex;height:1rem;width:1rem;align-items:center;justify-content:center;border-radius:9999px;font-size:80%;--ax-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--ax-shadow-colored: 0 1px 2px 0 var(--ax-shadow-color);box-shadow:var(--ax-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-ring-shadow, 0 0 rgba(0, 0, 0, 0)),var(--ax-shadow)}ax-switch button .ax-switch-handle:active{width:1.25rem}ax-switch button .ax-switch-handle .ax-loader{animation:rotation .5s linear infinite;box-sizing:border-box;display:inline-block;min-height:12px;min-width:12px;transform:translateY(-50%);border-radius:9999px;border-width:2px;border-style:solid;border-color:rgb(var(--ax-comp-switch-loading-color));border-bottom-color:transparent}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}ax-switch button .ax-switch-handle:before{content:\"\";position:absolute;border-radius:1000vmax;background-color:rgba(var(--ax-sys-color-surface));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}ax-switch button .ax-switch-inner{transition:margin .2s;margin-inline-end:.375rem;margin-inline-start:1.5rem;display:block}ax-switch button .ax-switch-inner ax-switch-on-content,ax-switch button .ax-switch-inner ax-switch-off-content{display:flex;padding-left:.25rem;padding-right:.25rem;font-size:.875rem;line-height:1.25rem}ax-switch .ax-state-disabled{cursor:not-allowed;opacity:.5}ax-switch .ax-state-readonly{opacity:.75}\n"] }]
        }], propDecorators: { isLoading: [{
                type: Input
            }], __hostClass: [{
                type: HostBinding,
                args: ['class']
            }] } });

class AXSwitchModule {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AXSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
    static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.9", ngImport: i0, type: AXSwitchModule, imports: [CommonModule, FormsModule, AXSwitchComponent, AXSwitchContentComponent], exports: [AXSwitchComponent, AXSwitchContentComponent] }); }
    static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AXSwitchModule, imports: [CommonModule, FormsModule] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.9", ngImport: i0, type: AXSwitchModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [CommonModule, FormsModule, AXSwitchComponent, AXSwitchContentComponent],
                    exports: [AXSwitchComponent, AXSwitchContentComponent],
                    providers: [],
                }]
        }] });

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

export { AXSwitchComponent, AXSwitchContentComponent, AXSwitchModule };
//# sourceMappingURL=acorex-components-switch.mjs.map
