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

class SpaChannelIndicatorComponent {
    constructor() {
        this.spaChange = new EventEmitter();
    }
    onChange() {
        this.spaChange.emit();
    }
}
SpaChannelIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpaChannelIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
SpaChannelIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SpaChannelIndicatorComponent, selector: "spa-channel-indicator", inputs: { channel: "channel", channelType: "channelType", txtChange: "txtChange" }, outputs: { spaChange: "spaChange" }, ngImport: i0, template: `<div class="bg-white p-3 rounded flex gap-3 items-center text-black">
    <div class="grow">
      <div class="text-lg font-bold">{{ channel.brand }}</div>
      <div class="text-base text-gray-600">{{ channelType }}</div>
    </div>
    <spn-button (click)="onChange()">{{ txtChange }}</spn-button>
  </div>`, isInline: true, dependencies: [{ kind: "component", type: i1.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: SpaChannelIndicatorComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'spa-channel-indicator',
                    template: `<div class="bg-white p-3 rounded flex gap-3 items-center text-black">
    <div class="grow">
      <div class="text-lg font-bold">{{ channel.brand }}</div>
      <div class="text-base text-gray-600">{{ channelType }}</div>
    </div>
    <spn-button (click)="onChange()">{{ txtChange }}</spn-button>
  </div>`,
                }]
        }], ctorParameters: function () { return []; }, propDecorators: { channel: [{
                type: Input
            }], channelType: [{
                type: Input
            }], txtChange: [{
                type: Input
            }], spaChange: [{
                type: Output
            }] } });

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

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$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i1.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 { SpaChannelIndicatorComponent, SpaChannelIndicatorModule, SpaWelcomeComponent, SpaWelcomeModule };
//# sourceMappingURL=softpak-ng-components-spa-channel-selection.mjs.map
