import * as i0 from '@angular/core';
import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
import * as i1 from '@angular/common';
import { CommonModule } from '@angular/common';
import * as i2 from '@softpak/frontend-components-ng';
import { SpfModule } from '@softpak/frontend-components-ng';

class SpaWelcomeComponent {
    constructor() {
        this.channels = [];
        this.spaSelected = new EventEmitter();
    }
    onSelectChannel(channel) {
        this.spaSelected.emit(channel);
    }
}
SpaWelcomeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpaWelcomeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
SpaWelcomeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SpaWelcomeComponent, selector: "spa-welcome", inputs: { channels: "channels" }, outputs: { spaSelected: "spaSelected" }, ngImport: i0, template: `<div class="flex flex-col gap-3">
    <spn-button [spfFullWidth]="true" *ngFor="let channel of channels" (click)="onSelectChannel(channel)">
      {{ channel.brand }}
    </spn-button>
  </div>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.SpnButton, selector: "spn-button", inputs: ["spfClass", "spfClassObject", "spfDisabled", "spfForm", "spfFullHeight", "spfFullWidth", "spfSeverity", "spfSize", "spfTabIndex", "spfType"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpaWelcomeComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'spa-welcome',
                    template: `<div class="flex flex-col gap-3">
    <spn-button [spfFullWidth]="true" *ngFor="let channel of channels" (click)="onSelectChannel(channel)">
      {{ channel.brand }}
    </spn-button>
  </div>`,
                }]
        }], ctorParameters: function () { return []; }, propDecorators: { channels: [{
                type: Input
            }], spaSelected: [{
                type: Output
            }] } });

class SpaWelcomeModule {
}
SpaWelcomeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpaWelcomeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
SpaWelcomeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: SpaWelcomeModule, declarations: [SpaWelcomeComponent], imports: [CommonModule,
        SpfModule], exports: [SpaWelcomeComponent] });
SpaWelcomeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpaWelcomeModule, imports: [CommonModule,
        SpfModule] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpaWelcomeModule, decorators: [{
            type: NgModule,
            args: [{
                    declarations: [
                        SpaWelcomeComponent,
                    ],
                    imports: [
                        CommonModule,
                        SpfModule,
                    ],
                    exports: [
                        SpaWelcomeComponent,
                    ],
                }]
        }] });

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

export { SpaWelcomeComponent, SpaWelcomeModule };
//# sourceMappingURL=softpak-ng-components-spa-welcome.mjs.map
