import * as i0 from '@angular/core';
import { Component } from '@angular/core';
import { RouterLink } from '@angular/router';
import { EmptyStateComponent, TitleComponent, C8yTranslatePipe } from '@c8y/ngx-components';

class NotFoundComponent {
    back() {
        window.history.back();
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: NotFoundComponent, isStandalone: true, selector: "c8y-not-found", ngImport: i0, template: "<c8y-title>\n  {{ 'Page not found' | translate }}\n</c8y-title>\n\n<c8y-ui-empty-state\n  icon=\"question-circle\"\n  [title]=\"'Page not found' | translate\"\n>\n  {{\n    'The page you are looking for does not exist or you do not have permission to access it.'\n      | translate\n  }}\n\n  <button\n    class=\"btn btn-default m-t-16\"\n    (click)=\"back()\"\n  >\n    {{ 'Go back' | translate }}\n  </button>\n\n  <button\n    class=\"btn btn-primary m-t-16\"\n    routerLink=\"/\"\n  >\n    {{ 'Go to start page' | translate }}\n  </button>\n</c8y-ui-empty-state>\n", dependencies: [{ kind: "component", type: EmptyStateComponent, selector: "c8y-ui-empty-state", inputs: ["icon", "title", "subtitle", "horizontal"] }, { kind: "component", type: TitleComponent, selector: "c8y-title", inputs: ["pageTitleUpdate"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NotFoundComponent, decorators: [{
            type: Component,
            args: [{ selector: 'c8y-not-found', standalone: true, imports: [EmptyStateComponent, C8yTranslatePipe, TitleComponent, RouterLink], template: "<c8y-title>\n  {{ 'Page not found' | translate }}\n</c8y-title>\n\n<c8y-ui-empty-state\n  icon=\"question-circle\"\n  [title]=\"'Page not found' | translate\"\n>\n  {{\n    'The page you are looking for does not exist or you do not have permission to access it.'\n      | translate\n  }}\n\n  <button\n    class=\"btn btn-default m-t-16\"\n    (click)=\"back()\"\n  >\n    {{ 'Go back' | translate }}\n  </button>\n\n  <button\n    class=\"btn btn-primary m-t-16\"\n    routerLink=\"/\"\n  >\n    {{ 'Go to start page' | translate }}\n  </button>\n</c8y-ui-empty-state>\n" }]
        }] });

export { NotFoundComponent };
//# sourceMappingURL=c8y-ngx-components-upgrade-not-found.component-CuCuYAkK.mjs.map
