import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
export class ToggleMenuPlaceholderComponent {
    get isTemplate() {
        return this.placeholder && typeof this.placeholder !== 'string';
    }
}
ToggleMenuPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ToggleMenuPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
ToggleMenuPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: ToggleMenuPlaceholderComponent, selector: "d-toggle-menu-placeholder", inputs: { placeholder: "placeholder" }, ngImport: i0, template: `
    <ng-container *ngIf="isTemplate; else defaultTemplate"></ng-container>
    <ng-template #defaultTemplate
      ><span class="devui-placeholder">{{ placeholder }}</span></ng-template
    >
  `, isInline: true, styles: [":host{display:flex;align-items:center}:host .devui-placeholder{color:#babbc0;color:var(--devui-placeholder, #babbc0);line-height:inherit;padding:0 10px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ToggleMenuPlaceholderComponent, decorators: [{
            type: Component,
            args: [{ selector: 'd-toggle-menu-placeholder', template: `
    <ng-container *ngIf="isTemplate; else defaultTemplate"></ng-container>
    <ng-template #defaultTemplate
      ><span class="devui-placeholder">{{ placeholder }}</span></ng-template
    >
  `, styles: [":host{display:flex;align-items:center}:host .devui-placeholder{color:#babbc0;color:var(--devui-placeholder, #babbc0);line-height:inherit;padding:0 10px}\n"] }]
        }], propDecorators: { placeholder: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9nZ2xlLW1lbnUtcGxhY2Vob2xkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiO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