import * as i0 from '@angular/core';
import { forwardRef, Directive, NgModule } from '@angular/core';
import { NG_VALUE_ACCESSOR } from '@angular/forms';
import { BignumberInputDirective } from '@seniorsistemas/angular-components/bignumber-input';

/**
 * @deprecated Este enum é mantido apenas por compatibilidade. Utilize as strings `'left'` ou `'right'` diretamente.
 */
var NumberAlignmentOption;
(function (NumberAlignmentOption) {
    NumberAlignmentOption["RIGHT"] = "right";
    NumberAlignmentOption["LEFT"] = "left";
})(NumberAlignmentOption || (NumberAlignmentOption = {}));
/**
 * @deprecated Use a diretiva `sNumericMask` em vez desta.
 * @description Alias de `BignumberInputDirective` mantido por compatibilidade.
 * Todos os inputs e outputs são idênticos ao `sBignumberInput`.
 *
 * @example
 * ```html
 * <input sNumberInput [precision]="10" [scale]="2" />
 * ```
 *
 * @category Inputs
 */
class NumberInputDirective extends BignumberInputDirective {
    static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberInputDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
    static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: NumberInputDirective, isStandalone: true, selector: "input[sNumberInput]", providers: [
            {
                provide: NG_VALUE_ACCESSOR,
                useExisting: forwardRef(() => NumberInputDirective),
                multi: true,
            },
        ], usesInheritance: true, ngImport: i0 });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberInputDirective, decorators: [{
            type: Directive,
            args: [{
                    selector: 'input[sNumberInput]',
                    providers: [
                        {
                            provide: NG_VALUE_ACCESSOR,
                            useExisting: forwardRef(() => NumberInputDirective),
                            multi: true,
                        },
                    ],
                    standalone: true,
                }]
        }] });

/**
 * @deprecated Should use 'BignumberInputModule' instead
 */
class NumberInputModule {
    static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
    static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: NumberInputModule, imports: [NumberInputDirective], exports: [NumberInputDirective] });
    static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberInputModule });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NumberInputModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [NumberInputDirective],
                    exports: [NumberInputDirective],
                }]
        }] });

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

export { NumberAlignmentOption, NumberInputDirective, NumberInputModule };
//# sourceMappingURL=seniorsistemas-angular-components-number-input.mjs.map
