import { DecimalPipe } from '@angular/common';
import * as i0 from '@angular/core';
import { input, booleanAttribute, inject, ElementRef, computed, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
import { FdTranslatePipe } from '@fundamental-ngx/i18n';

class ObjectNumberComponent {
    constructor() {
        /**
         * Numerical value of the object number.
         */
        this.number = input(...(ngDevMode ? [undefined, { debugName: "number" }] : []));
        /**
         * Number of decimal places to show
         */
        this.decimal = input(0, ...(ngDevMode ? [{ debugName: "decimal" }] : []));
        /** Sets unit of measure displayed. */
        this.unit = input(...(ngDevMode ? [undefined, { debugName: "unit" }] : []));
        /** Set the value to true to display the object number in bold text */
        this.emphasized = input(false, ...(ngDevMode ? [{ debugName: "emphasized" }] : []));
        /** Set the value to true to display the object number in large text */
        this.large = input(false, ...(ngDevMode ? [{ debugName: "large" }] : []));
        /** Sets status/semantic color  'negative' / 'critical' / 'positive' / 'informative' */
        this.status = input(...(ngDevMode ? [undefined, { debugName: "status" }] : []));
        /** An optional status message for the object number */
        this.statusMessage = input(...(ngDevMode ? [undefined, { debugName: "statusMessage" }] : []));
        /** Id of the element that labels object number. */
        this.ariaLabelledBy = input(...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : []));
        /** Aria label for the object number. */
        this.ariaLabel = input(...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : []));
        /** Whether the object number is interactive */
        this.interactive = input(false, { ...(ngDevMode ? { debugName: "interactive" } : {}), transform: booleanAttribute });
        /** Whether the object number is inverted. */
        this.inverted = input(false, { ...(ngDevMode ? { debugName: "inverted" } : {}), transform: booleanAttribute });
        /** @hidden */
        this.elementRef = inject(ElementRef);
        /** @hidden Computed number pipe configuration */
        this._numberPipeConfig = computed(() => `0.${this.decimal()}-${this.decimal()}`, ...(ngDevMode ? [{ debugName: "_numberPipeConfig" }] : []));
        /** @hidden Status key to translate for screen readers */
        this.statusKey = computed(() => {
            const status = this.status();
            if (this.isValidObjectStatus(status)) {
                return `coreObjectNumber.${status}`;
            }
            return null;
        }, ...(ngDevMode ? [{ debugName: "statusKey" }] : []));
        /** @hidden Computed CSS classes */
        this._cssClass = computed(() => [
            'fd-object-number',
            this.large() ? 'fd-object-number--large' : '',
            this.interactive() ? 'fd-object-number--interactive' : '',
            this.inverted() ? 'fd-object-number--inverted' : '',
            this.status() ? `fd-object-number--${this.status()}` : ''
        ]
            .filter(Boolean)
            .join(' '), ...(ngDevMode ? [{ debugName: "_cssClass" }] : []));
    }
    /**
     * Type guard to check if the status is a valid ObjectStatus
     * @hidden
     */
    isValidObjectStatus(status) {
        return status === 'negative' || status === 'critical' || status === 'positive' || status === 'informative';
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ObjectNumberComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: ObjectNumberComponent, isStandalone: true, selector: "fd-object-number", inputs: { number: { classPropertyName: "number", publicName: "number", isSignal: true, isRequired: false, transformFunction: null }, decimal: { classPropertyName: "decimal", publicName: "decimal", isSignal: true, isRequired: false, transformFunction: null }, unit: { classPropertyName: "unit", publicName: "unit", isSignal: true, isRequired: false, transformFunction: null }, emphasized: { classPropertyName: "emphasized", publicName: "emphasized", isSignal: true, isRequired: false, transformFunction: null }, large: { classPropertyName: "large", publicName: "large", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, statusMessage: { classPropertyName: "statusMessage", publicName: "statusMessage", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, inverted: { classPropertyName: "inverted", publicName: "inverted", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-label": "ariaLabel()", "attr.tabindex": "interactive() ? 0 : null", "attr.role": "interactive() ? \"button\" : null", "class": "_cssClass()" } }, ngImport: i0, template: "<span class=\"fd-object-number__text\" [class.fd-object-number__text--bold]=\"!large() && emphasized()\">\n    {{ number() | number: (decimal() ? _numberPipeConfig() : '1.0-0') }}\n</span>\n<span class=\"fd-object-number__unit\">{{ unit() }}</span>\n@if (emphasized()) {\n    <span class=\"fd-object-number__sr-only\">{{ ('coreObjectNumber.emphasized' | fdTranslate)() }}</span>\n}\n@if (status()) {\n    @if (statusMessage()) {\n        <span class=\"fd-object-number__sr-only\">{{ statusMessage() }}</span>\n    } @else {\n        <span class=\"fd-object-number__sr-only\">{{ (statusKey() | fdTranslate)() }}</span>\n    }\n}\n", styles: ["@charset \"UTF-8\";.fd-object-number{font-size:var(--sapFontSize);line-height:normal;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-weight:400;-webkit-box-sizing:border-box;box-sizing:border-box;forced-color-adjust:none;padding-inline:0;padding-block:0;margin-inline:0;margin-block:0;border:0;max-width:100%;position:relative;display:inline-block;vertical-align:middle;padding:var(--fdObjectNumber_Padding, 0);border:var(--fdObjectNumber_Border, none);cursor:var(--fdObjectNumber_Cursor, auto);min-height:var(--fdObjectNumber_Min_Height, 1rem);background:var(--fdObjectNumber_Background, none);line-height:var(--fdObjectNumber_Line_Height, 1rem);border-radius:var(--fdObjectNumber_Border_Radius, 0);color:var(--fdObjectNumber_Color, var(--sapNeutralTextColor));font-size:var(--fdObjectNumber_Font_Size, var(--sapFontSize));font-family:var(--fdObjectNumber_Font_Family, var(--sapFontFamily))}.fd-object-number:before,.fd-object-number:after{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-object-number__text,.fd-object-number__unit{font-size:var(--sapFontSize);line-height:normal;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-weight:400;-webkit-box-sizing:border-box;box-sizing:border-box;forced-color-adjust:none;padding-inline:0;padding-block:0;margin-inline:0;margin-block:0;border:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:inherit;max-width:100%;font-size:inherit;min-height:inherit;line-height:inherit;font-family:inherit;display:inline-block;vertical-align:middle;-webkit-text-decoration:var(--fdObjectNumber_Text_Decoration, none);text-decoration:var(--fdObjectNumber_Text_Decoration, none);text-shadow:var(--fdObjectNumber_Text_Shadow, var(--sapContent_TextShadow))}.fd-object-number__text:before,.fd-object-number__text:after,.fd-object-number__unit:before,.fd-object-number__unit:after{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-object-number__text{font-weight:var(--fdObjectNumber_Text_Font_Weight, normal)}.fd-object-number__text:after{content:\"\\a0\"}.fd-object-number__text--bold{--fdObjectNumber_Text_Font_Weight: bold}.fd-object-number__unit{font-family:var(--sapFontLightFamily)}.fd-object-number__sr-only{position:absolute;clip:rect(0 0 0 0);height:1px;width:1px;border:0;margin-inline:-1px;margin-block:-1px;padding-inline:0;padding-block:0;overflow:hidden;white-space:nowrap}.fd-object-number--positive{--fdObjectNumber_Color: var(--sapPositiveTextColor)}.fd-object-number--critical{--fdObjectNumber_Color: var(--sapCriticalTextColor)}.fd-object-number--negative{--fdObjectNumber_Color: var(--sapNegativeTextColor)}.fd-object-number--informative{--fdObjectNumber_Color: var(--sapInformativeTextColor)}.fd-object-number--large{--fdObjectNumber_Min_Height: 2rem;--fdObjectNumber_Line_Height: 2rem;--fdObjectNumber_Font_Size: 1.5rem;--fdObjectNumber_Font_Family: var(--sapFontLightFamily)}.fd-object-number--inverted{--fdObjectNumber_Text_Shadow: none;--fdObjectNumber_Line_Height: 1rem;--fdObjectNumber_Padding: .1875rem .25rem;--fdObjectNumber_Color: var(--sapTextColor);--fdObjectNumber_Font_Size: var(--sapFontSmallSize);--fdObjectNumber_Font_Family: var(--sapFontBoldFamily);--fdObjectNumber_Background: var(--sapNeutralBackground);--fdObjectNumber_Border_Radius: var(--sapButton_BorderCornerRadius);--fdObjectNumber_Border: .0625rem solid var(--fdObjectNumber_Border_Color, var(--sapNeutralBorderColor))}.fd-object-number--inverted.fd-object-number--interactive{--fdObjectNumber_Text_Decoration: none}.fd-object-number--inverted.fd-object-number--interactive:hover,.fd-object-number--inverted.fd-object-number--interactive.is-hover{--fdObjectNumber_Color: var(--sapButton_Neutral_Hover_TextColor);--fdObjectNumber_Background: var(--sapButton_Neutral_Hover_Background);--fdObjectNumber_Border_Color: var(--sapButton_Neutral_Hover_BorderColor)}.fd-object-number--inverted.fd-object-number--interactive:active,.fd-object-number--inverted.fd-object-number--interactive.is-active{--fdObjectNumber_Color: var(--sapButton_Active_TextColor);--fdObjectNumber_Background: var(--sapButton_Neutral_Active_Background);--fdObjectNumber_Border_Color: var(--sapButton_Neutral_Active_BorderColor)}.fd-object-number--inverted.fd-object-number--interactive:focus,.fd-object-number--inverted.fd-object-number--interactive.is-focus{z-index:5;outline:none}.fd-object-number--inverted.fd-object-number--interactive:focus:focus,.fd-object-number--inverted.fd-object-number--interactive:focus.is-focus,.fd-object-number--inverted.fd-object-number--interactive.is-focus:focus,.fd-object-number--inverted.fd-object-number--interactive.is-focus.is-focus{outline:none}.fd-object-number--inverted.fd-object-number--interactive:focus:focus:after,.fd-object-number--inverted.fd-object-number--interactive:focus.is-focus:after,.fd-object-number--inverted.fd-object-number--interactive.is-focus:focus:after,.fd-object-number--inverted.fd-object-number--interactive.is-focus.is-focus:after{border-width:var(--sapContent_FocusWidth);border-color:var(--sapContent_FocusColor);border-style:var(--sapContent_FocusStyle);border-radius:var(--sapButton_BorderCornerRadius);content:\"\";position:absolute;pointer-events:none;inset:-.125rem}.fd-object-number--inverted.fd-object-number--positive{--fdObjectNumber_Color: var(--sapButton_Success_TextColor);--fdObjectNumber_Background: var(--sapButton_Success_Background);--fdObjectNumber_Border_Color: var(--sapButton_Success_BorderColor)}.fd-object-number--inverted.fd-object-number--positive.fd-object-number--interactive:hover,.fd-object-number--inverted.fd-object-number--positive.fd-object-number--interactive.is-hover{--fdObjectNumber_Color: var(--sapButton_Success_Hover_TextColor);--fdObjectNumber_Background: var(--sapButton_Success_Hover_Background);--fdObjectNumber_Border_Color: var(--sapButton_Success_Hover_BorderColor)}.fd-object-number--inverted.fd-object-number--positive.fd-object-number--interactive:active,.fd-object-number--inverted.fd-object-number--positive.fd-object-number--interactive.is-active{--fdObjectNumber_Color: var(--sapButton_Accept_Selected_TextColor);--fdObjectNumber_Background: var(--sapButton_Success_Active_Background);--fdObjectNumber_Border_Color: var(--sapButton_Success_Active_BorderColor)}.fd-object-number--inverted.fd-object-number--critical{--fdObjectNumber_Color: var(--sapButton_Critical_TextColor);--fdObjectNumber_Background: var(--sapButton_Critical_Background);--fdObjectNumber_Border_Color: var(--sapButton_Critical_BorderColor)}.fd-object-number--inverted.fd-object-number--critical.fd-object-number--interactive:hover,.fd-object-number--inverted.fd-object-number--critical.fd-object-number--interactive.is-hover{--fdObjectNumber_Color: var(--sapButton_Critical_Hover_TextColor);--fdObjectNumber_Background: var(--sapButton_Critical_Hover_Background);--fdObjectNumber_Border_Color: var(--sapButton_Critical_Hover_BorderColor)}.fd-object-number--inverted.fd-object-number--critical.fd-object-number--interactive:active,.fd-object-number--inverted.fd-object-number--critical.fd-object-number--interactive.is-active{--fdObjectNumber_Color: var(--sapButton_Attention_Selected_TextColor);--fdObjectNumber_Background: var(--sapButton_Critical_Active_Background);--fdObjectNumber_Border_Color: var(--sapButton_Critical_Active_BorderColor)}.fd-object-number--inverted.fd-object-number--negative{--fdObjectNumber_Color: var(--sapButton_Negative_TextColor);--fdObjectNumber_Background: var(--sapButton_Negative_Background);--fdObjectNumber_Border_Color: var(--sapButton_Negative_BorderColor)}.fd-object-number--inverted.fd-object-number--negative.fd-object-number--interactive:hover,.fd-object-number--inverted.fd-object-number--negative.fd-object-number--interactive.is-hover{--fdObjectNumber_Color: var(--sapButton_Negative_Hover_TextColor);--fdObjectNumber_Background: var(--sapButton_Negative_Hover_Background);--fdObjectNumber_Border_Color: var(--sapButton_Negative_Hover_BorderColor)}.fd-object-number--inverted.fd-object-number--negative.fd-object-number--interactive:active,.fd-object-number--inverted.fd-object-number--negative.fd-object-number--interactive.is-active{--fdObjectNumber_Color: var(--sapButton_Reject_Selected_TextColor);--fdObjectNumber_Background: var(--sapButton_Negative_Active_Background);--fdObjectNumber_Border_Color: var(--sapButton_Negative_Active_BorderColor)}.fd-object-number--inverted.fd-object-number--informative{--fdObjectNumber_Color: var(--sapButton_Information_TextColor);--fdObjectNumber_Background: var(--sapButton_Information_Background);--fdObjectNumber_Border_Color: var(--sapButton_Information_BorderColor)}.fd-object-number--inverted.fd-object-number--informative.fd-object-number--interactive:hover,.fd-object-number--inverted.fd-object-number--informative.fd-object-number--interactive.is-hover{--fdObjectNumber_Color: var(--sapButton_Information_Hover_TextColor);--fdObjectNumber_Background: var(--sapButton_Information_Hover_Background);--fdObjectNumber_Border_Color: var(--sapButton_Information_Hover_BorderColor)}.fd-object-number--inverted.fd-object-number--informative.fd-object-number--interactive:active,.fd-object-number--inverted.fd-object-number--informative.fd-object-number--interactive.is-active{--fdObjectNumber_Color: var(--sapButton_Selected_TextColor);--fdObjectNumber_Background: var(--sapButton_Information_Active_Background);--fdObjectNumber_Border_Color: var(--sapButton_Information_Active_BorderColor)}.fd-object-number--interactive{--fdObjectNumber_Cursor: pointer;--fdObjectNumber_Text_Decoration: underline}.fd-object-number--interactive:hover,.fd-object-number--interactive.is-hover{--fdObjectNumber_Text_Decoration: none}.fd-object-number--interactive:focus,.fd-object-number--interactive.is-focus{z-index:5;outline:none}.fd-object-number--interactive:focus:focus,.fd-object-number--interactive:focus.is-focus,.fd-object-number--interactive.is-focus:focus,.fd-object-number--interactive.is-focus.is-focus{outline:none}.fd-object-number--interactive:focus:focus:after,.fd-object-number--interactive:focus.is-focus:after,.fd-object-number--interactive.is-focus:focus:after,.fd-object-number--interactive.is-focus.is-focus:after{border-width:var(--sapContent_FocusWidth);border-color:var(--sapContent_FocusColor);border-style:var(--sapContent_FocusStyle);border-radius:.25rem;content:\"\";position:absolute;pointer-events:none;inset:-.1875rem}\n"], dependencies: [{ kind: "pipe", type: DecimalPipe, name: "number" }, { kind: "pipe", type: FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ObjectNumberComponent, decorators: [{
            type: Component,
            args: [{ selector: 'fd-object-number', host: {
                        '[attr.aria-labelledby]': 'ariaLabelledBy()',
                        '[attr.aria-label]': 'ariaLabel()',
                        '[attr.tabindex]': 'interactive() ? 0 : null',
                        '[attr.role]': 'interactive() ? "button" : null',
                        '[class]': '_cssClass()'
                    }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [DecimalPipe, FdTranslatePipe], template: "<span class=\"fd-object-number__text\" [class.fd-object-number__text--bold]=\"!large() && emphasized()\">\n    {{ number() | number: (decimal() ? _numberPipeConfig() : '1.0-0') }}\n</span>\n<span class=\"fd-object-number__unit\">{{ unit() }}</span>\n@if (emphasized()) {\n    <span class=\"fd-object-number__sr-only\">{{ ('coreObjectNumber.emphasized' | fdTranslate)() }}</span>\n}\n@if (status()) {\n    @if (statusMessage()) {\n        <span class=\"fd-object-number__sr-only\">{{ statusMessage() }}</span>\n    } @else {\n        <span class=\"fd-object-number__sr-only\">{{ (statusKey() | fdTranslate)() }}</span>\n    }\n}\n", styles: ["@charset \"UTF-8\";.fd-object-number{font-size:var(--sapFontSize);line-height:normal;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-weight:400;-webkit-box-sizing:border-box;box-sizing:border-box;forced-color-adjust:none;padding-inline:0;padding-block:0;margin-inline:0;margin-block:0;border:0;max-width:100%;position:relative;display:inline-block;vertical-align:middle;padding:var(--fdObjectNumber_Padding, 0);border:var(--fdObjectNumber_Border, none);cursor:var(--fdObjectNumber_Cursor, auto);min-height:var(--fdObjectNumber_Min_Height, 1rem);background:var(--fdObjectNumber_Background, none);line-height:var(--fdObjectNumber_Line_Height, 1rem);border-radius:var(--fdObjectNumber_Border_Radius, 0);color:var(--fdObjectNumber_Color, var(--sapNeutralTextColor));font-size:var(--fdObjectNumber_Font_Size, var(--sapFontSize));font-family:var(--fdObjectNumber_Font_Family, var(--sapFontFamily))}.fd-object-number:before,.fd-object-number:after{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-object-number__text,.fd-object-number__unit{font-size:var(--sapFontSize);line-height:normal;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-weight:400;-webkit-box-sizing:border-box;box-sizing:border-box;forced-color-adjust:none;padding-inline:0;padding-block:0;margin-inline:0;margin-block:0;border:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:inherit;max-width:100%;font-size:inherit;min-height:inherit;line-height:inherit;font-family:inherit;display:inline-block;vertical-align:middle;-webkit-text-decoration:var(--fdObjectNumber_Text_Decoration, none);text-decoration:var(--fdObjectNumber_Text_Decoration, none);text-shadow:var(--fdObjectNumber_Text_Shadow, var(--sapContent_TextShadow))}.fd-object-number__text:before,.fd-object-number__text:after,.fd-object-number__unit:before,.fd-object-number__unit:after{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-object-number__text{font-weight:var(--fdObjectNumber_Text_Font_Weight, normal)}.fd-object-number__text:after{content:\"\\a0\"}.fd-object-number__text--bold{--fdObjectNumber_Text_Font_Weight: bold}.fd-object-number__unit{font-family:var(--sapFontLightFamily)}.fd-object-number__sr-only{position:absolute;clip:rect(0 0 0 0);height:1px;width:1px;border:0;margin-inline:-1px;margin-block:-1px;padding-inline:0;padding-block:0;overflow:hidden;white-space:nowrap}.fd-object-number--positive{--fdObjectNumber_Color: var(--sapPositiveTextColor)}.fd-object-number--critical{--fdObjectNumber_Color: var(--sapCriticalTextColor)}.fd-object-number--negative{--fdObjectNumber_Color: var(--sapNegativeTextColor)}.fd-object-number--informative{--fdObjectNumber_Color: var(--sapInformativeTextColor)}.fd-object-number--large{--fdObjectNumber_Min_Height: 2rem;--fdObjectNumber_Line_Height: 2rem;--fdObjectNumber_Font_Size: 1.5rem;--fdObjectNumber_Font_Family: var(--sapFontLightFamily)}.fd-object-number--inverted{--fdObjectNumber_Text_Shadow: none;--fdObjectNumber_Line_Height: 1rem;--fdObjectNumber_Padding: .1875rem .25rem;--fdObjectNumber_Color: var(--sapTextColor);--fdObjectNumber_Font_Size: var(--sapFontSmallSize);--fdObjectNumber_Font_Family: var(--sapFontBoldFamily);--fdObjectNumber_Background: var(--sapNeutralBackground);--fdObjectNumber_Border_Radius: var(--sapButton_BorderCornerRadius);--fdObjectNumber_Border: .0625rem solid var(--fdObjectNumber_Border_Color, var(--sapNeutralBorderColor))}.fd-object-number--inverted.fd-object-number--interactive{--fdObjectNumber_Text_Decoration: none}.fd-object-number--inverted.fd-object-number--interactive:hover,.fd-object-number--inverted.fd-object-number--interactive.is-hover{--fdObjectNumber_Color: var(--sapButton_Neutral_Hover_TextColor);--fdObjectNumber_Background: var(--sapButton_Neutral_Hover_Background);--fdObjectNumber_Border_Color: var(--sapButton_Neutral_Hover_BorderColor)}.fd-object-number--inverted.fd-object-number--interactive:active,.fd-object-number--inverted.fd-object-number--interactive.is-active{--fdObjectNumber_Color: var(--sapButton_Active_TextColor);--fdObjectNumber_Background: var(--sapButton_Neutral_Active_Background);--fdObjectNumber_Border_Color: var(--sapButton_Neutral_Active_BorderColor)}.fd-object-number--inverted.fd-object-number--interactive:focus,.fd-object-number--inverted.fd-object-number--interactive.is-focus{z-index:5;outline:none}.fd-object-number--inverted.fd-object-number--interactive:focus:focus,.fd-object-number--inverted.fd-object-number--interactive:focus.is-focus,.fd-object-number--inverted.fd-object-number--interactive.is-focus:focus,.fd-object-number--inverted.fd-object-number--interactive.is-focus.is-focus{outline:none}.fd-object-number--inverted.fd-object-number--interactive:focus:focus:after,.fd-object-number--inverted.fd-object-number--interactive:focus.is-focus:after,.fd-object-number--inverted.fd-object-number--interactive.is-focus:focus:after,.fd-object-number--inverted.fd-object-number--interactive.is-focus.is-focus:after{border-width:var(--sapContent_FocusWidth);border-color:var(--sapContent_FocusColor);border-style:var(--sapContent_FocusStyle);border-radius:var(--sapButton_BorderCornerRadius);content:\"\";position:absolute;pointer-events:none;inset:-.125rem}.fd-object-number--inverted.fd-object-number--positive{--fdObjectNumber_Color: var(--sapButton_Success_TextColor);--fdObjectNumber_Background: var(--sapButton_Success_Background);--fdObjectNumber_Border_Color: var(--sapButton_Success_BorderColor)}.fd-object-number--inverted.fd-object-number--positive.fd-object-number--interactive:hover,.fd-object-number--inverted.fd-object-number--positive.fd-object-number--interactive.is-hover{--fdObjectNumber_Color: var(--sapButton_Success_Hover_TextColor);--fdObjectNumber_Background: var(--sapButton_Success_Hover_Background);--fdObjectNumber_Border_Color: var(--sapButton_Success_Hover_BorderColor)}.fd-object-number--inverted.fd-object-number--positive.fd-object-number--interactive:active,.fd-object-number--inverted.fd-object-number--positive.fd-object-number--interactive.is-active{--fdObjectNumber_Color: var(--sapButton_Accept_Selected_TextColor);--fdObjectNumber_Background: var(--sapButton_Success_Active_Background);--fdObjectNumber_Border_Color: var(--sapButton_Success_Active_BorderColor)}.fd-object-number--inverted.fd-object-number--critical{--fdObjectNumber_Color: var(--sapButton_Critical_TextColor);--fdObjectNumber_Background: var(--sapButton_Critical_Background);--fdObjectNumber_Border_Color: var(--sapButton_Critical_BorderColor)}.fd-object-number--inverted.fd-object-number--critical.fd-object-number--interactive:hover,.fd-object-number--inverted.fd-object-number--critical.fd-object-number--interactive.is-hover{--fdObjectNumber_Color: var(--sapButton_Critical_Hover_TextColor);--fdObjectNumber_Background: var(--sapButton_Critical_Hover_Background);--fdObjectNumber_Border_Color: var(--sapButton_Critical_Hover_BorderColor)}.fd-object-number--inverted.fd-object-number--critical.fd-object-number--interactive:active,.fd-object-number--inverted.fd-object-number--critical.fd-object-number--interactive.is-active{--fdObjectNumber_Color: var(--sapButton_Attention_Selected_TextColor);--fdObjectNumber_Background: var(--sapButton_Critical_Active_Background);--fdObjectNumber_Border_Color: var(--sapButton_Critical_Active_BorderColor)}.fd-object-number--inverted.fd-object-number--negative{--fdObjectNumber_Color: var(--sapButton_Negative_TextColor);--fdObjectNumber_Background: var(--sapButton_Negative_Background);--fdObjectNumber_Border_Color: var(--sapButton_Negative_BorderColor)}.fd-object-number--inverted.fd-object-number--negative.fd-object-number--interactive:hover,.fd-object-number--inverted.fd-object-number--negative.fd-object-number--interactive.is-hover{--fdObjectNumber_Color: var(--sapButton_Negative_Hover_TextColor);--fdObjectNumber_Background: var(--sapButton_Negative_Hover_Background);--fdObjectNumber_Border_Color: var(--sapButton_Negative_Hover_BorderColor)}.fd-object-number--inverted.fd-object-number--negative.fd-object-number--interactive:active,.fd-object-number--inverted.fd-object-number--negative.fd-object-number--interactive.is-active{--fdObjectNumber_Color: var(--sapButton_Reject_Selected_TextColor);--fdObjectNumber_Background: var(--sapButton_Negative_Active_Background);--fdObjectNumber_Border_Color: var(--sapButton_Negative_Active_BorderColor)}.fd-object-number--inverted.fd-object-number--informative{--fdObjectNumber_Color: var(--sapButton_Information_TextColor);--fdObjectNumber_Background: var(--sapButton_Information_Background);--fdObjectNumber_Border_Color: var(--sapButton_Information_BorderColor)}.fd-object-number--inverted.fd-object-number--informative.fd-object-number--interactive:hover,.fd-object-number--inverted.fd-object-number--informative.fd-object-number--interactive.is-hover{--fdObjectNumber_Color: var(--sapButton_Information_Hover_TextColor);--fdObjectNumber_Background: var(--sapButton_Information_Hover_Background);--fdObjectNumber_Border_Color: var(--sapButton_Information_Hover_BorderColor)}.fd-object-number--inverted.fd-object-number--informative.fd-object-number--interactive:active,.fd-object-number--inverted.fd-object-number--informative.fd-object-number--interactive.is-active{--fdObjectNumber_Color: var(--sapButton_Selected_TextColor);--fdObjectNumber_Background: var(--sapButton_Information_Active_Background);--fdObjectNumber_Border_Color: var(--sapButton_Information_Active_BorderColor)}.fd-object-number--interactive{--fdObjectNumber_Cursor: pointer;--fdObjectNumber_Text_Decoration: underline}.fd-object-number--interactive:hover,.fd-object-number--interactive.is-hover{--fdObjectNumber_Text_Decoration: none}.fd-object-number--interactive:focus,.fd-object-number--interactive.is-focus{z-index:5;outline:none}.fd-object-number--interactive:focus:focus,.fd-object-number--interactive:focus.is-focus,.fd-object-number--interactive.is-focus:focus,.fd-object-number--interactive.is-focus.is-focus{outline:none}.fd-object-number--interactive:focus:focus:after,.fd-object-number--interactive:focus.is-focus:after,.fd-object-number--interactive.is-focus:focus:after,.fd-object-number--interactive.is-focus.is-focus:after{border-width:var(--sapContent_FocusWidth);border-color:var(--sapContent_FocusColor);border-style:var(--sapContent_FocusStyle);border-radius:.25rem;content:\"\";position:absolute;pointer-events:none;inset:-.1875rem}\n"] }]
        }], propDecorators: { number: [{ type: i0.Input, args: [{ isSignal: true, alias: "number", required: false }] }], decimal: [{ type: i0.Input, args: [{ isSignal: true, alias: "decimal", required: false }] }], unit: [{ type: i0.Input, args: [{ isSignal: true, alias: "unit", required: false }] }], emphasized: [{ type: i0.Input, args: [{ isSignal: true, alias: "emphasized", required: false }] }], large: [{ type: i0.Input, args: [{ isSignal: true, alias: "large", required: false }] }], status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: false }] }], statusMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "statusMessage", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], inverted: [{ type: i0.Input, args: [{ isSignal: true, alias: "inverted", required: false }] }] } });

/**
 * @deprecated
 * Use direct import of `ObjectNumberComponent`
 */
class ObjectNumberModule {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ObjectNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
    static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.0", ngImport: i0, type: ObjectNumberModule, imports: [ObjectNumberComponent], exports: [ObjectNumberComponent] }); }
    static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ObjectNumberModule }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ObjectNumberModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [ObjectNumberComponent],
                    exports: [ObjectNumberComponent]
                }]
        }] });

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

export { ObjectNumberComponent, ObjectNumberModule };
//# sourceMappingURL=fundamental-ngx-core-object-number.mjs.map
