import * as i0 from '@angular/core';
import { Input, Component, NgModule } from '@angular/core';
import { warnOnce } from '@fundamental-ngx/cdk/utils';
import { FD_DEFAULT_ICON_FONT_FAMILY } from '@fundamental-ngx/core/icon';
import { ObjectMarkerComponent } from '@fundamental-ngx/core/object-marker';

/**
 * @deprecated
 * Use ObjectMarkerComponent from `@fundamental-ngx/core/object-marker` instead.
 */
class PlatformObjectMarkerComponent {
    /** @hidden */
    constructor() {
        /** Glyph font family */
        this.glyphFont = FD_DEFAULT_ICON_FONT_FAMILY;
        warnOnce('PlatformObjectMarkerComponent is deprecated. Use ObjectMarkerComponent from `@fundamental-ngx/core/object-marker` instead.');
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PlatformObjectMarkerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.4", type: PlatformObjectMarkerComponent, isStandalone: true, selector: "fdp-object-marker", inputs: { glyph: "glyph", glyphFont: "glyphFont", clickable: "clickable", label: "label", link: "link", ariaLabel: "ariaLabel", ariaHidden: "ariaHidden", title: "title" }, ngImport: i0, template: "@if (!clickable) {\n    <span\n        fd-object-marker\n        [glyph]=\"glyph\"\n        [glyphFont]=\"glyphFont\"\n        [attr.aria-label]=\"ariaLabel\"\n        [attr.aria-hidden]=\"ariaHidden\"\n        [attr.title]=\"title\"\n        [label]=\"label\"\n    >\n        <ng-content></ng-content>\n    </span>\n} @else {\n    <a\n        [attr.href]=\"link\"\n        fd-object-marker\n        [glyph]=\"glyph\"\n        [glyphFont]=\"glyphFont\"\n        [clickable]=\"clickable\"\n        [attr.aria-label]=\"ariaLabel\"\n        [attr.aria-hidden]=\"ariaHidden\"\n        [attr.title]=\"title\"\n        [label]=\"label\"\n    >\n        <ng-content></ng-content>\n    </a>\n}\n", dependencies: [{ kind: "component", type: ObjectMarkerComponent, selector: "[fd-object-marker]", inputs: ["class", "glyph", "glyphFont", "clickable", "label"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PlatformObjectMarkerComponent, decorators: [{
            type: Component,
            args: [{ selector: 'fdp-object-marker', imports: [ObjectMarkerComponent], template: "@if (!clickable) {\n    <span\n        fd-object-marker\n        [glyph]=\"glyph\"\n        [glyphFont]=\"glyphFont\"\n        [attr.aria-label]=\"ariaLabel\"\n        [attr.aria-hidden]=\"ariaHidden\"\n        [attr.title]=\"title\"\n        [label]=\"label\"\n    >\n        <ng-content></ng-content>\n    </span>\n} @else {\n    <a\n        [attr.href]=\"link\"\n        fd-object-marker\n        [glyph]=\"glyph\"\n        [glyphFont]=\"glyphFont\"\n        [clickable]=\"clickable\"\n        [attr.aria-label]=\"ariaLabel\"\n        [attr.aria-hidden]=\"ariaHidden\"\n        [attr.title]=\"title\"\n        [label]=\"label\"\n    >\n        <ng-content></ng-content>\n    </a>\n}\n" }]
        }], ctorParameters: () => [], propDecorators: { glyph: [{
                type: Input
            }], glyphFont: [{
                type: Input
            }], clickable: [{
                type: Input
            }], label: [{
                type: Input
            }], link: [{
                type: Input
            }], ariaLabel: [{
                type: Input
            }], ariaHidden: [{
                type: Input
            }], title: [{
                type: Input
            }] } });

class PlatformObjectMarkerModule {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PlatformObjectMarkerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
    static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.4", ngImport: i0, type: PlatformObjectMarkerModule, imports: [PlatformObjectMarkerComponent], exports: [PlatformObjectMarkerComponent] }); }
    static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PlatformObjectMarkerModule, imports: [PlatformObjectMarkerComponent] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: PlatformObjectMarkerModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [PlatformObjectMarkerComponent],
                    exports: [PlatformObjectMarkerComponent]
                }]
        }] });

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

export { PlatformObjectMarkerComponent, PlatformObjectMarkerModule };
//# sourceMappingURL=fundamental-ngx-platform-object-marker.mjs.map
