{"version":3,"file":"ng-zorro-antd-result.mjs","sources":["../../components/result/partial/not-found.ts","../../components/result/partial/server-error.component.ts","../../components/result/partial/unauthorized.ts","../../components/result/result-cells.ts","../../components/result/result.component.ts","../../components/result/result.module.ts","../../components/result/public-api.ts","../../components/result/ng-zorro-antd-result.ts"],"sourcesContent":["/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-result-not-found',\n exportAs: 'nzResultNotFound',\n template: `\n \n `\n})\nexport class NzResultNotFoundComponent {}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-result-server-error',\n exportAs: 'nzResultServerError',\n template: `\n \n `\n})\nexport class NzResultServerErrorComponent {}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-result-unauthorized',\n exportAs: 'nzResultUnauthorized',\n template: `\n \n `\n})\nexport class NzResultUnauthorizedComponent {}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { Directive } from '@angular/core';\n\n@Directive({\n selector: 'div[nz-result-title]',\n exportAs: 'nzResultTitle',\n host: {\n class: 'ant-result-title'\n }\n})\nexport class NzResultTitleDirective {}\n\n@Directive({\n selector: 'div[nz-result-subtitle]',\n exportAs: 'nzResultSubtitle',\n host: {\n class: 'ant-result-subtitle'\n }\n})\nexport class NzResultSubtitleDirective {}\n\n@Directive({\n selector: 'i[nz-result-icon], div[nz-result-icon]',\n exportAs: 'nzResultIcon'\n})\nexport class NzResultIconDirective {}\n\n@Directive({\n selector: 'div[nz-result-content]',\n exportAs: 'nzResultContent',\n host: {\n class: 'ant-result-content'\n }\n})\nexport class NzResultContentDirective {}\n\n@Directive({\n selector: 'div[nz-result-extra]',\n exportAs: 'nzResultExtra',\n host: {\n class: 'ant-result-extra'\n }\n})\nexport class NzResultExtraDirective {}\n","/**\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE\n */\n\nimport { Direction, Directionality } from '@angular/cdk/bidi';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n TemplateRef,\n ViewEncapsulation\n} from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\n\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\nimport { NzResultNotFoundComponent } from './partial/not-found';\nimport { NzResultServerErrorComponent } from './partial/server-error.component';\nimport { NzResultUnauthorizedComponent } from './partial/unauthorized';\n\nexport type NzResultIconType = 'success' | 'error' | 'info' | 'warning';\nexport type NzExceptionStatusType = '404' | '500' | '403';\nexport type NzResultStatusType = NzExceptionStatusType | NzResultIconType;\n\nconst IconMap = {\n success: 'check-circle',\n error: 'close-circle',\n info: 'exclamation-circle',\n warning: 'warning'\n};\nconst ExceptionStatus = ['404', '500', '403'];\n\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n selector: 'nz-result',\n exportAs: 'nzResult',\n template: `\n
\n @if (nzTitle) {\n