import { Component, Input } from '@angular/core';
import { FormControl } from '@angular/forms';
import { ProfileRepresentation } from '@aztrix/sdk';
import * as i0 from "@angular/core";
import * as i1 from "../selection-buttons.component";
import * as i2 from "@angular/common";
import * as i3 from "@aztrix/translate";
export class ProfileContextSelectionButtonsComponent {
    constructor() {
        this.fullWidth = false;
        this.profileContextOptions = Object.values(ProfileRepresentation.ProfileContextEnum).map((profileContext) => profileContext.toString());
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProfileContextSelectionButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ProfileContextSelectionButtonsComponent, selector: "ax-profile-context-selection-buttons", inputs: { form: "form", fullWidth: "fullWidth" }, ngImport: i0, template: "<ax-selection-buttons\n  [selectionTemplate]=\"profileContext\"\n  [options]=\"profileContextOptions\"\n  [form]=\"form\"\n  [fullWidth]=\"fullWidth\"\n></ax-selection-buttons>\n\n<ng-template #profileContext let-option>\n  {{ 'label.' + option | lowercase | translate }}\n</ng-template>\n", styles: [""], dependencies: [{ kind: "component", type: i1.SelectionButtonsComponent, selector: "ax-selection-buttons", inputs: ["form", "options", "multiple", "selectionTemplate", "fullWidth"] }, { kind: "pipe", type: i2.LowerCasePipe, name: "lowercase" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ProfileContextSelectionButtonsComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-profile-context-selection-buttons', template: "<ax-selection-buttons\n  [selectionTemplate]=\"profileContext\"\n  [options]=\"profileContextOptions\"\n  [form]=\"form\"\n  [fullWidth]=\"fullWidth\"\n></ax-selection-buttons>\n\n<ng-template #profileContext let-option>\n  {{ 'label.' + option | lowercase | translate }}\n</ng-template>\n" }]
        }], propDecorators: { form: [{
                type: Input
            }], fullWidth: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS1jb250ZXh0LXNlbGVjdGlvbi1idXR0b25zLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zZWxlY3Rpb24tYnV0dG9ucy9wcm9maWxlLWNvbnRleHQtc2VsZWN0aW9uLWJ1dHRvbnMvcHJvZmlsZS1jb250ZXh0LXNlbGVjdGlvbi1idXR0b25zLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9zZWxlY3Rpb24tYnV0dG9ucy9wcm9maWxlLWNvbnRleHQtc2VsZWN0aW9uLWJ1dHRvbnMvcHJvZmlsZS1jb250ZXh0LXNlbGVjdGlvbi1idXR0b25zLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQy9DLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzQyxPQUFPLEVBQUMscUJBQXFCLEVBQUMsTUFBTSxhQUFhLENBQUM7Ozs7O0FBT2xELE1BQU0sT0FBTyx1Q0FBdUM7SUFMcEQ7UUFPVyxjQUFTLEdBQUcsS0FBSyxDQUFDO1FBRTNCLDBCQUFxQixHQUFHLE1BQU0sQ0FBQyxNQUFNLENBQUMscUJBQXFCLENBQUMsa0JBQWtCLENBQUMsQ0FBQyxHQUFHLENBQ2pGLENBQUMsY0FBYyxFQUFFLEVBQUUsQ0FBQyxjQUFjLENBQUMsUUFBUSxFQUFFLENBQzlDLENBQUM7S0FDSDsrR0FQWSx1Q0FBdUM7bUdBQXZ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