import { CommonModule } from '@angular/common';
import * as i0 from '@angular/core';
import { EventEmitter, Output, Input, ChangeDetectionStrategy, Component } from '@angular/core';
import { MatIconModule } from '@angular/material/icon';
import * as i1 from '@angular/material/tooltip';
import { MatTooltipModule } from '@angular/material/tooltip';

/* eslint-disable @angular-eslint/no-input-rename */
class SdBadge {
    defaultIcon = 'fiber_manual_record';
    type = 'icon';
    set _type(type) {
        this.type = type || 'icon';
    }
    color = 'secondary';
    set _color(color) {
        this.color = color || 'secondary';
    }
    // Hỗ trợ: <sd-button secondary> hoặc <sd-button [secondary]="condition">
    set primary(value) {
        if (value === '' || value) {
            this.color = 'primary';
        }
    }
    set secondary(value) {
        // Nếu value là '' (viết tắt <sd-button secondary>) hoặc true
        if (value === '' || value) {
            this.color = 'secondary';
        }
    }
    set success(value) {
        // Nếu value là '' (viết tắt <sd-button secondary>) hoặc true
        if (value === '' || value) {
            this.color = 'success';
        }
    }
    set info(value) {
        // Nếu value là '' (viết tắt <sd-button secondary>) hoặc true
        if (value === '' || value) {
            this.color = 'info';
        }
    }
    set warning(value) {
        // Nếu value là '' (viết tắt <sd-button secondary>) hoặc true
        if (value === '' || value) {
            this.color = 'warning';
        }
    }
    set error(value) {
        // Nếu value là '' (viết tắt <sd-button secondary>) hoặc true
        if (value === '' || value) {
            this.color = 'error';
        }
    }
    fontSet = 'material-icons';
    set _fontSet(fontSet) {
        this.fontSet = fontSet || 'material-icons';
    }
    title;
    description;
    tooltip;
    icon;
    size = 'sm';
    sdClick = new EventEmitter();
    onClick = (event) => {
        this.sdClick.emit(event);
    };
    static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SdBadge, deps: [], target: i0.ɵɵFactoryTarget.Component });
    static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: SdBadge, isStandalone: true, selector: "sd-badge", inputs: { _type: ["type", "_type"], _color: ["color", "_color"], primary: "primary", secondary: "secondary", success: "success", info: "info", warning: "warning", error: "error", _fontSet: ["fontSet", "_fontSet"], title: "title", description: "description", tooltip: "tooltip", icon: "icon", size: "size" }, outputs: { sdClick: "sdClick" }, ngImport: i0, template: "@if (type === 'round') {\r\n  <div\r\n    class=\"c-badge\"\r\n    matTooltipPosition=\"above\"\r\n    [matTooltip]=\"tooltip\"\r\n    matTooltipClass=\"sd-multiline-tooltip\"\r\n    [class.c-primary]=\"color === 'primary'\"\r\n    [class.c-secondary]=\"color === 'secondary'\"\r\n    [class.c-info]=\"color === 'info'\"\r\n    [class.c-success]=\"color === 'success'\"\r\n    [class.c-warning]=\"color === 'warning'\"\r\n    [class.c-error]=\"color === 'error'\"\r\n    [class.pointer]=\"!!sdClick.observers.length\"\r\n    (click)=\"onClick($event)\"\r\n    aria-hidden=\"true\">\r\n    {{ title }}\r\n  </div>\r\n} @else if (type === 'tag') {\r\n  <div\r\n    class=\"c-badge c-badge--tag\"\r\n    matTooltipPosition=\"above\"\r\n    [matTooltip]=\"tooltip\"\r\n    matTooltipClass=\"sd-multiline-tooltip\"\r\n    [class.c-primary]=\"color === 'primary'\"\r\n    [class.c-secondary]=\"color === 'secondary'\"\r\n    [class.c-info]=\"color === 'info'\"\r\n    [class.c-success]=\"color === 'success'\"\r\n    [class.c-warning]=\"color === 'warning'\"\r\n    [class.c-error]=\"color === 'error'\"\r\n    [class.pointer]=\"!!sdClick.observers.length\"\r\n    (click)=\"onClick($event)\"\r\n    aria-hidden=\"true\">\r\n    <div class=\"c-icon d-flex align-items-center\">\r\n      @if (icon) {\r\n        <span\r\n          class=\"c-material-icon mr-4\"\r\n          [class]=\"{\r\n            'c-xs': size === 'xs',\r\n            'c-sm': size === 'sm',\r\n            'c-md': size === 'md',\r\n            'c-lg': size === 'lg',\r\n            'material-icons': fontSet === 'material-icons',\r\n            'material-icons-outlined': fontSet === 'material-icons-outlined',\r\n            'material-icons-round': fontSet === 'material-icons-round',\r\n            'material-icons-sharp': fontSet === 'material-icons-sharp'\r\n          }\"\r\n          [class.c-primary]=\"color === 'primary'\"\r\n          [class.c-secondary]=\"color === 'secondary'\"\r\n          [class.c-info]=\"color === 'info'\"\r\n          [class.c-success]=\"color === 'success'\"\r\n          [class.c-warning]=\"color === 'warning'\"\r\n          [class.c-error]=\"color === 'error'\">\r\n          {{ icon || defaultIcon }}\r\n        </span>\r\n      }\r\n      <div class=\"d-flex flex-column align-items-start\">\r\n        <span class=\"T14R c-badge-title\">{{ title }}</span>\r\n        @if (description) {\r\n          <span class=\"T12R c-badge-description\">{{ description }}</span>\r\n        }\r\n      </div>\r\n    </div>\r\n  </div>\r\n} @else {\r\n  <!-- \u0110\u1ED1i v\u1EDBi badge icon th\u00EC secondary s\u1EBD ch\u1EC9 d\u00F9ng m\u00E0u black400 -->\r\n  <div\r\n    class=\"d-flex\"\r\n    matTooltipPosition=\"above\"\r\n    [matTooltip]=\"tooltip\"\r\n    matTooltipClass=\"sd-multiline-tooltip\"\r\n    [class.c-badge-icon]=\"type === 'icon'\"\r\n    [class.pointer]=\"!!sdClick.observers.length\"\r\n    (click)=\"onClick($event)\"\r\n    aria-hidden=\"true\">\r\n    <div class=\"c-icon d-flex align-items-center\">\r\n      <span\r\n        class=\"c-material-icon mr-4\"\r\n        [class]=\"{\r\n          'c-xs': size === 'xs',\r\n          'c-sm': size === 'sm',\r\n          'c-md': size === 'md',\r\n          'c-lg': size === 'lg',\r\n          'material-icons': fontSet === 'material-icons',\r\n          'material-icons-outlined': fontSet === 'material-icons-outlined',\r\n          'material-icons-round': fontSet === 'material-icons-round',\r\n          'material-icons-sharp': fontSet === 'material-icons-sharp'\r\n        }\"\r\n        [class.c-primary]=\"color === 'primary'\"\r\n        [class.c-black400]=\"color === 'secondary'\"\r\n        [class.c-info]=\"color === 'info'\"\r\n        [class.c-success]=\"color === 'success'\"\r\n        [class.c-warning]=\"color === 'warning'\"\r\n        [class.c-error]=\"color === 'error'\">\r\n        {{ icon || defaultIcon }}\r\n      </span>\r\n      <div class=\"d-flex flex-column\">\r\n        <span class=\"T14R c-badge-title\">{{ title }}</span>\r\n        @if (description) {\r\n          <span class=\"T10R c-badge-description\">{{ description }}</span>\r\n        }\r\n      </div>\r\n    </div>\r\n  </div>\r\n}\r\n", styles: [".text-primary{color:var(--sd-primary)!important}.bg-primary{background:var(--sd-primary)!important}.border-primary{border-color:var(--sd-primary)!important}.text-primary-light{color:var(--sd-primary-light)!important}.bg-primary-light{background:var(--sd-primary-light)!important}.border-primary-light{border-color:var(--sd-primary-light)!important}.text-primary-dark{color:var(--sd-primary-dark)!important}.bg-primary-dark{background:var(--sd-primary-dark)!important}.border-primary-dark{border-color:var(--sd-primary-dark)!important}.text-info{color:var(--sd-info)!important}.bg-info{background:var(--sd-info)!important}.border-info{border-color:var(--sd-info)!important}.text-info-light{color:var(--sd-info-light)!important}.bg-info-light{background:var(--sd-info-light)!important}.border-info-light{border-color:var(--sd-info-light)!important}.text-info-dark{color:var(--sd-info-dark)!important}.bg-info-dark{background:var(--sd-info-dark)!important}.border-info-dark{border-color:var(--sd-info-dark)!important}.text-success{color:var(--sd-success)!important}.bg-success{background:var(--sd-success)!important}.border-success{border-color:var(--sd-success)!important}.text-success-light{color:var(--sd-success-light)!important}.bg-success-light{background:var(--sd-success-light)!important}.border-success-light{border-color:var(--sd-success-light)!important}.text-success-dark{color:var(--sd-success-dark)!important}.bg-success-dark{background:var(--sd-success-dark)!important}.border-success-dark{border-color:var(--sd-success-dark)!important}.text-warning{color:var(--sd-warning)!important}.bg-warning{background:var(--sd-warning)!important}.border-warning{border-color:var(--sd-warning)!important}.text-warning-light{color:var(--sd-warning-light)!important}.bg-warning-light{background:var(--sd-warning-light)!important}.border-warning-light{border-color:var(--sd-warning-light)!important}.text-warning-dark{color:var(--sd-warning-dark)!important}.bg-warning-dark{background:var(--sd-warning-dark)!important}.border-warning-dark{border-color:var(--sd-warning-dark)!important}.text-error{color:var(--sd-error)!important}.bg-error{background:var(--sd-error)!important}.border-error{border-color:var(--sd-error)!important}.text-error-light{color:var(--sd-error-light)!important}.bg-error-light{background:var(--sd-error-light)!important}.border-error-light{border-color:var(--sd-error-light)!important}.text-error-dark{color:var(--sd-error-dark)!important}.bg-error-dark{background:var(--sd-error-dark)!important}.border-error-dark{border-color:var(--sd-error-dark)!important}.text-secondary{color:var(--sd-secondary)!important}.bg-secondary{background:var(--sd-secondary)!important}.border-secondary{border-color:var(--sd-secondary)!important}.text-secondary-light{color:var(--sd-secondary-light)!important}.bg-secondary-light{background:var(--sd-secondary-light)!important}.border-secondary-light{border-color:var(--sd-secondary-light)!important}.text-secondary-dark{color:var(--sd-secondary-dark)!important}.bg-secondary-dark{background:var(--sd-secondary-dark)!important}.border-secondary-dark{border-color:var(--sd-secondary-dark)!important}.text-light{color:var(--sd-light)!important}.bg-light{background:var(--sd-light)!important}.border-light{border-color:var(--sd-light)!important}.text-dark{color:var(--sd-dark)!important}.bg-dark{background:var(--sd-dark)!important}.border-dark{border-color:var(--sd-dark)!important}.text-black500{color:var(--sd-black500)!important}.bg-black500{background:var(--sd-black500)!important}.border-black500{border-color:var(--sd-black500)!important}.text-black400{color:var(--sd-black400)!important}.bg-black400{background:var(--sd-black400)!important}.border-black400{border-color:var(--sd-black400)!important}.text-black300{color:var(--sd-black300)!important}.bg-black300{background:var(--sd-black300)!important}.border-black300{border-color:var(--sd-black300)!important}.text-black200{color:var(--sd-black200)!important}.bg-black200{background:var(--sd-black200)!important}.border-black200{border-color:var(--sd-black200)!important}.text-black100{color:var(--sd-black100)!important}.bg-black100{background:var(--sd-black100)!important}.border-black100{border-color:var(--sd-black100)!important}.text-white{color:#fff!important}.bg-white{background:#fff!important}.border-white{border-color:#fff!important}.text-black{color:#000!important}.bg-black{background:#000!important}.border-black{border-color:#000!important}.c-badge{border-radius:20px;padding:2px 10px;display:inline-block;text-align:center;overflow-wrap:break-word}.c-badge.c-primary{background:var(--sd-primary-light);color:var(--sd-primary)}.c-badge.c-primary.c-badge--tag{border:1px solid var(--sd-primary)}.c-badge.c-secondary{background:var(--sd-secondary-light);color:var(--sd-secondary)}.c-badge.c-secondary.c-badge--tag{border:1px solid var(--sd-secondary)}.c-badge.c-info{background:var(--sd-info-light);color:var(--sd-info)}.c-badge.c-info.c-badge--tag{border:1px solid var(--sd-info)}.c-badge.c-warning{background:var(--sd-warning-light);color:var(--sd-warning)}.c-badge.c-warning.c-badge--tag{border:1px solid var(--sd-warning)}.c-badge.c-success{background:var(--sd-success-light);color:var(--sd-success)}.c-badge.c-success.c-badge--tag{border:1px solid var(--sd-success)}.c-badge.c-error{background:var(--sd-error-light);color:var(--sd-error)}.c-badge.c-error.c-badge--tag{border:1px solid var(--sd-error)}.c-badge.c-badge--tag{border-radius:4px;padding:1px 7px}.c-badge.c-badge--tag .c-material-icon{padding:0}.c-badge.c-badge--tag .c-material-icon.c-xs,.c-badge.c-badge--tag .c-material-icon.c-sm,.c-badge.c-badge--tag .c-material-icon.c-md,.c-badge.c-badge--tag .c-material-icon.c-lg{line-height:20px}.c-badge-icon{min-width:50px}.c-badge-icon .c-material-icon{border-radius:50%;padding:2px 2px 2px 0}.c-badge-icon .c-material-icon.c-xs{width:18px;height:18px;font-size:14px}.c-badge-icon .c-material-icon.c-sm{width:20px;height:20px;font-size:16px}.c-badge-icon .c-material-icon.c-md{width:22px;height:22px;font-size:18px}.c-badge-icon .c-material-icon.c-lg{width:28px;height:28px;font-size:24px}.c-badge-icon .c-material-icon.c-primary{color:var(--sd-primary)}.c-badge-icon .c-material-icon.c-secondary{color:var(--sd-secondary)}.c-badge-icon .c-material-icon.c-black400{color:var(--sd-black400)}.c-badge-icon .c-material-icon.c-info{color:var(--sd-info)}.c-badge-icon .c-material-icon.c-success{color:var(--sd-success)}.c-badge-icon .c-material-icon.c-error{color:var(--sd-error)}.c-badge-icon .c-material-icon.c-warning{color:var(--sd-warning)}.c-badge-description{color:var(--sd-black400)}::ng-deep .sd-multiline-tooltip{white-space:pre-line}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: SdBadge, decorators: [{
            type: Component,
            args: [{ selector: 'sd-badge', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, MatIconModule, MatTooltipModule], template: "@if (type === 'round') {\r\n  <div\r\n    class=\"c-badge\"\r\n    matTooltipPosition=\"above\"\r\n    [matTooltip]=\"tooltip\"\r\n    matTooltipClass=\"sd-multiline-tooltip\"\r\n    [class.c-primary]=\"color === 'primary'\"\r\n    [class.c-secondary]=\"color === 'secondary'\"\r\n    [class.c-info]=\"color === 'info'\"\r\n    [class.c-success]=\"color === 'success'\"\r\n    [class.c-warning]=\"color === 'warning'\"\r\n    [class.c-error]=\"color === 'error'\"\r\n    [class.pointer]=\"!!sdClick.observers.length\"\r\n    (click)=\"onClick($event)\"\r\n    aria-hidden=\"true\">\r\n    {{ title }}\r\n  </div>\r\n} @else if (type === 'tag') {\r\n  <div\r\n    class=\"c-badge c-badge--tag\"\r\n    matTooltipPosition=\"above\"\r\n    [matTooltip]=\"tooltip\"\r\n    matTooltipClass=\"sd-multiline-tooltip\"\r\n    [class.c-primary]=\"color === 'primary'\"\r\n    [class.c-secondary]=\"color === 'secondary'\"\r\n    [class.c-info]=\"color === 'info'\"\r\n    [class.c-success]=\"color === 'success'\"\r\n    [class.c-warning]=\"color === 'warning'\"\r\n    [class.c-error]=\"color === 'error'\"\r\n    [class.pointer]=\"!!sdClick.observers.length\"\r\n    (click)=\"onClick($event)\"\r\n    aria-hidden=\"true\">\r\n    <div class=\"c-icon d-flex align-items-center\">\r\n      @if (icon) {\r\n        <span\r\n          class=\"c-material-icon mr-4\"\r\n          [class]=\"{\r\n            'c-xs': size === 'xs',\r\n            'c-sm': size === 'sm',\r\n            'c-md': size === 'md',\r\n            'c-lg': size === 'lg',\r\n            'material-icons': fontSet === 'material-icons',\r\n            'material-icons-outlined': fontSet === 'material-icons-outlined',\r\n            'material-icons-round': fontSet === 'material-icons-round',\r\n            'material-icons-sharp': fontSet === 'material-icons-sharp'\r\n          }\"\r\n          [class.c-primary]=\"color === 'primary'\"\r\n          [class.c-secondary]=\"color === 'secondary'\"\r\n          [class.c-info]=\"color === 'info'\"\r\n          [class.c-success]=\"color === 'success'\"\r\n          [class.c-warning]=\"color === 'warning'\"\r\n          [class.c-error]=\"color === 'error'\">\r\n          {{ icon || defaultIcon }}\r\n        </span>\r\n      }\r\n      <div class=\"d-flex flex-column align-items-start\">\r\n        <span class=\"T14R c-badge-title\">{{ title }}</span>\r\n        @if (description) {\r\n          <span class=\"T12R c-badge-description\">{{ description }}</span>\r\n        }\r\n      </div>\r\n    </div>\r\n  </div>\r\n} @else {\r\n  <!-- \u0110\u1ED1i v\u1EDBi badge icon th\u00EC secondary s\u1EBD ch\u1EC9 d\u00F9ng m\u00E0u black400 -->\r\n  <div\r\n    class=\"d-flex\"\r\n    matTooltipPosition=\"above\"\r\n    [matTooltip]=\"tooltip\"\r\n    matTooltipClass=\"sd-multiline-tooltip\"\r\n    [class.c-badge-icon]=\"type === 'icon'\"\r\n    [class.pointer]=\"!!sdClick.observers.length\"\r\n    (click)=\"onClick($event)\"\r\n    aria-hidden=\"true\">\r\n    <div class=\"c-icon d-flex align-items-center\">\r\n      <span\r\n        class=\"c-material-icon mr-4\"\r\n        [class]=\"{\r\n          'c-xs': size === 'xs',\r\n          'c-sm': size === 'sm',\r\n          'c-md': size === 'md',\r\n          'c-lg': size === 'lg',\r\n          'material-icons': fontSet === 'material-icons',\r\n          'material-icons-outlined': fontSet === 'material-icons-outlined',\r\n          'material-icons-round': fontSet === 'material-icons-round',\r\n          'material-icons-sharp': fontSet === 'material-icons-sharp'\r\n        }\"\r\n        [class.c-primary]=\"color === 'primary'\"\r\n        [class.c-black400]=\"color === 'secondary'\"\r\n        [class.c-info]=\"color === 'info'\"\r\n        [class.c-success]=\"color === 'success'\"\r\n        [class.c-warning]=\"color === 'warning'\"\r\n        [class.c-error]=\"color === 'error'\">\r\n        {{ icon || defaultIcon }}\r\n      </span>\r\n      <div class=\"d-flex flex-column\">\r\n        <span class=\"T14R c-badge-title\">{{ title }}</span>\r\n        @if (description) {\r\n          <span class=\"T10R c-badge-description\">{{ description }}</span>\r\n        }\r\n      </div>\r\n    </div>\r\n  </div>\r\n}\r\n", styles: [".text-primary{color:var(--sd-primary)!important}.bg-primary{background:var(--sd-primary)!important}.border-primary{border-color:var(--sd-primary)!important}.text-primary-light{color:var(--sd-primary-light)!important}.bg-primary-light{background:var(--sd-primary-light)!important}.border-primary-light{border-color:var(--sd-primary-light)!important}.text-primary-dark{color:var(--sd-primary-dark)!important}.bg-primary-dark{background:var(--sd-primary-dark)!important}.border-primary-dark{border-color:var(--sd-primary-dark)!important}.text-info{color:var(--sd-info)!important}.bg-info{background:var(--sd-info)!important}.border-info{border-color:var(--sd-info)!important}.text-info-light{color:var(--sd-info-light)!important}.bg-info-light{background:var(--sd-info-light)!important}.border-info-light{border-color:var(--sd-info-light)!important}.text-info-dark{color:var(--sd-info-dark)!important}.bg-info-dark{background:var(--sd-info-dark)!important}.border-info-dark{border-color:var(--sd-info-dark)!important}.text-success{color:var(--sd-success)!important}.bg-success{background:var(--sd-success)!important}.border-success{border-color:var(--sd-success)!important}.text-success-light{color:var(--sd-success-light)!important}.bg-success-light{background:var(--sd-success-light)!important}.border-success-light{border-color:var(--sd-success-light)!important}.text-success-dark{color:var(--sd-success-dark)!important}.bg-success-dark{background:var(--sd-success-dark)!important}.border-success-dark{border-color:var(--sd-success-dark)!important}.text-warning{color:var(--sd-warning)!important}.bg-warning{background:var(--sd-warning)!important}.border-warning{border-color:var(--sd-warning)!important}.text-warning-light{color:var(--sd-warning-light)!important}.bg-warning-light{background:var(--sd-warning-light)!important}.border-warning-light{border-color:var(--sd-warning-light)!important}.text-warning-dark{color:var(--sd-warning-dark)!important}.bg-warning-dark{background:var(--sd-warning-dark)!important}.border-warning-dark{border-color:var(--sd-warning-dark)!important}.text-error{color:var(--sd-error)!important}.bg-error{background:var(--sd-error)!important}.border-error{border-color:var(--sd-error)!important}.text-error-light{color:var(--sd-error-light)!important}.bg-error-light{background:var(--sd-error-light)!important}.border-error-light{border-color:var(--sd-error-light)!important}.text-error-dark{color:var(--sd-error-dark)!important}.bg-error-dark{background:var(--sd-error-dark)!important}.border-error-dark{border-color:var(--sd-error-dark)!important}.text-secondary{color:var(--sd-secondary)!important}.bg-secondary{background:var(--sd-secondary)!important}.border-secondary{border-color:var(--sd-secondary)!important}.text-secondary-light{color:var(--sd-secondary-light)!important}.bg-secondary-light{background:var(--sd-secondary-light)!important}.border-secondary-light{border-color:var(--sd-secondary-light)!important}.text-secondary-dark{color:var(--sd-secondary-dark)!important}.bg-secondary-dark{background:var(--sd-secondary-dark)!important}.border-secondary-dark{border-color:var(--sd-secondary-dark)!important}.text-light{color:var(--sd-light)!important}.bg-light{background:var(--sd-light)!important}.border-light{border-color:var(--sd-light)!important}.text-dark{color:var(--sd-dark)!important}.bg-dark{background:var(--sd-dark)!important}.border-dark{border-color:var(--sd-dark)!important}.text-black500{color:var(--sd-black500)!important}.bg-black500{background:var(--sd-black500)!important}.border-black500{border-color:var(--sd-black500)!important}.text-black400{color:var(--sd-black400)!important}.bg-black400{background:var(--sd-black400)!important}.border-black400{border-color:var(--sd-black400)!important}.text-black300{color:var(--sd-black300)!important}.bg-black300{background:var(--sd-black300)!important}.border-black300{border-color:var(--sd-black300)!important}.text-black200{color:var(--sd-black200)!important}.bg-black200{background:var(--sd-black200)!important}.border-black200{border-color:var(--sd-black200)!important}.text-black100{color:var(--sd-black100)!important}.bg-black100{background:var(--sd-black100)!important}.border-black100{border-color:var(--sd-black100)!important}.text-white{color:#fff!important}.bg-white{background:#fff!important}.border-white{border-color:#fff!important}.text-black{color:#000!important}.bg-black{background:#000!important}.border-black{border-color:#000!important}.c-badge{border-radius:20px;padding:2px 10px;display:inline-block;text-align:center;overflow-wrap:break-word}.c-badge.c-primary{background:var(--sd-primary-light);color:var(--sd-primary)}.c-badge.c-primary.c-badge--tag{border:1px solid var(--sd-primary)}.c-badge.c-secondary{background:var(--sd-secondary-light);color:var(--sd-secondary)}.c-badge.c-secondary.c-badge--tag{border:1px solid var(--sd-secondary)}.c-badge.c-info{background:var(--sd-info-light);color:var(--sd-info)}.c-badge.c-info.c-badge--tag{border:1px solid var(--sd-info)}.c-badge.c-warning{background:var(--sd-warning-light);color:var(--sd-warning)}.c-badge.c-warning.c-badge--tag{border:1px solid var(--sd-warning)}.c-badge.c-success{background:var(--sd-success-light);color:var(--sd-success)}.c-badge.c-success.c-badge--tag{border:1px solid var(--sd-success)}.c-badge.c-error{background:var(--sd-error-light);color:var(--sd-error)}.c-badge.c-error.c-badge--tag{border:1px solid var(--sd-error)}.c-badge.c-badge--tag{border-radius:4px;padding:1px 7px}.c-badge.c-badge--tag .c-material-icon{padding:0}.c-badge.c-badge--tag .c-material-icon.c-xs,.c-badge.c-badge--tag .c-material-icon.c-sm,.c-badge.c-badge--tag .c-material-icon.c-md,.c-badge.c-badge--tag .c-material-icon.c-lg{line-height:20px}.c-badge-icon{min-width:50px}.c-badge-icon .c-material-icon{border-radius:50%;padding:2px 2px 2px 0}.c-badge-icon .c-material-icon.c-xs{width:18px;height:18px;font-size:14px}.c-badge-icon .c-material-icon.c-sm{width:20px;height:20px;font-size:16px}.c-badge-icon .c-material-icon.c-md{width:22px;height:22px;font-size:18px}.c-badge-icon .c-material-icon.c-lg{width:28px;height:28px;font-size:24px}.c-badge-icon .c-material-icon.c-primary{color:var(--sd-primary)}.c-badge-icon .c-material-icon.c-secondary{color:var(--sd-secondary)}.c-badge-icon .c-material-icon.c-black400{color:var(--sd-black400)}.c-badge-icon .c-material-icon.c-info{color:var(--sd-info)}.c-badge-icon .c-material-icon.c-success{color:var(--sd-success)}.c-badge-icon .c-material-icon.c-error{color:var(--sd-error)}.c-badge-icon .c-material-icon.c-warning{color:var(--sd-warning)}.c-badge-description{color:var(--sd-black400)}::ng-deep .sd-multiline-tooltip{white-space:pre-line}\n"] }]
        }], propDecorators: { _type: [{
                type: Input,
                args: ['type']
            }], _color: [{
                type: Input,
                args: ['color']
            }], primary: [{
                type: Input
            }], secondary: [{
                type: Input
            }], success: [{
                type: Input
            }], info: [{
                type: Input
            }], warning: [{
                type: Input
            }], error: [{
                type: Input
            }], _fontSet: [{
                type: Input,
                args: ['fontSet']
            }], title: [{
                type: Input
            }], description: [{
                type: Input
            }], tooltip: [{
                type: Input
            }], icon: [{
                type: Input
            }], size: [{
                type: Input
            }], sdClick: [{
                type: Output
            }] } });

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

export { SdBadge };
//# sourceMappingURL=sd-angular-core-components-badge.mjs.map
