import { Component, Input, Output, EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@softpak/frontend-components-ng";
export 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
            }] } });
//# sourceMappingURL=data:application/json;base64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