1 |
- {"ast":null,"code":"var _NzTooltipBaseDirective, _NzTooltipBaseComponent, _NzTooltipDirective, _NzToolTipComponent, _NzToolTipModule;\nconst _c0 = [\"overlay\"];\nfunction _NzToolTipComponent_ng_template_0_ng_container_5_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementContainerStart(0);\n i0.ɵɵtext(1);\n i0.ɵɵelementContainerEnd();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate(ctx_r1.nzTitle);\n }\n}\nfunction _NzToolTipComponent_ng_template_0_Template(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵelementStart(0, \"div\", 2)(1, \"div\", 3)(2, \"div\", 4);\n i0.ɵɵelement(3, \"span\", 5);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(4, \"div\", 6);\n i0.ɵɵtemplate(5, _NzToolTipComponent_ng_template_0_ng_container_5_Template, 2, 1, \"ng-container\", 7);\n i0.ɵɵelementEnd()()();\n }\n if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵclassProp(\"ant-tooltip-rtl\", ctx_r1.dir === \"rtl\");\n i0.ɵɵproperty(\"ngClass\", ctx_r1._classMap)(\"ngStyle\", ctx_r1.nzOverlayStyle)(\"@.disabled\", !!(ctx_r1.noAnimation == null ? null : ctx_r1.noAnimation.nzNoAnimation))(\"nzNoAnimation\", ctx_r1.noAnimation == null ? null : ctx_r1.noAnimation.nzNoAnimation)(\"@zoomBigMotion\", \"active\");\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngStyle\", ctx_r1._contentStyleMap);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngStyle\", ctx_r1._contentStyleMap);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx_r1.nzTitle)(\"nzStringTemplateOutletContext\", ctx_r1.nzTitleContext);\n }\n}\nimport * as i1 from '@angular/cdk/overlay';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { isPlatformBrowser, NgClass, NgStyle } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { EventEmitter, inject, ElementRef, ViewContainerRef, Renderer2, PLATFORM_ID, Directive, ChangeDetectorRef, ViewChild, TemplateRef, booleanAttribute, Input, Output, Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';\nimport { zoomBigMotion } from 'ng-zorro-antd/core/animation';\nimport { isPresetColor } from 'ng-zorro-antd/core/color';\nimport { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';\nimport * as i2 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i3 from 'ng-zorro-antd/core/overlay';\nimport { DEFAULT_TOOLTIP_POSITIONS, POSITION_MAP, getPlacementName, NzOverlayModule } from 'ng-zorro-antd/core/overlay';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { _getEventTarget } from '@angular/cdk/platform';\nimport { Subject, asapScheduler } from 'rxjs';\nimport { distinctUntilChanged, takeUntil, filter, delay } from 'rxjs/operators';\nimport { NzConfigService } from 'ng-zorro-antd/core/config';\nimport { toBoolean, isNotNil } from 'ng-zorro-antd/core/util';\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 */\nclass NzTooltipBaseDirective {\n /**\n * This true title that would be used in other parts on this component.\n */\n get _title() {\n return this.title || this.directiveTitle || null;\n }\n get _content() {\n return this.content || this.directiveContent || null;\n }\n get _trigger() {\n return typeof this.trigger !== 'undefined' ? this.trigger : 'hover';\n }\n get _placement() {\n const p = this.placement;\n return Array.isArray(p) && p.length > 0 ? p : typeof p === 'string' && p ? [p] : ['top'];\n }\n get _visible() {\n return (typeof this.visible !== 'undefined' ? this.visible : this.internalVisible) || false;\n }\n get _mouseEnterDelay() {\n return this.mouseEnterDelay || 0.15;\n }\n get _mouseLeaveDelay() {\n return this.mouseLeaveDelay || 0.1;\n }\n get _overlayClassName() {\n return this.overlayClassName || null;\n }\n get _overlayStyle() {\n return this.overlayStyle || null;\n }\n getProxyPropertyMap() {\n return {\n noAnimation: ['noAnimation', () => !!this.noAnimation]\n };\n }\n constructor(componentType) {\n this.componentType = componentType;\n this.visibleChange = new EventEmitter();\n this.internalVisible = false;\n this.destroy$ = new Subject();\n this.triggerDisposables = [];\n this.elementRef = inject(ElementRef);\n this.hostView = inject(ViewContainerRef);\n this.renderer = inject(Renderer2);\n this.noAnimation = inject(NzNoAnimationDirective, {\n host: true,\n optional: true\n });\n this.nzConfigService = inject(NzConfigService);\n this.platformId = inject(PLATFORM_ID);\n }\n ngAfterViewInit() {\n if (isPlatformBrowser(this.platformId)) {\n this.createComponent();\n this.registerTriggers();\n }\n }\n ngOnChanges(changes) {\n const {\n trigger\n } = changes;\n if (trigger && !trigger.isFirstChange()) {\n this.registerTriggers();\n }\n if (this.component) {\n this.updatePropertiesByChanges(changes);\n }\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n // Clear toggling timer. Issue #3875 #4317 #4386\n this.clearTogglingTimer();\n this.removeTriggerListeners();\n }\n show() {\n var _this$component;\n (_this$component = this.component) === null || _this$component === void 0 || _this$component.show();\n }\n hide() {\n var _this$component2;\n (_this$component2 = this.component) === null || _this$component2 === void 0 || _this$component2.hide();\n }\n /**\n * Force the component to update its position.\n */\n updatePosition() {\n if (this.component) {\n this.component.updatePosition();\n }\n }\n /**\n * Create a dynamic tooltip component. This method can be override.\n */\n createComponent() {\n const componentRef = this.hostView.createComponent(this.componentType);\n this.component = componentRef.instance;\n // Remove the component's DOM because it should be in the overlay container.\n this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement), componentRef.location.nativeElement);\n this.component.setOverlayOrigin(this.origin || this.elementRef);\n this.initProperties();\n const ngVisibleChange$ = this.component.nzVisibleChange.pipe(distinctUntilChanged());\n ngVisibleChange$.pipe(takeUntil(this.destroy$)).subscribe(visible => {\n this.internalVisible = visible;\n this.visibleChange.emit(visible);\n });\n // In some cases, the rendering takes into account the height at which the `arrow` is in wrong place,\n // so `cdk` sets the container position incorrectly.\n // To avoid this, after placing the `arrow` in the correct position, we should `re-calculate` the position of the `overlay`.\n ngVisibleChange$.pipe(filter(visible => visible), delay(0, asapScheduler), filter(() => {\n var _this$component3;\n return Boolean((_this$component3 = this.component) === null || _this$component3 === void 0 || (_this$component3 = _this$component3.overlay) === null || _this$component3 === void 0 ? void 0 : _this$component3.overlayRef);\n }), takeUntil(this.destroy$)).subscribe(() => {\n var _this$component4;\n (_this$component4 = this.component) === null || _this$component4 === void 0 || _this$component4.updatePosition();\n });\n }\n registerTriggers() {\n // When the method gets invoked, all properties has been synced to the dynamic component.\n // After removing the old API, we can just check the directive's own `nzTrigger`.\n const el = this.elementRef.nativeElement;\n const trigger = this.trigger;\n this.removeTriggerListeners();\n if (trigger === 'hover') {\n let overlayElement;\n this.triggerDisposables.push(this.renderer.listen(el, 'mouseenter', () => {\n this.delayEnterLeave(true, true, this._mouseEnterDelay);\n }));\n this.triggerDisposables.push(this.renderer.listen(el, 'mouseleave', () => {\n var _this$component5;\n this.delayEnterLeave(true, false, this._mouseLeaveDelay);\n if ((_this$component5 = this.component) !== null && _this$component5 !== void 0 && _this$component5.overlay.overlayRef && !overlayElement) {\n overlayElement = this.component.overlay.overlayRef.overlayElement;\n this.triggerDisposables.push(this.renderer.listen(overlayElement, 'mouseenter', () => {\n this.delayEnterLeave(false, true, this._mouseEnterDelay);\n }));\n this.triggerDisposables.push(this.renderer.listen(overlayElement, 'mouseleave', () => {\n this.delayEnterLeave(false, false, this._mouseLeaveDelay);\n }));\n }\n }));\n } else if (trigger === 'focus') {\n this.triggerDisposables.push(this.renderer.listen(el, 'focusin', () => this.show()));\n this.triggerDisposables.push(this.renderer.listen(el, 'focusout', () => this.hide()));\n } else if (trigger === 'click') {\n this.triggerDisposables.push(this.renderer.listen(el, 'click', e => {\n e.preventDefault();\n this.show();\n }));\n }\n // Else do nothing because user wants to control the visibility programmatically.\n }\n updatePropertiesByChanges(changes) {\n this.updatePropertiesByKeys(Object.keys(changes));\n }\n updatePropertiesByKeys(keys) {\n var _this$component6;\n const mappingProperties = {\n // common mappings\n title: ['nzTitle', () => this._title],\n directiveTitle: ['nzTitle', () => this._title],\n content: ['nzContent', () => this._content],\n directiveContent: ['nzContent', () => this._content],\n trigger: ['nzTrigger', () => this._trigger],\n placement: ['nzPlacement', () => this._placement],\n visible: ['nzVisible', () => this._visible],\n mouseEnterDelay: ['nzMouseEnterDelay', () => this._mouseEnterDelay],\n mouseLeaveDelay: ['nzMouseLeaveDelay', () => this._mouseLeaveDelay],\n overlayClassName: ['nzOverlayClassName', () => this._overlayClassName],\n overlayStyle: ['nzOverlayStyle', () => this._overlayStyle],\n arrowPointAtCenter: ['nzArrowPointAtCenter', () => this.arrowPointAtCenter],\n cdkConnectedOverlayPush: ['cdkConnectedOverlayPush', () => this.cdkConnectedOverlayPush],\n ...this.getProxyPropertyMap()\n };\n (keys || Object.keys(mappingProperties).filter(key => !key.startsWith('directive'))).forEach(property => {\n if (mappingProperties[property]) {\n const [name, valueFn] = mappingProperties[property];\n this.updateComponentValue(name, valueFn());\n }\n });\n (_this$component6 = this.component) === null || _this$component6 === void 0 || _this$component6.updateByDirective();\n }\n initProperties() {\n this.updatePropertiesByKeys();\n }\n updateComponentValue(key, value) {\n if (typeof value !== 'undefined') {\n // @ts-ignore\n this.component[key] = value;\n }\n }\n delayEnterLeave(isOrigin, isEnter, delay = -1) {\n if (this.delayTimer) {\n this.clearTogglingTimer();\n } else if (delay > 0) {\n this.delayTimer = setTimeout(() => {\n this.delayTimer = undefined;\n isEnter ? this.show() : this.hide();\n }, delay * 1000);\n } else {\n // `isOrigin` is used due to the tooltip will not hide immediately\n // (may caused by the fade-out animation).\n isEnter && isOrigin ? this.show() : this.hide();\n }\n }\n removeTriggerListeners() {\n this.triggerDisposables.forEach(dispose => dispose());\n this.triggerDisposables.length = 0;\n }\n clearTogglingTimer() {\n if (this.delayTimer) {\n clearTimeout(this.delayTimer);\n this.delayTimer = undefined;\n }\n }\n}\n_NzTooltipBaseDirective = NzTooltipBaseDirective;\n_NzTooltipBaseDirective.ɵfac = function _NzTooltipBaseDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzTooltipBaseDirective)(i0.ɵɵdirectiveInject(i0.Type));\n};\n_NzTooltipBaseDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzTooltipBaseDirective,\n features: [i0.ɵɵNgOnChangesFeature]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTooltipBaseDirective, [{\n type: Directive\n }], () => [{\n type: i0.Type\n }], null);\n})();\n// eslint-disable-next-line @angular-eslint/directive-class-suffix\nclass NzTooltipBaseComponent {\n constructor() {\n this.noAnimation = inject(NzNoAnimationDirective, {\n host: true,\n optional: true\n });\n this.cdr = inject(ChangeDetectorRef);\n this.directionality = inject(Directionality);\n this.nzTitle = null;\n this.nzContent = null;\n this.nzArrowPointAtCenter = false;\n this.nzOverlayStyle = {};\n this.nzBackdrop = false;\n this.cdkConnectedOverlayPush = true;\n this.nzVisibleChange = new Subject();\n this._visible = false;\n this._trigger = 'hover';\n this.preferredPlacement = 'top';\n this.dir = 'ltr';\n this._classMap = {};\n this._prefix = 'ant-tooltip';\n this._positions = [...DEFAULT_TOOLTIP_POSITIONS];\n this.destroy$ = new Subject();\n }\n set nzVisible(value) {\n const visible = toBoolean(value);\n if (this._visible !== visible) {\n this._visible = visible;\n this.nzVisibleChange.next(visible);\n }\n }\n get nzVisible() {\n return this._visible;\n }\n set nzTrigger(value) {\n this._trigger = value;\n }\n get nzTrigger() {\n return this._trigger;\n }\n set nzPlacement(value) {\n const preferredPosition = value.map(placement => POSITION_MAP[placement]);\n this._positions = [...preferredPosition, ...DEFAULT_TOOLTIP_POSITIONS];\n }\n ngOnInit() {\n var _this$directionality$;\n (_this$directionality$ = this.directionality.change) === null || _this$directionality$ === void 0 || _this$directionality$.pipe(takeUntil(this.destroy$)).subscribe(direction => {\n this.dir = direction;\n this.cdr.detectChanges();\n });\n this.dir = this.directionality.value;\n }\n ngOnDestroy() {\n this.nzVisibleChange.complete();\n this.destroy$.next();\n this.destroy$.complete();\n }\n show() {\n if (this.nzVisible) {\n return;\n }\n if (!this.isEmpty()) {\n this.nzVisible = true;\n this.nzVisibleChange.next(true);\n this.cdr.detectChanges();\n }\n // for ltr for overlay to display tooltip in correct placement in rtl direction.\n if (this.origin && this.overlay && this.overlay.overlayRef && this.overlay.overlayRef.getDirection() === 'rtl') {\n this.overlay.overlayRef.setDirection('ltr');\n }\n }\n hide() {\n if (!this.nzVisible) {\n return;\n }\n this.nzVisible = false;\n this.nzVisibleChange.next(false);\n this.cdr.detectChanges();\n }\n updateByDirective() {\n this.updateStyles();\n this.cdr.detectChanges();\n Promise.resolve().then(() => {\n this.updatePosition();\n this.updateVisibilityByTitle();\n });\n }\n /**\n * Force the component to update its position.\n */\n updatePosition() {\n if (this.origin && this.overlay && this.overlay.overlayRef) {\n this.overlay.overlayRef.updatePosition();\n }\n }\n onPositionChange(position) {\n this.preferredPlacement = getPlacementName(position);\n this.updateStyles();\n // We have to trigger immediate change detection or the element would blink.\n this.cdr.detectChanges();\n }\n setOverlayOrigin(origin) {\n this.origin = origin;\n this.cdr.markForCheck();\n }\n onClickOutside(event) {\n const target = _getEventTarget(event);\n if (!this.origin.nativeElement.contains(target) && this.nzTrigger !== null) {\n this.hide();\n }\n }\n /**\n * Hide the component while the content is empty.\n */\n updateVisibilityByTitle() {\n if (this.isEmpty()) {\n this.hide();\n }\n }\n updateStyles() {\n this._classMap = {\n [this.nzOverlayClassName]: true,\n [`${this._prefix}-placement-${this.preferredPlacement}`]: true\n };\n }\n}\n_NzTooltipBaseComponent = NzTooltipBaseComponent;\n_NzTooltipBaseComponent.ɵfac = function _NzTooltipBaseComponent_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzTooltipBaseComponent)();\n};\n_NzTooltipBaseComponent.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzTooltipBaseComponent,\n viewQuery: function _NzTooltipBaseComponent_Query(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 5);\n }\n if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.overlay = _t.first);\n }\n }\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTooltipBaseComponent, [{\n type: Directive\n }], null, {\n overlay: [{\n type: ViewChild,\n args: ['overlay', {\n static: false\n }]\n }]\n });\n})();\nfunction isTooltipEmpty(value) {\n return value instanceof TemplateRef ? false : value === '' || !isNotNil(value);\n}\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 */\nclass NzTooltipDirective extends NzTooltipBaseDirective {\n constructor() {\n super(NzToolTipComponent);\n this.titleContext = null;\n this.trigger = 'hover';\n this.placement = 'top';\n this.cdkConnectedOverlayPush = true;\n // eslint-disable-next-line @angular-eslint/no-output-rename\n this.visibleChange = new EventEmitter();\n }\n getProxyPropertyMap() {\n return {\n ...super.getProxyPropertyMap(),\n nzTooltipColor: ['nzColor', () => this.nzTooltipColor],\n titleContext: ['nzTitleContext', () => this.titleContext]\n };\n }\n}\n_NzTooltipDirective = NzTooltipDirective;\n_NzTooltipDirective.ɵfac = function _NzTooltipDirective_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzTooltipDirective)();\n};\n_NzTooltipDirective.ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: _NzTooltipDirective,\n selectors: [[\"\", \"nz-tooltip\", \"\"]],\n hostVars: 2,\n hostBindings: function _NzTooltipDirective_HostBindings(rf, ctx) {\n if (rf & 2) {\n i0.ɵɵclassProp(\"ant-tooltip-open\", ctx.visible);\n }\n },\n inputs: {\n title: [0, \"nzTooltipTitle\", \"title\"],\n titleContext: [0, \"nzTooltipTitleContext\", \"titleContext\"],\n directiveTitle: [0, \"nz-tooltip\", \"directiveTitle\"],\n trigger: [0, \"nzTooltipTrigger\", \"trigger\"],\n placement: [0, \"nzTooltipPlacement\", \"placement\"],\n origin: [0, \"nzTooltipOrigin\", \"origin\"],\n visible: [0, \"nzTooltipVisible\", \"visible\"],\n mouseEnterDelay: [0, \"nzTooltipMouseEnterDelay\", \"mouseEnterDelay\"],\n mouseLeaveDelay: [0, \"nzTooltipMouseLeaveDelay\", \"mouseLeaveDelay\"],\n overlayClassName: [0, \"nzTooltipOverlayClassName\", \"overlayClassName\"],\n overlayStyle: [0, \"nzTooltipOverlayStyle\", \"overlayStyle\"],\n arrowPointAtCenter: [2, \"nzTooltipArrowPointAtCenter\", \"arrowPointAtCenter\", booleanAttribute],\n cdkConnectedOverlayPush: [2, \"cdkConnectedOverlayPush\", \"cdkConnectedOverlayPush\", booleanAttribute],\n nzTooltipColor: \"nzTooltipColor\"\n },\n outputs: {\n visibleChange: \"nzTooltipVisibleChange\"\n },\n exportAs: [\"nzTooltip\"],\n standalone: true,\n features: [i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzTooltipDirective, [{\n type: Directive,\n args: [{\n selector: '[nz-tooltip]',\n exportAs: 'nzTooltip',\n host: {\n '[class.ant-tooltip-open]': 'visible'\n },\n standalone: true\n }]\n }], () => [], {\n title: [{\n type: Input,\n args: ['nzTooltipTitle']\n }],\n titleContext: [{\n type: Input,\n args: ['nzTooltipTitleContext']\n }],\n directiveTitle: [{\n type: Input,\n args: ['nz-tooltip']\n }],\n trigger: [{\n type: Input,\n args: ['nzTooltipTrigger']\n }],\n placement: [{\n type: Input,\n args: ['nzTooltipPlacement']\n }],\n origin: [{\n type: Input,\n args: ['nzTooltipOrigin']\n }],\n visible: [{\n type: Input,\n args: ['nzTooltipVisible']\n }],\n mouseEnterDelay: [{\n type: Input,\n args: ['nzTooltipMouseEnterDelay']\n }],\n mouseLeaveDelay: [{\n type: Input,\n args: ['nzTooltipMouseLeaveDelay']\n }],\n overlayClassName: [{\n type: Input,\n args: ['nzTooltipOverlayClassName']\n }],\n overlayStyle: [{\n type: Input,\n args: ['nzTooltipOverlayStyle']\n }],\n arrowPointAtCenter: [{\n type: Input,\n args: [{\n alias: 'nzTooltipArrowPointAtCenter',\n transform: booleanAttribute\n }]\n }],\n cdkConnectedOverlayPush: [{\n type: Input,\n args: [{\n transform: booleanAttribute\n }]\n }],\n nzTooltipColor: [{\n type: Input\n }],\n visibleChange: [{\n type: Output,\n args: ['nzTooltipVisibleChange']\n }]\n });\n})();\nclass NzToolTipComponent extends NzTooltipBaseComponent {\n constructor() {\n super(...arguments);\n this.nzTitle = null;\n this.nzTitleContext = null;\n this._contentStyleMap = {};\n }\n isEmpty() {\n return isTooltipEmpty(this.nzTitle);\n }\n updateStyles() {\n const isColorPreset = this.nzColor && isPresetColor(this.nzColor);\n this._classMap = {\n [this.nzOverlayClassName]: true,\n [`${this._prefix}-placement-${this.preferredPlacement}`]: true,\n [`${this._prefix}-${this.nzColor}`]: isColorPreset\n };\n this._contentStyleMap = {\n backgroundColor: !!this.nzColor && !isColorPreset ? this.nzColor : null,\n '--antd-arrow-background-color': this.nzColor\n };\n }\n}\n_NzToolTipComponent = NzToolTipComponent;\n_NzToolTipComponent.ɵfac = /* @__PURE__ */(() => {\n let ɵ_NzToolTipComponent_BaseFactory;\n return function _NzToolTipComponent_Factory(__ngFactoryType__) {\n return (ɵ_NzToolTipComponent_BaseFactory || (ɵ_NzToolTipComponent_BaseFactory = i0.ɵɵgetInheritedFactory(_NzToolTipComponent)))(__ngFactoryType__ || _NzToolTipComponent);\n };\n})();\n_NzToolTipComponent.ɵcmp = /* @__PURE__ */i0.ɵɵdefineComponent({\n type: _NzToolTipComponent,\n selectors: [[\"nz-tooltip\"]],\n exportAs: [\"nzTooltipComponent\"],\n standalone: true,\n features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature],\n decls: 2,\n vars: 5,\n consts: [[\"overlay\", \"cdkConnectedOverlay\"], [\"cdkConnectedOverlay\", \"\", \"nzConnectedOverlay\", \"\", 3, \"overlayOutsideClick\", \"detach\", \"positionChange\", \"cdkConnectedOverlayOrigin\", \"cdkConnectedOverlayOpen\", \"cdkConnectedOverlayPositions\", \"cdkConnectedOverlayPush\", \"nzArrowPointAtCenter\"], [1, \"ant-tooltip\", 3, \"ngClass\", \"ngStyle\", \"nzNoAnimation\"], [1, \"ant-tooltip-content\"], [1, \"ant-tooltip-arrow\"], [1, \"ant-tooltip-arrow-content\", 3, \"ngStyle\"], [1, \"ant-tooltip-inner\", 3, \"ngStyle\"], [4, \"nzStringTemplateOutlet\", \"nzStringTemplateOutletContext\"]],\n template: function _NzToolTipComponent_Template(rf, ctx) {\n if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵtemplate(0, _NzToolTipComponent_ng_template_0_Template, 6, 11, \"ng-template\", 1, 0, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵlistener(\"overlayOutsideClick\", function _NzToolTipComponent_Template_ng_template_overlayOutsideClick_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onClickOutside($event));\n })(\"detach\", function _NzToolTipComponent_Template_ng_template_detach_0_listener() {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.hide());\n })(\"positionChange\", function _NzToolTipComponent_Template_ng_template_positionChange_0_listener($event) {\n i0.ɵɵrestoreView(_r1);\n return i0.ɵɵresetView(ctx.onPositionChange($event));\n });\n }\n if (rf & 2) {\n i0.ɵɵproperty(\"cdkConnectedOverlayOrigin\", ctx.origin)(\"cdkConnectedOverlayOpen\", ctx._visible)(\"cdkConnectedOverlayPositions\", ctx._positions)(\"cdkConnectedOverlayPush\", ctx.cdkConnectedOverlayPush)(\"nzArrowPointAtCenter\", ctx.nzArrowPointAtCenter);\n }\n },\n dependencies: [OverlayModule, i1.CdkConnectedOverlay, NgClass, NgStyle, NzNoAnimationDirective, NzOutletModule, i2.NzStringTemplateOutletDirective, NzOverlayModule, i3.NzConnectedOverlayDirective],\n encapsulation: 2,\n data: {\n animation: [zoomBigMotion]\n },\n changeDetection: 0\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzToolTipComponent, [{\n type: Component,\n args: [{\n selector: 'nz-tooltip',\n exportAs: 'nzTooltipComponent',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n animations: [zoomBigMotion],\n template: `\n <ng-template\n #overlay=\"cdkConnectedOverlay\"\n cdkConnectedOverlay\n nzConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"_visible\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayPush]=\"cdkConnectedOverlayPush\"\n [nzArrowPointAtCenter]=\"nzArrowPointAtCenter\"\n (overlayOutsideClick)=\"onClickOutside($event)\"\n (detach)=\"hide()\"\n (positionChange)=\"onPositionChange($event)\"\n >\n <div\n class=\"ant-tooltip\"\n [class.ant-tooltip-rtl]=\"dir === 'rtl'\"\n [ngClass]=\"_classMap\"\n [ngStyle]=\"nzOverlayStyle\"\n [@.disabled]=\"!!noAnimation?.nzNoAnimation\"\n [nzNoAnimation]=\"noAnimation?.nzNoAnimation\"\n [@zoomBigMotion]=\"'active'\"\n >\n <div class=\"ant-tooltip-content\">\n <div class=\"ant-tooltip-arrow\">\n <span class=\"ant-tooltip-arrow-content\" [ngStyle]=\"_contentStyleMap\"></span>\n </div>\n <div class=\"ant-tooltip-inner\" [ngStyle]=\"_contentStyleMap\">\n <ng-container *nzStringTemplateOutlet=\"nzTitle; context: nzTitleContext\">{{ nzTitle }}</ng-container>\n </div>\n </div>\n </div>\n </ng-template>\n `,\n preserveWhitespaces: false,\n imports: [OverlayModule, NgClass, NgStyle, NzNoAnimationDirective, NzOutletModule, NzOverlayModule],\n standalone: true\n }]\n }], null, null);\n})();\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 */\nclass NzToolTipModule {}\n_NzToolTipModule = NzToolTipModule;\n_NzToolTipModule.ɵfac = function _NzToolTipModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || _NzToolTipModule)();\n};\n_NzToolTipModule.ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: _NzToolTipModule\n});\n_NzToolTipModule.ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n imports: [NzToolTipComponent]\n});\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(NzToolTipModule, [{\n type: NgModule,\n args: [{\n imports: [NzToolTipComponent, NzTooltipDirective],\n exports: [NzToolTipComponent, NzTooltipDirective]\n }]\n }], null, null);\n})();\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\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NzToolTipComponent, NzToolTipModule, NzTooltipBaseComponent, NzTooltipBaseDirective, NzTooltipDirective, isTooltipEmpty };","map":{"version":3,"names":["i0","ɵɵelementContainerStart","ɵɵtext","ɵɵelementContainerEnd","rf","ctx_r1","ɵɵnextContext","ɵɵadvance","ɵɵtextInterpolate","nzTitle","_NzToolTipComponent_ng_template_0_Template","ctx","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵtemplate","_NzToolTipComponent_ng_template_0_ng_container_5_Template","ɵɵclassProp","dir","ɵɵproperty","_classMap","nzOverlayStyle","noAnimation","nzNoAnimation","_contentStyleMap","nzTitleContext","i1","OverlayModule","isPlatformBrowser","NgClass","NgStyle","EventEmitter","inject","ElementRef","ViewContainerRef","Renderer2","PLATFORM_ID","Directive","ChangeDetectorRef","ViewChild","TemplateRef","booleanAttribute","Input","Output","Component","ChangeDetectionStrategy","ViewEncapsulation","NgModule","zoomBigMotion","isPresetColor","NzNoAnimationDirective","i2","NzOutletModule","i3","DEFAULT_TOOLTIP_POSITIONS","POSITION_MAP","getPlacementName","NzOverlayModule","Directionality","_getEventTarget","Subject","asapScheduler","distinctUntilChanged","takeUntil","filter","delay","NzConfigService","toBoolean","isNotNil","NzTooltipBaseDirective","_title","title","directiveTitle","_content","content","directiveContent","_trigger","trigger","_placement","p","placement","Array","isArray","length","_visible","visible","internalVisible","_mouseEnterDelay","mouseEnterDelay","_mouseLeaveDelay","mouseLeaveDelay","_overlayClassName","overlayClassName","_overlayStyle","overlayStyle","getProxyPropertyMap","constructor","componentType","visibleChange","destroy$","triggerDisposables","elementRef","hostView","renderer","host","optional","nzConfigService","platformId","ngAfterViewInit","createComponent","registerTriggers","ngOnChanges","changes","isFirstChange","component","updatePropertiesByChanges","ngOnDestroy","next","complete","clearTogglingTimer","removeTriggerListeners","show","_this$component","hide","_this$component2","updatePosition","componentRef","instance","removeChild","parentNode","nativeElement","location","setOverlayOrigin","origin","initProperties","ngVisibleChange$","nzVisibleChange","pipe","subscribe","emit","_this$component3","Boolean","overlay","overlayRef","_this$component4","el","overlayElement","push","listen","delayEnterLeave","_this$component5","e","preventDefault","updatePropertiesByKeys","Object","keys","_this$component6","mappingProperties","arrowPointAtCenter","cdkConnectedOverlayPush","key","startsWith","forEach","property","name","valueFn","updateComponentValue","updateByDirective","value","isOrigin","isEnter","delayTimer","setTimeout","undefined","dispose","clearTimeout","_NzTooltipBaseDirective","ɵfac","_NzTooltipBaseDirective_Factory","__ngFactoryType__","ɵɵdirectiveInject","Type","ɵdir","ɵɵdefineDirective","type","features","ɵɵNgOnChangesFeature","ngDevMode","ɵsetClassMetadata","NzTooltipBaseComponent","cdr","directionality","nzContent","nzArrowPointAtCenter","nzBackdrop","preferredPlacement","_prefix","_positions","nzVisible","nzTrigger","nzPlacement","preferredPosition","map","ngOnInit","_this$directionality$","change","direction","detectChanges","isEmpty","getDirection","setDirection","updateStyles","Promise","resolve","then","updateVisibilityByTitle","onPositionChange","position","markForCheck","onClickOutside","event","target","contains","nzOverlayClassName","_NzTooltipBaseComponent","_NzTooltipBaseComponent_Factory","viewQuery","_NzTooltipBaseComponent_Query","ɵɵviewQuery","_c0","_t","ɵɵqueryRefresh","ɵɵloadQuery","first","args","static","isTooltipEmpty","NzTooltipDirective","NzToolTipComponent","titleContext","nzTooltipColor","_NzTooltipDirective","_NzTooltipDirective_Factory","selectors","hostVars","hostBindings","_NzTooltipDirective_HostBindings","inputs","outputs","exportAs","standalone","ɵɵInputTransformsFeature","ɵɵInheritDefinitionFeature","selector","alias","transform","arguments","isColorPreset","nzColor","backgroundColor","_NzToolTipComponent","ɵ_NzToolTipComponent_BaseFactory","_NzToolTipComponent_Factory","ɵɵgetInheritedFactory","ɵcmp","ɵɵdefineComponent","ɵɵStandaloneFeature","decls","vars","consts","template","_NzToolTipComponent_Template","_r1","ɵɵgetCurrentView","ɵɵtemplateRefExtractor","ɵɵlistener","_NzToolTipComponent_Template_ng_template_overlayOutsideClick_0_listener","$event","ɵɵrestoreView","ɵɵresetView","_NzToolTipComponent_Template_ng_template_detach_0_listener","_NzToolTipComponent_Template_ng_template_positionChange_0_listener","dependencies","CdkConnectedOverlay","NzStringTemplateOutletDirective","NzConnectedOverlayDirective","encapsulation","data","animation","changeDetection","OnPush","None","animations","preserveWhitespaces","imports","NzToolTipModule","_NzToolTipModule","_NzToolTipModule_Factory","ɵmod","ɵɵdefineNgModule","ɵinj","ɵɵdefineInjector","exports"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-tooltip.mjs"],"sourcesContent":["import * as i1 from '@angular/cdk/overlay';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { isPlatformBrowser, NgClass, NgStyle } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { EventEmitter, inject, ElementRef, ViewContainerRef, Renderer2, PLATFORM_ID, Directive, ChangeDetectorRef, ViewChild, TemplateRef, booleanAttribute, Input, Output, Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';\nimport { zoomBigMotion } from 'ng-zorro-antd/core/animation';\nimport { isPresetColor } from 'ng-zorro-antd/core/color';\nimport { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';\nimport * as i2 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i3 from 'ng-zorro-antd/core/overlay';\nimport { DEFAULT_TOOLTIP_POSITIONS, POSITION_MAP, getPlacementName, NzOverlayModule } from 'ng-zorro-antd/core/overlay';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { _getEventTarget } from '@angular/cdk/platform';\nimport { Subject, asapScheduler } from 'rxjs';\nimport { distinctUntilChanged, takeUntil, filter, delay } from 'rxjs/operators';\nimport { NzConfigService } from 'ng-zorro-antd/core/config';\nimport { toBoolean, isNotNil } from 'ng-zorro-antd/core/util';\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 */\nclass NzTooltipBaseDirective {\n /**\n * This true title that would be used in other parts on this component.\n */\n get _title() {\n return this.title || this.directiveTitle || null;\n }\n get _content() {\n return this.content || this.directiveContent || null;\n }\n get _trigger() {\n return typeof this.trigger !== 'undefined' ? this.trigger : 'hover';\n }\n get _placement() {\n const p = this.placement;\n return Array.isArray(p) && p.length > 0 ? p : typeof p === 'string' && p ? [p] : ['top'];\n }\n get _visible() {\n return (typeof this.visible !== 'undefined' ? this.visible : this.internalVisible) || false;\n }\n get _mouseEnterDelay() {\n return this.mouseEnterDelay || 0.15;\n }\n get _mouseLeaveDelay() {\n return this.mouseLeaveDelay || 0.1;\n }\n get _overlayClassName() {\n return this.overlayClassName || null;\n }\n get _overlayStyle() {\n return this.overlayStyle || null;\n }\n getProxyPropertyMap() {\n return {\n noAnimation: ['noAnimation', () => !!this.noAnimation]\n };\n }\n constructor(componentType) {\n this.componentType = componentType;\n this.visibleChange = new EventEmitter();\n this.internalVisible = false;\n this.destroy$ = new Subject();\n this.triggerDisposables = [];\n this.elementRef = inject(ElementRef);\n this.hostView = inject(ViewContainerRef);\n this.renderer = inject(Renderer2);\n this.noAnimation = inject(NzNoAnimationDirective, { host: true, optional: true });\n this.nzConfigService = inject(NzConfigService);\n this.platformId = inject(PLATFORM_ID);\n }\n ngAfterViewInit() {\n if (isPlatformBrowser(this.platformId)) {\n this.createComponent();\n this.registerTriggers();\n }\n }\n ngOnChanges(changes) {\n const { trigger } = changes;\n if (trigger && !trigger.isFirstChange()) {\n this.registerTriggers();\n }\n if (this.component) {\n this.updatePropertiesByChanges(changes);\n }\n }\n ngOnDestroy() {\n this.destroy$.next();\n this.destroy$.complete();\n // Clear toggling timer. Issue #3875 #4317 #4386\n this.clearTogglingTimer();\n this.removeTriggerListeners();\n }\n show() {\n this.component?.show();\n }\n hide() {\n this.component?.hide();\n }\n /**\n * Force the component to update its position.\n */\n updatePosition() {\n if (this.component) {\n this.component.updatePosition();\n }\n }\n /**\n * Create a dynamic tooltip component. This method can be override.\n */\n createComponent() {\n const componentRef = this.hostView.createComponent(this.componentType);\n this.component = componentRef.instance;\n // Remove the component's DOM because it should be in the overlay container.\n this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement), componentRef.location.nativeElement);\n this.component.setOverlayOrigin(this.origin || this.elementRef);\n this.initProperties();\n const ngVisibleChange$ = this.component.nzVisibleChange.pipe(distinctUntilChanged());\n ngVisibleChange$.pipe(takeUntil(this.destroy$)).subscribe((visible) => {\n this.internalVisible = visible;\n this.visibleChange.emit(visible);\n });\n // In some cases, the rendering takes into account the height at which the `arrow` is in wrong place,\n // so `cdk` sets the container position incorrectly.\n // To avoid this, after placing the `arrow` in the correct position, we should `re-calculate` the position of the `overlay`.\n ngVisibleChange$\n .pipe(filter((visible) => visible), delay(0, asapScheduler), filter(() => Boolean(this.component?.overlay?.overlayRef)), takeUntil(this.destroy$))\n .subscribe(() => {\n this.component?.updatePosition();\n });\n }\n registerTriggers() {\n // When the method gets invoked, all properties has been synced to the dynamic component.\n // After removing the old API, we can just check the directive's own `nzTrigger`.\n const el = this.elementRef.nativeElement;\n const trigger = this.trigger;\n this.removeTriggerListeners();\n if (trigger === 'hover') {\n let overlayElement;\n this.triggerDisposables.push(this.renderer.listen(el, 'mouseenter', () => {\n this.delayEnterLeave(true, true, this._mouseEnterDelay);\n }));\n this.triggerDisposables.push(this.renderer.listen(el, 'mouseleave', () => {\n this.delayEnterLeave(true, false, this._mouseLeaveDelay);\n if (this.component?.overlay.overlayRef && !overlayElement) {\n overlayElement = this.component.overlay.overlayRef.overlayElement;\n this.triggerDisposables.push(this.renderer.listen(overlayElement, 'mouseenter', () => {\n this.delayEnterLeave(false, true, this._mouseEnterDelay);\n }));\n this.triggerDisposables.push(this.renderer.listen(overlayElement, 'mouseleave', () => {\n this.delayEnterLeave(false, false, this._mouseLeaveDelay);\n }));\n }\n }));\n }\n else if (trigger === 'focus') {\n this.triggerDisposables.push(this.renderer.listen(el, 'focusin', () => this.show()));\n this.triggerDisposables.push(this.renderer.listen(el, 'focusout', () => this.hide()));\n }\n else if (trigger === 'click') {\n this.triggerDisposables.push(this.renderer.listen(el, 'click', (e) => {\n e.preventDefault();\n this.show();\n }));\n }\n // Else do nothing because user wants to control the visibility programmatically.\n }\n updatePropertiesByChanges(changes) {\n this.updatePropertiesByKeys(Object.keys(changes));\n }\n updatePropertiesByKeys(keys) {\n const mappingProperties = {\n // common mappings\n title: ['nzTitle', () => this._title],\n directiveTitle: ['nzTitle', () => this._title],\n content: ['nzContent', () => this._content],\n directiveContent: ['nzContent', () => this._content],\n trigger: ['nzTrigger', () => this._trigger],\n placement: ['nzPlacement', () => this._placement],\n visible: ['nzVisible', () => this._visible],\n mouseEnterDelay: ['nzMouseEnterDelay', () => this._mouseEnterDelay],\n mouseLeaveDelay: ['nzMouseLeaveDelay', () => this._mouseLeaveDelay],\n overlayClassName: ['nzOverlayClassName', () => this._overlayClassName],\n overlayStyle: ['nzOverlayStyle', () => this._overlayStyle],\n arrowPointAtCenter: ['nzArrowPointAtCenter', () => this.arrowPointAtCenter],\n cdkConnectedOverlayPush: ['cdkConnectedOverlayPush', () => this.cdkConnectedOverlayPush],\n ...this.getProxyPropertyMap()\n };\n (keys || Object.keys(mappingProperties).filter(key => !key.startsWith('directive'))).forEach((property) => {\n if (mappingProperties[property]) {\n const [name, valueFn] = mappingProperties[property];\n this.updateComponentValue(name, valueFn());\n }\n });\n this.component?.updateByDirective();\n }\n initProperties() {\n this.updatePropertiesByKeys();\n }\n updateComponentValue(key, value) {\n if (typeof value !== 'undefined') {\n // @ts-ignore\n this.component[key] = value;\n }\n }\n delayEnterLeave(isOrigin, isEnter, delay = -1) {\n if (this.delayTimer) {\n this.clearTogglingTimer();\n }\n else if (delay > 0) {\n this.delayTimer = setTimeout(() => {\n this.delayTimer = undefined;\n isEnter ? this.show() : this.hide();\n }, delay * 1000);\n }\n else {\n // `isOrigin` is used due to the tooltip will not hide immediately\n // (may caused by the fade-out animation).\n isEnter && isOrigin ? this.show() : this.hide();\n }\n }\n removeTriggerListeners() {\n this.triggerDisposables.forEach(dispose => dispose());\n this.triggerDisposables.length = 0;\n }\n clearTogglingTimer() {\n if (this.delayTimer) {\n clearTimeout(this.delayTimer);\n this.delayTimer = undefined;\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzTooltipBaseDirective, deps: [{ token: i0.Type }], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzTooltipBaseDirective, usesOnChanges: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzTooltipBaseDirective, decorators: [{\n type: Directive\n }], ctorParameters: () => [{ type: i0.Type }] });\n// eslint-disable-next-line @angular-eslint/directive-class-suffix\nclass NzTooltipBaseComponent {\n constructor() {\n this.noAnimation = inject(NzNoAnimationDirective, { host: true, optional: true });\n this.cdr = inject(ChangeDetectorRef);\n this.directionality = inject(Directionality);\n this.nzTitle = null;\n this.nzContent = null;\n this.nzArrowPointAtCenter = false;\n this.nzOverlayStyle = {};\n this.nzBackdrop = false;\n this.cdkConnectedOverlayPush = true;\n this.nzVisibleChange = new Subject();\n this._visible = false;\n this._trigger = 'hover';\n this.preferredPlacement = 'top';\n this.dir = 'ltr';\n this._classMap = {};\n this._prefix = 'ant-tooltip';\n this._positions = [...DEFAULT_TOOLTIP_POSITIONS];\n this.destroy$ = new Subject();\n }\n set nzVisible(value) {\n const visible = toBoolean(value);\n if (this._visible !== visible) {\n this._visible = visible;\n this.nzVisibleChange.next(visible);\n }\n }\n get nzVisible() {\n return this._visible;\n }\n set nzTrigger(value) {\n this._trigger = value;\n }\n get nzTrigger() {\n return this._trigger;\n }\n set nzPlacement(value) {\n const preferredPosition = value.map(placement => POSITION_MAP[placement]);\n this._positions = [...preferredPosition, ...DEFAULT_TOOLTIP_POSITIONS];\n }\n ngOnInit() {\n this.directionality.change?.pipe(takeUntil(this.destroy$)).subscribe((direction) => {\n this.dir = direction;\n this.cdr.detectChanges();\n });\n this.dir = this.directionality.value;\n }\n ngOnDestroy() {\n this.nzVisibleChange.complete();\n this.destroy$.next();\n this.destroy$.complete();\n }\n show() {\n if (this.nzVisible) {\n return;\n }\n if (!this.isEmpty()) {\n this.nzVisible = true;\n this.nzVisibleChange.next(true);\n this.cdr.detectChanges();\n }\n // for ltr for overlay to display tooltip in correct placement in rtl direction.\n if (this.origin && this.overlay && this.overlay.overlayRef && this.overlay.overlayRef.getDirection() === 'rtl') {\n this.overlay.overlayRef.setDirection('ltr');\n }\n }\n hide() {\n if (!this.nzVisible) {\n return;\n }\n this.nzVisible = false;\n this.nzVisibleChange.next(false);\n this.cdr.detectChanges();\n }\n updateByDirective() {\n this.updateStyles();\n this.cdr.detectChanges();\n Promise.resolve().then(() => {\n this.updatePosition();\n this.updateVisibilityByTitle();\n });\n }\n /**\n * Force the component to update its position.\n */\n updatePosition() {\n if (this.origin && this.overlay && this.overlay.overlayRef) {\n this.overlay.overlayRef.updatePosition();\n }\n }\n onPositionChange(position) {\n this.preferredPlacement = getPlacementName(position);\n this.updateStyles();\n // We have to trigger immediate change detection or the element would blink.\n this.cdr.detectChanges();\n }\n setOverlayOrigin(origin) {\n this.origin = origin;\n this.cdr.markForCheck();\n }\n onClickOutside(event) {\n const target = _getEventTarget(event);\n if (!this.origin.nativeElement.contains(target) && this.nzTrigger !== null) {\n this.hide();\n }\n }\n /**\n * Hide the component while the content is empty.\n */\n updateVisibilityByTitle() {\n if (this.isEmpty()) {\n this.hide();\n }\n }\n updateStyles() {\n this._classMap = {\n [this.nzOverlayClassName]: true,\n [`${this._prefix}-placement-${this.preferredPlacement}`]: true\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzTooltipBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzTooltipBaseComponent, viewQueries: [{ propertyName: \"overlay\", first: true, predicate: [\"overlay\"], descendants: true }], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzTooltipBaseComponent, decorators: [{\n type: Directive\n }], propDecorators: { overlay: [{\n type: ViewChild,\n args: ['overlay', { static: false }]\n }] } });\nfunction isTooltipEmpty(value) {\n return value instanceof TemplateRef ? false : value === '' || !isNotNil(value);\n}\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 */\nclass NzTooltipDirective extends NzTooltipBaseDirective {\n constructor() {\n super(NzToolTipComponent);\n this.titleContext = null;\n this.trigger = 'hover';\n this.placement = 'top';\n this.cdkConnectedOverlayPush = true;\n // eslint-disable-next-line @angular-eslint/no-output-rename\n this.visibleChange = new EventEmitter();\n }\n getProxyPropertyMap() {\n return {\n ...super.getProxyPropertyMap(),\n nzTooltipColor: ['nzColor', () => this.nzTooltipColor],\n titleContext: ['nzTitleContext', () => this.titleContext]\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzTooltipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"16.1.0\", version: \"18.2.1\", type: NzTooltipDirective, isStandalone: true, selector: \"[nz-tooltip]\", inputs: { title: [\"nzTooltipTitle\", \"title\"], titleContext: [\"nzTooltipTitleContext\", \"titleContext\"], directiveTitle: [\"nz-tooltip\", \"directiveTitle\"], trigger: [\"nzTooltipTrigger\", \"trigger\"], placement: [\"nzTooltipPlacement\", \"placement\"], origin: [\"nzTooltipOrigin\", \"origin\"], visible: [\"nzTooltipVisible\", \"visible\"], mouseEnterDelay: [\"nzTooltipMouseEnterDelay\", \"mouseEnterDelay\"], mouseLeaveDelay: [\"nzTooltipMouseLeaveDelay\", \"mouseLeaveDelay\"], overlayClassName: [\"nzTooltipOverlayClassName\", \"overlayClassName\"], overlayStyle: [\"nzTooltipOverlayStyle\", \"overlayStyle\"], arrowPointAtCenter: [\"nzTooltipArrowPointAtCenter\", \"arrowPointAtCenter\", booleanAttribute], cdkConnectedOverlayPush: [\"cdkConnectedOverlayPush\", \"cdkConnectedOverlayPush\", booleanAttribute], nzTooltipColor: \"nzTooltipColor\" }, outputs: { visibleChange: \"nzTooltipVisibleChange\" }, host: { properties: { \"class.ant-tooltip-open\": \"visible\" } }, exportAs: [\"nzTooltip\"], usesInheritance: true, ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzTooltipDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[nz-tooltip]',\n exportAs: 'nzTooltip',\n host: {\n '[class.ant-tooltip-open]': 'visible'\n },\n standalone: true\n }]\n }], ctorParameters: () => [], propDecorators: { title: [{\n type: Input,\n args: ['nzTooltipTitle']\n }], titleContext: [{\n type: Input,\n args: ['nzTooltipTitleContext']\n }], directiveTitle: [{\n type: Input,\n args: ['nz-tooltip']\n }], trigger: [{\n type: Input,\n args: ['nzTooltipTrigger']\n }], placement: [{\n type: Input,\n args: ['nzTooltipPlacement']\n }], origin: [{\n type: Input,\n args: ['nzTooltipOrigin']\n }], visible: [{\n type: Input,\n args: ['nzTooltipVisible']\n }], mouseEnterDelay: [{\n type: Input,\n args: ['nzTooltipMouseEnterDelay']\n }], mouseLeaveDelay: [{\n type: Input,\n args: ['nzTooltipMouseLeaveDelay']\n }], overlayClassName: [{\n type: Input,\n args: ['nzTooltipOverlayClassName']\n }], overlayStyle: [{\n type: Input,\n args: ['nzTooltipOverlayStyle']\n }], arrowPointAtCenter: [{\n type: Input,\n args: [{ alias: 'nzTooltipArrowPointAtCenter', transform: booleanAttribute }]\n }], cdkConnectedOverlayPush: [{\n type: Input,\n args: [{ transform: booleanAttribute }]\n }], nzTooltipColor: [{\n type: Input\n }], visibleChange: [{\n type: Output,\n args: ['nzTooltipVisibleChange']\n }] } });\nclass NzToolTipComponent extends NzTooltipBaseComponent {\n constructor() {\n super(...arguments);\n this.nzTitle = null;\n this.nzTitleContext = null;\n this._contentStyleMap = {};\n }\n isEmpty() {\n return isTooltipEmpty(this.nzTitle);\n }\n updateStyles() {\n const isColorPreset = this.nzColor && isPresetColor(this.nzColor);\n this._classMap = {\n [this.nzOverlayClassName]: true,\n [`${this._prefix}-placement-${this.preferredPlacement}`]: true,\n [`${this._prefix}-${this.nzColor}`]: isColorPreset\n };\n this._contentStyleMap = {\n backgroundColor: !!this.nzColor && !isColorPreset ? this.nzColor : null,\n '--antd-arrow-background-color': this.nzColor\n };\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzToolTipComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"18.2.1\", type: NzToolTipComponent, isStandalone: true, selector: \"nz-tooltip\", exportAs: [\"nzTooltipComponent\"], usesInheritance: true, ngImport: i0, template: `\n <ng-template\n #overlay=\"cdkConnectedOverlay\"\n cdkConnectedOverlay\n nzConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"_visible\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayPush]=\"cdkConnectedOverlayPush\"\n [nzArrowPointAtCenter]=\"nzArrowPointAtCenter\"\n (overlayOutsideClick)=\"onClickOutside($event)\"\n (detach)=\"hide()\"\n (positionChange)=\"onPositionChange($event)\"\n >\n <div\n class=\"ant-tooltip\"\n [class.ant-tooltip-rtl]=\"dir === 'rtl'\"\n [ngClass]=\"_classMap\"\n [ngStyle]=\"nzOverlayStyle\"\n [@.disabled]=\"!!noAnimation?.nzNoAnimation\"\n [nzNoAnimation]=\"noAnimation?.nzNoAnimation\"\n [@zoomBigMotion]=\"'active'\"\n >\n <div class=\"ant-tooltip-content\">\n <div class=\"ant-tooltip-arrow\">\n <span class=\"ant-tooltip-arrow-content\" [ngStyle]=\"_contentStyleMap\"></span>\n </div>\n <div class=\"ant-tooltip-inner\" [ngStyle]=\"_contentStyleMap\">\n <ng-container *nzStringTemplateOutlet=\"nzTitle; context: nzTitleContext\">{{ nzTitle }}</ng-container>\n </div>\n </div>\n </div>\n </ng-template>\n `, isInline: true, dependencies: [{ kind: \"ngmodule\", type: OverlayModule }, { kind: \"directive\", type: i1.CdkConnectedOverlay, selector: \"[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]\", inputs: [\"cdkConnectedOverlayOrigin\", \"cdkConnectedOverlayPositions\", \"cdkConnectedOverlayPositionStrategy\", \"cdkConnectedOverlayOffsetX\", \"cdkConnectedOverlayOffsetY\", \"cdkConnectedOverlayWidth\", \"cdkConnectedOverlayHeight\", \"cdkConnectedOverlayMinWidth\", \"cdkConnectedOverlayMinHeight\", \"cdkConnectedOverlayBackdropClass\", \"cdkConnectedOverlayPanelClass\", \"cdkConnectedOverlayViewportMargin\", \"cdkConnectedOverlayScrollStrategy\", \"cdkConnectedOverlayOpen\", \"cdkConnectedOverlayDisableClose\", \"cdkConnectedOverlayTransformOriginOn\", \"cdkConnectedOverlayHasBackdrop\", \"cdkConnectedOverlayLockPosition\", \"cdkConnectedOverlayFlexibleDimensions\", \"cdkConnectedOverlayGrowAfterOpen\", \"cdkConnectedOverlayPush\", \"cdkConnectedOverlayDisposeOnNavigation\"], outputs: [\"backdropClick\", \"positionChange\", \"attach\", \"detach\", \"overlayKeydown\", \"overlayOutsideClick\"], exportAs: [\"cdkConnectedOverlay\"] }, { kind: \"directive\", type: NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"directive\", type: NgStyle, selector: \"[ngStyle]\", inputs: [\"ngStyle\"] }, { kind: \"directive\", type: NzNoAnimationDirective, selector: \"[nzNoAnimation]\", inputs: [\"nzNoAnimation\"], exportAs: [\"nzNoAnimation\"] }, { kind: \"ngmodule\", type: NzOutletModule }, { kind: \"directive\", type: i2.NzStringTemplateOutletDirective, selector: \"[nzStringTemplateOutlet]\", inputs: [\"nzStringTemplateOutletContext\", \"nzStringTemplateOutlet\"], exportAs: [\"nzStringTemplateOutlet\"] }, { kind: \"ngmodule\", type: NzOverlayModule }, { kind: \"directive\", type: i3.NzConnectedOverlayDirective, selector: \"[cdkConnectedOverlay][nzConnectedOverlay]\", inputs: [\"nzArrowPointAtCenter\"], exportAs: [\"nzConnectedOverlay\"] }], animations: [zoomBigMotion], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzToolTipComponent, decorators: [{\n type: Component,\n args: [{\n selector: 'nz-tooltip',\n exportAs: 'nzTooltipComponent',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n animations: [zoomBigMotion],\n template: `\n <ng-template\n #overlay=\"cdkConnectedOverlay\"\n cdkConnectedOverlay\n nzConnectedOverlay\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"_visible\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayPush]=\"cdkConnectedOverlayPush\"\n [nzArrowPointAtCenter]=\"nzArrowPointAtCenter\"\n (overlayOutsideClick)=\"onClickOutside($event)\"\n (detach)=\"hide()\"\n (positionChange)=\"onPositionChange($event)\"\n >\n <div\n class=\"ant-tooltip\"\n [class.ant-tooltip-rtl]=\"dir === 'rtl'\"\n [ngClass]=\"_classMap\"\n [ngStyle]=\"nzOverlayStyle\"\n [@.disabled]=\"!!noAnimation?.nzNoAnimation\"\n [nzNoAnimation]=\"noAnimation?.nzNoAnimation\"\n [@zoomBigMotion]=\"'active'\"\n >\n <div class=\"ant-tooltip-content\">\n <div class=\"ant-tooltip-arrow\">\n <span class=\"ant-tooltip-arrow-content\" [ngStyle]=\"_contentStyleMap\"></span>\n </div>\n <div class=\"ant-tooltip-inner\" [ngStyle]=\"_contentStyleMap\">\n <ng-container *nzStringTemplateOutlet=\"nzTitle; context: nzTitleContext\">{{ nzTitle }}</ng-container>\n </div>\n </div>\n </div>\n </ng-template>\n `,\n preserveWhitespaces: false,\n imports: [OverlayModule, NgClass, NgStyle, NzNoAnimationDirective, NzOutletModule, NzOverlayModule],\n standalone: true\n }]\n }] });\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 */\nclass NzToolTipModule {\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzToolTipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }\n static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"18.2.1\", ngImport: i0, type: NzToolTipModule, imports: [NzToolTipComponent, NzTooltipDirective], exports: [NzToolTipComponent, NzTooltipDirective] }); }\n static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzToolTipModule, imports: [NzToolTipComponent] }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"18.2.1\", ngImport: i0, type: NzToolTipModule, decorators: [{\n type: NgModule,\n args: [{\n imports: [NzToolTipComponent, NzTooltipDirective],\n exports: [NzToolTipComponent, NzTooltipDirective]\n }]\n }] });\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\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { NzToolTipComponent, NzToolTipModule, NzTooltipBaseComponent, NzTooltipBaseDirective, NzTooltipDirective, isTooltipEmpty };\n"],"mappings":";;;;IA4OiFA,EAAE,CAAAC,uBAAA,EA4QC,CAAC;IA5QJD,EAAE,CAAAE,MAAA,EA4Qc,CAAC;IA5QjBF,EAAE,CAAAG,qBAAA;EAAA;EAAA,IAAAC,EAAA;IAAA,MAAAC,MAAA,GAAFL,EAAE,CAAAM,aAAA;IAAFN,EAAE,CAAAO,SAAA,CA4Qc,CAAC;IA5QjBP,EA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