import * as i1 from '@angular/common';
import { CommonModule } from '@angular/common';
import * as i0 from '@angular/core';
import { Component, ChangeDetectionStrategy, Input, EventEmitter, Output, ViewChild, HostListener, NgModule } from '@angular/core';
import * as i3 from 'ng-devui/common';
import { DCommonModule } from 'ng-devui/common';
import * as i2 from 'ng-devui/loading';
import { LoadingModule } from 'ng-devui/loading';

class ButtonGroupComponent {
    constructor() {
        this.size = 'md';
    }
}
ButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
ButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: ButtonGroupComponent, selector: "d-button-group", inputs: { size: "size" }, ngImport: i0, template: "<div class=\"devui-btn-group {{ size ? 'devui-btn-group-' + size : '' }}\">\n  <ng-content></ng-content>\n</div>\n", styles: [".devui-font-size-base{font-size:12px;font-size:var(--devui-font-size, 12px)}.devui-font-base{font-size:12px;font-size:var(--devui-font-size, 12px);font-weight:400;line-height:1.5}.devui-font-size-modal-title{font-size:18px;font-size:var(--devui-font-size-modal-title, 18px)}.devui-font-modal-title{font-size:18px;font-size:var(--devui-font-size-modal-title, 18px);font-weight:700;line-height:1.5}.devui-font-size-page-title{font-size:16px;font-size:var(--devui-font-size-page-title, 16px)}.devui-font-page-title{font-size:16px;font-size:var(--devui-font-size-page-title, 16px);font-weight:700;line-height:1.5}.devui-font-size-secondary-title{font-size:14px;font-size:var(--devui-font-size-card-title, 14px)}.devui-font-secondary-title{font-size:14px;font-size:var(--devui-font-size-card-title, 14px);font-weight:700;line-height:1.5}.devui-btn{padding:0 20px;padding:var(--devui-btn-padding, 0 20px);font-size:12px;font-size:var(--devui-font-size-md, 12px);height:28px;line-height:1.5;border-radius:2px;border-radius:var(--devui-border-radius, 2px);border-width:1px;border-color:transparent;background-color:transparent}.devui-btn.devui-btn-common{color:#252b3a;color:var(--devui-text, #252b3a);min-width:64px;background-color:#fff;background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg, var(--devui-base-bg, #ffffff));border-color:var(--devui-line, #d7d8da);border-color:#d7d8da;border-color:var(--devui-btn-common-border-color, var(--devui-line, #d7d8da))}.devui-btn.devui-btn-stress,.devui-btn.devui-btn-primary{color:#fff;color:var(--devui-light-text, #ffffff);min-width:64px;background-color:#5e7ce0;background-color:var(--devui-primary, #5e7ce0)}.devui-btn.devui-btn-danger{color:#fff;color:var(--devui-light-text, #ffffff);min-width:64px;background-color:#c7000b;background-color:var(--devui-contrast, #c7000b)}.devui-btn.devui-btn-left{border-radius:2px 0 0 2px;border-radius:var(--devui-border-radius, 2px) 0 0 var(--devui-border-radius, 2px)}.devui-btn.devui-btn-right{border-radius:0 2px 2px 0;border-radius:0 var(--devui-border-radius, 2px) var(--devui-border-radius, 2px) 0}.devui-btn.devui-btn-xs,:host ::ng-deep .devui-btn-group-xs .devui-btn{padding:0 4px;height:24px;font-size:12px;font-size:var(--devui-font-size-sm, 12px);min-width:48px}.devui-btn.devui-btn-sm,:host ::ng-deep .devui-btn-group-sm .devui-btn{padding:0 16px;padding:var(--devui-btn-sm-padding, 0 16px);height:24px;font-size:12px;font-size:var(--devui-font-size-sm, 12px);min-width:56px}.devui-btn.devui-btn-lg,:host ::ng-deep .devui-btn-group-lg .devui-btn{padding:0 24px;padding:var(--devui-btn-lg-padding, 0 24px);height:32px;font-size:14px;font-size:var(--devui-font-size-lg, 14px);min-width:72px}.devui-btn.devui-btn-text,.devui-btn.devui-btn-text-dark{color:#526ecc;color:var(--devui-brand-active, #526ecc);padding:0}.devui-btn.devui-btn-text:hover{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text:focus{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text:active,.devui-btn.devui-btn-text-dark:hover{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text-dark:focus{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text-dark:active{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-common:hover{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-hover, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-hover, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-hover, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-common:focus{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-active, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-active, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-active, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-common:active{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-active, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-active, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-active, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-stress:hover{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-stress:focus{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-stress:active{background-color:#344899;background-color:var(--devui-primary-active, #344899)}.devui-btn.devui-btn-primary:hover{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-primary:focus{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-primary:active{background-color:#344899;background-color:var(--devui-primary-active, #344899)}.devui-btn.devui-btn-danger:hover{background-color:#d64a52;background-color:var(--devui-contrast-hover, #d64a52)}.devui-btn.devui-btn-danger:focus{background-color:#d64a52;background-color:var(--devui-contrast-hover, #d64a52)}.devui-btn.devui-btn-danger:active{background-color:#b12220;background-color:var(--devui-contrast-active, #b12220)}.devui-btn.devui-btn-common:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3);background:#f5f5f5;background:var(--devui-disabled-bg, #f5f5f5);border-color:var(--devui-disabled-line, #dfe1e6);border-color:#dfe1e6;border-color:var(--devui-btn-common-border-disabled, var(--devui-disabled-line, #dfe1e6))}.devui-btn.devui-btn-primary:disabled{color:#fff;color:var(--devui-light-text, #ffffff);background:#beccfa;background:var(--devui-primary-disabled, #beccfa);border:none}.devui-btn.devui-btn-danger:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3);background:#f5f5f5;background:var(--devui-disabled-bg, #f5f5f5);border:1px solid #dfe1e6;border:1px solid var(--devui-disabled-line, #dfe1e6)}.devui-btn.devui-btn-text-dark:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3)}.devui-btn.devui-btn-text:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3)}.devui-btn.bordered.devui-btn-common{color:#252b3a;color:var(--devui-text, #252b3a);border-color:transparent}.devui-btn.bordered.devui-btn-common:hover,.devui-btn.bordered.devui-btn-common:focus{border-color:#7693f5;border-color:var(--devui-primary-hover, #7693f5)}.devui-btn.bordered.devui-btn-common:active{border-color:#344899;border-color:var(--devui-primary-active, #344899)}.devui-btn.bordered.devui-btn-stress,.devui-btn.bordered.devui-btn-primary{border-color:#5e7ce0;border-color:var(--devui-brand, #5e7ce0);color:#5e7ce0;color:var(--devui-brand, #5e7ce0);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-success{border-color:#50d4ab;border-color:var(--devui-success, #50d4ab);color:#50d4ab;color:var(--devui-success, #50d4ab);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-warning{border-color:#fac20a;border-color:var(--devui-warning, #fac20a);color:#fac20a;color:var(--devui-warning, #fac20a);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-danger{border-color:#f66f6a;border-color:var(--devui-danger, #f66f6a);color:#f66f6a;color:var(--devui-danger, #f66f6a);background-color:#f66f6a;background-color:var(--devui-danger, #f66f6a)}.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):hover,.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):focus{border:1px solid #f2f2f3;border:1px solid var(--devui-list-item-hover-bg, #f2f2f3);background-color:#f2f2f3;background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):disabled{background-color:#f5f5f5;background-color:var(--devui-disabled-bg, #f5f5f5)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap{color:#252b3a;color:var(--devui-text, #252b3a)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap .devui-icon-fix,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap .devui-icon-fix{color:#71757f;color:var(--devui-icon-fill, #71757f)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap:hover,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap:hover{color:#252b3a;color:var(--devui-icon-fill-hover, #252b3a)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap:hover .devui-icon-fix,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap:hover .devui-icon-fix{color:#252b3a;color:var(--devui-icon-fill-hover, #252b3a)}.devui-loading .devui-loading-default-spinner div{background-color:#252b3a;background-color:var(--devui-text, #252b3a)}:host{display:inline-block}.devui-btn{transition:background-color .3s cubic-bezier(.645,.045,.355,1),border-color .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);transition:background-color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1)),border-color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1)),color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1));border-style:solid;white-space:nowrap;display:flex;align-items:center;justify-content:center}.devui-btn:disabled,.devui-btn[disabled]{cursor:not-allowed}.devui-btn.d-btn-icon{padding:8px;line-height:1em;min-width:0;min-width:initial;border:1px solid transparent}.devui-btn.d-btn-icon:not(.devui-btn-common){border:1px solid transparent}.devui-btn.d-btn-icon.devui-btn-xs,:host ::ng-deep .devui-btn-group-xs .devui-btn.d-btn-icon,.devui-btn.d-btn-icon.devui-btn-sm,:host ::ng-deep .devui-btn-group-sm .devui-btn.d-btn-icon{padding:4px}.devui-btn.d-btn-icon.devui-btn-xs,:host ::ng-deep .devui-btn-group-xs .devui-btn.d-btn-icon{min-width:24px}.devui-btn.d-btn-icon.devui-btn-sm,:host ::ng-deep .devui-btn-group-sm .devui-btn.d-btn-icon{min-width:24px}.devui-btn.d-btn-icon.devui-btn-lg,:host ::ng-deep .devui-btn-group-lg .devui-btn.d-btn-icon{min-width:32px}.devui-btn.d-btn-icon.devui-btn-lg .icon,:host ::ng-deep .devui-btn-group-lg .devui-btn.d-btn-icon .icon{font-size:16px;font-size:var(--devui-font-size-icon, 16px)}.devui-btn:not(.d-btn-icon) .icon-fix{font-size:16px;font-size:var(--devui-font-size-icon, 16px)}.devui-icon-fix{position:relative;font-size:12px;font-size:var(--devui-font-size, 12px)}.devui-icon-fix:before{transition:color .3s cubic-bezier(.645,.045,.355,1);transition:color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1))}.devui-btn.devui-btn-common:not(:disabled) .devui-icon-fix{color:#575d6c;color:var(--devui-text-weak, #575d6c)}.devui-btn.devui-btn-common:not(:disabled):hover .devui-icon-fix,.devui-btn.devui-btn-common:not(:disabled):active .devui-icon-fix,.devui-btn.devui-btn-common:not(:disabled):focus .devui-icon-fix{color:#252b3a;color:var(--devui-icon-fill-active, #252b3a)}.button-content{display:inline-block;position:relative}.clear-right-4{margin-right:4px}.devui-btn-more-text-omits{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.devui-btn-circle{border-radius:100%}:host ::ng-deep .devui-btn-group{display:flex}:host ::ng-deep .devui-btn-group>*{position:relative}:host ::ng-deep .devui-btn-group>*:not(:first-child) .devui-dropdown-toggle:not(d-button),:host ::ng-deep .devui-btn-group>*:not(:first-child) .devui-btn{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}:host ::ng-deep .devui-btn-group>*:not(:first-child) .devui-dropdown-toggle:not(d-button).devui-btn-primary,:host ::ng-deep .devui-btn-group>*:not(:first-child) .devui-btn.devui-btn-primary{margin-left:0}:host ::ng-deep .devui-btn-group>*:not(:first-child) .devui-dropdown-menu{left:-1px}:host ::ng-deep .devui-btn-group>*:not(:last-child) .devui-dropdown-toggle,:host ::ng-deep .devui-btn-group>*:not(:last-child) .devui-btn{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep .devui-btn-group>* .devui-dropdown-origin{z-index:0}:host ::ng-deep .devui-btn-group>*:hover,:host ::ng-deep .devui-btn-group>*:active{z-index:1}:host ::ng-deep .devui-btn-group>*:focus-within{z-index:1}:host ::ng-deep d-button+d-button .devui-btn-primary:not(:disabled):before,:host ::ng-deep d-button+d-button .devui-btn-common:not(:disabled):before,:host ::ng-deep d-button+d-button .devui-btn-danger:not(:disabled):before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:1px;background-color:#fff3}:host ::ng-deep d-button+d-button .devui-btn:disabled{border-left-style:none;margin-left:0}:host ::ng-deep d-button:active+d-button .devui-btn-primary:not(:disabled):before,:host ::ng-deep d-button+d-button:active .devui-btn-primary:not(:disabled):before{background-color:#344899;background-color:var(--devui-primary-active, #344899)}:host ::ng-deep d-button:active+d-button .devui-btn-common:not(:disabled):before,:host ::ng-deep d-button+d-button:active .devui-btn-common:not(:disabled):before{background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-active, var(--devui-base-bg, #ffffff))}:host ::ng-deep d-button:active+d-button .devui-btn-danger:not(:disabled):before,:host ::ng-deep d-button+d-button:active .devui-btn-danger:not(:disabled):before{background-color:#b12220;background-color:var(--devui-contrast-active, #b12220)}:host ::ng-deep d-button:focus-within+d-button .devui-btn-primary:not(:disabled):before,:host ::ng-deep d-button+d-button:focus-within .devui-btn-primary:not(:disabled):before,:host ::ng-deep d-button:hover+d-button .devui-btn-primary:not(:disabled):before,:host ::ng-deep d-button+d-button:hover .devui-btn-primary:not(:disabled):before{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}:host ::ng-deep d-button:focus-within+d-button .devui-btn-common:not(:disabled):before,:host ::ng-deep d-button+d-button:focus-within .devui-btn-common:not(:disabled):before,:host ::ng-deep d-button:hover+d-button .devui-btn-common:not(:disabled):before,:host ::ng-deep d-button+d-button:hover .devui-btn-common:not(:disabled):before{background-color:var(--devui-form-control-line-active, #5e7ce0);background-color:#5e7ce0;background-color:var(--devui-btn-common-border-color-hover, var(--devui-form-control-line-active, #5e7ce0))}:host ::ng-deep d-button:focus-within+d-button .devui-btn-danger:not(:disabled):before,:host ::ng-deep d-button+d-button:focus-within .devui-btn-danger:not(:disabled):before,:host ::ng-deep d-button:hover+d-button .devui-btn-danger:not(:disabled):before,:host ::ng-deep d-button+d-button:hover .devui-btn-danger:not(:disabled):before{background-color:#d64a52;background-color:var(--devui-contrast-hover, #d64a52)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ButtonGroupComponent, decorators: [{
            type: Component,
            args: [{ selector: 'd-button-group', changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<div class=\"devui-btn-group {{ size ? 'devui-btn-group-' + size : '' }}\">\n  <ng-content></ng-content>\n</div>\n", styles: [".devui-font-size-base{font-size:12px;font-size:var(--devui-font-size, 12px)}.devui-font-base{font-size:12px;font-size:var(--devui-font-size, 12px);font-weight:400;line-height:1.5}.devui-font-size-modal-title{font-size:18px;font-size:var(--devui-font-size-modal-title, 18px)}.devui-font-modal-title{font-size:18px;font-size:var(--devui-font-size-modal-title, 18px);font-weight:700;line-height:1.5}.devui-font-size-page-title{font-size:16px;font-size:var(--devui-font-size-page-title, 16px)}.devui-font-page-title{font-size:16px;font-size:var(--devui-font-size-page-title, 16px);font-weight:700;line-height:1.5}.devui-font-size-secondary-title{font-size:14px;font-size:var(--devui-font-size-card-title, 14px)}.devui-font-secondary-title{font-size:14px;font-size:var(--devui-font-size-card-title, 14px);font-weight:700;line-height:1.5}.devui-btn{padding:0 20px;padding:var(--devui-btn-padding, 0 20px);font-size:12px;font-size:var(--devui-font-size-md, 12px);height:28px;line-height:1.5;border-radius:2px;border-radius:var(--devui-border-radius, 2px);border-width:1px;border-color:transparent;background-color:transparent}.devui-btn.devui-btn-common{color:#252b3a;color:var(--devui-text, #252b3a);min-width:64px;background-color:#fff;background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg, var(--devui-base-bg, #ffffff));border-color:var(--devui-line, #d7d8da);border-color:#d7d8da;border-color:var(--devui-btn-common-border-color, var(--devui-line, #d7d8da))}.devui-btn.devui-btn-stress,.devui-btn.devui-btn-primary{color:#fff;color:var(--devui-light-text, #ffffff);min-width:64px;background-color:#5e7ce0;background-color:var(--devui-primary, #5e7ce0)}.devui-btn.devui-btn-danger{color:#fff;color:var(--devui-light-text, #ffffff);min-width:64px;background-color:#c7000b;background-color:var(--devui-contrast, #c7000b)}.devui-btn.devui-btn-left{border-radius:2px 0 0 2px;border-radius:var(--devui-border-radius, 2px) 0 0 var(--devui-border-radius, 2px)}.devui-btn.devui-btn-right{border-radius:0 2px 2px 0;border-radius:0 var(--devui-border-radius, 2px) var(--devui-border-radius, 2px) 0}.devui-btn.devui-btn-xs,:host ::ng-deep .devui-btn-group-xs .devui-btn{padding:0 4px;height:24px;font-size:12px;font-size:var(--devui-font-size-sm, 12px);min-width:48px}.devui-btn.devui-btn-sm,:host ::ng-deep .devui-btn-group-sm .devui-btn{padding:0 16px;padding:var(--devui-btn-sm-padding, 0 16px);height:24px;font-size:12px;font-size:var(--devui-font-size-sm, 12px);min-width:56px}.devui-btn.devui-btn-lg,:host ::ng-deep .devui-btn-group-lg .devui-btn{padding:0 24px;padding:var(--devui-btn-lg-padding, 0 24px);height:32px;font-size:14px;font-size:var(--devui-font-size-lg, 14px);min-width:72px}.devui-btn.devui-btn-text,.devui-btn.devui-btn-text-dark{color:#526ecc;color:var(--devui-brand-active, #526ecc);padding:0}.devui-btn.devui-btn-text:hover{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text:focus{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text:active,.devui-btn.devui-btn-text-dark:hover{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text-dark:focus{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text-dark:active{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-common:hover{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-hover, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-hover, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-hover, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-common:focus{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-active, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-active, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-active, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-common:active{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-active, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-active, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-active, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-stress:hover{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-stress:focus{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-stress:active{background-color:#344899;background-color:var(--devui-primary-active, #344899)}.devui-btn.devui-btn-primary:hover{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-primary:focus{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-primary:active{background-color:#344899;background-color:var(--devui-primary-active, #344899)}.devui-btn.devui-btn-danger:hover{background-color:#d64a52;background-color:var(--devui-contrast-hover, #d64a52)}.devui-btn.devui-btn-danger:focus{background-color:#d64a52;background-color:var(--devui-contrast-hover, #d64a52)}.devui-btn.devui-btn-danger:active{background-color:#b12220;background-color:var(--devui-contrast-active, #b12220)}.devui-btn.devui-btn-common:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3);background:#f5f5f5;background:var(--devui-disabled-bg, #f5f5f5);border-color:var(--devui-disabled-line, #dfe1e6);border-color:#dfe1e6;border-color:var(--devui-btn-common-border-disabled, var(--devui-disabled-line, #dfe1e6))}.devui-btn.devui-btn-primary:disabled{color:#fff;color:var(--devui-light-text, #ffffff);background:#beccfa;background:var(--devui-primary-disabled, #beccfa);border:none}.devui-btn.devui-btn-danger:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3);background:#f5f5f5;background:var(--devui-disabled-bg, #f5f5f5);border:1px solid #dfe1e6;border:1px solid var(--devui-disabled-line, #dfe1e6)}.devui-btn.devui-btn-text-dark:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3)}.devui-btn.devui-btn-text:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3)}.devui-btn.bordered.devui-btn-common{color:#252b3a;color:var(--devui-text, #252b3a);border-color:transparent}.devui-btn.bordered.devui-btn-common:hover,.devui-btn.bordered.devui-btn-common:focus{border-color:#7693f5;border-color:var(--devui-primary-hover, #7693f5)}.devui-btn.bordered.devui-btn-common:active{border-color:#344899;border-color:var(--devui-primary-active, #344899)}.devui-btn.bordered.devui-btn-stress,.devui-btn.bordered.devui-btn-primary{border-color:#5e7ce0;border-color:var(--devui-brand, #5e7ce0);color:#5e7ce0;color:var(--devui-brand, #5e7ce0);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-success{border-color:#50d4ab;border-color:var(--devui-success, #50d4ab);color:#50d4ab;color:var(--devui-success, #50d4ab);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-warning{border-color:#fac20a;border-color:var(--devui-warning, #fac20a);color:#fac20a;color:var(--devui-warning, #fac20a);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-danger{border-color:#f66f6a;border-color:var(--devui-danger, #f66f6a);color:#f66f6a;color:var(--devui-danger, #f66f6a);background-color:#f66f6a;background-color:var(--devui-danger, #f66f6a)}.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):hover,.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):focus{border:1px solid #f2f2f3;border:1px solid var(--devui-list-item-hover-bg, #f2f2f3);background-color:#f2f2f3;background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):disabled{background-color:#f5f5f5;background-color:var(--devui-disabled-bg, #f5f5f5)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap{color:#252b3a;color:var(--devui-text, #252b3a)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap .devui-icon-fix,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap .devui-icon-fix{color:#71757f;color:var(--devui-icon-fill, #71757f)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap:hover,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap:hover{color:#252b3a;color:var(--devui-icon-fill-hover, #252b3a)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap:hover .devui-icon-fix,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap:hover .devui-icon-fix{color:#252b3a;color:var(--devui-icon-fill-hover, #252b3a)}.devui-loading .devui-loading-default-spinner div{background-color:#252b3a;background-color:var(--devui-text, #252b3a)}:host{display:inline-block}.devui-btn{transition:background-color .3s cubic-bezier(.645,.045,.355,1),border-color .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);transition:background-color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1)),border-color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1)),color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1));border-style:solid;white-space:nowrap;display:flex;align-items:center;justify-content:center}.devui-btn:disabled,.devui-btn[disabled]{cursor:not-allowed}.devui-btn.d-btn-icon{padding:8px;line-height:1em;min-width:0;min-width:initial;border:1px solid transparent}.devui-btn.d-btn-icon:not(.devui-btn-common){border:1px solid transparent}.devui-btn.d-btn-icon.devui-btn-xs,:host ::ng-deep .devui-btn-group-xs .devui-btn.d-btn-icon,.devui-btn.d-btn-icon.devui-btn-sm,:host ::ng-deep .devui-btn-group-sm .devui-btn.d-btn-icon{padding:4px}.devui-btn.d-btn-icon.devui-btn-xs,:host ::ng-deep .devui-btn-group-xs .devui-btn.d-btn-icon{min-width:24px}.devui-btn.d-btn-icon.devui-btn-sm,:host ::ng-deep .devui-btn-group-sm .devui-btn.d-btn-icon{min-width:24px}.devui-btn.d-btn-icon.devui-btn-lg,:host ::ng-deep .devui-btn-group-lg .devui-btn.d-btn-icon{min-width:32px}.devui-btn.d-btn-icon.devui-btn-lg .icon,:host ::ng-deep .devui-btn-group-lg .devui-btn.d-btn-icon .icon{font-size:16px;font-size:var(--devui-font-size-icon, 16px)}.devui-btn:not(.d-btn-icon) .icon-fix{font-size:16px;font-size:var(--devui-font-size-icon, 16px)}.devui-icon-fix{position:relative;font-size:12px;font-size:var(--devui-font-size, 12px)}.devui-icon-fix:before{transition:color .3s cubic-bezier(.645,.045,.355,1);transition:color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1))}.devui-btn.devui-btn-common:not(:disabled) .devui-icon-fix{color:#575d6c;color:var(--devui-text-weak, #575d6c)}.devui-btn.devui-btn-common:not(:disabled):hover .devui-icon-fix,.devui-btn.devui-btn-common:not(:disabled):active .devui-icon-fix,.devui-btn.devui-btn-common:not(:disabled):focus .devui-icon-fix{color:#252b3a;color:var(--devui-icon-fill-active, #252b3a)}.button-content{display:inline-block;position:relative}.clear-right-4{margin-right:4px}.devui-btn-more-text-omits{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.devui-btn-circle{border-radius:100%}:host ::ng-deep .devui-btn-group{display:flex}:host ::ng-deep .devui-btn-group>*{position:relative}:host ::ng-deep .devui-btn-group>*:not(:first-child) .devui-dropdown-toggle:not(d-button),:host ::ng-deep .devui-btn-group>*:not(:first-child) .devui-btn{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}:host ::ng-deep .devui-btn-group>*:not(:first-child) .devui-dropdown-toggle:not(d-button).devui-btn-primary,:host ::ng-deep .devui-btn-group>*:not(:first-child) .devui-btn.devui-btn-primary{margin-left:0}:host ::ng-deep .devui-btn-group>*:not(:first-child) .devui-dropdown-menu{left:-1px}:host ::ng-deep .devui-btn-group>*:not(:last-child) .devui-dropdown-toggle,:host ::ng-deep .devui-btn-group>*:not(:last-child) .devui-btn{border-top-right-radius:0;border-bottom-right-radius:0}:host ::ng-deep .devui-btn-group>* .devui-dropdown-origin{z-index:0}:host ::ng-deep .devui-btn-group>*:hover,:host ::ng-deep .devui-btn-group>*:active{z-index:1}:host ::ng-deep .devui-btn-group>*:focus-within{z-index:1}:host ::ng-deep d-button+d-button .devui-btn-primary:not(:disabled):before,:host ::ng-deep d-button+d-button .devui-btn-common:not(:disabled):before,:host ::ng-deep d-button+d-button .devui-btn-danger:not(:disabled):before{content:\"\";position:absolute;top:0;bottom:0;left:0;width:1px;background-color:#fff3}:host ::ng-deep d-button+d-button .devui-btn:disabled{border-left-style:none;margin-left:0}:host ::ng-deep d-button:active+d-button .devui-btn-primary:not(:disabled):before,:host ::ng-deep d-button+d-button:active .devui-btn-primary:not(:disabled):before{background-color:#344899;background-color:var(--devui-primary-active, #344899)}:host ::ng-deep d-button:active+d-button .devui-btn-common:not(:disabled):before,:host ::ng-deep d-button+d-button:active .devui-btn-common:not(:disabled):before{background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-active, var(--devui-base-bg, #ffffff))}:host ::ng-deep d-button:active+d-button .devui-btn-danger:not(:disabled):before,:host ::ng-deep d-button+d-button:active .devui-btn-danger:not(:disabled):before{background-color:#b12220;background-color:var(--devui-contrast-active, #b12220)}:host ::ng-deep d-button:focus-within+d-button .devui-btn-primary:not(:disabled):before,:host ::ng-deep d-button+d-button:focus-within .devui-btn-primary:not(:disabled):before,:host ::ng-deep d-button:hover+d-button .devui-btn-primary:not(:disabled):before,:host ::ng-deep d-button+d-button:hover .devui-btn-primary:not(:disabled):before{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}:host ::ng-deep d-button:focus-within+d-button .devui-btn-common:not(:disabled):before,:host ::ng-deep d-button+d-button:focus-within .devui-btn-common:not(:disabled):before,:host ::ng-deep d-button:hover+d-button .devui-btn-common:not(:disabled):before,:host ::ng-deep d-button+d-button:hover .devui-btn-common:not(:disabled):before{background-color:var(--devui-form-control-line-active, #5e7ce0);background-color:#5e7ce0;background-color:var(--devui-btn-common-border-color-hover, var(--devui-form-control-line-active, #5e7ce0))}:host ::ng-deep d-button:focus-within+d-button .devui-btn-danger:not(:disabled):before,:host ::ng-deep d-button+d-button:focus-within .devui-btn-danger:not(:disabled):before,:host ::ng-deep d-button:hover+d-button .devui-btn-danger:not(:disabled):before,:host ::ng-deep d-button+d-button:hover .devui-btn-danger:not(:disabled):before{background-color:#d64a52;background-color:var(--devui-contrast-hover, #d64a52)}\n"] }]
        }], ctorParameters: function () { return []; }, propDecorators: { size: [{
                type: Input
            }] } });

class ButtonComponent {
    constructor(cd) {
        this.cd = cd;
        this.type = 'button';
        this.bsStyle = 'primary';
        this.bsSize = 'md';
        /**
         * @deprecated
         * 原左右按钮用按钮组实现
         */
        this.bsPosition = 'default';
        this.disabled = false;
        this.showLoading = false;
        this.autofocus = false;
        this.btnClick = new EventEmitter();
    }
    handleDisabled($event) {
        if (this.disabled) {
            $event.preventDefault();
            $event.stopImmediatePropagation();
        }
    }
    // 新增click事件，解决直接在host上使用click，在disabled状态下还能触发事件
    onClick(event) {
        if (!this.showLoading) {
            this.btnClick.emit(event);
        }
    }
    ngAfterContentChecked() {
        this.cd.detectChanges();
    }
    hasContent() {
        return !!this.buttonContent && this.buttonContent.nativeElement && this.buttonContent.nativeElement.innerHTML.trim();
    }
}
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: ButtonComponent, selector: "d-button", inputs: { id: "id", type: "type", bsStyle: "bsStyle", shape: "shape", bsSize: "bsSize", bsPosition: "bsPosition", bordered: "bordered", icon: "icon", disabled: "disabled", showLoading: "showLoading", width: "width", autofocus: "autofocus", loadingTemplateRef: "loadingTemplateRef" }, outputs: { btnClick: "btnClick" }, host: { listeners: { "click": "handleDisabled($event)" } }, viewQueries: [{ propertyName: "buttonContent", first: true, predicate: ["buttonContent"], descendants: true, static: true }], ngImport: i0, template: "<button\n  [attr.id]=\"id\"\n  class=\"devui-btn devui-btn-{{ bsStyle }} devui-btn-{{ bsSize }} devui-btn-{{ bsPosition }}\"\n  [class.devui-btn-circle]=\"shape === 'circle'\"\n  [type]=\"type\"\n  [disabled]=\"disabled\"\n  [class.bordered]=\"bordered\"\n  [backdrop]=\"true\"\n  dLoading\n  [showLoading]=\"showLoading\"\n  [loadingTemplateRef]=\"loadingTemplateRef\"\n  [ngStyle]=\"{ width: width }\"\n  [dAutoFocus]=\"autofocus\"\n  (click)=\"onClick($event)\"\n  [ngClass]=\"{ 'd-btn-icon': !!icon && !hasContent(), 'd-btn-icon-wrap': !!icon }\"\n>\n  <span *ngIf=\"!!icon\" class=\"devui-icon-fix icon {{ icon }}\" [ngClass]=\"{ 'clear-right-4': hasContent() }\"></span>\n  <!--\n  --><span class=\"button-content\" [class.devui-btn-more-text-omits]=\"width !== undefined\" #buttonContent><ng-content></ng-content></span>\n</button>\n", styles: [".devui-font-size-base{font-size:12px;font-size:var(--devui-font-size, 12px)}.devui-font-base{font-size:12px;font-size:var(--devui-font-size, 12px);font-weight:400;line-height:1.5}.devui-font-size-modal-title{font-size:18px;font-size:var(--devui-font-size-modal-title, 18px)}.devui-font-modal-title{font-size:18px;font-size:var(--devui-font-size-modal-title, 18px);font-weight:700;line-height:1.5}.devui-font-size-page-title{font-size:16px;font-size:var(--devui-font-size-page-title, 16px)}.devui-font-page-title{font-size:16px;font-size:var(--devui-font-size-page-title, 16px);font-weight:700;line-height:1.5}.devui-font-size-secondary-title{font-size:14px;font-size:var(--devui-font-size-card-title, 14px)}.devui-font-secondary-title{font-size:14px;font-size:var(--devui-font-size-card-title, 14px);font-weight:700;line-height:1.5}.devui-btn{padding:0 20px;padding:var(--devui-btn-padding, 0 20px);font-size:12px;font-size:var(--devui-font-size-md, 12px);height:28px;line-height:1.5;border-radius:2px;border-radius:var(--devui-border-radius, 2px);border-width:1px;border-color:transparent;background-color:transparent}.devui-btn.devui-btn-common{color:#252b3a;color:var(--devui-text, #252b3a);min-width:64px;background-color:#fff;background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg, var(--devui-base-bg, #ffffff));border-color:var(--devui-line, #d7d8da);border-color:#d7d8da;border-color:var(--devui-btn-common-border-color, var(--devui-line, #d7d8da))}.devui-btn.devui-btn-stress,.devui-btn.devui-btn-primary{color:#fff;color:var(--devui-light-text, #ffffff);min-width:64px;background-color:#5e7ce0;background-color:var(--devui-primary, #5e7ce0)}.devui-btn.devui-btn-danger{color:#fff;color:var(--devui-light-text, #ffffff);min-width:64px;background-color:#c7000b;background-color:var(--devui-contrast, #c7000b)}.devui-btn.devui-btn-left{border-radius:2px 0 0 2px;border-radius:var(--devui-border-radius, 2px) 0 0 var(--devui-border-radius, 2px)}.devui-btn.devui-btn-right{border-radius:0 2px 2px 0;border-radius:0 var(--devui-border-radius, 2px) var(--devui-border-radius, 2px) 0}.devui-btn.devui-btn-xs{padding:0 4px;height:24px;font-size:12px;font-size:var(--devui-font-size-sm, 12px);min-width:48px}.devui-btn.devui-btn-sm{padding:0 16px;padding:var(--devui-btn-sm-padding, 0 16px);height:24px;font-size:12px;font-size:var(--devui-font-size-sm, 12px);min-width:56px}.devui-btn.devui-btn-lg{padding:0 24px;padding:var(--devui-btn-lg-padding, 0 24px);height:32px;font-size:14px;font-size:var(--devui-font-size-lg, 14px);min-width:72px}.devui-btn.devui-btn-text,.devui-btn.devui-btn-text-dark{color:#526ecc;color:var(--devui-brand-active, #526ecc);padding:0}.devui-btn.devui-btn-text:hover{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text:focus{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text:active,.devui-btn.devui-btn-text-dark:hover{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text-dark:focus{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text-dark:active{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-common:hover{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-hover, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-hover, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-hover, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-common:focus{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-active, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-active, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-active, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-common:active{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-active, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-active, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-active, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-stress:hover{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-stress:focus{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-stress:active{background-color:#344899;background-color:var(--devui-primary-active, #344899)}.devui-btn.devui-btn-primary:hover{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-primary:focus{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-primary:active{background-color:#344899;background-color:var(--devui-primary-active, #344899)}.devui-btn.devui-btn-danger:hover{background-color:#d64a52;background-color:var(--devui-contrast-hover, #d64a52)}.devui-btn.devui-btn-danger:focus{background-color:#d64a52;background-color:var(--devui-contrast-hover, #d64a52)}.devui-btn.devui-btn-danger:active{background-color:#b12220;background-color:var(--devui-contrast-active, #b12220)}.devui-btn.devui-btn-common:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3);background:#f5f5f5;background:var(--devui-disabled-bg, #f5f5f5);border-color:var(--devui-disabled-line, #dfe1e6);border-color:#dfe1e6;border-color:var(--devui-btn-common-border-disabled, var(--devui-disabled-line, #dfe1e6))}.devui-btn.devui-btn-primary:disabled{color:#fff;color:var(--devui-light-text, #ffffff);background:#beccfa;background:var(--devui-primary-disabled, #beccfa);border:none}.devui-btn.devui-btn-danger:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3);background:#f5f5f5;background:var(--devui-disabled-bg, #f5f5f5);border:1px solid #dfe1e6;border:1px solid var(--devui-disabled-line, #dfe1e6)}.devui-btn.devui-btn-text-dark:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3)}.devui-btn.devui-btn-text:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3)}.devui-btn.bordered.devui-btn-common{color:#252b3a;color:var(--devui-text, #252b3a);border-color:transparent}.devui-btn.bordered.devui-btn-common:hover,.devui-btn.bordered.devui-btn-common:focus{border-color:#7693f5;border-color:var(--devui-primary-hover, #7693f5)}.devui-btn.bordered.devui-btn-common:active{border-color:#344899;border-color:var(--devui-primary-active, #344899)}.devui-btn.bordered.devui-btn-stress,.devui-btn.bordered.devui-btn-primary{border-color:#5e7ce0;border-color:var(--devui-brand, #5e7ce0);color:#5e7ce0;color:var(--devui-brand, #5e7ce0);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-success{border-color:#50d4ab;border-color:var(--devui-success, #50d4ab);color:#50d4ab;color:var(--devui-success, #50d4ab);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-warning{border-color:#fac20a;border-color:var(--devui-warning, #fac20a);color:#fac20a;color:var(--devui-warning, #fac20a);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-danger{border-color:#f66f6a;border-color:var(--devui-danger, #f66f6a);color:#f66f6a;color:var(--devui-danger, #f66f6a);background-color:#f66f6a;background-color:var(--devui-danger, #f66f6a)}.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):hover,.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):focus{border:1px solid #f2f2f3;border:1px solid var(--devui-list-item-hover-bg, #f2f2f3);background-color:#f2f2f3;background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):disabled{background-color:#f5f5f5;background-color:var(--devui-disabled-bg, #f5f5f5)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap{color:#252b3a;color:var(--devui-text, #252b3a)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap .devui-icon-fix,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap .devui-icon-fix{color:#71757f;color:var(--devui-icon-fill, #71757f)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap:hover,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap:hover{color:#252b3a;color:var(--devui-icon-fill-hover, #252b3a)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap:hover .devui-icon-fix,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap:hover .devui-icon-fix{color:#252b3a;color:var(--devui-icon-fill-hover, #252b3a)}.devui-loading .devui-loading-default-spinner div{background-color:#252b3a;background-color:var(--devui-text, #252b3a)}:host{display:inline-block}.devui-btn{transition:background-color .3s cubic-bezier(.645,.045,.355,1),border-color .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);transition:background-color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1)),border-color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1)),color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1));border-style:solid;white-space:nowrap;display:flex;align-items:center;justify-content:center}.devui-btn:disabled,.devui-btn[disabled]{cursor:not-allowed}.devui-btn.d-btn-icon{padding:8px;line-height:1em;min-width:0;min-width:initial;border:1px solid transparent}.devui-btn.d-btn-icon:not(.devui-btn-common){border:1px solid transparent}.devui-btn.d-btn-icon.devui-btn-xs,.devui-btn.d-btn-icon.devui-btn-sm{padding:4px}.devui-btn.d-btn-icon.devui-btn-xs,.devui-btn.d-btn-icon.devui-btn-sm{min-width:24px}.devui-btn.d-btn-icon.devui-btn-lg{min-width:32px}.devui-btn.d-btn-icon.devui-btn-lg .icon{font-size:16px;font-size:var(--devui-font-size-icon, 16px)}.devui-btn:not(.d-btn-icon) .icon-fix{font-size:16px;font-size:var(--devui-font-size-icon, 16px)}.devui-icon-fix{position:relative;font-size:12px;font-size:var(--devui-font-size, 12px)}.devui-icon-fix:before{transition:color .3s cubic-bezier(.645,.045,.355,1);transition:color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1))}.devui-btn.devui-btn-common:not(:disabled) .devui-icon-fix{color:#575d6c;color:var(--devui-text-weak, #575d6c)}.devui-btn.devui-btn-common:not(:disabled):hover .devui-icon-fix,.devui-btn.devui-btn-common:not(:disabled):active .devui-icon-fix,.devui-btn.devui-btn-common:not(:disabled):focus .devui-icon-fix{color:#252b3a;color:var(--devui-icon-fill-active, #252b3a)}.button-content{display:inline-block;position:relative}.clear-right-4{margin-right:4px}.devui-btn-more-text-omits{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.devui-btn-circle{border-radius:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.LoadingDirective, selector: "[dLoading]", inputs: ["message", "backdrop", "loadingTemplateRef", "positionType", "view", "showLoading", "loading", "zIndex", "loadingStyle"], exportAs: ["dLoading"] }, { kind: "directive", type: i3.AutoFocusDirective, selector: "[dAutoFocus]", inputs: ["dAutoFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ButtonComponent, decorators: [{
            type: Component,
            args: [{ selector: 'd-button', changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<button\n  [attr.id]=\"id\"\n  class=\"devui-btn devui-btn-{{ bsStyle }} devui-btn-{{ bsSize }} devui-btn-{{ bsPosition }}\"\n  [class.devui-btn-circle]=\"shape === 'circle'\"\n  [type]=\"type\"\n  [disabled]=\"disabled\"\n  [class.bordered]=\"bordered\"\n  [backdrop]=\"true\"\n  dLoading\n  [showLoading]=\"showLoading\"\n  [loadingTemplateRef]=\"loadingTemplateRef\"\n  [ngStyle]=\"{ width: width }\"\n  [dAutoFocus]=\"autofocus\"\n  (click)=\"onClick($event)\"\n  [ngClass]=\"{ 'd-btn-icon': !!icon && !hasContent(), 'd-btn-icon-wrap': !!icon }\"\n>\n  <span *ngIf=\"!!icon\" class=\"devui-icon-fix icon {{ icon }}\" [ngClass]=\"{ 'clear-right-4': hasContent() }\"></span>\n  <!--\n  --><span class=\"button-content\" [class.devui-btn-more-text-omits]=\"width !== undefined\" #buttonContent><ng-content></ng-content></span>\n</button>\n", styles: [".devui-font-size-base{font-size:12px;font-size:var(--devui-font-size, 12px)}.devui-font-base{font-size:12px;font-size:var(--devui-font-size, 12px);font-weight:400;line-height:1.5}.devui-font-size-modal-title{font-size:18px;font-size:var(--devui-font-size-modal-title, 18px)}.devui-font-modal-title{font-size:18px;font-size:var(--devui-font-size-modal-title, 18px);font-weight:700;line-height:1.5}.devui-font-size-page-title{font-size:16px;font-size:var(--devui-font-size-page-title, 16px)}.devui-font-page-title{font-size:16px;font-size:var(--devui-font-size-page-title, 16px);font-weight:700;line-height:1.5}.devui-font-size-secondary-title{font-size:14px;font-size:var(--devui-font-size-card-title, 14px)}.devui-font-secondary-title{font-size:14px;font-size:var(--devui-font-size-card-title, 14px);font-weight:700;line-height:1.5}.devui-btn{padding:0 20px;padding:var(--devui-btn-padding, 0 20px);font-size:12px;font-size:var(--devui-font-size-md, 12px);height:28px;line-height:1.5;border-radius:2px;border-radius:var(--devui-border-radius, 2px);border-width:1px;border-color:transparent;background-color:transparent}.devui-btn.devui-btn-common{color:#252b3a;color:var(--devui-text, #252b3a);min-width:64px;background-color:#fff;background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg, var(--devui-base-bg, #ffffff));border-color:var(--devui-line, #d7d8da);border-color:#d7d8da;border-color:var(--devui-btn-common-border-color, var(--devui-line, #d7d8da))}.devui-btn.devui-btn-stress,.devui-btn.devui-btn-primary{color:#fff;color:var(--devui-light-text, #ffffff);min-width:64px;background-color:#5e7ce0;background-color:var(--devui-primary, #5e7ce0)}.devui-btn.devui-btn-danger{color:#fff;color:var(--devui-light-text, #ffffff);min-width:64px;background-color:#c7000b;background-color:var(--devui-contrast, #c7000b)}.devui-btn.devui-btn-left{border-radius:2px 0 0 2px;border-radius:var(--devui-border-radius, 2px) 0 0 var(--devui-border-radius, 2px)}.devui-btn.devui-btn-right{border-radius:0 2px 2px 0;border-radius:0 var(--devui-border-radius, 2px) var(--devui-border-radius, 2px) 0}.devui-btn.devui-btn-xs{padding:0 4px;height:24px;font-size:12px;font-size:var(--devui-font-size-sm, 12px);min-width:48px}.devui-btn.devui-btn-sm{padding:0 16px;padding:var(--devui-btn-sm-padding, 0 16px);height:24px;font-size:12px;font-size:var(--devui-font-size-sm, 12px);min-width:56px}.devui-btn.devui-btn-lg{padding:0 24px;padding:var(--devui-btn-lg-padding, 0 24px);height:32px;font-size:14px;font-size:var(--devui-font-size-lg, 14px);min-width:72px}.devui-btn.devui-btn-text,.devui-btn.devui-btn-text-dark{color:#526ecc;color:var(--devui-brand-active, #526ecc);padding:0}.devui-btn.devui-btn-text:hover{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text:focus{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text:active,.devui-btn.devui-btn-text-dark:hover{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text-dark:focus{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-text-dark:active{background-color:transparent;color:#344899;color:var(--devui-brand-active-focus, #344899)}.devui-btn.devui-btn-common:hover{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-hover, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-hover, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-hover, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-common:focus{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-active, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-active, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-active, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-common:active{border-color:#5e7ce0;border-color:var(--devui-form-control-line-active, #5e7ce0);border-color:#5e7ce0;border-color:var(--devui-btn-common-border-color-active, var(--devui-form-control-line-active, #5e7ce0));color:#526ecc;color:var(--devui-brand-active, #526ecc);color:#526ecc;color:var(--devui-btn-common-color-active, var(--devui-brand-active, #526ecc));background-color:var(--devui-base-bg, #ffffff);background-color:#fff;background-color:var(--devui-btn-common-bg-active, var(--devui-base-bg, #ffffff))}.devui-btn.devui-btn-stress:hover{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-stress:focus{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-stress:active{background-color:#344899;background-color:var(--devui-primary-active, #344899)}.devui-btn.devui-btn-primary:hover{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-primary:focus{background-color:#7693f5;background-color:var(--devui-primary-hover, #7693f5)}.devui-btn.devui-btn-primary:active{background-color:#344899;background-color:var(--devui-primary-active, #344899)}.devui-btn.devui-btn-danger:hover{background-color:#d64a52;background-color:var(--devui-contrast-hover, #d64a52)}.devui-btn.devui-btn-danger:focus{background-color:#d64a52;background-color:var(--devui-contrast-hover, #d64a52)}.devui-btn.devui-btn-danger:active{background-color:#b12220;background-color:var(--devui-contrast-active, #b12220)}.devui-btn.devui-btn-common:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3);background:#f5f5f5;background:var(--devui-disabled-bg, #f5f5f5);border-color:var(--devui-disabled-line, #dfe1e6);border-color:#dfe1e6;border-color:var(--devui-btn-common-border-disabled, var(--devui-disabled-line, #dfe1e6))}.devui-btn.devui-btn-primary:disabled{color:#fff;color:var(--devui-light-text, #ffffff);background:#beccfa;background:var(--devui-primary-disabled, #beccfa);border:none}.devui-btn.devui-btn-danger:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3);background:#f5f5f5;background:var(--devui-disabled-bg, #f5f5f5);border:1px solid #dfe1e6;border:1px solid var(--devui-disabled-line, #dfe1e6)}.devui-btn.devui-btn-text-dark:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3)}.devui-btn.devui-btn-text:disabled{color:#cfd0d3;color:var(--devui-disabled-text, #cfd0d3)}.devui-btn.bordered.devui-btn-common{color:#252b3a;color:var(--devui-text, #252b3a);border-color:transparent}.devui-btn.bordered.devui-btn-common:hover,.devui-btn.bordered.devui-btn-common:focus{border-color:#7693f5;border-color:var(--devui-primary-hover, #7693f5)}.devui-btn.bordered.devui-btn-common:active{border-color:#344899;border-color:var(--devui-primary-active, #344899)}.devui-btn.bordered.devui-btn-stress,.devui-btn.bordered.devui-btn-primary{border-color:#5e7ce0;border-color:var(--devui-brand, #5e7ce0);color:#5e7ce0;color:var(--devui-brand, #5e7ce0);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-success{border-color:#50d4ab;border-color:var(--devui-success, #50d4ab);color:#50d4ab;color:var(--devui-success, #50d4ab);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-warning{border-color:#fac20a;border-color:var(--devui-warning, #fac20a);color:#fac20a;color:var(--devui-warning, #fac20a);background-color:#fff;background-color:var(--devui-block, #ffffff)}.devui-btn.bordered.devui-btn-danger{border-color:#f66f6a;border-color:var(--devui-danger, #f66f6a);color:#f66f6a;color:var(--devui-danger, #f66f6a);background-color:#f66f6a;background-color:var(--devui-danger, #f66f6a)}.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):hover,.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):focus{border:1px solid #f2f2f3;border:1px solid var(--devui-list-item-hover-bg, #f2f2f3);background-color:#f2f2f3;background-color:var(--devui-list-item-hover-bg, #f2f2f3)}.devui-btn.d-btn-icon:not(.devui-btn-primary):not(.devui-btn-danger):not(.devui-btn-common):disabled{background-color:#f5f5f5;background-color:var(--devui-disabled-bg, #f5f5f5)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap{color:#252b3a;color:var(--devui-text, #252b3a)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap .devui-icon-fix,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap .devui-icon-fix{color:#71757f;color:var(--devui-icon-fill, #71757f)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap:hover,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap:hover{color:#252b3a;color:var(--devui-icon-fill-hover, #252b3a)}.devui-btn:not(:disabled).devui-btn-text.d-btn-icon-wrap:hover .devui-icon-fix,.devui-btn:not(:disabled).devui-btn-text-dark.d-btn-icon-wrap:hover .devui-icon-fix{color:#252b3a;color:var(--devui-icon-fill-hover, #252b3a)}.devui-loading .devui-loading-default-spinner div{background-color:#252b3a;background-color:var(--devui-text, #252b3a)}:host{display:inline-block}.devui-btn{transition:background-color .3s cubic-bezier(.645,.045,.355,1),border-color .3s cubic-bezier(.645,.045,.355,1),color .3s cubic-bezier(.645,.045,.355,1);transition:background-color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1)),border-color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1)),color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1));border-style:solid;white-space:nowrap;display:flex;align-items:center;justify-content:center}.devui-btn:disabled,.devui-btn[disabled]{cursor:not-allowed}.devui-btn.d-btn-icon{padding:8px;line-height:1em;min-width:0;min-width:initial;border:1px solid transparent}.devui-btn.d-btn-icon:not(.devui-btn-common){border:1px solid transparent}.devui-btn.d-btn-icon.devui-btn-xs,.devui-btn.d-btn-icon.devui-btn-sm{padding:4px}.devui-btn.d-btn-icon.devui-btn-xs,.devui-btn.d-btn-icon.devui-btn-sm{min-width:24px}.devui-btn.d-btn-icon.devui-btn-lg{min-width:32px}.devui-btn.d-btn-icon.devui-btn-lg .icon{font-size:16px;font-size:var(--devui-font-size-icon, 16px)}.devui-btn:not(.d-btn-icon) .icon-fix{font-size:16px;font-size:var(--devui-font-size-icon, 16px)}.devui-icon-fix{position:relative;font-size:12px;font-size:var(--devui-font-size, 12px)}.devui-icon-fix:before{transition:color .3s cubic-bezier(.645,.045,.355,1);transition:color var(--devui-animation-duration-slow, .3s) var(--devui-animation-ease-in-out-smooth, cubic-bezier(.645, .045, .355, 1))}.devui-btn.devui-btn-common:not(:disabled) .devui-icon-fix{color:#575d6c;color:var(--devui-text-weak, #575d6c)}.devui-btn.devui-btn-common:not(:disabled):hover .devui-icon-fix,.devui-btn.devui-btn-common:not(:disabled):active .devui-icon-fix,.devui-btn.devui-btn-common:not(:disabled):focus .devui-icon-fix{color:#252b3a;color:var(--devui-icon-fill-active, #252b3a)}.button-content{display:inline-block;position:relative}.clear-right-4{margin-right:4px}.devui-btn-more-text-omits{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.devui-btn-circle{border-radius:100%}\n"] }]
        }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { id: [{
                type: Input
            }], type: [{
                type: Input
            }], bsStyle: [{
                type: Input
            }], shape: [{
                type: Input
            }], bsSize: [{
                type: Input
            }], bsPosition: [{
                type: Input
            }], bordered: [{
                type: Input
            }], icon: [{
                type: Input
            }], disabled: [{
                type: Input
            }], showLoading: [{
                type: Input
            }], width: [{
                type: Input
            }], autofocus: [{
                type: Input
            }], loadingTemplateRef: [{
                type: Input
            }], btnClick: [{
                type: Output
            }], buttonContent: [{
                type: ViewChild,
                args: ['buttonContent', { static: true }]
            }], handleDisabled: [{
                type: HostListener,
                args: ['click', ['$event']]
            }] } });

class ButtonModule {
}
ButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: ButtonModule, declarations: [ButtonComponent, ButtonGroupComponent], imports: [CommonModule, LoadingModule, DCommonModule], exports: [ButtonComponent, ButtonGroupComponent] });
ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ButtonModule, imports: [CommonModule, LoadingModule, DCommonModule] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ButtonModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [CommonModule, LoadingModule, DCommonModule],
                    exports: [ButtonComponent, ButtonGroupComponent],
                    declarations: [ButtonComponent, ButtonGroupComponent],
                    providers: [],
                }]
        }] });

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

export { ButtonComponent, ButtonGroupComponent, ButtonModule };
//# sourceMappingURL=ng-devui-button.mjs.map
