ng-zorro-antd-yj
Version:
An enterprise-class UI components based on Ant Design and Angular
947 lines • 78.9 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import * as tslib_1 from "tslib";
import { BACKSPACE, DOWN_ARROW, ENTER, ESCAPE, LEFT_ARROW, RIGHT_ARROW, UP_ARROW } from '@angular/cdk/keycodes';
import { CdkConnectedOverlay } from '@angular/cdk/overlay';
import { forwardRef, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Host, HostListener, Input, Optional, Output, QueryList, Renderer2, TemplateRef, ViewChild, ViewChildren, ViewEncapsulation } from '@angular/core';
import { NG_VALUE_ACCESSOR } from '@angular/forms';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { slideMotion } from '../core/animation/slide';
import { NzNoAnimationDirective } from '../core/no-animation/nz-no-animation.directive';
import { DEFAULT_CASCADER_POSITIONS } from '../core/overlay/overlay-position';
import { toArray } from '../core/util/array';
import { InputBoolean } from '../core/util/convert';
import { NzCascaderOptionComponent } from './nz-cascader-li.component';
import { NzCascaderService } from './nz-cascader.service';
/** @type {?} */
const defaultDisplayRender = (/**
* @param {?} labels
* @return {?}
*/
(labels) => labels.join(' / '));
const ɵ0 = defaultDisplayRender;
export class NzCascaderComponent {
/**
* @param {?} cascaderService
* @param {?} cdr
* @param {?} elementRef
* @param {?} renderer
* @param {?=} noAnimation
*/
constructor(cascaderService, cdr, elementRef, renderer, noAnimation) {
this.cascaderService = cascaderService;
this.cdr = cdr;
this.noAnimation = noAnimation;
this.nzShowInput = true;
this.nzShowArrow = true;
this.nzAllowClear = true;
this.nzAutoFocus = false;
this.nzChangeOnSelect = false;
this.nzDisabled = false;
this.nzExpandTrigger = 'click';
this.nzValueProperty = 'value';
this.nzLabelProperty = 'label';
this.nzSize = 'default';
this.nzPlaceHolder = 'Please select'; // TODO: i18n?
this.nzMouseEnterDelay = 150; // ms
// ms
this.nzMouseLeaveDelay = 150; // ms
// ms
this.nzTriggerAction = (/** @type {?} */ (['click']));
this.nzSelectionChange = new EventEmitter();
this.nzSelect = new EventEmitter();
this.nzClear = new EventEmitter();
this.nzVisibleChange = new EventEmitter(); // Not exposed, only for test
// Not exposed, only for test
this.nzChange = new EventEmitter(); // Not exposed, only for test
this.dropDownPosition = 'bottom';
this.menuVisible = false;
this.isLoading = false;
this.labelRenderContext = {};
this.onChange = Function.prototype;
this.onTouched = Function.prototype;
this.positions = [...DEFAULT_CASCADER_POSITIONS];
this.isFocused = false;
this.$destroy = new Subject();
this.inputString = '';
this.isOpening = false;
this.el = elementRef.nativeElement;
this.cascaderService.withComponent(this);
renderer.addClass(elementRef.nativeElement, 'ant-cascader');
renderer.addClass(elementRef.nativeElement, 'ant-cascader-picker');
}
// tslint:disable-line:no-any
/**
* @return {?}
*/
get nzOptions() {
return this.cascaderService.nzOptions;
}
/**
* @param {?} options
* @return {?}
*/
set nzOptions(options) {
this.cascaderService.withOptions(options);
}
/**
* @return {?}
*/
get inSearchingMode() {
return this.cascaderService.inSearchingMode;
}
/**
* @param {?} inputValue
* @return {?}
*/
set inputValue(inputValue) {
this.inputString = inputValue;
this.toggleSearchingMode(!!inputValue);
}
/**
* @return {?}
*/
get inputValue() {
return this.inputString;
}
/**
* @return {?}
*/
get menuCls() {
return { [`${this.nzMenuClassName}`]: !!this.nzMenuClassName };
}
/**
* @return {?}
*/
get menuColumnCls() {
return { [`${this.nzColumnClassName}`]: !!this.nzColumnClassName };
}
/**
* @private
* @return {?}
*/
get hasInput() {
return !!this.inputValue;
}
/**
* @private
* @return {?}
*/
get hasValue() {
return this.cascaderService.values && this.cascaderService.values.length > 0;
}
/**
* @return {?}
*/
get showPlaceholder() {
return !(this.hasInput || this.hasValue);
}
/**
* @return {?}
*/
get clearIconVisible() {
return this.nzAllowClear && !this.nzDisabled && (this.hasValue || this.hasInput);
}
/**
* @return {?}
*/
get isLabelRenderTemplate() {
return !!this.nzLabelRender;
}
/**
* @return {?}
*/
ngOnInit() {
/** @type {?} */
const srv = this.cascaderService;
srv.$redraw.pipe(takeUntil(this.$destroy)).subscribe((/**
* @return {?}
*/
() => {
// These operations would not mutate data.
this.checkChildren();
this.buildDisplayLabel();
this.reposition();
this.cdr.markForCheck();
}));
srv.$loading.pipe(takeUntil(this.$destroy)).subscribe((/**
* @param {?} loading
* @return {?}
*/
loading => {
this.isLoading = loading;
}));
srv.$optionSelected.pipe(takeUntil(this.$destroy)).subscribe((/**
* @param {?} data
* @return {?}
*/
data => {
if (!data) {
this.onChange([]);
this.nzSelect.emit(null);
}
else {
const { option, index } = data;
/** @type {?} */
const shouldClose = option.isLeaf;
if (shouldClose) {
this.delaySetMenuVisible(false);
}
this.onChange(this.cascaderService.values);
this.nzSelectionChange.emit(this.cascaderService.selectedOptions);
this.nzSelect.emit({ option, index });
this.cdr.markForCheck();
}
}));
srv.$quitSearching.pipe(takeUntil(this.$destroy)).subscribe((/**
* @return {?}
*/
() => {
this.inputString = '';
this.dropdownWidthStyle = '';
}));
}
/**
* @return {?}
*/
ngOnDestroy() {
this.clearDelayMenuTimer();
this.clearDelaySelectTimer();
}
/**
* @param {?} fn
* @return {?}
*/
registerOnChange(fn) {
this.onChange = fn;
}
/**
* @param {?} fn
* @return {?}
*/
registerOnTouched(fn) {
this.onTouched = fn;
}
// tslint:disable-next-line:no-any
/**
* @param {?} value
* @return {?}
*/
writeValue(value) {
this.cascaderService.values = toArray(value);
this.cascaderService.syncOptions(true);
}
/**
* @param {?} visible
* @param {?=} delay
* @param {?=} setOpening
* @return {?}
*/
delaySetMenuVisible(visible, delay = 100, setOpening = false) {
this.clearDelayMenuTimer();
if (delay) {
if (visible && setOpening) {
this.isOpening = true;
}
this.delayMenuTimer = setTimeout((/**
* @return {?}
*/
() => {
this.setMenuVisible(visible);
this.cdr.detectChanges();
this.clearDelayMenuTimer();
if (visible) {
setTimeout((/**
* @return {?}
*/
() => {
this.isOpening = false;
}), 100);
}
}), delay);
}
else {
this.setMenuVisible(visible);
}
}
/**
* @param {?} visible
* @return {?}
*/
setMenuVisible(visible) {
if (this.nzDisabled || this.menuVisible === visible) {
return;
}
if (visible) {
this.cascaderService.syncOptions();
}
this.menuVisible = visible;
this.nzVisibleChange.emit(visible);
this.cdr.detectChanges();
}
/**
* @private
* @return {?}
*/
clearDelayMenuTimer() {
if (this.delayMenuTimer) {
clearTimeout(this.delayMenuTimer);
this.delayMenuTimer = null;
}
}
/**
* @param {?=} event
* @return {?}
*/
clearSelection(event) {
if (event) {
event.preventDefault();
event.stopPropagation();
}
this.labelRenderText = '';
this.labelRenderContext = {};
this.inputValue = '';
this.setMenuVisible(false);
this.cascaderService.clear();
}
// tslint:disable-next-line:no-any
/**
* @return {?}
*/
getSubmitValue() {
return this.cascaderService.selectedOptions.map((/**
* @param {?} o
* @return {?}
*/
o => this.cascaderService.getOptionValue(o)));
}
/**
* @return {?}
*/
focus() {
if (!this.isFocused) {
(this.input ? this.input.nativeElement : this.el).focus();
this.isFocused = true;
}
}
/**
* @return {?}
*/
blur() {
if (this.isFocused) {
(this.input ? this.input.nativeElement : this.el).blur();
this.isFocused = false;
}
}
/**
* @return {?}
*/
handleInputBlur() {
this.menuVisible ? this.focus() : this.blur();
}
/**
* @return {?}
*/
handleInputFocus() {
this.focus();
}
/**
* @param {?} event
* @return {?}
*/
onKeyDown(event) {
/** @type {?} */
const keyCode = event.keyCode;
if (keyCode !== DOWN_ARROW &&
keyCode !== UP_ARROW &&
keyCode !== LEFT_ARROW &&
keyCode !== RIGHT_ARROW &&
keyCode !== ENTER &&
keyCode !== BACKSPACE &&
keyCode !== ESCAPE) {
return;
}
// Press any keys above to reopen menu.
if (!this.menuVisible && keyCode !== BACKSPACE && keyCode !== ESCAPE) {
return this.setMenuVisible(true);
}
// Make these keys work as default in searching mode.
if (this.inSearchingMode && (keyCode === BACKSPACE || keyCode === LEFT_ARROW || keyCode === RIGHT_ARROW)) {
return;
}
// Interact with the component.
if (this.menuVisible) {
event.preventDefault();
if (keyCode === DOWN_ARROW) {
this.moveUpOrDown(false);
}
else if (keyCode === UP_ARROW) {
this.moveUpOrDown(true);
}
else if (keyCode === LEFT_ARROW) {
this.moveLeft();
}
else if (keyCode === RIGHT_ARROW) {
this.moveRight();
}
else if (keyCode === ENTER) {
this.onEnter();
}
}
}
/**
* @return {?}
*/
onTriggerClick() {
if (this.nzDisabled) {
return;
}
if (this.nzShowSearch) {
this.focus();
}
if (this.isActionTrigger('click')) {
this.delaySetMenuVisible(!this.menuVisible, 100);
}
this.onTouched();
}
/**
* @return {?}
*/
onTriggerMouseEnter() {
if (this.nzDisabled) {
return;
}
if (this.isActionTrigger('hover')) {
this.delaySetMenuVisible(true, this.nzMouseEnterDelay, true);
}
}
/**
* @param {?} event
* @return {?}
*/
onTriggerMouseLeave(event) {
if (this.nzDisabled) {
return;
}
if (!this.menuVisible || this.isOpening) {
event.preventDefault();
return;
}
if (this.isActionTrigger('hover')) {
/** @type {?} */
const mouseTarget = (/** @type {?} */ (event.relatedTarget));
/** @type {?} */
const hostEl = this.el;
/** @type {?} */
const menuEl = this.menu && ((/** @type {?} */ (this.menu.nativeElement)));
if (hostEl.contains(mouseTarget) || (menuEl && menuEl.contains(mouseTarget))) {
return;
}
this.delaySetMenuVisible(false, this.nzMouseLeaveDelay);
}
}
/**
* @private
* @param {?} action
* @return {?}
*/
isActionTrigger(action) {
return typeof this.nzTriggerAction === 'string'
? this.nzTriggerAction === action
: this.nzTriggerAction.indexOf(action) !== -1;
}
/**
* @param {?} option
* @param {?} columnIndex
* @param {?} event
* @return {?}
*/
onOptionClick(option, columnIndex, event) {
if (event) {
event.preventDefault();
}
if (option && option.disabled) {
return;
}
this.el.focus();
this.inSearchingMode
? this.cascaderService.setSearchOptionSelected((/** @type {?} */ (option)))
: this.cascaderService.setOptionActivated(option, columnIndex, true);
}
/**
* @private
* @return {?}
*/
onEnter() {
/** @type {?} */
const columnIndex = Math.max(this.cascaderService.activatedOptions.length - 1, 0);
/** @type {?} */
const option = this.cascaderService.activatedOptions[columnIndex];
if (option && !option.disabled) {
this.inSearchingMode
? this.cascaderService.setSearchOptionSelected((/** @type {?} */ (option)))
: this.cascaderService.setOptionActivated(option, columnIndex, true);
}
}
/**
* @private
* @param {?} isUp
* @return {?}
*/
moveUpOrDown(isUp) {
/** @type {?} */
const columnIndex = Math.max(this.cascaderService.activatedOptions.length - 1, 0);
/** @type {?} */
const activeOption = this.cascaderService.activatedOptions[columnIndex];
/** @type {?} */
const options = this.cascaderService.columns[columnIndex] || [];
/** @type {?} */
const length = options.length;
/** @type {?} */
let nextIndex = -1;
if (!activeOption) {
// Not selected options in this column
nextIndex = isUp ? length : -1;
}
else {
nextIndex = options.indexOf(activeOption);
}
while (true) {
nextIndex = isUp ? nextIndex - 1 : nextIndex + 1;
if (nextIndex < 0 || nextIndex >= length) {
break;
}
/** @type {?} */
const nextOption = options[nextIndex];
if (!nextOption || nextOption.disabled) {
continue;
}
this.cascaderService.setOptionActivated(nextOption, columnIndex);
break;
}
}
/**
* @private
* @return {?}
*/
moveLeft() {
/** @type {?} */
const options = this.cascaderService.activatedOptions;
if (options.length) {
options.pop(); // Remove the last one
}
}
/**
* @private
* @return {?}
*/
moveRight() {
/** @type {?} */
const length = this.cascaderService.activatedOptions.length;
/** @type {?} */
const options = this.cascaderService.columns[length];
if (options && options.length) {
/** @type {?} */
const nextOpt = options.find((/**
* @param {?} o
* @return {?}
*/
o => !o.disabled));
if (nextOpt) {
this.cascaderService.setOptionActivated(nextOpt, length);
}
}
}
/**
* @param {?} option
* @param {?} columnIndex
* @param {?} event
* @return {?}
*/
onOptionMouseEnter(option, columnIndex, event) {
event.preventDefault();
if (this.nzExpandTrigger === 'hover' && !option.isLeaf) {
this.delaySelectOption(option, columnIndex, true);
}
}
/**
* @param {?} option
* @param {?} columnIndex
* @param {?} event
* @return {?}
*/
onOptionMouseLeave(option, columnIndex, event) {
event.preventDefault();
if (this.nzExpandTrigger === 'hover' && !option.isLeaf) {
this.delaySelectOption(option, columnIndex, false);
}
}
/**
* @private
* @return {?}
*/
clearDelaySelectTimer() {
if (this.delaySelectTimer) {
clearTimeout(this.delaySelectTimer);
this.delaySelectTimer = null;
}
}
/**
* @private
* @param {?} option
* @param {?} index
* @param {?} doSelect
* @return {?}
*/
delaySelectOption(option, index, doSelect) {
this.clearDelaySelectTimer();
if (doSelect) {
this.delaySelectTimer = setTimeout((/**
* @return {?}
*/
() => {
this.cascaderService.setOptionActivated(option, index);
this.delaySelectTimer = null;
}), 150);
}
}
/**
* @private
* @param {?} toSearching
* @return {?}
*/
toggleSearchingMode(toSearching) {
if (this.inSearchingMode !== toSearching) {
this.cascaderService.toggleSearchingMode(toSearching);
this.dropdownWidthStyle = toSearching ? `${this.input.nativeElement.offsetWidth}px` : '';
}
if (this.inSearchingMode) {
this.cascaderService.prepareSearchOptions(this.inputValue);
}
}
/**
* @param {?} option
* @param {?} index
* @return {?}
*/
isOptionActivated(option, index) {
/** @type {?} */
const activeOpt = this.cascaderService.activatedOptions[index];
return activeOpt === option;
}
/**
* @param {?} isDisabled
* @return {?}
*/
setDisabledState(isDisabled) {
if (isDisabled) {
this.closeMenu();
}
this.nzDisabled = isDisabled;
}
/**
* @return {?}
*/
closeMenu() {
this.blur();
this.clearDelayMenuTimer();
this.setMenuVisible(false);
}
/**
* @param {?} position
* @return {?}
*/
onPositionChange(position) {
/** @type {?} */
const newValue = position.connectionPair.originY === 'bottom' ? 'bottom' : 'top';
if (this.dropDownPosition !== newValue) {
this.dropDownPosition = newValue;
this.cdr.detectChanges();
}
}
/**
* Reposition the cascader panel. When a menu opens, the cascader expands
* and may exceed the boundary of browser's window.
* @private
* @return {?}
*/
reposition() {
if (this.overlay && this.overlay.overlayRef && this.menuVisible) {
Promise.resolve().then((/**
* @return {?}
*/
() => {
this.overlay.overlayRef.updatePosition();
}));
}
}
/**
* When a cascader options is changed, a child needs to know that it should re-render.
* @private
* @return {?}
*/
checkChildren() {
if (this.cascaderItems) {
this.cascaderItems.forEach((/**
* @param {?} item
* @return {?}
*/
item => item.markForCheck()));
}
}
/**
* @private
* @return {?}
*/
buildDisplayLabel() {
/** @type {?} */
const selectedOptions = this.cascaderService.selectedOptions;
/** @type {?} */
const labels = selectedOptions.map((/**
* @param {?} o
* @return {?}
*/
o => this.cascaderService.getOptionLabel(o)));
if (this.isLabelRenderTemplate) {
this.labelRenderContext = { labels, selectedOptions };
}
else {
this.labelRenderText = defaultDisplayRender.call(this, labels, selectedOptions);
}
}
}
NzCascaderComponent.decorators = [
{ type: Component, args: [{
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
selector: 'nz-cascader,[nz-cascader]',
preserveWhitespaces: false,
template: "<div\n cdkOverlayOrigin\n #origin=\"cdkOverlayOrigin\"\n #trigger>\n <div *ngIf=\"nzShowInput\">\n <input\n #input\n nz-input\n class=\"ant-cascader-input\"\n [class.ant-cascader-input-disabled]=\"nzDisabled\"\n [class.ant-cascader-input-lg]=\"nzSize === 'large'\"\n [class.ant-cascader-input-sm]=\"nzSize === 'small'\"\n [attr.autoComplete]=\"'off'\"\n [attr.placeholder]=\"showPlaceholder ? nzPlaceHolder : null\"\n [attr.autofocus]=\"nzAutoFocus ? 'autofocus' : null\"\n [readonly]=\"!nzShowSearch\"\n [disabled]=\"nzDisabled\"\n [nzSize]=\"nzSize\"\n [(ngModel)]=\"inputValue\"\n (blur)=\"handleInputBlur()\"\n (focus)=\"handleInputFocus()\"\n (change)=\"$event.stopPropagation()\">\n <i *ngIf=\"clearIconVisible\"\n nz-icon\n type=\"close-circle\"\n theme=\"fill\"\n class=\"ant-cascader-picker-clear\"\n (click)=\"clearSelection($event)\"></i>\n <i *ngIf=\"nzShowArrow && !isLoading\"\n nz-icon\n type=\"down\"\n class=\"ant-cascader-picker-arrow\"\n [class.ant-cascader-picker-arrow-expand]=\"menuVisible\">\n </i>\n <i *ngIf=\"isLoading\" nz-icon type=\"loading\" class=\"ant-cascader-picker-arrow\"></i>\n <span\n class=\"ant-cascader-picker-label\"\n [class.ant-cascader-show-search]=\"!!nzShowSearch\"\n [class.ant-focusd]=\"!!nzShowSearch && isFocused && !inputValue\">\n <ng-container *ngIf=\"!isLabelRenderTemplate; else labelTemplate\">{{ labelRenderText }}</ng-container>\n <ng-template #labelTemplate>\n <ng-template [ngTemplateOutlet]=\"nzLabelRender\" [ngTemplateOutletContext]=\"labelRenderContext\"></ng-template>\n </ng-template>\n </span>\n </div>\n <ng-content></ng-content>\n</div>\n<ng-template\n cdkConnectedOverlay\n nzConnectedOverlay\n cdkConnectedOverlayHasBackdrop\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayPositions]=\"positions\"\n (backdropClick)=\"closeMenu()\"\n (detach)=\"closeMenu()\"\n (positionChange)=\"onPositionChange($event)\"\n [cdkConnectedOverlayOpen]=\"menuVisible\">\n <div\n #menu\n class=\"ant-cascader-menus\"\n *ngIf=\"nzOptions && nzOptions.length || inSearchingMode\"\n [class.ant-cascader-menus-hidden]=\"!menuVisible\"\n [ngClass]=\"menuCls\"\n [ngStyle]=\"nzMenuStyle\"\n [nzNoAnimation]=\"noAnimation?.nzNoAnimation\"\n [@slideMotion]=\"dropDownPosition\"\n (mouseleave)=\"onTriggerMouseLeave($event)\">\n <ul *ngFor=\"let options of cascaderService.columns; let i = index;\" class=\"ant-cascader-menu\"\n [ngClass]=\"menuColumnCls\"\n [style.height]=\"inSearchingMode && !cascaderService.columns[0].length ? 'auto': ''\"\n [style.width]=\"dropdownWidthStyle\">\n <li\n nz-cascader-option\n *ngFor=\"let option of options\"\n [nzLabelProperty]=\"nzLabelProperty\"\n [activated]=\"isOptionActivated(option, i)\"\n [highlightText]=\"inSearchingMode ? inputValue : ''\"\n [option]=\"option\"\n (mouseenter)=\"onOptionMouseEnter(option, i, $event)\"\n (mouseleave)=\"onOptionMouseLeave(option, i, $event)\"\n (click)=\"onOptionClick(option, i, $event)\">\n </li>\n <li *ngIf=\"inSearchingMode && !cascaderService.columns[0].length\"\n class=\"ant-cascader-menu-item ant-cascader-menu-item-expanded ant-cascader-menu-item-disabled\">\n <nz-embed-empty [nzComponentName]=\"'cascader'\" [specificContent]=\"nzNotFoundContent\"></nz-embed-empty>\n </li>\n </ul>\n </div>\n</ng-template>\n",
animations: [slideMotion],
providers: [
{
provide: NG_VALUE_ACCESSOR,
useExisting: forwardRef((/**
* @return {?}
*/
() => NzCascaderComponent)),
multi: true
},
NzCascaderService
],
host: {
'[attr.tabIndex]': '"0"',
'[class.ant-cascader-lg]': 'nzSize === "large"',
'[class.ant-cascader-sm]': 'nzSize === "small"',
'[class.ant-cascader-picker-disabled]': 'nzDisabled',
'[class.ant-cascader-picker-open]': 'menuVisible',
'[class.ant-cascader-picker-with-value]': '!!inputValue',
'[class.ant-cascader-focused]': 'isFocused'
},
styles: [`
.ant-cascader-menus {
margin-top: 4px;
margin-bottom: 4px;
top: 100%;
left: 0;
position: relative;
width: 100%;
}
`]
}] }
];
/** @nocollapse */
NzCascaderComponent.ctorParameters = () => [
{ type: NzCascaderService },
{ type: ChangeDetectorRef },
{ type: ElementRef },
{ type: Renderer2 },
{ type: NzNoAnimationDirective, decorators: [{ type: Host }, { type: Optional }] }
];
NzCascaderComponent.propDecorators = {
input: [{ type: ViewChild, args: ['input',] }],
menu: [{ type: ViewChild, args: ['menu',] }],
overlay: [{ type: ViewChild, args: [CdkConnectedOverlay,] }],
cascaderItems: [{ type: ViewChildren, args: [NzCascaderOptionComponent,] }],
nzShowInput: [{ type: Input }],
nzShowArrow: [{ type: Input }],
nzAllowClear: [{ type: Input }],
nzAutoFocus: [{ type: Input }],
nzChangeOnSelect: [{ type: Input }],
nzDisabled: [{ type: Input }],
nzColumnClassName: [{ type: Input }],
nzExpandTrigger: [{ type: Input }],
nzValueProperty: [{ type: Input }],
nzLabelRender: [{ type: Input }],
nzLabelProperty: [{ type: Input }],
nzNotFoundContent: [{ type: Input }],
nzSize: [{ type: Input }],
nzShowSearch: [{ type: Input }],
nzPlaceHolder: [{ type: Input }],
nzMenuClassName: [{ type: Input }],
nzMenuStyle: [{ type: Input }],
nzMouseEnterDelay: [{ type: Input }],
nzMouseLeaveDelay: [{ type: Input }],
nzTriggerAction: [{ type: Input }],
nzChangeOn: [{ type: Input }],
nzLoadData: [{ type: Input }],
nzOptions: [{ type: Input }],
nzSelectionChange: [{ type: Output }],
nzSelect: [{ type: Output }],
nzClear: [{ type: Output }],
nzVisibleChange: [{ type: Output }],
nzChange: [{ type: Output }],
onKeyDown: [{ type: HostListener, args: ['keydown', ['$event'],] }],
onTriggerClick: [{ type: HostListener, args: ['click',] }],
onTriggerMouseEnter: [{ type: HostListener, args: ['mouseenter',] }],
onTriggerMouseLeave: [{ type: HostListener, args: ['mouseleave', ['$event'],] }]
};
tslib_1.__decorate([
InputBoolean(),
tslib_1.__metadata("design:type", Object)
], NzCascaderComponent.prototype, "nzShowInput", void 0);
tslib_1.__decorate([
InputBoolean(),
tslib_1.__metadata("design:type", Object)
], NzCascaderComponent.prototype, "nzShowArrow", void 0);
tslib_1.__decorate([
InputBoolean(),
tslib_1.__metadata("design:type", Object)
], NzCascaderComponent.prototype, "nzAllowClear", void 0);
tslib_1.__decorate([
InputBoolean(),
tslib_1.__metadata("design:type", Object)
], NzCascaderComponent.prototype, "nzAutoFocus", void 0);
tslib_1.__decorate([
InputBoolean(),
tslib_1.__metadata("design:type", Object)
], NzCascaderComponent.prototype, "nzChangeOnSelect", void 0);
tslib_1.__decorate([
InputBoolean(),
tslib_1.__metadata("design:type", Object)
], NzCascaderComponent.prototype, "nzDisabled", void 0);
if (false) {
/** @type {?} */
NzCascaderComponent.prototype.input;
/** @type {?} */
NzCascaderComponent.prototype.menu;
/** @type {?} */
NzCascaderComponent.prototype.overlay;
/** @type {?} */
NzCascaderComponent.prototype.cascaderItems;
/** @type {?} */
NzCascaderComponent.prototype.nzShowInput;
/** @type {?} */
NzCascaderComponent.prototype.nzShowArrow;
/** @type {?} */
NzCascaderComponent.prototype.nzAllowClear;
/** @type {?} */
NzCascaderComponent.prototype.nzAutoFocus;
/** @type {?} */
NzCascaderComponent.prototype.nzChangeOnSelect;
/** @type {?} */
NzCascaderComponent.prototype.nzDisabled;
/** @type {?} */
NzCascaderComponent.prototype.nzColumnClassName;
/** @type {?} */
NzCascaderComponent.prototype.nzExpandTrigger;
/** @type {?} */
NzCascaderComponent.prototype.nzValueProperty;
/** @type {?} */
NzCascaderComponent.prototype.nzLabelRender;
/** @type {?} */
NzCascaderComponent.prototype.nzLabelProperty;
/** @type {?} */
NzCascaderComponent.prototype.nzNotFoundContent;
/** @type {?} */
NzCascaderComponent.prototype.nzSize;
/** @type {?} */
NzCascaderComponent.prototype.nzShowSearch;
/** @type {?} */
NzCascaderComponent.prototype.nzPlaceHolder;
/** @type {?} */
NzCascaderComponent.prototype.nzMenuClassName;
/** @type {?} */
NzCascaderComponent.prototype.nzMenuStyle;
/** @type {?} */
NzCascaderComponent.prototype.nzMouseEnterDelay;
/** @type {?} */
NzCascaderComponent.prototype.nzMouseLeaveDelay;
/** @type {?} */
NzCascaderComponent.prototype.nzTriggerAction;
/** @type {?} */
NzCascaderComponent.prototype.nzChangeOn;
/** @type {?} */
NzCascaderComponent.prototype.nzLoadData;
/** @type {?} */
NzCascaderComponent.prototype.nzSelectionChange;
/** @type {?} */
NzCascaderComponent.prototype.nzSelect;
/** @type {?} */
NzCascaderComponent.prototype.nzClear;
/** @type {?} */
NzCascaderComponent.prototype.nzVisibleChange;
/** @type {?} */
NzCascaderComponent.prototype.nzChange;
/** @type {?} */
NzCascaderComponent.prototype.el;
/** @type {?} */
NzCascaderComponent.prototype.dropDownPosition;
/** @type {?} */
NzCascaderComponent.prototype.menuVisible;
/** @type {?} */
NzCascaderComponent.prototype.isLoading;
/** @type {?} */
NzCascaderComponent.prototype.labelRenderText;
/** @type {?} */
NzCascaderComponent.prototype.labelRenderContext;
/** @type {?} */
NzCascaderComponent.prototype.onChange;
/** @type {?} */
NzCascaderComponent.prototype.onTouched;
/** @type {?} */
NzCascaderComponent.prototype.positions;
/** @type {?} */
NzCascaderComponent.prototype.dropdownWidthStyle;
/** @type {?} */
NzCascaderComponent.prototype.isFocused;
/**
* @type {?}
* @private
*/
NzCascaderComponent.prototype.$destroy;
/**
* @type {?}
* @private
*/
NzCascaderComponent.prototype.inputString;
/**
* @type {?}
* @private
*/
NzCascaderComponent.prototype.isOpening;
/**
* @type {?}
* @private
*/
NzCascaderComponent.prototype.delayMenuTimer;
/**
* @type {?}
* @private
*/
NzCascaderComponent.prototype.delaySelectTimer;
/** @type {?} */
NzCascaderComponent.prototype.cascaderService;
/**
* @type {?}
* @private
*/
NzCascaderComponent.prototype.cdr;
/** @type {?} */
NzCascaderComponent.prototype.noAnimation;
}
export { ɵ0 };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnotY2FzY2FkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmctem9ycm8tYW50ZC15ai8iLCJzb3VyY2VzIjpbImNhc2NhZGVyL256LWNhc2NhZGVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLFdBQVcsRUFBRSxRQUFRLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUNoSCxPQUFPLEVBQUUsbUJBQW1CLEVBQTBELE1BQU0sc0JBQXNCLENBQUM7QUFDbkgsT0FBTyxFQUNMLFVBQVUsRUFDVix1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLFNBQVMsRUFDVCxVQUFVLEVBQ1YsWUFBWSxFQUNaLElBQUksRUFDSixZQUFZLEVBQ1osS0FBSyxFQUdMLFFBQVEsRUFDUixNQUFNLEVBQ04sU0FBUyxFQUNULFNBQVMsRUFDVCxXQUFXLEVBQ1gsU0FBUyxFQUNULFlB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