import { Component, Input, forwardRef } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ComponentMapperComponent } from '../../../_bridge/component-mapper/component-mapper.component';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
export class InlineDashboardComponent {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InlineDashboardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: InlineDashboardComponent, isStandalone: true, selector: "app-inline-dashboard", inputs: { pConn$: "pConn$", filtersFormGroup$: "filtersFormGroup$", inlineProps: "inlineProps", children: "children" }, ngImport: i0, template: "<div class=\"psdk-inline-dashboard\">\n  <h4 class=\"psdk-inline-dashboard-title\">{{ inlineProps.title }}</h4>\n  <div\n    [ngClass]=\"{\n      'psdk-inline-style': inlineProps.filterPosition === 'inline-start' || inlineProps.filterPosition === 'inline-end',\n      'psdk-inline-end': inlineProps.filterPosition === 'inline-end'\n    }\"\n    *ngIf=\"children\"\n  >\n    <div class=\"psdk-inline-filter\">\n      <div id=\"filters\">\n        <component-mapper name=\"DashboardFilter\" [props]=\"{ children: children[1], inlineProps, filtersFormGroup$ }\"></component-mapper>\n      </div>\n    </div>\n    <div class=\"psdk-inline-list\">\n      <component-mapper name=\"Region\" [props]=\"{ pConn$: children[0].getPConnect() }\"></component-mapper>\n    </div>\n  </div>\n</div>\n", styles: [".psdk-inline-dashboard{margin-left:8px;margin-right:8px}.psdk-inline-dashboard-title{font-weight:500;font-size:1.25rem}.psdk-not-block-style{display:grid;grid-template-columns:3fr 7fr}.psdk-inline-style{display:flex}.psdk-inline-style .psdk-inline-filter{width:25%;padding:0 8px;margin-top:1rem}.psdk-inline-style .psdk-inline-list{width:75%;padding:0 8px}.psdk-inline-end{flex-direction:row-reverse}\n"], dependencies: [{ kind: "ngmodule", type: i0.forwardRef(function () { return CommonModule; }) }, { kind: "directive", type: i0.forwardRef(function () { return i1.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return i1.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(function () { return ComponentMapperComponent; }), selector: "component-mapper", inputs: ["name", "props", "errorMsg", "outputEvents", "parent"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InlineDashboardComponent, decorators: [{
            type: Component,
            args: [{ selector: 'app-inline-dashboard', standalone: true, imports: [CommonModule, forwardRef(() => ComponentMapperComponent)], template: "<div class=\"psdk-inline-dashboard\">\n  <h4 class=\"psdk-inline-dashboard-title\">{{ inlineProps.title }}</h4>\n  <div\n    [ngClass]=\"{\n      'psdk-inline-style': inlineProps.filterPosition === 'inline-start' || inlineProps.filterPosition === 'inline-end',\n      'psdk-inline-end': inlineProps.filterPosition === 'inline-end'\n    }\"\n    *ngIf=\"children\"\n  >\n    <div class=\"psdk-inline-filter\">\n      <div id=\"filters\">\n        <component-mapper name=\"DashboardFilter\" [props]=\"{ children: children[1], inlineProps, filtersFormGroup$ }\"></component-mapper>\n      </div>\n    </div>\n    <div class=\"psdk-inline-list\">\n      <component-mapper name=\"Region\" [props]=\"{ pConn$: children[0].getPConnect() }\"></component-mapper>\n    </div>\n  </div>\n</div>\n", styles: [".psdk-inline-dashboard{margin-left:8px;margin-right:8px}.psdk-inline-dashboard-title{font-weight:500;font-size:1.25rem}.psdk-not-block-style{display:grid;grid-template-columns:3fr 7fr}.psdk-inline-style{display:flex}.psdk-inline-style .psdk-inline-filter{width:25%;padding:0 8px;margin-top:1rem}.psdk-inline-style .psdk-inline-list{width:75%;padding:0 8px}.psdk-inline-end{flex-direction:row-reverse}\n"] }]
        }], propDecorators: { pConn$: [{
                type: Input
            }], filtersFormGroup$: [{
                type: Input
            }], inlineProps: [{
                type: Input
            }], children: [{
                type: Input
            }]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