import { CommonModule } from '@angular/common';
import { ChangeDetectionStrategy, Component, computed, input, numberAttribute } from '@angular/core';
import * as i0 from "@angular/core";
export class NgmProgressSpinnerComponent {
    constructor() {
        this.value = input(0, {
            transform: numberAttribute
        });
        this.progress = computed(() => 100 - this.value());
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NgmProgressSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: NgmProgressSpinnerComponent, isStandalone: true, selector: "ngm-progress-spinner", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "ngm-progress-spinner" }, ngImport: i0, template: "<svg class=\"size-full -rotate-90\" viewBox=\"0 0 36 36\" xmlns=\"http://www.w3.org/2000/svg\">\n    <!-- Background Circle -->\n    <circle cx=\"18\" cy=\"18\" r=\"16\" fill=\"none\" class=\"stroke-current text-gray-200 dark:text-neutral-700\" stroke-width=\"3\"></circle>\n    <!-- Progress Circle -->\n    <circle cx=\"18\" cy=\"18\" r=\"16\" fill=\"none\" class=\"stroke-current\" color=\"currentColor\" stroke-width=\"3\" stroke-dasharray=\"100\" \n        [attr.stroke-dashoffset]=\"progress()\" stroke-linecap=\"round\">\n    </circle>\n</svg>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NgmProgressSpinnerComponent, decorators: [{
            type: Component,
            args: [{ standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, selector: 'ngm-progress-spinner', host: {
                        class: 'ngm-progress-spinner'
                    }, template: "<svg class=\"size-full -rotate-90\" viewBox=\"0 0 36 36\" xmlns=\"http://www.w3.org/2000/svg\">\n    <!-- Background Circle -->\n    <circle cx=\"18\" cy=\"18\" r=\"16\" fill=\"none\" class=\"stroke-current text-gray-200 dark:text-neutral-700\" stroke-width=\"3\"></circle>\n    <!-- Progress Circle -->\n    <circle cx=\"18\" cy=\"18\" r=\"16\" fill=\"none\" class=\"stroke-current\" color=\"currentColor\" stroke-width=\"3\" stroke-dasharray=\"100\" \n        [attr.stroke-dashoffset]=\"progress()\" stroke-linecap=\"round\">\n    </circle>\n</svg>" }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Bpbm5lci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9hbmd1bGFyL2NvbW1vbi9wcm9ncmVzcy1zcGlubmVyL3NwaW5uZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvYW5ndWxhci9jb21tb24vcHJvZ3Jlc3Mtc3Bpbm5lci9zcGlubmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQTtBQUM5QyxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLFFBQVEsRUFBRSxLQUFLLEVBQUUsZUFBZSxFQUFFLE1BQU0sZUFBZSxDQUFBOztBQWFwRyxNQUFNLE9BQU8sMkJBQTJCO0lBWHhDO1FBWVcsVUFBSyxHQUFHLEtBQUssQ0FBMEIsQ0FBQyxFQUFFO1lBQ2pELFNBQVMsRUFBRSxlQUFlO1NBQzNCLENBQUMsQ0FBQTtRQUVPLGFBQVEsR0FBRyxRQUFRLENBQUMsR0FBRyxFQUFFLENBQUMsR0FBRyxHQUFHLElBQUksQ0FBQyxLQUFLLEVBQUUsQ0FBQyxDQUFBO0tBQ3ZEOytHQU5ZLD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