{"version":3,"file":"ng-zorro-antd-transfer.mjs","sources":["../../components/transfer/interface.ts","../../components/transfer/transfer-list.component.ts","../../components/transfer/transfer.component.ts","../../components/transfer/transfer.module.ts","../../components/transfer/public-api.ts","../../components/transfer/ng-zorro-antd-transfer.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 { NzSafeAny } from 'ng-zorro-antd/core/types';\n\nexport type TransferDirection = 'left' | 'right';\n\nexport interface TransferItem {\n title: string;\n direction?: TransferDirection;\n disabled?: boolean;\n checked?: boolean;\n hide?: boolean;\n [key: string]: NzSafeAny;\n}\n\nexport interface TransferCanMove {\n direction: TransferDirection;\n list: TransferItem[];\n}\n\nexport interface TransferChange {\n from: TransferDirection;\n to: TransferDirection;\n list: TransferItem[];\n}\n\nexport interface TransferSearchChange {\n direction: TransferDirection;\n value: string;\n}\n\nexport interface TransferSelectChange {\n direction: TransferDirection;\n checked: boolean;\n list: TransferItem[];\n item?: TransferItem;\n}\n\nexport interface TransferStat {\n checkAll: boolean;\n checkHalf: boolean;\n checkCount: number;\n shownCount: number;\n availableCount: number;\n}\n\nexport interface RenderListContext {\n $implicit: TransferItem[];\n direction: TransferDirection;\n disabled: boolean;\n onItemSelectAll: (x: boolean) => void;\n onItemSelect: (x: TransferItem) => void;\n stat: TransferStat;\n}\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 { NgTemplateOutlet } from '@angular/common';\nimport {\n AfterViewInit,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n Input,\n Output,\n QueryList,\n TemplateRef,\n ViewChild,\n ViewChildren,\n ViewEncapsulation,\n booleanAttribute,\n inject\n} from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { merge } from 'rxjs';\nimport { startWith, switchMap } from 'rxjs/operators';\n\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzCheckboxComponent, NzCheckboxModule } from 'ng-zorro-antd/checkbox';\nimport { fromEventOutsideAngular } from 'ng-zorro-antd/core/util';\nimport { NzEmptyModule } from 'ng-zorro-antd/empty';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzInputModule } from 'ng-zorro-antd/input';\n\nimport { RenderListContext, TransferDirection, TransferItem, TransferStat } from './interface';\n\n@Component({\n selector: 'nz-transfer-list',\n exportAs: 'nzTransferList',\n imports: [\n NzInputModule,\n FormsModule,\n NzCheckboxModule,\n NgTemplateOutlet,\n NzEmptyModule,\n NzIconModule,\n NzButtonModule\n ],\n template: `\n