/*
 *  @license
 *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.
 *
 *  Use of this source code is governed by an Apache-2.0 license that can be
 *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE
 */
import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/material/icon";
export class DejaSortIndicatorComponent {
}
DejaSortIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DejaSortIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
DejaSortIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.1", type: DejaSortIndicatorComponent, selector: "deja-sort-indicator", inputs: { sortInfos: ["sort-infos", "sortInfos"] }, ngImport: i0, template: '<span [attr.sortorder]="sortInfos ? sortInfos.order : null"><mat-icon>arrow_upward</mat-icon></span>', isInline: true, styles: [":host{display:block;position:relative;width:1rem}:host [sortorder] .mat-icon{position:absolute;right:0;top:50%;transform:translateY(-50%);transition:all .5s linear;padding:.3rem;zoom:72%}:host [sortorder=\"1\"] .mat-icon{transform:translateY(-50%) rotate(180deg)}\n"], dependencies: [{ kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.1", ngImport: i0, type: DejaSortIndicatorComponent, decorators: [{
            type: Component,
            args: [{ selector: 'deja-sort-indicator', template: '<span [attr.sortorder]="sortInfos ? sortInfos.order : null"><mat-icon>arrow_upward</mat-icon></span>', styles: [":host{display:block;position:relative;width:1rem}:host [sortorder] .mat-icon{position:absolute;right:0;top:50%;transform:translateY(-50%);transition:all .5s linear;padding:.3rem;zoom:72%}:host [sortorder=\"1\"] .mat-icon{transform:translateY(-50%) rotate(180deg)}\n"] }]
        }], propDecorators: { sortInfos: [{
                type: Input,
                args: ['sort-infos']
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydC1pbmRpY2F0b3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGVqYS1qcy9jb21wb25lbnQvY29yZS9pdGVtLWxpc3Qvc29ydGluZy9zb3J0LWluZGljYXRvci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQVNqRCxNQUFNLE9BQU8sMEJBQTBCOzt1SEFBMUIsMEJBQTBCOzJHQUExQiwwQkFBMEIsK0dBRnpCLHNHQUFzRzsyRkFFdkcsMEJBQTBCO2tCQUx0QyxTQUFTOytCQUNJLHFCQUFxQixZQUVyQixzR0FBc0c7OEJBSXBGLFNBQVM7c0JBQXBDLEtBQUs7dUJBQUMsWUFBWSIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiAgQGxpY2Vuc2VcbiAqICBDb3B5cmlnaHQgSMO0cGl0YXV4IFVuaXZlcnNpdGFpcmVzIGRlIEdlbsOodmUuIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIEFwYWNoZS0yLjAgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9naXRodWIuY29tL0RTSS1IVUcvZGVqYWpzLWNvbXBvbmVudHMvYmxvYi9tYXN0ZXIvTElDRU5TRVxuICovXG5cbmltcG9ydCB7IENvbXBvbmVudCwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxua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