UNPKG

ngx-tabler-icons

Version:
35 lines 5.09 kB
import { Component, Input, Inject, Optional, ChangeDetectionStrategy } from '@angular/core'; import * as i0 from "@angular/core"; export class ITablerSquareRoundedComponent { constructor(defaultStrokeWidth) { this.defaultStrokeWidth = defaultStrokeWidth; this.size = 24; this.strokeWidth = this.defaultStrokeWidth || 1.5; } static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: ITablerSquareRoundedComponent, deps: [{ token: 'TABLER_ICON_STROKE_WIDTH', optional: true }], target: i0.ɵɵFactoryTarget.Component }); } static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.2", type: ITablerSquareRoundedComponent, isStandalone: true, selector: "i-tabler-square-rounded", inputs: { size: "size", strokeWidth: "strokeWidth" }, ngImport: i0, template: ` <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-square-rounded" [attr.width]="size" [attr.height]="size" viewBox="0 0 24 24" [attr.stroke-width]="strokeWidth" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 3c7.2 0 9 1.8 9 9s-1.8 9 -9 9s-9 -1.8 -9 -9s1.8 -9 9 -9z"></path> </svg> `, isInline: true, styles: [":host{display:inline-flex;align-items:center;justify-content:center}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: ITablerSquareRoundedComponent, decorators: [{ type: Component, args: [{ selector: 'i-tabler-square-rounded', standalone: true, template: ` <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-square-rounded" [attr.width]="size" [attr.height]="size" viewBox="0 0 24 24" [attr.stroke-width]="strokeWidth" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none"></path> <path d="M12 3c7.2 0 9 1.8 9 9s-1.8 9 -9 9s-9 -1.8 -9 -9s1.8 -9 9 -9z"></path> </svg> `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:inline-flex;align-items:center;justify-content:center}\n"] }] }], ctorParameters: () => [{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: ['TABLER_ICON_STROKE_WIDTH'] }] }], propDecorators: { size: [{ type: Input }], strokeWidth: [{ type: Input }] } }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3F1YXJlLXJvdW5kZWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXRhYmxlci1pY29ucy9zcmMvbGliL3NxdWFyZS1yb3VuZGVkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBRSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsUUFBUSxFQUFFLHVCQUF1QixFQUFFLE1BQU0sZUFBZSxDQUFDOztBQXNCOUYsTUFBTSxPQUFPLDZCQUE2QjtJQUl4QyxZQUdVLGtCQUEwQjtRQUExQix1QkFBa0IsR0FBbEIsa0JBQWtCLENBQVE7UUFOM0IsU0FBSSxHQUFHLEVBQUUsQ0FBQztRQUNWLGdCQUFXLEdBQUcsSUFBSSxDQUFDLGtCQUFrQixJQUFJLEdBQUcsQ0FBQztJQU1uRCxDQUFDOzhHQVJPLDZCQUE2QixrQkFNOUIsMEJBQTBCO2tHQU56Qiw2QkFBNkIseUlBakI5Qjs7Ozs7R0FLVDs7MkZBWVUsNkJBQTZCO2tCQXBCekMsU0FBUzsrQkFDRSx5QkFBeUIsY0FDdkIsSUFBSSxZQUNOOzs7OztHQUtULG1CQVVnQix1QkFBdUIsQ0FBQyxNQUFNOzswQkFPNUMsUUFBUTs7MEJBQ1IsTUFBTTsyQkFBQywwQkFB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