You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
42 KiB
8 lines
42 KiB
7 months ago
|
{
|
||
|
"version": 3,
|
||
|
"sources": ["../../../../../node_modules/ng-zorro-antd/fesm2022/ng-zorro-antd-tooltip.mjs"],
|
||
|
"sourcesContent": ["import { __decorate } from 'tslib';\nimport * as i3$1 from '@angular/cdk/overlay';\nimport { OverlayModule } from '@angular/cdk/overlay';\nimport { NgClass, NgStyle } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { EventEmitter, Directive, Optional, ViewChild, TemplateRef, Host, 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 * as i1 from 'ng-zorro-antd/core/no-animation';\nimport { NzNoAnimationDirective } from 'ng-zorro-antd/core/no-animation';\nimport * as i4 from 'ng-zorro-antd/core/outlet';\nimport { NzOutletModule } from 'ng-zorro-antd/core/outlet';\nimport * as i5 from 'ng-zorro-antd/core/overlay';\nimport { POSITION_MAP, DEFAULT_TOOLTIP_POSITIONS, getPlacementName, NzOverlayModule } from 'ng-zorro-antd/core/overlay';\nimport { toBoolean, isNotNil, InputBoolean } from 'ng-zorro-antd/core/util';\nimport { Subject, asapScheduler } from 'rxjs';\nimport { distinctUntilChanged, takeUntil, filter, delay } from 'rxjs/operators';\nimport * as i2 from 'ng-zorro-antd/core/config';\nimport * as i3 from '@angular/cdk/bidi';\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_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance(1);\n i0.ɵɵtextInterpolate(ctx_r2.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_r0 = i0.ɵɵnextContext();\n i0.ɵɵclassProp(\"ant-tooltip-rtl\", ctx_r0.dir === \"rtl\");\n i0.ɵɵproperty(\"ngClass\", ctx_r0._classMap)(\"ngStyle\", ctx_r0.nzOverlayStyle)(\"@.disabled\", !!(ctx_r0.noAnimation == null ? null : ctx_r0.noAnimation.nzNoAnimation))(\"nzNoAnimation\", ctx_r0.noAnimation == null ? null : ctx_r0.noAnimation.nzNoAnimation)(\"@zoomBigMotion\", \"active\");\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngStyle\", ctx_r0._contentStyleMap);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"ngStyle\", ctx_r0._contentStyleMap);\n i0.ɵɵadvance(1);\n i0.ɵɵproperty(\"nzStringTemplateOutlet\", ctx_r0.nzTitle)(\"nzStringTemplateOutletContext\", ctx_r0.nzTitleContext);\n }\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(elementRef, hostView, renderer, noAnimation, nzConfigService) {\n this.elementRef = elementRef;\n this.hostView = hostView;\n this.renderer = renderer;\n this.noAnimation = noAnimation;\n this.nzConfigService = nzConfigS
|
||
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,IAAM,MAAM,CAAC,SAAS;AACtB,SAAS,yDAAyD,IAAI,KAAK;AACzE,MAAI,KAAK,GAAG;AACV,IAAG,wBAAwB,CAAC;AAC5B,IAAG,OAAO,CAAC;AACX,IAAG,sBAAsB;AAAA,EAC3B;AACA,MAAI,KAAK,GAAG;AACV,UAAM,SAAY,cAAc,CAAC;AACjC,IAAG,UAAU,CAAC;AACd,IAAG,kBAAkB,OAAO,OAAO;AAAA,EACrC;AACF;AACA,SAAS,0CAA0C,IAAI,KAAK;AAC1D,MAAI,KAAK,GAAG;AACV,IAAG,eAAe,GAAG,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC,EAAE,GAAG,OAAO,CAAC;AACvD,IAAG,UAAU,GAAG,QAAQ,CAAC;AACzB,IAAG,aAAa;AAChB,IAAG,eAAe,GAAG,OAAO,CAAC;AAC7B,IAAG,WAAW,GAAG,0DAA0D,GAAG,GAAG,gBAAgB,CAAC;AAClG,IAAG,aAAa,EAAE,EAAE;AAAA,EACtB;AACA,MAAI,KAAK,GAAG;AACV,UAAM,SAAY,cAAc;AAChC,IAAG,YAAY,mBAAmB,OAAO,QAAQ,KAAK;AACtD,IAAG,WAAW,WAAW,OAAO,SAAS,EAAE,WAAW,OAAO,cAAc,EAAE,cAAc,CAAC,EAAE,OAAO,eAAe,OAAO,OAAO,OAAO,YAAY,cA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